Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I found this awesome function that allows you to easily remove duplicate values.
4
3118
posted 16 years ago by chrisaiv
I know this code isn't perfect (and there's a spot where it kind of repeats itself), but I figured I'd share anyway.
NOTE: This code assumes that you are programming in CodeIgniter and you have uploaded a file and posted to a Controller which then...
2
1753
posted 16 years ago by polarbear
Removes trailing slashes from URLs, forces all urls to index.php
0
1720
posted 16 years ago by mattkenefick
If this command seems to run forever, it's because there may be parts of the site that generate an infinite series of different URLs. You can solve this in many ways, the simplest being to use the -l option to specify how many links “away†from t...
1
1772
posted 16 years ago by alemani
This script works good condition, and not use "oAuth".
Your should get username and password with cleartext (standart html controls) without authentication and just add them into variables in your code...
(twitter_username and twitter_password)
A...
0
1858
posted 16 years ago by emregulcan
input: -width 123 -height 234 -minimized -visible
output map: {"-width":"123", "-height":"234", "-minimized":null, "-visible":null}
0
1770
posted 16 years ago by tactoth