<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1619647815507301957</id><updated>2026-09-16T11:37:04.735+08:00</updated><category term="Tips"/><category term="8051"/><category term="AVR"/><category term="Eclipse"/><category term="RTOS"/><category term="Mircorosoft Excel"/><category term="PHP TCPDF"/><title type='text'>Learn something new every day</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>451</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-4931079336052655748</id><published>2025-04-15T12:15:00.002+08:00</published><updated>2025-04-15T12:15:21.057+08:00</updated><title type='text'>Flash iso using terminal with mac</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: #333d42; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, sans-serif; font-size: 14px; orphans: 2; widows: 2;&quot;&gt;Probably not the &quot;easy&quot; way, because it&#39;s not graphical. But it is kinda pretty easy.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333d42; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, sans-serif; font-size: 14px; font-variant-ligatures: normal; margin-bottom: 1rem; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2;&quot;&gt;Open terminal (press cmd+space and type &quot;terminal&quot;)&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333d42; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, sans-serif; font-size: 14px; font-variant-ligatures: normal; margin-bottom: 1rem; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2;&quot;&gt;First type &quot;diskutil list&quot; and press enter (always without the inverted commas)&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333d42; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, sans-serif; font-size: 14px; font-variant-ligatures: normal; margin-bottom: 1rem; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2;&quot;&gt;then insert your usb stick and run &quot;diskutil list&quot; again to see the disk node (e.g. /dev/disk2)&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333d42; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, sans-serif; font-size: 14px; font-variant-ligatures: normal; margin-bottom: 1rem; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2;&quot;&gt;Now run &quot;diskutil unmountDisk /dev/diskN&quot; (where N is the number of the usb stick)&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333d42; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, sans-serif; font-size: 14px; font-variant-ligatures: normal; margin-bottom: 1rem; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2;&quot;&gt;and then run &quot;sudo dd if=/path-to.iso of=/dev/rdiskN bs=1m&quot;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333d42; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, sans-serif; font-size: 14px; font-variant-ligatures: normal; margin-bottom: 1rem; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2;&quot;&gt;(after typing &quot;sudo dd if=&quot; you simply copy paste the path that&#39;s to be found when you right click on the file, then click &quot;get info&quot; and copy the path under &quot;Where&quot;)&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333d42; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, sans-serif; font-size: 14px; font-variant-ligatures: normal; margin-bottom: 0px; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; widows: 2;&quot;&gt;When finished &quot;diskutil eject /dev/diskN&quot;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/4931079336052655748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/4931079336052655748' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/4931079336052655748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/4931079336052655748'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2025/04/flash-iso-using-terminal-with-mac.html' title='Flash iso using terminal with mac'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-3536425689970432323</id><published>2024-02-21T10:59:00.004+08:00</published><updated>2024-02-21T11:00:03.540+08:00</updated><title type='text'>Fix: VMWare workstation 17 shared folder between host windows and Linux VM</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;p&gt;vmware-hgfs client shows up shared folder but nothing shown under /mnt/hgfs&lt;br /&gt;&lt;br /&gt;run the following to fix this issue.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&amp;nbsp;&lt;span color=&quot;var(--black-600)&quot; face=&quot;var(--ff-mono)&quot; style=&quot;font-size: var(--_pr-code-fs); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;sudo vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other -o uid=1000&lt;/span&gt;&lt;/blockquote&gt;&lt;span color=&quot;var(--black-600)&quot; face=&quot;var(--ff-mono)&quot; style=&quot;font-size: var(--_pr-code-fs); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/3536425689970432323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/3536425689970432323' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3536425689970432323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3536425689970432323'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2024/02/fix-vmware-workstation-17-shared-folder.html' title='Fix: VMWare workstation 17 shared folder between host windows and Linux VM'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-6947408857653721530</id><published>2023-08-16T22:56:00.006+08:00</published><updated>2023-08-16T22:58:59.044+08:00</updated><title type='text'>Fixed: failed to execute script pyinstaller-entry-point (ADE start)</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;a href=&quot;https://gitlab.com/ApexAI/autowareclass2020/uploads/b822be9a994dd6eac59afbc13ca4aaa1/issue1.JPG&quot; style=&quot;display: block; padding: 1em 0px; text-align: center;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; data-original-height=&quot;508&quot; data-original-width=&quot;777&quot; src=&quot;https://gitlab.com/ApexAI/autowareclass2020/uploads/b822be9a994dd6eac59afbc13ca4aaa1/issue1.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;


Docker may not be installed on the machine,this can be an issue as ade is just a wrapper on the docker.
you can use the following page &lt;a href=&quot;https://docs.docker.com/engine/install/ubuntu/&quot;&gt;https://docs.docker.com/engine/install/ubuntu/&lt;/a&gt; for installation of docker or short instructions are as below.

&lt;br/&gt;

&lt;script src=&quot;https://gist.github.com/mihir3445/2ab4ed2a65d77320ab810739b57de0bd.js&quot;&gt;&lt;/script&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/6947408857653721530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/6947408857653721530' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/6947408857653721530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/6947408857653721530'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2023/08/failed-to-execute-script-pyinstaller.html' title='Fixed: failed to execute script pyinstaller-entry-point (ADE start)'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-3495113254816080078</id><published>2023-05-18T14:03:00.002+08:00</published><updated>2023-05-18T14:03:33.352+08:00</updated><title type='text'>Replay udp data using tcpreply</title><content type='html'>tcpreplay is primarily designed for replaying packets at the network level and may not be suitable for replaying UDP packets. Thus bit of work is needed to replay this data.


update the input.pcap to us your desired MAC id&#39;s

&lt;pre&gt;&lt;code&gt;
tcprewrite --enet-dmac=destinationMAC --enet-smac=sourceMAC -i input.pcap -o output.pcap
&lt;/code&gt;&lt;/pre&gt;

  
Replace destinationMAC with the MAC address of the destination machine or network interface you wish to send the UDP packets to. Replace sourceMAC with the MAC address of the network interface you plan to send the packets from. 
  
