Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
"We should always be looking for ways to improve the functionality of our blogs. One of the easiest ways to improve our blog functionality and speed is to leverage browser caching."
1
888
posted 13 years ago by sdxxx
[See also: http://snipplr.com/view/12048]
Oops, didn't mean to commit that? Undo it easily:
0
786
posted 13 years ago by cczona
If post thumbnail doesn't exist, then get the first uploaded image. Change sizes as needed.
0
1101
posted 13 years ago by vagrantradio
From the referenced website:
Well, that command speaks for itself "sed" edits "-i in place ( on the spot ) and replaces the word "ugly with "beautiful" in the file "/home/bruno/old-friends/sue.txt"
0
800
posted 13 years ago by bionic
Sometimes you need special array functions, not build in AS3. Special ArrayUtils class with some static methods can help us :)
5
838
posted 13 years ago by burnandbass
Sometimes you need to tween a number (for example from 1-100) and to get the number
1
806
posted 13 years ago by burnandbass
Using shortcode to retrieve the author page url (ex. abc.com/?author=123), using the WP Shortcode API as reference.
1
653
posted 13 years ago by sdxxx
Since tinyMCe doesn't transfer it's editor contents to the text area until you hit the submit button, and since the autosubmitter doesn't ever hit the submit button TinyMCE boxes never save. IT's a simple fix, just place the code on line 2, at the ve...
0
721
posted 13 years ago by FatFolderDesigner
Colocar preferencialmente em uma cena dedicada, na frente de todas, com o mÃnimo possÃvel de elementos.
0
929
posted 13 years ago by dessimoni
With this customizable code you can add google weather showing current temps, conditions, and forecast for any location to your website. User prompts are included to allow the user to change the default location easily then hit the "go" button. Auto...
0
666
posted 13 years ago by stevethomas2011