Skip to content

Instantly share code, notes, and snippets.

set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
// Paste this in the console of Roll20
// For Creative Suite Esque panning.
// Only tested in Chrome
document.body.onkeydown = function(e) {
if(e.keyCode == 32){
document.querySelector('.choosepan').click();
}
};
document.body.onkeyup = function(e) {
if(e.keyCode == 32){
@rjksn
rjksn / command.sh
Created November 1, 2018 15:30
Update Ubuntu System Time
# See https://askubuntu.com/questions/81293/what-is-the-command-to-update-time-and-date-from-internet
sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"
@rjksn
rjksn / bashadditions
Last active September 20, 2017 13:30
Bash Settings
# Git Bash Command Line
gitBranch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\[\033[90m\]\u@\h \[\033[38;5;39m\]\w\[\033[38;5;220m\]\$(gitBranch)\[\033[00m\] $ "
alias ls='ls -GFh'
alias ..='cd ..'