Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 333 334 335 336 337 ... 553
0 1532 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 1437 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 2297 posted 16 years ago by adrianparr
1 1253 posted 16 years ago by tcmacdonald
Wordpress IDs , Classes & Tags Referenece
0 1294 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 2554 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 2364 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 2303 posted 16 years ago by chrisaiv
0 1979 posted 16 years ago by mracoker
Uso quando quero pesquisar o histórico de conversas e não lembro qual comunicador estava usando
0 1282 posted 16 years ago by gpupo
0 1791 posted 16 years ago by maryann
Credit goes to B. Kemler. I'm simply saving this for future reference.
0 1777 posted 16 years ago by jhafner
2 1786 posted 16 years ago by toro999
1 3465 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 1224 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 1767 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 1667 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 2169 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 2659 posted 16 years ago by espinallab
Lowercase .JPG extension
0 1506 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 1729 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 4572 posted 16 years ago by ginoplusio
0 1407 posted 16 years ago by gd6d
1 ... 333 334 335 336 337 ... 553