Skip to content

Instantly share code, notes, and snippets.

View Ailuropoda1864's full-sized avatar

Jingfei Cai-Pincus Ailuropoda1864

View GitHub Profile
anonymous
anonymous / cos_sin.py
Created October 30, 2017 06:31
Input column name and max value in that column. Function converts values in to sin and cos components.
# Convert cyclical values from standard 0..N values in to radians
def degrees_2_rads(row):
radians = math.radians(row)
return radians
def rads_2_cos_val(row):
cos_val = math.cos(row)
return cos_val
def rads_2_sin_val(row):

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: