Skip to content

Instantly share code, notes, and snippets.

View somersbmatthews's full-sized avatar
😀
hello

Somers B Matthews somersbmatthews

😀
hello
  • Phoenix, AZ
  • 23:37 (UTC -04:00)
View GitHub Profile
@somersbmatthews
somersbmatthews / git_checkout_master.sh
Last active September 11, 2019 03:07
go to git head #git
git checkout master
@somersbmatthews
somersbmatthews / gitremoval.sh
Created September 30, 2019 07:34
remove git tracking from directory
trash -rf .git
@somersbmatthews
somersbmatthews / .travis.yml
Created November 7, 2019 15:31
.travis.yml for ember app
---
branches:
only:
- master
cache:
directories:
# We cache the SDK so we don't have to download it again on subsequent builds.
- $HOME/google-cloud-sdk
@somersbmatthews
somersbmatthews / rabbitmq-server-start.sh
Created November 15, 2019 01:29
rabbitmq start server
rabbitmq-server start
@somersbmatthews
somersbmatthews / ecto_create.sh
Created November 24, 2019 06:03
ecto create database command
mix ecto.create
@somersbmatthews
somersbmatthews / rails_rspec_help.sh
Last active November 27, 2019 10:27
list all rails rspec generators #rails #railsnew
rails generate --help | grep rspec
@somersbmatthews
somersbmatthews / rails_api_notest_postgresql.sh
Created November 27, 2019 10:25
rails new app generator no tests api only postgres
rails new project-name-here --skip-test --api --database=postgresql
@somersbmatthews
somersbmatthews / gcp_multizonal_kubernetes.sh
Created November 27, 2019 13:43
multizonal kubernetes cluster #kubernetes #gcp
gcloud container clusters create circle-ci-cluster --zone us-central1-a --node-locations us-central1-a,us-central1-b,us-central1-f --num-nodes 2 --enable-autoscaling --min-nodes 1 --max-nodes 4
@somersbmatthews
somersbmatthews / cantfindbundleurl.sh
Last active December 9, 2019 13:27
in case react native can't find bundle url #reactnative #metro #bundler
rm -rf ios/build/ && kill $(lsof -t -i:8081) && watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ rm -f package-lock.json && npm cache clean --force && rm -rf /tmp/metro-* && npm cache verify && npm install && react-native start --reset-cache && react-native run-ios
@somersbmatthews
somersbmatthews / restart_shell.sh
Created June 4, 2020 03:38
#bash #shell #zsh
exec -l $SHELL