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 datapolitical on github. | |
* I am cfn (https://keybase.io/cfn) on keybase. | |
* I have a public key whose fingerprint is 8BD0 1875 9E67 7931 0F62 F139 C6BB E3BE 5F23 219A | |
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
require File.join(File.dirname(__FILE__), "Instafilterio.rb") | |
# basic instantiation. TODO Put your authentication keys here. | |
obj = Instafilterio.new("PUBLIC-KEY", "PRIVATE-KEY") | |
# We're consuming this endpoint: https://www.mashape.com/thefosk/instafilter-io#Black-White | |
response = obj.blackWhite(File.new('/Users/mashape/Desktop/gioconda.jpeg', 'rb')) | |
# Let's save the binary response in a file | |
File.open('/Users/marco/Desktop/gioconda_output.jpeg', 'w') {|f| f.write(response.body) } |
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 | |
//Step 1 - Requre the client library | |
require_once("Bitly.php"); | |
//Step 2 - Instantiate a new client object | |
$bitly = new Bitly("MY_PUBLIC_KEY", "MY_PRIVATE_KEY", "MY_API_KEY", "MY_LOGIN"); | |
//Step 3 - Return a MashapeResponse object by calling a method | |
$response = $bitly->getShortenedUrl("http://mashape.com/docs/consume/php"); |
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
Unexpected dylibs: | |
/usr/local/lib/libfontforge.1.0.0.dylib /usr/local/lib/libgdraw.4.0.7.dylib /usr/local/lib/libgioftp.1.0.0.dylib /usr/local/lib/libgunicode.3.0.1.dylib /usr/local/lib/libgutils.1.0.3.dylib /usr/local/lib/libical.0.0.0.dylib /usr/local/lib/libicalss.0.0.0.dylib /usr/local/lib/libicalvcal.0.0.0.dylib /usr/local/lib/libltdl.3.1.0.dylib /usr/local/lib/libmacfuse_i32.2.dylib /usr/local/lib/libmacfuse_i64.2.dylib /usr/local/lib/libosxfuse_i32.2.dylib /usr/local/lib/libosxfuse_i64.2.dylib |
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
Warning: Unbrewed dylibs were found in /usr/local/lib. | |
If you didn't put them there on purpose they could cause problems when | |
building Homebrew formulae, and may need to be deleted. | |
Unexpected dylibs: | |
/usr/local/lib/libfontforge.1.0.0.dylib /usr/local/lib/libgdraw.4.0.7.dylib /usr/local/lib/libgioftp.1.0.0.dylib /usr/local/lib/libgunicode.3.0.1.dylib /usr/local/lib/libgutils.1.0.3.dylib /usr/local/lib/libical.0.0.0.dylib /usr/local/lib/libicalss.0.0.0.dylib /usr/local/lib/libicalvcal.0.0.0.dylib /usr/local/lib/libltdl.3.1.0.dylib /usr/local/lib/libmacfuse_i32.2.dylib /usr/local/lib/libmacfuse_i64.2.dylib /usr/local/lib/libosxfuse_i32.2.dylib /usr/local/lib/libosxfuse_i64.2.dylib | |
Warning: Unbrewed .la files were found in /usr/local/lib. | |
If you didn't put them there on purpose they could cause problems when |
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
public function currenciesjson() { | |
$parameters = array(); | |
$response = HttpClient::doRequest( | |
HttpMethod::GET, | |
"https://joss-open-exchange-rates.p.mashape.com/currencies.json", | |
null, | |
$this->authHandlers, | |
true); | |
return $response; |
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
--- | |
layout: post | |
title: "I promise, this is not about blogging" | |
description: "How mobile has changed the way we think about composition" | |
--- | |
I am writing this on my iPhone (full disclosure, this will be partially about blogging). It feels incredibly odd, like eating pancakes with a caviar fork. I love this device, but complex content creation is not its strong suit. | |
Yet, it is awesome with micro-creation. Instagram, Twitter, Tumblr all work beautifully on mobile, because they are not designed to feel like a blank canvas. People have time to revise because they only have to review 140 characters. |
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
layout: post | |
title: 'I promise, this isn't about blogging' | |
description: 'How mobile has changed the way we think about composition' | |
/home/datapolitical/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych.rb:154:in `parse': (<unknown>): couldn't parse YAML at line 3 column 0 (Psych::SyntaxError) | |
from /home/datapolitical/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych.rb:154:in `parse_stream' | |
from /home/datapolitical/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych.rb:125:in `parse' | |
from /home/datapolitical/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych.rb:112:in `load' | |
from /home/datapolitical/.rvm/gems/ruby-1.9.3-p125/gems/jekyll-0.11.2/lib/jekyll/convertible.rb:34:in `read_yaml' | |
from /home/datapolitical/.rvm/gems/ruby-1.9.3-p125/gems/jekyll-0.11.2/lib/jekyll/post.rb:39:in `initialize' |