sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual
sudo reboot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
input: "data" | |
input_dim: 1 | |
input_dim: 3 | |
input_dim: 473 | |
input_dim: 473 | |
layer { | |
name: "conv1_1_3x3_s2" | |
type: "Convolution" |
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// This program produces test data for transformation between geodetic | |
// coordinates and local horizontal coordinates. | |
// | |
// $ cland geodetic_horizontal.cpp -o geodetic_horizontal -lGeographic | |
// | |
#include <iostream> | |
#include <exception> | |
#include <cmath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// This program produces test data for tranformation between geodetic | |
// coordinates to geocentric ones. | |
// | |
// $ clang++ geodetic_geocentric.cpp -o geodetic_geocentric -lGeographic | |
// | |
#include <iostream> | |
#include <exception> | |
#include <cmath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Script for installing SIP and PyQt4 on Mac OS X. | |
# | |
SIP_VERSION="4.16.6" | |
PYQT_VERSION="4.11.3" | |
DOWNLOAD_CACHE_DIR="$HOME/Library/Caches/pip" | |
[[ -d "$DOWNLOAD_CACHE_DIR" ]] || mkdir -p "$DOWNLOAD_CACHE_DIR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def difference_in_wavenumbers(delta_cm, at_nm): | |
""" | |
Parameters | |
---------- | |
delta_cm : float | |
Difference in wavenumbers (cm-1) | |
at_nm : float | |
Wavelength (nm) at which `delta_cm` is evaluated. | |
Returns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""This script creates ground control points (GCPs) from naviigation files for | |
the GOES images. | |
The navigation files can be obtained from a web site hosted by the NASA Goddard | |
Flight Center (GSFC): | |
http://goes.gsfc.nasa.gov/goeswest/ or | |
http://goes.gsfc.nasa.gov/goeseast/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""Add the top directory of a git-managed project to `sys.path`.""" | |
import os | |
import shlex | |
import subprocess | |
import sys | |
cmd = 'git rev-parse --show-toplevel' |
NewerOlder