Skip to content

Instantly share code, notes, and snippets.

View masone's full-sized avatar
🚗

Christian Felder masone

🚗
View GitHub Profile
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>iframe</title>
<meta charset="utf-8">
<style>
[draggable=true] {
-khtml-user-drag: element;
-webkit-user-drag: element;
-khtml-user-select: none;
cfelder@MacBook-Pro-5  ~/livingdocs/livingdocs-editor   master  npm run start
> [email protected] prestart /Users/cfelder/livingdocs/livingdocs-editor
> npm run prebuild:app -s
config built
dist folder cleaned
components copied
html copied
dependencies copied
cfelder@MacBook-Pro-5  ~/livingdocs/livingdocs-editor   master  npm run start
> [email protected] prestart /Users/cfelder/livingdocs/livingdocs-editor
> npm run prebuild:app -s
config built
dist folder cleaned
components copied
html copied
dependencies copied
cfelder@MacBook-Pro-5  ~/livingdocs/livingdocs-editor   master  npm run start
> [email protected] prestart /Users/cfelder/livingdocs/livingdocs-editor
> npm run prebuild:app -s
config built
dist folder cleaned
components copied
html copied
dependencies copied

I host a site with a map of graffiti walls around the world. As a service to the users, I plan to display a google streetview when available.

  1. Download the spreadsheet at https://docs.google.com/spreadsheets/d/1CZzndwAM6TjyixfbDn95zfkgF-ZIj-T_a4PGTlMDY78/pub?output=xlsx
  2. Open each link in the browser
  3. Read the title and description, so you know what you will be looking for
  4. Zoom in on the map and drag and drop the orange streetview figure to a nearby street
  5. Click the google logo on the left bottom corner of the map
  6. Look around on streetview and find a nearby wall covered with graffiti
@masone
masone / work.md
Last active October 11, 2016 09:02
Working at livingdocs

How we work

Remoteness

About half of the team is co-located in Zurich with satellite workers in surrounding countries. We are mindful about the pros and cons this structure brings along.

Autonomy

We encourage employees to work with a high level of autonomy and self-direction. This is why we offer that you work from remote and you're not bound to a fixed work schedule.

@masone
masone / plan.md
Last active January 6, 2017 09:16
Wooden playhouse frame

Following the instructions below, you'll end up with a playhouse with the length of 140cm, height of the poles 100cm and 90cm width. The matrace is 90cm in width and will be cut to the correct length later. You can vary any size, but keep in mind that you might have to recalculate the laths for the roof and how you best distribute your pieces across the laths.

Shopping list

  • Ikea: JÖMNA Matrace (35.-)
  • Jumbo: 1 pack of Spax screws T20 4,5x70 (10.-)
  • Jumbo: 8 wooden laths 4.4x4.4x250 (50.-)

Jumbo provides a wood cutting service. It's free!

@masone
masone / raspberry-pi-cheatsheet.sh
Last active September 13, 2017 19:45
Raspberry Pi cheatsheet sonos / flic
# Raspbian jessy https://www.raspberrypi.org/downloads/raspbian/
# For lite, touch ssh file https://www.raspberrypi.org/documentation/remote-access/ssh/
# Install nvm https://github.com/creationix/nvm#installation
git clone https://github.com/50ButtonsEach/fliclib-linux-hci.git
crontab -e
@reboot cd /home/pi/node-sonos-http-api && /home/pi/.nvm/versions/node/v4.7.2/bin/node server.js > /home/pi/node-sonos.log $
@reboot /home/pi/fliclib-linux-hci/flicd --wait-for-hci -d -f /home/pi/fliclib-linux-hci/flic.sqlite -l /home/pi/flicd.log
@masone
masone / skyscanner.js
Last active January 27, 2017 11:47
skyscanner
!function (e) {
function t() {
var t = e.skyscanner = e.skyscanner || {}, r = t.widgets = t.widgets || {}, a = r.renderCache = r.renderCache || {}, s = r.requests = r.requests || {};
return {widgets: r, renderCache: a, requests: s}
}
function r(e, t, r) {
t = t || "", r = r || {}, r.v = "6678ba";
var a = Object.keys(r).filter(function (e) {
return e && null !== r[e]