Welcome To Snipplr


Everyone's Recent Snippets



1 ... 218 219 220 221 222 ... 554
Prints an array (recursive) as PHP code (can be pasted into a php file and it will work). Note: This function can process arrays with integers/strings/sub-arrays. It is impossible to process resources (they have a state), and while it is possible...
1 1084 posted 14 years ago by BrunoDeBarros
0 733 posted 14 years ago by robasta
Installation .bin file must be modified: There's old commands than must be commented/deleted. The 'tail' command is changed (check the starting line for the binary data). Thanks Johan Louwers!
0 962 posted 14 years ago by ashsa
3 1081 posted 14 years ago by vaishnavi
Handy, especially when you have large logs and you want to see what just happened
0 936 posted 14 years ago by bionic
0 703 posted 14 years ago by timpreneur
Add block in anywhere in the content, node in drupal
2 867 posted 14 years ago by jesudasjj
Great command to time the running of scripts in bash
0 865 posted 14 years ago by bionic
This was a fix for the form that allowed me to automatically replace the text when I focused on area. Find the file text.php inside modules. Replace line 89 with this code.
0 1079 posted 14 years ago by gera3d
Used the first sql statement to find your menu item. (Replace menu-% with the name of your menu eg. "primary-links" . Then using the menu item id fix the items you want to regain the good old delete button on the menu item.
0 1237 posted 14 years ago by Onfire60
Adapted so a delay can be applied on mouseleave.
1 855 posted 14 years ago by Meander365
Get table schema with columns via sql.
0 848 posted 14 years ago by djmornyc
I edit this from tylerhall on 11/30/-1
0 911 posted 14 years ago by redoc
1 925 posted 14 years ago by samwa
1 1073 posted 14 years ago by samwa
0 1143 posted 14 years ago by sukantahazra
0 915 posted 14 years ago by kidmizere
1 964 posted 14 years ago by bobbym245
The css style's in the <style></style> tags are important for this snippet to work.
1 1228 posted 14 years ago by bobbym245
Does the same as `System.arraycopy(source, copyFrom ,target, copyTo, length)` but without worrying about invalid input. Example for an array of characters.
0 747 posted 14 years ago by Voil
0 718 posted 14 years ago by Yahosh
If you want to run Google Chrome with additional program arguments under OSX, one way, is to use "open" and its --args argument. Use it to start Chrome with the --allow-file-access-from-files setting (or any other). Create a link to it to run i...
0 1096 posted 14 years ago by nonlinearsound
0 858 posted 14 years ago by errkk
1 813 posted 14 years ago by Sullan
tested with CKEDITOR 3.0 and Firefox 3.6.12 and IE 8
0 643 posted 14 years ago by fahrenx
1 ... 218 219 220 221 222 ... 554