Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Gunzip can currently decompress files created by gzip, zip, compress, compress -H or pack programs.
0
1757
posted 15 years ago by TheJasonParker
Ftp your *.sql file to the (remote) machine, login via SSH and then go to the directory where your sql file is and run this code.
0
1785
posted 15 years ago by TheJasonParker
A LESS class which can be included to easily allow for a page-curl/shadow on element.
*NOTE: Still needs work to allow for consistency at various sizes...*
**Usage Instructions**
* To remove reliance on javascript, setup the LESS compiler:...
6
2359
posted 15 years ago by bdiddymc
This is the code necessary to grab the title attribute from the link/images selected and then parse it for use in the title field of a FancyBox popup.
0
1438
posted 15 years ago by davidcfox
$('li.current_sub').prevAll("li.par_cat:first");
Tested it with your markup:
$('li.current_sub').prevAll("li.par_cat:first").text("woohoo");
will fill up the closest previous li.par_cat with "woohoo".
1
2035
posted 15 years ago by lamebollock
Instead of directly edit your TEMPLATE\_CONTEXT\_PROCESSORS, import it in your app's settings.py and just append what you need.
(credits: denysonique and all #django channel community)
0
2108
posted 15 years ago by caruso_g
Archive manager doesn't handle some RAR files and 7zip files out of the box, you need to run this command in order to make it work with this kind of files.
0
1831
posted 15 years ago by aelien