Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1263
posted 17 years ago by mountainash
Loads the contens of a dir an sorts them by the date of creation.
2
1820
posted 17 years ago by romanos
Using this convention, you can override any system table setting.
1
1211
posted 17 years ago by shrop
https://www.chrisjmendez.com/2008/06/11/show-hidden-folders-and-files-in-os-x-leopard/
2
1461
posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2008/06/11/how-to-use-ems-when-youre-already-comfortable-with-pixels/
2
1229
posted 17 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
971
posted 17 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
1592
posted 17 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
966
posted 17 years ago by jeppeb
Applications:
1. Centered block with unknown width
2. Simple block which can have float style (f.e. horizontal menu)
1
1272
posted 17 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
3861
posted 17 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
2986
posted 17 years ago by cbrant
The code for my wordpress Archives page, there have been a few people who asked how I did it.
0
1374
posted 17 years ago by kristin
在UTF-8的編碼下縮減å—串並é¿å…䏿–‡å—串最後一個å—變亂碼
0
2780
posted 17 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
1496
posted 17 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
1555
posted 17 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
6086
posted 17 years ago by neal_grosskopf
My Favorites eclipse plugins: PDT, Subversive, Aptana and Symfoclipse
0
944
posted 17 years ago by jlbfalcao
Startup eclipse code.
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudoedit /usr/bin/eclipse
0
912
posted 17 years ago by jlbfalcao
Cowthink is an ASCII script for Linux to show text in a bubble over a cows head
Picture: http://tinyurl.com/5mupb7
Download: http://www.nog.net/~tony/warez/cowsay.shtml
1
994
posted 17 years ago by Sn0opy
https://www.chrisjmendez.com/2008/06/06/as3-regular-expression-basics/
12
2205
posted 17 years ago by chrisaiv