<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SUJAY PUJARI's blog]]></title><description><![CDATA[SUJAY PUJARI's blog]]></description><link>https://techtricks.nabhtara.in</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 08:33:49 GMT</lastBuildDate><atom:link href="https://techtricks.nabhtara.in/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Github Actions - certification]]></title><description><![CDATA[I had prepared following materials.  
https://www.youtube.com/watch?v=Tz7FsunBbfQ
 
&
https://app.exampro.co/student/journey/gha for exam preparation were used.]]></description><link>https://techtricks.nabhtara.in/github-actions-certification</link><guid isPermaLink="true">https://techtricks.nabhtara.in/github-actions-certification</guid><category><![CDATA[github-actions]]></category><dc:creator><![CDATA[SUJAY PUJARI]]></dc:creator><pubDate>Sun, 19 May 2024 10:47:29 GMT</pubDate><content:encoded><![CDATA[<p>I had prepared following materials.  </p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=Tz7FsunBbfQ">https://www.youtube.com/watch?v=Tz7FsunBbfQ</a></div>
<p> </p>
<p>&amp;</p>
<p><a target="_blank" href="https://app.exampro.co/student/journey/gha">https://app.exampro.co/student/journey/gha</a> for exam preparation were used.</p>
]]></content:encoded></item><item><title><![CDATA[yq v4 tools]]></title><description><![CDATA[Few operators :

Length
 We can get the length of an array using this length operator
 apple:
   - test: "eat"
   - test: "cut"

 Then the following command gives us the length
 length=$(yq '.apple | length' test.yaml)


env
 This is used to pass var...]]></description><link>https://techtricks.nabhtara.in/yq-v4-tools</link><guid isPermaLink="true">https://techtricks.nabhtara.in/yq-v4-tools</guid><category><![CDATA[yq]]></category><dc:creator><![CDATA[SUJAY PUJARI]]></dc:creator><pubDate>Fri, 18 Aug 2023 05:09:20 GMT</pubDate><content:encoded><![CDATA[<h3 id="heading-few-operators">Few operators :</h3>
<ol>
<li><p>Length</p>
<p> We can get the length of an array using this length operator</p>
<pre><code class="lang-yaml"> <span class="hljs-attr">apple:</span>
   <span class="hljs-bullet">-</span> <span class="hljs-attr">test:</span> <span class="hljs-string">"eat"</span>
   <span class="hljs-bullet">-</span> <span class="hljs-attr">test:</span> <span class="hljs-string">"cut"</span>
