When we work with images in our project, we often need to convert the format of the images. In Linux OS, you can do this stuff by using one line Linux command. It is pretty simple to do. You can use the following command to convert JPG images to PNG format.
mogrify -format png /path/*.jpg
This command will produce the png files in the same directory with the source files. To get the result in a certain directory you could specify the directory path like the command below.
mogrify -path /dest_path/ -format png /path/*.jpg
Thank you mogrify! 🙂
Tonight, I am going to work on my projects. It was quite interesting that I just realized I need to use two laptops at the same time. At first, I just put both of the laptops on the same table and I used each mouse and keyboard. But, before I felt the back pain caused by turning aside frequently, I just realized that there must be some way I can use my only-one mouse and the attached keyboard for both of these laptops as I do with the dual extended screen. Thankfully, I found how to do it and I really want to share it with you since it might be really useful for you.
Thanks for Synergy, It is a great app that can do the magic for us. You can simply install this app on both of your laptops and let the Synergy do the trick. This is the simple steps you need to do to set up the server-side (sharing the mouse and keyboard) and client-side (using server’s mouse and keyboard).
After you installed the synergy, you can open by running
synergy command on the terminal or open the app by launching from gnome launcher.
We have already know about What is Python and why we need to learn Python. Now, we are going to show you the fundamentals that you will be happy to learn in the first step in mastering Python.
Just like another programming language Python has syntax, variable, function, and development environment. Python also has an interactive shell that can be used to test our code quickly and it is very helpful for us to learn this language. In this tutorial, We are only going to show you the example using Linux/Unix based Operating System.
Today is our 17th Day live in Turkey. My wife and I arrived at Sabiha Gokcen airport on the 3rd September. I need to go here to continue my study in Robotics, especially in Deep Learning and my wife is here to accompany me and giving birth to our first baby, hopefully. It is a big step for us and we are always ready for the great journey.
There are lots things which are very different in our country, Indonesia. We’d spent most of our time these past 5 years at Yogyakarta and It was very pleasant experience. Now, we need to do the adaptation to our new “home”. One of the biggest difference is the way we are moving to the other place. We used to ride a motorcycle all over the way in Yogya. But in here, we are getting used to using a public transportation.
The main choice for us is using metro (underground train), bus, and metro-bus (a bus with the special route like TransJakarta). We have another choice like Uber and Taxi but we do not recommend because people drive too recklessly here so It won’t be a good choice for your heart.