Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 510 511 512 513 514 ... 553
Display first article one way and following ones a different way
3 1590 posted 18 years ago by JuliaKM
1 1114 posted 18 years ago by penguin999
qlmanage -p foo.png, the image immediately pops up in a Quick Look pane. Even better, Quick Look supports slide shows. So if you cd into a folder of images and run qlmanage -p *.jpg, you'll be rewarded with a full-on presentation of your pictures....
0 1188 posted 18 years ago by jrphelps
5 1635 posted 18 years ago by jrphelps
The selector portion of the CSS rule targets which XHTML tags/classes this rule will be applied to. At first glance, it looks like all img tags as well as all tags with a class of "png". You’ll notice the * html in front of both of these. Wait, the...
15 7726 posted 18 years ago by jonhenshaw
This routine is loosely based on elightbo's "Calculate Business Days" snippet in ASP, with some process & logic modifications (most notably accounting for situations when both dates fall on a weekend) and a translation to JavaScript.
0 6173 posted 18 years ago by Bluebeard
this pointers are making me dizzy, so just for a reference i'll keep them here.
1 1423 posted 18 years ago by iTony
A simple code for changing currencies using Google:)
2 1288 posted 18 years ago by misnyo
So you don't have to type the password everytime you log in to that remote ssh server. Don't enter a passphrase when prompted, just hit enter. This example is for Mac OS X but is likely to work on *nix plats too.
5 1499 posted 18 years ago by micmath
1 895 posted 18 years ago by bapt4510
Set a reminder. Use +hhmm to set a reminder for some hh (hours) or mm (minutes) in the future; e.g., set an alarm for 45 minutes from now as: leave +0045
0 1165 posted 18 years ago by rhockens
Genera links en base a http, www, ftp
2 1810 posted 18 years ago by nicolaspar
1 1611 posted 18 years ago by arcturus
0 1456 posted 18 years ago by arcturus
Sometimes you need to have an ability to show limited number of elements in your select objects or sort elements by name or so. I figured out that this feature was added to object_select_tag later so that not everybody knows about that. This featureâ...
1 1226 posted 18 years ago by ggb2g
0 1078 posted 18 years ago by WimLeers
MyActiveRecord is a stand alone db abstraction layer to simplify things between php and mysql. you can download the latest version from www.wattz.net
0 1744 posted 18 years ago by wattz
3 1411 posted 18 years ago by JuliaKM
Very simple drag and resize function.
1 1542 posted 18 years ago by 1man
Very basic way to toggle an element to slide in and out using mootools 1.1. Uses FX.Slide, other transitions are available.
2 1477 posted 18 years ago by 1man
As root run
0 1260 posted 18 years ago by therobot
2 1277 posted 18 years ago by WimLeers
1 1215 posted 18 years ago by WimLeers
With decimal separator "."
2 1784 posted 18 years ago by arcturus
1 ... 510 511 512 513 514 ... 553