Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
First of all, for all Stackoverflow.com members who have seen my question about this snippet on Stackoverflow, yes I am the same person as WebDevhobo. Last time I asked a question about something I posted here I got a bucketload of comments saying I...
1
3702
posted 16 years ago by Vordreller
An easy way to launch an external process (http://docs.codehaus.org/display/GroovyJSR/Run+Sub-Process+Safely).
1
1758
posted 16 years ago by narkisr
Mac OS X creates files beginning with *._* to Samba shares when files on a Unix/Linux machine are accessed with a Mac. I use [Coda](http://www.panic.com/coda/) to access a Samba share on my development server at work. This is really annoying when c...
1
2047
posted 16 years ago by shaunchapman
Standard list markup, adds button to expand a super dropdown next to the link.
1
1697
posted 16 years ago by davebowker
This snippet returns a link to twitter for the user to tweet the current page. URL is TinyURLed automatically (and tinyurls are cached indefinitely in assets/cache/tweetthis.txt).
Simply paste code into a new snippet called "TweetThis". Call it li...
3
1399
posted 16 years ago by DaveChild
Since there are still many people using IE6, we have to cater for them :-(
Anyway, this CSS statement shows a declaration for a PNG Logo. Most browsers will understand the first 5 lines. Sadly, IE6 will not be able to use the transparent PNG from l...
1
1406
posted 16 years ago by AshMan
I convert the google pr fetch code from php to actionscript.
2
1466
posted 16 years ago by zhengrenchi
One must escape "special characters" in id names using two backslashes.
0
1427
posted 16 years ago by penguin999
The Drupal website will be updated every 45 minutes after the hour.
2
1314
posted 16 years ago by chrisaiv
A common Drupal problem: how to save e.g. your blocks configuration without dragging an X Gig database around.
A simple command that dumps a table in a way that it can be inserted into SVN.
Every row is dumped as a single line, and they are sor...
1
1318
posted 16 years ago by berkes
Grab 5 latest Wordpress posts and display them on a non-Wordpress PHP page.
1
1253
posted 16 years ago by kwilson
Add this to your Utilities class and use it like Utilities.moveToTop(your_clip);
2
1458
posted 16 years ago by ozke
Magic quotes for incoming GET/POST/Cookie data.
This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.
0
1286
posted 16 years ago by lzyy
In a migration scenario, you may need to take a backup and a differential later to split the transfer over time. But to make it work, there shouldn't be any other full backup in between. This will help you check the last full backup date. Of course,...
0
1401
posted 16 years ago by pollusb