Retrieving a Previously Deleted File in Subversion

Let’s say that you have deleted a file (or directory) in your checked out copy of a svn repository and then checked it in (committed your change).

You discover that you really would like to have that file back in your current version of your repo. You can either us the svn merge command, or copy the file from a previous version of your repo.

Here is how you can copy the file from a previous version:

svn rm blah.txtContinue reading “Retrieving a Previously Deleted File in Subversion”

Setting up Proxy Authentication for a Linux Box to use yum

Should you find yourself running a Linux box behind a proxy that requires authentication you will need to update your setup so that you can get access to the outside world, and make some configuration changes to yum.

First, add the following to your /etc/yum.conf (note, this is incredibly insecure as you will now have your proxy uid and password in clear text on your machine. You should remove your login details after you have made your connections):

proxy=http://proxy_url:80
proxy_username=uid
Continue reading “Setting up Proxy Authentication for a Linux Box to use yum”