I hereby claim:
- I am kr1sp1n on github.
- I am kr1sp1n (https://keybase.io/kr1sp1n) on keybase.
- I have a public key ASC_ykfOKfSyFkt7SCNwLpMMYf-Tx8TS7jJuRX7OV6Svugo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# See: https://codefresh.io/blog/node_docker_multistage/ | |
# | |
# ---- Base Node ---- | |
FROM alpine:3.5 AS base | |
# install node | |
RUN apk add --no-cache nodejs-current tini | |
# set working directory | |
WORKDIR /root/chat | |
# Set tini as entrypoint | |
ENTRYPOINT ["/sbin/tini", "--"] |
find . -name "node_modules" -type d -exec rm -rf '{}' + |
var swarm = require('hyperdrive-archive-swarm') | |
var hyperdrive = require('hyperdrive') | |
var stats = require('hypercore-stats-ui') | |
var http = require('http') | |
var memdb = require('memdb') | |
var serve = require('hyperdrive-http') | |
var drive = hyperdrive(memdb()) | |
// a remote dat |
#!/bin/bash | |
# Generate hosts-file with private IP's in AWS ec2 | |
# you need to install jq and aws cli | |
# Vars | |
hosts_file="/etc/hosts" | |
region="eu-central-1" | |
profile="" |
Verifying that +kr1sp1n is my blockchain ID. https://onename.com/kr1sp1n |
# Add this content at the very end of config/initializers/comfortable_mexican_sofa.rb | |
# Monkey patch the fixture exporter | |
module ComfortableMexicanSofa::Fixture::File | |
class Exporter < ComfortableMexicanSofa::Fixture::Exporter | |
def export! | |
prepare_folder!(self.path) | |
self.site.files.each do |file| | |
file_path = File.join(self.path, file.file_file_name) | |
block = file.block |
I hereby claim:
To claim this, I am signing this object:
input = process.stdin | |
output = process.stdout | |
alphabet = 'abcdefghijklmnopqrstuvwxyz' | |
input.resume() | |
input.setEncoding 'utf8' | |
decode = (x, letter)-> | |
i = alphabet.indexOf letter.toLowerCase() |
" Settings | |
set hud | |
set nosmoothscroll |