Skip to content

Instantly share code, notes, and snippets.

@ce6n
ce6n / t440s linux
Last active August 29, 2015 14:00
t440s linux
# debian jessie needed for ethernetcard
# wlan
iwlwifi
#touchpad
...
# 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

#!/bin/bash
##
## select grd files based on coordinates
## call with llx lly urx ury
##
#llx = "2540000"
@ce6n
ce6n / kirchhoffmigration.py
Created April 4, 2013 18:24
kirchhoff migration
#!/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
ce6n / gist:4237545
Created December 7, 2012 23:37
enable text select / copy paste in preview osx
defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder
@ce6n
ce6n / DCSADScanInt.c
Created August 27, 2012 14:51
bachlor code
//=============================================================================
// (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
ce6n / hack.sh
Created August 10, 2012 11:58 — forked from dch/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@ce6n
ce6n / site.yml
Created July 21, 2012 14:00
ruhoh config file
title : mngch
tagline: mongocharger
theme : twitter
author :
name : Sebastian
email : blah@email.test
github : mngch
twitter : rauchenderhund
feedburner :