Skip to content

Instantly share code, notes, and snippets.

View lukecampbell's full-sized avatar

Luke Campbell lukecampbell

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.
#include <poll.h>
#include <stdio.h>
#include <sys/time.h>
#define SECONDS_TO_MICRO 1000000
int main(int argc, char *argv[])
{
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from argparse import ArgumentParser
from netCDF4 import Dataset
import subprocess
import tempfile
import os
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
netcdf US_WhiteShoalMichigan_2013 {
dimensions:
time = 2;
variables:
double time(time) ;
time:long_name = "Days since 1/1/1904" ;
time:standard_name = "time" ;
time:units = "days since 1904-01-01 00:00:00" ;
time:axis = "T" ;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lukecampbell
lukecampbell / tmux-cheatsheet.markdown
Created July 28, 2016 18:35 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.