Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am byrongibson on github.
  • I am byrongibson (https://keybase.io/byrongibson) on keybase.
  • I have a public key whose fingerprint is 45A7 4AB0 B07F F974 A05A F5F4 2CA8 ECDB EB0E 0CB7

To claim this, I am signing this object:

Extensible Scalable Coopetitive High Availability Trade Optimization Network: ESCHATON

I am the Eschaton; I am not your God.

I am descended from you, and exist in your future.

Thou shalt not violate causality within my historic light cone. Or else.

Singularity Sky by Charles Stross

This is my recommended path for learning Haskell.

Something to keep in mind: don't sweat the stuff you don't understand immediately. Just keep moving.

Primary course

Installing Haskell

Ubuntu PPA

# in /usr/share/xsessions
[Desktop Entry]
Name=Xmonad GNOME
Comment=Tiling window manager
TryExec=/usr/bin/gnome-session
Exec=gnome-session --session=xmonad
Type=XSession
@byrongibson
byrongibson / notes.md
Last active August 29, 2015 13:58
4/7 SF Bitcoin Devs Meetup: DevOps & Security
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
FROM base
MAINTAINER Brian L. Troutwine "brian@troutwine.us"
RUN apt-get update
RUN apt-get install -y curl
RUN curl -O https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
RUN dpkg -i erlang-solutions_1.0_all.deb
RUN apt-get update
## The Problem
Standard practices say no non-root process gets to talk to the Internet on a port less than 1024. How, then, could I get Node talking on port 80 on EC2? (I wanted it to go as fast as possible and use the smallest possible share of my teeny tiny little micro-instance's resources, so proxying through nginx or Apache seemed suboptimal.)
## The temptingly easy but ultimately wrong solution:
Alter the port the script talks to from 8000 to 80:
}).listen(80);