reference page 10 - Dave's Blog

Search
My timeline on Mastodon

SONY KDL-32S2000 user manual - Manual de instrucciones

2007 Aug 25, 6:02Manual for the Sony KDL 32S2000 TV.PermalinkCommentsreference tv product

Non-ASCII characters in URI attribute values

2007 Aug 23, 6:17From the HTML standard, what to do if you find a URI with a non-US-ASCII character.PermalinkCommentsuri standard reference unicode utf8 encoding ascii iri

roachfiend.com - ErrorZilla - Useful error pages for Firefox

2007 Aug 21, 10:22Replace FireFox's error pages with some useful options like check archive.org or coral cache.PermalinkCommentserror mozilla firefox reference extension cache archive whois

Lifehacker Code: About This Site add-on (Firefox) - Lifehacker

2007 Aug 21, 10:19More URI related stuff in a FF plugin.PermalinkCommentslifehacker mozilla reference extension firefox review article

Problems with Zenith P42W46X 42 in. EDTV Plasma Television

2007 Aug 18, 10:46Notes on problem shooting the TV including a scanned version of the manual.PermalinkCommentstv zenith purchase product reference

ha.ckers.org web application security lab - Archive - Stanford's DNS Rebinding Paper

2007 Aug 15, 3:20Listened to RSnake talk about this in person at one point. Pretty interesting without his scenario video with niave female Internet user narration.PermalinkCommentsajax rsnake via:swannman reference dns security javascript dns-rebinding

Bokardo - The Del.icio.us Lesson

2007 Aug 15, 3:16Reasons why del.icio.us style tagging is different and better than things that have come before it.PermalinkCommentsarticle blog business taxonomy tagging delicious folksonomy reference tag ontology

Microsoft Windows 2000 Scripting Guide - WScript Object

2007 Aug 3, 3:19Description of the global WScript object available when running javascript via cscript.exe.PermalinkCommentsdesktop javascript microsoft programming windows vbscript reference msdn

JavaScript Language Specification

2007 Aug 3, 3:11The JavaScript language. The whole thing.PermalinkCommentsjavascript reference language specification

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

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

Trendsspotting Blog Archive - kids are heavy social network users, they don’t say no to relevant marketing efforts: online surveys and tips for marketersTrendsspotting

2007 Jul 11, 9:54Stats on who uses social networks.PermalinkCommentsresearch reference statistics social web

Coding Horror: How To Advertise on Your Blog Without (Completely) Selling Out

2007 Jul 2, 9:18Advice on various forms of advertising for your blog.PermalinkCommentsarticle blog advertising howto reference via:swannman

RFC 4790 Internet Application Protocol Collation Registry

2007 Jun 27, 11:27RFC defining a registry of string sorts that other future RFCs may reference.PermalinkCommentsrfc reference ietf internet protocol registry collation sort string locale

Welcome to .museum

2007 Jun 21, 4:12Info on obtaining a .museum domain name.PermalinkCommentsinternet reference museum tld domain

RFC 2388 Returning Values from Forms: multipart/form-data

2007 Jun 15, 3:44Info on the format of the MIME type that contains data from an HTML form submission of enctype multipart/form-data.PermalinkCommentsform html mime multipart encoding rfc reference internet ietf

New RFCs

2007 Jun 14, 9:55Recently released Request For Comments documents from the IETFPermalinkCommentsietf reference internet rfc rss feed

New Current Internet Drafts (All Categories)

2007 Jun 14, 9:52RSS feed from the IETF of the recently submitted drafts.PermalinkCommentsietf rss feed draft rfc internet reference

Language Translation -- English, French, German, Spanish, Italian, Portuguese, Dutch, Russian, Greek, Norwegian, Chinese, Japanese & Korean

2007 Jun 6, 4:59A list of free web based language translation services including language guessing which I think is neat.PermalinkCommentsdictionary translation tool language reference free internet

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
Older EntriesNewer Entries Creative Commons License Some rights reserved.