Full docs here: http://dev.bitly.com/api.html
Replace [your api token] with your api token from: https://bitly.com/a/oauth_apps
Libraries for many languages found here: http://dev.bitly.com/code_libraries.html
var confirmed = true; | |
var skype = "abe.stanway"; | |
var hitMeUpYo = function(skype, confirmed){ | |
confirmed | |
? console.log("Looking forward to speaking with you! My Skype is " + skype) | |
: console.log("Sorry, gonna have to pass") | |
}; | |
hitMeUpYo(skype, confirmed); |
<<<<<<< HEAD | |
<div class="item-block" id="<?=$item['rank']?>"> | |
<div class="share"> | |
Share: | |
<a class="icon-twitter fire-share-modal" data-href="http://twitter.com/home?status=<?=$share_title?>+<?=$share_url?>+@hypem"></a> | |
<a class="icon-facebook fire-share-modal" data-href="https://www.facebook.com/dialog/feed?app_id=149376585092829&redirect_uri=<?=$share_url?>&link=<?=$share_url?>&picture=<?=$share_image?>&name=<?=$share_title?>"></a> | |
<a class="icon-tumblr fire-share-modal" data-href="http://www.tumblr.com/share/photo?source=<?=$share_image?>&caption=<?=$share_title?>&clickthru=<?=$share_url?>"></a> | |
</div> | |
<h2><span class="ranking">№ <?=$item['rank']?></span> <a href="/artist/<?=$item['artist'] ?>"><?=$item['artist']?></a></h2> | |
<img src="/images/zeitgeist2012/artists_temp99/<?=$item['rank'] . ".$format"?>" width="1038" height="692" /> |
Full docs here: http://dev.bitly.com/api.html
Replace [your api token] with your api token from: https://bitly.com/a/oauth_apps
Libraries for many languages found here: http://dev.bitly.com/code_libraries.html
info: Analyzing application dependencies in node server/server.js | |
warn: Local package version appears to be old | |
warn: The package.json version will be incremented automatically | |
warn: About to write /Users/Jennings/Development/mote.io/package.json | |
data: | |
data: { | |
data: version: '0.0.0-1', | |
data: repository: { url: 'git://github.com/ianjennings/mote.io.git', type: 'git' }, | |
data: author: 'Ian Jennings <[email protected]> (http://ianjennin.gs)', | |
data: engines: { node: '0.8.15' }, |
MOTE.IO. NS 86400 NS1.101DOMAIN.COM. | |
MOTE.IO. NS 86400 NS5.101DOMAIN.COM. | |
MOTE.IO. NS 86400 NS2.101DOMAIN.COM. | |
MOTE.IO. MX 86400 10 MAIL.RWGUSA.NET. | |
WEBMAIL.MOTE.IO. CNAME 86400 POP3.RWGUSA.NET. | |
MOTE.IO. A 86400 165.225.131.4 | |
MOTE.IO. A 86400 165.225.131.5 | |
MOTE.IO. A 86400 165.225.129.253 | |
MOTE.IO. A 86400 165.225.130.235 | |
MOTE.IO. A 86400 165.225.130.237 |
function extractUrl(input) { | |
// remove quotes and wrapping url() | |
if (typeof input !== "undefined") { | |
return input.replace(/"/g,"").replace(/url\(|\)$/ig, ""); | |
} else { | |
return; | |
} | |
} |
info: Creating snapshot 0.0.0-52 | |
info Uploading: [= ] 6%info: socket.io started | |
Listening on port 3000 | |
info Uploading: [=============================] 100% | |
info: Updating app mote.io | |
info: Activating snapshot 0.0.0-52 for mote.io | |
info: Starting app mote.io | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error | |
help: For help with this error contact Nodejitsu Support: |
➜ server git:(master) ✗ jitsu deploy --debug | |
info: Welcome to Nodejitsu sw1tch | |
info: jitsu v0.12.10, node v0.8.19 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in node server.js | |
debug: { method: 'GET', | |
debug: uri: 'https://api.nodejitsu.com/apps/sw1tch/mote.io', | |
debug: headers: | |
debug: { Authorization: '*****************************************************************', |
➜ server git:(master) ✗ jitsu deploy | |
info: Welcome to Nodejitsu sw1tch | |
info: jitsu v0.12.10, node v0.8.19 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in node server.js | |
warn: Local package version appears to be old | |
warn: The package.json version will be incremented automatically | |
warn: About to write /Users/Jennings/Development/mote.io/server/package.json | |
data: |
<script type="text/javascript"> | |
window.moteio_config = { | |
... | |
} | |
</script> | |
<script type="text/javascript" src="https://mote.io/js/plugin.js"></script> |