ws page 43 - Dave's Blog

Search
My timeline on Mastodon

Bug 389580 - some schemes with %00 launch unexpected handlers on windows

2007 Jul 29, 12:54Mozilla's bug notes on the previously marked FireFox exploit.PermalinkCommentsfirefox bug browser security mozilla windows ie7 microsoft

Billy (BK) Rios - Remote Command Exec (FireFox 2.0.0.5 et al)

2007 Jul 29, 12:51Notes on a recent FireFox security exploit.PermalinkCommentsfirefox hack security browser ie7 windows

Open Library (Open Library)

2007 Jul 26, 12:12The folks at the Internet Archive have created a user modifiable Open Library that intends to catalog all books. As in all of them. Includes links to the books online (Internet Archive for ex.), where to buy (Amazon for ex.), reviews, etc.PermalinkCommentsarchive library opensource wiki research book books literature catalog reference

Full Text: Keen vs. Weinberger - WSJ.com

2007 Jul 26, 12:05A debate between David Weinberger (of Everything is Miscellaneous) and Andrew Keen (of Cult of the Amatuer) on the Web as the end of intelligent society. Of course since I'm posting this on delicious its clear who I favor in this debate.PermalinkCommentsdavid-weinberger blog article debate taxonomy tagging social community web

Windows Live Maps Help - Build Your Own URL

2007 Jul 25, 7:15Documentation on the URI format that maps.live.com uses. Makes it easy to dynamically construct a URI that maps a specific location.PermalinkCommentsmap live windows microsoft uri url help howto

Pick Your Candidate (2008 Presidential Candidates)

2007 Jul 22, 7:50Enter your views on various topics and see which candidates publicly stated opinions most match.PermalinkCommentsgovernment politics quiz vote

Airport Security ftw! on Flickr - Photo Sharing!

2007 Jul 13, 12:53Photo of an airport display with a windows message popping up. Thread includes other such photos.PermalinkCommentsairport humor image flickr images photo photos windows

Backup Notes

2007 Jul 13, 8:30I bought an external backup drive a few weekends ago. I've previously setup a Subversion repository so I decided to move everything into the repository and then back it up. So in went the contents of all of my %USERPROFILE% and ~ directories with a bit of sorting and pruning. Not too much though given its much easier to dump in everything and search for what I want then to take the time to examine and grade each file. What follows are the notes I took while setting this up. It takes me a bit of time to look up the help on each command so I figure I'll write it all down here for the benefit of myself and potentially others...

Setting Up the Backup Drive For Linux
I first changed the filesystem on the drive to ext3. I plugged it into my USB2.0 port and ran fdisk:

sudo fdisk /dev/sda

Useful commands I used to do this follow mostly in order:
m
help
p
print current partitions
d
delete current partition
n
create new partition (I used the defaults)
w
write changes and exit
Then I formatted for ext3.

sudo mkfs.ext3 /dev/sda1

I made it easy to mount:

sudo vim /etc/fstab
# added line to end:
/dev/sda1 /media/backup ext3 rw,user,noauto 0 0

I setup the directory structure on the disk

mount /media/backup
sudo mkdir /media/backup/users
sudo mkdir /media/backup/users/dave
sudo chown dave:dave /media/backup/users/dave


After all that its easy to make a copy of the Subversion repository:

mount /media/backup
cp -Rv /home/dave/svn /media/backup/users/dave/
umount /media/backup

Next on the agenda is to add a cron job to do this regularly.

Subversion Command Reference
On a machine that has local access to the Subversion repository you can check out a specific subdirectory as follows using the file scheme:

svn co file:///home/dave/svn/trunk/web/dave%40deletethis.net/public_html

Note also that although one of my directories is named 'dave@deletethis.net' Subversion requires the '@' to be percent-encoded.
Other useful subversion commands:
svn help
help
svn list file:///home/dave/svn/
list all files in root dir of svn depot
svn list -R file:///home/dave/svn/
list all files in svn depot
svn list -R file:///home/dave/svn/ | grep \/$
list all directories
svn status
List status of all files in the working copy directory as in - modified, not in repository, etc
svn update
Brings the working copy up to date wrt the repository
svn commit
Commit changes from the working copy to the repository
svn add / move / delete
Perform the specified action -- occurs immediately


Setting up Windows Client for Auto Auth into SVN
When using an SVN client on Windows via svn+ssh its useful to have the Windows automatically generate connections to the SVN server. I use putty on my Windows machines so I read the directions on using public keys with putty.

