<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/rss/styles.xsl" type="text/xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>The Roshan Ron Blog</title><description>A blog about software development, programming, and technology.</description><link>https://theroshanron.com/</link><item><title>Introduction to TypeScript</title><link>https://theroshanron.com/blog/07-2024-introduction-to-typescript/</link><guid isPermaLink="true">https://theroshanron.com/blog/07-2024-introduction-to-typescript/</guid><description>An overview of TypeScript and its benefits over JavaScript.</description><pubDate>Sat, 12 Oct 2024 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;TypeScript is a statically typed superset of JavaScript that adds optional type annotations. It helps developers catch errors early and write more maintainable code...&lt;/p&gt;
&lt;p&gt;export const myName = &apos;Sarah Lee&apos;;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const greet = (name: string) =&amp;gt; {
  return `Hello, ${name}!`;
};

console.log(greet(myName)); // Output: Hello, Sarah Lee!
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;lt;h1&amp;gt;{myName}&amp;lt;/h1&amp;gt;&lt;/p&gt;
&lt;p&gt;By using TypeScript, you can take advantage of features like type checking, interfaces, and enums to build robust applications. TypeScript code is transpiled to JavaScript, so it can run in any browser or Node.js environment...&lt;/p&gt;
</content:encoded><author>Sarah Lee</author><category>programming</category></item><item><title>Building RESTful APIs with Node.js</title><link>https://theroshanron.com/blog/06-2024-rest-apis-with-nodejs/</link><guid isPermaLink="true">https://theroshanron.com/blog/06-2024-rest-apis-with-nodejs/</guid><description>Step-by-step guide to building RESTful APIs using Node.js and Express.</description><pubDate>Tue, 05 Sep 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Node.js is a popular runtime environment for building server-side applications. In this guide, we will explore how to build RESTful APIs using Node.js and Express...&lt;/p&gt;
&lt;p&gt;export const myName = &apos;Sarah Lee&apos;;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const greet = (name: string) =&amp;gt; {
  return `Hello, ${name}!`;
};

console.log(greet(myName)); // Output: Hello, Sarah Lee!
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;lt;h1&amp;gt;{myName}&amp;lt;/h1&amp;gt;&lt;/p&gt;
</content:encoded><author>Michael Brown</author><category>Backend</category></item><item><title>A complete guide to CSS Grid Layout for beginners and advanced developers</title><link>https://theroshanron.com/blog/06-2024-css-grid-layouts/</link><guid isPermaLink="true">https://theroshanron.com/blog/06-2024-css-grid-layouts/</guid><description>This is a comprehensive guide to CSS Grid Layout. It covers everything from the basics to advanced techniques. If you are new, this will help you a lot. So please do read it. I would love to hear your feedback. Thanks. I really appreciate it. Have a great day. Bye.</description><pubDate>Sun, 20 Aug 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;This is a comprehensive guide to CSS Grid Layout. It covers everything from the basics to advanced techniques. If you&apos;re new to CSS Grid Layout, this guide will help you get started. If you&apos;re already familiar with CSS Grid Layout, this guide will help you take your skills to the next level.&lt;/p&gt;
&lt;h1&gt;An h1 header&lt;/h1&gt;
&lt;p&gt;Paragraphs are separated by a blank line.&lt;/p&gt;
&lt;p&gt;2nd paragraph. &lt;em&gt;Italic&lt;/em&gt;, &lt;strong&gt;bold&lt;/strong&gt;, and &lt;code&gt;monospace&lt;/code&gt;. Itemized lists
look like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;this one&lt;/li&gt;
&lt;li&gt;that one&lt;/li&gt;
&lt;li&gt;the other one&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Note that --- not considering the asterisk --- the actual text
content starts at 4-columns in.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Block quotes are
written like so.&lt;/p&gt;
&lt;p&gt;They can span multiple paragraphs,
if you like.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., &quot;it&apos;s all
in chapters 12--14&quot;). Three dots ... will be converted to an ellipsis.
Unicode is supported. ☺&lt;/p&gt;
&lt;h2&gt;An h2 header&lt;/h2&gt;
&lt;p&gt;Here&apos;s a numbered list:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;first item&lt;/li&gt;
&lt;li&gt;second item&lt;/li&gt;
&lt;li&gt;third item&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;code&gt;One liner code that is very very long in length and should be wrapped in the code block to make it more readable.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Note again how the actual text starts at 4 columns in (4 characters
from the left side). Here&apos;s a code sample:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# Let me re-iterate ...
    for i in 1 .. 10 { do-something(i) }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As you probably guessed, indented 4 spaces. By the way, instead of
