Category: Linux

Day of Escape @ Cracow University of Technology – Lecture & Workshops

As I mentioned at the end of today’s workshops, I give you both presentation and all the source codes from the Day of Escape:

Here you can see the "extended" SimplePinger version, that I've been developing (i couldn't show you this during the workshops because of the IP tables rules that I have in my firewall):

Below list of other quite interesting webpages about Ruby:

And some stuff about Ruby on Rails:

Unfortunately most Ruby on Rails tutorials aren’t up to date. The current Rails version is 3.2.8 and there’s a lot of tutorials for 1.2 and 2.3 versions, so check before starting ;)

Recursive converting multiple files from PNG to JPG

Quick tip on how to convert recursively multiply PNG files to JPG format. What do we need:

  • Linux
  • Bash
  • RMagick
  • Recursively stored PNG files
  • A bit of patience ;)

First lets convert all the PNG files:

 find ./ -name "*.png" -exec mogrify -format jpg {} \;

And after this, if everything went fine, we can remove all PNG "leftovers":

find ./ -name "*.png" -exec rm {} \;

Of course remember to change the ./ directory into your PNG files directory.

Copyright © 2025 Closer to Code

Theme by Anders NorenUp ↑