Now you would be able to replay this packets

&lt;pre&gt;&lt;code&gt;
sudo tcpreplay -i input.pcap -o output.pcap
&lt;/code&gt;&lt;/pre&gt;
  
test script to read this packets ( Python3 script is provided to read data on port 9999 )
  
&lt;pre&gt;&lt;code&gt;
import socket

UDP_IP = &quot;0.0.0.0&quot;
UDP_PORT = 9999

sock = socket.socket(socket.AF_INET, # Internet
                     socket.SOCK_DGRAM) # UDP
sock.bind((UDP_IP, UDP_PORT))

while True:
    data, addr = sock.recvfrom(1024) # buffer size is 1024 bytes
    print(&quot;received message: %s&quot; % data)
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/3495113254816080078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/3495113254816080078' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3495113254816080078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3495113254816080078'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2023/05/replay-udp-data-using-tcpreply.html' title='Replay udp data using tcpreply'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-7900077997123888581</id><published>2023-03-30T10:19:00.003+08:00</published><updated>2023-03-30T10:24:15.916+08:00</updated><title type='text'>Failed init_port fastrtps_port7412: open_and_lock_file failed</title><content type='html'>&lt;p&gt;&lt;span face=&quot;Helvetica, Arial, sans-serif&quot; style=&quot;background-color: white; font-size: 13px; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Use following to fix the RTPS_TRANSPORT_SHM Error&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Helvetica, Arial, sans-serif&quot; style=&quot;background-color: white; font-size: 13px; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/p&gt;

