Handy commands for i.e., e.g. and et al.
\newcommand{\etal}{\textit{et al}.\ }
\newcommand{\ie}{\textit{i}.\textit{e}.\ }
\newcommand{\eg}{\textit{e}.\textit{g}.\ }
#!/usr/bin/env python | |
# encoding: utf-8 | |
# Author: Prithwish Chakrabory <[email protected]> | |
# LICENSE: MIT | |
# date: 2015-09-01 | |
""" | |
Code to extract lat lon from a shapefile that fills a grid. |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Author: Prithwish Chakrabory <[email protected]> | |
# LICENSE: MIT | |
# date: 2015-09-01 | |
""" | |
Code to find country from lat-lon using shapefile |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Author : Prithwish Chakraborty <[email protected]>, | |
# Bryan Lewis <[email protected]> | |
# date : 2015-09-21 | |
# LICENSE: MIT | |
""" | |
Code to get historical CDC data |
todonotes
provides a nice method to add notes in latex document in the margin.
However, it doesn't work properly with latex documents with muli-level \input
statements
(eg. inputing a tex in another tex file that was inputted in the main file).
A simple solution is to use the following package:
\usepackage{marginnote} % to add notes to margins
\usepackage{amssymb} % for special latex symbols
\usepackage{xcolors} % for more broader range of latex colors
#!/bin/bash | |
# ref: https://stackoverflow.com/a/57682857 | |
# uses both system and local conda environment | |
conda_folders=( `conda info --base`/envs $HOME/.conda/envs ) | |
echo "==> Creation Date <== Environment Name" | |
echo "#" | |
for folder in "${conda_folders[@]}"; do | |
for env_hist in "$folder"/*/conda-meta/history; do |