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

ORA-01033 ORACLE initialization or shutdown in progress

Encountered this issue todya/ The verbiage indicates that Oracle is starting up (or down), but waiting doesn’t work. sqlplus sys/xxxxxxx as sysdba Replace the ‘xxxxxxx’ part with your actual password. If sqlplus command is not found, it’s probably a problem with your environment variables, but that’s another can of worms altogether. Let’s see whether the db can be mounted: SQL> alter database mount; ERROR at line 1: ORA-01100: database already mounted OK, so the database needs to be opened too, whatever that means: