<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Haroon Abbasi</title>
    <description>The latest articles on DEV Community by Haroon Abbasi (@cocomo29).</description>
    <link>https://dev.to/cocomo29</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F943113%2F506b595a-73d8-4bef-a7f0-509339c11840.jpeg</url>
      <title>DEV Community: Haroon Abbasi</title>
      <link>https://dev.to/cocomo29</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cocomo29"/>
    <language>en</language>
    <item>
      <title>Mojo Lang: the Python Killer? Pfft, Maybe!</title>
      <dc:creator>Haroon Abbasi</dc:creator>
      <pubDate>Thu, 11 May 2023 12:53:29 +0000</pubDate>
      <link>https://dev.to/cocomo29/mojo-lang-the-python-killer-pfft-maybe-o59</link>
      <guid>https://dev.to/cocomo29/mojo-lang-the-python-killer-pfft-maybe-o59</guid>
      <description>&lt;p&gt;It’s like when your favorite series introduces a new character. You’re not sure if you’re going to like them or if they’re going to stick around for long. That’s kind of how we feel about Mojo Lang. It’s the new character in the programming world, and we’re not sure if it’s going to become a fan favorite or get written off after a few episodes.&lt;/p&gt;

&lt;p&gt;Mojo is like the younger, cooler sibling of Python. Sure, Python has been around for a while and is a bit of a legend, but let’s face it, it can be slow. Enter Mojo, the new kid on the block designed for AI development. It’s a superset of Python, so you can still use all those old Python libraries you know and love. But, it’s got a few tricks up its sleeve that make it faster and more efficient.&lt;/p&gt;

&lt;p&gt;Mojo has automatic type inference, static typing, and compile-time optimizations. Sounds fancy, right? Well, it is! These features make Mojo faster and more efficient than Python for those computationally intensive tasks. And it’s already being used by bigwigs like Google, Facebook, and Amazon.&lt;/p&gt;

&lt;p&gt;But, before you jump ship and start learning Mojo, let’s talk about the pros and cons.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pros:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;It’s easy to learn: Mojo is a superset of Python, so if you know Python, you can learn Mojo pretty easily.&lt;/li&gt;
&lt;li&gt;It’s flexible: Mojo is a general-purpose language, so you can use it for a variety of tasks.&lt;/li&gt;
&lt;li&gt;It’s fast: Mojo is designed for performance, so it’s great for those CPU-intensive tasks.&lt;/li&gt;
&lt;li&gt;It’s extensible: It’s open source, so you can customize and extend it to your heart’s content.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cons:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;It’s still under development: It’s not quite as stable or feature-rich as some other programming languages.&lt;/li&gt;
&lt;li&gt;It’s not as widely used: Python is pretty much the king of the * hill when it comes to programming languages, so there may be less support available for Mojo.&lt;/li&gt;
&lt;li&gt;There’s a learning curve: If you’re not already familiar with Python, there might be a bit of a learning curve.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So, is Mojo Lang the Python killer? Eh, maybe. It’s got some great features and potential, but it’s still a bit of a newbie. It’s like when your little cousin starts bragging about how cool they are because they learned to ride a bike without training wheels. Sure, it’s impressive, but they’ve still got a long way to go before they can keep up with the big kids.&lt;/p&gt;

&lt;p&gt;So, maybe give Mojo a try, see how it works for you, but don’t abandon Python just yet. It’s still got a lot of life left in it.&lt;/p&gt;

</description>
      <category>python</category>
      <category>mojo</category>
      <category>computerscience</category>
      <category>programming</category>
    </item>
    <item>
      <title>The Ultimate Linux Terminal Cheat Sheet to Impress Your Friends: Because Life's Too Short to Type Out Entire Commands</title>
      <dc:creator>Haroon Abbasi</dc:creator>
      <pubDate>Wed, 05 Apr 2023 16:08:16 +0000</pubDate>
      <link>https://dev.to/cocomo29/the-ultimate-linux-terminal-cheat-sheet-to-impress-your-friends-because-lifes-too-short-to-type-out-entire-commands-46fc</link>
      <guid>https://dev.to/cocomo29/the-ultimate-linux-terminal-cheat-sheet-to-impress-your-friends-because-lifes-too-short-to-type-out-entire-commands-46fc</guid>
      <description>&lt;p&gt;Let's face it, we all spend way too much time in front of our screens and if you're like me, you probably spend most of that time in the terminal. Recently, a friend of mine got into the linux asked me for tips on how to use it more efficiently, I had plenty of tips and tricks up my sleeve to share. And because I'm a generous person (and because I love showing off my these cool tricks), I thought I'd share them with you all too.&lt;/p&gt;

