I hereby claim:
- I am geospatialdaryl on github.
- I am geodedaryl (https://keybase.io/geodedaryl) on keybase.
- I have a public key ASAlKxUSSCxENiISm0D3Yyr4nG9aK0TFy-iFYOj1ISn6hQo
To claim this, I am signing this object:
| #!/bin/bash | |
| # This script rotates the screen and touchscreen | |
| # by Ruben Barkow-Kuder: https://gist.github.com/rubo77/daa262e0229f6e398766 | |
| #### configuration | |
| # find your Touchscreen device with `xinput` | |
| TouchscreenDevice="$(xrandr |grep eDP|cut -d" " -f1)" | |
| if [ "$1" = "--help" ] || [ "$1" = "-h" ] ; then |
I hereby claim:
To claim this, I am signing this object:
| diskpart | |
| select disk 1 | |
| attributes disk clear readonly | |
| online disk | |
| select disk 1 | |
| clean | |
| convert gpt | |
| create partition primary | |
| format quick fs=ntfs label="data" unit=64k | |
| assign letter=“E" |
If you want:
About 90% of this comes from: https://gist.github.com/pjdietz/5768124 just with a few fixes for the host only network
1 Create a host only network in the Virtualbox GUI
| # Rename this distribution example file to motion.conf | |
| # | |
| # This config file was generated by motion 4.0.1 | |
| ############################################################ | |
| # Daemon | |
| ############################################################ | |
| # Start in daemon (background) mode and release terminal (default: off) |
| func readLine(path string) { | |
| inFile, _ := os.Open(path) | |
| defer inFile.Close() | |
| scanner := bufio.NewScanner(inFile) | |
| scanner.Split(bufio.ScanLines) | |
| for scanner.Scan() { | |
| fmt.Println(scanner.Text()) | |
| } | |
| } |
| """ | |
| Zonal Statistics | |
| Vector-Raster Analysis | |
| Copyright 2013 Matthew Perry | |
| Usage: | |
| zonal_stats.py VECTOR RASTER | |
| zonal_stats.py -h | --help | |
| zonal_stats.py --version |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/