Welcome To Snipplr


Everyone's Recent Snippets



1 ... 333 334 335 336 337 ... 553
0 1614 posted 16 years ago by Ethyde
This SearchArray class was written by Flanture. I claim no credit for this. The class can be downloaded from here ... http://www.box.net/shared/7fj14higai
2 1504 posted 16 years ago by adrianparr
This handy String Utils class was written by Ryan Matsikas at gSkinner.com I take no credit for it. A ZIP file containing 'StringUtils.as' can be downloaded from here ... http://www.gskinner.com/products/downloads/AS3StringUtils.zip
2 2398 posted 16 years ago by adrianparr
1 1331 posted 16 years ago by tcmacdonald
Wordpress IDs , Classes & Tags Referenece
0 1350 posted 16 years ago by Banhawi
Many scripts rely on `$_SERVER[SCRIPT_URL]` which is sometimes missing. This function detects it from other server variables and fixes the missing field.
1 2685 posted 16 years ago by drwitt
Inside the `AppDelegate`, the `didFinishLaunchingWithOptions` method can be used to just create and use a custom View Controller class.
1 2489 posted 16 years ago by matryer
Handy Date/Time converter: Convert Date Object to MySQL date format, Translate minutes into an English phrase, Convert MySQL date to Actionscript Date object, Get Day name from Date, Get name of Month from a Date Object, Input the seconds and return...
1 2408 posted 16 years ago by chrisaiv
0 2112 posted 16 years ago by mracoker
Uso quando quero pesquisar o histórico de conversas e não lembro qual comunicador estava usando
0 1361 posted 16 years ago by gpupo
0 1895 posted 16 years ago by maryann
Credit goes to B. Kemler. I'm simply saving this for future reference.
0 1857 posted 16 years ago by jhafner
2 1862 posted 16 years ago by toro999
1 3570 posted 16 years ago by ajit555
Orders a multi-dimensional array by one of it's fields. There is also the option to treat this like an SQL-style 'order by' query with the $field value passed in (ie. 'user_id desc') to do reverse ordering.
0 1308 posted 16 years ago by browncardigan
here's a script, mod_files.sh, in ext/session for creating directory tree with depth X for sessions. As it stands, it's pretty poorly documented and very basic. I * got exceptionally bored and rewrote most of it, the patch is attached. It runs...
0 1843 posted 16 years ago by nkm
You must include these DLL references in your vsweb or vscode project:\r\nPresentationCore,\r\nPresentationFramework,\r\nWindowsBase. \r\nNotice how I am manipulating the RGB values of each pixel, this is the power of these classes. The Drawing class...
0 1751 posted 16 years ago by bryanlyman
If the official codex approach (http://codex.wordpress.org/Changing_The_Site_URL) is causing you problems, give this a try. Be sure to change the constant declarations and modify table names as necessary for your instance. Confirmed working with WP v...
1 2252 posted 16 years ago by johnandrewsroot
So here is something a lot of people have been wondering to do in the forums. How do I take a UIImage or any image and post it to a website. So this will go over how to do that. There are two ways to tackle this issue. One we can base64 encode the...
2 2783 posted 16 years ago by espinallab
Lowercase .JPG extension
0 1585 posted 16 years ago by vigoncas
Use wget and sed to get your public IP adress (instead of firing up firefox and visting whatismyip.com). Usefull in scripts where you need your public IP adres. There are probably better ways, maybe even a GNUtool that I missed?
0 1805 posted 16 years ago by berkes
This PHP class lets you clean and repair html code. WHAT IT DOES: delete closed tags without their opening tag, fix open tag without close, closing them automatically, check bad nesting and fix them, fix bad quotes in attributes, merge different styl...
2 4714 posted 16 years ago by ginoplusio
0 1483 posted 16 years ago by gd6d
1 ... 333 334 335 336 337 ... 553