Skip to content

Instantly share code, notes, and snippets.

ce6n / t440s linux
Last active Aug 29, 2015
t440s linux
View t440s linux
# debian jessie needed for ethernetcard
# wlan
# for working suspend with gnomeshell systemd needs to have pid 1
sudo apt-get install systemd-sysv

Usefull snippets for working with RemoteSensing Data in Glaciology

GMT gdal

Build gdal with netcdf (GMT) support

sudo port install gdal +netcdf

Convert geotiff to netCDF/GMT grid

## select grd files based on coordinates
## call with llx lly urx ury
#llx = "2540000"
#!/usr/bin/env python
import numpy as np
import matplotlib.pyplot as plt
import scipy
import scipy.fftpack
# cython for more speed
import mod_cyMigrate
ce6n / gist:4237545
Created Dec 7, 2012
enable text select / copy paste in preview osx
View gist:4237545
defaults write QLEnableTextSelection -bool TRUE; killall Finder
View DCSADScanInt.c
// (c) Copyright 2005 Diamond Systems Corporation. Use of this source code
// is subject to the terms of Diamond Systems' Software License Agreement.
// Diamond Systems provides no warranty of proper performance if this
// source code is modified.
// File: DSCADScanInt.c v5.9
// Desc: Sample program that demonstrates how to perform an interrupt-based AD
// scan
// Created by KL
ce6n /
Created Aug 10, 2012 — forked from dch/
OSX For Hackers
#!/usr/bin/env sh
# This is script with usefull tips taken from:
# install it:
# curl -sL | sh
ce6n / site.yml
Created Jul 21, 2012
ruhoh config file
View site.yml
title : mngch
tagline: mongocharger
theme : twitter
author :
name : Sebastian
email : blah@email.test
github : mngch
twitter : rauchenderhund
feedburner :