-
Install lastest PowerShell
-
Download https://chocolatey.org/install.ps1
-
Launch Command Prompt as Administrator
-
Type below commands
This file contains hidden or 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 ramboxOriginalTitle = document.title; | |
| function ramboxUpdateTitle() { | |
| document.title = `${ | |
| document.querySelectorAll('#reply.new, #direct.new').length > 0 | |
| ? '(\u2022) ' | |
| : '' | |
| }${ramboxOriginalTitle}`; | |
| } | |
| registerPlugin({ | |
| newMessageElement: ramboxUpdateTitle, |
This file contains hidden or 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
| var originalTitle = document.title; | |
| function updateTitle() { | |
| document.title = document.querySelectorAll('#reply.new, #direct.new').length > 0 ? '(\u2022) ' + originalTitle : originalTitle; | |
| } | |
| registerPlugin({ | |
| newMessageElement: updateTitle, | |
| newDM: updateTitle, | |
| switchTo: updateTitle | |
| }); |
This file contains hidden or 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
| % git clone http://repo.or.cz/guilt.git | |
| Cloning into 'guilt'... | |
| remote: Counting objects: 3844, done. | |
| remote: Total 3844 (delta 0), reused 0 (delta 0) | |
| Receiving objects: 100% (3844/3844), 624.05 KiB | 152.00 KiB/s, done. | |
| Resolving deltas: 100% (2864/2864), done. |
This file contains hidden or 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
Show hidden characters
| { | |
| "presets": ["@babel/env"] | |
| } |
This file contains hidden or 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
| if exists('$HTTP_PROXY') | |
| let s:proxy_url_pattern = | |
| \ '^\%(\([^:]*\):\/\/\)\=' | |
| \ . '\%(\([^:@]*\)\(:[^@]*\)\=@\)\=' | |
| \ . '\([^:]*\)\%(:\(\d*\)\)\=/\=$' | |
| let g:twitvim_proxy = substitute($HTTP_PROXY, | |
| \ s:proxy_url_pattern, '\4:\5', '') | |
| let s:proxy_login = substitute($HTTP_PROXY, | |
| \ s:proxy_url_pattern, '\2', '') | |
| let s:proxy_pass = substitute($HTTP_PROXY, |
This file contains hidden or 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
| let s:vimfiles = expand('<sfile>:p:h') | |
| let s:plugvim = s:vimfiles . '/autoload/plug.vim' | |
| if empty(glob(s:plugvim)) | |
| execute "silent !curl -fLo " . s:plugvim . " --create-dirs " | |
| \ . "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" | |
| autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
| endif | |
| if !empty(glob(s:plugvim)) | |
| call plug#begin(s:vimfiles . '/plugged') |
This file contains hidden or 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
| % node server.js & node client.js | |
| Server running | |
| { | |
| "host": "localhost:4321", | |
| "accept": "application/json", | |
| "content-type": "application/json", | |
| "content-length": "37", | |
| "connection": "close" | |
| } | |
| body: [{"a":1,"b":true,"c":"x","d":"漢字"}] |
This file contains hidden or 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
| if has('win32') | |
| let g:EditorConfig_exclude_patterns = ['[^\x01-\x7e]'] | |
| endif |
This file contains hidden or 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://github.com/github/gitignore/blob/master/Global/Vim.gitignore | |
| # swap | |
| [._]*.s[a-w][a-z] | |
| [._]s[a-w][a-z] | |
| # session | |
| Session.vim | |
| # temporary | |
| .netrwhist | |
| *~ |