putty.exe dave@deletethis.net
cd .ssh
vim authorized_keys # leave the putty window open for now
puttygen.exe
Click the 'generate' button
Move the mouse around until finished
Copy text in 'Public key for pasting into OpenSSH authorized_keys file:' to putty window & save & close putty window
Enter Key passphrase & Comment in puttygen
Save the private key somewhere private
pageant.exe
'Add Key' the private key just saved.



Checking out using Tortoise SVN
On one of my Windows machines I've already installed Tortoise SVN. Checking out from my SVN repository was really easy. I just right clicked in Explorer in a directory and selected "SVN Checkout...". Then in the following dialog I entered the svn URI:

svn+ssh://dave@deletethis.net/home/dave/svn/trunk/web/dave%40deletethis.net/public_html/

Note again that the '@' that is part of the directory name is percent-encoded as '%40' while the '@' in the userinfo is not.

Windows Command Line Check Out
On my media center I didn't want to install Tortoise SVN so rather I used the command line tool. I setup pageant like before the only difficulty was getting the SVN command line tool to use putty. With the default configuration you can use the SVN_SSH environment variable to point at a compliant SSH command line tool. The trick is that its interpreted as a backslash escaped string. So I set mine thusly:

set SVN_SSH=C:\\users\\dave\\bin\\putty\\plink.exe

The escaping solved the vague error I received about not being able to create the tunnel.PermalinkCommentsbackup technical personal windows svn linux subversion

Breaking News: All Online Data Lost After Internet Crash | The Onion - America's Finest News Source

2007 Jul 12, 8:40ONN news story on the crash of the Internet. I blame that Mac the guy was using.PermalinkCommentshumor news onion video internet

Zune: Hack the Zune software to support more audio/video formats - Lifehacker

2007 Jul 5, 10:07Hack the Zune software to allow more audio/video formats. Consists of registry modifications only!PermalinkCommentsaudio zune windows format registry mp3 software video hack

Tired Of Traffic? A New DOT Report Urges Drivers: 'Honk' | The Onion - America's Finest News Source

2007 Jun 26, 1:14Onion report on DOT study suggesting honking to alleviate trafficPermalinkCommentsonion humor video car driving traffic honk

Windows Media Encoder

2007 Jun 20, 3:38This tool lets you create (among other things) video captures of you using your computer for specific screen regions, specific windows, or the whole desktop.PermalinkCommentsencoding free microsoft live video videos tool download

CSSVista: Live CSS editing with Internet Explorer and Firefox simultaneously

2007 Jun 20, 1:05A tool that lets you edit HTML & CSS in realtime with views rendered in IE and Firefox side by side.PermalinkCommentsbrowser ie ie7 firefox mozilla css debug html free software download tool tools web

First look: Safari 3 beta on Windows vs. Firefox 2 and IE7

2007 Jun 17, 11:59I expected more from Safari -- more like Opera. There weren't many exciting features to convert me.PermalinkCommentsapple article safari internet browser arstechnica review

Switcher for Windows Vista

2007 Jun 14, 11:01Switcher is like Expose for Vista.PermalinkCommentsexpose windows microsoft vista tool software download free desktop

Windows Core Networking : A Tale of 20 Cookies

2007 Jun 11, 2:41A blog post on the topic of cookie limits in wininet and IE.PermalinkCommentshttp ie ie7 wininet cookie cookies network blog microsoft article

Specifications/OpenSearch/Extensions/Parameter/1.0/Draft 1 - OpenSearch

2007 Jun 5, 5:51Draft document on the parameter extension to OpenSearch in order to support POSTs from the OpenSearch description.PermalinkCommentsopensearch search browser specification xml

Creating OpenSearch plugins for Firefox - MDC

2007 Jun 5, 5:50Firefox's notes on their implementation of the OpenSearch description.PermalinkCommentsapi browser firefox internet search opensearch programming reference mozilla mycroft specification

Avatar: the other you

2007 May 31, 11:11An article from newscientist about videogame avatars. There's a slideshow with side by sides of people and their avatars.PermalinkCommentsinternet videogames avatar culture article photos

WSDOT Seattle Area Traffic - I-5: NE 45th St

2007 May 29, 5:59Traffic map of the seattle area.PermalinkCommentstraffic camera car public government tool free travel
Older EntriesNewer Entries Creative Commons License Some rights reserved.