Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
If you add a ContextMenuStrip (the menu that shows up when you right-click on something) to your design, you can conveniently have more than one form control use that context menu. The only problem is that you don't know which control the context men...
0
3762
posted 17 years ago by pckujawa
Copy a directory (and subdirectories) without .svn files.
0
1457
posted 17 years ago by sanjivarunsahayamhotmailcom
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
1465
posted 17 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
1887
posted 17 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
1161
posted 17 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
1643
posted 17 years ago by sanjivarunsahayamhotmailcom
Simply open up terminal and run these commands one at a time. You may need sudo or root access.
0
1452
posted 17 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
1232
posted 17 years ago by madmanlear