Skip to content

Instantly share code, notes, and snippets.

View atrawog's full-sized avatar

Andreas Trawoeger atrawog

View GitHub Profile

Arch Linux ARM on Crostini

Screenshot

I got Arch Linux ARM installed on a Lenovo Chromebook Duet! I mostly used the instructions from the Arch Wiki as reference.

0. Before we begin

@srijan
srijan / docker_setup.yml
Last active February 10, 2024 04:17
Install docker and docker-compose using ansible https://srijan.ch/install-docker-and-docker-compose-using-ansible
---
- name: Install packages using apt
apt:
name:
- apt-transport-https
- ca-certificates
- curl
- gnupg2
- software-properties-common
state: present

I've rendered out two map layers with pre-typhoon Landsat 8 imagery. This is very low resolution (15 m) but may help fill in major highways and rivers for areas that still lack better coverage. They include clouds because I found that splicing them together can introduce seam artifacts that could be mistaken for roads.

The layer templates are:

@cversek
cversek / cmap_gaussianHSV.py
Last active December 17, 2015 14:09
Tunable Gaussian HSV Colormap
import numpy as np
import matplotlib
def make_cmap_guassianHSV( num_segs = 100, #number of segments
bandwidth = 0.25,
red_center = 1.00,
green_center = 0.75,
blue_center = 0.50,
name = "gaussianHSV"
):
@hrwgc
hrwgc / README.md
Last active September 4, 2023 11:15
VIIRS Nighttime Lights 2012 processing
@cspanring
cspanring / Nginx-domain-conf
Created January 26, 2013 01:00
Example Nginx and Gunicorn configurations for GeoNode deployment
server {
listen 80;
server_name mydomain.org;
root /var/www;
access_log off;
error_log /home/user/geonode/log/nginx_error.log;
@benhosmer
benhosmer / Vagrantfile
Created October 24, 2012 12:17
My Sample Salty-Vagrant Vagrantfile.
Vagrant::Config.run do |config|
config.vm.box = "bensprecise64"
config.vm.network :hostonly, "192.168.33.19"
## Use all the defaults:
config.vm.provision :salt do |salt|
salt.run_highstate = true
## Optional Settings:
salt.minion_config = "salt/minion.conf"
@andrewharvey
andrewharvey / README.md
Created August 8, 2012 12:03
Tools, utilities and stylesheets for working with the Geoscience Australia National Dynamic Land Cover Dataset

About

This package contains a set of tools, utilities and stylesheets for working with the Geoscience Australia National Dynamic Land Cover Dataset.

Using the Scripts

You can run the scripts individually as described in the sections below, or just as,

./scripts/00-all.sh

Dependencies

@atrawog
atrawog / TileLayer.TileJSON.js
Created August 2, 2012 11:46 — forked from DGuidi/TileLayer.TileJSON.js
Leaflet TileCanvas
L.TileLayer.TileJSON = L.TileLayer.Canvas.extend({
options: {
debug: false
},
tileSize: 256,
initialize: function (options) {
L.Util.setOptions(this, options);
@jgomezdans
jgomezdans / gpp_tseries.py
Created July 23, 2012 13:47
A script to grab timeseries from MODIS data using GDAL and python
#!/usr/bin/env python
"""
A script to grab timeseries from MODIS data using GDAL and python
Author: J Gomez-Dans/NCEO & UCL
"""
__author__: J Gómez-Dans
import numpy as np
import matplotlib.pyplot as plt
from osgeo import gdal