301 Moved Permanently
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
| # -Parallel で並列化 | |
| # -ThrottleLimit で立てるスレッド数を指定 | |
| 1..100 | foreach -ThrottleLimit 3 -Parallel { | |
| # 最短 FizzBuzz は http://blog.powershell-from.jp/?p=15 さんより | |
| $s=@(“Fizz”)[$_%3] + @(“Buzz”)[$_%5]; | |
| [PSCustomObject]@{ | |
| Id =$_; Value = ($s,$_)[!$s] | |
| } | |
| } | Sort-Object Id |
Setup Emscripten
Require fastcomp compiler for MAME compile.
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/chimari/MaCoPiX | |
| sudo apt install libx11-dev | |
| sudo apt install libglib2.0-dev | |
| sudo apt install libgtk-3-dev |
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
| # for curl | |
| echo 'proxy = "http://example.com:8080"' > ~/.curlrc | |
| # for wget | |
| echo 'http_proxy=http://example.com:8080' >> ~/.wgetrc | |
| echo 'https_proxy=http://example.com:8080' >> ~/.wgetrc | |
| # for other (include nodejs/pip) | |
| echo 'export HTTP_PROXY="http://example.com:8080"' >> ~/.bashrc | |
| echo 'export HTTPS_PROXY_="${HTTP_PROXY}"' >> ~/.bashrc |
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
| // 以下のように Firefox をデバッグサーバーで起動しておく。 | |
| // "C:\Program Files\Firefox Developer Edition\firefox.exe" -start-debugger-server | |
| // about:config | |
| // devtools.debugger.remote-enabled true | |
| // devtools.chrome.enabled true | |
| // devtools.debugger.prompt-connection false | |
| // devtools.debugger.force-local false | |
| { | |
| "version": "0.2.0", |
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
| $proxy='http://<IP>:<PORT>' | |
| $ENV:HTTP_PROXY=$proxy | |
| $ENV:HTTPS_PROXY=$proxy | |
| cd ~\Downloads | |
| .\rustup-init.exe |
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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| // 任意の名称 | |
| "name": "Launch firefox", | |
| // hbenl.vscode-firefox-debug 識別子 | |
| "type": "firefox", | |
| "request": "launch", | |
| // 画面遷移したら再アタッチ |
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
| @-moz-document url-prefix("chrome://devtools/content/") { | |
| * { | |
| font-size: 15px !important; | |
| font-family: 'Ricty Diminished for Powerline' !important; | |
| } | |
| } |
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
| # Powerline | |
| if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then | |
| source /usr/share/powerline/bindings/bash/powerline.sh | |
| fi | |
| # macOS の場合は LANG を設定しないと Powerline の表示がおかしくなる | |
| LANG=ja_JP.UTF-8 | |
| # Alacritty & tmux | |
| if [[ "$TERM_PROGRAM" = "alacritty" && $SHLVL = 1 ]] |