Skip to content

Instantly share code, notes, and snippets.

View omidaladini's full-sized avatar

Omid Aladini omidaladini

View GitHub Profile
@omidaladini
omidaladini / population.cpp
Created November 17, 2014 14:42
population_count
/*
Build and run by:
g++ -std=c++11 -o population population.cpp && ./population
or your favorite c++11 compiler
*/

Keybase proof

I hereby claim:

  • I am omidaladini on github.
  • I am omid (https://keybase.io/omid) on keybase.
  • I have a public key whose fingerprint is B408 58AC 98ED F4FE 782F 3AA3 A4C7 07D4 D5E1 F2F2

To claim this, I am signing this object:

#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'