data science

Resizing Images – Shell Script

I go this from an awesome post by user80168. Is uses the convert to resize all the files that end in ‘.jpg’. It will create a directory called ‘resized’ and then it will reduce the size of each image to 50% of it’s original size. There. It is sooooo easy.


ncol2pajek – Python

I’ve just written a very short Python script that will change an ncol graph file to Pajek format. Some info on how to use it The ncol File The format of the ncol file will normally be like this The node names should not have any spaces and they should be separated by a […]