This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
people:glen [2012-12-20 11:00] glen add Dropbox as picture share service |
people:glen [2012-12-20 11:05] glen syntax to blocks |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Elan Ruusamäe ====== | ||
- | |||
- | ====== Elan Ruusamäe ====== | ||
[[http://cia.vc/stats/author/glen|{{http://dev.gentoo.org/~spock/img/icons/cia-stats.png?}}]] | [[http://cia.vc/stats/author/glen|{{http://dev.gentoo.org/~spock/img/icons/cia-stats.png?}}]] | ||
- | |||
- | /* UndefinedMacro: TableOfContents(None) */ | ||
- | |||
Line 40: | Line 36: | ||
- | <file>xprop -id $WINDOWID -notype WM_LOCALE_NAME | + | <file bash>xprop -id $WINDOWID -notype WM_LOCALE_NAME |
</file> | </file> | ||
Line 46: | Line 42: | ||
===== Detect PuTTY ===== | ===== Detect PuTTY ===== | ||
- | + | <file bash xterm-249/vttests/title.sh> | |
- | <file># xterm-249/vttests/title.sh | + | |
old=$(stty -g) | old=$(stty -g) | ||
stty raw -echo min 0 time 5 | stty raw -echo min 0 time 5 | ||
Line 76: | Line 71: | ||
- | <file>keychain -q --agents gpg | + | <file bash> |
+ | keychain -q --agents gpg | ||
if [ -f ~/.keychain/$HOSTNAME-sh-gpg ]; then | if [ -f ~/.keychain/$HOSTNAME-sh-gpg ]; then | ||
. ~/.keychain/$HOSTNAME-sh-gpg | . ~/.keychain/$HOSTNAME-sh-gpg | ||
Line 132: | Line 128: | ||
for example my ''~/.bash_profile'' on [[:machines:carme|carme]] contains: | for example my ''~/.bash_profile'' on [[:machines:carme|carme]] contains: | ||
- | <file># force screen utf8 encoding | + | <file bash> |
+ | # force screen utf8 encoding | ||
if [[ "$TERM" = screen* ]]; then | if [[ "$TERM" = screen* ]]; then | ||
echo -ne '\033]83;encoding utf8\007' | echo -ne '\033]83;encoding utf8\007' | ||
Line 143: | Line 140: | ||
- | <file># the server name is bogus actually, to satisfy mod_fastcgi | + | <file apache> |
+ | # the server name is bogus actually, to satisfy mod_fastcgi | ||
FastCgiExternalServer /bin/true -socket /var/run/php/fcgi.sock | FastCgiExternalServer /bin/true -socket /var/run/php/fcgi.sock | ||
ScriptAlias /php-fcgi /bin/true | ScriptAlias /php-fcgi /bin/true | ||
Line 310: | Line 308: | ||
done | done | ||
</code> | </code> | ||
- |