Skip to content

Instantly share code, notes, and snippets.

@belfortk
belfortk / iterm2-solarized.md
Created May 29, 2019 15:48 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@belfortk
belfortk / quick_install_memcached_mac.sh
Created October 3, 2018 19:25 — forked from anthonywu/quick_install_memcached_mac.sh
Quick install memcached on Mac OS X
# install via Homebrew
brew install memcached
# optional: make memcached start along with the system
ln -sfv /usr/local/opt/memcached/*.plist ~/Library/LaunchAgents
# load memcached now for immediate use
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist
# check the process that just launched

Express Drills

The goal of this recurring exercise is to quickly scaffold a JavaScript server from memory without the aid of documentation or notes.

Exercise instructions

Regularly practice creating the following three types of express apps:

  • An express app that provides a basic web server using middleware to serve static content.
  • An express app that uses routing to return a response from a requested resource.