Skip to content

Instantly share code, notes, and snippets.

View wass3r's full-sized avatar
❄️

david m wass3r

❄️
View GitHub Profile
@wass3r
wass3r / clone_repos.sh
Last active May 4, 2020 16:25
clone all repos in org
curl -s https://api.github.com/orgs/<ORG_NAME>/repos\?per_page\=100 | jq '.[].ssh_url' | xargs -n 1 git clone
@wass3r
wass3r / init.vim
Last active November 28, 2018 04:58
new version of neovim config
" vim-bootstrap b0a75e4
"*****************************************************************************
"" Vim-PLug core
"*****************************************************************************
if has('vim_starting')
set nocompatible " Be iMproved
endif
let vimplug_exists=expand('~/.config/nvim/autoload/plug.vim')
@wass3r
wass3r / .editorconfig
Last active April 23, 2019 19:44
base editorconfig
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
@wass3r
wass3r / Vagrantfile
Created January 3, 2018 13:33
IE on MacOS
# Download box from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
# or http://www.fitzweekly.com/2016/04/download-windows-virtual-machine-images.html
Vagrant.configure(2) do |config|
config.vm.box = "IE11Win10"
config.vm.box_url = "MSEdge-Win10TH2.box"
config.vm.synced_folder ".", "/vagrant", disabled: true # if not provisioned?
# config.vm.synced_folder "./ExtraFolder", "c:/ExtraFolder", create: false # if provisioned?
config.ssh.insert_key = false
config.ssh.username = "IEUser"
config.ssh.password = "Passw0rd!"
@wass3r
wass3r / neovim
Created August 7, 2017 05:27
neovim setup
https://github.com/rafi/vim-config
with following patch
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
modified: config/plugins.yaml
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
@ plugins.yaml:245 @
if: empty($VIM_MINIMAL)
on_cmd: Limelight
export GOPATH=~/go
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GRADLE_HOME/bin
export PATH=$PATH:$JAVA_HOME/bin
export GREP_COLOR='1;31'
export EDITOR='nvim'
export BROWSER='open -a firefox'
alias la='exa -la --git --group-directories-first --sort=mod'
alias dls='ls -d1 .*/ */'
@wass3r
wass3r / Brewfile
Last active October 6, 2022 19:16
Initial Mac Setup, run with `brew bundle` (after installing brew of course)
#
# ____ ____ ___ __ __ _____ ____ _ ___
# | \ | \ / _] T__T T| |l j| T / _]
# | o )| D ) / [_| | | || __j | T | | / [_
# | T| / Y _] | | || l_ | | | l___ Y _]
# | O || \ | [_l ` ' !| _] | | | T| [_
# | || . Y| T\ / | T j l | || T
# l_____jl__j\_jl_____j \_/\_/ l__j |____jl_____jl_____j
#
# install with:
@wass3r
wass3r / .osx
Last active October 16, 2024 09:42
My OSX Setup Script
#!/usr/bin/env bash
# copy locally first via: curl -o .osx https://gist.github.com/raw/ef4340becd1624d3f041
# ~/.osx — https://mths.be/osx
# Command-R while booting up
# Launch Terminal
# csrutil disable
# reboot
# -
@wass3r
wass3r / setup.sh
Created February 25, 2016 19:02 — forked from iainconnor/setup.sh
OSX Setup
# Get Sudo.
if [ $EUID != 0 ]; then
sudo "$0" "$@"
exit $?
fi
# Install Xcode command line tools.
xcode-select --install
# Install Homebrew.
@wass3r
wass3r / fish_prompt.fish
Created April 4, 2015 05:04
Fish Config
function _common_section
printf $c1
printf $argv[1]
printf $c0
printf ":"
printf $c2
printf $argv[2]
printf $argv[3]
printf $c0
printf " $c9| "