Monthly Archives: March 2019

Android Studio: adb – INSTALL_FAILED_INSUFFICIENT_STORAGE
0 (0)

4 March 2019

Proceeding fighting with our UI auto-tests 🙂 Two previous posts were really useful this time – Android Studio: установка на Linux и работа с Android Virtual Devices and Appium: Android Virtual Device, Original error: Condition unmet after 60159 ms и костыль. In general – tests works fine but sometimes gives me interesting issues. This time… Read More: Android Studio: adb – INSTALL_FAILED_INSUFFICIENT_STORAGE0 (0) »

Loading

Linux: woeusb – creating Windows USB boot flash drive
0 (0)

4 March 2019

Well – sometimes have to do a bit weird things… Need to create bootable USB flash drive with WIndows 10 using console on Linux. There are various solutions but today I found the woeusb utility and it works pretty well plus it can format a drive to a necessary filesystem. Intsall on Arch Linux from… Read More: Linux: woeusb – creating Windows USB boot flash drive0 (0) »

Loading

Python: what is the if __name__ == “__main__” ?
0 (0)

3 March 2019

In many Python modules you can find construction like: if __name__ == “__main__”: func() Its main purpose is to dedicate a code which will be executed during calling code as a module, after importing it into another code – and when running module itself as a dedicated script. Let’s take a look at a couple… Read More: Python: what is the if __name__ == “__main__” ?0 (0) »

Loading

MySQL/MariaDB: most used commands with examples
0 (0)

3 March 2019

Please note – this is absolutely not a complete guide about all MySQL commands usage – but just examples of the most commonly used ones. mysql> at the begin of the line means it’s executed from the MySQL console. Symbols # or $ means it’s executed from the Linux shell. UPD 03.03.2019 This post originally… Read More: MySQL/MariaDB: most used commands with examples0 (0) »

Loading

Arch Linux: OpenVPN – resolv.conf is not updated
0 (0)

2 March 2019

On an Arch Linux setup – local resolv.conf not updated after connection to OpenVPN AS. As far as I know – the problem is specific to Arch Linux and its “child’s” like Manjaro Linux installations. Local openvpn installed via pacman – see the OpenVPN: OpenVPN Access Server set up and AWS VPC peering configuration post for… Read More: Arch Linux: OpenVPN – resolv.conf is not updated0 (0) »

Loading

Linux: systemd-unit files edit, restart on failure and email notifications
0 (0)

1 March 2019

We have a RabbitMQ service which sometimes can go down. So need to: restart it if is exited with the failure send an email notification Let’s do it via RabbitMQ’s systemd service (though there are various options, e.g. using the monit, check the Monit: мониторинг и перезапуск NGINX post). Will use two options here: RestartSec=: delay… Read More: Linux: systemd-unit files edit, restart on failure and email notifications0… »

Loading