Welcome To Snipplr


Everyone's Recent Snippets



1 ... 515 516 517 518 519 ... 552
After: sudo port -v selfupdate Update outdated ports with: sudo port upgrade outdated
1 2223 posted 19 years ago by rhockens
After installing MacPorts, try running a selfupdate to grab all the latest MacPorts Portfiles (Portfiles contain information about how to install MacPorts software "ports"). You will need to run this command as an administrator, and it requires root...
0 1774 posted 19 years ago by rhockens
0 1987 posted 19 years ago by sudarkoff
Leave off the final pipe to /bin/sh to do a 'dry run'
3 3309 posted 19 years ago by ches
Shortens a string, and adds a span with a title of the full string. Function is useful for listings where you don't want wraping; or for places where a long string liek a username can break the layout.
1 2306 posted 19 years ago by berkes
2 1892 posted 19 years ago by nicolaspar
Create a simple object and add properties and a method. Note where the object is parsed (not from top to bottom).
2 2168 posted 19 years ago by 1man
simply adding the tags will display the contents of the array in a much better fashion.
0 3600 posted 19 years ago by scriptmakingcom
1 2042 posted 19 years ago by JuliaKM
2 1979 posted 19 years ago by JuliaKM
Another handy trace snippet
1 1674 posted 19 years ago by ypmits
This snipped adds columnstriping to cells. It works fine for most cases, but will behave strange when combined with colspan. Cells get an additional class 'even-col' or 'odd-col'
2 2553 posted 19 years ago by berkes
2 2335 posted 19 years ago by Bonky
2 1802 posted 19 years ago by JuliaKM
Simple snippet on how to get/set a cookie
0 1798 posted 19 years ago by jsbournival
Email validation routine Dave Child
8 2767 posted 19 years ago by IanLewis
This utility function attaches listeners to a text field or text area. It supports default text for instructional copy. The original text in the field is used as the instructional/default text. When the box gets focus, it disappears and the user can...
0 1943 posted 19 years ago by elli
1 ... 515 516 517 518 519 ... 552