Skip to content

Commit 2d4c96e

Browse files
committedJun 7, 2024
updated book titles, added another testimonial
1 parent 60f0346 commit 2d4c96e

File tree

22 files changed

+47
-43
lines changed

22 files changed

+47
-43
lines changed
 

Diff for: β€Žatom.xml

+26-22
Large diffs are not rendered by default.

Diff for: β€Žbooks/index.html

+1-1
Large diffs are not rendered by default.

Diff for: β€Žcounting-nested-braces/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@
4949
</span><span>4
5050
</span><span>-1
5151
</span><span>-1
52-
</span></code></pre><br><p><img alt=info src=/images/info.svg> See my <a href=https://github.com/learnbyexample/learn_perl_oneliners>Perl one-liners</a> ebook if you are interested in learning to use Perl from the command-line.<p><img alt=info src=/images/info.svg> If you are interested in <code>awk</code> and <code>bash</code> solutions, see <a href=https://unix.stackexchange.com/q/680920/109046>this unix.stackexchange thread</a>.</div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/python/>#python</a><a href=https://learnbyexample.github.io/tags/perl/>#perl</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a><a href=https://learnbyexample.github.io/tags/regular-expressions/>#regular-expressions</a><a href=https://learnbyexample.github.io/tags/coding-challenge/>#coding-challenge</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=previous href=https://learnbyexample.github.io/wild-ride-2021/>← 2021 was a wild ride</a><br><p><a class=next href=https://learnbyexample.github.io/python-25-days-of-regex/>Improve your Python regex skills with 75 interactive exercises β†’</a><br></div><hr color=#e6e6e6><p>πŸ“° Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> βœ… Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> πŸ“§ Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>
52+
</span></code></pre><br><p><img alt=info src=/images/info.svg> See my <a href=https://github.com/learnbyexample/learn_perl_oneliners>Perl One-Liners Guide</a> ebook if you are interested in learning to use Perl from the command-line.<p><img alt=info src=/images/info.svg> If you are interested in <code>awk</code> and <code>bash</code> solutions, see <a href=https://unix.stackexchange.com/q/680920/109046>this unix.stackexchange thread</a>.</div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/python/>#python</a><a href=https://learnbyexample.github.io/tags/perl/>#perl</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a><a href=https://learnbyexample.github.io/tags/regular-expressions/>#regular-expressions</a><a href=https://learnbyexample.github.io/tags/coding-challenge/>#coding-challenge</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=previous href=https://learnbyexample.github.io/wild-ride-2021/>← 2021 was a wild ride</a><br><p><a class=next href=https://learnbyexample.github.io/python-25-days-of-regex/>Improve your Python regex skills with 75 interactive exercises β†’</a><br></div><hr color=#e6e6e6><p>πŸ“° Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> βœ… Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> πŸ“§ Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>

Diff for: β€Žduplicates-irrespective-field-order/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
</span><span>hehe bebe
4545
</span><span>tru eblue
4646
</span></code></pre><p>The above solution is similar to the first Python solution with a notable difference. The fields are joined using <code>\034</code> (a non-printing character), which is usually not present in text files.<p>A solution using the field separator instead of <code>\034</code> would look like:<pre class=language-ruby data-lang=ruby style=background-color:#f5f5f5;color:#1f1f1f;><code class=language-ruby data-lang=ruby><span>awk </span><span style=color:#d07711;>'!(($1 FS $2) in seen || ($2 FS $1) in seen); {seen[$1 FS $2]}'
47-
</span></code></pre><br><p><img alt=info src=/images/info.svg> See my <a href=https://github.com/learnbyexample/learn_gnuawk>GNU awk</a> ebook if you are interested in such one-liners.</div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/python/>#python</a><a href=https://learnbyexample.github.io/tags/gnu-awk/>#gnu-awk</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a><a href=https://learnbyexample.github.io/tags/coding-challenge/>#coding-challenge</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=previous href=https://learnbyexample.github.io/vim-reference-guide-announcement/>← Vim Reference Guide book announcement</a><br><p><a class=next href=https://learnbyexample.github.io/automating-excel-with-python-review/>Automating Excel with Python - book review β†’</a><br></div><hr color=#e6e6e6><p>πŸ“° Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> βœ… Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> πŸ“§ Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>
47+
</span></code></pre><br><p><img alt=info src=/images/info.svg> See my <a href=https://github.com/learnbyexample/learn_gnuawk>CLI text processing with GNU awk</a> ebook if you are interested in such one-liners.</div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/python/>#python</a><a href=https://learnbyexample.github.io/tags/gnu-awk/>#gnu-awk</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a><a href=https://learnbyexample.github.io/tags/coding-challenge/>#coding-challenge</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=previous href=https://learnbyexample.github.io/vim-reference-guide-announcement/>← Vim Reference Guide book announcement</a><br><p><a class=next href=https://learnbyexample.github.io/automating-excel-with-python-review/>Automating Excel with Python - book review β†’</a><br></div><hr color=#e6e6e6><p>πŸ“° Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> βœ… Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> πŸ“§ Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>

