<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>postIt</title>
	<atom:link href="https://lakm.us/postit/feed/" rel="self" type="application/rss+xml" />
	<link>https://lakm.us/postit</link>
	<description>Post-It sticky notes with PasteBin sense</description>
	<lastBuildDate>Thu, 02 Jan 2025 01:33:57 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0.18</generator>
	<item>
		<title>Configuration Review :HugePages not  &#8230;</title>
		<link>https://lakm.us/postit/2024/10/configuration-review-hugepages-not/</link>
		<comments>https://lakm.us/postit/2024/10/configuration-review-hugepages-not/#comments</comments>
		<pubDate>Mon, 14 Oct 2024 06:09:57 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://lakm.us/postit/2024/10/configuration-review-hugepages-not/</guid>
		<description><![CDATA[Configuration Review : HugePages not enable. Refferences : When And Why To Use HugePages on Linux x86-64? (Doc ID 2314903.1) max locked memory &#038; stack size below oracle recommendation: Ref : https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/checking-resource-limits-for-oracle-software-installation-users.html Swap Spcae Allocation Below Recommendation. Ref : https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/server-configuration-checklist-for-oracle-database-installation.html]]></description>
				<content:encoded><![CDATA[<p>Configuration Review :</p>
<p>HugePages not enable.<br />
Refferences : When And Why To Use HugePages on Linux x86-64? (Doc ID 2314903.1)</p>
<p>max locked memory &#038; stack size below oracle recommendation:<br />
Ref : <a href="https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/checking-resource-limits-for-oracle-software-installation-users.html" rel="nofollow">https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/checking-resource-limits-for-oracle-software-installation-users.html</a></p>
<p>Swap Spcae Allocation Below Recommendation.<br />
Ref : <a href="https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/server-configuration-checklist-for-oracle-database-installation.html" rel="nofollow">https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/server-configuration-checklist-for-oracle-database-installation.html</a></p>
<pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2024/10/configuration-review-hugepages-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Decrypt SQL file backup
openssl enc -d  &#8230;</title>
		<link>https://lakm.us/postit/2023/11/decrypt-sql-file-backupopenssl-enc-d/</link>
		<comments>https://lakm.us/postit/2023/11/decrypt-sql-file-backupopenssl-enc-d/#comments</comments>
		<pubDate>Tue, 28 Nov 2023 09:37:07 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://lakm.us/postit/2023/11/decrypt-sql-file-backupopenssl-enc-d/</guid>
		<description><![CDATA[Decrypt SQL file backup openssl enc -d -aes256 -in somesql.gz.enc &#124; gunzip &#62; some.sql]]></description>
				<content:encoded><![CDATA[<p>Decrypt SQL file backup</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">openssl enc <span style="color: #660033;">-d</span> <span style="color: #660033;">-aes256</span> <span style="color: #660033;">-in</span> somesql.gz.enc <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">gunzip</span> <span style="color: #000000; font-weight: bold;">&gt;</span> some.sql</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2023/11/decrypt-sql-file-backupopenssl-enc-d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tunnel remote port 8383 to become availa &#8230;</title>
		<link>https://lakm.us/postit/2023/11/tunnel-remote-port-8383-to-become-availa/</link>
		<comments>https://lakm.us/postit/2023/11/tunnel-remote-port-8383-to-become-availa/#comments</comments>
		<pubDate>Tue, 28 Nov 2023 03:48:26 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://lakm.us/postit/2023/11/tunnel-remote-port-8383-to-become-availa/</guid>
		<description><![CDATA[Tunnel remote port 8383 to become available as localhost:5433 ssh -L 5433:localhost:8383 some-user@some-server]]></description>
				<content:encoded><![CDATA[<p>Tunnel remote port 8383 to become available as localhost:5433</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-L</span> <span style="color: #000000;">5433</span>:localhost:<span style="color: #000000;">8383</span> some-user<span style="color: #000000; font-weight: bold;">@</span>some-server</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2023/11/tunnel-remote-port-8383-to-become-availa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding annotations XML files for copyin &#8230;</title>
		<link>https://lakm.us/postit/2023/10/finding-annotations-xml-files-for-copyin/</link>
		<comments>https://lakm.us/postit/2023/10/finding-annotations-xml-files-for-copyin/#comments</comments>
		<pubDate>Thu, 12 Oct 2023 00:12:30 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kobo]]></category>
		<category><![CDATA[Mac OSX]]></category>

		<guid isPermaLink="false">http://lakm.us/postit/2023/10/finding-annotations-xml-files-for-copyin/</guid>
		<description><![CDATA[Finding annotations XML files for copying find /Volumes/KOBOeReader/ -name &#34;*.annot&#34; &#124; sed 's/\ /\\ /g' &#124; sed 's/\&#38;/\\&#38;/g']]></description>
				<content:encoded><![CDATA[<p>Finding annotations XML files for copying</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>Volumes<span style="color: #000000; font-weight: bold;">/</span>KOBOeReader<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">&quot;*.annot&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/\ /\\ /g'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/\&amp;/\\&amp;/g'</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2023/10/finding-annotations-xml-files-for-copyin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>At the root folder where there is Docker &#8230;</title>
		<link>https://lakm.us/postit/2021/11/at-the-root-folder-where-there-is-docker/</link>
		<comments>https://lakm.us/postit/2021/11/at-the-root-folder-where-there-is-docker/#comments</comments>
		<pubDate>Tue, 02 Nov 2021 05:30:57 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Docker]]></category>

		<guid isPermaLink="false">http://lakm.us/postit/2021/11/at-the-root-folder-where-there-is-docker/</guid>
		<description><![CDATA[At the root folder where there is Dockerfile docker build -t linkedin-learning-downloader . cd to linkedin-learning-downloader docker run -ti -v $&#40;pwd&#41;:/usr/src/app --rm linkedin-learning-downloader python linkedin_learning.py]]></description>
				<content:encoded><![CDATA[<p>At the root folder where there is <code>Dockerfile</code></p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">docker build <span style="color: #660033;">-t</span> linkedin-learning-downloader .</pre></td></tr></table></div>

<p>cd to linkedin-learning-downloader</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">docker run <span style="color: #660033;">-ti</span> <span style="color: #660033;">-v</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">pwd</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>app <span style="color: #660033;">--rm</span> linkedin-learning-downloader python linkedin_learning.py</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2021/11/at-the-root-folder-where-there-is-docker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add network interface alias sudo ifc &#8230;</title>
		<link>https://lakm.us/postit/2020/12/add-network-interface-alias-sudo-ifc/</link>
		<comments>https://lakm.us/postit/2020/12/add-network-interface-alias-sudo-ifc/#comments</comments>
		<pubDate>Sat, 05 Dec 2020 06:59:17 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mac OSX]]></category>

		<guid isPermaLink="false">http://lakm.us/postit/2020/12/add-network-interface-alias-sudo-ifc/</guid>
		<description><![CDATA[Add network interface alias sudo ifconfig en0 alias 192.168.0.101 255.255.255.0]]></description>
				<content:encoded><![CDATA[<p>Add network interface alias</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ifconfig</span> en0 <span style="color: #7a0874; font-weight: bold;">alias</span> 192.168.0.101 255.255.255.0</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2020/12/add-network-interface-alias-sudo-ifc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Docker clean up based on ancestor tag
 &#8230;</title>
		<link>https://lakm.us/postit/2020/01/docker-clean-up-based-on-ancestor-tag/</link>
		<comments>https://lakm.us/postit/2020/01/docker-clean-up-based-on-ancestor-tag/#comments</comments>
		<pubDate>Fri, 03 Jan 2020 07:40:16 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Docker]]></category>

		<guid isPermaLink="false">http://lakm.us/postit/2020/01/docker-clean-up-based-on-ancestor-tag/</guid>
		<description><![CDATA[Docker clean up based on ancestor tag docker ps -a -q --filter ancestor=azurebot/qna then docker rm the containers]]></description>
				<content:encoded><![CDATA[<p>Docker clean up based on ancestor tag</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">docker <span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-a</span> <span style="color: #660033;">-q</span> <span style="color: #660033;">--filter</span> <span style="color: #007800;">ancestor</span>=azurebot<span style="color: #000000; font-weight: bold;">/</span>qna</pre></td></tr></table></div>

<p>then <code>docker</code> rm the containers</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2020/01/docker-clean-up-based-on-ancestor-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When put at the root of my Windows user  &#8230;</title>
		<link>https://lakm.us/postit/2020/01/when-put-at-the-root-of-my-windows-user/</link>
		<comments>https://lakm.us/postit/2020/01/when-put-at-the-root-of-my-windows-user/#comments</comments>
		<pubDate>Thu, 02 Jan 2020 09:38:16 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Docker]]></category>

		<guid isPermaLink="false">http://lakm.us/postit/2020/01/when-put-at-the-root-of-my-windows-user/</guid>
		<description><![CDATA[When put at the root of my Windows user folder C:\Users\[my username]\Dockerfile it will fail to find context of related files required in the build COPY failed: stat /mnt/sda1/var/lib/docker/tmp/docker-builder746762051/nodejs/package.json: no such file or directory Hence, in separate sub-directory: &#60;docker Windows User root&#62; &#124; nodejs &#40;dir&#41; &#124;___ Dockerfile .dockerignore resources &#40;dir&#41; &#124;____packages.json serverhello.js COPY success during [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>When put at the root of my Windows user folder <code>C:\Users\[my username]\Dockerfile</code><br />
it will fail to find <strong>context</strong> of related files required in the build</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">COPY failed: <span style="color: #c20cb9; font-weight: bold;">stat</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>sda1<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>docker<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>docker-builder746762051<span style="color: #000000; font-weight: bold;">/</span>nodejs<span style="color: #000000; font-weight: bold;">/</span>package.json: no such <span style="color: #c20cb9; font-weight: bold;">file</span> or directory</pre></td></tr></table></div>

<p>Hence, in separate sub-directory:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>docker Windows User root<span style="color: #000000; font-weight: bold;">&gt;</span>
  <span style="color: #000000; font-weight: bold;">|</span>
   nodejs <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">dir</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
         <span style="color: #000000; font-weight: bold;">|</span>___ Dockerfile
              .dockerignore
              resources <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">dir</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
                 <span style="color: #000000; font-weight: bold;">|</span>____packages.json
                      serverhello.js</pre></td></tr></table></div>

<p>COPY success during build:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> nodejs
docker build <span style="color: #660033;">-t</span> bandono<span style="color: #000000; font-weight: bold;">/</span>simplenodeweb .</pre></td></tr></table></div>

<p>Instead of <code>-d</code> that exited with code 126 the whole time, run the <code>serverhello.js</code> using:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">$ docker run <span style="color: #660033;">-p</span> <span style="color: #000000;">8286</span>:<span style="color: #000000;">8080</span> bandono<span style="color: #000000; font-weight: bold;">/</span>simplenodeweb node serverhello.js
Running on http:<span style="color: #000000; font-weight: bold;">//</span>0.0.0.0:<span style="color: #000000;">8080</span></pre></td></tr></table></div>

<p>References (which not working at first running with <code>-d</code>):</p>
<p><a href="https://nodejs.org/de/docs/guides/nodejs-docker-webapp/" target="_blank">[1] nodejs org</a><br />
<a href="https://www.digitalocean.com/community/tutorials/how-to-build-a-node-js-application-with-docker" target="_blank">[2] DigitalOcean </a></p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2020/01/when-put-at-the-root-of-my-windows-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FROM python:2.7

RUN pip install &#8211;n &#8230;</title>
		<link>https://lakm.us/postit/2019/12/from-python2-7run-pip-install-n/</link>
		<comments>https://lakm.us/postit/2019/12/from-python2-7run-pip-install-n/#comments</comments>
		<pubDate>Sun, 22 Dec 2019 13:08:02 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Docker]]></category>

		<guid isPermaLink="false">http://lakm.us/postit/2019/12/from-python2-7run-pip-install-n/</guid>
		<description><![CDATA[FROM python:2.7 &#160; RUN pip install --no-cache-dir pytest]]></description>
				<content:encoded><![CDATA[
<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">FROM python:<span style="color: #000000;">2.7</span>
&nbsp;
RUN pip <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">--no-cache-dir</span> pytest</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2019/12/from-python2-7run-pip-install-n/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change internet default route in Mac OS  &#8230;</title>
		<link>https://lakm.us/postit/2013/04/change-internet-default-route-in-mac-os/</link>
		<comments>https://lakm.us/postit/2013/04/change-internet-default-route-in-mac-os/#comments</comments>
		<pubDate>Thu, 11 Apr 2013 03:29:58 +0000</pubDate>
		<dc:creator><![CDATA[Arif]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://lakm.us/postit/2013/04/change-internet-default-route-in-mac-os/</guid>
		<description><![CDATA[Change internet default route in Mac OS X to USB HSDPA modem stick with LAN&#8217; certain subnet routed via a gateway in WiFi (en1). In my case DNS will go with the modem interface setting remain routed via USB modem stick before routing: $ netstat -nr &#160; Routing tables &#160; Internet: Destination Gateway Flags Refs [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Change internet default route in Mac OS X to USB HSDPA modem stick with LAN&#8217; certain subnet routed via a gateway in WiFi (<code>en1</code>).</p>
<p>In my case DNS will go with the modem interface setting remain routed via USB modem stick</p>
<p><em>before routing</em>:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-nr</span>
&nbsp;
Routing tables
&nbsp;
Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            10.64.64.64        UGSc           <span style="color: #000000;">72</span>      <span style="color: #000000;">137</span>    ppp0
default            <span style="color: #c20cb9; font-weight: bold;">link</span><span style="color: #666666; font-style: italic;">#4             UCSI            0        0     en0</span>
default            10.1.1.1          UGScI           <span style="color: #000000;">0</span>        <span style="color: #000000;">0</span>     en1</pre></td></tr></table></div>

<p>Delete and add routes (desired LAN subnet 192.168.1.0/24:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> route <span style="color: #660033;">-n</span> delete default 10.1.1.1
<span style="color: #c20cb9; font-weight: bold;">sudo</span> route <span style="color: #660033;">-n</span> add default 10.64.64.64
<span style="color: #c20cb9; font-weight: bold;">sudo</span> route <span style="color: #660033;">-n</span> add 192.168.1.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span> 10.1.1.1</pre></td></tr></table></div>

<p><em>after routing</em>:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-nr</span>
&nbsp;
Routing tables
&nbsp;
Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            10.64.64.64        UGSc           <span style="color: #000000;">21</span>        <span style="color: #000000;">0</span>    ppp0
default            <span style="color: #c20cb9; font-weight: bold;">link</span><span style="color: #666666; font-style: italic;">#4             UCSI            0        0     en0</span>
default            10.1.1.1          UGScI           <span style="color: #000000;">0</span>        <span style="color: #000000;">0</span>     en1
10.1.1<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span>         <span style="color: #c20cb9; font-weight: bold;">link</span><span style="color: #666666; font-style: italic;">#5             UCS             6        0     en1</span>
...
192.168.1         10.1.1.1          UGSc            <span style="color: #000000;">0</span>        <span style="color: #000000;">0</span>     en1
...</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>https://lakm.us/postit/2013/04/change-internet-default-route-in-mac-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
