Corwin of Amber on Progress

Opened up a terminal window today, and I so enjoyed this one: ________________________________________ ( Steady movement is more important than ) ( speed, much of the time. So long as ) ( there is a regular progression of ) ( stimuli to get your mental hooks into, ) ( there is room for lateral movement. ) ( Once this begins, its rate is a matter ) ( of discretion. ) ( ) ( -- Corwin, Prince of Amber ) ----------------------------------------

Creating a branch in Subversion

Beginning at the root of your repository: svn mkdir branches/wayne cd branches/wayne svn merge http://your.subversion.server/projectName/trunk svn ci -m 'Issuing "svn merge http://your.subversion.server/projectName/trunk".'

Changing hostname

When /etc/hostname is updated, be sure to follow suit in the default tnsnames.ora and listener.ora. Mine were in: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin Otherwise you’ll get an ORA-12541 error.

OCIEnvNlsCreate() failed

Wanted to work on an Oracle-backed project from home last weekend; e.g., Warning (2): ocilogon() [function.ocilogon]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME and LD_LIBRARY_PATH are set and point to the right directories [CORE/cake/libs/model/datasources/dbo/dbo_oracle.php, line 171] ORACLE_HOME and LD_LIBRARY_PATH are environment variables I’d defined in my ~/.bashrc; e.g., . /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh And phpinfo() seems to suggest that it’s OK: OCI8 Support enabled Version 1.4.1 Revision $Revision: 293235 $ Active Persistent Connections 0 Active Connections 0 Compile-time ORACLE_HOME /usr/lib/oracle/xe/app/oracle/product/10.

Shell commands for Ubuntu Netbook Edition 9.10

# Install Wine, IEs4Linux sudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get install wine wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz tar zxvf ies4linux-latest.tar.gz cd ies4linux-* ./ies4linux # Uninstall games sudo apt-get remove gnome-games sudo apt-get autoremove # Cleanup history -c