Welcome To Snipplr


You searched for: http

Everyone's Recent Snippets



1 ... 6 7 8 9 10 ... 36
Another source: http://wpswitch.com/blog/wordpress/an-introduction-to-wordpress-custom-fields/
0 970 posted 13 years ago by morg7801
This code is applied from http://www.ultramegatech.com/blog/2009/06/snippet-converting-seconds-to-readable-time/
0 929 posted 13 years ago by zierocode
Check if URL is HTTPS
2 2557 posted 13 years ago by the_construct
Properties that can be set are found here: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/cde669f1-5714-4159-af95-f334251c8cbd.mspx?mfr=true
0 868 posted 13 years ago by jsturtevant
This will get the 11-character YouTube video ID from any valid YouTube URL. Based on http://snipplr.com/view/57065/get-youtube-video-id/ but made more robust to handle additional URL inputs
0 1757 posted 13 years ago by jmiller
This is the Batch API example shown on http://api.drupal.org/api/drupal/developer--hooks--install.php/function/hook_update_N/6.
1 947 posted 13 years ago by wizonesolutions
Batch script creates repository dump of specific project in repository. It assumes that repository has following structure: /project1 /trunk /tags /branches /project2 /trunk /tags /b...
0 1159 posted 13 years ago by altern
Batch script creates initial svn repository structure according to SCM framework (http://scm.altern.kiev.ua): /project /trunk /tags /builds /PA /A /B...
0 1105 posted 13 years ago by altern
Simple script utilising the `gpg_encrypt.php` code (`http://business-php.com/opensource/gpg_encrypt/`) that will encrypt both the body and attachment of an email on upload.
0 1359 posted 13 years ago by davo
Reduce spam on WP installations (comment spam); this snippet does not look for https referers.
0 1327 posted 13 years ago by no4h
Courtesy CSSTricks (http://css-tricks.com/snippets/wordpress/turn-on-more-buttons-in-the-wordpress-visual-editor/)
1 1093 posted 13 years ago by adambundy
UPDATE: might be easier or faster to use this now (also courtesy Pippin): http://pippinsplugins.com/get-all-attached-media/ **courtesy Pippin Williamson (http://pippinsplugins.com/image-gallery-short-code-using-post-attachments/) use shortcode...
1 1140 posted 13 years ago by adambundy
Save this as plugin.nextlink.php to your ndxz-studio/site/plugin folder. Call the Plugin where you need it: <plug:nextlink /> Original by "gd" http://www.indexhibit.org/forum/thread/7879/
0 875 posted 13 years ago by G470
Return string representing current date in ISO 8601 format, e.g. "2011-12-12T20:50:22+0100". java.util.Calendar and java.text.SimpleDateFormat have to be imported first. NOTICE: Use this instead: http://snipplr.com/view/62060/clojure-iso-8601-curre...
0 2039 posted 13 years ago by ef
Adding custom fields to the quick edit panel in Wordpress is easy using built-in hooks. However, the hook to add fields seems to be called multiple times, adding duplicate fields to the quick edit panel. Adding this code to the top of the function be...
0 1026 posted 13 years ago by briteweb
**Usage** > newuser.bash [username] **What it does** - Generates a random password with `makepasswd` - Encrypts it with `mkpasswd` for use with useradd - Adds the user - Adds a MySQL Database for user - Adds a MySQL User for user -...
1 1269 posted 13 years ago by jiewmeng
If not have access to edit json, setting url possible is: url: 'http://graph.facebook.com/4/?callback=getDatosUsuario'
0 1036 posted 13 years ago by nicolaspar
A compiled version of essential styles as a nice blue print for a new project. Toolbox: http://www.css-tricks.com CSS Reset: http://meyerweb.com/eric/tools/css/reset/
0 785 posted 13 years ago by thewickedchemist
Скрипт "Материализатор", снабжающий сочным подтекстом любой текст. Выкладываю здесь, поскольку ссылки на [оригинальном сайте](http://lleo.me/dnev...
0 869 posted 13 years ago by certainlyakey
Heavily based on "Recursive chmod in PHP" by Tenzer ( 03/10/08 http://snipplr.com/view/5350/ )
0 885 posted 13 years ago by madc
I've previously posted this here: http://snipplr.com/view/59044/flexible-site-layout-with-resize-detection/ This new version is short and more efficient, plus it no longer shows 1 (harmless) error on launch. Works the same as last time, the sizabl...
2 1143 posted 13 years ago by FatFolderDesigner
Downloads contents as a byte array or string, depending on need.
0 1036 posted 13 years ago by dkirkland
Via http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/
1 842 posted 13 years ago by BorisDelormas
https://github.com/zenorocha/jquery-boilerplate/blob/master/jquery.boilerplate.min.js
0 891 posted 13 years ago by lawlesscreation
http://stackoverflow.com/questions/3628649/javascript-self-contained-sandbox-events-and-client-side-stack
0 994 posted 13 years ago by ultranaut
This is a little PHP class that permits to start quickly the creation of a webpage. When you declare an instance of the class it automatically starts the output buffering and gzip compression, it outputs all the proper tags (doctype, meta, stylesh...
0 836 posted 13 years ago by claudiowebdesign
Hi everyone, a while ago i posted a little script that reproduced a little animation effect seen in Windows 8 Developer Preview. I thought about expanding it some more, and in the end i started actually recreating the whole Metro interface in HTML5/C...
1 1777 posted 13 years ago by claudiowebdesign
Because our server is a virtual machine inside a virtual machine (it's like inception), we can't transfer file using FTP. You need using SVN repository as a bridge to do so. Follow [Exercise 3](http://www.cs.sfu.ca/cc/470/ggbaker/exer/3 "Exercise...
0 1028 posted 13 years ago by Xixian
It uses a variable with a RecordSet. db_query PHP Functions can be used to have the REcordSet(http://snipplr.com/view/59419/php-connexion-to-mysql-ddbb-sql-query-and-creation-of-a-record-set/). Then fill the tables with the data of the RecordSet.
0 958 posted 13 years ago by alberomo
Example of some random number generation mechanisms built-in Python. More details in the following link: http://docs.python.org/library/random.html
0 995 posted 13 years ago by denakitan
1 ... 6 7 8 9 10 ... 36