Skip to content

Instantly share code, notes, and snippets.

View ethereal-engineer's full-sized avatar
💭
Not painted, nor to scale

Doc ethereal-engineer

💭
Not painted, nor to scale
View GitHub Profile
@ethereal-engineer
ethereal-engineer / fuckingblocksyntax.html
Created September 2, 2013 00:15
Forked fuckingblocksyntax.com optimised for landscape PDF output
<html>
<head>
<title>How Do I Declare A Block in Objective-C?</title>
<style>
body {
background-color: #FFFFFF;
color: #83948F;
font-family: Lucida Grande, sans-serif;
font-size: 16px;
padding: 20px;
@ethereal-engineer
ethereal-engineer / smartBannerTest.js
Created August 28, 2013 13:09
Quickly test your app's smart banner using node.js and this snippet!
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.write('<meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">');
res.end('Check this out with your iDevice');
}).listen(1337, '0.0.0.0');
console.log('Server running at http://<thisMachine>:1337/');