Skip to content

Instantly share code, notes, and snippets.

@greemwahr
greemwahr / readlineCalc.js
Created March 3, 2017 01:09
RisingStack Node Hero Readline Challenge
'use strict'
// app/readlineCalc.js
const readline = require('readline')
// const calc = require('./calc')
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
})
@zepplock
zepplock / run phoenix on amazon linux.sh
Created April 6, 2016 19:43 — forked from eikes/run phoenix on amazon linux.sh
run phoenix on amazon linux
# app deps
sudo yum install git
# erlang deps
sudo yum groupinstall "Development Tools"
sudo yum install ncurses-devel
# erlang
wget http://www.erlang.org/download/otp_src_18.1.tar.gz
tar -zxvf otp_src_18.1.tar.gz
@bradmontgomery
bradmontgomery / python_projects.md
Last active January 22, 2021 20:27
How I start and manage my python projects.

How I organize my python projects

This is applicable to both OS X and Linux. I use the same tools on both systems. In this guide, I'm going to set up an environment for a Flask app.

Setup

  1. I start by installing pip, virtualenv, then virtualenvwrapper. I seldom use virtualenv directly; I use the wrapper tools instead.
  2. I create a virtualenv for my project: