Skip to content

Instantly share code, notes, and snippets.

View wenzeslaus's full-sized avatar

Vaclav Petras wenzeslaus

View GitHub Profile
# Test GRASS GIS installation
# It assumes GRASS GIS is available through command `grass`
# and existence of directory /tmp with read and write access.
# It does not test anything from GUI and it does not test using
# GRASS GIS Python functionality directly from Python
# (but it tests that Python parts in GRASS GIS work).
# Author: Vaclav Petras
import os
@wenzeslaus
wenzeslaus / buffers_cost_osm.rst
Last active August 29, 2015 14:22
Buffers, cost surfaces, least cost path with OSM
@wenzeslaus
wenzeslaus / basic_commands.rst
Last active December 27, 2015 21:39
Git introduction and cheat sheet

Basic Git introduction

If there is a existing remote repository, clone the repository (supposing SSH access, using GitHub as an example):

git clone git@github.com:repositoryowner/repositoryname.git

Do all the changes in the repositoryname directory created by the git clone command.

Once you edit some files, use git commit to commit them. Use -a flag to