Welcome To Snipplr


Everyone's Recent Snippets Tagged filter



This is dead handy. The purpose of the custom filter is to select all elements which have data attached. You can even find specific data.
1 179 posted 10 years ago by Meander365
Requires PHP 5.2 with filter_var()
1 167 posted 10 years ago by Calvista
If you don’t use this order, IE8-as-IE7 doesn’t apply the opacity, although IE8 and a pure IE7 do.
5 187 posted 10 years ago by vagrantradio
## PWFilter This jQuery Plugin allows you to filter a group of elements based on an attribute via an input element (a live search almost). Examples and such available on http://www.pixaweb.co.uk/resources
0 153 posted 10 years ago by minky
Very simple to use. **Calling:** $files = dirContents(DIR_PATH, [FILTER, [TYPE]]); **Examples:** $files = dirContens("my-dir"); _$files_ is array containing all, both files either directories $files = dirContens("my-dir",...
0 121 posted 10 years ago by Lostindream
When tailing a log file, its sometimes handy to only show parts of it that you are interested in, this simple pipe does the job.
2 135 posted 10 years ago by edeustace
please let me know if you know of some others... just to complete the collection.
1 136 posted 10 years ago by c4ptivate
[Creative Commons Attribution-Share Alike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/)
1 257 posted 10 years ago by jsatt
Make (and GMake) ignore spaces in many constructs, making it difficult to use a single space as a search string or a replacement string, for example. This trick works around the problem by assigning the space to a variable named SPACE and using that...
1 215 posted 10 years ago by michaelaskew
In v1.6, the Thesis Theme has a bug which removes a necessary space in the HTML body tag if you add a filter targeting the thesis_body_classes hook. To get the native WP body_class function to work, use this code:
2 222 posted 11 years ago by joelhaus
Function to add custom body class in th Thesis theme for WordPress...Thanks to @girliegeek!
1 190 posted 11 years ago by joelhaus
URLs: <http://www.chiark.greenend.org.uk/~sgtatham/utils/> <http://kitenet.net/~joey/code/moreutils/> Use one of these nifty utilities to automatically process files in-place. Both store the results of programs which write to stdout until t...
0 153 posted 11 years ago by deepsoul
Proje güncellemeden önce güncelleme dosyalarının aranması için filtre, modify date olarak tarihinde verilmesi gerekiyor.
0 126 posted 11 years ago by tenkyu
This is how NetTuts does their filterable Portfolio.
3 149 posted 11 years ago by conspirator
从数据库中选出大于3小于13的纯字母域名,然后进行过滤,得到双拼域名。 增加一个拼音预判断,过滤掉前两个字母不符合拼音要求的字符串。
0 186 posted 11 years ago by zhengrenchi
Fix the background at the NSF
0 138 posted 11 years ago by chablatfriront
// FUNCION BY Ahmet Alp Balkan // http://www.ahmetalpbalkan.com
2 200 posted 11 years ago by prf_q
0 117 posted 12 years ago by manec
Pretty intuitive, might be an easier/simpler way.
0 156 posted 12 years ago by rengber
Includes some useful Fuse commands
1 126 posted 12 years ago by Bonky
0 117 posted 13 years ago by wintondeshong
Just some code that shows you how to set up the Drawing API and draw a line and also use the dropshadow filter.
4 217 posted 13 years ago by mswallace
0 174 posted 14 years ago by whitetiger