Skip to content

Instantly share code, notes, and snippets.

View HoffsMH's full-sized avatar

Matt H HoffsMH

View GitHub Profile
@HoffsMH
HoffsMH / Deviled Eggs.md
Last active August 18, 2020 01:07
Egg recipes.

Smoky Deviled Eggs

General tips

  • quality of eggs is key (try to aim for free range eggs)

    • fresher eggs are more likely to have their yolk in center of egg mass making it easier to make nicer centered deviled eggs
  • over boiling results in iron buildup around yolk of egg (which affects taste) and chalkier texture. Ideally you want just one step past "gel", solid but still soft.

  • Its ok to discard some egg whites in order to make sure you get get a heaping spoonful on each egg. to that end always boil more eggs than you plan on serving.

  • remove every item from dock
  • make dock small
  • auto hide dock
  • auto hide menu bar
  • keyboard -> key repeat fast
  • battery in menu bar -> show percentage
  • open display preferences -> show mirroring options in menu bar - disabled
  • trackpad -> disabled force click -> secondary click with 2 fingers -> scroll direction -> normal
@HoffsMH
HoffsMH / flavor_crystal.rb
Created July 20, 2018 19:14
short demonstration of publishing to phoenix websocket server
class FlavorCrystalRequest
URL = 'http://localhost:4000/api/publish'
attr_reader :channel, :type, :message
def initialize(channel:, type:, message:)
@channel = channel
@type = type
@message = message
end
@HoffsMH
HoffsMH / install-everything.sh
Last active April 22, 2018 21:27
taco time
#!/usr/bin/env bash
open https://www.sync.com
open https://1password.com/downloads/
open https://slack.com/downloads/osx
open https://pqrs.org/osx/karabiner/
open https://www.sublimetext.com/3
open https://store.docker.com/editions/community/docker-ce-desktop-mac
open http://brettterpstra.com/projects/nvalt/
open https://www.iterm2.com/downloads.html
#!/usr/bin/env bash
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" \
&& brew update \
&& brew install \
cask \
wget \
mackup \
gcc \
youtube-dl \
@HoffsMH
HoffsMH / git-tag-delete-local-and-remote.sh
Created April 11, 2018 13:08 — forked from mobilemind/git-tag-delete-local-and-remote.sh
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@HoffsMH
HoffsMH / p
Created December 21, 2016 20:58
hi

Things that if installing from repo didn't go well we can still do here

  • Note: important to do system settings part 1 before this.
  • Note2: only do this manually if github repo doesn't work
  • karabiner
  • seil
  • follow guide

iterm2

@HoffsMH
HoffsMH / laptop-setup.md
Last active July 11, 2016 03:13
Steps for setting up a new laptop

Copy raw file and paste to new gist for each new setup so you can check off

This will not include any personal files other than:

  • dropbox

entry point requirements:

  • apple-id

App store

  • xcode