A quick guide on how to set up a website in Docker

Hello everyone! I will try to describe, without going into complicated terms, how to quickly and easily raise a site in Docker using docker-compose. First step First, we need the site itself. Let's assume that we already have some index.php that sends "Hello world" to the browser. Let's also assume that you already have Docker... Read more...

Why I won't buy smartwatches anymore

For the first time I learned about smartwatches in general back in 2014, these were the first Samsung Galaxy Gear, but I didn't like the price. Naturally I wanted, it seemed incredibly cool and useful, huge functionality compared to ordinary watches and in general, I love technology, and this is just something new and interesting. Still, in 2020,... Read more...

PHPExcel - Trying to access array offset on value of type int

Hello everyone! Recently, after updating the system to PHP 7.4, along with all that it implies, an interesting problem happened - the thing that was collecting reports started throwing errors at me in the form of Trying to access array offset on value of type int . Oddly enough, the problem itself lies in the PHPExcel library, which for... Read more...

How to play on MacBook?

I think it’s no secret to anyone that games are not the strongest side of the MacBook, and Mac OS as a whole. But what if you want to run into new games, but there is no desire to buy a second car? Relevant only for Russia. But it is not exactly. The article will focus on the Geforce Now service. This is not an advertisement, this is a... Read more...

Speed up page loading with iframes from YouTube

Very often the task is to make as quickly as possible loading pages on which there is a large number of videos from youtube, for example, as reviews. Even one video embedded through the iframe into the page greatly slows down its loading and scares off your potential customers. [spoiler title='Some tests] Two blank pages were created. On... Read more...

Restoring the MySQL innoDB database from ibd and frm files

Recently, when I moved, I did not have time to pick up my databases from the server before it ended. But I managed to pick up the var directory, which, as you know, also stores MySQL databases in the /var/lib/mysql directory. Actually, in this article I will talk about my experience in restoring databases from these files. Who needs the... Read more...

How do I know a user's location by MAC?

This is by no means a guide, but only a description of the yandex-metro bug, which the campaign is not going to fix at all. The bug is that the Yandex Metro app sends your wi-fi data to a point in the background (even without running the app), which gets information about your location. You can also use this to find the location of some wi-fi... Read more...

How to find a lost smartphone on the android platform?

Do you often lose your phone? Perhaps he just fell over the sofa, but is in silent mode. Stolen? Let's try to find it or at least clean and block it. To do this, we will use the “ find a device ” service from Google . To do this, enter the Google-account installed also on the phone. We open the service by the link , on the... Read more...

How do I use Linux commands in PHP?

It will be a short article, because there is nothing much to tell. I'll probably talk about the commands on the windows servers sometime next time. Today about linux. The shell_exec feature will be used, accepting one option with a string in which the server command is located. By the way, the team does not work in a safe mode. Thanks... Read more...