Welcome To Snipplr


Everyone's Recent Snippets



1 ... 217 218 219 220 221 ... 554
An example of how to configure the CliBuilder to read command line arguments in Groovy.
0 670 posted 13 years ago by miceno
2 716 posted 13 years ago by mb2o
This snippet saves in the $return array all the names of the fields that a content type has added with CCK, has to be installed the cck module.
0 1422 posted 13 years ago by JohnnyGamba
1 692 posted 13 years ago by Sullan
Script used to access the Envato API, and get extra details using Curl. This script will only work on PHP5 on a Linux hosting account (with safe mode / openbasedir disabled). Will need slight adjustment if trying to run it otherwise. You are w...
1 1151 posted 13 years ago by dtbaker
0 822 posted 13 years ago by dmertl
JavaScript file that creates the HTML5 elements for IE8 and below (by Remy Sharp). Just call the file from the head of the html in a conditional comment [if lte IE 8].
0 636 posted 13 years ago by polly42
Today I need Trim() function in sql, but in Sql 2005 there is no function. Because of that I wrote this user (scalar) fuction. It's very basic; -First; it's Right Trim (RTrim()) string - And then Left Trim (LTrim())
0 602 posted 13 years ago by emregulcan
0 1021 posted 13 years ago by lamebollock
This can be used to help load, play and monitor playback of external video.
1 874 posted 13 years ago by adrianparr
1 629 posted 13 years ago by Sullan
CSS: <pre><code>div.pagination { padding: 3px; margin: 3px; } div.pagination a { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #AAAADD; text-decoration: none; /* no underline */ color: #000099; } div.pagination a:...
1 645 posted 13 years ago by Alexxandar
To change your textview id android:id=”@+id/TextView” To change your textview text android:text=”This is my first textview sample application” To enable or disable textview android:enabled=”false” To change your textview width...
0 688 posted 13 years ago by hmvrulz
0 618 posted 13 years ago by karmacode
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 881 posted 13 years ago by BrunoDeBarros
1 ... 217 218 219 220 221 ... 554