기본설정 - 자동완성에서 자동삽입 부분을 끄면된다.

(수정하려는데 무조건 "" 입력되서 매우 빡침 ㅋㅋ)


Posted by 구차니

TextFX에서 줄별로 번호를 삽입후

내림차순 정렬 혹은 오름차순 정렬하고

삽입된 번호 삭제.. 라는 간단한 방법...



[링크 : https://superuser.com/questions/331098/flip-or-reverse-line-order-in-notepad]

Posted by 구차니

실험을 해보니..

동일 서버의 다른 저장소에서 끌어올 수 있으나

엑셀 파일을 직접적으로 끌어갈 순 없고

그 파일이 존재하는 상위 폴더를 끌어갈 수는 있다.



[링크 : https://stackoverflow.com/questions/12885661/single-image-file-to-be-svn-externals]

[링크 : https://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-externals.html]


2014/12/29 - [프로그램 사용/CVS & SVN & GIT & Mercurial] - svn externals 를 이용한 외부 프로젝트 자동으로 불러오기(?)


'프로그램 사용 > Version Control' 카테고리의 다른 글

svn 로그 수정 pre-revprop-change  (0) 2017.12.20
svn externals commit 제외하기  (0) 2017.12.10
tortoiseSVN 엑셀 비교  (0) 2017.09.16
sorucetree / git client  (0) 2017.07.03
git 공부..  (2) 2017.04.25
Posted by 구차니

머.. gedit 실행하는데 뜨는 에러는 Xming이던 VcXsrv나 동일하네?

Xming

pi@raspberrypi:~ $ gedit &

[1] 2707

pi@raspberrypi:~ $

** (gedit:2707): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files


** (gedit:2707): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found


[1]+  Done                    gedit


VcXsrv

pi@raspberrypi:~ $ gedit &

[1] 2714

pi@raspberrypi:~ $

** (gedit:2714): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files


** (gedit:2714): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found


[1]+  Done                    gedit


트레이에는 이렇게 바뀌는데 몇개의 데모 프로그램이 추가되었다?

그리고 클립보드가 강화되서 Xwin <-> Win 오가는것도 좀 더 잘 되는 듯


VcXsrv에서는 제목 표시줄이 표시 안되는게 기본 값


Xming에서는 윈도우 제목줄이 표시되는 차이가 있다.


[링크 : https://sourceforge.net/projects/vcxsrv/]

[링크 : https://superuser.com/questions/440128/xming-clipboard-only-works-one-way]

[링크 : http://www.alexandre-gomes.com/?p=134]

'프로그램 사용 > cygwin & Xming' 카테고리의 다른 글

cygwin/X XDMCP  (0) 2016.02.12
XDMCP over SSH ? / xnest  (0) 2016.02.03
xming / xdmcp 성공  (0) 2016.02.02
cygwin bash 쉘 시작 위치 지정하기  (0) 2015.12.02
Xwin DISPLAY 고찰(?)  (0) 2015.08.13
Posted by 구차니

파일을 오픈해서는 안될거 같고

아무튼.. 워드2007에서는 비교 기능이 있으나 엑셀2007에서는 비교 기능이 없어서

별도의 스크립트를 통해 비교해주도록 tortoiseSVN에서 구현 한 듯.

[링크 : https://support.office.com/en-us/article/Compare-document-differences-using-the-legal-blackline-option-dbfc7351-4022-43a2-a0c4-54d1898702a0?ui=en-US&rs=en-US&ad=US]



'프로그램 사용 > Version Control' 카테고리의 다른 글

svn externals commit 제외하기  (0) 2017.12.10
svn externals 제약사항 (파일은 안됨)  (0) 2017.11.03
sorucetree / git client  (0) 2017.07.03
git 공부..  (2) 2017.04.25
git-svn 관련글  (0) 2017.04.25
Posted by 구차니
프로그램 사용/vi2017. 9. 16. 11:52


$ vi file1 file2 file3

:n (다음파일)

:e# (이전파일)

[링크 : https://www.joinc.co.kr/w/Site/Vim/Documents/UsedVim#AEN297]


위의 방식으로 여러개 파일을 열면 버퍼로 열리기에(윈도우 1, 버퍼 3) 버퍼 제어를 해야 한다.

:ls (버퍼목록)

:b0 (0번째 버퍼로 이동)

:bp (이전 버퍼로 이동)

:bn (다음 버퍼로 이동)

:bw (버퍼 저장후 닫기)

[링크 : http://mintnlatte.tistory.com/171]


[링크 : http://vimdoc.sourceforge.net/htmldoc/usr_07.html]



+

:E는 edit이 아닌 explore인데 이거 열고 :q하면 vi가 종료된다 -ㅁ-

:bd로 explore buffer를 삭제하면 vi 종료없이 원래대로 돌아간다.

:Rexplore 로도 나올수 있다.

[링크 : https://askubuntu.com/questions/245387/exit-file-explorer-in-vim-without-closing]

'프로그램 사용 > vi' 카테고리의 다른 글

vi gg=G와 set ts  (0) 2019.07.04
vi 검색 취소하기  (0) 2019.06.04
vi 반복 입력  (0) 2017.09.16
vi 버퍼 컨트롤  (0) 2017.02.13
vi buffer window tab 차이점?  (0) 2017.02.11
Posted by 구차니
프로그램 사용/vi2017. 9. 16. 11:46

헐.. 이런 좋은 방법이 -ㅁ-?!

(모르던 때는 걍 yy하고 10p 이런식으로 복/붙 했다는...)


esc키를 눌러서 명령행 모드로 넘어간다.

100을 입력한다.

'i'를 입력해서 입력모드로 들어간다.

반복할 문자인 1을 입력한다.

esc키를 눌러서 다시 명령행 모드로 넘어간다.

1초 정도 기달려보자. 

[링크 : https://www.joinc.co.kr/w/Site/Vim/Documents/UsedVim]

'프로그램 사용 > vi' 카테고리의 다른 글

vi 검색 취소하기  (0) 2019.06.04
vi 여러개 파일 편집하기(동시 x)  (0) 2017.09.16
vi 버퍼 컨트롤  (0) 2017.02.13
vi buffer window tab 차이점?  (0) 2017.02.11
vi 창 분할해서 보기  (0) 2017.02.10
Posted by 구차니

시놀로지 절전모드 해두면

하드랑 전부 절전모드로 있다가 삼바 접속 시도하면 살아나도록 되어있는데

완전 꺼져있다 켜지는건 아니고

Suspend to RAM 에서 LAN은 살아있다가 깨어 나도록 설정하는 것이고


그게 APCI S3 모드 인듯?

$ aptitude install pm-utils

$ cd /usr/lib/pm-utils/sleep.d/

$ sudo vi 70wol

#!/bin/bash

ethtool -s eth0 wol pug

$ sudo chmod +x 70wol

$ sudo pm-suspend


[링크 : https://superuser.com/.../is-it-possible-to-wake-up-an-acpi-s3-suspended-linux-system-with-an-smb-packet]


The ACPI specification defines the following four global "Gx" states and six sleep "Sx" states for an ACPI-compliant computer system:[23][24]

  • G0 (S0), Working: The computer is running and the CPU executes instructions. "Awaymode" is a subset of S0, where monitor is off but background tasks are running.
  • G1Sleeping: Divided into four states, S1 through S4:
    • S1Power on Suspend (POS): Processor caches are flushed, and the CPU(s) stops executing instructions. The power to the CPU(s) and RAM is maintained. Devices that do not indicate they must remain on may be powered off.
    • S2: CPU powered off. Dirty cache is flushed to RAM.
    • S3, commonly referred to as Standby, Sleep, or Suspend to RAM (STR): RAM remains powered.
    • S4Hibernation or Suspend to Disk: All content of the main memory is saved to non-volatile memory such as a hard drive, and the system is powered down.
  • G2 (S5), Soft Off: G2/S5 is almost the same as G3 Mechanical Off, except that the power supply unit (PSU) still supplies power, at a minimum, to the power button to allow return to S0. A full reboot is required. No previous content is retained. Other components may remain powered so the computer can "wake" on input from the keyboard, clock, modemLAN, or USB device.
  • G3Mechanical Off: The computer's power has been totally removed via a mechanical switch (as on the rear of a PSU). The power cord can be removed and the system is safe for disassembly (typically, only the real-time clock continues to run using its own small battery). 

[링크 : https://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface]

Posted by 구차니

""로 설정하면 자기 자신이 실행 되는 듯?

Examples

To setup an executable which can run on its own (e.g. binaries, scripts with a shebang line) you just don't specify a handler for the extension:

  cgi.assign = ( ".sh" => "" )

If the file has no extension keep in mind that lighttpd matches not the extension itself but the right part of the URL:

  cgi.assign = ( "/testfile" => "" )

To assign a CGI script as a default handler for a URL path, even if that path is virtual, with the help of mod_alias:

$HTTP["url"] =~ "^/urlpath(?:/|$)" {
  alias.url = ( "/urlpath" => "/path/to/script" )
  cgi.assign = ( "" => "" )
}


[링크 : https://redmine.lighttpd.net/projects/1/wiki/docs_modcgi]

'프로그램 사용 > lighttpd' 카테고리의 다른 글

lighttpd epoll  (0) 2015.07.28
lighttpd / mod-websocket  (0) 2014.12.30
Posted by 구차니

XML Tools 까는게 훨 낫네


Since I upgraded to 6.3.2, I use XML Tools.

  • install XML Tools via the Plugin Manager.
  • use the shortcut Ctrl+Alt+Shift+B (or menu -> Plugins -> XML Tools -> Pretty Print)

In older versions: menu -> TextFX -> HTML Tidy -> Tidy: Reindent XML. 

[링크 : https://stackoverflow.com/questions/7117949/how-to-auto-format-indent-xml-html-in-notepad]




C:\Program Files (x86)\Notepad++\plugins\Config\tidy 폴더 생성후 압축 풀기

[링크 : http://textfx.no-ip.com/textfx/NPPTextFX27-v0.24aRelease-NPP34.zip]

    [링크 : https://stackoverflow.com/questions/6985637/notepad-htmltidy-unable-to-find-libtidy-dll]


여기는 함정 카드 인듯 하고...

(윈도우용 바이너리는 미제공...)

[링크 : https://sourceforge.net/projects/tidy/]

[링크 : http://www.html-tidy.org/]



아니면 그냥 웹에서 하던가?

[링크 : https://www.freeformatter.com/xml-formatter.html]

Posted by 구차니