Welcome To Snipplr


Everyone's Recent Snippets



1 ... 491 492 493 494 495 ... 553
Small function that returns a random rounded value between two given numbers.
0 1690 posted 18 years ago by Wiederkehr
Use this command to delete all the thumbs.db files on your drive.
2 4113 posted 18 years ago by sachinbhavsar
0 1601 posted 18 years ago by webonomic
0 1988 posted 18 years ago by webonomic
0 1539 posted 18 years ago by webonomic
0 1480 posted 18 years ago by webonomic
Colour code table cells to help visually reveal results.
0 1405 posted 18 years ago by webonomic
1 1272 posted 18 years ago by iTony
2 1679 posted 18 years ago by iTony
Wenn ein INSERT einen doppelten Wert erzeugen würde, wird das UPDATE ausgeführt.
1 1331 posted 18 years ago by drk
7 1946 posted 18 years ago by iTony
Many examples that show how to use the header() function of PHP
3 2106 posted 18 years ago by localhorst
2 1699 posted 18 years ago by Tank
find command just returns a list of HTML files that have 'search_str' in it, vim takes a list of files.
0 1518 posted 18 years ago by mandric
0 1254 posted 18 years ago by mandric
Para usar el interface builder con el iphone hay que crear una vista o una ventana, guardarla dentro del proyecto, y meter esta línea en appdelegate en applicationDidFinishLaunching.
0 3126 posted 18 years ago by buscarini
Note: most of these will be available to the shell and Rails' console too.
2 1874 posted 18 years ago by cczona
"When using haml, an HTML tag is represented using %tagname, but in the case of an HTML tag with attributes, the representation is %tagname{:attribute => value}. It turns out there must be no whitespace between %tagname and {:attribute => value}....
1 1428 posted 18 years ago by cczona
0 1251 posted 18 years ago by iTony
"The new naming scheme for template (eg. .html.erb) does not seem to work for partials. When using :partial => 'form' a filename "_form.html.erb" is not recognized. " Rails now requires the partial to be referenced by dotted format
1 1489 posted 18 years ago by cczona
count .htm or .html files in the directory. use ls and grep command.
1 1563 posted 18 years ago by kyokutyo
Consolidate all your various stylesheets into one and cut down on requests to your server by placing your screen, print & handheld stylesheets into one stylesheet
1 1546 posted 18 years ago by neal_grosskopf
Note that the comment is part of the code here. IE 5+ (including Mac) will evaluate to true by using conditional compilation.
0 1555 posted 18 years ago by cczona
1 1278 posted 18 years ago by soxiam
1 ... 491 492 493 494 495 ... 553