Diff for: β€Žnumeric-palindrome/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
</span><span style=color:#5597d6;>717
2424
</span><span style=color:#5597d6;>7447
2525
</span><span style=color:#5597d6;>9009
26-
</span></code></pre><br><p><img alt=info src=/images/info.svg> See my <a href=https://github.com/learnbyexample/learn_perl_oneliners>Perl one-liners</a> ebook if you are interested in learning to use Perl from the command-line.</div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/python/>#python</a><a href=https://learnbyexample.github.io/tags/perl/>#perl</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a><a href=https://learnbyexample.github.io/tags/coding-challenge/>#coding-challenge</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=previous href=https://learnbyexample.github.io/programming-deals/>← Programming deals</a><br><p><a class=next href=https://learnbyexample.github.io/learnbyexample-weekly-newsletter/>Announcing learnbyexample weekly newsletter β†’</a><br></div><hr color=#e6e6e6><p>πŸ“° Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> βœ… Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> πŸ“§ Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>
26+
</span></code></pre><br><p><img alt=info src=/images/info.svg> See my <a href=https://github.com/learnbyexample/learn_perl_oneliners>Perl One-Liners Guide</a> ebook if you are interested in learning to use Perl from the command-line.</div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/python/>#python</a><a href=https://learnbyexample.github.io/tags/perl/>#perl</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a><a href=https://learnbyexample.github.io/tags/coding-challenge/>#coding-challenge</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=previous href=https://learnbyexample.github.io/programming-deals/>← Programming deals</a><br><p><a class=next href=https://learnbyexample.github.io/learnbyexample-weekly-newsletter/>Announcing learnbyexample weekly newsletter β†’</a><br></div><hr color=#e6e6e6><p>πŸ“° Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> βœ… Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> πŸ“§ Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>

Diff for: β€Žsitemap.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</url>
2929
<url>
3030
<loc>https://learnbyexample.github.io/books/</loc>
31-
<lastmod>2024-05-29</lastmod>
31+
<lastmod>2024-06-07</lastmod>
3232
</url>
3333
<url>
3434
<loc>https://learnbyexample.github.io/cli-computation-gnu-datamash/</loc>

