Skip to content

Instantly share code, notes, and snippets.

View ryanmaffey's full-sized avatar

Ryan Maffey ryanmaffey

View GitHub Profile
@ryanmaffey
ryanmaffey / oneWayWindowResizeEvents.js
Last active June 28, 2017 11:22
Dispatches events on the window object whenever the screen is resized horizontally or vertically (or both).
/*******************************************************************************
* One way screen resize events.
* =============================
* Dispatches events on the window object whenever the screen is resized
* horizontally or vertically (or both).
*
* Horizontal resize.
* ------------------
* If the screen has been resized horizontally, the "horizontalResize" event is
* dispatched. Example usage:
@ryanmaffey
ryanmaffey / .bash_profile
Created October 16, 2017 06:53
Some helpful Bash aliases & methods
# Choco
alias choco_ls='choco list --local-only --all-versions --include-programs';
# Git
alias g_status='git fetch && git status';
alias g_cm='git add . && git commit -m';
alias g_co='git checkout .';
g_sync () {
git add . && git commit -m '$1' && git pull && git push;
@ryanmaffey
ryanmaffey / .gitconfig
Last active April 16, 2020 15:08
Git Config Aliases
[http]
sslVerify = false
[user]
name = Ryan Maffey
email = ryan.maffey@gmail.com
[pull]
rebase = true
[winUpdater]
recentlySeenVersion = 2.26.0.windows.1
[alias]
@ryanmaffey
ryanmaffey / extensions.md
Last active September 4, 2020 09:17
VS Code Setup

TODOs

  • wayou.vscode-todo-highlight
  • fabiospampinato.vscode-todo-plus

Intellisense

  • christian-kohler.npm-intellisense
  • christian-kohler.path-intellisense

npm

  • eg2.vscode-npm-script