[PLDWWW] page changed: people:glen
"Elan Ruusamäe (glen)"
glen at pld-linux.org
Thu Dec 20 11:05:11 CET 2012
syntax to blocks
--- https://www.pld-linux.org/people/glen?rev=1355997628
+++ https://www.pld-linux.org/people/glen
@@ -1,11 +1,7 @@
+ ====== Elan Ruusamäe ======
-
- ====== Elan Ruusamäe ======
[[http://cia.vc/stats/author/glen|{{http://dev.gentoo.org/~spock/img/icons/cia-stats.png?}}]]
-
- /* UndefinedMacro: TableOfContents(None) */
-
===== Inner Wiki links =====
@@ -38,16 +34,15 @@
===== Detect X application locale =====
- <file>xprop -id $WINDOWID -notype WM_LOCALE_NAME
+ <file bash>xprop -id $WINDOWID -notype WM_LOCALE_NAME
</file>
===== Detect PuTTY =====
-
- <file># xterm-249/vttests/title.sh
+ <file bash xterm-249/vttests/title.sh>
old=$(stty -g)
stty raw -echo min 0 time 5
echo -ne '\005'
read xapp
@@ -74,9 +69,10 @@
* make ~/.bash_profile to use keychain:
- <file>keychain -q --agents gpg
+ <file bash>
+ keychain -q --agents gpg
if [ -f ~/.keychain/$HOSTNAME-sh-gpg ]; then
. ~/.keychain/$HOSTNAME-sh-gpg
fi
* start new shell and start kmail/kpg/whatever
@@ -130,9 +126,10 @@
<file>$ echo -ne '\033]83;encoding utf8\007'
</file>
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
echo -ne '\033]83;encoding utf8\007'
echo -ne "\033k$HOSTNAME\033\\"
fi
@@ -141,9 +138,10 @@
===== PHP via FastCGI in Apache =====
- <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
ScriptAlias /php-fcgi /bin/true
<Location "/php-fcgi">
SetHandler fastcgi-script
@@ -308,5 +306,4 @@
echo -n "$url" | xclip -selection c
notify-send --hint=int:transient:1 "Screenshot Uploaded" "Copied URL to clipboard:\n$url"
done
</code>
-
Diff URL:
https://www.pld-linux.org/people/glen?do=diff&r1=1355997628&r2=1355997911
--
This mail was generated by DokuWiki at
https://www.pld-linux.org/
More information about the pld-cvs-commit
mailing list