Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 515 516 517 518 519 ... 553
give a class name to each link according to the page it redirects to. give attribute id to the body of the template and make the attribute editable (Dreamweaver lets you do that: select the attrib, Modify>Templates>Make attribute editable and tick t...
1 2066 posted 18 years ago by valcartei
Quick way to lock up some sensitive files?
0 2000 posted 18 years ago by micmath
This takes about an hour in total to run on my machine, so give yourself enough time. Obviously the configure options will need to be tweaked to match your set up, but this works for me. This assumes you already have MySQL installed.
0 1473 posted 18 years ago by micmath
0 1321 posted 18 years ago by micmath
0 1427 posted 18 years ago by rengber
Use this to upload and resize your images using RMagick. Code by nixnewbie.
2 2083 posted 18 years ago by Tricon
Really stop default action of a element.
1 1837 posted 18 years ago by fael
Another image preloader.
6 2069 posted 18 years ago by fael
a function that returns the absolute position in DOM tree. jQuery based
1 1496 posted 18 years ago by fael
This temperature measurement script is one that comes from the original NPDS package. As formatted, it is meant to be used as an NPDS SSI tag. It obtains the current battery temperature and returns it in degrees Celsius.
0 3498 posted 18 years ago by splorp
After: sudo port -v selfupdate Update outdated ports with: sudo port upgrade outdated
1 1798 posted 18 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 1375 posted 18 years ago by rhockens
0 1515 posted 18 years ago by sudarkoff
Leave off the final pipe to /bin/sh to do a 'dry run'
3 2726 posted 18 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 1841 posted 18 years ago by berkes
2 1504 posted 18 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 1770 posted 18 years ago by 1man
simply adding the tags will display the contents of the array in a much better fashion.
0 3063 posted 18 years ago by scriptmakingcom
1 1660 posted 18 years ago by JuliaKM
2 1603 posted 18 years ago by JuliaKM
Another handy trace snippet
1 1282 posted 18 years ago by ypmits
1 ... 515 516 517 518 519 ... 553