Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
CSS Diagnostics allows web designers and developers to highlight invalid HTML using CSS selectors. Say goodbye to the font tag by highlighting it in a large obnoxious border. It also has the ability to highlight 404 pages, old CSS classes and old Jav...
7
3093
posted 17 years ago by neal_grosskopf
REXML does not seem to have a 'lang' method, which is strange since lang is in the XML 1.0 Specification §2.12 'Language Identification', and in many other libraries. Because of Ruby's 'monkey patching', it's pretty easy to add - you just recursivel...
1
1130
posted 17 years ago by tommorris
Allow for easier editing of content by users who didn't make the site.
1
1237
posted 17 years ago by EvanL
Test-first programming, in which you write the unit tests first with the unittest module and then work on the code until it passes all the tests, seems like a good substitute for writing interfaces or documentation first. The unit tests are like an A...
0
1386
posted 17 years ago by chombee
This example shows how to compile the hello.c file out of the fuse source tar.
0
1185
posted 17 years ago by narkisr
By the legendary abigail. Fails to match if and only if it is matched against a prime number of 1's. That is, '11' fails, but '1111' does not.
I once heard him talk why this works, but I forgot most of it.
3
1738
posted 17 years ago by banzaiman
I made this simple JavaScript to save me time. I was sick of having to thumb-bash on a tiny keypad or login to the slow Clickatell site and use their clunky interface (nothing it simpler than 2 text boxes and an OK button).
You will need an HTTP A...
1
1418
posted 17 years ago by mountainash
Loads the contens of a dir an sorts them by the date of creation.
2
1983
posted 17 years ago by romanos
Using this convention, you can override any system table setting.
1
1343
posted 17 years ago by shrop
https://www.chrisjmendez.com/2008/06/11/show-hidden-folders-and-files-in-os-x-leopard/
2
1617
posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2008/06/11/how-to-use-ems-when-youre-already-comfortable-with-pixels/
2
1375
posted 17 years ago by chrisaiv