Skip to content

Instantly share code, notes, and snippets.

@ce6n
ce6n / t440s linux
Last active Aug 29, 2015
t440s linux
View 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
View gmt_gdal_snippets.md

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

View select_grd.sh
#!/bin/bash
##
## select grd files based on coordinates
## call with llx lly urx ury
##
#llx = "2540000"
View kirchhoffmigration.py
#!/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 Dec 7, 2012
enable text select / copy paste in preview osx
View gist:4237545
defaults write com.apple.finder 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
ce6n / hack.sh
Created Aug 10, 2012 — forked from dch/hack.sh
OSX For Hackers
View hack.sh
#!/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 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 :