Skip to content

Instantly share code, notes, and snippets.

View skipzero's full-sized avatar
Seeking new opportunities

Skip McBride skipzero

Seeking new opportunities
View GitHub Profile
@skipzero
skipzero / readme.md
Created May 27, 2025 05:31 — forked from anthonyray/readme.md
Setting up OhMyZsh on a rapsberry Pi
  1. Connect to your raspberry Pi with SSH
  2. Install zsh : sudo apt-get update && sudo apt-get install zsh
  3. Edit your passwd configuration file to tell which shell to use for user pi : sudo vim /etc/passwd and change /bin/bash and /bin/zsh
  4. Reconnect to your raspberry, and check that zsh is the shell with echo $0.
  5. Switch to root : sudo su
  6. Install OhMyZsh : sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
  7. Disconnect from your instance and reconnect it.
@skipzero
skipzero / mocha-guide-to-testing.js
Created March 13, 2018 23:43 — forked from samwize/mocha-guide-to-testing.js
Explain Mocha's testing framework - describe(), it() and before()/etc hooks
// # Mocha Guide to Testing
// Objective is to explain describe(), it(), and before()/etc hooks
// 1. `describe()` is merely for grouping, which you can nest as deep
// 2. `it()` is a test case
// 3. `before()`, `beforeEach()`, `after()`, `afterEach()` are hooks to run
// before/after first/each it() or describe().
//
// Which means, `before()` is run before first it()/describe()
@skipzero
skipzero / .tmux.conf
Last active September 28, 2019 18:09 — forked from olexpono/.tmux.conf
tmux.conf 2017
# use 256 term for pretty colors
set -g default-terminal "xterm-256color"
set -g status-bg black
set -g status-fg green
set-window-option -g clock-mode-colour brightyellow
# increase scroll-back history
set -g history-limit 1000000
# ~use vim key bindings~
@skipzero
skipzero / osx-setup.sh
Last active March 20, 2018 18:51 — forked from somebox/osx-setup.sh
WIP: Set up an OSX machine from zero to awesome. Uses Homebrew (and cask, fonts, etc). includes editor fonts, Atom, and many others.
#!/bin/zsh
# A script to set up a new mac. Uses zsh, homebrew, etc.
# Includes many utilities and apps:
# - homebrew, node
# - terminal fonts
# - browsers: chrome, firefox
# - dev: iterm2, atom, postgres, chrome devtools, etc.
# - team: slack, dropbox, google drive, etc
@skipzero
skipzero / README.md
Created November 21, 2017 23:00 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
@skipzero
skipzero / .gitconfig
Last active October 13, 2017 18:44 — forked from pksunkara/config
Example .gitconfig
[user]
name = skip zero
email = skip+zero@angerbunny.com
[core]
editor = nano
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
#[sendemail]
# smtpencryption = tls
# smtpserver = smtp.gmail.com
@skipzero
skipzero / byobuCommands
Created December 3, 2016 07:00 — forked from jshaw/byobuCommands
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window
/*************************************************
* This is a simple Monte Carlo simulation to see
* whether we should
* go for X BIG deal and/or Y SMALL deals.
*
* What is the best blend?
*
* Author: Ido Green | plus.google.com/+greenido
* Date: 16 July 2013
*
@skipzero
skipzero / System Design.md
Created October 3, 2016 04:21 — forked from greenido/System Design.md
System Design Cheatsheet

#System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

##Basic Steps

  1. Clarify -> Agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@skipzero
skipzero / 0_reuse_code.js
Created July 26, 2016 01:53
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console