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
#!/usr/bin/env bash -eu | |
cd "${0%/*}" && exec > .gitignore | |
gibo osx | |
gibo linux | |
gibo vagrant | |
gibo python | |
cat <<'EOF' | |
.foobar.conf | |
something_*.log |
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
#!/usr/bin/env osascript | |
set o to "" | |
tell application "Google Chrome" | |
repeat with w in windows | |
repeat with t in (tabs of w) | |
set o to (o & (url of t) & "\t" & (name of t) & "\n") | |
end repeat | |
end repeat | |
end tell | |
return text 1 thru -2 of o |
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
$ autoflake -i --remove-all-unused-imports --remove-unused-variables main.py |
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
$ python -c 'import time; print(1); time.sleep(3); print(2)' | |
1 | |
2 | |
$ |
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
class A(object): | |
def __init__(self): | |
self.value = 1 | |
class B(object): | |
def __init__(self): | |
self.value = 2 |
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
Bitbucket や GitHub に複製があれば良いので、しばらく使っていない不要なローカルリポジトリは消してしまおうかな。 | |
でも「全ての必要なファイルは復旧できること」「消してしまうファイルは不要なものだけであること」はちゃんと確認したいな。 |
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
appcleaner | |
bettertouchtool | |
coteditor | |
dropbox | |
fluid | |
google-chrome | |
karabiner | |
libreoffice | |
mono-mdk | |
sequel-pro |
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
set autoindent | |
set smartindent | |
au FileType python setlocal shiftwidth=4 softtabstop=4 expandtab | |
au FileType yaml setlocal shiftwidth=2 softtabstop=2 expandtab | |
au FileType Haskell setlocal expandtab | |
syntax on | |
set mouse=a |
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
U+20 SPACE | |
U+A0 NO-BREAK SPACE | |
U+2000 EN QUAD | |
U+2001 EM QUAD | |
U+2002 EN SPACE | |
U+2003 EM SPACE | |
U+2004 THREE-PER-EM SPACE | |
U+2005 FOUR-PER-EM SPACE | |
U+2006 SIX-PER-EM SPACE | |
U+2007 FIGURE SPACE |
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
<table width="99%" border="1" cellpadding="5" cellspacing="0" class="datatable"> | |
<caption> | |
所得税の速算表 | |
</caption> | |
<tr> | |
<th width="62%" scope="col"> 課税される所得金額</th> | |
<th width="13%" scope="col"> 税率</th> | |
<th width="25%" scope="col"> 控除額</th> | |
</tr> | |
<tr> |