Skip to content

Instantly share code, notes, and snippets.

View hillaryj's full-sized avatar

Hillary hillaryj

View GitHub Profile

Keybase proof

I hereby claim:

  • I am hillaryj on github.
  • I am hillaryaj (https://keybase.io/hillaryaj) on keybase.
  • I have a public key ASC3BUM_3NGi9jBxq-IPUSLUkyZnBC155tMOhtOOZtTAkAo

To claim this, I am signing this object:

@hillaryj
hillaryj / cg-dev-experimental-branch.md
Last active July 9, 2019 18:34
cloud.gov: Point DEV to an experimental branch via updating the pipeline

Current state

Currently, dev and staging are deployed-to simultaneously by the deployment pipeline, then later to prod. The current intent is that dev can be pointed at an experimental branch, while prod and staging stay pointed at the trunk.

How to update the pipeline

  • E.g. to update the dev environment to use an experimental branch instead of the trunk, retrieve the pipeline:
    • fly -t fr gp -p my-pipeline > pipeline.yml
  • Edit the pipeline file, for example with vim
  • vim pipeline.yml
@hillaryj
hillaryj / Gyoza-meatballs.md
Created July 7, 2019 01:50
Recipe for gyoza meatballs

Ingredients:

Meatballs:

  • 1/4 pound shitake mushrooms, stemmed and finely chopped
  • 1/8 head cabbage, very thinly sliced (about 1 cup)
  • 1 tablespoon coconut aminos or homemade substitute
  • 1 pound ground pork
  • 1/2 cup water chestnuts, minced
  • 2 scallions, very thinly sliced (about 1/4 cup)
@hillaryj
hillaryj / cloudgovdev.md
Last active July 26, 2019 14:59
How to get set up with Cloud.gov on a GSA Mac

Installing a development environment for cloud.gov

  • [Optional] If this is a new GSA-provided laptop, it likely does not come with brew installed. Install brew and other tools via the 18F platform scripts from the 18F laptop repo
    • bash <(curl -s https://raw.githubusercontent.com/18F/laptop/master/laptop)
  • Install CloudFoundry for mac per their docs
    • brew tap cloudfoundry/tap
    • brew install cf-cli
    • brew install cloudfoundry/tap/bosh-cli
    • brew install openssl
  • An existing cloud.gov teammate facilitator will make your account
@hillaryj
hillaryj / cmd_refs.md
Last active March 26, 2019 14:25
Command line refs

Contains various commands that are useful that I've had to look up before.

Install via homebrew to specific folder

brew cask install --appdir="~/Applications" <package-name>

Clean up homebrew

brew cleanup -s

@hillaryj
hillaryj / macfixes.md
Last active March 26, 2019 14:23
Mac fixes

Terminal commands to fix or change things without sudo on a managed machine.

System time change from terminal

Commands for changing the ribbon time display without system permissions

24 hour time

defaults write com.apple.menuextra.clock DateFormat "EEE MMM d H:mm"
@hillaryj
hillaryj / ssh_key_setup.md
Last active March 26, 2019 14:20
SSH key setup for no-password login

Don't use a password. Generate a passphraseless SSH key and push it to your VM/server.

If you already have an SSH key, you can skip this step. Just hit Enter for the key and both passphrases:

$ ssh-keygen -t rsa -b 2048
Generating public/private rsa key pair.
Enter file in which to save the key (/home/<username>/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
@hillaryj
hillaryj / Package Control.sublime-settings
Last active October 10, 2018 12:45
Sublime Text 3 Settings
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"Anaconda",
"GitGutter",
"Package Control",