<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mikhail Klemin on Medium]]></title>
        <description><![CDATA[Stories by Mikhail Klemin on Medium]]></description>
        <link>https://medium.com/@mikhail.klemin?source=rss-b10cf4183227------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*kLSLpVYPt_8faNlp</url>
            <title>Stories by Mikhail Klemin on Medium</title>
            <link>https://medium.com/@mikhail.klemin?source=rss-b10cf4183227------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 22:03:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mikhail.klemin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I made intel pci-e WiFi work stable on Ubuntu 24.04.02]]></title>
            <link>https://medium.com/@mikhail.klemin/how-i-made-intel-pci-e-wifi-work-stable-on-ubuntu-24-04-02-8f9424bfe1b2?source=rss-b10cf4183227------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f9424bfe1b2</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[intel]]></category>
            <category><![CDATA[wifi]]></category>
            <dc:creator><![CDATA[Mikhail Klemin]]></dc:creator>
            <pubDate>Thu, 17 Jul 2025 20:45:33 GMT</pubDate>
            <atom:updated>2025-07-17T20:45:33.551Z</atom:updated>
            <content:encoded><![CDATA[<p>Quite suddenly my wifi start to drop and dmesg was looking scary with many reboots of the wifi. <br>I using Gigabyte one with Intel Dual Band Wireless-AC 8260. And I use Ubuntu 24.04.02 with 6.14 kernel. And adpater uses ***8260–36.ucode firmware.</p><pre>sudo nano /etc/modprobe.d/iwlwifi.conf</pre><p>Add line</p><pre>options iwlwifi power_save=0 uapsd_disable=1</pre><p>Update and reboot</p><pre>sudo update-initramfs -u<br>sudo reboot</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f9424bfe1b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Few simple git commands I always forget :-)]]></title>
            <link>https://medium.com/@mikhail.klemin/few-simple-git-commands-i-always-forget-470a5d20ad13?source=rss-b10cf4183227------2</link>
            <guid isPermaLink="false">https://medium.com/p/470a5d20ad13</guid>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Mikhail Klemin]]></dc:creator>
            <pubDate>Fri, 05 Apr 2024 07:39:01 GMT</pubDate>
            <atom:updated>2026-05-04T09:03:36.197Z</atom:updated>
            <content:encoded><![CDATA[<h3>Few simple git commands in Linux I always forget :-)</h3><p>Checkout your stash into new branch</p><pre>git stash branch branch-name [stashID]</pre><p>Sometime I have to move a lot of repos from one dir to another, and easier way for me to run command like this</p><pre>for d in */.git; do echo &quot;git clone $(git --git-dir=&quot;$d&quot; remote get-url origin)&quot;; done</pre><p>Pull branch from remote and create local tracking copy with the same name</p><pre>git checkout --track origin/&lt;REMOTE_BRANCH_NAME&gt;</pre><p>Pull current branch only without fetching the rest of remote branches</p><pre>git pull origin $(git rev-parse --abbrev-ref HEAD)</pre><p>Delete all local branches but master</p><pre> git branch | grep -v &quot;^\*&quot; | grep -v &quot;master&quot; | xargs -r git branch -D</pre><p>Or safer: <br>git branch — merged \<br> | grep -v “^\*” \<br> | grep -v “master” \<br> | xargs -r git branch -d</p><p>Get the latest tag in the master</p><pre>git tag --merged origin/master --sort=-creatordate | head -n 1</pre><p>Set new origin for remote</p><pre>git remote set-url origin new.git.url/here</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=470a5d20ad13" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ubuntu 22.04 and Azure DevOps SSH]]></title>
            <link>https://medium.com/@mikhail.klemin/ubuntu-22-04-and-azure-devops-ssh-1b2479e7d377?source=rss-b10cf4183227------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b2479e7d377</guid>
            <category><![CDATA[azure-devops]]></category>
            <dc:creator><![CDATA[Mikhail Klemin]]></dc:creator>
            <pubDate>Mon, 03 Oct 2022 08:01:52 GMT</pubDate>
            <atom:updated>2022-10-03T08:01:52.884Z</atom:updated>
            <content:encoded><![CDATA[<p>The thing is if you just add your pubkey to the Azure it will not work, you have to add this lines to the ~/.ssh/config</p><pre>Host ssh.dev.azure.com<br>   User git<br>   PubkeyAcceptedAlgorithms +ssh-rsa<br>   HostkeyAlgorithms +ssh-rsa</pre><p>More about that <a href="https://stackoverflow.com/questions/69875520/unable-to-negotiate-with-40-74-28-9-port-22-no-matching-host-key-type-found-th">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b2479e7d377" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[rke up struggles :-)]]></title>
            <link>https://medium.com/@mikhail.klemin/rke-up-struggles-8783ce4d83bf?source=rss-b10cf4183227------2</link>
            <guid isPermaLink="false">https://medium.com/p/8783ce4d83bf</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[rke]]></category>
            <dc:creator><![CDATA[Mikhail Klemin]]></dc:creator>
            <pubDate>Sat, 01 Oct 2022 20:10:55 GMT</pubDate>
            <atom:updated>2022-10-02T14:48:44.527Z</atom:updated>
            <content:encoded><![CDATA[<h3>rke up struggles :-)</h3><p>I need to install kubernetes stuff on my VBox machine, and I am not expert in all of that (but I need to use it for local tests). So even following a manual written by fellow IT, I run into issues.</p><p>First issue is that I seems always forget to add myself into docker group. Do not make such mistake again, and follow <a href="https://docs.docker.com/engine/install/linux-postinstall/">this post install steps</a>.</p><p>Then, after several fruitless rke up you end up with messed up system, and even if you properly added yourself to the docker group you still have to clean up your previous tryouts. <br>I do not know what kind of error would you have, but mine was like this:</p><pre>FATA[0290] [etcd] Failed to bring up Etcd Plane: etcd cluster is unhealthy: hosts [node1] failed to report healthy. Check etcd container logs on each host for more information</pre><p>I must tell, the error message is as confusing as Knuth’s books …</p><p>It’s all described <a href="https://github.com/rancher/rancher/issues/21926#issuecomment-517620288">here</a> after that, you can rke up and enjoy something like this in the end:</p><pre>INFO[0288] Finished building Kubernetes cluster successfully</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8783ce4d83bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Static IP for 22.04 ubuntu VirtualBox guest / ubuntu host]]></title>
            <link>https://medium.com/@mikhail.klemin/static-ip-for-22-04-ubuntu-virtualbox-guest-ubuntu-host-323a4bfa0675?source=rss-b10cf4183227------2</link>
            <guid isPermaLink="false">https://medium.com/p/323a4bfa0675</guid>
            <category><![CDATA[virtualbox]]></category>
            <dc:creator><![CDATA[Mikhail Klemin]]></dc:creator>
            <pubDate>Sat, 01 Oct 2022 13:17:30 GMT</pubDate>
            <atom:updated>2022-10-01T13:17:30.207Z</atom:updated>
            <content:encoded><![CDATA[<p>Yes there are many guides you can see through google, but they all do not work if you follow them.</p><p>So I decided to make a note here for myself, since lately I have to install VBox ubuntu quite a lot of times.</p><p>I had to shutdown the guest and add Network via<strong> File-&gt;Host Network Manager</strong>. Note that this is global setting for VirtualBox, not for your particular guest. <br>For the address and mask you can do whatever you find appropriate, I left default values (and they might be different of course on your PC). So notice the IP is 192.168.56.1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*r3D3TrFnTcRPI6nbWlRVhA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*109aptGBGyWIU9-cAn1dwg.png" /></figure><p>After that, you go to settings of your guest and add the second Host-only network adapter. The <strong>Name </strong>is the name of created network on our previous step.</p><p>After that you start your guest, and edit your default netplan setting config (<em>/etc/netplan</em>) , in my case it was like this</p><pre># This is the network config written by ‘subiquity’<br>network:<br> ethernets:<br> enp0s3:<br> dhcp4: true<br> version: 2</pre><p>As you see it has default network config with dhcp network, we should keep that connections for outbound traffic from the VM, so you just changes it to be as follow (the name for enp0s8 you can get if you do ip -a in guest terminal, that will be like your second Ethernet adapter):</p><pre><br># This is the network config written by ‘subiquity’<br>network:<br> version: 2<br> ethernets:<br> enp0s3:<br> dhcp4: true<br> enp0s8:<br> addresses: [192.168.56.2/24]<br> dhcp4: false</pre><p>And now we good to go, you can ssh 192.168.56.2 from the host, and enjoy proper terminal and other stuff you may need.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=323a4bfa0675" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OpenVPN struggles]]></title>
            <link>https://medium.com/@mikhail.klemin/openvpn-struggles-256ee3374f47?source=rss-b10cf4183227------2</link>
            <guid isPermaLink="false">https://medium.com/p/256ee3374f47</guid>
            <category><![CDATA[openvpn]]></category>
            <dc:creator><![CDATA[Mikhail Klemin]]></dc:creator>
            <pubDate>Thu, 22 Sep 2022 08:17:46 GMT</pubDate>
            <atom:updated>2022-09-22T08:17:46.381Z</atom:updated>
            <content:encoded><![CDATA[<p>Every time I upgrade OpenVPN I get new or another connection issue.</p><p>The reason is that server part is rarely get upgraded because it’s usually installed by IT of large company, and that have many things to do, and each upgrade requires upgrade keys as well which you have to distribute as well… <br>So this day it was like this</p><pre>2022–09–22 10:51:49 us=72626 OpenSSL: error:0A0C0103:SSL routines::internal error<br>2022–09–22 10:51:49 us=72730 TLS_ERROR: BIO read tls_read_plaintext error<br>2022–09–22 10:51:49 us=72760 TLS Error: TLS object -&gt; incoming plaintext read error<br>2022–09–22 10:51:49 us=72782 TLS Error: TLS handshake failed<br>2022–09–22 10:51:49 us=72984 Fatal TLS error (check_tls_errors_co), restarting</pre><p>Yeah, something bad with TLS since I got upgraded the client.</p><p>To solve you need to add to your openvpn config:</p><pre>tls-cipher “DEFAULT:<a href="http://twitter.com/SECLEVEL">@SECLEVEL</a>=0”<br>remote-cert-tls server</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=256ee3374f47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Clean up your local git repo after sprint is done]]></title>
            <link>https://medium.com/@mikhail.klemin/clean-up-your-local-git-repo-after-sprint-is-done-d03dd3b09c81?source=rss-b10cf4183227------2</link>
            <guid isPermaLink="false">https://medium.com/p/d03dd3b09c81</guid>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Mikhail Klemin]]></dc:creator>
            <pubDate>Fri, 16 Sep 2022 08:33:07 GMT</pubDate>
            <atom:updated>2022-09-16T08:33:07.666Z</atom:updated>
            <content:encoded><![CDATA[<p>Clean up your local git repo after sprint is done</p><p>A nice one-liner to delete all branches but master</p><pre>git branch | grep -v “master” | xargs git branch -D</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d03dd3b09c81" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular ngAfterViewChecked and ChangeDetectorRef]]></title>
            <link>https://medium.com/@mikhail.klemin/angular-ngafterviewchecked-and-changedetectorref-77eabd315bf5?source=rss-b10cf4183227------2</link>
            <guid isPermaLink="false">https://medium.com/p/77eabd315bf5</guid>
            <category><![CDATA[cowboy-developer]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Mikhail Klemin]]></dc:creator>
            <pubDate>Thu, 15 Sep 2022 08:13:51 GMT</pubDate>
            <atom:updated>2022-09-15T08:13:51.241Z</atom:updated>
            <content:encoded><![CDATA[<p>There was an issue when I tried to call focus() method on mat-input, through `@ViewChild` I was getting this kind of error `Expression has changed after it was checked`. <br>Thanks to <a href="https://stackoverflow.com/questions/39787038/how-to-manage-angular2-expression-has-changed-after-it-was-checked-exception-w">this post</a> the way to fix that was to use such construction</p><pre><br>import { ChangeDetectorRef } from ‘<a href="http://twitter.com/angular/core">@angular/core</a>’;</pre><pre>constructor(private cdRef:ChangeDetectorRef) {}</pre><pre>ngAfterViewChecked()<br>{<br> console.log( “! changement de la date du composant !” );<br> this.dateNow = new Date();<br> this.cdRef.detectChanges();<br>}</pre><p>The reason for using ngAfterViewChecked is because of <a href="https://stackoverflow.com/questions/46051819/viewchild-and-focus">this issue</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77eabd315bf5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>