12월, 2014의 게시물 표시

Slug가 뭘까?

IT와 관련된 글을 읽다보니 slug라는 말을 자주 보게 되는데 뜻이 뭔지 궁금해서 찾아보게 되었다. 인터넷으로 찾아보니 제일 먼저 보이는게 아래 2개 단어이다. 1) 슬러그는 야드파운드법의 중력단위계에 속하며 질량의 단위이다 2) 민달팽이 민달팽이는 가끔 영어를 보다보면 나와서 그런가 했는데, IT 용어는 아닌것 같아 더 검색을 해보니 인터넷 용어중에 하나로 위키피디어에서 시맨틱 URL을 정의하는 말 중에 다음과 같이 정의하고 있다. 첫줄에 보면 사람이 읽을수 있는 키워드를 사용해서 URL의 한 부분을 slug라고 한다. 지금 사용하고 있는 블로그도 일종의 slug를 이용한 주소체계를 갖추고 있다고 볼 수 있다. 아래는 위키피디어 본문. http://en.wikipedia.org/wiki/Semantic_URL Slug [ edit ] Some systems define a  slug  as the part of a URL which identifies a page using  human-readable  keywords. [4] [5]  It is usually the end part of the URL, which can be interpreted as the name of the resource, similar to the basename in a  filename  or the title of a page. The name is based on the use of the word  slug  in the news media to indicate a short name given to an article for internal use. Slugs are typically generated automatically from a page title but can also be entered or altered manually, so that while the page title remains designed for d

VB 에서 multi-instance ODBC 등록방법

Visual Basic 6.0 에서 ODBC 자동으로 등록하는 함수를 만들 때 멀티인스턴스는 빨간색 부분에 서버명과 인스턴스명을 아래와 같이 적어야 제대로 동작한다  멀티 : "Address=\\서버명\pipe\ MSSQL$인스턴스명\sql\query" 단일 : "Address=\\서버명\pipe \sql\query" Public Function gOdbcRegister(lDsn As String, lDriver As String, lServer As String, lDataBase As String) As Boolean On Error GoTo CLEANUP Dim lStrAttribs As String         gOdbcRegister = False     lStrAttribs = "Description=SQL Server on server:" & lServer & _                     Chr$(13) & "OemToAnsi=No" _                     & Chr$(13) & "QuotedID=No" _                     & Chr$(13) & "TranslationOption=No" _                     & Chr$(13) & "UseProcForPrepare=No" _                     & Chr$(13) & "AnsiNPW=No" _                     & Chr$(13) & "SERVER=" & lServer _                     & Chr$(13) & "Network=DBNMP