Skip to content

Instantly share code, notes, and snippets.

View Mandarancio's full-sized avatar
🎯
Focusing

Martino Ferrari Mandarancio

🎯
Focusing
View GitHub Profile
scriptencoding utf8
" system clipboard (requires +clipboard)
" Set clipboard^=unnamed,unnamedplus
" additional settings
set modeline " enable vim modelines
set hlsearch " highlight search items
set incsearch " searches are performed as you type
set number " enable line numbers
@Mandarancio
Mandarancio / shapeoffset.py
Last active February 7, 2020 10:17
Simple script to create an offset polygon around any shapefile.
"""
Simple script to create an offset polygon around any shapefile.
More information:
https://forum.step.esa.int/t/define-a-buffer-around-shapefile/20966
author: martino.ferrari@c-s.fr
license: GPLv3
"""
import shapefile as shp # Requires the pyshp package
import matplotlib.pyplot as plt

Keybase proof

I hereby claim:

  • I am Mandarancio on github.
  • I am mandarancio (https://keybase.io/mandarancio) on keybase.
  • I have a public key whose fingerprint is EF02 3DAB 3126 B593 522C EB1B 9A5A 9645 225E F6B7

To claim this, I am signing this object:

@Mandarancio
Mandarancio / sviluppi.ipynb
Last active December 18, 2017 23:29
Simple variant of the Bounded Knapsack Problem in JavaScript
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Mandarancio
Mandarancio / locker.sh
Created January 22, 2012 12:29
Simple lock screen script for Archlinux ARM on Touchpad project
#!/bin/bash
#Thanks for the support to Roberto Ferrari <roberto[dot]ferrari[at]cern[dot]ch>
#Edited and published by Mandarancio <manda.mgf@gmail.com>
inputNonZero=/root/.userBrightness
testfile=/sys/class/leds/lcd-backlight/brightness