Skip to content

Instantly share code, notes, and snippets.

@percurnicus
percurnicus / noaa_avg_windspd_map.py
Created July 18, 2018 02:10
Map noaa average wind speed data given a cdf4 file
from netCDF4 import Dataset
from datetime import datetime, timedelta
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap
class MonthMean(object):
def __init__(self, data, month, year):
@percurnicus
percurnicus / Monokai.sublime-color-scheme
Created May 20, 2018 00:30
Sublime Text custom monakai theme
{
"name": "Monokai",
"author": "Sublime HQ Pty Ltd, Wimer Hazenberg",
"variables":
{
"black": "hsl(0, 0%, 0%)",
"black2": "hsl(60, 17%, 11%)",
"black3": "hsl(70, 8%, 15%)",
"blue": "hsl(190, 81%, 67%)",
"grey": "hsl(55, 8%, 26%)",
@percurnicus
percurnicus / Monakai.thTheme.xml
Created March 25, 2018 16:29
Sublime text Monakai theme except black background, slightly different comment color, and settings for anaconda linting
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Monokai</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
@percurnicus
percurnicus / custom.css
Last active March 28, 2020 22:05
Jupyter Notebook Theme Adapted from Monokai theme in Jupyter themes
/*
Adapted from Jupyter Themes Monokai theme
https://github.com/dunovank/jupyter-themes/blob/master/jupyterthemes/styles/compiled/monokai.css
To use the custom template, make a directory ~/.jupyter/custom/ and then create
the file custom.css in that directory.
*/
div#notebook {