Welcome To Snipplr


Everyone's Recent Snippets Tagged textmate



1 1190 posted 18 years ago by winson
1 1169 posted 18 years ago by winson
2 1586 posted 18 years ago by winson
1 1469 posted 18 years ago by winson
Adapted from http://journal.mychores.co.uk/articles/2007/01/21/updating-twitter-from-ruby-rails
2 1532 posted 18 years ago by gtcaz
This replaces the PHP-based function in the HTML bundle. You need to add two files to your bundle's Support/lib folder (create the directories if they're not present): http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_controller/vend...
6 3108 posted 19 years ago by gtcaz
2 1411 posted 19 years ago by gtcaz
This is an example of how to use the progressbar widget from Alexander Stigsen's new wxCocoaDialog, an open source port of CocoaDialog to Win32 using the ExWidgets toolkit. This is a companion project to his e Text Editor.
2 1248 posted 19 years ago by gtcaz
3 1809 posted 19 years ago by tictoc
1 1709 posted 19 years ago by markhope
0 1264 posted 19 years ago by ttscoff
2 1774 posted 19 years ago by jnunemaker
Generates a random string of variable length.
11 3016 posted 19 years ago by javierarce
0 1541 posted 19 years ago by markhope
1 1317 posted 19 years ago by soxiam
0 1390 posted 19 years ago by soxiam
0 1297 posted 19 years ago by soxiam
2 1115 posted 19 years ago by weitzman
3 1347 posted 19 years ago by weitzman
2 1493 posted 19 years ago by weitzman
Read a page's GET URL variables and return them as an associative array. ---- Example for URL http://www.example.com/index.html?hello=bonjour&goodevening=bonsoir var hash = getUrlVars(); alert(hash['hello']); // prints 'bonjour' alert(hash...
35 14352 posted 19 years ago by Roshambo
This will return a random number between two given numbers.
4 1642 posted 19 years ago by ypmits
Save this snippet via Safari as webarchive and replace an already created signature with this webarchive. Signatures are stored under ~/Library/Mail/Signatures
2 1912 posted 19 years ago by AlexK
redirects a splash page if visited before. Number of days until expiry can be set
0 1377 posted 19 years ago by markhope
Redirect a splash page using javascript. This snippet allows one redirect per session making the backwards navigation possible using the back button.
0 1543 posted 19 years ago by markhope
Quit TextMate and then run (from Terminal):
0 1394 posted 19 years ago by buscarini
0 1392 posted 19 years ago by methnen