↓ Skip to main content

how-to

2018

Merging GeoPackages

Merging GeoPackages

The other day I had to deal with a problem I haven’t dealt before. I have to merge a bunch of GeoPackages (.gpkg) containing Finnish Forest data —downloaded from here 🇫🇮 — because they had more sense if they ended up together. The reality is, GeoPackage format is something quite new to me —well, it was approved in 2014— since I’ve been using ESRI products, where shapefiles (.shp) are more or less the standard —they are the King 👑— and if you want to go a little bit further you have to use file geodatabases. From there on you need to step up your game and have a real database engine/server like Oracle 🤑🤑🤑, MS SQL 🤑, PostGIS 🐘 —free and open source 👍—​ and some others.
Installing R with Homebrew with all the capabilities

Installing R with Homebrew with all the capabilities

As I explained in my previous post if you installed R with Homebrew you have less capabilities than with a R installed from CRAN’s binary. But, can you have all the capabilities while you still use Homebrew to install R? Yes! However… why you bother to install it with Homebrew at all instead of installing it from CRAN. Well, it’s true that CRAN install it’s easier. You just have to download the binary and that’s it. You can even use Homebrew Cask to install R that way
The ciabatta recipe

The ciabatta recipe

·5 mins
Lately I’ve been extending my baking skills and I’ve been practicing the ciabatta recipe from Iban Yarza’s book, Pan Casero, which I think is delicious. I say extending my baking skills because it’s the first time I’ve tried a preferment recipe and more specifically poolish. Poolish have zero complications in comparison with the straight doughs, but it’s true that in general you need extra time and the final dough is more sticky since it’s more moisturized. So you are going to need to have some experience working with dough if you don’t want to end up full of dough and even, depending how brave you are, your kitchen.
Delete all the snapshots from the local time machine

Delete all the snapshots from the local time machine

·2 mins
Sometimes you need to delete all the snapshots that the macOS time machine do locally just because you want to get rid of something of because you need to reclaim that space. Before one could use sudo tmutil disablelocal to delete everything and then sudo tmutil enablelocal to enable the local snapshots again —since they are useful. However, that option is no longer available.
iTerm2 + Oh My Zsh + Powerlevel9k + Monaco Nerd Complete Font

iTerm2 + Oh My Zsh + Powerlevel9k + Monaco Nerd Complete Font

In general, I don’t use my Mac’s Terminal app. Instead, I use iTem2 with a special configuration, that doesn’t use Bash, but Oh My Zsh as a shell, that is a framework to manage Zsh configuration as your shell. This framework allows you to install plugins or configure your prompt, among other cool things. I’ve also configured iTerm2 to work with a patched Monaco1 font with the complete collection of nerd glyphs. The result is more of less what you can see in the featured image in this post, a beautiful and elegant shell that you can configure and enjoy use.

2017