Skip to content

Instantly share code, notes, and snippets.

View NeuroWinter's full-sized avatar
🎯
Always something to do.

Alex Manson NeuroWinter

🎯
Always something to do.
View GitHub Profile
"""""""""""""""""""""""""""""""""""""
" Allan MacGregor Vimrc configuration Edited by NeuroWinter
"""""""""""""""""""""""""""""""""""""
set encoding=utf8
call plug#begin('~/.vim/plugged')
" Plugins go here
Plug 'scrooloose/nerdtree'
# zmodload zsh/zprof # Uncomment this if you need to see what is taking so long to load
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/alex.manson/.oh-my-zsh"
export NVM_LAZY=1
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
function a(b) {
c = "", d = b.split("\e"); // split the input into lines by using \e as the delimitator
for (var e = 0; e < d.length; e++) {
f = d[e].replace(/^\s+|\s+$/g, ''); // removes white space
if (f.indexOf("begin") === 0 || f.indexOf("end") === 0 || f === "") continue; // skip the lines that start with begin, end or are empty
var g = (f.charCodeAt(0) - 32) & r3;
for (var h = 1; h < f.length; h += 4) {
if(h + 3 >= f.length) break; // if the line is shorter than 4 characters, break the loop
var i = (f.charCodeAt(h) - 32) & r3,
j = (f.charCodeAt(h + 1) - 32) & 63,