Skip to content

Instantly share code, notes, and snippets.

require 'rest-client'
require 'json'
starting_url = "http://www.reddit.com/.json"
response = RestClient.get(starting_url)
parsed_response = JSON.load(response)
# now you can manipulate parsed_response and see all of the attributes and drill down to see where the things that you want are. Here is what we did:
parsed_response["data"]["children"].first["data"]["title"]
@rickcolosimo
rickcolosimo / LLC deadlock ALT version
Last active December 26, 2015 18:58 — forked from rickcolosimo/LLC deadlock
This deadlock provision is designed to provide a negotiating process for exchanging counteroffers to avoid the appraisal process offered by the other deadlock provision.
Deadlock.
(i) “Major Decision” means any action (or election not to act) by or on behalf of the Company that, pursuant to the provisions of this Agreement, requires the approval of all or a majority of the Managers, and which, if not resolved or decided one way or the other, has, or may reasonably be expected to have, a material adverse effect on the business and operation of the Company.
(ii) If the votes of the Board are divided with respect to a Major Decision and the Managers are unable to reach an agreement within a reasonable time period, then a legal or financial advisor of the Company, as agreed upon by Board, shall attempt to mediate the situation. If within 5 days after the divided vote on the Major Decision, the Board cannot agree upon a legal or financial advisor to mediate the situation or if no agreement is reached within 15 days after the commencement of mediation, then a deadlock (the “Deadlock”) will be deemed to exist.
(iii) At any time after the occurrence of a Deadlock and before a re