I hereby claim:
- I am jch on github.
- I am jch (https://keybase.io/jch) on keybase.
- I have a public key whose fingerprint is FAE8 17C4 6934 9DB4 8B49 FE0B 7374 4527 759B EE9C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Proposal for mapping responses back to requests for Net::LDAP. | |
| require "fiber" | |
| module Net | |
| module LDAP | |
| class Connection | |
| # Hash of Responses keyed by message_id | |
| attr_reader :responses | |
| # Fake socket to read/write from |
| // For a group of elements, sets 'className' on an element when 'evt' | |
| // is triggered, and removes 'className' from all it's | |
| // siblings. Useful for highlighting a selection within a list of | |
| // choices. | |
| // | |
| // $('ul#my_list li').setCurrentClassOnEvent('click', 'current'); | |
| // <ul id="my_list"> | |
| // <li class="current">Chocolate</li> <!-- click adds 'current' class --> | |
| // <li>Vanilla<li> | |
| // <li>Strawberry</li> |
| framework 'cocoa' | |
| outpipe = NSPipe.pipe | |
| task = NSTask.alloc.init | |
| task.setLaunchPath '/usr/bin/tail' | |
| task.setArguments %w(-f -n10 /Users/jch/projects/pharmmd/log/wendy.log) | |
| task.setStandardOutput outpipe | |
| file = outpipe.fileHandleForReading |
You've just written a masterpiece of a web app. It's fun, it's viral, and it's useful. It's clearly going to be "Sliced Bread 2.0". But what comes next is a series of unforeseen headaches. You'll outgrow your shared hosting and need to get on cloud services. A late night hack session will leave you sleep deprived, and you'll accidentally drop your production database instead of your staging database. Once you serve up a handful of error pages, your
| 2006 500 sel | |
| title - clean | |
| #num owners | |
| side airbags? | |
| why selling - company car. maintained through the company. | |
| last mechanic - front windshield. oil change. air filter. | |
| get back at 5pm. |