&lt;script src=&quot;https://gist.github.com/mihir3445/20498564c90016b676a4d46d422311c4.js&quot;&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/7900077997123888581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/7900077997123888581' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/7900077997123888581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/7900077997123888581'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2023/03/failed-initport-fastrtpsport7412.html' title='Failed init_port fastrtps_port7412: open_and_lock_file failed'/><author><name>Dharti</name><uri>http://www.blogger.com/profile/08050051490078789287</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-8332428837702385600</id><published>2022-05-20T16:02:00.001+08:00</published><updated>2022-05-20T16:02:59.957+08:00</updated><title type='text'>Fix for HDMI to an external monitor:</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: #242424; font-family: &amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: inherit; font-style: inherit; font-weight: inherit;&quot;&gt;Run the commands below with the HDMI connected to my monitor:&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;-webkit-font-smoothing: antialiased; background-color: white; box-sizing: border-box; clear: left; color: #242424; font-family: &amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 14px; font-style: inherit; font-weight: inherit;&quot;&gt;&lt;li style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-size: inherit; font-style: inherit; font-weight: inherit;&quot;&gt;xrandr --listproviders (to make sure you have NVIDIA-G0 as a provider)&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-size: inherit; font-style: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;xrandr&lt;/span&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;&amp;nbsp;--&lt;/span&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;setprovideroutputsource&lt;/span&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;&amp;nbsp;NVIDIA-G0&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;modesetting&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-size: inherit; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;xrandr&lt;/span&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;&amp;nbsp;--auto&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;-webkit-font-smoothing: antialiased; background-color: white; box-sizing: border-box; color: #242424; font-family: &amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 14px; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box;&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;-webkit-font-smoothing: antialiased; background-color: white; box-sizing: border-box; color: #242424; font-family: &amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 14px; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-size: inherit; font-style: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px;&quot;&gt;Ref: Found the info in the last post in this thread:&lt;span style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a aria-label=&quot;Link https://www.linuxquestions.org/questions/debian-26/debian-11-bullseye-on-optimus-laptop-not-detecting-external-screen-4175690446/&quot; href=&quot;https://www.linuxquestions.org/questions/debian-26/debian-11-bullseye-on-optimus-laptop-not-detecting-external-screen-4175690446/&quot; rel=&quot;noopener noreferrer&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: transparent; box-sizing: border-box; color: #5b5fc7; outline-style: none; text-decoration-line: none;&quot; tabindex=&quot;-1&quot; target=&quot;_blank&quot; title=&quot;https://www.linuxquestions.org/questions/debian-26/debian-11-bullseye-on-optimus-laptop-not-detecting-external-screen-4175690446/&quot;&gt;https://www.linuxquestions.org/questions/debian-26/debian-11-bullseye-on-optimus-laptop-not-detecting-external-screen-4175690446/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/8332428837702385600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/8332428837702385600' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/8332428837702385600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/8332428837702385600'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2022/05/fix-for-hdmi-to-external-monitor.html' title='Fix for HDMI to an external monitor:'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-444300139981456866</id><published>2022-05-20T15:58:00.006+08:00</published><updated>2022-05-20T15:58:55.609+08:00</updated><title type='text'>Solution : how to check if the drive is ssd or hdd ?</title><content type='html'>&lt;p style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #232629; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI Adjusted&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Liberation Sans&amp;quot;, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: var(--s-prose-spacing); margin-left: 0px; margin-right: 0px; margin-top: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span color=&quot;var(--black-800)&quot; face=&quot;var(--ff-mono)&quot; style=&quot;background-color: transparent; font-size: var(--fs-body1); font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;&lt;/span&gt;&lt;/p&gt;Command :&amp;nbsp; lsblk -o NAME,ROTA                                                                                                                  &lt;br /&gt;&lt;br /&gt;Result:&amp;nbsp;&lt;div&gt;&lt;br /&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: 0px; margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;NAME   ROTA
sda       0
└─sda1    0
sdb       1
├─sdb1    1
├─sdb2    1
├─sdb3    1
├─sdb4    1&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: 0px; margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;nvmep1    1&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: 0px; margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: 0px; margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: var(--br-md); border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: var(--lh-md); margin-bottom: 0px; margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: var(--su12); vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-size: var(--fs-body1); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&amp;nbsp;1 for hard drive and&amp;nbsp;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI Adjusted&amp;quot;, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Liberation Sans&amp;quot;, sans-serif&quot; style=&quot;background-color: white; color: #232629; font-size: 15px; white-space: normal;&quot;&gt;0 for ssd.&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/444300139981456866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/444300139981456866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/444300139981456866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/444300139981456866'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2022/05/solution-how-to-check-if-drive-is-ssd.html' title='Solution : how to check if the drive is ssd or hdd ?'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-4245293198390721539</id><published>2022-01-05T14:40:00.003+08:00</published><updated>2022-01-05T14:40:28.012+08:00</updated><title type='text'>Add the pem certificate to linux </title><content type='html'>&lt;p data-renderer-start-pos=&quot;82&quot; style=&quot;background-color: #ebecf0; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt; Add the ca-certificate to access the site.&lt;/p&gt;&lt;div class=&quot;code-block gkbfow-0 cdKoEL&quot; style=&quot;background-color: #ebecf0; border-radius: 3px; clear: both; color: #172b4d; display: grid; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;prismjs css-10fl9lg&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; font-family: SFMono-Medium, &amp;quot;SF Mono&amp;quot;, &amp;quot;Segoe UI Mono&amp;quot;, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, Menlo, Consolas, Courier, monospace; font-size: 0.875rem; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(2ch + 16px),transparent calc(2ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-variation-settings: unset; font: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;# Extract pem files
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;unzip cert-cas.zip
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;cd cert-cas
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;4&lt;/span&gt;
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;5&lt;/span&gt;# convert all pem files to crt
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;6&lt;/span&gt;for f in *; do mv -- &quot;$f&quot; &quot;${f%.pem}.crt&quot;; done
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;7&lt;/span&gt;
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;8&lt;/span&gt;sudo mkdir /usr/local/share/ca-certificates/extra
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;9&lt;/span&gt;sudo cp *.crt /usr/local/share/ca-certificates/extra/root.cert.crt
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;10&lt;/span&gt;sudo update-ca-certificates
&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;p data-renderer-start-pos=&quot;558&quot; style=&quot;background-color: #ebecf0; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; letter-spacing: -0.005em; line-height: 1.714; margin: 0.75rem 0px 0px; padding: 0px; white-space: pre-wrap;&quot;&gt;certificates will be available ( below shows confirmation )&lt;/p&gt;&lt;div class=&quot;code-block gkbfow-0 cdKoEL&quot; style=&quot;background-color: #ebecf0; border-radius: 3px; clear: both; color: #172b4d; display: grid; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; grid-template-columns: minmax(0px, 1fr); margin: 0.75rem 0px 0px; max-width: 100%; overflow-wrap: normal; padding: 0px; position: relative; tab-size: 4; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;prismjs css-10fl9lg&quot; data-code-lang=&quot;&quot; data-ds--code--code-block=&quot;&quot; style=&quot;background-attachment: local, scroll, scroll; background-color: var(--ds--code--bg-color,#F4F5F7); background-image: linear-gradient(to left, rgb(244, 245, 247) 8px, transparent 8px), linear-gradient(to left, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px), linear-gradient(to right, rgba(9, 30, 66, 0.13) 0px, rgba(99, 114, 130, 0) 8px); background-position: 100% 0px, 100% 0px, 0px 0px; border-radius: 3px; border-style: none; display: flex; font-family: SFMono-Medium, &amp;quot;SF Mono&amp;quot;, &amp;quot;Segoe UI Mono&amp;quot;, &amp;quot;Roboto Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, Menlo, Consolas, Courier, monospace; font-size: 0.875rem; grid-column: 1 / auto; line-height: 1.5rem; overflow-x: auto; white-space: pre;&quot;&gt;&lt;code style=&quot;-webkit-border-image: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-font-smoothing: unset; -webkit-highlight: unset; -webkit-hyphenate-character: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-locale: unset; -webkit-mask-box-image: unset; -webkit-mask-composite: unset; -webkit-mask: unset; -webkit-perspective-origin-x: unset; -webkit-perspective-origin-y: unset; -webkit-print-color-adjust: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-emphasis-position: unset; -webkit-text-emphasis: unset; -webkit-text-fill-color: unset; -webkit-text-orientation: unset; -webkit-text-security: unset; -webkit-text-stroke: unset; -webkit-transform-origin-x: unset; -webkit-transform-origin-y: unset; -webkit-transform-origin-z: unset; -webkit-user-drag: unset; -webkit-user-modify: unset; -webkit-writing-mode: unset; accent-color: unset; alignment-baseline: unset; animation: unset; app-region: unset; appearance: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-color: unset; background-image: linear-gradient(to right,var(--ds--code--line-number-bg-color,#EBECF0),var(--ds--code--line-number-bg-color,#EBECF0) calc(2ch + 16px),transparent calc(2ch + 16px),transparent); background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; block-size: unset; border-block: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-radius: unset; border-spacing: unset; border-start-end-radius: unset; border-start-start-radius: unset; border: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-color: unset; clear: unset; clip-path: unset; clip-rule: unset; clip: unset; color-interpolation-filters: unset; color-interpolation: unset; color-rendering: unset; color-scheme: unset; color: unset; column-fill: unset; column-rule: unset; column-span: unset; columns: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; contain-intrinsic-size: unset; contain: unset; content-visibility: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cursor: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; empty-cells: unset; fill-opacity: unset; fill-rule: unset; fill: unset; filter: unset; flex-flow: unset; flex: 1 0 auto; float: unset; flood-color: unset; flood-opacity: unset; font-feature-settings: unset; font-kerning: unset; font-optical-sizing: unset; font-variation-settings: unset; font: unset; forced-color-adjust: unset; gap: unset; grid-area: unset; grid: unset; height: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; inline-size: unset; inset-block: unset; inset-inline: unset; inset: unset; isolation: unset; letter-spacing: unset; lighting-color: unset; line-break: unset; list-style: unset; margin-block: unset; margin-inline: unset; margin: unset; marker: unset; mask-type: unset; mask: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; offset: unset; opacity: unset; order: unset; orphans: unset; outline-offset: unset; outline: unset; overflow-anchor: unset; overflow-clip-margin: unset; overflow-wrap: unset; overflow: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding-bottom: 8px; padding-inline: unset; padding-left: 0px; padding-right: 8px !important; padding-top: 8px; page-orientation: unset; page: unset; paint-order: unset; perspective-origin: unset; perspective: unset; place-content: unset; place-items: unset; place-self: unset; pointer-events: unset; position: unset; quotes: unset; r: unset; resize: unset; ruby-position: unset; rx: unset; ry: unset; scroll-behavior: unset; scroll-margin-block: unset; scroll-margin-inline: unset; scroll-margin: unset; scroll-padding-block: unset; scroll-padding-inline: unset; scroll-padding: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; stroke: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-align: unset; text-anchor: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-decoration: unset; text-indent: unset; text-orientation: unset; text-overflow: unset; text-rendering: unset; text-shadow: unset; text-size-adjust: unset; text-transform: unset; text-underline-offset: unset; text-underline-position: unset; touch-action: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transform: unset; transition: unset; user-select: unset; vector-effect: unset; vertical-align: unset; visibility: unset; widows: unset; width: unset; will-change: unset; word-break: unset; word-spacing: unset; writing-mode: unset; x: unset; y: unset; z-index: unset; zoom: unset;&quot;&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;&quot;&gt;test@testM1:/usr/local/share/ca-certificates/extra$ sudo update-ca-certificates 
&lt;/span&gt;&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;2&lt;/span&gt;Updating certificates in /etc/ssl/certs...
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;3&lt;/span&gt;rehash: warning: skipping duplicate certificate in cert-cas.pem
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;4&lt;/span&gt;3 added, 0 removed; done.
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;5&lt;/span&gt;Running hooks in /etc/ca-certificates/update.d...
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;6&lt;/span&gt;
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;7&lt;/span&gt;Adding debian:test.com-cachain.pem
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;8&lt;/span&gt;Adding debian:test.com-rootca.pem
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;9&lt;/span&gt;Adding debian:test.com-subca.pem
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;10&lt;/span&gt;done.
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;11&lt;/span&gt;done.
&lt;span class=&quot;comment linenumber react-syntax-highlighter-line-number&quot; style=&quot;box-sizing: border-box; color: rgb(80, 95, 121) !important; display: inline-block; flex-shrink: 0; margin-right: 8px; min-width: 1.25em; padding-left: 8px; padding-right: 1em; text-align: right; user-select: none;&quot;&gt;12&lt;/span&gt;
&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul class=&quot;ak-ul&quot; data-indent-level=&quot;1&quot; style=&quot;background-color: #ebecf0; box-sizing: border-box; color: #172b4d; display: flow-root; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px; margin: 12px 0px 0px; padding: 0px 0px 0px 24px; white-space: pre-wrap;&quot;&gt;&lt;li&gt;&lt;p data-renderer-start-pos=&quot;1131&quot; style=&quot;font-size: 1em; letter-spacing: -0.005em; line-height: 1.714; margin: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/4245293198390721539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/4245293198390721539' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/4245293198390721539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/4245293198390721539'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2022/01/add-pem-certificate-to-linux.html' title='Add the pem certificate to linux '/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-12980833027827860</id><published>2022-01-05T14:28:00.004+08:00</published><updated>2022-01-05T14:28:33.731+08:00</updated><title type='text'>Find files in dir not contain a string </title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;find . -iname &quot;*.md&quot; -exec grep -Li &quot;All rights reserved&quot; {} \+&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/12980833027827860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/12980833027827860' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/12980833027827860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/12980833027827860'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2022/01/find-files-in-dir-not-contain-string.html' title='Find files in dir not contain a string '/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-878828028120522487</id><published>2021-11-11T11:07:00.002+08:00</published><updated>2021-11-11T11:08:22.671+08:00</updated><title type='text'> Error: GitHub.DistributedTask.ObjectTemplating.TemplateValidationException Unrecognized named-value: &#39;secrets&#39;</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: maroon; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;Error&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: maroon; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;GitHub.DistributedTask.ObjectTemplating.TemplateValidationException&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: maroon; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;The template is not valid. /home/runner/work/test/test/./.github/actions/test/action.yml (Line&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: maroon; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;22, Col&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: maroon; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;14)&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: maroon; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;Unrecognized named-value&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: blue; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;&#39;secrets&#39;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: maroon; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;. Located at position 1 within expression&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: blue; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;secrets.PASS&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: blue; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: blue; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;Fix: actions does not have access to secrets, only the workflow is allowed to access secrets.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: blue; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: #222222; color: #dddddd; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15.008px; margin-top: 0px;&quot;&gt;workflow to pass the secret as:&lt;/p&gt;&lt;pre class=&quot;copy-codeblocks&quot; style=&quot;background-color: #222222; color: #dddddd; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 15.008px; overflow: visible; position: relative;&quot;&gt;&lt;button class=&quot;btn nohighlight copy-cmd&quot; style=&quot;align-items: center; appearance: none; background-color: #eff3f6; background-image: linear-gradient(-180deg, rgb(250, 251, 252) 0%, rgb(239, 243, 246) 90%); background-position: -1px -1px; background-repeat: repeat-x; background-size: 110% 110%; border-color: rgba(27, 31, 35, 0.2); border-radius: 0.25em; border-style: solid; border-width: 1px; color: #24292e; cursor: pointer; font-family: inherit; font-size: var(--font-down-2); font-weight: 600; justify-content: center; margin: 0.5em; min-height: 0px; opacity: 0; overflow: visible; padding: 6px 12px; position: absolute; right: 0px; top: 0px; transition: all 0.2s ease 0s; user-select: none; vertical-align: middle; visibility: hidden; white-space: nowrap;&quot;&gt;&lt;svg class=&quot;fa d-icon d-icon-copy svg-icon svg-string&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;use xlink:href=&quot;#copy&quot;&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/button&gt;&lt;code class=&quot;hljs handlebars&quot; style=&quot;background: rgb(248, 248, 248); color: #333333; display: block; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 1em; max-height: 500px; overflow-wrap: normal; overflow: auto; padding: 0.5em; tab-size: 4;&quot;&gt;&lt;span class=&quot;xml&quot;&gt;with:
  secret_input: $&lt;/span&gt;&lt;span class=&quot;hljs-template-variable&quot; style=&quot;color: teal;&quot;&gt;{{ &lt;span class=&quot;hljs-name&quot; style=&quot;color: navy;&quot;&gt;secrets.SUPER_SECRET&lt;/span&gt; }}&lt;/span&gt;&lt;span class=&quot;xml&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;background-color: #222222; color: #dddddd; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 15.008px;&quot;&gt;And then, in action.yml,&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;&amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: #e9eaf6; box-sizing: border-box; color: blue; font-size: 16px; font-style: inherit; font-weight: inherit;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;copy-codeblocks&quot; style=&quot;background-color: #222222; color: #dddddd; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 15.008px; overflow: visible; position: relative;&quot;&gt;&lt;button class=&quot;btn nohighlight copy-cmd&quot; style=&quot;align-items: center; appearance: none; background-color: #eff3f6; background-image: linear-gradient(-180deg, rgb(250, 251, 252) 0%, rgb(239, 243, 246) 90%); background-position: -1px -1px; background-repeat: repeat-x; background-size: 110% 110%; border-color: rgba(27, 31, 35, 0.2); border-radius: 0.25em; border-style: solid; border-width: 1px; color: #24292e; cursor: pointer; font-family: inherit; font-size: var(--font-down-2); font-weight: 600; justify-content: center; margin: 0.5em; min-height: 0px; opacity: 0; overflow: visible; padding: 6px 12px; position: absolute; right: 0px; top: 0px; transition: all 0.2s ease 0s; user-select: none; vertical-align: middle; visibility: hidden; white-space: nowrap;&quot;&gt;&lt;svg class=&quot;fa d-icon d-icon-copy svg-icon svg-string&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;use xlink:href=&quot;#copy&quot;&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/button&gt;&lt;code class=&quot;hljs yaml&quot; style=&quot;background: rgb(248, 248, 248); color: #333333; display: block; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 1em; max-height: 500px; overflow-wrap: normal; overflow: auto; padding: 0.5em; tab-size: 4;&quot;&gt;&lt;span class=&quot;hljs-attr&quot;&gt;inputs:&lt;/span&gt;
  &lt;span class=&quot;hljs-attr&quot;&gt;secret_input:&lt;/span&gt; 
     &lt;span class=&quot;hljs-attr&quot;&gt;description:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot; style=&quot;color: #dd1144;&quot;&gt;&quot;...&quot;&lt;/span&gt;
     &lt;span class=&quot;hljs-attr&quot;&gt;required:&lt;/span&gt; &lt;span class=&quot;hljs-literal&quot; style=&quot;color: teal;&quot;&gt;true&lt;/span&gt;
