Skip to content

Instantly share code, notes, and snippets.

Chad Zobrisky czobrisky

Block or report user

Report or block czobrisky

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
czobrisky /
Last active Jul 1, 2016
Get the free hero rotation for the current week from the forums post.
import requests
from bs4 import BeautifulSoup
#grab the free hero rotation page
heroPage = requests.get('')
#soupify it
soup = BeautifulSoup(''.join(heroPage),'html.parser')
czobrisky / .gitconfig
Last active Aug 15, 2016
git config aliases
View .gitconfig
autosetuprebase = always
#one line log
l = log --pretty=format"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
#get current branch name, used later in other aliases
branch-name = !git rev-parse --abbrev-ref HEAD
publish = !git push -u origin $(git branch-name)
update = !git co master && git pull origin master
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
#This is a Vagrantfile to build a box and checkout Apache Nifi
Vagrant.configure("2") do |config| = "ubuntu/trusty64" :forwarded_port, guest: 8080, host: 8080
config.vm.provider :virtualbox do |vb|
You can’t perform that action at this time.