Skip to content

Instantly share code, notes, and snippets.

View a-morales's full-sized avatar

Antonio Morales a-morales

View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@a-morales
a-morales / connect-vpn
Created November 6, 2015 20:15
connect to VPN
#!/usr/bin/env bash
# change FOO to whatever the VPN connection name is called
# set FOO_VPN_PASS as the password to automatically connect
# for manual connection delete lines 10-12
/usr/bin/env osascript <<-EOF
tell application "System Events"
set status to do shell script "scutil --nc status FOO"
if status does not start with "Connected" then
@a-morales
a-morales / vimrc
Created January 27, 2014 17:09
.vimrc
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
Bundle 'gmaric/vundle'
"Vim bundles"
Bundle 'airblade/vim-gitgutter'
@a-morales
a-morales / .tmux.conf
Last active December 30, 2015 00:59
my .tmux.conf file along with the scripts I use for the status bar. I am using the following theme https://github.com/chriskempson/tomorrow-theme with the inconsolata-dz patched font https://github.com/Lokaltog/powerline-fonts
unbind C-b
set -g prefix C-o
bind v send-prefix
#setting utf8 encoding
set -g utf8
set-window-option -g utf8 on
#default settings
set -g default-terminal "screen-256color"