I must sometimes modify images and PDF documents in PHP. Prepare them to display after user upload, prepare for database, fix dimensions or many other things. Of course we can use native PHP functions, but it’s very slow. Better option is to use external libs like convert (ImageMagick) and Ghostscript. Today I have some useful convert commands – it’s “list to remember” for me, but maybe also you will find someting nice? This post is short, because I paste only commands and very short description.
Until recently, I thought that was impossible, but it turned out that it is – our main browser can be changed, although we have used it for years and in many respects were satisfied with it. I used to use Google Chrome for both personal and work, because it was a universal choice full of useful options and the ability to easily expand with applications and add-ons. Recently, I moved to Safari. Although the reasons were not incredibly revealing, but I decided to share what I like in this browser.
Concentration is not an easy art and sometimes causes a lot of problems. This is especially noticeable visible during remote work, where we decide what and when we do it. Sometimes work is big and we looking for… something else. One moment on Facebook, one moment on YouTube, maybe we check news on Twitter and buy something on eBay? Yes, we know that – it’s a problem of procrastination. We can do anything, but not what we should. How can we deal with it? There is one, nice extension for browser called StayFocusd. And it works.