A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
import fs from 'fs/promises'; | |
const rules = [ | |
{ | |
rule: /var ([^=]+)( = F\d\([^f]+function)[^(]\(/gmi, | |
replacement: `var $1$2 __$1( `, | |
}, | |
{ | |
rule: /(\sA\d\([\s]+)([^,]+)(,[\s]+)(function[^(]+)\(/gm, | |
replacement: `$1$2$3$4___$2(`, | |
}, |
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
100+ different js counter apps... |
window.customElements.define("elm-portal", class extends HTMLElement { | |
// Base custom element stuff | |
constructor() { | |
super(); | |
this._targetNode = document.createElement('div'); | |
} | |
connectedCallback() { | |
document.querySelector(this.getAttribute("data-target-selector")).appendChild(this._targetNode); | |
} |
# ~/.gitconfig | |
# Add this to your global git configuration file | |
# Change phpstorm to webstorm, if you use that. | |
# Diff and merge tool changes | |
# Run `git difftool <directory/file>...` or `git mergetool <directory/file>...` | |
[merge] | |
tool = phpstorm | |
[diff] | |
tool = phpstorm |
/* @flow */ | |
type Tree<T> = | |
| { type: "Node", value: T, left: Tree<T>, right: Tree<T> } | |
| { type: "EmptyTree" } | |
function find<T>(p: (v: T) => boolean, t: Tree<T>): T | void { | |
var l, v | |
if (t.type === "Node") { |
I spent six months traveling around the world with my partner Jen. It was one of the most fulfilling and exciting things I've ever done.
This document lists my route, December 2016 to May 2017.
I'm back in Portland, Oregon! I am so thankful for the opportunity to have spent six months traveling around the world while working remotely. It was one of the most fulfilling experiences of my life. I am back in Portland to stay and excited to call it home. I'm looking forward to re-establishing my yoga practice and getting in skydives toward by B license.
During my travels, I was able to visit thirteen countries: New Zealand, Australia, Indonesia, Taiwan, Malaysia, Thailand, India, Singapore, the United Arab Emirates, Egypt, Morocco, Spain and Canada. All but the last two were new experiences for me. Working while traveling permitted me to stay longer to get a feel for the local culture, and also gave me a feel for local life by requiring me to find wifi and cafes to work.
## "Legacy" by Alana Henderson | |
[Listen to the MP3](https://cloudup.com/ctZJZshxYSY) or [watch the performance](https://vimeo.com/77273417) | |
__*leg·a·cy*__ | |
1. *noun*: anything handed down from the past, as from an ancestor or predecessor | |
2. *adjective*: of or pertaining to old or outdated computer hardware, software, or data that, while still functional, does not work well with up-to-date systems | |
## Lyrics |