Asus ROG STRIX Z590-E GAMING WIFI - my UEFI BIOS settings

I’ve build new PC - it’s based on Asus ROG STRIX Z590-E GAMING WIFI  external link motherboard. Generally, I’m quite satisfied, but it have one irritating downside - after each UEFI BIOS upgrade, it’s silently resetting some of settings. Let me note, what I want to have there: Ai Tweaker (use my RAM capabilities) AI Overcloack Tuner -> [XMP I] DRAM Frequency -> [DDR4-3600MHz] DRAM CAS# Latency -> [16] DRAM RAS# to CAS# Delay -> [19] DRAM RAS# ACT Time -> [39] DRAM Voltage -> [1.35000] Advanced Platform Misc Configuration (enable some power management) PCI Express Native Power Management -> [Enabled] Native ASPM -> [Auto] APM Configuration ErP Ready -> [Enable(S4+S5)] CPU Configuration (virtualization optimisations) Intel (VMX) Virtualization Technology -> [Enabled] System Agent (SA) Configuration VT-d -> [Enabled] Trusted Computing (TPM v2 for Windows 11) Security Device Support -> [Enabled] Onboard Devices Configuration USB Audio -> [Disabled] (don’t work well on Linux) INTEL 2.5G LAN1 -> [Disabled] (I don’t use them) INTEL 2.5G LAN2 -> [Disabled] USB power delivery in Soft Off state (S5) -> [Disabled] (disable mouse lightning when shut down) LED lightning (disable MB lightning when shut down) When system is in sleep, hibernate or soft off states -> [Stealth Mode] M.2_4 Configuration -> [PCIE] PRIEX16_3 Bandwidth -> [X2 Mode] (Xonar is only x2) CPU PCIE Configuration Mode -> [PCIEX16_1 + PCIEX16_2 + M.2_2] (I need that for 1st NVMe to work) Boot Boot Configuration POST Delay Time -> [1 sec]

2021-10-30 · 2 min · timor

Official CentOS 8 Stream Docker image finally available!

Finally, they’re available! Wait a moment.. Actually they’re available for few months, just nobody published information about moving them to quay.io  external link and dropped poor guys using hub.docker.com  external link without any updates! Yes, that how they did! I found new place accidentally, reading some news about CentOS Stream 9 on their blog  external link . There was reference to CentOS 9 Stream dev builds of Docker images and I found “missing” stream and stream8 tags too. It’s not adding more confidence on my side to the CentOS project, when they’re not even communicating such changes publicly, sick! ...

2021-07-25 · 2 min · timor

How to remove geo-localization/EXIF data from photos

I wanted to share publicly some photos, but I performed them with navigation enabled so they contained accurate localization of my house. I wanted to remove EXIF data GPS tags, my phone type and other irrelevant stuff. Tip ...

2021-03-05 · 1 min · timor

How to run JMX monitoring in Docker image?

It’s sometimes useful to quickly connect to JMX console, to checkout what’s going on in your application, but the whole thing get’s tricky if you’re running your app in a container. I need it from time to time and I keep myself few times searching for set of params below: ~/2021/02/how-to-run-jmx-monitoring-in-docker-image/ java \ ... -Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.rmi.port=${PORT1} \ -Dcom.sun.management.jmxremote.port=${PORT1} \ -Dcom.sun.management.jmxremote.local.only=false \ -Dcom.sun.management.jmxremote.authenticate=false \ -Dcom.sun.management.jmxremote.ssl=false \ -Djava.rmi.server.hostname=${HOST} The whole magic here is that PORT1 in container is app’s second port. So if you expose both HTTP and HTTPS on two separate ports, you will need here PORT2. I setup both RMI and JMX ports to same value. Second thing here is a hostname, it have to be hostname which you will use to connect to the container. If you use domain name, it have to be this domain name. If you want to use IP, set it to IP. It’s because it’s actually a virtual hostname for JMX HTTP server - if you mix them, you won’t get results. Container orchestrators often automatically export variable like HOST or HOSTNAME which you can use too hook. ...

2021-02-19 · 1 min · timor

CentOS 8 Stream Docker image

We’re all divided with recent decision to focus on CentOS Stream  external link , which essentially means that stable, professional distro will turn into rolling release now. Also CentOS board members don’t gave us more confidence for the future  external link . I don’t want to be totally sceptic, I would like to test it on my own and only then, decide if it’s stable enough. But I work mostly with Docker containers and there are no official Docker images with Stream variant. I decided to create it on my own, based on official instruction  external link . ...

2021-02-11 · 2 min · timor

How old are Official Docker images?

Info ...

2021-01-28 · 2 min · timor

Debuging commands running on memcached

I had stragne statistics on one memcached servers. I had to look what it’s doing there. I found such commands that may be used to sniff, extract and make statistics from running memcached server. Debug GET commands tcpflow -c dst port 11211 | cut -b46- | grep ^get cut command will remove 46 bytes at beginning of every string (src, dst, port). You may need to adjust numeric parameter for cut to leave commands only. Output should look like: ...

2016-07-13 · 1 min · timor

How to stole ssh session when you’re root

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: 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. After you switch to such user, you may wan’t to hide history (it’s optional 😉 ) - disable history like that: ...

2016-04-27 · 1 min · timor

pip - uninstall package with dependencies

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. ...

2016-04-26 · 1 min · timor

Prefer IPv4 over IPv6

I try to use IPv6 where it’s available but it’s sometimes so hard… It happen quite often that I can’t download packages from repos because they weren’t configured on IPv6 vhosts even when host is available via IPv6 address. For APT you may use this trick to force IPv4 connections only: echo 'Acquire::ForceIPv4 "true";' > /etc/apt/apt.conf.d/99force-ipv4 If you need more than that, then gai.conf will allow you to filter where you will be connecting via IPv4 and where via IPv6 - in example bellow you will prefer IPv4 whenever it’s available: ...

2016-03-29 · 1 min · timor