Tag: how to
-
Install Gitorious on CentOS 5
Recently I had to install Gitorious on a CentOS machine. Instructions on how to do this are in a document inside the gitorious code base, but since I needed something repeatable and reliable, I’ve turned to my tool of choice – Puppet. So I’ve created a Puppet recipe which installs Gitorious behind a Phusion Passenger/Apache…
-
Get duplicate line shortcut working in Ubuntu
Problem: The default keyboard shortcut for duplicating lines (ALT + CTRL + Up/Down) does not work Configuration: Ubuntu Jaunty, Eclipse 3.5 This is caused by the system using the same shortcuts to move to a virtual workspace above and below. Go to System > Preferences > Keyboard Shortcuts and assign a different key combo for…
-
Open files in gvim in new tabs
Aim: when hitting F4 in GnomeCommander, the file will open in a new tab of the existing gvim instance: Options1: visual: Open Gnome Commander => Settings => Options => Programs In the Edit text field put this: gvim -p –remote-tab-silent %s Save and restart Gnome Commander – not always needed, but helps Option 2: editing…
-
Fix iTunes + Windows 7 + iPhone
Update: Using the latest iTunes 64bit with Windows 7 64bit, I had no more problems. Can’t vouch for 32 bit versions, though. Problem: After a first successful sync of my iPhone with iTunes on Windows 7, I rebooted my PC. Consequently, any attempt to start iTunes with my iPhone plugged in results in an error…
-
Enable additional ENV variables on linux for non-interactive ssh logins
Use-case: run Hadoop with localhost as your only master/slave and with a custom JVM: echo JAVA_HOME=/home/user/jdk > ~/.bashrc echo JAVA_HOME=/home/user/jdk > ~/.ssh/environment sudo -i echo PermitUserEnvironment yes >> /etc/ssh/sshd_config service ssh restart exit ssh localhost ‘echo $JAVA_HOME’
-
Setting up subversion on Windows
Today I had something to test that required a svn repository. Since my home repository wasn’t answering my calls (well, pings actually) I decided to do a quick install of the svn server on my Windows XP box. From what I remembered it should have been simple enough. After restarting all the process at one…