Skip to content

Instantly share code, notes, and snippets.

View keflavich's full-sized avatar

Adam Ginsburg keflavich

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from astroquery.lamda import Lamda, utils
from astropy.utils.console import ProgressBar
import pylab as pl
import itertools
import mpld3
from mpld3 import plugins as d3p
from brush import LinkedBrush
tem = 20
maxfreq = 500
@keflavich
keflavich / resize_window.scpt
Last active September 29, 2018 05:36
Applescript to resize all windows from a given application. Source credit given in the top.
(*
From http://www.labnol.org/software/resize-mac-windows-to-specific-size/28345/
This Apple script will resize any program window to an exact size and the
window is then moved to the center of your screen. Specify the program name,
height and width below and run the script.
Written by Amit Agarwal on December 10, 2013
*)
Please see https://github.com/keflavich/cube-line-extractor instead