Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 60 61 62 63 64 ... 554
PDO-format insert array function
0 1496 posted 12 years ago by rickygri
How to automatically login with SSH. Also known as “key-based authorization with SSH” or simply “publickey authorization”.
0 1170 posted 12 years ago by tinytiger
I will show you how to crate an app for facebook to handle the facebook connect process on your web site. Then I will show you the php code to perform the login on facebook and retrieve the informations you need for your site. The last suggestion w...
0 1424 posted 12 years ago by ginoplusio
Function to convert a one dimensional array to two dimensional with option to specify how many columns. Returns two dimensional array on success or false on fail.
0 2854 posted 12 years ago by kosinix
This SSH API is used to execute remote commands, send and receive files.
0 1224 posted 12 years ago by ryantxr
Font Squirrel is a great place to convert your fonts to the different formats required. http://www.fontsquirrel.com/fontface/generator
0 1230 posted 12 years ago by adrianparr
Toggle approve button, compatible with IE9, not working in IE7 or below
0 1099 posted 12 years ago by msstar
SQL Server 2008 Date/Time Statements
0 838 posted 12 years ago by msstar
This script downloads the latest version of WordPress to your site rather than having to use FTP.
1 780 posted 12 years ago by nathan_roberts
When you add facebook like button to your site, probably, you also want to save the number of likes of your pages to your database.These data are very useful and very important because they tell you which of your articles are better than others. More...
0 2589 posted 12 years ago by ginoplusio
Logging In with InstaLib
0 1102 posted 12 years ago by kreativemente
for true plain text output of a field in drupal 7
0 1047 posted 12 years ago by mktimes5
Add HTTP Header to Wordpress (ex: Vary: User-Agent)
0 1568 posted 12 years ago by dataworx
Consular los tablespace y mostrar su tamaño , uso y espacio libre en Megabyte
0 5343 posted 12 years ago by thescorpion
command to shutdown / restart windows
0 1020 posted 12 years ago by gaserland
This will prevent CURL to verity the HTTPS certification.
0 1036 posted 12 years ago by akem
SQL update examples using joins
1 1167 posted 12 years ago by ed_trench
Suppose you wanted to check if a user was viewing a singular post with the post type of testimonial. You can use the next code sample to perform this check.
0 1524 posted 12 years ago by i-am-andy
This PHP adds the style.css of the active Theme to the WordPress TinyMCE Post and Page editor.
0 1171 posted 12 years ago by ecksteing
Wordpress Custom Post Type, custom taxonomy and queries
0 1287 posted 12 years ago by SidFerreiraZ
Credit for this goes to Adobe, Ric Ewing, Kevin Williams, Aden Forshaw and Sidney de Koning.
0 4236 posted 12 years ago by adrianparr
Snippet to show a simple use of the transient API when querying posts.
0 1211 posted 12 years ago by Mat_
Just a rework of http://snipplr.com/view/7523/ with an added switch to change type number to extention name.
0 1613 posted 12 years ago by Some0ne
Allows you to click a given checkbox X, then shift click another checkbox Y. All checkboxes between X and Y will be checked or unchecked based on the state of checkbox Y. i.e. if you're unchecking Y all boxes between X and Y will also be unchecked.
1 2498 posted 12 years ago by ReedD19
This is a simple IRC bot connecting with SSL.
0 1696 posted 12 years ago by zhyar
Simple web parser using urllib and re libs.
1 1270 posted 12 years ago by zhyar
Use: echo format_size(filesize("fichier")); Example result: 13,37 Ko
0 1991 posted 12 years ago by zhyar
Require the ID3 lib. Place the script in the directory containing the mp3 files.
0 892 posted 12 years ago by zhyar
Returns 5 random alphanumeric strings of arbitrary size.
0 1161 posted 12 years ago by zhyar
as i understood "p" tags is requaired.
0 2027 posted 12 years ago by shin
1 ... 60 61 62 63 64 ... 554