Welcome To Snipplr


Everyone's Recent Snippets



1 ... 200 201 202 203 204 ... 554
$('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 1150 posted 14 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 1172 posted 14 years ago by caruso_g
This script fetches the current playing song of user XY
1 1048 posted 14 years ago by Sn0opy
0 1168 posted 14 years ago by metoikos
0 1004 posted 14 years ago by kyrathaba
0 1008 posted 14 years ago by kyrathaba
0 966 posted 14 years ago by kyrathaba
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 991 posted 14 years ago by aelien
CSS3 multiple backgrounds with fallback color. For compatibility info see http://caniuse.com/#search=multiple%20background
1 959 posted 14 years ago by Moonsheeld
In Webkit, when a general (x ~ y) or adjacent sibling selector (x + y) is combined with a dynamic pseudo class such as :hover, :focus, :checked, etc., the function breaks. This code snippet fixes it.
0 1108 posted 14 years ago by classicc
0 1070 posted 14 years ago by ertbor
Simple jQuery script to load additional content when you near the bottom of the page, same sorta thing Twitter does (although I originally programed it for a different use). Only thing of remark is the fact that it stores the current highest loaded v...
4 1713 posted 14 years ago by FatFolderDesigner
HTML para Absolutamente Noobs. Post Completo: http://kanis.com.br/ Primeira video aula da série de 10 episódios.
0 1118 posted 14 years ago by leandrokanis
Credits to 'Simon' (http://doctype.com/css-font-stack-use-myriad-pro)
1 1049 posted 14 years ago by tonatiuh
'container' => ' ' -- removes the container div
1 1145 posted 14 years ago by adambundy
0 926 posted 14 years ago by silentpro
0 964 posted 14 years ago by i0ni
You may need to change the IDs around.
2 1178 posted 14 years ago by joshvermaire
I thought this was pretty elegant code and wanted to share it with anyone who found it useful.
0 1004 posted 14 years ago by mattneary
0 843 posted 14 years ago by lexpresso
0 744 posted 14 years ago by anhonestboy
Field1 + Field2 + Field3 should create 1 entry for each unique row in the DB. In an employee table, this would be FirstName + LastName + EmployeeNumber
1 942 posted 14 years ago by ezerick
0 942 posted 14 years ago by MarkusToe
as you run chown -R user:group dir
0 1594 posted 14 years ago by silviud
this will display the size of a directory as if you run du -sb dir
0 3146 posted 14 years ago by silviud
Returns a circle filled with textfields with your text. fully customizable. See the actionscript comments for usage
2 958 posted 14 years ago by withinmedianl
1 ... 200 201 202 203 204 ... 554