&lt;p&gt;So buckle up, because we're about to go on a wild ride through the world of the terminal. Here are my favourite tips and tricks to help you become a terminal ninja in no time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Terminator: Not Just a Movie, its your new BFF
&lt;/h2&gt;

&lt;p&gt;First up, let's talk about the default terminal. It's fine and all, but have you heard of Terminator? It's like the cooler, more customizable cousin of the default terminal. With Terminator, you can split your terminal into multiple panes and customize each one to your liking. It's like having multiple terminals in one, making it easier to multitask and get things done.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ctrl+L: Clearing the Screen Like a Boss
&lt;/h2&gt;

&lt;p&gt;Got a messy screen? Instead of typing out clear, you can simply press &lt;code&gt;Ctrl+L&lt;/code&gt; to clear your screen. It's like a magic eraser for your terminal. Plus, it's way faster than trying to wipe off your screen with a tissue.&lt;/p&gt;

&lt;h2&gt;
  
  
  TLDR; Not Too Long, Didn't Read
&lt;/h2&gt;

&lt;p&gt;Man pages are like the giant textbooks of the terminal world. They're filled with useful information, but they can also be overwhelming and confusing. That's where &lt;code&gt;tldr&lt;/code&gt; comes in. This nifty tool provides you with only the essential information you need, without all the extra fluff. It's like having a cheat paper version of the terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tab Your Way to Glory
&lt;/h2&gt;

&lt;p&gt;Next, let's talk about tab completion. It's a lifesaver. Instead of typing out the whole command or file name, just type a few letters and hit &lt;code&gt;tab&lt;/code&gt;. The terminal will do the rest for you. And if you're not sure what the possible options are, just double press &lt;code&gt;tab&lt;/code&gt; and it will show you a list. Easy peasy, lemon squeezy.&lt;/p&gt;

&lt;h2&gt;
  
  
  History: It's Not Just for Textbooks
&lt;/h2&gt;

&lt;p&gt;Your terminal history is like a time machine that can take you back to your previous commands. Instead of typing them all out again, use the up and down arrow keys to access your already executed commands. It's like having a photographic memory, but without all the annoying flashbacks&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick Fix for Forgotten Sudo (and other stuff)
&lt;/h2&gt;

&lt;p&gt;Have you ever written a big command and then realized you forgot to use sudo? It's the worst. But fear not, my friends. Just type &lt;code&gt;sudo !!&lt;/code&gt; and it will add sudo to your last executed command. And if you want to search for a specific word in your last executed command, just do &lt;code&gt;!! | grep [word]&lt;/code&gt;. Basicallly &lt;code&gt;!!&lt;/code&gt; represents your last executed command! It's like magic, but better.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Power of Ctrl+Q and Ctrl+E
&lt;/h2&gt;

&lt;p&gt;Sometimes you need to edit a command you've already typed out. Instead of using the arrow keys to navigate to the specific part of the command you want to edit, use &lt;code&gt;Ctrl+Q&lt;/code&gt; to jump to the beginning of the line and &lt;code&gt;Ctrl+E&lt;/code&gt; to jump to the end. It's like having a laser pointer for your cursor.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cd -: oh-my-gosh! This is a game changer!
&lt;/h2&gt;

&lt;p&gt;Have you ever typed out a long and complicated directory path, only to realize that you forgot to add a crucial file? Well fear not, my friend, because the &lt;code&gt;cd -&lt;/code&gt; command is here to save the day! With just three simple keystrokes, you can jump back to the previous directory you were in. It's like going back in time, but without all the messy time travel paradoxes. So, next time you're lost in the endless labyrinth of directory paths, just remember to type &lt;code&gt;cd -&lt;/code&gt; and let the magic happen!&lt;/p&gt;

&lt;h2&gt;
  
  
  Sherlock Holmes ain't got nothing on me and my Ctrl + R
&lt;/h2&gt;

&lt;p&gt;Last but not least, let's talk about searching through your command history. Instead of scrolling through everything you've ever typed, just press &lt;code&gt;Ctrl + R&lt;/code&gt; and start typing. It's like a reverse Google search for your terminal history.&lt;/p&gt;

&lt;p&gt;And there you have it, folks. Some of my favorite tips and tricks for being more productive and faster in the terminal. These tips will help you slash through the command line like a titan through a wall (without causing as much destruction, of course). Now go forth and conquer the terminal world like Eren Yeager going after Titans (minus the angsty teen drama and existential crises). Stay sharp, stay curious, and as they say in Attack on Titan, &lt;strong&gt;Shinzou wo Sasageyo!&lt;/strong&gt; (which roughly translates to 'Dedicate your heart!'). Happy terminal-ing!&lt;/p&gt;



