Skip to content

Instantly share code, notes, and snippets.

View masone's full-sized avatar
🚗

Christian Felder masone

🚗
View GitHub Profile
@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.

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
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
<!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;
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>iframe</title>
<meta charset="utf-8">
</head>
<body>
<iframe width="800" height="500" src="https://fup-dev.hosted.livingdocs.io"></iframe>
</body>
</html>
server:
build: .
dockerfile: Dockerfile
volumes:
- ./:/app
- /app/node_modules
ports:
- 9090:9090
links:
- postgres
@masone
masone / initEventHandlers.coffee
Created March 14, 2016 12:09
Review quiz: What is wrong with this (initEventHandlers)?
initEventHandlers: (callback) ->
unless config.get('activity_log:enabled', true)
return callback()
@handledEvents.forEach (eventName) ->
events.subscribe(eventName, handleEvent)
log.success('ActivityLog: event handlers successfully registered')
callback()