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
[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 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
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 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
nodes = { | |
"A": ["", ""], | |
"B": ["", ""], | |
"C": ["", ""], | |
"D": ["", ""], | |
} | |
connects = [ | |
["A", "B", "10"], | |
["B", "C", "10"], |
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
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 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/sh | |
pg_dump -h {host} -d {database} -U {user} -p {port} -w -Fc -b > {file} |
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 | |
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 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
task hello { | |
doLast { | |
println 'Hello world!' | |
} | |
} |
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 synIDattr(synID(line('.'), col('.'), 0), 'name') |
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/sh | |
pg_restore -h {host} -d {database} -U {user} -p {port} backup.dmp |