This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Assuming you have a master and dev branch, and that you make new | |
# release branches named as the version they correspond to, e.g. 1.0.3 | |
# Usage: ./release.sh 1.0.3 | |
# Get version argument and verify | |
version=$1 | |
if [ -z "$version" ]; then | |
echo "Please specify a version" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Here is the python2 script to see StackOverflow 2015 election candidates who're going to the next phase along with their vote-counts. | |
# For this script to work, you must need to install Python's BeautifulSoup html parser. | |
# Created by Stack Overflow user Avinash Raj ( http://stackoverflow.com/users/3297613/avinash-raj ) | |
from bs4 import BeautifulSoup | |
import urllib2 | |
s = urllib2.urlopen('http://stackoverflow.com/election/6?tab=primary') | |
soup = BeautifulSoup(s) |