Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 358 359 360 361 362 ... 553
A short photo id is a base58 conversion of the photo id. Base58 is like base62 [0-9a-zA-Z] with some characters removed to make it less confusing when printed. (namely 0, O, I, and l). So that leaves an alphabet of: 123456789abcdefghijkmnopqrstuvw...
0 1905 posted 16 years ago by loucypher
Move form element into category. Helper for organizing the form
0 1250 posted 16 years ago by kosmikko
Don't forget to use require 'directory/name_of_class'
0 2337 posted 16 years ago by chrisaiv
Just the basic Wordpress comments loop.
1 3569 posted 16 years ago by warrenonline
A function i made for running trim on all elements in an array
1 1905 posted 16 years ago by Knarf
How to dwonload and use a Retro Avatar image in a iPhone App. In this example: uid is a Facebook user id, optionally you can use any string, a name, a md5 hash of a email address and it is assumed you have an image view with tag id 1 you want to set...
1 4056 posted 16 years ago by ollie
This script creates thumbnail images containing 25 thumbs each and display the EXIF time and date if your version of ImageMagick supports that (some do not).
0 1516 posted 16 years ago by deepsoul
Useful if some files already exist at the destination and are newer or would take too long to copy again.
0 1365 posted 16 years ago by deepsoul
1 1325 posted 16 years ago by dobata
Inserts a block with the id of 26
1 1466 posted 16 years ago by nate63179
0 1395 posted 16 years ago by joe-bbb
Very simple example of pulling in a JSON feed from Yahoo pipes using jQuery.
0 2194 posted 16 years ago by 1man
in category item
0 1394 posted 16 years ago by nico65
0 1351 posted 16 years ago by rccc
A very simple class that quickly gets you interacting with a database, as long as you know sql :P.
1 2339 posted 16 years ago by r3morse
0 1066 posted 16 years ago by draeton
correct code for subbing someone to icontact through curl
0 1191 posted 16 years ago by legacye
Load this Javascript after the MS AJAX files have been loaded. In the example I am using jQuery to call the patchMicrosoftAjax() method, but you can use any method you desire.
0 2599 posted 16 years ago by jink
This function works correct with files with no extension.
0 1558 posted 16 years ago by kirik
0 1335 posted 16 years ago by Actuarybrad
Makes your PRE code wrap and work with all browsers.
1 1807 posted 16 years ago by smoothdzion
1 ... 358 359 360 361 362 ... 553