</code></pre>
<p> Then the following command gives us the length</p>
<pre><code class="lang-bash"> length=$(yq <span class="hljs-string">'.apple | length'</span> test.yaml)
</code></pre>
</li>
<li><p>env</p>
<p> This is used to pass variables while using yq</p>
<p> here are a few examples :</p>
<pre><code class="lang-bash">  capitalOfIndia=$(country=<span class="hljs-string">"India"</span> yq <span class="hljs-string">'.[env(country)].capital'</span> test.yaml)
</code></pre>
</li>
<li><p>unique, sort</p>
<p> Unique or/and Sort can be used with the help of pipe operator "|".</p>
</li>
<li><p>|, |=, +, +=</p>
<ul>
<li><p>|</p>
<p>  Typically used to derive block of yaml</p>
</li>
<li><p>|=</p>
<p>  Used to update specific block of yaml</p>
</li>
<li><p>+=</p>
<p>  To Add a new entry and modify the parent yaml block as well</p>
</li>
<li><ul>
<li>To just add new entry but not update original</li>
</ul>
</li>
</ul>
</li>
<li><p>Test</p>
</li>
</ol>
]]></content:encoded></item><item><title><![CDATA[AWS CCP exam]]></title><description><![CDATA[I happened to come across and participate in AWS cloud practitioner exam challenge
Where in we got exam voucher 50% off.
By Paying 50$ I had enrolled for exam.
And got it cleared.

I had used following materials to prepare

https://www.udemy.com/cour...]]></description><link>https://techtricks.nabhtara.in/aws-ccp-exam</link><guid isPermaLink="true">https://techtricks.nabhtara.in/aws-ccp-exam</guid><category><![CDATA[AWS Cloud Practitioner]]></category><dc:creator><![CDATA[SUJAY PUJARI]]></dc:creator><pubDate>Mon, 31 Oct 2022 05:17:12 GMT</pubDate><content:encoded><![CDATA[<p>I happened to come across and participate in <a target="_blank" href="https://pages.awscloud.com/GLOBAL-ln-GC-TrainCert-Cloud-Practitioner-Challenge-2022-reg.html">AWS cloud practitioner exam challenge</a></p>
<p>Where in we got exam voucher 50% off.</p>
<p>By Paying 50$ I had enrolled for exam.</p>
<p>And got it cleared.</p>
<hr />
<p>I had used following materials to prepare</p>
<ol>
<li>https://www.udemy.com/course/aws-certified-cloud-practitioner-new/ by Stephane Marek</li>
<li>https://www.udemy.com/course/practice-exams-aws-certified-cloud-practitioner/ and practice exam for same</li>
<li>AWS Certified Cloud Practitioner Official Practice Question Set (CLF-C01 - English)</li>
<li><a target="_blank" href="https://pages.awscloud.com/global-traincert-twitch-power-hour-cloud-practitioner.html?cp=sec&amp;sec=prep">AWS Power Hour: Cloud Practitioner</a></li>
</ol>
]]></content:encoded></item><item><title><![CDATA[Google cloud Digital leader certification]]></title><description><![CDATA[Google's Cloud Digital Leader certification preparation:
( Entry level GCP exam)
Following are important links / resources which I reffered :

Cloud adoption framework :

https://www.youtube.com/watch?v=eYbe3IX7QLg&ab_channel=Whizlabs

https://www.yo...]]></description><link>https://techtricks.nabhtara.in/google-cloud-digital-leader-certification</link><guid isPermaLink="true">https://techtricks.nabhtara.in/google-cloud-digital-leader-certification</guid><category><![CDATA[GCP Certification,]]></category><category><![CDATA[Cloud Digital leader]]></category><dc:creator><![CDATA[SUJAY PUJARI]]></dc:creator><pubDate>Sat, 24 Sep 2022 09:34:29 GMT</pubDate><content:encoded><![CDATA[<p><strong>Google's <a target="_blank" href="https://cloud.google.com/certification/cloud-digital-leader">Cloud Digital Leader certification</a> preparation:
( Entry level GCP exam)</strong></p>
<p>Following are important links / resources which I reffered :</p>
<ul>
<li><p><strong>Cloud adoption framework </strong>:</p>
<ul>
<li><div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=eYbe3IX7QLg&amp;ab_channel=Whizlabs">https://www.youtube.com/watch?v=eYbe3IX7QLg&amp;ab_channel=Whizlabs</a></div>
</li>
<li><div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/playlist?list=PLBfufR7vyJJ7deKRYzREsfN89kOubVXp1">https://www.youtube.com/playlist?list=PLBfufR7vyJJ7deKRYzREsfN89kOubVXp1</a></div>
</li>
</ul>
</li>
<li><p><strong>Learning Materials</strong></p>
<ul>
<li><p>https://www.cloudskillsboost.google/</p>
</li>
<li><p>Cloud Girl ( https://thecloudgirl.dev )</p>
<ul>
<li>sketchnotes &amp; QuickBytes by her are very good</li>
<li><div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=CFw4peH2UwU&amp;list=PLIivdWyY5sqIQ4_5PwyyXZVdsXr3wYhip">https://www.youtube.com/watch?v=CFw4peH2UwU&amp;list=PLIivdWyY5sqIQ4_5PwyyXZVdsXr3wYhip</a></div>
</li>
</ul>
</li>
<li><a target="_blank" href="https://www.walkrinthecloud.com/resources">Resources shared by Sarah Walker</a>
   : GCP Product Flashcards | GCP Exam Documents</li>
</ul>
</li>
<li><p><strong>Free Exam's or Questions at </strong></p>
<ul>
<li>https://app.exampro.co/student/journey/cdl</li>
<li>https://quizlet.com/685016691/cloud-digital-leader-sample-questions-flash-cards/</li>
<li><a target="_blank" href="https://docs.google.com/forms/d/e/1FAIpQLSedAmf77MGS7FGEaylFzY51KtBd7kkIZJIMDsV5zSRSmpKIOA/viewform">Official GCP Practice Qns</a></li>
<li><div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?app=desktop&amp;v=w7TEzqI6U_E&amp;feature=youtu.be&amp;ab_channel=SkillCertProe-Learning">https://www.youtube.com/watch?app=desktop&amp;v=w7TEzqI6U_E&amp;feature=youtu.be&amp;ab_channel=SkillCertProe-Learning</a></div>
</li>
<li><div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/playlist?list=PL_0RK_1F4sTBs02d-rC1fcLJ_ZnVw6moa">https://www.youtube.com/playlist?list=PL_0RK_1F4sTBs02d-rC1fcLJ_ZnVw6moa</a></div>
</li>
<li><div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://www.youtube.com/watch?v=7Em4M57YnNo&amp;t=630s&amp;ab_channel=CloudAdvocate">https://www.youtube.com/watch?v=7Em4M57YnNo&amp;t=630s&amp;ab_channel=CloudAdvocate</a></div>
</li>
<li>https://www.whizlabs.com/blog/google-cloud-certified-digital-leader-exam-free-questions/</li>
<li>https://www.shareitexam.com/Cloud-Digital-Leader-exam-questions.html?page=2</li>
<li>https://www.study4exam.com/google/free-cloud-digital-leader-questions</li>
<li>https://quizlet.com/685016691/cloud-digital-leader-sample-questions-flash-cards/</li>
<li>Sample exam at end of https://www.cloudskillsboost.google/ CDL learning path</li>
</ul>
</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[GCP compute options]]></title><description><![CDATA[Trade off:
https://youtu.be/2tLXKCgqwLY
https://youtu.be/wzPmgWJ5fpU]]></description><link>https://techtricks.nabhtara.in/gcp-compute-options</link><guid isPermaLink="true">https://techtricks.nabhtara.in/gcp-compute-options</guid><category><![CDATA[GCP]]></category><dc:creator><![CDATA[SUJAY PUJARI]]></dc:creator><pubDate>Mon, 12 Sep 2022 10:49:30 GMT</pubDate><content:encoded><![CDATA[<p>Trade off:</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://youtu.be/2tLXKCgqwLY">https://youtu.be/2tLXKCgqwLY</a></div>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://youtu.be/wzPmgWJ5fpU">https://youtu.be/wzPmgWJ5fpU</a></div>
]]></content:encoded></item><item><title><![CDATA[xpath tools]]></title><description><![CDATA[xpath :
Good reference to understand xpath :
 https://www.geeksforgeeks.org/introduction-to-xpath/
Also following plugins ( tried for Chrome) are very helpfull:
SelectorsHub
XPath Helper
xPath Finder
xpath cheatsheet : 
https://devhints.io/xpath]]></description><link>https://techtricks.nabhtara.in/xpath-tools</link><guid isPermaLink="true">https://techtricks.nabhtara.in/xpath-tools</guid><category><![CDATA[Xcode]]></category><dc:creator><![CDATA[SUJAY PUJARI]]></dc:creator><pubDate>Wed, 03 Aug 2022 10:56:00 GMT</pubDate><content:encoded><![CDATA[<p>xpath :</p>
<p>Good reference to understand xpath :
 <a target="_blank" href="https://www.geeksforgeeks.org/introduction-to-xpath/">https://www.geeksforgeeks.org/introduction-to-xpath/</a></p>
<p>Also following plugins ( tried for Chrome) are very helpfull:</p>
<p>SelectorsHub
XPath Helper
xPath Finder</p>
<p>xpath cheatsheet : 
<a target="_blank" href="https://devhints.io/xpath">https://devhints.io/xpath</a></p>
]]></content:encoded></item><item><title><![CDATA[K8S help docs / links]]></title><description><![CDATA[Kubectl cheatsheet]]></description><link>https://techtricks.nabhtara.in/k8s-help-docs-links</link><guid isPermaLink="true">https://techtricks.nabhtara.in/k8s-help-docs-links</guid><category><![CDATA[k8s]]></category><category><![CDATA[Kubernetes]]></category><dc:creator><![CDATA[SUJAY PUJARI]]></dc:creator><pubDate>Fri, 29 Jul 2022 18:24:16 GMT</pubDate><content:encoded><![CDATA[<p><a target="_blank" href="https://kubernetes.io/docs/reference/kubectl/cheatsheet/">Kubectl cheatsheet</a></p>
]]></content:encoded></item><item><title><![CDATA[Handy git commands]]></title><description><![CDATA[To Get list of configuration
git config --list

To set global username and email
git config --global --replace-all user.name "${userName}"
git config --global --replace-all user.email "${userEmail}"

To set local user.name and user.email different fo...]]></description><link>https://techtricks.nabhtara.in/handy-git-commands</link><guid isPermaLink="true">https://techtricks.nabhtara.in/handy-git-commands</guid><category><![CDATA[Git]]></category><dc:creator><![CDATA[SUJAY PUJARI]]></dc:creator><pubDate>Fri, 29 Jul 2022 00:48:24 GMT</pubDate><content:encoded><![CDATA[<p>To Get list of configuration</p>
<pre><code class="lang-plaintext">git config --list
</code></pre>
<p>To set global username and email</p>
<pre><code class="lang-plaintext">git config --global --replace-all user.name "${userName}"
git config --global --replace-all user.email "${userEmail}"
</code></pre>
<p>To set local user.name and user.email different for each repo</p>
<pre><code class="lang-plaintext">git config user.name "${userName}"
git config user.email "${userEmail}"
</code></pre>
<p>To clone git repository using git token</p>
<pre><code class="lang-plaintext">git clone -b branchName https://$gittoken@ https://github.com/account/&lt;Repo&gt;.git
git clone https://$gittoken@ https://github.com/account/&lt;Repo&gt;.git
</code></pre>
<p>To create feature branch</p>
<pre><code class="lang-plaintext">git checkout -b newFeatureBranch
git push -u origin newFeatureBranch
</code></pre>
<p>To get upstream details</p>
<pre><code class="lang-plaintext">git remote -v
# or we can use
git config --get remote.origin.url
</code></pre>
<p>To change remote repository / origin</p>
<pre><code class="lang-plaintext">git remote rename origin upstream
git remote add origin URL_TO_GITHUB_REPO
git push origin master
</code></pre>
<p>To see difference of staged items</p>
<pre><code class="lang-plaintext">git diff --staged
git diff --staged folder/*
</code></pre>
<p>To discard local untracked changes to file</p>
<pre><code class="lang-plaintext">git restore &lt;filename&gt;
</code></pre>
<p>To discard local tracked( staged) changes to file</p>
<pre><code class="lang-plaintext">git restore --staged &lt;filename&gt;
</code></pre>
<p>To discard all local tracked( staged) changes</p>
<pre><code class="lang-plaintext">git reset
</code></pre>
<p>To discard last local commit : ref: <a target="_blank" href="https://www.freecodecamp.org/news/git-revert-commit-how-to-undo-the-last-commit/">https://www.freecodecamp.org/news/git-revert-commit-how-to-undo-the-last-commit/</a></p>
<pre><code class="lang-plaintext">git reset --soft HEAD~1
</code></pre>
<p>\====================</p>
<p>To change multiple old commits</p>
<p>Ref: https://www.w3docs.com/snippets/git/how-to-change-older-or-multiple-commits.html</p>
<p>Running interactive rebase Run :</p>
<pre><code class="lang-plaintext">git rebase -i HEAD~N
# N is the number of commits on which you perform a rebase.
</code></pre>
<p>For example:</p>
<pre><code class="lang-plaintext">git rebase -i HEAD~12
</code></pre>
<p>Replacing pick to reword Move to the lines of the commit message you want to change and replace pick with reword. Reword or r stops the rebase process and gives a chance to amend the commit message.</p>
<p>Saving changes After changing the messages save and close the editor. A new text editor opens for each chosen commit. All you need is to change the commit message, then save the file, and finally close the editor.</p>
<p>Force pushing Then, force push the changes to the remote repository running the following:</p>
<pre><code class="lang-plaintext">git push --force &lt;branchname&gt;
</code></pre>
<p>\====================</p>
<p>To merge changes from anotherBranch to currentBranch</p>
<pre><code class="lang-bash">git fetch --all
git checkout &lt;anotherBranch&gt;
git pull
git checkout &lt;currentBranch&gt;
git merge &lt;anotherBranch&gt;
</code></pre>
<p>To sync code changes from Any other ( or upstream Repository) , upstream repository could be the one from which origin was Forked.<br />in this case.</p>
<pre><code class="lang-bash">git remote add upstream &lt;upstream repo URL&gt;
git fetch upstream
git merge upstream/&lt;branch name&gt;
</code></pre>
]]></content:encoded></item></channel></rss>