Skip to content

Instantly share code, notes, and snippets.

View whs2k's full-sized avatar

Will Solomon whs2k

View GitHub Profile
@1duo
1duo / centos.install.boost.md
Last active April 4, 2024 18:39
Install Boost library from source on CentOS 7.

Download Boost Library: http://www.boost.org (Choose the expected version)

wget https://cfhcable.dl.sourceforge.net/project/boost/boost/1.54.0/boost_1_54_0.tar.gz
wget https://phoenixnap.dl.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.tar.gz
wget https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.tar.gz
wget https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz
wget https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.gz
wget https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.gz
wget https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz
// Query matches
https://frinkiac.com/api/search?q=duffman
// returns
// [{"Id":1823368,"Episode":"S13E21","Timestamp":297339},{"Id":1667129,"Episode":"S12E15","Timestamp":1250166}]
// Get a matching caption using the returned array
// e = Episode, t = Timestamp
http://frinkiac.com/api/caption?e=S07E04&t=244026
@parente
parente / spark-csv.ipynb
Created January 5, 2016 04:24
Use spark-csv from Jupyter Notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@andershammar
andershammar / matplotlib-zeppelin
Created July 1, 2015 07:42
Example showing how to use matplotlib from a Zeppelin notebook
%pyspark
import matplotlib.pyplot as plt; plt.rcdefaults()
import numpy as np
import matplotlib.pyplot as plt
import StringIO
def show(p):
img = StringIO.StringIO()
p.savefig(img, format='svg')

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: