This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From : | |
https://stackoverflow.com/questions/30024353/how-to-use-visual-studio-code-as-default-editor-for-git/36644561 | |
1. 터미널 열기. | |
2. code --help 정상 출력되는지 확인. | |
3. git config --global core.editor "code --wait" | |
4. git config --global -e | |
5. 열리는 깃헙 글로벌 에디터 설정에 다음 내용 추가. | |
[diff] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
telnet | |
set localecho | |
open <host ip> <port> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem : | |
Windows python throws error when I change codepage to unicode (chcp 65001) and try to use python. | |
PS C:\Program Files\PowerShell\6.0.0-rc> pip list | |
Traceback (most recent call last): | |
File "d:\python2.7.13\lib\runpy.py", line 174, in _run_module_as_main | |
"__main__", fname, loader, pkg_name) | |
File "d:\python2.7.13\lib\runpy.py", line 72, in _run_code | |
exec code in run_globals | |
File "D:\Python2.7.13\Scripts\pip.exe\__main__.py", line 5, in <module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/jakewtaylor/e92acd697409e53a73ebf8e0145d4c28 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const crypto = require('crypto'); | |
function hash (password) { | |
return crypto.createHmac('sha256', secret).update(password).digest('hex'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scoop update * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -file | % {<command> $_.fullname} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-05-03T07:02:11.812Z","extensionVersion":"v3.2.9"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-01-16T01:57:17.042Z","extensionVersion":"v3.4.3"} |