User Tools

Site Tools


people:glen

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
people:glen [2012-10-14 00:17]
glen fix user homepages link
people:glen [2016-01-16 09:33] (current)
glen
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) */  
  
 +===== Useful links =====
  
- +  ​* [[#PLD Linux VM Images]] 
-===== Inner Wiki links ===== +  * [[http://​www.emacswiki.org/emacs/​MovingTheCtrlKey|Moving The Ctrl Key]]
- +
-  ​* [[:​packages:​pear|PEAR Info]]  +
-  * [[http://​www.tld-linux.org/|Linux Titanium info]]  +
-  * [[:​docs:​vserver|PLD Linux Vserver pages]] +
   * [[::​developingpld|Developing PLD Linux]] ​   * [[::​developingpld|Developing PLD Linux]] ​
-  * [[:​developingpld:​acrequestsrules|AC builder notes]] ​ 
-  * [[:​developingpld:​ackernelbuildernotes|building Ac kernel packages notes]] ​ 
-  * [[:​developingpld:​thkernelbuildernotes|building Th kernel packages notes]] ​ 
-  * [[:​packages:​anaconda|anaconda]] ​ 
   * [[:​developingpld:​advanceddeveloping:​fixingasneeded|fixing --as-needed]] ​   * [[:​developingpld:​advanceddeveloping:​fixingasneeded|fixing --as-needed]] ​
   * [[:​people|user homepages in www.pld-linux.org wiki]] ​   * [[:​people|user homepages in www.pld-linux.org wiki]] ​
   * [[http://​carme.pld-linux.org/​~megabajt/​docs/​devel_cvs_wstep.html|cvs new account (in Polish)]] ​   * [[http://​carme.pld-linux.org/​~megabajt/​docs/​devel_cvs_wstep.html|cvs new account (in Polish)]] ​
 +  * [[http://​rescuecd.pld-linux.org/​download/​|http://​rescuecd.pld-linux.org/​download/​]]  
 +  * [[http://​ftp3.pld-linux.org/​~pldftpac/​isos/​iso/​2.0/​|http://​ftp3.pld-linux.org/​~pldftpac/​isos/​iso/​2.0/​]]  
 +  * [[http://​marcansoft.com/​blog/​2009/​01/​using-amarok-and-other-itunesdb-compatible-software-with-the-iphone-2x/​|http://​marcansoft.com/​blog/​2009/​01/​using-amarok-and-other-itunesdb-compatible-software-with-the-iphone-2x/​]]  
 +  * [[http://​www.cvsnt.org/​manual/​html/​Substitution-modes.html|http://​www.cvsnt.org/​manual/​html/​Substitution-modes.html]] ​
  
 ===== Some ideas to do in PLD Linux ===== ===== Some ideas to do in PLD Linux =====
Line 27: Line 21:
   * generate /​etc/​profile.env from /etc/env.d and make it possible to merge env from two different files. ​   * generate /​etc/​profile.env from /etc/env.d and make it possible to merge env from two different files. ​
   * modularize rc-scripts, so the portions could be reused for example by initng. ​   * modularize rc-scripts, so the portions could be reused for example by initng. ​
- 
- 
-===== links ===== 
- 
-  * [[http://​rescuecd.pld-linux.org/​download/​|http://​rescuecd.pld-linux.org/​download/​]] ​ 
-  * [[http://​ftp3.pld-linux.org/​~pldftpac/​isos/​iso/​2.0/​|http://​ftp3.pld-linux.org/​~pldftpac/​isos/​iso/​2.0/​]] ​ 
-  * [[http://​marcansoft.com/​blog/​2009/​01/​using-amarok-and-other-itunesdb-compatible-software-with-the-iphone-2x/​|http://​marcansoft.com/​blog/​2009/​01/​using-amarok-and-other-itunesdb-compatible-software-with-the-iphone-2x/​]] ​ 
-  * [[http://​www.cvsnt.org/​manual/​html/​Substitution-modes.html|http://​www.cvsnt.org/​manual/​html/​Substitution-modes.html]] ​ 
- 
  
 ===== Detect X application locale ===== ===== Detect X application locale =====
  
  
-<​file>​xprop -id $WINDOWID -notype WM_LOCALE_NAME+<​file ​bash>xprop -id $WINDOWID -notype WM_LOCALE_NAME
 </​file>​ </​file>​
  
Line 46: Line 31:
 ===== 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 60:
  
  
-<​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 117:
 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 129:
  
  
-<​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 239: Line 226:
 now remove the old disk and voila! ​ now remove the old disk and voila! ​
  
 +===== PLD Linux VM images =====
  
 +See [[.:​glen:​vm-info]] for more details
 ===== Upgrading PHP 5.3 -> PHP 5.4 ===== ===== Upgrading PHP 5.3 -> PHP 5.4 =====
  
Line 247: Line 235:
 </​file>​ </​file>​
  
 +===== Dropbox as picture share service =====
 +
 +Any file saved to ''​~/​Pictures/​Screenshots''​ gets renamed based on timestamp and moved to ''​~/​Dropbox/​Public''​ folder.
 +
 +When the move is done, URL for the image is copied to clipboard and image viewer is opened so you can see your image before you paste the url to IM, e-mail, etc...
 +
 +See: https://​github.com/​glensc/​dropbox-watch
 +===== PLD svn and Subversion under ac =====
 +
 +[[/​AcInfo|Ac]] has old openssl that can't do [[wp>​Server Name Indication|SNI]] properly, therefore accessing svn over https gives errors:
 +
 +<​file>​
 +svn: OPTIONS of '​https://​....':​ Certificate verification error: certificate signature failure (https://​svn.pld-linux.org)
 +</​file>​
 +
 +A [[http://​jamescrisp.org/​2010/​06/​05/​workaround-for-subversion-svn-certificate-verification-error-insecure-algorithm-on-ubuntu-1004-lucid-lynx/​|Workaround]] possible:
 +<code config ~/​.subversion/​servers>​
 +[groups]
 +pld = svn.pld-linux.org
 +
 +[pld]
 +ssl-trust-default-ca = no
 +</​code>​
people/glen.1350166626.txt.gz · Last modified: 2012-10-14 00:17 by glen