Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 217 218 219 220 221 ... 552
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 3120 posted 15 years ago by JohnnyGamba
1 1790 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 2697 posted 15 years ago by dtbaker
0 1847 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 1618 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 1575 posted 15 years ago by emregulcan
0 2160 posted 15 years ago by lamebollock
This can be used to help load, play and monitor playback of external video.
1 2309 posted 15 years ago by adrianparr
1 1647 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 1530 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 1702 posted 15 years ago by hmvrulz
0 1668 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 2190 posted 15 years ago by BrunoDeBarros
0 1430 posted 15 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 2022 posted 15 years ago by ashsa
3 3569 posted 15 years ago by vaishnavi
Handy, especially when you have large logs and you want to see what just happened
0 1833 posted 15 years ago by bionic
0 1528 posted 15 years ago by timpreneur
Add block in anywhere in the content, node in drupal
2 1884 posted 15 years ago by jesudasjj
1 ... 217 218 219 220 221 ... 552