Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 151 152 153 154 155 ... 552
fix for stucked jquery slide
0 1405 posted 15 years ago by jelontok
Ever wanted a method that can truncate a string, but only on a word boundary? This method works like Substring() but doesn't snip a string in the middle of a word, i.e. it only truncates the string on a word boundary. Useful for producing a summary f...
1 3382 posted 15 years ago by stewartrae
run this in git bash to see a pretty blame
0 1814 posted 15 years ago by root_hacker
0 1631 posted 15 years ago by ronal
Sets the current element of a dropdown to the default option. <select> <option>Afrikaans</option> <option>English</option> </select>
0 1669 posted 15 years ago by sanbor
Controllo sui caratteri nelle textboxes in Javascripts
0 1543 posted 15 years ago by tuffo19
1 1328 posted 15 years ago by frkssk
embeded multiple fonts
0 3080 posted 15 years ago by Praimen
After being tasked with creating inputs like those on the twitter homepage I came up with this inline label system that uses jquery to control the labels (in the vase of the example it fase and slides them). The code is in three parts. First, the...
0 1950 posted 15 years ago by FatFolderDesigner
0 1691 posted 15 years ago by ronal
Funcion los post más vistos en wordpress.
0 2099 posted 15 years ago by serialk89
.net 3.0+, To create stability in your code, you must check all inputs into a method to make sure they are valid . Often people overlook this step because of laziness, or because they aren't convinced that exceptions and assertions are actually in pl...
0 2016 posted 15 years ago by bryanlyman
Inspired: http://evan-roth.com/personal-internet-cache-archive/ In the "style=" you can adjust the "height: ??px" according to the quantity of items in your cache.
0 2623 posted 15 years ago by valessiobrito
If you want to simulate someone clicking on a link, use location.href. If you want to simulate an HTTP redirect, use location.replace.
0 1653 posted 15 years ago by vagrantradio
0 3821 posted 15 years ago by inreflection7
ssh localhost -CgL 8080(your computer IP address or name):80
0 2202 posted 15 years ago by inreflection7
0 4210 posted 15 years ago by pyroblue
0 3785 posted 15 years ago by alfirth
Empties the keyboard buffer. Useful to discard keyboard input during a command execution inside a bash script. Try this script without this line: read -t 0.1 -N 255 and enter any garbage ([ENTER] and all) during these 2 seconds window... Th...
0 1768 posted 15 years ago by niglesias
1 ... 151 152 153 154 155 ... 552