This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am danielmurphy on github. | |
* I am danielmurphy (https://keybase.io/danielmurphy) on keybase. | |
* I have a public key whose fingerprint is B635 ECCA 6630 03FF EFD5 5264 A0F2 DC51 BB76 422B | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$oauth = new OAuth($consumer_key, $consumer_secret); | |
$oauth->setToken($access_token, $access_token_secret); | |
$oauth->disableRedirects(); | |
$oauth->fetch('https://planningcenteronline.com/attachments/23128559'); | |
$response_info = $oauth->getLastResponseInfo(); | |
copy($response_info['redirect_url'], './file.jpg'); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BottlesSong | |
def sing | |
verses(99, 0) | |
end | |
def verses(upper_bound, lower_bound) | |
upper_bound.downto(lower_bound).collect {|n| verse(n) + "\n"}.join | |
end | |
def verse(number) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "person": | |
{ | |
"first_name": "PiCO", | |
"last_name": "Das Robot", | |
"contact_data": { | |
"addresses": [{ | |
"city": "Carlsbad", | |
"state": "CA", | |
"street": "2790 Gateway Dr.", | |
"zip": "92009", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "person": | |
{ "first_name": "John", | |
"last_name": "Doe", | |
"contact_data": { | |
"email_addresses": [ | |
{ | |
"address": "[email protected]" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for category in plan.ministry.plan_person_categories %} | |
{% for position in category.positions %} | |
{% if postion.name == "Monitor Engineer" %} | |
Your monitor engineer today is: {% for person in position.people %}{{ person.name }}{% endfor %} | |
{% endif %} | |
{% endfor %} | |
{% endfor %} |