Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Simple example of using Google's API for contacts to display the contact name and phone number. More info in the comments.
0
1142
posted 16 years ago by PhilK
Fetches an RSS feed and displays the title and summary of each entry. Nothing fancy.
0
1191
posted 16 years ago by PhilK
Simple example for using ActionMailer with Gmail (or other hosts if you remove the TLS settings).
0
1288
posted 16 years ago by PhilK
Source: Linux Journal
This command downloads the Web site www.website.org/tutorials/html/.
The options are:
* --recursive: download the entire Web site.
* --domains website.org: don't follow links outside website.org....
1
5378
posted 16 years ago by abhiomkar
Great script found on http://www.scrounge.org/linux/rsync.html. Useful for creating boilerplate backup scripts
1
1241
posted 16 years ago by nate63179
(Ref: http://yoast.com)
While preparing my previous post on new features in WordPress 2.9, I ran across a ticket in Trac for something I'd been wanting to do for a while: specify a subfolder of the uploads directory for specific plugins, like my B...
0
1347
posted 16 years ago by ksantoshp
Proper enumerations in PHP are hard to come by. This uses a class as a pseudo enumeration. Sometimes you'll want to lookup the string name side of the enum when you have the value (ie, you have "1" and you want the string "Flood").
0
1215
posted 16 years ago by benjaminpearson