Skip to content

Instantly share code, notes, and snippets.

View ianjennings's full-sized avatar

Ian Jennings ianjennings

View GitHub Profile
@ianjennings
ianjennings / gist:2017794
Created March 11, 2012 19:38 — forked from astanway/gist:1708369
Just emailing to confirm your interview. Are you still available tomorrow at 8?
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" />
@ianjennings
ianjennings / gist:5280998
Created March 31, 2013 15:25
No matching versions found
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: '*****************************************************************',
@ianjennings
ianjennings / gist:5314309
Created April 4, 2013 21:00
Error: Error spawning drone: no matching engine found
➜ 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:
@ianjennings
ianjennings / gist:5322966
Last active December 15, 2015 20:59
Mote.io Embed Script
<script type="text/javascript">
window.moteio_config = {
...
}
</script>
<script type="text/javascript" src="https://mote.io/js/plugin.js"></script>