Welcome To Snipplr


Everyone's Recent Snippets Tagged c



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 1133 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 1145 posted 14 years ago by caruso_g
This script fetches the current playing song of user XY
1 1019 posted 14 years ago by Sn0opy
0 1132 posted 14 years ago by metoikos
0 980 posted 14 years ago by kyrathaba
0 982 posted 14 years ago by kyrathaba
0 942 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 967 posted 14 years ago by aelien
CSS3 multiple backgrounds with fallback color. For compatibility info see http://caniuse.com/#search=multiple%20background
1 929 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 1081 posted 14 years ago by classicc
0 1043 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 1659 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 1100 posted 14 years ago by leandrokanis
Credits to 'Simon' (http://doctype.com/css-font-stack-use-myriad-pro)
1 1027 posted 14 years ago by tonatiuh
'container' => ' ' -- removes the container div
1 1109 posted 14 years ago by adambundy
0 894 posted 14 years ago by silentpro
0 932 posted 14 years ago by i0ni
You may need to change the IDs around.
2 1135 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 984 posted 14 years ago by mattneary
0 821 posted 14 years ago by lexpresso
0 726 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 910 posted 14 years ago by ezerick
0 919 posted 14 years ago by MarkusToe
as you run chown -R user:group dir
0 1550 posted 14 years ago by silviud
this will display the size of a directory as if you run du -sb dir
0 3097 posted 14 years ago by silviud
Returns a circle filled with textfields with your text. fully customizable. See the actionscript comments for usage
2 934 posted 14 years ago by withinmedianl
1 ... 200 201 202 203 204 ... 554