Skip to content

Instantly share code, notes, and snippets.

K.-Michael Aye michaelaye

  • LASP
  • Boulder, CO, United States
Block or report user

Report or block michaelaye

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sklam /
Last active Feb 1, 2019 — forked from rossant/
Numba optimized raytracing. From 23seconds to 9seconds.
from __future__ import print_function, division
from timeit import default_timer as timer
import numpy as np
import matplotlib.pyplot as plt
from numba import njit
w = 400
h = 300
glass5er /
Last active Nov 27, 2019
add an image in every Powerpoint slide using python-pptx
## Copy & Paste Tool for images to PowerPoint(.pptx)
import pptx
import pptx.util
import glob
import scipy.misc
import numpy as np
import matplotlib.pyplot as plt
w = 400
h = 300
from numba import autojit
def normalize(x):

#LaTeX in IPython Notebook

With this extension you can use LaTeX-style references within IPython (Notebook) while still using markdown for formatting.


  • ipython-dev
  • biblio-py
  • markdown
hugorodgerbrown /
Last active Oct 28, 2019
Shell script for converting a batch of *.md files into *.rst using pandoc.
# This script was created to convert a directory full
# of markdown files into rst equivalents. It uses
# pandoc to do the conversion.
# 1. Install pandoc from
# 2. Copy this script into the directory containing the .md files
# 3. Ensure that the script has execute permissions
# 4. Run the script
# By default this will keep the original .md file
Jim-Holmstroem / gist:3705378
Created Sep 12, 2012
Highlight a span on a timeseries plot using pandas and matplotlib
View gist:3705378
def render_split(time, color, offset = -4*pd.datetools.Minute(15)):
if(color is not None):
time + offset,
time + pd.datetools.Minute(15) + offset,
facecolor = float(color % 12)/12 ),
linewidth = 0,
alpha = 1.0,
jgarber / private.xml
Created Aug 28, 2012
KeyRemap4MacBook setup to pair program with one Dvorak - Qwerty ⌘ typist and one Qwerty typist
View private.xml
<?xml version="1.0"?>
dvessel / gist:1478685
Created Dec 14, 2011
TextMate 2 .tm_properties
View gist:1478685

This is all based on the [alpha release][1].


From the built-in help system:

For many settings TextMate will look for a .tm_properties file in the current folder and in any parent folders (up to the user’s home folder).

These are simple setting = value listings where the value is a format string in which other variables can be referenced.

kogakure / .gitignore
Created Jul 17, 2009
Git: .gitignore file for LaTeX projects
View .gitignore
You can’t perform that action at this time.