Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This would make IE treat the hover element in whichever tag you implemented.
0
913
posted 17 years ago by iTony
customized breadcrumbnavigation for PHPWCMS.
Gives more control over styling and display.
{MYBREADCRUMB:n}
0
1425
posted 17 years ago by localhorst
curvyCorners is a free JavaScript program that will create on-the-fly rounded corners for any HTML DIV element, that look as good as any graphically created corners.
3
1802
posted 17 years ago by jonhenshaw
Will toggle an element's style.visibility, or set it to visible/hidden as selected
0
1326
posted 17 years ago by martinkas
Forms a php timestamp out of an date string i.e. create_timestamp(24.12.2007);
0
958
posted 17 years ago by razel
In light of last nights tornado warnings here in TN, I thought it appropriate to post this little bit of code that I use to alert myself and others of dangerous weather conditions via SMS/Email alerts.
I run this through cron at Dreamhost without...
9
1904
posted 17 years ago by johnself
The data source which can be used in combination with jasper reports.
0
1218
posted 17 years ago by narkisr
PHP function that creates a mySQL INSERT statement for mime types. Type are extracted from a text file.
0
1306
posted 17 years ago by fabian
Decorator design pattern implemented in Groovy, two implementation are provided, the first is naive and not general, the second is MOP based and can be used in much more scenarios.
0
1740
posted 17 years ago by narkisr
Mediator design pattern implemented in Groovy (based upon http://www.javacamp.org/designPattern/).
1
1647
posted 17 years ago by narkisr
It does not show the grants themselves, but shows all users with grants.
0
1406
posted 17 years ago by therobot
In Ruby you can write 5.times { print "Hello World" } . With a simple extension method I was able to do something similar with C#.
0
1130
posted 17 years ago by Soft
This script removes (DROPS) all tables that start with foo_. Usefull if you had some CMS or application that (ab)uses table prefixing, and want to clean 0ut your database.
NOTE: the data is remove FOREVER! So take good casre: make backups and all...
2
1828
posted 17 years ago by berkes