&lt;span class=&quot;hljs-string&quot; style=&quot;color: #dd1144;&quot;&gt;...&lt;/span&gt;

&lt;span class=&quot;hljs-attr&quot;&gt;runs:&lt;/span&gt;
&lt;span class=&quot;hljs-string&quot; style=&quot;color: #dd1144;&quot;&gt;.....&lt;/span&gt;
  &lt;span class=&quot;hljs-bullet&quot; style=&quot;color: #990073;&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;name:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot; style=&quot;color: #dd1144;&quot;&gt;.....&lt;/span&gt;
    &lt;span class=&quot;hljs-attr&quot;&gt;env:&lt;/span&gt;
      &lt;span class=&quot;hljs-attr&quot;&gt;MY_SECRET:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot; style=&quot;color: #dd1144;&quot;&gt;${{&lt;/span&gt; &lt;span class=&quot;hljs-string&quot; style=&quot;color: #dd1144;&quot;&gt;inputs.secret_input&lt;/span&gt; &lt;span class=&quot;hljs-string&quot; style=&quot;color: #dd1144;&quot;&gt;}}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/878828028120522487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/878828028120522487' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/878828028120522487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/878828028120522487'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/11/error-githubdistributedtaskobjecttempla.html' title=' Error: GitHub.DistributedTask.ObjectTemplating.TemplateValidationException Unrecognized named-value: &#39;secrets&#39;'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-3048921234618481483</id><published>2021-11-05T12:47:00.005+08:00</published><updated>2021-11-05T12:47:56.382+08:00</updated><title type='text'>fix: docker: Error response from daemon: could not select device driver &quot;&quot; with capabilities: [[gpu]].</title><content type='html'>&lt;p&gt;&amp;nbsp;add&amp;nbsp;&lt;b&gt;export ADE_DISABLE_NVIDIA_DOCKER=1&lt;/b&gt;&amp;nbsp; to .aderc at the start&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/3048921234618481483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/3048921234618481483' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3048921234618481483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3048921234618481483'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/11/fix-docker-error-response-from-daemon.html' title='fix: docker: Error response from daemon: could not select device driver &quot;&quot; with capabilities: [[gpu]].'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-4951321900556755121</id><published>2021-10-08T10:41:00.003+08:00</published><updated>2021-10-08T10:41:33.143+08:00</updated><title type='text'>Use github action to checkout gitlab (or external submodules)</title><content type='html'>&lt;br /&gt;&lt;script src=&quot;https://gist.github.com/fmg-mihir/958aa0610e0c58951e36e9c987fc9d86.js&quot;&gt;&lt;/script&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;add the&amp;nbsp;CI_USER and CI_PAT to your github repo under secrets.&lt;/div&gt;&lt;div&gt;replace gitlab with your external repo.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/4951321900556755121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/4951321900556755121' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/4951321900556755121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/4951321900556755121'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/10/use-github-action-to-checkout-gitlab-or.html' title='Use github action to checkout gitlab (or external submodules)'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-3845665546391100753</id><published>2021-09-16T16:32:00.004+08:00</published><updated>2021-09-16T16:32:52.083+08:00</updated><title type='text'>&quot;apt full-upgrade&quot; returns &quot;1 not fully installed or removed.&quot;</title><content type='html'>&lt;span style=&quot;background-color: white; color: #232629; font-family: inherit; font-size: 15px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;1. find the issue.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white; color: #232629; font-family: inherit; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;sudo dpkg -C&lt;/span&gt;&lt;br /&gt;&lt;p style=&quot;display: inline; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;p style=&quot;display: inline; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;test@test:/var/lib/dpkg$ sudo dpkg -C&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;The following packages are in a mess due to serious problems during&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;installation.&amp;nbsp; They must be reinstalled for them (and any packages&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;that depend on them) to function properly:&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&amp;nbsp;&lt;b&gt;libreoffice-common&lt;/b&gt;&amp;nbsp; &amp;nbsp;office productivity suite -- arch-independent files&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: inherit; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #232629; font-family: inherit; font-size: 15px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;Remove the broken package via the following command:&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; color: #232629; font-family: inherit; font-size: 15px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #232629; font-family: inherit; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;sudo dpkg --remove --force-remove-reinstreq&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-size: 13px;&quot;&gt;libreoffice-common&lt;/b&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; color: #232629; font-family: inherit; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #232629; font-family: inherit; font-size: 15px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;Install the package again:&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; color: #232629; font-family: inherit; font-size: 15px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #232629; font-family: inherit; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;sudo apt-get install&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-size: 13px;&quot;&gt;libreoffice-common&lt;/b&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/3845665546391100753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/3845665546391100753' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3845665546391100753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3845665546391100753'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/09/apt-full-upgrade-returns-1-not-fully.html' title='&quot;apt full-upgrade&quot; returns &quot;1 not fully installed or removed.&quot;'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-3898557302433244084</id><published>2021-09-02T10:57:00.000+08:00</published><updated>2021-09-02T10:57:51.683+08:00</updated><title type='text'>Wifi setup from command line on linux</title><content type='html'>&lt;p&gt;&amp;nbsp;1. find the wireless interface (starting with w)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;ip a&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. To check the configuration of the wireless interface&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;sudo iwconfig&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. make sure the wireless interface is up&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;sudo ip link set w___ up&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. find the ESSID of available for connection&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;sudo iwlist w___ scan | grep ESSID&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4.1 Connect to the ESSID of your choice ( yyy )&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;sudo iwconfig w___ essid yyy&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4.2 If it&#39;s password-protected then use&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;sudo iwconfig w___ essid yyy key s:zzz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;(Here &quot;s:&quot; is used for string, while &quot;zzz&quot; is your key)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. Setting up dhcp&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;sudo dhclient w___&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. check the connection to the internet&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;ping 8.8.8.8&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/3898557302433244084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/3898557302433244084' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3898557302433244084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3898557302433244084'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/09/wifi-setup-from-command-line-on-linux.html' title='Wifi setup from command line on linux'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-7466293585402101784</id><published>2021-08-02T10:22:00.005+08:00</published><updated>2021-08-02T10:22:50.628+08:00</updated><title type='text'>recursively delete empty directories</title><content type='html'>&lt;pre style=&quot;border-radius: 5px; border: 0px; box-sizing: inherit; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;delete all empty folders in current dir&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: 5px; border: 0px; box-sizing: inherit; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;&lt;b&gt;find . -type d -empty -delete&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: 5px; border: 0px; box-sizing: inherit; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;delete all empty files in current dir&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: 5px; border: 0px; box-sizing: inherit; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;&lt;b&gt;find . -type f -empty -delete&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: 5px; border: 0px; box-sizing: inherit; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;print all empty folders in current dir&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: 5px; border: 0px; box-sizing: inherit; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;&lt;b&gt;find . -type d -empty -print&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: var(--highlight-color); font-family: var(--ff-mono); font-size: 13px;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/7466293585402101784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/7466293585402101784' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/7466293585402101784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/7466293585402101784'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/08/recursively-delete-empty-directories.html' title='recursively delete empty directories'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-5652716726819085955</id><published>2021-07-23T14:11:00.006+08:00</published><updated>2021-07-23T14:11:53.235+08:00</updated><title type='text'>ade environment share directory from local machine or external drive</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;Add following to the .aderc ( lsblk can be used to find the mounted dir if it&#39;s a external usb drive or SSD )&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp; --mount type=bind,source=/media/sda1-usb-Generic_Flash_Di,destination=/media/sda1-usb-Generic_Flash_Di,bind-propagation=shared&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;

