Welcome To Snipplr


Everyone's Recent Snippets



1 ... 481 482 483 484 485 ... 554
0 916 posted 16 years ago by JustinCrossman
This example shows how to compile the hello.c file out of the fuse source tar.
0 815 posted 16 years ago by narkisr
2 943 posted 16 years ago by cr4zyguy
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 1019 posted 16 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 938 posted 16 years ago by mountainash
Loads the contens of a dir an sorts them by the date of creation.
2 1187 posted 16 years ago by romanos
Using this convention, you can override any system table setting.
1 907 posted 16 years ago by shrop
0 698 posted 16 years ago by Meestercor
1 818 posted 16 years ago by Juanje
https://www.chrisjmendez.com/2008/06/11/show-hidden-folders-and-files-in-os-x-leopard/
2 1040 posted 16 years ago by chrisaiv
https://www.chrisjmendez.com/2008/06/11/how-to-use-ems-when-youre-already-comfortable-with-pixels/
2 913 posted 16 years ago by chrisaiv
This is my implementation of the messager pattern used by Panda3D for event handling. It's a really nice idea but I think Panda's version is implemented weirdly, it uses the subscribe objects as keys in the dictionary. That means that if you want...
0 705 posted 16 years ago by chombee
Use this function to create a unique class name based on the page's url. It makes for a great way to drill down with specificity in CSS later by placing this on the ID or as a Class on the body tag.
1 1065 posted 16 years ago by neal_grosskopf
When there's a value in a textbox, like 'search', it disappears when you click on it, and reappears when you leave (blur) it. But only if you haven't filled in anything ofcourse. Use it like this:
1 724 posted 16 years ago by jeppeb
Applications: 1. Centered block with unknown width 2. Simple block which can have float style (f.e. horizontal menu)
1 845 posted 16 years ago by kossmoss
This will create and then populate a MySQL table with a list of the names and USPS abbreviations for US states and possessions in existence.
3 3128 posted 16 years ago by cbrant
This will create and then populate a MySQL table with a list of the names and ISO 3166 codes for countries in existence.
5 1826 posted 16 years ago by cbrant
The code for my wordpress Archives page, there have been a few people who asked how I did it.
0 962 posted 16 years ago by kristin
在UTF-8的編碼下縮減字串並避免中文字串最後一個字變亂碼
0 1355 posted 16 years ago by multani
Using CSS3 selectors, highlight links to deleted pages and 404 pages. Also highlight function calls to deleted javascript using this CSS technique.
4 1126 posted 16 years ago by neal_grosskopf
A paste from a blog (http://lenkite.blogspot.com/2008/05/access-windows-registry-using-java.html) entry which demonstrates how to access windows registry in Java.
0 1195 posted 16 years ago by narkisr
One thing that always bothered me about Classic ASP is that there isn't an easy way to get the entire url. So I devised a function that will get the full path including the query string.
2 5054 posted 16 years ago by neal_grosskopf
My Favorites eclipse plugins: PDT, Subversive, Aptana and Symfoclipse
0 726 posted 16 years ago by jlbfalcao
1 ... 481 482 483 484 485 ... 554