This was too funny to not post, but you know how Darth Vader survived the Death Star explosion? Which one? He survived the second one, too. Okay, but I'm taking about the first one. Yeah, in the first movie-- the one that was fourth in the series.
Anyway... Robot Chicken has a scene where Darth Vader calls the Emporer to tell him about the destruction.
Friday, February 26, 2010
Wednesday, February 24, 2010
SVN Import in Place
One thing that irritates me about SVN is that the solution to every problem is to blow away your working copy and check out a new version. Of course this means you never really fix anything. But, that's not my concern today. Today the goal is to add an unversioned project to a repository without deleting anything.
We assume the project is on one server and the repository is another. We are going to use SSH as our transfer. The SVN server and client packages are loaded and configured.
First, prepare the directory structure on the repository.
Establish connection between project server and repository.
Use a dummy directory to create the repository skeleton.
Delete the dummy.
Move to the project's root and do a checkout against the empty repository.
Add the directories and check in the pre-existing files.
Use your WebSVN interface to confirm the files are in the repository.
We assume the project is on one server and the repository is another. We are going to use SSH as our transfer. The SVN server and client packages are loaded and configured.
First, prepare the directory structure on the repository.
svnadmin create --fs-type fsfs /svnrepos/targetEverything else is done from the project server.
Establish connection between project server and repository.
vi ~/.ssh/configTest it:
host websvn
hostname websvn # resoled in /etc/hosts
port 22 # relocate if public
user svnuser # change as needed
IdentityFile ~/.ssh/svnuser_id_rsa
ssh websvn uptime
Use a dummy directory to create the repository skeleton.
cd /tmp; mkdir /tmp/target; cd /tmp/target
mkdir trunk branches tags
svn import -m "Initilize" . svn+ssh://websvn/svnrepos/target
Delete the dummy.
cd ~; rm -rf /tmp/target/
Move to the project's root and do a checkout against the empty repository.
cd /var/www/target/If you get an error, you forgot the dot in the SVN command.
# never trust anyone... backup! backup! backup!
tar czf /tmp/emergency.tgz *
svn co svn+ssh://websvn/svnrepos/target/trunk .
ls -ld .svn
Add the directories and check in the pre-existing files.
svn add ./*
svn ci -m "Inplace import"
Use your WebSVN interface to confirm the files are in the repository.
Wednesday, February 10, 2010
Toyota in Defilade
So it took three days, but I was able to hand shovel 190 linear feet to the main road. Saturday was spent getting to the car, and getting the car clear. I still assumed the parking lot would get plowed. On Sunday, I lost hope, and started shoveling to freedom-- about five other residents helped, but we ran out of daylight about 25 feet short of meeting up with trail a Jeep Cherokee had cut. About 10am Monday, the digging continued, and we hit the main road at about 1pm.
Tuesday, with another 12 to 20 inches of snow on the way, I decided that we couldn't dig all that snow again, so the only option was to put the car on the street. The biggest problem with the plan was that the car could get KO'ed by a snow plow. And what about having to dig out once the snow plow packs snow along the side.
And then I came up with a cunning plan-- There is a crazy guy in the neighborhood who parks junked cars on the main street. Every thirty days the county tickets the cars and gives him five days to move them or they get towed. He moves them to a different part of the street, and the process repeats.
I dug out the area behind one of the junked cars, packed the snow down the form a ramp, and backed the car onto the curb. The nose is in far enough that the junker protects it. To move the car, all I have to clear is the front.
Diabolical.
Tuesday, with another 12 to 20 inches of snow on the way, I decided that we couldn't dig all that snow again, so the only option was to put the car on the street. The biggest problem with the plan was that the car could get KO'ed by a snow plow. And what about having to dig out once the snow plow packs snow along the side.
And then I came up with a cunning plan-- There is a crazy guy in the neighborhood who parks junked cars on the main street. Every thirty days the county tickets the cars and gives him five days to move them or they get towed. He moves them to a different part of the street, and the process repeats.
I dug out the area behind one of the junked cars, packed the snow down the form a ramp, and backed the car onto the curb. The nose is in far enough that the junker protects it. To move the car, all I have to clear is the front.
Diabolical.
Sunday, February 07, 2010
Snow Pictures, From Home
Wednesday, February 03, 2010
Subscribe to:
Posts (Atom)