&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ref:&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://serverfault.com/questions/903534/use-auto-mounted-usb-drives-in-docker-container&quot; rel=&quot;noreferrer noopener&quot; tabindex=&quot;-1&quot; target=&quot;_blank&quot; title=&quot;https://serverfault.com/questions/903534/use-auto-mounted-usb-drives-in-docker-container&quot;&gt;https://serverfault.com/questions/903534/use-auto-mounted-usb-drives-in-docker-container&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/5652716726819085955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/5652716726819085955' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/5652716726819085955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/5652716726819085955'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/07/ade-environment-share-directory-from.html' title='ade environment share directory from local machine or external drive'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-4591382418232743992</id><published>2021-05-20T10:15:00.003+08:00</published><updated>2021-05-20T10:15:38.537+08:00</updated><title type='text'>fix Font characters displayed as squares in Ubuntu</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ62p06fEgfRXHw4AIAOkpRzDP55s6KU9H59ebVBHphm2OwUIpMlPvDsk-OF5Uz1v_uRIMq4LCbcP34ULEC9yE-kCQ-0_BdAidTQxhxZ1FqFXSNFwWUgTva8KqnOaHjaorAZZjD2A91q99/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;942&quot; data-original-width=&quot;1213&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ62p06fEgfRXHw4AIAOkpRzDP55s6KU9H59ebVBHphm2OwUIpMlPvDsk-OF5Uz1v_uRIMq4LCbcP34ULEC9yE-kCQ-0_BdAidTQxhxZ1FqFXSNFwWUgTva8KqnOaHjaorAZZjD2A91q99/&quot; width=&quot;309&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;execute&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre style=&quot;border-radius: 5px; border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;rm -rf ~/.cache/fontconfig 
sudo fc-cache -r -v&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: 5px; border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;border-radius: 5px; border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;enter your sudo password after executing this lines and &lt;/code&gt; reboot&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/4591382418232743992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/4591382418232743992' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/4591382418232743992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/4591382418232743992'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/05/fix-font-characters-displayed-as.html' title='fix Font characters displayed as squares in Ubuntu'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ62p06fEgfRXHw4AIAOkpRzDP55s6KU9H59ebVBHphm2OwUIpMlPvDsk-OF5Uz1v_uRIMq4LCbcP34ULEC9yE-kCQ-0_BdAidTQxhxZ1FqFXSNFwWUgTva8KqnOaHjaorAZZjD2A91q99/s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-2823209197648665469</id><published>2021-05-19T14:25:00.003+08:00</published><updated>2021-05-19T14:25:19.286+08:00</updated><title type='text'>Setup ragner highlighting file</title><content type='html'>&lt;p&gt;sudo apt install ranger highlight&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;to setup highlighting of file execute following&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: rgba(27, 31, 35, 0.05); color: #24292e; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, monospace; font-size: 11.9px;&quot;&gt;ranger --copy-config=scope&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgba(27, 31, 35, 0.05); color: #24292e; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, monospace; font-size: 11.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgba(27, 31, 35, 0.05); color: #24292e; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, monospace; font-size: 11.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgba(27, 31, 35, 0.05); color: #24292e; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, monospace; font-size: 11.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/2823209197648665469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/2823209197648665469' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/2823209197648665469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/2823209197648665469'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/05/setup-ragner-highlighting-file.html' title='Setup ragner highlighting file'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-1161426237274101000</id><published>2021-05-06T13:16:00.003+08:00</published><updated>2021-05-06T13:16:28.721+08:00</updated><title type='text'>OSError: liblas_c.so.3: cannot open shared object file: No such file or directory</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: rgba(27, 31, 35, 0.05); color: #24292e; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, monospace; font-size: 11.9px;&quot;&gt;sudo apt install -y liblas-c-dev&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgba(27, 31, 35, 0.05); color: #24292e; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, monospace; font-size: 11.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/1161426237274101000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/1161426237274101000' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/1161426237274101000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/1161426237274101000'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/05/oserror-liblascso3-cannot-open-shared.html' title='OSError: liblas_c.so.3: cannot open shared object file: No such file or directory'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-4222929587513949998</id><published>2021-04-27T21:44:00.000+08:00</published><updated>2021-04-27T21:44:02.529+08:00</updated><title type='text'>Fix Microsoft OneDrive export large ZIP files that are corrupt</title><content type='html'>&lt;p&gt;File downloaded where size is more then 4GB, when you try unzipping shows corrupt.&lt;/p&gt;&lt;p&gt;Looks like there is a bug in the zip library itself that is not fixed. Following is a workaround.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;problem:&lt;/p&gt;&lt;pre class=&quot;highlight&quot; style=&quot;background-color: #f8f8f8; border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.15); color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px; line-height: 20px; margin-bottom: 30px; margin-top: 30px; overflow-wrap: break-word; padding: 9.5px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;background-color: transparent; border-radius: 3px; border: 0px; color: inherit; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; margin-bottom: 30px; margin-top: 30px; padding: 0px;&quot;&gt; zipfile corrupt.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Solution: (from Paul Marquess)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Lato; font-size: 22px; margin: 0px 0px 30px;&quot;&gt;&lt;a href=&quot;https://github.com/pmqs/Fix-OneDrive-Zip&quot; style=&quot;color: #0088cc; text-decoration-line: none;&quot;&gt;https://github.com/pmqs/Fix-OneDrive-Zip&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;language-bash highlighter-rouge&quot; style=&quot;background-color: white; color: #333333; font-family: Lato; font-size: 22px;&quot;&gt;&lt;div class=&quot;highlight&quot; style=&quot;background-color: #f8f8f8;&quot;&gt;&lt;pre class=&quot;highlight&quot; style=&quot;border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.15); font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px; line-height: 20px; margin-bottom: 30px; margin-top: 30px; overflow-wrap: break-word; padding: 9.5px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;background-color: transparent; border-radius: 3px; border: 0px; color: inherit; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; margin-bottom: 30px; margin-top: 30px; padding: 0px;&quot;&gt;fix-onedrive-zip onedrive-zip-test-zeros.zip
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Lato; font-size: 22px; margin: 0px 0px 30px;&quot;&gt;After running the script, You shall be able to unzip the file as normal without error.&lt;/p&gt;&lt;p style=&quot;background-color: white; color: #333333; font-family: Lato; font-size: 22px; margin: 0px 0px 30px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Note:-&lt;/p&gt;&lt;p&gt;If you want to see detailed explanation then see following&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;https://www.bitsgalore.org/2020/03/11/does-microsoft-onedrive-export-large-ZIP-files-that-are-corrupt&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/4222929587513949998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/4222929587513949998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/4222929587513949998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/4222929587513949998'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/04/fix-microsoft-onedrive-export-large-zip.html' title='Fix Microsoft OneDrive export large ZIP files that are corrupt'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-2219260167986894983</id><published>2021-04-27T21:38:00.000+08:00</published><updated>2021-04-27T21:38:37.168+08:00</updated><title type='text'>fix : nvml error: driver/library version mismatch: unknown.</title><content type='html'>&lt;p&gt;&amp;nbsp;reboot the main machine and then retry.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/2219260167986894983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/2219260167986894983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/2219260167986894983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/2219260167986894983'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/04/fix-nvml-error-driverlibrary-version.html' title='fix : nvml error: driver/library version mismatch: unknown.'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-25231332872317909</id><published>2021-04-14T15:53:00.002+08:00</published><updated>2021-04-14T15:53:33.751+08:00</updated><title type='text'>Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: mount error: stat failed: /dev/nvidia-modeset: no such file or directory: unknown.</title><content type='html'>&lt;p&gt;Solution:&lt;/p&gt;&lt;p&gt;(Platform Ubuntu)&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Open software &amp;amp; updates&lt;/li&gt;&lt;li&gt;go to additional drivers&lt;/li&gt;&lt;li&gt;Select to using X.Org X Server - Nouveau&lt;/li&gt;&lt;li&gt;Apply&lt;/li&gt;&lt;li&gt;Select Using NVIDIA Driver metapakage nvidia-driver&lt;/li&gt;&lt;li&gt;Apply&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;now you can see the file is not missing.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ls -al&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Segoe UI&amp;quot;, system-ui, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;/dev/nvidia-modeset&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/25231332872317909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/25231332872317909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/25231332872317909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/25231332872317909'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/04/error-response-from-daemon-oci-runtime.html' title='Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: mount error: stat failed: /dev/nvidia-modeset: no such file or directory: unknown.'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-1451191697832081752</id><published>2021-01-29T10:48:00.001+08:00</published><updated>2021-01-29T10:50:50.967+08:00</updated><title type='text'>fix : Unable to update nvidia driver on ubuntu</title><content type='html'>&lt;p&gt;&amp;nbsp;sudo software-properties-gtk&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. go to the main tab and remove all selection and select close. ( Let the list update)&lt;/p&gt;&lt;p&gt;2. run the same command, select all options and apply close letting the list update.&lt;/p&gt;&lt;p&gt;3. now you can run the same command go to Additional Driver and install the Nvidia driver.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Problem: ( Ubuintu-16.04, issue with software properties not saved properly)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The following packages have unmet dependencies:&lt;br /&gt;&amp;nbsp;nvidia-460 : Depends: lib32gcc1 but it is not going to be installed&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Depends: libc6-i386 but it is not going to be installed&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/1451191697832081752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/1451191697832081752' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/1451191697832081752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/1451191697832081752'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2021/01/fix-unable-to-update-nvidia-driver-on.html' title='fix : Unable to update nvidia driver on ubuntu'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-627824371254409419</id><published>2020-11-19T11:17:00.004+08:00</published><updated>2020-11-19T11:17:58.229+08:00</updated><title type='text'>fix : WslRegisterDistribution error 0x80370102</title><content type='html'>&lt;p&gt;under powershell (run as admin) execute following.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: #f2f2f2; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;&quot;&gt;wsl --set-default-version 1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f2f2f2; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f2f2f2; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;&quot;&gt;then run your vm again.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f2f2f2; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/627824371254409419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/627824371254409419' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/627824371254409419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/627824371254409419'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2020/11/fix-wslregisterdistribution-error.html' title='fix : WslRegisterDistribution error 0x80370102'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1619647815507301957.post-3689036362762744287</id><published>2020-09-16T15:00:00.005+08:00</published><updated>2020-09-16T15:03:29.499+08:00</updated><title type='text'>fixed sed: preserving permissions for : Permission denied (Windows, MingW)</title><content type='html'>&lt;p&gt;issue :&amp;nbsp;&lt;span style=&quot;background-color: white; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px;&quot;&gt;Windows security settings.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px 0px 1.4667em; padding: 0px; vertical-align: baseline;&quot;&gt;Open the folder&#39;s Properties settings from the context menu. In the Security tab, click&amp;nbsp;&lt;em style=&quot;border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Edit&lt;/em&gt;, press&amp;nbsp;&lt;em style=&quot;border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Add...&lt;/em&gt;&amp;nbsp;in the pop-up window and add your user to the list, check&amp;nbsp;&lt;strong style=&quot;border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Full Control&lt;/strong&gt;&amp;nbsp;in the&amp;nbsp;&lt;em style=&quot;border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Allow&lt;/em&gt;&amp;nbsp;column. Press&amp;nbsp;&lt;em style=&quot;border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;OK&lt;/em&gt;&amp;nbsp;twice to apply the changes.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://mihirknows.blogspot.com/feeds/3689036362762744287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1619647815507301957/3689036362762744287' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3689036362762744287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1619647815507301957/posts/default/3689036362762744287'/><link rel='alternate' type='text/html' href='http://mihirknows.blogspot.com/2020/09/fixed-sed-preserving-permissions-for.html' title='fixed sed: preserving permissions for : Permission denied (Windows, MingW)'/><author><name>Mihir</name><uri>http://www.blogger.com/profile/17917772461380151084</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://img4.orkut.com/images/medium/1191824378/18473985.jpg'/></author><thr:total>0</thr:total></entry></feed>