Skip to content

Instantly share code, notes, and snippets.

View barberj's full-sized avatar

Justin Barber barberj

  • Atlanta, Ga
  • 14:31 (UTC -04:00)
View GitHub Profile
#!/bin/bash
if [ -e ~/.barberianrc ]
then
echo "Already been raided."
fi
if [ ! -e ~/.barberianrc ]
then
echo "Going raiding."
#!/bin/sh
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim && \
cd ~/.vim/bundle && \
git clone git@github.com:scrooloose/nerdtree.git && \
git clone git@github.com:scrooloose/syntastic.git && \
git clone git@github.com:isRuslan/vim-es6.git && \
git clone git@github.com:slim-template/vim-slim.git && \
git clone git@github.com:wincent/command-t.git && \

We few developers of SalesLoft, in Order to form a more perfect Platform, do ordain and establish this Charter for the Gainmakerz of SalesLoft.

Challenge

  • We challenge ourselves to make gainz from features and services not yet realized, from the betterment of existing features and services and the extermination of bugs.

Gainz

  • We find the most gainz occur between the hours of 9-5. As such that is when we will conduct regulated business.
  • We find that gainz can happen anywhere and often are a catalyst of environment changes. As such we are open to WFH so long as it does not conflict with requests requiring XP efforts. We are open, but acknowledge that abscence does not necessarily make the heart grow fonder, but rather weakens the bonds of culture. To this point we will also gather offsite monthly to strengthen Team culture and achieve ultimate gainz.

Review

@barberj
barberj / .ackrc
Last active May 2, 2016 02:22
Dotfiles ~2015
--ignore-dir=tmp
@barberj
barberj / tmux_cheatsheet.markdown
Last active May 11, 2023 07:31 — forked from henrik/tmux_cheatsheet.markdown
add move pane into new window. change window commands to some of my aliases

tmux cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@barberj
barberj / google_drive.rb
Last active December 17, 2015 22:09
Attempting to get spreadsheets from google drive using google api client
require 'google/api_client'
require 'launchy'
load 'auth.rb'
def client
@client
end
def drive
@drive
@barberj
barberj / .forgitrc
Created December 6, 2012 14:29
.forgitrc file providing Pictage Specific prune hook
#!/usr/bin/python
def prune_hook(branch):
import requests
import re
match = re.match('sq-([0-9]+).*', branch)
if not match:
print('Unable to find jira ticket for branch {}'.format(branch))
return False
@barberj
barberj / pictage_arrange.scpt
Last active October 12, 2015 11:07
AppleScript to arrange my application windows
# determine if dual monitors
tell application "Finder"
set bnds to bounds of window of desktop
set dualmonitors to item 3 of bnds > 1440
end tell
tell application "campfire"
activate
# { left of screen to left edge,
# top of screen to top edge,
@barberj
barberj / projecteuler.py
Created September 13, 2012 16:00
Project Euler Problem/Solutions
#!/usr/bin/python
def problem40():
"""
http://projecteuler.net/problem=40
An irrational decimal fraction is created by concatenating the positive integers:
0.123456789101112131415161718192021...
It can be seen that the 12th digit of the fractional part is 1.
@barberj
barberj / commute.py
Created August 29, 2012 14:12
Requests issue
import requests
def log():
url = 'https://www.logyourcommute.org/cac/accesscontrol.action'
data={'idUser': REDACTED,
'idPassword': REDACTED,
'action': 'login',
'idActivation': 'null',
'Submit': 'Log On >>'}