One of my projects is running on a Digital Ocean VPS, deployed there using Laravel Forge (an amazing tool which automates a lot of painful server-related tasks). Although I have enabled the backup service offered by Digital Ocean, I needed to create an additional off-site backup solution for the project’s database, so I decided to store them in AWS S3 service. This small tutorial covers the task of creating a shell script that will automatically backup a MySQL database to a set of AWS S3 buckets.Read more →
I recently had a case in a B2B project I was working on where we wanted to allow users to upload their company logo, but resize them automatically to specific dimensions, while keeping the aspect ratio of the logo intact (and without cropping any part of it). Here’s how I tackled the issue.Read more →
Although many years have passed since then, I’m pretty sure it was 2003 when I read Kevin Mitnick’s book The Art of Deception. In it, he describes several real and hypothetical “hacking” cases, illustrating that humans are the weakest link in any secure system, thus a very good target for such attacks. The whole concept is called social engineering.Read more →
A couple of months ago, I went to a Currys/PC World store (for those of you who are unfamiliar with the brand, it is a British electrical retailer) to pick up a vacuum cleaner I reserved online (I needed it quickly, therefore I didn’t want to wait for home delivery).
The quite spacious store was almost empty of customers and a lot of sales people were wandering around doing nothing. Before going to pick up my order, I decided to have a quick look at some laptops they had on display.Read more →
The first time I used an Apple product was for a whole semester in the early ‘00s, when I was an undergraduate student. The product was an iMac G3, and although it’s been quite some time to remember the details, I have a vivid memory that I didn’t like the whole experience. Although I don’t consider myself an Apple hater (I’ve even read Steve Jobs’ biography :P), ever since I consciously decided to stay away from Apple products; no iPhones, no iMacs, no iPads, no “i’s” in general.Read more →