How To Create a PayPal-styled Button Using CSS and HTML

Author: , August 31st, 2018

1 <button class="paypal-btn large" onclick="window.location=’https://www.yoursite.com/targetPage/’;return false">What a Great Button</button> <button class=”paypal-btn large” onclick=”window.location=’https://www.yoursite.com/targetPage/’;return false”>What a Great Button</button> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 […]

How To Create and Restore an SVN Backup Dump File (.dmp)

Author: , February 1st, 2018

Backup Compressed: svnadmin dump /volumes/data/svn/yourRepo | gzip -9 > /volumes/data/backup/yourRepo.dmp.gz Backup Uncompressed: svnadmin dump /volumes/data/svn/yourRepo > /volumes/data/backup/yourRepo.dmp Restore the Repo Create a new SVN repository: svnadmin create /volumes/data/svn/newRepo Restore the dump file to the new repository: svnadmin load /volumes/data/svn/newRepo < /volumes/data/backup/yourRepo.dmp Just for good measure, here is how to checkout from a local repo: svn […]

How To Create a New Directory in AWS S3

Author: , October 10th, 2012

1 2 3 $s3->create_object(’<bucket_name>’, ‘folder/’, array(’body’ => ”)); ~OR~ $s3->create_object(’<bucket_name>’, ‘folder/’, array(’body’ => ”, ‘contentType’ => ‘application/x-directory’)); $s3->create_object(‘<bucket_name>’, ‘folder/’, array(‘body’ => ”)); ~OR~ $s3->create_object(‘<bucket_name>’, ‘folder/’, array(‘body’ => ”, ‘contentType’ => ‘application/x-directory’));

How To Generate Any Size Dummy Image On The Fly

Author: , September 27th, 2011

I found this VERY cool website, http://dummyimage.com/, that lets me custom-build a placeholder image on the fly, like this: 1 <img src="http://dummyimage.com/120×120/fff/ccc" alt="Placeholder Image for a 120px x 120px graphic"> <img src=”http://dummyimage.com/120×120/fff/ccc” alt=”Placeholder Image for a 120px x 120px graphic”>