본문 바로가기

프로그램 경험/프로그램 정보

GIT | 로컬에서만 파일 무시하기 나 혼자 사용하는 백도어 로직을 서버에는 파일을 올리면 안된다. 하지만 .gitignore 파일을 수정하면 .gitignore 파일을 서버에 올려야 한다. 그렇게 되면 다른 사람들도 그 파일을 무시하게 된다. 이럴때 아래 명령을 사용하면 나만 무시 된다. # 등록 git update-index --skip-worktree menu.jsp # 제거 git update-index --no-skip-worktree menu.jsp
[GIT] remote: error: cannot lock ref, exists; cannot create [GIT] exists; cannot create, remote: error: cannot lock ref 소스트리를 이용해서 Push를 하는 도중이 아래와 같은 오류가 발생했다.git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=manager-st push -v —tags origin Main/develop:Main/developPushing to git@192.168.0.100:solutions/calc.gitremote: error: cannot lock ref 'refs/heads/Main/develop': 'refs/heads/Main' exists; cannot create 'refs/heads/Main/d..
[Redmine] Gantt 차트 PNG 내보내기 한글 깨짐 (Bitnami) [레드마인] Gantt 차트 PNG 내보내기 한글 깨짐 윈도우에다 Bitnami Redmine을 설치해서 사용하고 있다. 간트 차트를 PNG파일로 내보내는 기능이 있는데 한글이 모조리 깨져서 보인다 ㅜㅜ 해결방법은 이렇다. 편집기로 configuration.yml 파일을 연다. C:\Bitnami\redmine-3.2.0-0\apps\redmine\htdocs\config\configuration.yml 편집기로 rmagick_font_path 부분을 찾아서 아래 내용을 넣어주고 아파치 및 thin_redmine 재시작 rmagick_font_path: C:\windows\fonts\malgun.ttf
[엑셀 매크로] 셀 병합 하기 셀 병합 하기 - 엑셀 매크로 선택된 행들의 가로열 N개를 병합하고 싶을때 사용 하시면 됩니다. 예를 들어 설명해 보겠습니다. 위와 같이 주소열이 C~F 까지 4개의 열로 구성 되어 있습니다. 그냥 하려면 하나씩 드래그 해서 셀병합 버튼을 클릭해서 작업해야 하는데 이게 귀찮은 작업인거죠. 자 이제 매크로를 만들어 보겠습니다.[보기 - 매크로 보기] 클릭하면 위와 같은 팝업창이 나타납니다.매크로 이름에 셀병합 이나 혹은 자신의 맘에 드는 이름으로 입력하시고 만들기를 클릭하세요. 위와 같은 팝업창이 나타납니다. 아래의 코드를 복사해서 붙여 넣으세요. 이때 자신이 병합하고자 하는 열의 숫자는 변경해 주세요. Sub 셀병합() '경고창 끄기 Application.DisplayAlerts = False '선택된 ..
[InnoSetup] 서비스 추가 삭제 등등 Service - Functions to Start, Stop, Install, Remove a ServiceExamples how to fiddle about win32 functions using isx pascal scriptsCheck, install, remove, stop and start NT based servicesCreate or update entries in the services fileCheck version of system componentsAuthor Silvio Iaccarino.[Setup] AppName=test AppVerName=test CreateAppDir=false UsePreviousAppDir=false UsePreviousGroup=false Always..
[Windows] 노트북 와이파이 공유기 만들기 *관리자 권한으로 CMD를 실행해서 아래 명령을 입력한다. *공유기 실행하기netsh wlan set hostednetwork mode=allow ssid=명칭 key=암호(8자리) keyUsage=persistentnetsh wlan start hostednetwork *공유기 종료하기netsh wlan stop hostednetworknetsh wlan set hostednetwork mode=disallow ssid=명칭 key=암호 keyUsage=persistent
[개발툴] 개발툴 테마들 *Visual Studio 2015 테마 *Visual Studio 2010 테마 *Visual Studio 2008 테마 *SqlServer 2008 테마
[VS2010] 파워툴 설치하면 좀 편함~