Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This SSH API is used to execute remote commands, send and receive files.
0
2106
posted 14 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
2026
posted 14 years ago by adrianparr
Toggle approve button, compatible with IE9, not working in IE7 or below
0
1817
posted 14 years ago by msstar
This script downloads the latest version of WordPress to your site rather than having to use FTP.
1
1377
posted 14 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
3828
posted 14 years ago by ginoplusio
Consular los tablespace y mostrar su tamaño , uso y espacio libre en Megabyte
0
6225
posted 14 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
2471
posted 14 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
2025
posted 14 years ago by ecksteing
Credit for this goes to Adobe, Ric Ewing, Kevin Williams, Aden Forshaw and Sidney de Koning.
0
5609
posted 14 years ago by adrianparr
Snippet to show a simple use of the transient API when querying posts.
0
2055
posted 14 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
2568
posted 14 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
3503
posted 14 years ago by ReedD19
Use: echo format_size(filesize("fichier"));
Example result: 13,37 Ko
0
2906
posted 14 years ago by zhyar
Require the ID3 lib.
Place the script in the directory containing the mp3 files.
0
1618
posted 14 years ago by zhyar
description from title, image size from function.php (add_image_size( 'descr', 278, 200, true );)
0
2183
posted 14 years ago by shin
Find and replace contents of files ending in .php with nothing. then append contents of template.php to all files in directory
0
2031
posted 14 years ago by zlincoln
Just a simple code snippet that uses cmd to send an ExtendScript to an application like Photoshop® or InDesign®.
0
1552
posted 14 years ago by layouterlimits