Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Basic starting point for an Apache VirtualHost that points to a Symfony project being developed on MAMP
0
1316
posted 17 years ago by cburyta
Test harness for an implementation of the Luhn algorithm that checks the validity of a credit card number.
0
1973
posted 17 years ago by Uzbekjon
A working example that uses BlaszDS in order to serialize Java object into AMF (this code should be cleaned up a bit), in order for it to compile and work it is required to add flex-messaging-core.jar and flex-messaging-common.jar to the classpath.
0
1670
posted 17 years ago by narkisr
Sample code from processFormRequest to pop up new window via javascript. worth noting: this is not recommended as it can break the OAF page.
0
3170
posted 17 years ago by theonlyalterego
A quick pl/sql command to select from the MDS using the Oracle JDR_UTILS package.
0
1591
posted 17 years ago by theonlyalterego
remove the www usually located at the beginning of the url :
www.url.com -> url.com
http://www.url.com/file.html -> http://url.com/file.html
http://www.url.com/directory/file.html -> http://url.com/directory/file.html
etc...
1
1731
posted 17 years ago by bbnnt
How to align floating images in wordpress posts and add captions.
2
1280
posted 17 years ago by j_junyent
Starting from here: http://snipplr.com/view/2534/update-copyright-date-in-php/ I made one that is a little more sussinct (sp?)
0
1134
posted 17 years ago by SeanJA
A good CSS example of how to style Horizontal Rule (HR) elements. It's also Internet Explorer (IE) friendly.
3
2251
posted 17 years ago by jonhenshaw
When you klick a link in Firefox... there is a dotted outline. Hide it with outline:none.
0
1223
posted 17 years ago by FlashJunior
A cool script for fixed Footers. Works with i6,i67,all mozilla browsers and safari.
1
1472
posted 17 years ago by FlashJunior
You can use this command to convert your properties file to ASCII encoded file. Normally you'll need it to convert your language.properties file.
0
2897
posted 17 years ago by Uzbekjon
Assumes logs are in /var/log/sshd/* and makes a few text format assumptions that probably make this specific to OpenSSH.
Simple, but more than you can see from a quick less.
3
2012
posted 17 years ago by scarfboy
PACKAGE replace -> com.yourdomain.control
CLASSFILENAME replace -> com.yourdomain.control - folder > MyCustomEvent.as
0
1016
posted 17 years ago by t3flexdev