Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
How to automatically login with SSH. Also known as “key-based authorization with SSH†or simply “publickey authorizationâ€.
0
850
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
1028
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
2256
posted 12 years ago by kosinix
This SSH API is used to execute remote commands, send and receive files.
0
807
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
880
posted 12 years ago by adrianparr
Toggle approve button, compatible with IE9, not working in IE7 or below
0
773
posted 12 years ago by msstar
This script downloads the latest version of WordPress to your site rather than having to use FTP.
1
519
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
1367
posted 12 years ago by ginoplusio
Consular los tablespace y mostrar su tamaño , uso y espacio libre en Megabyte
0
4902
posted 12 years ago by thescorpion
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
1076
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
798
posted 12 years ago by ecksteing
Credit for this goes to Adobe, Ric Ewing, Kevin Williams, Aden Forshaw and Sidney de Koning.
0
1898
posted 12 years ago by adrianparr
Snippet to show a simple use of the transient API when querying posts.
0
867
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
1155
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
1306
posted 12 years ago by ReedD19
Use: echo format_size(filesize("fichier"));
Example result: 13,37 Ko
0
896
posted 12 years ago by zhyar
Require the ID3 lib.
Place the script in the directory containing the mp3 files.
0
595
posted 12 years ago by zhyar