Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is a command line parsing routine I found online. Original comments left in tact.
0
1064
posted 17 years ago by jc001
Sure that programmers know this, but me as a sysadmin does not use svn that much.
3
1899
posted 17 years ago by therobot
If you have a complex function you may need to pass it lots of arguments. Instead of having to remember how many you need to pass, and passing 'null' for un needed arguments, pass the function an object.
Now you can set the defaults inside the fun...
0
1322
posted 17 years ago by 1man
Removes diacritics from file name before adding it to the archive. Archive file name retains diacritics.
0
2418
posted 17 years ago by karelklic
Diese Funktion wendelt Entities in HTML Quellcode um, ohne dabei den HTML Quellcode zu zerstören.
1
1376
posted 17 years ago by OscarWilde
I have not tested it yet but the author claims to make your printer show some random messages.
0
1169
posted 17 years ago by planetcall
This command will not delete the .DS_Store files from the file system, just take them out of version control.
Before doing this it would be a good idea to setup the repository to ignore .DS_Store files.
1
2129
posted 17 years ago by jachin
Inserts "first" and "last" classes to the first and last items respectively. "first" and "last" classes defined in CSS as without padding.
2
1250
posted 17 years ago by nijgnet
Sets the sidebar photo appropriate for a section of the site by determining the parent Page of the subpage.
4
1668
posted 17 years ago by nijgnet
If you've ever used a strict doctype and used the target attribute on links you'll notice that it doesn't validate. Here is an easy solution.
4
2719
posted 17 years ago by neal_grosskopf
Find depreciated elements and attributes using CSS . Simply add the CSS below to the end of your style sheet and it will highlight bad code.
5
1660
posted 17 years ago by neal_grosskopf
I can't remember if this code is updated for IE7, if it is then it should be working in at least IE6-7, Safari 2-3, Opera 8 and Firefox 2-3.
Obviously the image_iefix is just for IE6.
2
1402
posted 17 years ago by teddyzetterlund
This is the SoftPRO library needed by the GUI Collector main file.
0
944
posted 17 years ago by stagger
This is the main file. You also need the libraries posted here for the program to work.
0
902
posted 17 years ago by stagger