Skip to content

Instantly share code, notes, and snippets.

View curtisspendlove's full-sized avatar

Curtis Spendlove curtisspendlove

View GitHub Profile
@curtisspendlove
curtisspendlove / sample-jb-shownotes-links-howto-guide.md
Last active April 22, 2023 01:19
Example for a potential solution: do Gists provide a community-editable option for up-to-date, show-notes-linkable, clean, simple how-tos
@curtisspendlove
curtisspendlove / clean_docker_rails.sh
Last active May 10, 2017 17:02
bin/bash script to build a clean install of docker/rails (run from inside a new directory ... mkdir rails_project && cd rails_project && bash <(curl -s https://gist.githubusercontent.com/curtisspendlove/5b4d2d931a1023f0fa3c653c0038967e/raw/357db84f9bb7cc566425e772802ae56ad11e2aab/clean_docker_rails.sh))
#!/usr/bin/env bash
#touch Gemfile
touch Gemfile.lock
#touch Dockerfile
#touch docker-compose.yml
cat > Dockerfile << EOF
FROM ruby:2.4.1
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs