Skip to content

Instantly share code, notes, and snippets.

View victorb's full-sized avatar
🏄‍♂️
𝓢𝓾𝓻𝓯𝓲𝓷𝓰 - 𝓽𝓱𝓮 - 𝓬𝔂𝓫𝓮𝓻𝓼𝓹𝓪𝓬𝓮

Victor Bjelkholm victorb

🏄‍♂️
𝓢𝓾𝓻𝓯𝓲𝓷𝓰 - 𝓽𝓱𝓮 - 𝓬𝔂𝓫𝓮𝓻𝓼𝓹𝓪𝓬𝓮
View GitHub Profile
@victorb
victorb / Dockerfile
Last active July 21, 2016 20:21
Dockerfile for NodeJS in production. List of available versions: https://github.com/mhart/alpine-node
FROM mhart/alpine-node:6.3.0
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/package.json
RUN npm install
COPY . /usr/src/app
2.3.0-alpine - running container
2.1-alpine - building image
2.1.9-alpine - building image
2.2.4-alpine - building image
2.3.0-alpine - running container
2.1-alpine - building image
2.1.9-alpine - running container
2.2.4-alpine - building image
2.3.0-alpine - running container
2.1-alpine - building image

Keybase proof

I hereby claim:

  • I am victorbjelkholm on github.
  • I am diggan (https://keybase.io/diggan) on keybase.
  • I have a public key ASBYi_4HLvTRFsHwOJMHv6J31C8lCMvFGEN6FBEhisPMMQo

To claim this, I am signing this object:

@victorb
victorb / introrx.md
Created January 4, 2016 09:47 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@victorb
victorb / ipfs_nodejs.md
Last active November 15, 2015 22:09
Making use of IPFS to download nodejs versions
@victorb
victorb / index.html
Created November 4, 2015 11:31 — forked from anonymous/index.html
JS Bin // source http://jsbin.com/vogubu
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
body, html {
margin: 0;
padding: 0;
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
body, html {
margin: 0;
padding: 0;
@victorb
victorb / twc.js
Created September 9, 2015 12:38 — forked from ivarvong/twc.js
(function() {
/**
* @param {number} meta
* @param {number} child
* @return {?}
*/
function addImage(meta, child) {
meta = meta || 1;
child = child || 0;
/** @type {Image} */
@victorb
victorb / form.json
Last active September 3, 2015 10:03 — forked from qustavo/form.json
{
"title": "Sandbox - Boilerplate",
"design_id": "wEdZrLDpiJ",
"fields": [
{
"type": "short_text",
"question": "This is a ShortTextField, What's your name? [ _Edit this text & press Build_ ]",
"description": "I'm sure you have a great name! ← [ _Edit this text & press Build_ ]",
"required": true
},
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<div id="form_here"></div>
<script id="jsbin-javascript">
console.clear();