wbowers' Favorite Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev [Page 1 of 2] Next »
Bash svn subversion recursive ignore svnignore saved by 3 people
Recursive svn:ignore
posted on September 18, 2008 by
Python time human readable python function seconds elapsedtime saved by 2 people
Python: elapsed_time (human readable time span given total seconds)
posted on April 5, 2008 by
PHP sql php textmate saved by 11 people
Utility PHP function to paginate SQL queries
posted on March 20, 2008 by
PHP playlist saved by 6 people
PHP MP3 playlist
posted on March 20, 2008 by
PHP drupal 9l saved by 3 people
Group Add Content Block Only Shown On Og Nodes Or Views Very Hacky
posted on March 20, 2008 by
PHP email encode security spammers saved by 3 people
Encode Email against spammers
posted on March 20, 2008 by
Python unix os user drop uid pwd super privileges saved by 1 person
Drop Privileges
posted on March 20, 2008 by
JavaScript prototypejs Scriptaculous accordion saved by 2 people
Stickman Labs' Accordion, updated for Prototype.js 1.6 !!!
posted on March 20, 2008 by
CSS image text saved by 5 people
Replace text with image
posted on March 8, 2008 by
CSS css style reset saved by 1 person
Reset the Style of all Browsers
posted on March 8, 2008 by
Ruby dialog saved by 3 people
cocoaDialog
posted on March 7, 2008 by
Ruby textmate rspec ruby openid saved by 3 people
Spec For Requesting Myopenid.com
posted on March 7, 2008 by
JavaScript this function invocation saved by 1 person
Function invocation and 'this' Context Example
posted on March 5, 2008 by
Bash svn saved by 1 person
Set executable permissions on a file under subversion
posted on March 5, 2008 by
PHP php pdf saved by 3 people
Pdf embebido
posted on February 29, 2008 by
JavaScript detection ie7 browserdetection saved by 3 people
detect IE7 with JavaScript
posted on February 29, 2008 by
Ruby multimedia saved by 3 people
maemo transcoder
posted on February 28, 2008 by
Other css textmate xhtml markup saved by 4 people
CSS XHTML Rounded Corners
posted on February 28, 2008 by
Bash svn saved by 4 people
Reverting to the previous version of a file with subversion
posted on February 28, 2008 by
Python textmate python FTP ttm thesis saved by 2 people
FTP Uploader
posted on February 24, 2008 by
HTML css browser ie6 ie7 targetMSIE saved by 4 people
Only IE6 / IE7
posted on February 24, 2008 by
C# c-sharp saved by 6 people
Regex's
posted on February 15, 2008 by
Apache php html htaccess apache saved by 7 people
Parse HTML files as PHP
posted on January 30, 2008 by
Regular Expression saved by 5 people
IP address
posted on January 21, 2008 by
Regular Expression saved by 5 people
remove all non-number characters
posted on January 21, 2008 by
C++ script c console files rename saved by 1 person
C Console Scripting Framework
posted on January 13, 2008 by
Regular Expression html id heading saved by 2 people
Give headings IDs
posted on December 12, 2007 by
Regular Expression regex whitespace RegularExpression saved by 8 people
Convert whitespace to underscores
posted on December 12, 2007 by
CSS master reset stylesheet saved by 149 people
Master Stylesheet
posted on December 1, 2007 by
PHP sql function injection prevent saved by 69 people
Prevent SQL Injection
posted on November 28, 2007 by
Regular Expression saved by 7 people
Time
posted on October 19, 2007 by
Regular Expression saved by 5 people
Date
posted on October 19, 2007 by
Regular Expression apache configuration saved by 11 people
Apache redirect from domain.com to www.domain.com
posted on October 8, 2007 by
PHP phonereplace saved by 18 people
Format phone
posted on September 13, 2007 by
Regular Expression html find-and-replace saved by 6 people
Grab an html tag and leave just the content
posted on July 20, 2007 by
PHP mysql php textmate security sql-injection saved by 167 people
Anti-SQL Injection Function
posted on May 27, 2007 by
Regular Expression xml RegularExpression saved by 7 people
Regular Expression to Grab the Content of an XML Element
posted on May 16, 2007 by
PHP php cloud tag frequency saved by 75 people
PHP Tag Cloud Based on Word Frequency
posted on February 27, 2007 by
CSS saved by 92 people
A CSS-based Form Template
posted on January 9, 2007 by
Regular Expression regexp hexadecimal saved by 4 people
Hexadecimal Value
posted on November 20, 2006 by
« Prev [Page 1 of 2] Next »