Skip to content

Instantly share code, notes, and snippets.

View natea's full-sized avatar

Nate Aune natea

View GitHub Profile
@funkotron
funkotron / docker_create_treeio.sh
Last active December 18, 2019 17:56
Using Docker (requires docker to be installed http://www.docker.io/gettingstarted/ ), spawn a postgresql instance and a dynamically configured treeio instance.
#!/bin/bash
# Description: Using Docker (requires docker to be installed http://www.docker.io/gettingstarted/ ), spawn a postgresql instance and a dynamically configured treeio instance
# Also requires postgresql client tools http://www.postgresql.org/download/linux/ubuntu/
# Run chmod +x to make this file executable then run it: ./docker_create_treeio.sh
# Author: Adam Awan
# Email: adam@tree.io
# Set the port to forward for Tree.io
TREEIO_PORT="80"
@dangtrinhnt
dangtrinhnt / server-vars.yml
Last active December 31, 2020 15:51
Open edX server-vars.yml variables
# variables common to the lms role, automatically loaded
# when the role is included
---
# These are variables that default to a localhost
# setup and are meant to be overwritten for
# different environments.
#
# Variables in all caps are environment specific
# Lowercase variables are internal to the role
@so0k
so0k / boot2docker-setup.sh
Last active October 8, 2015 04:39
shell script to setup a shared folder with host system & pull some useful tools
#create data directory to contain any data we want persisted
sudo mkdir /var/lib/boot2docker/data && sudo chown docker:staff /var/lib/boot2docker/data
#pull busybox and set it up as a data volume container
docker run -v /var/lib/boot2docker/data:/data --name data-share busybox true
#pull svendowideit/samba and run it with the data-share container
#docker run --rm -v $(which docker):/docker -v /var/run/docker.sock:/docker.sock svendowideit/samba data-share
#make sure the samba share runs next time boot2docker starts
@davisagli
davisagli / gist:23663cfa164460f3b3a2
Created September 25, 2014 19:47
Using the CloudShare API from Python
from hashlib import sha1
import random
import requests
import string
import time
# these come from your CloudShare account page
USER_ID = ''
KEY = ''
@carsongee
carsongee / course_git_backup.sh
Created January 20, 2015 14:50
course backup to git script for edx-platform
#!/bin/bash
# This script assumes that the git repository is already cloned
# App specifics
EDXAPP_USER="edxapp"
EDXAPP_VENV="/edx/app/edxapp/venvs/edxapp"
EDXAPP_DIR="/edx/app/edxapp/edx-platform"
# Git specifics
export GIT_KEY="/edx/app/course_git_backup/git_backup_deploy"
@lvnilesh
lvnilesh / stand-up-edx-birch
Last active August 29, 2015 14:15
Stand up edx named-release/birch/rc on digital ocean droplet (or just about any ubuntu precise machine)
sudo su
mkdir -p /tmp
echo 'tmpfs /tmp tmpfs defaults,noatime,mode=1777,nosuid,size=512M,exec 0 0' >> /etc/fstab
mount -a
apt-get update
apt-get -y install git python python-pip python-virtualenv virtualenvwrapper python-dev gcc autoconf g++ python2.7-dev ca-certificates
rm -rf /var/tmp/configuration
@lvnilesh
lvnilesh / db-config.yml
Created March 11, 2015 21:58
db-config.yml
---
database_connection: &default_connection
login_host: "localhost"
login_user: "root"
login_password: "password"
DEFAULT_ENCODING: "utf8"
databases:
@simpsoka
simpsoka / philosophy.md
Last active March 29, 2026 22:11
simpsoka product philosophy

Product managers

  • Seek out failure, it teaches us to think like a scientist. If you start with a hypothesis, then try to prove yourself wrong, you’re bound to make much better decisions. You have to be willing to fail, and that in itself is going to help you build confidence and be more convicted about what your strategy is in the end.
  • There are hundreds of methods for building products and running teams. As a quality PM, it's important to have an open mind about all of it, but finding your own process and philosophy can be grounding. It helps you find your pillars so that you don't smash into things while you're building. Remember, however, that you can always find a budget for remodeling. 😉
  • The beauty of a good process is when it just becomes how you do your work. When you forget you're following a process at all is when you know the process is working for you, your team, your company, and your customers.
  • The advice I give new Product Managers or PMs coming onto a team for the first