Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 429 430 431 432 433 ... 552
Learn how to use CSS to save the environment by not wasting unnecessary paper and ink.
1 1929 posted 17 years ago by neal_grosskopf
It is necessary on occasion to execute a command in interactive shell. (I needed to to get access to some env vars... ) While there are many way to accomplish this I opted to run my cmd in interactive mode. To do so I had to write this little wrappe...
0 3107 posted 17 years ago by adaminuwashinet
The .jpg extension can be changed to any extension. So if you want to pull out only .txt files, you just need to replace the .jpg with .txt. If you want to list ALL files, just remove the condition.
1 2603 posted 17 years ago by fackz
2 1691 posted 17 years ago by blubadger
Example uses an object from 3rd party API. Needed to turn it into xml for returning from a webservice.
0 1652 posted 17 years ago by jasonseney
Export entire database schema to local xml file.
1 1875 posted 17 years ago by jonniespratley
This is sometimes not the best solution to a server caching your css files. But if you want to force a stubborn server to serve the most recent css file to the browser this seems to work. Could slow things down a touch, but for small css files not...
1 2434 posted 17 years ago by jadedbat
I needed a quick way to resize and save to a folder lots of images. Imagemagick is magic indeed!
1 2717 posted 17 years ago by zerolab
0 1637 posted 17 years ago by muhammet
Increases the memory limit of php and html files.
4 2655 posted 17 years ago by zachharkey
1 1495 posted 17 years ago by muhammet
1 1661 posted 17 years ago by muhammet
1 1451 posted 17 years ago by muhammet
2 1602 posted 17 years ago by muhammet
1 1548 posted 17 years ago by muhammet
1 1568 posted 17 years ago by muhammet
1 1399 posted 17 years ago by muhammet
1 1372 posted 17 years ago by muhammet
1 1554 posted 17 years ago by muhammet
1 1633 posted 17 years ago by muhammet
When you forget to "SET NAMES utf8", you'll probably end up with a bunch of latin1 data in your utf8 column. This query fixes that, CONVERTing the existing data to its correct collation.
4 2274 posted 17 years ago by jdbartlett
0 1640 posted 17 years ago by kfaulk1
0 1547 posted 17 years ago by kfaulk1
1 ... 429 430 431 432 433 ... 552