Skip to content

Commit edbb844

Browse files
added ruby one-liners cookbook info
1 parent a35df03 commit edbb844

File tree

49 files changed

+115
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+115
-1
lines changed

Diff for: a-short-and-satisfying-bug-hunt/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: about/index.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>
@@ -115,7 +117,7 @@
115117
<p><strong>Twitter:</strong> <a href="https://twitter.com/learn_byexample">https://twitter.com/learn_byexample</a></p>
116118
<h2 id="acknowledgements">Acknowledgements</h2>
117119
<ul>
118-
<li>This blog has been generated using <a href="https://github.com/getzola/zola">zola</a> and uses <a href="https://github.com/getzola/even">even theme</a>.</li>
120+
<li>This blog has been generated using <a href="https://github.com/getzola/zola">zola</a> and uses <a href="https://github.com/getzola/even">even theme</a> (with some changes like link color, header links, etc).</li>
119121
<li><a href="https://commons.wikimedia.org/wiki/File:Warning_icon.svg">Warning</a> and <a href="https://commons.wikimedia.org/wiki/File:Info_icon_002.svg">Info</a> icons by <a href="https://commons.wikimedia.org/wiki/User:Amada44">Amada44</a> under public domain</li>
120122
<li>See <a href="https://github.com/learnbyexample/learnbyexample.github.io/releases/tag/v1.0">v1.0 tag</a> for the older version of the blog, which was based on <a href="https://github.com/mmistakes/so-simple-theme">So Simple Jekyll Theme</a></li>
121123
</ul>

Diff for: books/index.html

+23
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>
@@ -122,6 +124,11 @@ <h2 id="bundles">Bundles</h2>
122124
<li>GNU grep, ripgrep, GNU sed, GNU awk cli tools</li>
123125
</ul>
124126
</li>
127+
<li><strong>Ruby Text processing</strong>: <a href="https://leanpub.com/b/ruby-textprocessing">leanpub</a> or <a href="https://gumroad.com/l/ruby-textprocessing">gumroad</a>
128+
<ul>
129+
<li>Ruby regular expressions, Ruby one-liners cookbook</li>
130+
</ul>
131+
</li>
125132
<li><a href="https://leanpub.com/b/python101pythonregex">Python 101 + Python re(gex)?</a> or <a href="https://leanpub.com/b/python201_and_regex">Python 201: Intermediate Python + Python re(gex)?</a>
126133
<ul>
127134
<li>Python 101/201 is authored by <a href="https://www.blog.pythonlibrary.org/">Michael Driscoll</a></li>
@@ -228,6 +235,22 @@ <h2 id="ruby-regexp">Ruby Regexp</h2>
228235
<li><a href="https://github.com/learnbyexample/Ruby_Regexp">GitHub repo for code snippets and more</a></li>
229236
<li><a href="https://learnbyexample.github.io/Ruby_Regexp/">html version</a></li>
230237
<li>Feedback: <a href="https://www.goodreads.com/book/show/48641238-ruby-regexp">Goodreads</a> and <a href="https://twitter.com/learn_byexample">Twitter</a></li>
238+
</ul>
239+
<br>
240+
<h2 id="ruby-one-liners-cookbook">Ruby one-liners cookbook</h2>
241+
<p>Example based guide for text processing with ruby from the command line. Exercises are also included to test your understanding.</p>
242+
<p><img src="/images/books/ruby_oneliners.png" alt="Ruby one-liners cookbook cover image" /></p>
243+
<ul>
244+
<li><a href="https://github.com/learnbyexample/learn_ruby_oneliners/blob/master/sample_chapters/ruby_oneliners_sample.pdf">Sample chapters</a></li>
245+
<li>Pay what you want for pdf/epub:
246+
<ul>
247+
<li><a href="https://gumroad.com/l/ruby-oneliners">gumroad</a></li>
248+
<li><a href="https://leanpub.com/ruby-oneliners">leanpub</a></li>
249+
</ul>
250+
</li>
251+
<li><a href="https://github.com/learnbyexample/learn_ruby_oneliners">GitHub repo for code snippets and more</a></li>
252+
<li><a href="https://learnbyexample.github.io/learn_ruby_oneliners/">html version</a></li>
253+
<li>Feedback: <a href="https://twitter.com/learn_byexample">Twitter</a></li>
231254
</ul>
232255

233256
</div>

Diff for: customizing-pandoc/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: favicon.png

4.52 KB

Diff for: favicon.svg

+1

Diff for: grep-book-announcement/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: images/books/ruby_oneliners.png

21.4 KB

Diff for: index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: javascript-regexp-cheatsheet/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: page/2/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: python-for-maths/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: python-gui-book-review/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: python-intermediate/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: python-regex-book-version2/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: python-regex-cheatsheet/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: substitution-with-ripgrep/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/book-review/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/cheatsheet/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/command-line/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/corner-case/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/curated-resources/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/debugging/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/ebook-generation/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/ebook/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/epub/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/examples/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/fixed-string/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/gnu-grep/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/gui/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/intermediate/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/javascript/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/linux/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/markdown/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/maths/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/multiline/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/pandoc/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/pdf/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/python/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/re-module/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

Diff for: tags/regex-module/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626

2727

28+
<link rel="icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.svg">
29+
<link rel="shortcut icon" href="https://github.com/learnbyexample/learnbyexample.github.io/favicon.png">
2830
</head>
2931

3032
<body>

0 commit comments

Comments
 (0)