Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 185 186 187 188 189 ... 552
3 2473 posted 15 years ago by iroybot
1 1723 posted 15 years ago by sethetter
Stylesheet links for Compass generated CSS files; ie.css, print.css, and screen.css, generated from respective .scss files.
0 1595 posted 15 years ago by sethetter
Beim einfachsten Listenmenü muss man trotzdem ein paar Dinge beachten: Sonderzeichen wie & sollen z.B. in & verwandelt werden. Dies passiert mit stdWrap.htmlSpecialChars = 1. Falls man dies nicht beachtet, werden Links, welche dieses Zeichen ent...
0 3993 posted 15 years ago by abteilung
Embed a video via PHP without using `the_content` filter in WordPress. From luckykind at http://wordpress.org/support/topic/call-function-called-by-embed-shortcode-direct
0 1607 posted 15 years ago by jevets
First of all this refers to a clean Ubuntu 10.04 install with the LAMP and OpenSSH packages installed, but can probably be applied in most cases. Duplicate the file /etc/apaches/sites-available/default, and name it subdomains. Edit the new file...
1 2352 posted 15 years ago by krillzip
You need to create a new package android.bluetooth in your project, and add the files: IBluetooth.aidl y IBluetoothCallback.aidl from the android source code
0 3099 posted 15 years ago by efor18
Mix EE channel tag into javascript add the following code into the config array.
0 1824 posted 15 years ago by audiopleb
2 1852 posted 15 years ago by hotdiggity
Say you don’t want to reset ALL your orders, maybe you want to PRUNE a production database. if that’s the case, this php file (added to a crontab, or ran from your magento root directory) will DELETE all cancelled orders (5000 limit per instance)...
0 1876 posted 15 years ago by hotdiggity
0 1856 posted 15 years ago by takel
To wrap long URLs, strings of text, and other content, just apply this carefully crafted chunk of CSS code to any block-level element (e.g., perfect for <pre> tags):
1 2183 posted 15 years ago by mdjamal
0 1680 posted 15 years ago by lecksfrawen
0 1737 posted 15 years ago by nosmk
0 1645 posted 15 years ago by nosmk
0 1607 posted 15 years ago by nosmk
0 1546 posted 15 years ago by nosmk
0 2041 posted 15 years ago by nosmk
0 1828 posted 15 years ago by nosmk
0 1445 posted 15 years ago by nosmk
0 1495 posted 15 years ago by nosmk
0 1542 posted 15 years ago by nosmk
Use by sending a unix timestamp to countTime(timestamp). It will return something like 40 seconds , 2 weeks, 1 hour. Then just format to your needs like we do in our app: Someone was here 10 minutes ago.
0 2016 posted 15 years ago by GeorgeL
Ported to PHP from here: http://snipplr.com/view/48067/ (original: http://paulirish.com/2009/random-hex-color-code-snippets/)
2 3255 posted 15 years ago by ozke
This is probably the first vertical JavaScript text ticker that sues tilted letters. Works with Internet Explorer 6x/7x/8x/9x, Firefox 3.6x, Opera 10.5x and Google Chrome 4x/5x/6x. Older Browsers show no ticker.
0 2097 posted 15 years ago by fabulant
1 ... 185 186 187 188 189 ... 552