Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This, owner, and delegate:
this : as in Java, this refers to the instance of the enclosing class where a Closure is defined
owner : the enclosing object (this or a surrounding closure)
delegate : by default the same as owner, but changeable.
(htt...
1
2419
posted 17 years ago by narkisr
An example of redo statement in Ruby, redo makes an iteration step repeat itself again (http://www.rubyrailways.com/rubys-most-underused-keyword/).
1
1851
posted 17 years ago by narkisr
I just wanted to have the argument code as text. It is provided as an image.
2
3541
posted 17 years ago by lexx
This is a bit of jQuery within a PHP function that you can dump into your Thesis custom_functions.php file to hide comments upon page load and add a link to show them.
2
1707
posted 17 years ago by kristarella
This is a basic shell for PayPal IPN.
It is by no means a complete solution, but it should provide a good starting point for anyone that wants to work out IPN.
Or it can be used as is to do basic IPN.
2
1773
posted 17 years ago by xtheonex
Allows you to toggle visibility of the iPhone status bar at the top of the screen that shows the carrier information, network status and time
6
2362
posted 17 years ago by steve918
Instead of simply adding a list of things at the end of the array, you can also pass in a hash and change the question marks to actual named replacements. This can help you keep the order of your arguments straight.
1
1906
posted 17 years ago by sohooo
This is modified from code found here: http://www.meadinkent.co.uk/XLexport-text1.htm and here: http://www.meadinkent.co.uk/XLexport-text2.htm
0
1798
posted 17 years ago by BlueCockatoo
In the content property, the first number is the number of seconds until the refresh, the URL is where the redirect will go.
2
2286
posted 17 years ago by chippper
A simple form with rounded corners, and hopefully not too much markup. You'll need some kind of graphic for the corners of course - I used 20px corners for this.
It's a bit rough, would love to know what some other people think.
1
2178
posted 17 years ago by superdeluxesam