Welcome To Snipplr
Everyone's Recent Snippets Tagged textmate
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Adapted from http://journal.mychores.co.uk/articles/2007/01/21/updating-twitter-from-ruby-rails
2
1685
posted 19 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
3323
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
1398
posted 19 years ago by gtcaz
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
15335
posted 19 years ago by Roshambo
Save this snippet via Safari as webarchive and replace an already created signature with this webarchive. Signatures are stored under ~/Library/Mail/Signatures
2
2107
posted 19 years ago by AlexK
redirects a splash page if visited before. Number of days until expiry can be set
0
1540
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
1718
posted 19 years ago by markhope