Skip to content

Instantly share code, notes, and snippets.

@martgnz
martgnz / .block
Last active January 22, 2017 10:38
Spanish Provinces
license: mit
height: 650
border: none
@martgnz
martgnz / .block
Last active May 26, 2016 11:02
Using Spam with Browserify
license: mit
height: 510
border: none
@martgnz
martgnz / Makefile
Created July 20, 2016 07:27 — forked from yanofsky/Makefile
This is workflow for downloading, processing, and mosaicing Landsat scenes, as a Makefile
# lansatutil directory
LANDSAT = ~/landsat
# scenes to target
LANDSAT_IDS = \
LC81220442016038LGN00 \
LC81220452016038LGN00 \
LC81210442014281LGN00 \
LC81210452014281LGN00

Keybase proof

I hereby claim:

  • I am martgnz on github.
  • I am martgnz (https://keybase.io/martgnz) on keybase.
  • I have a public key ASC8h2i5K7I9qxejcyk0tm_Gi_JjhSNlW-SQi2YkBbl-WQo

To claim this, I am signing this object:

@martgnz
martgnz / flac-to-mp3.sh
Created December 20, 2017 20:27
Convert a folder of flac files to mp3 with ffmpeg
find . -name "*.flac" -exec ffmpeg -i {} -acodec libmp3lame -ab 320k {}.mp3 \;
@martgnz
martgnz / .block
Last active January 3, 2018 00:43
Demers Cartogram
border: no
height: 500
license: gpl-3.0
@martgnz
martgnz / .block
Created January 3, 2018 13:17
Demers Cartogram II
border: no
height: 560
license: gpl-3.0
@martgnz
martgnz / pdf2ai.jsx
Created January 17, 2018 15:08
Batch convert PDF to AI
(function(thisObj) {
main();
function main() {
var pdffiles = File.openDialog(
'Select one or more PDF files',
'*.pdf',
true,
);
if (pdffiles === null) {
return;
@martgnz
martgnz / .block
Last active August 31, 2018 23:24
Scatterplot with convex hulls
license: gpl-3.0
border: none