git config --global alias.lg "log --color --graph
--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)
%C(bold blue)<%an>%Creset' --abbrev-commit"
https://coderwall.com/p/euwpig/a-better-git-log
2018년 9월 28일 금요일
sakura terminal configurations
~/.config/sakura/sakura.conf
https://github.com/enricobacis/.dotfiles/blob/master/sakura/.config/sakura/sakura.conf
https://github.com/enricobacis/.dotfiles/blob/master/sakura/.config/sakura/sakura.conf
mx linux tearing fix
/usr/share/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "Intel"
Option "TearFree" "True"
EndSection
#Option "AccelMethod" "sna" << 이건 적용하지 않음
Section "Device"
Identifier "Intel Graphics"
Driver "Intel"
Option "TearFree" "True"
EndSection
#Option "AccelMethod" "sna" << 이건 적용하지 않음
2018년 9월 26일 수요일
mx linux lock by keyboard shortcuts
https://unix.stackexchange.com/questions/147465/how-to-suspend-with-a-keyboard-shortcut
설정 관리자->키보드->프로그램 바로 가기->추가
xflock4 ; xfce4-session-logout --suspend
설정 관리자->키보드->프로그램 바로 가기->추가
xflock4 ; xfce4-session-logout --suspend
2018년 9월 24일 월요일
kde ibus 시작 프로그램 등록
시스템 설정->시작 및 종료->자동시작->자동으로 시작되는 프로그램->데스크톱 파일
프로그램 추가
프로그램->명령
/usr/bin/ibus-daemon -drx --panel=/usr/lib/kimpanel-ibus-panel
설정: https://wiki.archlinux.org/index.php/IBus#KDE
kimtoy 설치
~/.xprofile
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
~/.bashrc 에도 마지막에 같은 부분 추가
.xprofile 수정
적당한 위치에 script 만들기. (~/start_ibus.sh)
/usr/bin/ibus-daemon -drx
시스템 설정->시작 및 종료->자동시작->Add login script
2018년 9월 21일 금요일
2018년 9월 19일 수요일
node.js live debugging
- start node.js app with inspect setting
- pm2: pm2 xxx.js --node-args="--inspect=IP:PORT"
- attach debugger
- CUI
- node inspect IP:PORT
- GUI
- VSCode
- https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_remote-debugging
- https://nodejs.org/docs/latest-v8.x/api/debugger.html
피드 구독하기:
글 (Atom)
void vscode/firefox open dialog not working
install nautilus
-
Requirements PC text editor vscode, notepad++, sublime text, atom, whatever... image editor gimp, MS paint, photoshop, ... too...
-
pro 많은 GUI 부품들 멀티플랫폼 con script 검색!!!. (전체 script검색이 귀찮음) vscode debug plugin이 업데이트 되면 좋을까? 분리.(include?기능 지원...) 문서화. GUI에서 선택할 수 있...
-
단점 async 프로그래밍이 어렵다. funcref + call_deferred + emit_signal 으로 비슷하게 만들 수 있지만. 예외 처리가 가능할지 모르겠다. 씬 변화 추적이 어렵다 tscn이 텍스트 파일이지만, 변화 내역을 git에서 추적...