목록ETC (69)
main

1. 메모장을 "관리자 권한으로 실행" 한다. 2. '파일' - '열기'해서 C:\Windows\System32\drivers\etc\hosts 파일을 선택한다. (모든 파일 형식을 보기 설정) 3. 아이피주소 도메인 형식으로 등록한다. (탭으로 구분한다.) 4. 저장
def delegator = (DelegatorInterface) Component.Accessor.getComponent(DelegatorInterface) String helperName = delegator.getGroupHelperName("default") Connection conn = ConnectionFactory.getConnection(helperName) Sql sql = new Sql(conn) def sqlStmt = "select * from table" try{ sql.eachRow(sqlStmt){ user -> log.debug(user) } }catch{ }finally{ sql.close() }
https://bitbucket.domain.com/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/branches?filterText={BRANCHNAME}&details=true * 쿼리 파라리터에 branch 명과 'details=true' 를 넣어준다. * 참고자료 https://docs.atlassian.com/bitbucket-server/rest/7.14.0/bitbucket-rest.html#idp209

IP 세 번째 옥텟까지 추출하는 Excel 수식입니다. 위 이미지와 같이 A1 셀에 IP, B1 셀에 수식을 넣고 사용할 수 있습니다. [방법 1] =IF(EXACT(RIGHT(A1,1),"."),LEFT(A1,LEN(A1)-1),IF(LEN(A1)-LEN(SUBSTITUTE(A1,".",""))=3,LEFT(A1,FIND("|",SUBSTITUTE(A1,".","|",LEN(A1)-LEN(SUBSTITUTE(A1,".",""))))-1),A1)) [방법 2] =LEFT(A1,FIND(".",A1,FIND(".",A1,FIND(".",A1)+1)+1)-1)