Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 217 218 219 220 221 ... 553
An example of how to configure the CliBuilder to read command line arguments in Groovy.
0 1151 posted 15 years ago by miceno
2 1176 posted 15 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 2345 posted 15 years ago by JohnnyGamba
1 1223 posted 15 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 1978 posted 15 years ago by dtbaker
0 1304 posted 15 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 1063 posted 15 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 1013 posted 15 years ago by emregulcan
0 1545 posted 15 years ago by lamebollock
This can be used to help load, play and monitor playback of external video.
1 1657 posted 15 years ago by adrianparr
1 1081 posted 15 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 993 posted 15 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 1143 posted 15 years ago by hmvrulz
0 1093 posted 15 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 1550 posted 15 years ago by BrunoDeBarros
0 953 posted 15 years ago by robasta
1 ... 217 218 219 220 221 ... 553