(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Custom Street View panorama tiles</title> | |
<meta charset="utf-8"> | |
<style> | |
html, body, #map-canvas { | |
height: 100%; | |
margin: 0px; | |
padding: 0px |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
// Wrapper for Harp web server, to include JS concat/compile step. Put your stuff | |
// in /harp subdirectory, npm install your dependencies, run, enjoy. | |
// Live updating of the concatenated JS file left as an exercise for the reader :) | |
var fs = require('fs'); | |
var path = require('path'); | |
var harp = require('harp'); | |
var UglifyJS = require('uglify-js'); | |
var files = []; | |
files.push(__dirname + '/harp/js/file0.js'); |
// based on https://gist.github.com/Potfur/5576225 & https://github.com/james2doyle/saltjs | |
// more info: https://plus.google.com/109231487156400680487/posts/63eZzzrBSb6 | |
window.$ = function(s) { | |
var c = { | |
'#': 'ById', | |
'.': 'sByClassName', | |
'@': 'sByName', | |
'=': 'sByTagName'}[s[0]]; | |
return document[c?'getElement'+c:'querySelectorAll'](s.slice(1)) | |
}; |
#!/usr/bin/python | |
# *************************************** | |
# | |
# A script that finds all available single word .io domains | |
# | |
# use: python finder.py | |
# | |
# Results are saved in results.txt | |
# |