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
#-*- encoding:utf-8 -*- | |
#words: 除算用の英単語辞書 | |
words = { | |
1000000000: 'Billion', | |
1000000: 'Million', | |
1000: 'Thousand', | |
100: 'Handred', | |
90: 'Ninety', | |
80: 'Eighty', |
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
android create project -n {name} -t {target-id} -g -v {gradle-version} -p {path} -k {package} -a {activity} |
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
#!/bin/sh | |
$ANDROID_STUDIO_BIN/studio.sh |
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
[Desktop Entry] | |
Encoding=UTF-8 | |
Version=1.0 | |
Type=Application | |
Name=Android Studio | |
Icon=/usr/local/share/android-studio/bin/androidstudio.ico | |
Path=/usr/local/share/android-studio/bin | |
Exec=/usr/local/share/android-studio/bin/studio.sh | |
StartupNotify=false | |
StartupWMClass=jetbrains-android-studio |
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
times in msec | |
clock self+sourced self: sourced script | |
clock elapsed: other lines | |
000.018 000.018: --- VIM STARTING --- | |
000.224 000.206: Allocated generic buffers | |
000.500 000.276: locale set | |
000.569 000.069: GUI prepared |
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
nodes = { | |
"A": ["", ""], | |
"B": ["", ""], | |
"C": ["", ""], | |
"D": ["", ""], | |
} | |
connects = [ | |
["A", "B", "10"], | |
["B", "C", "10"], |
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
import gtk | |
class GtkTutorial: | |
def __init__(self): | |
#GTK Window | |
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) | |
self.window.set_border_width(1) | |
self.window.set_title('Tutorial') | |
self.window.set_default_size(1024, 768) |
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
#!/bin/sh | |
pg_dump -h {host} -d {database} -U {user} -p {port} -w -Fc -b > {file} |
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
#!/bin/bash | |
for i in {0..255}; do | |
if [ $((${i} % 8)) -eq 0 ]; then | |
printf '\n' | |
fi | |
printf "\x1b[38;05;${i}m [38;05;%03dm" ${i} | |
done | |
printf '\n' |
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
task hello { | |
doLast { | |
println 'Hello world!' | |
} | |
} |
OlderNewer