Must-haves
- load offline
- map marker
- marker name
- current location
Would-be-nice-if
- customize marker by type (ie: food, coffee, retail)
- could share easily
- could callaborate easily
Must-haves
Would-be-nice-if
var printPDFBton = document.getElementById('print-pdf'); | |
var ipc = require('electron').ipcRenderer; | |
printPDFBton.addEventListener('click', function (event) { | |
ipc.send('print-to-pdf'); | |
}); | |
ipc.on('wrote-pdf', function (event, path) { | |
// TODO should we open the pdf? or put it somewhere else? | |
var message = 'Wrote PDF to: ~' + path; |
for f in *.jpg; do | |
convert ./"$f" -gravity center -resize 1137 -extent 1137x640 -blur 0x4 ./finalcat/"new-$f" | |
convert ./finalcat/"new-$f" -page +248 ./"$f" -flatten ./finalcat/"new-$f" | |
done |
<!-- a placeholder in the body of your page --> | |
<div id="twitterTweet"></div> | |
<!-- a template before /body closes --> | |
<script id="twitterTweet" type="text/html"> | |
<table> | |
{{#rows}} | |
<tr><td>{{date}}</td></tr> |
<html> | |
<!-- the head tag holds information and resources for the page --> | |
<head> | |
<!-- the title tag holds the page title --> | |
<title>Hello WWW!</title> | |
</head> | |
<style> | |
/* changing background color and the margin (spacing) between the edges and our content */ | |
body { |
<html> | |
<!-- I'm ommiting a lot of stuff, keeping this to the point --> | |
<head> | |
<!-- load in tabletop and mustache --> | |
<script src="/wp-content/themes/Starkers/tabletop.js" type="text/javascript"></script> | |
<script src="/wp-content/themes/Starkers/ICanHaz.js" type="text/javascript"></script> | |
</head> | |
<style> | |
/* confine your image to a circle */ | |
.instaImgCirc img {border-radius: 1000px;} |
<html> | |
<body> | |
<div class="span1"> | |
<h3>Lastest Instagram</h3> | |
<div id="instagram"></div> | |
</div> | |
</div><!-- end span1 --> | |
<div class="span2"> | |
<div id="pocketReader"></div> |
/*! | |
ICanHaz.js version 0.10 -- by @HenrikJoreteg | |
More info at: http://icanhazjs.com | |
*/ | |
(function () { | |
/* | |
mustache.js — Logic-less templates in JavaScript | |
See http://mustache.github.com/ for more info. | |
*/ |