](https://gagor.pro/2020/10/bye-bye-wordpress/images/cover.webp)
Bye Bye Wordpress!
Learn about the transition from Wordpress to Hugo for managing a personal blog, including reasons for the switch and benefits of using a static site generator.
](https://gagor.pro/2020/10/bye-bye-wordpress/images/cover.webp)
Learn about the transition from Wordpress to Hugo for managing a personal blog, including reasons for the switch and benefits of using a static site generator.
](https://gagor.pro/2020/01/moving-from-linux-to-macos-first-steps/cover.webp)
Learn about the initial steps and adjustments needed when transitioning from a Linux desktop to MacOS for business purposes, including tips on keyboard shortcuts, application compatibility, and system settings.
](https://gagor.pro/generic-cover.webp)
Learn how to debug memcached servers by sniffing network traffic to inspect commands, measure transfer rates, and analyze command frequencies using common Linux tools.
](https://gagor.pro/generic-cover.webp)
It happen to me all the time that one of developers notifies me about some kind of problem that I can’t confirm from my account. Sometimes it was because of bad ssh keys configuration, other times file permissions, mostly such stuff. It’s sometimes convenient to “enter into someone’s shoes” to see what’s going on there. If you’re root on machine you may do that like this: Switch to developer user su developer - Easy one but that’s not enough for all cases. When you use bastion host (or similar solutions) sometimes users have connection problems and it’s harder to check. When such user have ForwardAgent ssh option enabled you may stole this session to check login problems. ...
](https://gagor.pro/generic-cover.webp)
Virtualenvs in python are cheap but from time to time you will install something with pip on your system and when time comes removing all this crap could be difficult. I found this bash snippet1 that will uninstall package with all dependencies: Recursive pip uninstall for dep in $(pip show python-neutronclient | grep Requires | sed 's/Requires: //g; s/,//g') ; do pip uninstall -y $dep ; done pip uninstall -y python-neutronclient Depending how you installed it, you might need to use sudo. ...
](https://gagor.pro/2016/04/daily-mysql-backups-with-xtrabackup/images/cover.webp)
I’ve been using standard MySQL dumps as backup technique on my VPS for few years. It works fine and backups were usable few times when I needed them. But in other places I’m using xtrabackup1. It’s faster when crating backups and a lot faster when restoring them - they’re binary so there is no need to reevaluate all SQL create tables/inserts/etc. Backups also include my.cnf config file so restoring on other machine should be easy. ...
](https://gagor.pro/generic-cover.webp)
Learn how to configure Ansible to connect to hosts behind a bastion or jump host by customizing your ssh_config and ansible.cfg files.
](https://gagor.pro/generic-cover.webp)
Lately I was searching for mobile notebook that I could use for remote work. I checked f ThinkPad series but they were huge bricks that have nothing in common with ‘mobile’ word. Then I saw ASUS Zenbook that I didn’t take into account before and it was exactly what I was searching for. Configuration of Skylake based notebook right now is not straightforward - there are still glitches and small bugs that are waiting to be fixed. I want to sum up what I’ve done after installation. I started with fresh Ubuntu 16.04 to get Debian based distro with possibly latest kernel and patches. ...
](https://gagor.pro/generic-cover.webp)
A quick tip for forcing IPv4 connections in Linux when IPv6 causes issues with package managers or other services.
](https://gagor.pro/generic-cover.webp)
A quick tip on how to list files with their octal permissions in bash using the stat command.