Welcome To Snipplr


Everyone's Recent Snippets



1 ... 389 390 391 392 393 ... 552
Save as the target of your link. Change http://assets.harkeydesign.net/css/diagnose.css to your own hosted version if you want guaranteed permanence.
1 1546 posted 17 years ago by zachharkey
0 2115 posted 17 years ago by kamilch
0 3892 posted 17 years ago by kamilch
0 3883 posted 17 years ago by kamilch
0 3883 posted 17 years ago by kamilch
1 4619 posted 17 years ago by kamilch
Plugin Source.
3 1877 posted 17 years ago by DrewDouglass
In addition to the recommendations on the Wordpress Website. Limit the amount of PHP files that a writable by Apache. The directory's and files that need to be writable, do not always need to be executed by PHP directly. This makes it a bit har...
1 1771 posted 17 years ago by occam
0 1538 posted 17 years ago by sixmedia
comment out HTML
0 1873 posted 17 years ago by thesmu
By requinix
0 1601 posted 17 years ago by smoover
This finds individual CSS attributes, i.e. "foo : bar;" or "bar : 2px solid foo;"
4 3065 posted 17 years ago by mocha0range
This finds CSS style names, i.e. "#foo" or "#foo, .bar" Note: You'll need to chomp the trailing "\s{" off the end of the matched string. I matched it just to make sure that it didn't get anything else.
5 2272 posted 17 years ago by mocha0range
This finds the entire style definition - from #foo to the last brace. i.e. ".foo, #bar { foo: bar; foo: bar; bar: foo; }"
4 2078 posted 17 years ago by mocha0range
This script tries to detect whether an HTTP Proxy works or not. It uses the HEAD command (high-level version of the lwp-request command) to connect to a given URL (http://www.google.com by default) via the given HTTP Proxy. It takes 2 arguments; the...
0 1899 posted 17 years ago by sensimevanidus
1 2241 posted 17 years ago by radarseven
This will return the URL for the category specified (17 in this case)
2 2383 posted 17 years ago by zachwood
When I'm running unit tests, I find it very annoying to have to check equality within loops when I've got two collections of data. I know of no built-in way (let me know if there is one) [Edit: [CollectionAssert](http://msdn.microsoft.com/en-us/libra...
0 2030 posted 17 years ago by pckujawa
This can be used instead of "trace" to populate a text field in addition to the standard trace output. The textfield stays hidden until a selected key combination is pressed, thus allowing you to use it in a staging or, if need be, a production envir...
0 4022 posted 17 years ago by Winkyboy
Add this snipp to any page's body in the cms to show a category's items on that page. "category_id" being the id of the category, duyee.
1 2101 posted 17 years ago by zachwood
If you want to trigger an event on an matched element and that element may be introduced into the DOM from an Ajax request, you can still match against it by using the livequery plugin and the following code.
1 1863 posted 17 years ago by Meander365
1 ... 389 390 391 392 393 ... 552