Skip to content

Instantly share code, notes, and snippets.

😍
Advocating for Humans

Joshua Timberman jtimberman

😍
Advocating for Humans
Block or report user

Report or block jtimberman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View sw-chicken-tostadas
Gluten free. Easily dairy free (skip the cheese).
Serves four
1 lb chicken
1 poblano pepper
1 Anaheim pepper
1 cup dry black beans
1 cup frozen corn
Half cup cilantro
View gist:128ae11e81bfd7d1689712a9e190a56a
Gluten free. Easily dairy free (skip the cheese).
Serves four
1 lb chicken
1 poblano pepper
1 Anaheim pepper
1 cup dry black beans
1 cup frozen corn
Half cup cilantro
@jtimberman
jtimberman / jtimberman.zsh
Last active Jun 13, 2018
jtimberman.zsh-theme - but with -theme it doesn't syntax highlight....
View jtimberman.zsh
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$reset_color%} %{$fg[red]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$reset_color%} %{$fg[green]%}✔%{$reset_color%}"
function chef_profile_prompt() {
[[ -n $CHEF_PROFILE ]] && echo " %{%F{blue}%}${CHEF_PROFILE}%{$reset_color%}"
}
function aws_profile_prompt() {
@jtimberman
jtimberman / gist:420eca4c2986e458120f963b80227bd5
Created May 1, 2018 — forked from spudbean/gist:1558257
Look of disapproval and other emoticons
View gist:420eca4c2986e458120f963b80227bd5
ಠ_ಠ
( ͡° ͜ʖ ͡°)
¯\_(ツ)_/¯
(╯°□°)╯︵ ┻━┻
http://www.fileformat.info/convert/text/upside-down.htm
WRTTN http://wrttn.me/30dbfd/
Unicode Emoticons
View setup-private-habitat-depot.md

Prerequisites

You'll need to have a system running that is accessible through a DNS record. It should have access to the public Habitat depot, https://app.habitat.sh so it can download the required packages.

You'll need to register an OAuth application for GitHub. You need the client ID and client secret that are created for the application later in this guide. Your system needs to have access to https://github.com so that it can authenticate.

Your system also needs to have an FQDN that can be resolved, for example depot.example.com. This will be used in your OAuth application's "Authorization Callback URL." For this example, use http://depot.example.com/#/sign-in. The /#/sign-in is required.

Operating System

@jtimberman
jtimberman / dynamic-fonts.el
Last active May 23, 2016 — forked from arnab/dynamic-fonts.el
Dynamically adjust fonts in emacs based on screen resolution (Retina vs. Thunderbolt)
View dynamic-fonts.el
;; Gist-ed from in https://github.com/arnab/emacs-starter-kit
(defun fontify-frame (frame)
(interactive)
(if window-system
(progn
(if (> (x-display-pixel-width) 2000)
(set-frame-parameter frame 'font "Inconsolata 19") ;; Cinema Display
(set-frame-parameter frame 'font "Inconsolata 16")))))
View gist:ef3bbc438b7ede1a84a2
View user_data_hardening.sh
#!/bin/bash
# user-data-hardening.sh
# Authors: Cody Bunch (bunchc@gmail.com)
#
# Script intended to be supplied as userdata to a cloud of some flavor.
# Enables some sane sysctl defaults, turns up iptables, and
# installs a HIDS / NIDS package
# Supply your email here
email_address="userdata@mailinator.com"
View atREADME.md

Tested with Ruby 2.1.4.

Install the Octokit gem.

gem install octokit -v 3.7.0

View atREADME.md

Tested with Ruby 2.1.4.

Install the Octokit gem.

gem install octokit -v 3.7.0

You can’t perform that action at this time.