Skip to content

Instantly share code, notes, and snippets.

@jarretmoses
jarretmoses / README.md
Created February 25, 2016 17:27 — forked from agnoster/README.md
My ZSH Theme

agnoster.zsh-theme

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

# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
#
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://gist.github.com/1595572).
#
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.5/bin/
export ANDROID_HOME=~/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
ZSH=$HOME/.oh-my-zsh
# PROMPT
BULLETTRAIN_TIME_SHOW=false
cypress:cli cli starts with arguments ["/usr/local/bin/node","/Users/jarretmoses/Dev/web/node_modules/.bin/cypress","open"] +0ms
cypress:cli NODE_OPTIONS is not set +0ms
cypress:cli program parsing arguments +2ms
cypress:cli opening Cypress +1ms
cypress:cli parsed cli options {} +35ms
cypress:cli opening from options {"project":"/Users/jarretmoses/Dev/web"} +0ms
cypress:cli command line arguments ["--project","/Users/jarretmoses/Dev/web"] +0ms
cypress:cli verifying Cypress app +0ms
cypress:cli checking environment variables +1ms
@jarretmoses
jarretmoses / debounce.js
Created October 29, 2019 15:49
Debounce from Scratch
const debounce = (callback, wait) => {
let timeout = null;
return (...args) => {
clearTimeout(timeout);
timeout = setTimeout(() => {
callback.apply(this, args);
}, wait);
};
@jarretmoses
jarretmoses / 3.8.x_run_a_test.js
Created December 27, 2019 20:49
Output from clicking and running a test through dev giu on 3.8.x
cypress: server: events got request for event: close: browser, undefined + 9 s
cypress: server: events sending ipc data {
type: 'close:browser',
data: {
id: 0.41759796470795063,
data: undefined
}
} + 0 ms
cypress: server: events got request for event: launch: browser, {
browser: {
@jarretmoses
jarretmoses / 3.7.0_run_a_test.js
Last active December 27, 2019 20:49
Running a test through the dev gui
Cypress / cy / production / projects / web - b86ba6be701b62eddebf7f0baf8415dc / state.json + 1 ms
cypress: server: file gettin lock succeeded or failed
for / Users / jarretmoses / Library / Application Support / Cypress / cy / production / projects / web -
b86ba6be701b62eddebf7f0baf8415dc / state.json + 0 ms
cypress: server: file read / Users / jarretmoses / Library / Application Support / Cypress / cy / production /
projects / web - b86ba6be701b62eddebf7f0baf8415dc / state.json + 0 ms
cypress: server: file read succeeded or failed
for / Users / jarretmoses / Library / Application Support / Cypress / cy / production / projects / web -
b86ba6be701b62eddebf7f0baf8415dc / state.json + 1 ms
cypress: server: file attempt to unlock / Users / jarretmoses / Library / Application Support / Cypress / cy /
@jarretmoses
jarretmoses / 3.8.x-cy-open.js
Last active December 27, 2019 20:50
Some output of running cypress open on v 3.8.x
cypress: cli: cli cli starts with arguments["/usr/local/bin/node",
"/Users/jarretmoses/Dev/web/node_modules/.bin/cypress", "open"] + 0 ms
cypress: cli NODE_OPTIONS is not set + 0 ms
cypress: cli: cli program parsing arguments + 2 ms
cypress: cli: cli opening Cypress + 1 ms
cypress: cli parsed cli options {} + 47 ms
cypress: cli opening from options {
"project": "/Users/jarretmoses/Dev/web"
} + 0 ms
cypress: cli command line arguments["--project", "/Users/jarretmoses/Dev/web"] + 0 ms
@jarretmoses
jarretmoses / 3.7.0-cy-open.js
Last active December 27, 2019 20:50
Some output of debug from cypress open command on 3.7.0
cypress: cli cli starts with arguments["/usr/local/bin/node", "/Users/jarretmoses/Dev/web/node_modules/.bin/cypress",
"open"] + 0 ms
cypress: cli NODE_OPTIONS is not set + 0 ms
cypress: cli program parsing arguments + 2 ms
cypress: cli opening Cypress + 1 ms
cypress: cli parsed cli options {} + 46 ms
cypress: cli opening from options {
"project": "/Users/jarretmoses/Dev/web"
} + 0 ms
cypress: cli command line arguments["--project", "/Users/jarretmoses/Dev/web"] + 0 ms