Skip to content

Instantly share code, notes, and snippets.

View nicolasfauchereau's full-sized avatar

Nicolas Fauchereau nicolasfauchereau

View GitHub Profile
url = 'http://www.bom.gov.au/climate/mjo/graphics/rmm.74toRealtime.txt'
mjo = pd.read_table(url, skiprows=2, sep=r'\s+', header=None)
mjo.columns = ['year', 'month', 'day', 'RMM1', 'RMM2', 'phase', 'amplitude', 'origin']
index = pd.to_datetime(mjo.loc[:,['year','month','day']])
mjo.index = index
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: osx-64
altair=2.1.0=py_0
appnope=0.1.0=py36_0
asn1crypto=0.24.0=py36_0
atomicwrites=1.1.5=py36_0
attrs=18.1.0=py_1
backcall=0.1.0=py_0
blas=1.1=openblas
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: osx-64
absl-py=0.2.2=py_0
affine=2.2.0=py_0
appnope=0.1.0=py36_0
arrow=0.12.1=py36_1
asn1crypto=0.24.0=py36_0
astor=0.6.2=py_0
atomicwrites=1.1.5=py36_0
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: osx-64
@EXPLICIT
https://conda.anaconda.org/conda-forge/osx-64/appnope-0.1.0-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/bleach-2.0.0-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/ca-certificates-2017.11.5-0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/cairo-1.14.10-0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/certifi-2017.11.5-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/clangdev-5.0.0-default_0.tar.bz2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nicolasfauchereau
nicolasfauchereau / search_tag
Created October 12, 2012 01:56
code to search for tags in the header of a python script
# ==================================================================================
# code search_tag.py
# Description: search for tags in the header section of my python scripts
# usage:
# 1 - cd in the directory you want to search from (it will recursively look
# for *.py files)
# 2- search_tag tag1 tag2 tag3 ...
#
# this useful in conjunction to this vim snippet called "intro" (to add to .vim/snippet/python.snippets)
# snippet intro
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>PaCal</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.