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
| #!/bin/bash -e | |
| # 指定ファイル末尾の余分な改行文字を取り除いた文字列を出力 | |
| cat $1 | ruby -0777 -ne 'puts $_.chomp("")' |
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
| [-1 * -1 = 1] | |
| -1 * -1 = -1 * -1 + 0 + 0 | |
| = -1 * -1 + (1 + -1) + (1 + -1) | |
| = -1 * -1 + -1 + -1 + 1 + 1 | |
| = -1 * (-1 + 1 + 1) + 1 + 1 | |
| = -1 * 1 + 1 + 1 | |
| = -1 + 1 + 1 | |
| = 0 + 1 | |
| = 1 |
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
| @echo off | |
| setlocal | |
| chcp 65001 > nul | |
| call "%APPDATA%\local\bin\ghc-mod.exe" %* | |
| endlocal |
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
| (function(){ alert("(/・ω・)/"); })(); |
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
| @powershell -command "Start-Process -Verb runas notepad C:\WINDOWS\System32\drivers\etc\hosts" |
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
| #!/bin/bash -e | |
| RUST_DIR=$HOME/.rust | |
| rustup update | |
| if [ ! -d $RUST_DIR ]; then | |
| mkdir $HOME/.rust | |
| fi |
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
| [package] | |
| 省略 | |
| [features] | |
| default = [] | |
| check = ["sorty"] | |
| [dependencies] | |
| sorty = { git = "https://github.com/Wafflespeanut/rust-sorty", optional = true } |
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
| .DS_Store | |
| .directory | |
| Thumbs.db | |
| core | |
| *.swp | |
| *~ | |
| *.bak | |
| *.log |
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
| root = true | |
| [*] | |
| indent_style = space | |
| indent_size = 4 | |
| end_of_line = lf | |
| charset = utf-8 | |
| trim_trailing_whitespace = true | |
| insert_final_newline = true |
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
| #!/bin/bash -eu | |
| AUTO_START_DIR=${HOME}/.config/autostart | |
| KEYRING_CONFIG=gnome-keyring-ssh.desktop | |
| if [ ! -d $AUTO_START_DIR ]; then | |
| mkdir -p $AUTO_START_DIR | |
| fi | |
| if [ ! -e ${AUTO_START_DIR}/${KEYRING_CONFIG} ]; then |