Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Based on my Annotations plugin this plugin offers the ability to use Mask annotations to apply input masks over input elements on a page. Very much BETA. See comments for use.
<!--@Mask("##/##/####")-->
0
941
posted 16 years ago by kouphax
Fields are tab delimited and need to match table schema.
I've found the tab separator ASCII(009) preferable over using a comma.
The second version can help remove double quotation marks around character fields.
Don't forget the keyword LOC...
0
1184
posted 16 years ago by RICHARDP
Le hotlinking d'image consiste selon wikipédia : "à utiliser l'adresse d'un fichier publié sur un site web, le plus souvent une image, pour l'afficher sur un autre site, sur un blog, dans un forum, etc. En d'autres termes, au lieu d'enregistrer l'...
0
705
posted 16 years ago by sebus
Searches for some text in a list of files. Displays the results with the filename where the snippet was found.
1
1084
posted 16 years ago by sanjivarunsahayamhotmailcom
Simply open up terminal and run these commands one at a time. You may need sudo or root access.
0
934
posted 16 years ago by chrisaiv
With this code you can pull all admin view files for a particular CakePHP controller in their own admin folder rather than renaming each file admin_whatever.
Line 779 in cake/libs/view/view.php
0
731
posted 16 years ago by madmanlear
Query a nameserver to easily find out all there is to know about a domain name; Nameservers, MX-servers, cnames, subdomains etc.
1
923
posted 16 years ago by torkil
When a swf launches like this , without setters for the required args ( referer, IpAddress ) the reports will show 'unknown' domain.
0
779
posted 16 years ago by rowntreerob
shows that 2 required args to the swf are being set in JS
'swflink' contains 'referer' , 'IpAddress' arg values so they will not be undefined
0
1139
posted 16 years ago by rowntreerob
Example of how to use a cron like a daemon and avoid having the cron run two instances of the same script.
1
743
posted 16 years ago by jnunemaker
Simple Outlook automation, the idea is to use this in cygwin to send files without opening the outlook UI, to use it place the code under /bin folder and make it executable with chmod +x.
2
977
posted 16 years ago by narkisr
This set of functions makes it quicker for me to code, might be useful to someone else =]
1
917
posted 16 years ago by alli14404
Tutorial on how to add ajax style loading icon to large images by using CSS rather than JavaScript
10
1435
posted 16 years ago by neal_grosskopf
Shown in the source are the actual code, shorthand of the code, and Steven Sacks' simple-but-sweet rendition of getURL done in AS3, which requires the downloadable class from his site.
3
2256
posted 16 years ago by Winkyboy