&lt;p&gt;give this article a read on &lt;a href="https://medium.com/@abbasiharoon/the-ultimate-linux-terminal-cheat-sheet-to-impress-your-friends-because-lifes-too-short-to-type-468903ed33ce"&gt;medium&lt;/a&gt; :)&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>linux</category>
      <category>terminal</category>
      <category>codingtips</category>
    </item>
    <item>
      <title>How to Get Fast in the Terminal (Without Breaking a Sweat)</title>
      <dc:creator>Haroon Abbasi</dc:creator>
      <pubDate>Sun, 05 Mar 2023 18:51:47 +0000</pubDate>
      <link>https://dev.to/cocomo29/how-to-get-fast-in-the-terminal-without-breaking-a-sweat-4j48</link>
      <guid>https://dev.to/cocomo29/how-to-get-fast-in-the-terminal-without-breaking-a-sweat-4j48</guid>
      <description>&lt;p&gt;Welcome to the magical world of terminal commands, where the keys are your friends and the mouse is your &lt;strong&gt;mortal enemy&lt;/strong&gt;!&lt;/p&gt;

&lt;p&gt;If you're new to the terminal, it can be a bit overwhelming at first. But fear not! With these tips, you'll be navigating your way around like a pro in no time.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Learn the Basic Commands (Because You Gotta Crawl Before You Can Run):
&lt;/h2&gt;

&lt;p&gt;The first step to becoming a terminal ninja is to learn the basic commands. Think of it as learning to walk before you can run. These commands include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;ls&lt;/code&gt; (list files in a directory)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;cd&lt;/code&gt; (change directory)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;mkdir&lt;/code&gt; (make a new directory)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;touch&lt;/code&gt; (create a new file)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;mv&lt;/code&gt; (move a file or directory)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;rm&lt;/code&gt; (remove a file)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;rmdir&lt;/code&gt; (removes a directory)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Memorizing these will make you feel like a terminal superhero.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Use Tab Completion (Because Ain't Nobody Got Time for all That):
&lt;/h2&gt;

&lt;p&gt;Tab completion is like having your own personal assistant, ready to finish your sentences for you. With tab completion, you can quickly complete a command or file name by typing the first few letters and then hitting the &lt;code&gt;Tab&lt;/code&gt; key. This can save you a lot of time and help you avoid typos.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Pro tip:&lt;/u&gt;&lt;/strong&gt; If you're not sure what to type next, try using double tab to see a list of available options. It's like having your own personal cheerleading squad, rooting you on to victory.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Customize Your Shell (Because Why Be Basic?):
&lt;/h2&gt;

&lt;p&gt;Customizing your shell is like redecorating your room, but instead of paint and wallpaper, you're using code and command line tricks. It's like adding some bling to your pet rock - suddenly, it's way cooler than before! You can create a prompt that flashes neon lights, invent hilarious nicknames(aliases) for your favorite commands, and even automate your entire to-do list with a few clever functions. So, let your creative juices flow and make your terminal a reflection of your unique style (or lack thereof). Who knows, maybe your customized shell will become the envy of all your tech-savvy friends!&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Use Keyboard Shortcuts (Because Who Needs a Mouse?):
&lt;/h2&gt;

&lt;p&gt;Using a mouse in the terminal is like wearing a helmet while taking a bath, it's unnecessary and might actually get in the way. Instead, use keyboard shortcuts to save time and impress your friends. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Ctrl+C&lt;/code&gt; cancels the current command.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Ctrl+D&lt;/code&gt; exits the shell.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Ctrl+R&lt;/code&gt; searches through your command history&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Ctrl+Z&lt;/code&gt; suspends the current process.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Ctrl+L&lt;/code&gt; clears the screen.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The more shortcuts you know, the more impressive you'll be.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Practice, Practice, Practice (Because Elon Musk Didn't Build SpaceX Overnight):
&lt;/h2&gt;

&lt;p&gt;The final step to becoming a terminal master is to practice, practice, practice. Try to use the terminal for as many tasks as possible, even if it takes a little longer at first. The more you use it, the faster you'll become. And who knows - maybe one day you'll be so fast that you'll make Usain Bolt look like a slowpoke.&lt;/p&gt;

&lt;p&gt;Good luck, and may the terminal gods smile upon you!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>bash</category>
      <category>tutorial</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
