Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
XHTML 1.0 Strict deprecates the use of iframes in favor of objects. While this has gotten a lot of flack, iframes were never truly a part of HTML, just a proprietary element in Internet Explorer that eventually got universal support. Objects are a mo...
0
2202
posted 17 years ago by chrisdpratt
This source code based on the "friend" example given with Persevere. It is a simple Twitter-like microblogging program. Note that you need to create a class definition file in "WEB-INF\jslib\tweet.js" for it to work.
0
1778
posted 17 years ago by rolytyler
I grabbed this code from here in order to make IE 8 behave like IE 7 for me. It sure is a heck of a lot easier than going back through all the CSS on every site I've ever done. Just drop it in the header, hopefully you have a header include.
4
2132
posted 17 years ago by takonia
<pre>
To compile
$ gcc -lXtst -lX11 Util_KeyPressSimulator.c
To create shared library
$ gcc -lXtst -lX11 -c Util_KeyPressSimulator.c -o Util_KeyPressSimulator.o
$ gcc -lXtst -lX11 -shared -o Util_KeyPressSimulator.so Util_KeyPressSimulator.o...
0
1917
posted 17 years ago by wearetherock
This depends on [bibout](http://snipplr.com/view/19515/bibout/). In TextMate, set $TM_LATEX_BIB to point to your bibtex file, and create a Preference file in your markdown (or pandoc) bundle, containing the first line of the snippet. Create another P...
0
2698
posted 17 years ago by dsanson
Puts a red border around anything with an inline style. Prefix with "javascript:" and paste into the address bar to run on a page directly, or run with a load event.
1
1837
posted 17 years ago by DaveChild
This code is not made by me : But it was used for one of my projects. This code scans for all png files in a directory and creates a 100x100 thumbnail and moves it into a specified directory.
:.INCLUDES A DATA TEXT CODE WHICH PUTS THE NAMES OF ALL...
2
1736
posted 17 years ago by brandonio21
This code is not made by me : But it was used for one of my projects.
This code scans for all jpeg files in a directory and creates a 100x100 thumbnail and moves it into a specified directory.
:.INCLUDES A DATA TEXT CODE WHICH PUTS THE NAMES OF A...
3
1771
posted 17 years ago by brandonio21
This code is not made by me : But it was used for one of my projects.
This code scans for all gif files in a directory and creates a 100x100 thumbnail and moves it into a specified directory.
:.INCLUDES A DATA TEXT CODE WHICH PUTS THE NAMES OF AL...
2
1870
posted 17 years ago by brandonio21