Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is for debian but can be adapted with little trickery to any Linux distro. This enables changing the root of a shell so that the directories displayed are not too long.
Useful for dir-verbose frameworks like symfony or when managing a huge we...
0
625
posted 13 years ago by ChloeD
This base CSS include clearfix, reset CSS, and 972px Grid System by Malikaholic.com. You have your own risk by using this CSS.
1
676
posted 13 years ago by HendyNurrizal
This is a much cleaner way to do this than the number of examples on the web. Every example I saw seemed to account for orientation - horizontal vs. vertical vs. square when looking at the input. This ignores horizontal and vertical by mapping the...
0
739
posted 13 years ago by dblack
Copy /modules/mod_menu/tmpl/default.php to /templates/MYTEMPLATE/html/mod_menu/default.php
0
1116
posted 13 years ago by nico65
Update a value to entire rows in a column in dataset without looping
0
1162
posted 13 years ago by derebus
As of WordPress 3.1.2, Editors do not have access to the menu editor in WordPress. The following code gives that capability to Editors. Add this code to your functions.php file.
0
624
posted 13 years ago by hopeworks
This creates a rounded rectangle (10x20) with a given color (such as #AABBCC) as a drawable, which you can later use anywhere (I use it in TextView.setCompoundDrawables).
0
751
posted 13 years ago by Znupi