indenting the block, you can use delimited blocks, if you like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;define foobar() {
    print &quot;Welcome to flavor country! Some more text Note again how the actual text starts at 4 columns in (4 characters from the left side). Here&apos;s a code sample:&quot;;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;(which makes copying &amp;amp; pasting easier). You can optionally mark the
delimited block for Pandoc to syntax highlight it:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import time
# Quick, count to ten!
for i in range(10):
    # (but not *too* quick)
    time.sleep(0.5)
    print i
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;An h3 header&lt;/h3&gt;
&lt;p&gt;Now a nested list:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;First, get these ingredients:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;carrots&lt;/li&gt;
&lt;li&gt;celery&lt;/li&gt;
&lt;li&gt;lentils&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Boil some water.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Dump everything in the pot and follow
this algorithm:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find wooden spoon
uncover pot
stir
cover pot
balance wooden spoon precariously on pot handle
wait 10 minutes
goto first step (or shut off burner when done)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Do not bump wooden spoon or it will fall.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Notice again how text always lines up on 4-space indents (including
that last line which continues item 3 above).&lt;/p&gt;
&lt;p&gt;Here&apos;s a link to &lt;a href=&quot;http://foo.bar&quot;&gt;a website&lt;/a&gt;, to a &lt;a href=&quot;local-doc.html&quot;&gt;local
doc&lt;/a&gt;, and to a &lt;a href=&quot;#an-h2-header&quot;&gt;section heading in the current
doc&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here&apos;s a footnote [^1].&lt;/p&gt;
&lt;p&gt;[^1]: Footnote text goes here.&lt;/p&gt;
&lt;p&gt;Tables can look like this:&lt;/p&gt;
&lt;p&gt;size material color
Table: Shoes, their sizes, and what they&apos;re made of&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Size&lt;/th&gt;
&lt;th&gt;Material&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;leather brown&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;hemp canvas natural&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;td&gt;glass transparent&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;hr /&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Keyword&lt;/th&gt;
&lt;th&gt;Text&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;red&lt;/td&gt;
&lt;td&gt;Sunsets, apples, and other red or reddish things.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;green&lt;/td&gt;
&lt;td&gt;Leaves, grass, frogs and other things it&apos;s not easy being.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;hr /&gt;
&lt;p&gt;A horizontal rule follows.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Here&apos;s a definition list:&lt;/p&gt;
&lt;p&gt;apples
: Good for making applesauce.
oranges
: Citrus!
tomatoes
: There&apos;s no &quot;e&quot; in tomatoe.&lt;/p&gt;
&lt;p&gt;Again, text is indented 4 spaces. (Put a blank line between each
term/definition pair to spread things out more.)&lt;/p&gt;
&lt;p&gt;Here&apos;s a &quot;line block&quot;:&lt;/p&gt;
&lt;p&gt;| Line one
| Line too
| Line tree&lt;/p&gt;
&lt;p&gt;and images can be specified like so:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.shutterstock.com/shutterstock/photos/1883859943/display_1500/stock-photo-the-word-example-is-written-on-a-magnifying-glass-on-a-yellow-background-1883859943.jpg&quot; alt=&quot;example image&quot; /&gt;&lt;/p&gt;
&lt;h1&gt;Another h1 header&lt;/h1&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
&lt;h2&gt;Another h2 header&lt;/h2&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
&lt;h3&gt;Another h3 header&lt;/h3&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
&lt;h4&gt;Another h4 header&lt;/h4&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
&lt;h5&gt;Another h5 header&lt;/h5&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
&lt;h6&gt;Another h6 header&lt;/h6&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
&lt;p&gt;Paragraphs are separated by a blank line. This is some random text with 200 words in Latin. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac purus sit amet nisl tincidunt tincidunt vel sit amet libero in libero in libero&lt;/p&gt;
</content:encoded><author>Emily Davis</author><category>programming</category></item><item><title>Advanced JavaScript Techniques</title><link>https://theroshanron.com/blog/06-2024-advanced-javascript-techniques/</link><guid isPermaLink="true">https://theroshanron.com/blog/06-2024-advanced-javascript-techniques/</guid><description>Explore advanced techniques and patterns in JavaScript programming.</description><pubDate>Sat, 01 Jul 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;JavaScript is a versatile language that offers a range of advanced techniques for building dynamic applications...&lt;/p&gt;
</content:encoded><author>Alex Johnson</author><category>Programming</category></item><item><title>Getting Started with Markdown</title><link>https://theroshanron.com/blog/05-2024-getting-started-with-markdown/</link><guid isPermaLink="true">https://theroshanron.com/blog/05-2024-getting-started-with-markdown/</guid><description>Learn how to use Markdown to create formatted text for the web.</description><pubDate>Thu, 15 Jun 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents...&lt;/p&gt;
</content:encoded><author>John Smith</author><category>Writing</category></item><item><title>Introduction to Astro</title><link>https://theroshanron.com/blog/05-2024-introduction-to-astro/</link><guid isPermaLink="true">https://theroshanron.com/blog/05-2024-introduction-to-astro/</guid><description>A brief introduction to the Astro web framework and its features.</description><pubDate>Wed, 10 May 2023 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Astro is a modern web framework that allows developers to build fast, optimized websites with ease...&lt;/p&gt;
</content:encoded><author>Jane Doe</author><category>Web Development</category></item></channel></rss>