Diff for: β€Žtips/cli-tip-12/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@
9090
</span><span style=color:#d07711;>
9191
</span><span style=color:#d07711;>
9292
</span><span style=color:#d07711;>unicorn
93-
</span></code></pre><p><strong>Video demo</strong>:<p align=center><iframe allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" title="YouTube video player" allowfullscreen frameborder=0 height=315 loading=lazy src=https://www.youtube.com/embed/DjNF2Sbwyxk width=560></iframe></p><br><p><img alt=info src=/images/info.svg> See also my <a href=https://github.com/learnbyexample/cli_text_processing_coreutils>Command line text processing with GNU Coreutils</a>, <a href=https://github.com/learnbyexample/learn_gnuawk>GNU AWK</a> and <a href=https://github.com/learnbyexample/learn_gnugrep_ripgrep>CLI text processing with GNU grep and ripgrep</a> ebooks.</div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/linux/>#linux</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a><a href=https://learnbyexample.github.io/tags/tip/>#tip</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=previous href=https://learnbyexample.github.io/tips/cli-tip-13/>← CLI tip 13: join lines of two files based on the first field</a><br><p><a class=next href=https://learnbyexample.github.io/tips/cli-tip-11/>CLI tip 11: longest line length β†’</a><br></div><hr color=#e6e6e6><p>πŸ“° Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> βœ… Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> πŸ“§ Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>
93+
</span></code></pre><p><strong>Video demo</strong>:<p align=center><iframe allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" title="YouTube video player" allowfullscreen frameborder=0 height=315 loading=lazy src=https://www.youtube.com/embed/DjNF2Sbwyxk width=560></iframe></p><br><p><img alt=info src=/images/info.svg> See also my <a href=https://github.com/learnbyexample/cli_text_processing_coreutils>CLI text processing with GNU Coreutils</a>, <a href=https://github.com/learnbyexample/learn_gnuawk>CLI text processing with GNU awk</a> and <a href=https://github.com/learnbyexample/learn_gnugrep_ripgrep>CLI text processing with GNU grep and ripgrep</a> ebooks.</div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/linux/>#linux</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a><a href=https://learnbyexample.github.io/tags/tip/>#tip</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=previous href=https://learnbyexample.github.io/tips/cli-tip-13/>← CLI tip 13: join lines of two files based on the first field</a><br><p><a class=next href=https://learnbyexample.github.io/tips/cli-tip-11/>CLI tip 11: longest line length β†’</a><br></div><hr color=#e6e6e6><p>πŸ“° Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> βœ… Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> πŸ“§ Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>

Diff for: β€Žtips/cli-tip-14/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
</span><span>$ mkdir </span><span style=color:#72ab00;>-</span><span>m go</span><span style=color:#72ab00;>-</span><span>rwx dot_files
1414
</span><span>$ stat </span><span style=color:#72ab00;>-</span><span>c </span><span style=color:#d07711;>'</span><span style=color:#aeb52b;>%a %A</span><span style=color:#d07711;>'</span><span> dot_files
1515
</span><span style=color:#b3933a;>700</span><span> drwx</span><span style=color:#72ab00;>------
16-
</span></code></pre><p><strong>Video demo</strong>:<p align=center><iframe allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" title="YouTube video player" allowfullscreen frameborder=0 height=315 loading=lazy src=https://www.youtube.com/embed/8PFWbzFue14 width=560></iframe></p><br><p><img alt=info src=/images/info.svg> See also my <a href=https://github.com/learnbyexample/cli-computing>Computing from the Command Line</a> ebook.</div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/linux/>#linux</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a><a href=https://learnbyexample.github.io/tags/tip/>#tip</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=previous href=https://learnbyexample.github.io/tips/cli-tip-15/>← CLI tip 15: text generation with printf and brace expansion</a><br><p><a class=next href=https://learnbyexample.github.io/tips/cli-tip-13/>CLI tip 13: join lines of two files based on the first field β†’</a><br></div><hr color=#e6e6e6><p>πŸ“° Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> βœ… Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> πŸ“§ Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>
16+
</span></code></pre><p><strong>Video demo</strong>:<p align=center><iframe allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" title="YouTube video player" allowfullscreen frameborder=0 height=315 loading=lazy src=https://www.youtube.com/embed/8PFWbzFue14 width=560></iframe></p><br><p><img alt=info src=/images/info.svg> See also my <a href=https://github.com/learnbyexample/cli-computing>Linux Command Line Computing</a> ebook.</div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/linux/>#linux</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a><a href=https://learnbyexample.github.io/tags/tip/>#tip</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=previous href=https://learnbyexample.github.io/tips/cli-tip-15/>← CLI tip 15: text generation with printf and brace expansion</a><br><p><a class=next href=https://learnbyexample.github.io/tips/cli-tip-13/>CLI tip 13: join lines of two files based on the first field β†’</a><br></div><hr color=#e6e6e6><p>πŸ“° Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> βœ… Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> πŸ“§ Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>

0 commit comments

Comments
 (0)