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 565 posted 12 years ago by Meander365
Requires PHP 5.2 with filter_var()
1 515 posted 12 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 550 posted 12 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 445 posted 12 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 345 posted 12 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 423 posted 12 years ago by edeustace
please let me know if you know of some others... just to complete the collection.
1 407 posted 12 years ago by c4ptivate
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 546 posted 12 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 658 posted 13 years ago by joelhaus
Function to add custom body class in th Thesis theme for WordPress...Thanks to @girliegeek!
1 557 posted 13 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 433 posted 13 years ago by deepsoul
Proje güncellemeden önce güncelleme dosyalarının aranması için filtre, modify date olarak tarihinde verilmesi gerekiyor.
0 406 posted 13 years ago by tenkyu
This is how NetTuts does their filterable Portfolio.
3 487 posted 13 years ago by conspirator
从数据库中选出大于3小于13的纯字母域名,然后进行过滤,得到双拼域名。 增加一个拼音预判断,过滤掉前两个字母不符合拼音要求的字符串。
0 482 posted 13 years ago by zhengrenchi
Fix the background at the NSF
0 417 posted 13 years ago by chablatfriront
// FUNCION BY Ahmet Alp Balkan // http://www.ahmetalpbalkan.com
2 501 posted 13 years ago by prf_q
0 362 posted 14 years ago by manec
Pretty intuitive, might be an easier/simpler way.
0 462 posted 14 years ago by rengber
Includes some useful Fuse commands
1 398 posted 14 years ago by Bonky
0 364 posted 15 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 642 posted 15 years ago by mswallace
0 468 posted 16 years ago by whitetiger