diff options
author | navanchauhan <navanchauhan@gmail.com> | 2021-06-25 02:36:02 +0530 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2021-06-25 02:36:02 +0530 |
commit | 4531eed05877463fddb79fa35ff22160bd8f91a4 (patch) | |
tree | d281ccee8c8f52f785c9e65afc21b04022f49637 /docs | |
parent | 8724e817bb88776e25567a638a0b8adb3c737ff0 (diff) |
fix spelling
Diffstat (limited to 'docs')
-rw-r--r-- | docs/feed.rss | 10 | ||||
-rw-r--r-- | docs/posts/2021-06-25-Blog2Twitter-P1.html | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/docs/feed.rss b/docs/feed.rss index ec767e7..a54d96f 100644 --- a/docs/feed.rss +++ b/docs/feed.rss @@ -4,8 +4,8 @@ <title>Navan's Archive</title> <description>Rare Tips, Tricks and Posts</description> <link>https://web.navan.dev/</link><language>en</language> - <lastBuildDate>Fri, 25 Jun 2021 02:25:20 -0000</lastBuildDate> - <pubDate>Fri, 25 Jun 2021 02:25:20 -0000</pubDate> + <lastBuildDate>Fri, 25 Jun 2021 02:35:50 -0000</lastBuildDate> + <pubDate>Fri, 25 Jun 2021 02:35:50 -0000</pubDate> <ttl>250</ttl> <atom:link href="https://web.navan.dev/feed.rss" rel="self" type="application/rss+xml"/> @@ -74,7 +74,7 @@ <h2>Plan of Action</h2> <p>I recently shifted my website to a static site generator I wrote specifically for myself. -Thus, it should be easy to just add a feature into it to check for new posts, split the text into chunks for Twitter threads and post them on Twitter. +Thus, it should be easy to just add a feature to check for new posts, split the text into chunks for Twitter threads and tweet them. I am not handling lists or images right now.</p> <h2>Time to Code</h2> @@ -131,9 +131,9 @@ I am not handling lists or images right now.</p> <span class="n">tweets</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">line</span><span class="p">)</span> </code></pre></div> -<p>Every status update using tweepy has an id attached to it, for the next tweet in the thread, it add that ID while calling the function.</p> +<p>Every status update using tweepy has an id attached to it, for the next tweet in the thread, it adds that ID while calling the function.</p> -<p>For every tweet fragment, it also append 1/n.</p> +<p>For every tweet fragment, it also appends 1/n.</p> <div class="codehilite"><pre><span></span><code><span class="k">for</span> <span class="n">idx</span><span class="p">,</span> <span class="n">tweet</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="n">tweets</span><span class="p">):</span> <span class="n">tweet</span> <span class="o">+=</span> <span class="s2">" </span><span class="si">{}</span><span class="s2">/</span><span class="si">{}</span><span class="s2">"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">idx</span><span class="o">+</span><span class="mi">1</span><span class="p">,</span><span class="nb">len</span><span class="p">(</span><span class="n">tweets</span><span class="p">))</span> diff --git a/docs/posts/2021-06-25-Blog2Twitter-P1.html b/docs/posts/2021-06-25-Blog2Twitter-P1.html index 7393f4b..e3d615f 100644 --- a/docs/posts/2021-06-25-Blog2Twitter-P1.html +++ b/docs/posts/2021-06-25-Blog2Twitter-P1.html @@ -28,7 +28,7 @@ <h2>Plan of Action</h2> <p>I recently shifted my website to a static site generator I wrote specifically for myself. -Thus, it should be easy to just add a feature into it to check for new posts, split the text into chunks for Twitter threads and post them on Twitter. +Thus, it should be easy to just add a feature to check for new posts, split the text into chunks for Twitter threads and tweet them. I am not handling lists or images right now.</p> <h2>Time to Code</h2> @@ -85,9 +85,9 @@ I am not handling lists or images right now.</p> <span class="n">tweets</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">line</span><span class="p">)</span> </code></pre></div> -<p>Every status update using tweepy has an id attached to it, for the next tweet in the thread, it add that ID while calling the function.</p> +<p>Every status update using tweepy has an id attached to it, for the next tweet in the thread, it adds that ID while calling the function.</p> -<p>For every tweet fragment, it also append 1/n.</p> +<p>For every tweet fragment, it also appends 1/n.</p> <div class="codehilite"><pre><span></span><code><span class="k">for</span> <span class="n">idx</span><span class="p">,</span> <span class="n">tweet</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="n">tweets</span><span class="p">):</span> <span class="n">tweet</span> <span class="o">+=</span> <span class="s2">" </span><span class="si">{}</span><span class="s2">/</span><span class="si">{}</span><span class="s2">"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">idx</span><span class="o">+</span><span class="mi">1</span><span class="p">,</span><span class="nb">len</span><span class="p">(</span><span class="n">tweets</span><span class="p">))</span> |