Welcome To Snipplr


Everyone's Recent Snippets



1 ... 379 380 381 382 383 ... 554
0 1275 posted 15 years ago by manatlan
2 3769 posted 15 years ago by manatlan
0 718 posted 15 years ago by manatlan
/!\Notice: Change the ci_dir to wherever your ci folder is on line 3. /!\ Usage: ci [name of project] Gives the project a name based on the current date if the user didn't provide one. Option to move the app directory outside of the system dire...
2 1042 posted 15 years ago by AzizLight
3 1049 posted 15 years ago by jb3622
i know these regex stuff is rather slow, but still i like having slim documents. (don't forget to use gzip compression on all text docs)
3 998 posted 15 years ago by iroybot
0 774 posted 15 years ago by wearetherock
0 986 posted 15 years ago by arpit
base css for flash 100% width min size that works in ff3+, safari3+, google chrome 1+ Remember to use a reset.css: the margin / padding of html and body must be zero.
1 936 posted 15 years ago by mcarneiro
This regular expression will match almost all valid email addresses. Omits email addresses containing double-quotes and square brackets, which while valid according to [RFC 2822][rfc2822], are almost never used. [rfc2822]: http://tools.ietf.org/ht...
2 1230 posted 15 years ago by chrisdpratt
To make the menu work in IE6 (which doesn't support the :hover pseudo element on anything but links and tables), the IE6-specific CSS calls on [Whatever:hover][whatever]. If using [Dean Edwards' IE7-js][IE7-js], this is unnecessary as his script fixe...
4 1062 posted 15 years ago by chrisdpratt
Functions to make using regular expressions a bit easier. They're named after the respective PHP function.
2 1315 posted 15 years ago by wizard04
Checks if an array has been initialized, even if it is a dynamic array.
1 1009 posted 15 years ago by wizard04
jQuery is included via the Google AJAX Libraries repository. Dean Edwards' IE7-js is included via it's Google Code hosting URL. Version numbers of both libraries should be checked and updated to latest versions. _**Note:** While libraries can be r...
0 1440 posted 15 years ago by chrisdpratt
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 1140 posted 15 years ago by chrisdpratt
2 970 posted 15 years ago by KF
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 976 posted 15 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 1056 posted 15 years ago by takonia
Attaching multiple stylesheets
0 668 posted 15 years ago by StevieJ
<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 1080 posted 15 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 1601 posted 15 years ago by dsanson
0 2155 posted 15 years ago by powerserve
1 ... 379 380 381 382 383 ... 554