Skip to content

Instantly share code, notes, and snippets.

@dongola7
dongola7 / backup.sh
Created August 22, 2008 16:00
Backup script using rsync
#!/bin/sh
# Taken from http://samba.anu.edu.au/rsync/examples.html
# This script does personal backups. You will end up with a 7 day
# rotating incremental backup. The incrementals will go into
# subdirectories named after the day of the week, and the
# current full backup goes into a directory called "current".
# directory to backup
@dongola7
dongola7 / rtmcleanup.user.js
Created January 20, 2009 00:19
RTM Cleanup Greasmonkey Script
// ==UserScript==
// @name RTM Cleanup
// @namespace http://the-blair.com/greasemonkey
// @description Cleans up the RTM interface bit by removing the cow logo, removing the online help box, and moving the status bar to the bottom of the page.
// @include http://www.rememberthemilk.com/home/*
// @include https://www.rememberthemilk.com/home/*
// ==/UserScript==
// Remove the RTM logo
var node = document.getElementById('appheaderlogo');
@dongola7
dongola7 / remove_digg_bar.user.js
Created April 14, 2009 01:44
Greasemonkey script to eliminate Digg style short URLs.
// ==UserScript==
// @name Expand Digg Short URL
// @namespace http://the-blair.com/greasemonkey
// @description Eliminates all of the Digg style short URLs.
// @include http://*
// ==/UserScript==
function gen_decode_url(shorturl)
{
return 'http://services.digg.com/url/short' +
@dongola7
dongola7 / gist:174898
Created August 25, 2009 18:19
Just a clipboard
http://blogs.msdn.com/shawnfa/archive/2005/03/21/400088.aspx
http://blogs.msdn.com/shawnfa/archive/2005/03/22/400749.aspx
http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/ef896836-dec1-4fa6-9956-e3a4958643ce
http://realfiction.net/Content/Entry/113
http://codeblitz.wordpress.com/2009/05/08/wpf-validation-made-easy-with-idataerrorinfo/#