Git config

Lots of us use git in a daily basis, myself included. We can say a lot of git, but I would not say that it is intuitive, or that it has nice shortcuts. Similar to what happens with VIM, over the course of some years and some jobs I collected a small list of git configurations that I find very comfortable to work with.

Damn! I failed again, no posts on summer πŸ˜€

List of configs

1 Comment

Filed under curious, tools

Google earth and WMS

A year ago, my sister gave me an awesome present. A big set of small card-sized photos with a set of the highest mountains of Catalunya. The idea is to write on the back when and with whom I “climbed” that mountain.

Last Easter I was planning which closer hikes could I do during the holidays, so I can start filling each card (feels like gotta climb em’ all). It was difficult to know each mountain location from the cards, I fired Google Earth for Linux and started creating points.

It was very easy with the famous ones, since Google Earth finds them directly (Pedraforca, Pica d’estats, etc..), but more obscure ones are a no-no. So I needed extra support to map them.

Mountain Cards

Mountain Cards

more

4 Comments

Filed under gis, Maps

Vectorize an image using Inkscape

And now, for something completely different.

For a coming event we want to use logos from different bars and cafes around the block. The idea is to do a little of propaganda: banners, t-shirts, mugs all the way!

Some bars have their fancy logos already as a vector image. Other ones don’t even have a computer where the logo is stored.

In this post we’ll see how to create a vector file from a pixmap (jpg, png, whatever raster format that Inkscape can open). With a couple of examples, a graceful one and a crazy one.

There’s a lot of manuals online for this, an in-depth one with good examples can be found in Tavmjong Bah’s website.

vectorizing!

1 Comment

Filed under DIY, tools

System76 Lemur Review

This is something that I’ve never done before in this blog, Review a piece of consumer electronics. πŸ˜€

read the full review

1 Comment

Filed under curious, Life

XLS to CSV

A common situation for us (people in the programming/computing/processing world) is that we don’t always work with the same tools as some of our non-tech peers.

Case in point, I received a big bunch of files in XLS/XLSX format, very big files, LibreOffice has trouble working with them. Since I want to perform quick processing on that data, and I already have scripts that process similar data in CSV, the simplest path is to transform those files to plain, ugly, useful CSV files.

Then again, there are 100 files, and I don’t feel like dancing around each one: opening, clicking save as, selecting CSV, telling LibreOffice that this is a semicolon separated CSV file … etc etc.

Entering pandas.

continue please

1 Comment

Filed under code, tips, tools, Uncategorized

DBPedia Daily Map

dbpediamaplogo

I am pleased to announce the DBPedia Places map. Since I wrote my master thesis about vague places I wanted to do something like this. The vague-places generator was one of the outputs of such work, but I felt the need to see DBpedia points on a map, changing every day.

The final result can be poked at the dbpediamap.tk, this post is an overview of how this small project works.

As a quick taste, here’s a screenshot showing a dataset presented on the website:

DBpedia viewer USA

DBpedia viewer USA

Explain me a little bit more

1 Comment

Filed under code, gis, Maps