This file contains hidden or 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
| { | |
| "packages": { | |
| "accounts-guest": {}, | |
| "meteor-jquery-mobile": { | |
| "git": "https://github.com/Pyo25/meteor-jquery-mobile.git" | |
| } | |
| } | |
| } | |
| CAROLINEs-MacBook-Air:.meteor carolineemeeks$ mrt add meteor-jquery-mobile |
This file contains hidden or 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
| # Bit.ly API implementation - thanks to Richard Johansso http://gist.github.com/112191 | |
| require 'httparty' | |
| class Api::Bitly | |
| include HTTParty | |
| base_uri 'api.bit.ly' | |
| format :json | |
| # Usage: Bitly.shorten("http://example.com") | |
| def self.shorten(url) |