<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Syed Monowarul Islam on Medium]]></title>
        <description><![CDATA[Stories by Syed Monowarul Islam on Medium]]></description>
        <link>https://medium.com/@zibon?source=rss-f18f341d18e1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kEGaorapusTFlQ-4uwTiYg.jpeg</url>
            <title>Stories by Syed Monowarul Islam on Medium</title>
            <link>https://medium.com/@zibon?source=rss-f18f341d18e1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 21:13:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zibon/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[New to QA ? Watch out for these.]]></title>
            <link>https://medium.com/@zibon/new-to-qa-watch-out-for-these-116857821759?source=rss-f18f341d18e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/116857821759</guid>
            <category><![CDATA[qa-testing]]></category>
            <category><![CDATA[tips]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Syed Monowarul Islam]]></dc:creator>
            <pubDate>Sun, 29 Oct 2023 19:24:20 GMT</pubDate>
            <atom:updated>2023-10-29T19:46:19.572Z</atom:updated>
            <content:encoded><![CDATA[<h3>New to QA ? Watch out for these Common Mistakes .</h3><p>Welcome to the team, newbie! As a QA engineer, your role is crucial in ensuring the quality and reliability of the software we develop. Since you’re new, it’s important to understand some of the common mistakes that QA Engineers make when delivering features. In this guide, I’ll draw upon my years of experience as a QA Engineer to help you navigate these challenges and deliver high-quality software.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dZyR4HlpyFO665V1PB_yuQ.jpeg" /></figure><h3>Common Mistakes to Avoid</h3><h4>1. Not Understanding the Requirements</h4><p>One of the most fundamental mistakes is not fully comprehending the feature’s requirements. Without a clear understanding, your testing will be incomplete or misguided. Always communicate with developers and product managers to clarify any uncertainties.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SXHrCsPLnZ5CvIcrUWK6og.png" /><figcaption>Example</figcaption></figure><h4>2. Neglecting Edge Cases</h4><p>Overlooking edge cases can lead to serious issues when the feature is used in real-world scenarios. Ensure you test the feature’s boundaries and exceptional cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vCAtmaNric5gYIcl8MRRTw.png" /><figcaption>Example</figcaption></figure><h4>3. Not Considering Different Environments</h4><p>Failing to test in various environments (e.g., different browsers, operating systems, or devices) can result in unexpected issues when users have diverse setups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7JlMsdsX05tXaQgyNe6v5w.png" /><figcaption>Example</figcaption></figure><h4>4. Relying Solely on Happy Paths</h4><p>Testing only the expected or happy paths can be a costly mistake. You need to explore scenarios where things can go wrong and ensure the system handles them gracefully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c3pxXAl_Vt-EpMkaPOmMbQ.png" /><figcaption>Example</figcaption></figure><h4>5. Ignoring Performance and Scalability</h4><p>Performance issues can severely impact user experience. Don’t forget to check how the feature performs under load and whether it scales appropriately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zEUFyosPk3sH6q11qFL_Gg.png" /><figcaption>Example</figcaption></figure><h4>6. Neglecting Security Testing</h4><p>Security breaches can be costly in terms of reputation and legal consequences. Ensure that the feature is free from common security vulnerabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aE1FhZy2BONJk4WFMOdChA.png" /><figcaption>Example</figcaption></figure><h4>7. Not Documenting Test Cases</h4><p>Failing to document your test cases can lead to confusion and rework. Always maintain clear, organized test documentation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bJnyBlfZqkLcOolNAnNHlA.png" /><figcaption>Example</figcaption></figure><h4>8. Lack of Regression Testing</h4><p>Changes in one part of the code can inadvertently affect other areas. Regularly conduct regression testing to ensure that new features don’t break existing ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bAB9GSdCg8Jy0I9CpRdWLw.png" /><figcaption>Example</figcaption></figure><h4>9. Not using tools properly</h4><p>In the world of software testing, using testing tools is common. However, using them improperly can lead to inaccurate results and wasted time. Some key points to remember:</p><ul><li><strong>Familiarize Yourself:</strong> Take the time to understand the testing tools you’re using. Read documentation and seek training if necessary.</li><li><strong>Use the Right Tool for the Job:</strong> Not all testing tools are suitable for every task. Choose tools that are appropriate for the type of testing you’re conducting.</li><li><strong>Keep Tools Updated:</strong> Ensure that your testing tools are up to date with the latest versions to benefit from bug fixes and improvements.</li></ul><h4>10. Maintaining Positive Relationships with Colleagues</h4><p>Not a lot of professional people put this as a Common mistake But this is a very important topic to discuss. Effective collaboration with your colleagues is crucial for a successful testing process. Avoiding conflicts and <strong>misunderstandings</strong> is as important as finding bugs. QA and Dev relations can sometimes become sour. Some tips to maintain good relationships:</p><ul><li><strong>Clear Communication:</strong> Communicate clearly and effectively with developers, product managers, and other team members to convey test results, issues, and expectations.</li><li><strong>Provide Constructive Feedback:</strong> When you find issues, present them in a constructive manner. Avoid blame and focus on improving the product.</li><li><strong>Collaborate on Solutions:</strong> Instead of merely reporting problems, collaborate with developers to find solutions and work together to resolve issues.</li><li><strong>Respect Deadlines:</strong> Respect the development team’s deadlines and commitments. Avoid pushing for last-minute changes that may disrupt their work.</li></ul><h4>11. Defining the Testing Scope</h4><p>Defining the Testing Scope is very important . You should always have a discussion with your PM, Dev about it . As you are the last defense before prod . it’s essential to define your testing scope:</p><ol><li><strong>Identify Test Objectives:</strong> Clearly define what you want to achieve with your testing. What are the critical functionalities, and what are the potential risks?</li><li><strong>Set Priorities:</strong> Not all features are equally critical. Determine the priority of the feature being tested based on its impact and usage.</li><li><strong>Create Test Plans:</strong> Develop comprehensive test plans that outline your testing strategy, including the test environment, test data, and test scenarios.</li><li><strong>Review Test Coverage:</strong> Regularly review and update your test coverage to ensure that you are testing all critical aspects of the feature.</li><li><strong>Communicate with the Team:</strong> Maintain open communication with developers and product managers to align on testing goals and to address any concerns or uncertainties.</li></ol><p>By defining your testing scope, you’ll be better equipped to ensure comprehensive and effective testing of software features.</p><h4>Conclusion</h4><p>In the realm of quality assurance, meticulous attention to detail, proper tool usage, and positive relationships with colleagues are your best allies. By avoiding common testing mistakes and being thorough in your approach, you can ensure that the features you test meet the highest standards of quality and functionality. Remember, your role as a QA engineer is pivotal in delivering a successful and reliable product to users. Your dedication to comprehensive testing, proper tool usage, and effective collaboration will help prevent costly issues down the line and maintain the trust of your customers and stakeholders.</p><blockquote>Good luck, and happy testing!</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FmiCJhQMoMFDaD987B4%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FmiCJhQMoMFDaD987B4%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FmiCJhQMoMFDaD987B4%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/904317faccab416f16f51d9cbb014a75/href">https://medium.com/media/904317faccab416f16f51d9cbb014a75/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=116857821759" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generating Google Lighthouse reports automatically]]></title>
            <link>https://medium.com/@zibon/generating-google-lighthouse-reports-automatically-c90601bad80e?source=rss-f18f341d18e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c90601bad80e</guid>
            <category><![CDATA[lighthouse]]></category>
            <category><![CDATA[google-lighthouse]]></category>
            <category><![CDATA[bash-script]]></category>
            <dc:creator><![CDATA[Syed Monowarul Islam]]></dc:creator>
            <pubDate>Wed, 16 Aug 2023 05:38:03 GMT</pubDate>
            <atom:updated>2023-08-16T17:00:22.561Z</atom:updated>
            <content:encoded><![CDATA[<h3>Generating Google Lighthouse Reports Automatically</h3><p>As a QA Engineer we will get requests time to time to do manual labour intesive tasks But that does not mean you need to do it manually . We are engineers and we can try to automate those tasks so that life becomes easier for us and we can increase our efficinecy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sDuBRbqC-z8Jbrxjd6xBJw.png" /><figcaption>Google lighthouse Logo</figcaption></figure><p>Website performance is crucial for providing a great user experience. With Lighthouse, a tool created by Google, you can easily assess how well your website performs and generate reports to understand its strengths and areas for improvement. You can follow these simple steps to run performance tests and generate reports using Lighthouse.</p><p>So in this guide I will try to guide you to make a Bash script that runs lighthouse on your computer from terminal automatically.</p><h4><strong>Step 1: Install NVM (Node Version Manager)</strong></h4><p>NVM is a tool that lets you easily manage different versions of Node.js, which is like the engine that powers web applications. Here’s how to set it up:</p><ol><li>Open your computer’s terminal or command prompt. Don’t worry, this is like a digital assistant that follows your commands.</li><li>Copy and paste the following command into the terminal and press Enter. This will install NVM on your computer:</li></ol><pre>curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash</pre><p>3. Close the terminal and open it again to finish the setup.</p><h4><strong>Step 2: Install Node.js using NVM</strong></h4><p>Node.js is like a toolkit that helps websites run smoothly. Here’s how to install it:</p><ol><li>Open the terminal again (yes, the same place you used before).</li><li>Type the following and press Enter. This will install a specific version of Node.js that works well with Lighthouse:</li></ol><pre>nvm install 20.3.1</pre><p>3. To use this version of Node.js, type:</p><pre>nvm use 20.3.1</pre><h4><strong>Step 3: Install Lighthouse</strong></h4><p>Lighthouse is like a detective that checks how fast and user-friendly your website is. Let’s install it:</p><ol><li>In the terminal, type this and press Enter to install Lighthouse:</li></ol><pre>npm install -g lighthouse</pre><h4><strong>Step 4: Create a Simple Script</strong></h4><p>We’ll make a small set of instructions, like a recipe, that tells your computer what to do. This script will help you test multiple parts of your website and create reports:</p><ol><li>Open a program called Notepad on Windows or TextEdit on Mac. This is like a digital notebook.</li><li>Copy and paste the following code into the Notepad or TextEdit or Visual Studio Code :</li></ol><pre><br>#!/bin/bash<br><br># Websites to test<br>urls=(<br>    &quot;https://www.example.com&quot;<br>    &quot;https://www.another-example.com&quot;<br>    # Add more website addresses here<br>)<br><br># Where to save the reports<br>outputDir=&quot;/Users/your-username/Desktop/reports&quot;<br><br># Create the output directory if it doesn&#39;t exist<br>mkdir -p &quot;$outputDir&quot;<br><br># Specify Node.js version<br>NVM_DIR=&quot;$HOME/.nvm&quot;<br>[ -s &quot;$NVM_DIR/nvm.sh&quot; ] &amp;&amp; \. &quot;$NVM_DIR/nvm.sh&quot;  # This loads nvm<br>nvm use 20.3.1<br><br># Get the total count of URLs<br>totalUrls=${#urls[@]}<br><br># Initialize the count of generated files<br>generatedFiles=0<br><br># Loop through each URL and run Lighthouse test<br>for url in &quot;${urls[@]}&quot;<br>do<br>   outputPath=&quot;$outputDir/$(date +%Y-%m-%d-%H-%M-%S).html&quot;  # Create a unique output path for each test<br>   echo &quot;Running Lighthouse test for URL: $url&quot;<br>   echo &quot;Output Path: $outputPath&quot;<br>   npx lighthouse &quot;$url&quot; --output html --output-path &quot;$outputPath&quot; --only-categories performance<br>   ((generatedFiles++))<br>done<br><br>echo &quot;Total URLs tested: $totalUrls&quot;<br>echo &quot;Total report files generated: $generatedFiles&quot;</pre><p>3.Save the file as lighthouse-test.sh on your desktop. This is like creating a special recipe card.</p><h4>4(a)Explaining the code (If you have time read it )</h4><ol><li>#!/bin/bash: This line is like a special title that tells your computer this is a set of instructions written in the &quot;bash&quot; language. Think of it as the recipe&#39;s title.</li><li>urls=( ... ): Here, we&#39;re making a list of websites we want to test. Just like making a shopping list, we write down the addresses of the websites we want to check.</li><li>outputDir=&quot;/Users/your-username/Desktop/reports&quot;: We&#39;re choosing a place to save the reports. Imagine this as picking a special folder on your computer&#39;s desktop to keep your report cards.</li><li>mkdir -p &quot;$outputDir&quot;: This line creates the folder where your reports will go. It&#39;s like making a new folder on your desk for your report cards.</li><li>NVM_DIR=&quot;$HOME/.nvm&quot; ... nvm use version: This helps the computer use the right tools to do the test. It&#39;s like getting the right kind of measuring cup for a recipe.</li><li>for url in &quot;${urls[@]}&quot; ... done: This is like a loop in a dance. It goes through each website in the list and does the same steps for each.</li><li>outputPath=&quot;$outputDir/$(date +%Y-%m-%d-%H-%M-%S).html&quot;: This line creates a special name for each report, like adding a date and time stamp to your report card.</li><li>echo &quot;Testing: $url&quot;: This makes the computer talk to you. It says, &quot;Hey, I&#39;m testing this website now!&quot;</li><li>echo &quot;Saving report to: $outputPath&quot;: The computer tells you where it&#39;s putting the report. It&#39;s like telling you, &quot;I&#39;m putting your report card in your special folder.&quot;</li><li>npx lighthouse &quot;$url&quot; ... --only-categories performance: Here&#39;s where the magic happens! This tells the computer to use Lighthouse to test the website. It&#39;s like the computer taking a super detailed look at the website and giving it a score.</li><li>echo &quot;Reports saved in $outputDir&quot;: The computer lets you know it&#39;s all done and where you can find your reports. It&#39;s like telling you, &quot;All your report cards are safe and sound in your special folder!&quot;</li></ol><h4><strong>Step 5: Run the Script</strong></h4><p>Now that you’ve created the set of instructions (the script), it’s time to run it. Think of it like pressing a “Start” button on your washing machine to make it clean your clothes.</p><ol><li>Open the terminal again.: Remember the place where you typed things before? Open it again.</li><li>cd ~/Desktop: This is like telling the computer to go to your desktop. It&#39;s like telling a robot, &quot;Go to my desk.&quot;</li><li>chmod +x lighthouse-test.sh: This line makes the script &quot;executable,&quot; which is like unlocking it and saying, &quot;Okay, you can run now!&quot;</li><li>./lighthouse-test.sh: Now, you&#39;re telling the computer to start following the recipe you made. It&#39;s like pressing the &quot;Start&quot; button on your washing machine.</li></ol><p><strong>Step 6: View Your Reports</strong></p><p>After a little while, the script will finish. You’ll have some fresh reports saved on your desktop in a folder named reports. Each report is like a snapshot of how well a website is doing.</p><p>And that’s it! You’ve successfully run performance tests on multiple websites and created reports using Lighthouse.</p><p><strong>Next steps :</strong></p><p>This script will generate all the reports inside the folder. but you still need to manually go through them . So for next automation homework we can try to take screenshots off all the reports and export them to a excel sheet with the links so that we can compare them more easily. Hard to do but its possible. This way you have your own software to generate reports and compare them always and you dont have to lift to finger when the new tasks come in .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c90601bad80e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Switching to Mac from Windows]]></title>
            <link>https://medium.com/@zibon/switching-to-mac-from-windows-db057ed7b2f4?source=rss-f18f341d18e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/db057ed7b2f4</guid>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[mac]]></category>
            <dc:creator><![CDATA[Syed Monowarul Islam]]></dc:creator>
            <pubDate>Fri, 29 Jul 2022 18:30:15 GMT</pubDate>
            <atom:updated>2023-08-16T18:07:38.069Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="M2 Macbook Air" src="https://cdn-images-1.medium.com/max/1024/1*xsuQxy2eGdfqqbvWPXzRww.png" /><figcaption>M2 Air . Screenshot from Apple Website</figcaption></figure><p>Hi, I have been a Windows user for most of my life. I also used Linux (Ubuntu) for development . But I never got the chance to use a Mac . Mostly because I never really had the need for it and it was not financially smart for me , but being in the software engineering industry I had to get a mac to enlarge my knowledge base . You cant make IOS apps on Windows or Linux. Having said that when looking for a portable productivity machine , buying a mac with the new Apple Silicon chips (M1 , M2 etc) really does make sense as they could give you more power with the portability (more than 10 hours of battery ).</p><p>Having to switch to a new OS can be a bit difficult even if we have a tech background . In this article I would like to introduce you to some of the features that you should know to get started with a Mac. The topics would be :</p><ul><li>Apple Menu.</li><li>Spotlight.</li><li>Dock (Bottom Toolbar) .</li><li>File Explorer and Organizing .</li><li>Windows vs Mac System apps:</li><li>Keyboard shortcuts.</li><li>Gestures on Track-pad.</li><li>Install/Uninstall Applications .</li></ul><h3><strong>1. Apple Menu: Your Control Center</strong></h3><p>First thing that you are going to notice on the Mac is the top Menu bar . It is called the Apple Menu. Probably because you have the Apple logo there on the left . This is always going to stay there on the top part and based on the Application you are using this menu will change its contents .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qNm0b3CJJ_s4dD3V_nvmlQ.png" /></figure><p>If you click on the Apple Icon you will see you will be able to see :</p><ul><li>Control Panel ( “System Preferences” on Mac )</li><li>Power options (Logoff , Shutdown , Restart etc )</li><li>“App Store” Think of it as the “Windows store” but with better apps .</li><li>Device specs From ‘About this Mac’.</li></ul><p>Now coming to the Right side of the Apple menu . On the Very right to left you have the calendar , Siri, Control center (Wifi,Bluetooth , sound , Display brightness etc ) ,Spotlight (used for searching the mac ) Wifi Signal, Battery charge indicator , Keyboard layout, Media controls , Fig (Installed manually)</p><p>Rest of them are self explanatory .</p><h3><strong>2. Spotlight: Your Helpful Search Buddy</strong></h3><p>Spotlight is used to search on the Mac and internet. You can search for Files, Docs, Applications etc using this.It is very easy to use . You can bring it any time by pressing the “Command + Space” button .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IVjC57c1dT3lE8mMIb71hw.png" /><figcaption>Spotlight search</figcaption></figure><h3><strong>3. Dock: Your Quick Launchpad(Bottom Toolber)</strong></h3><p>If you notice the below part of the Screen , you will notice a list of Icons . Usually When you install the Computer for the first time the default applications are listed here . You can customize this as you wish by removing and adding applications here .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5V2izv20wQoJ5dHtCEwcig.png" /><figcaption>Dock</figcaption></figure><p>There is a black dot below the Safari and Firefox Icon (3rd and fourth icon from the left) this means those applications are running .</p><h3>4. Windows vs Mac System apps:</h3><p>Knowing the names of the system apps on Mac compared to windows really helped me . It helped me get used to the Mac a lot quicker . I hope the list helps you as well.</p><figure><img alt="Windows vs Mac System apps" src="https://cdn-images-1.medium.com/max/840/1*f28SZ7Bujwn5_PXZXie4cg.png" /><figcaption>Windows vs Mac System Software</figcaption></figure><h3><strong>5. Files and Folders: Navigating with Finder</strong></h3><p>You had <strong>Windows Explorer</strong> in Windows but on Mac it is called <strong>Finder</strong> . Ideologically they are not build the same because there are some noticeable Difference between them .For starters the concept of Drives is not present on the Finder Application . Instead you will be using your home/root folder(usually named with your username) , Desktop to organize Your files.</p><p>All of your Installed applications can be found on the “Application” folder on Root and also on “Launchpad”. You can search for “Launchpad” on “Spotlight” .</p><p>You can customize your Finder by going in to preference .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*hjSTSLHOxGR-vUc7OojxCQ.png" /><figcaption>Finder Preference</figcaption></figure><p>Select the below Options from it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*ZJfm-_Rc2TzMtLZZWZkj0g.png" /></figure><p>Ticking Hard disks puts an icon of the disk on Desktop. This reminded me of “My Computer ” of Windows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*a_0DCo_H61stqN18laHn9A.png" /><figcaption>Disk Icon on desktop</figcaption></figure><p>For Managing my files I have adopted to Apple’s recommendation . I use the ‘Documents’ folder to store my Documents . I created a separate folders inside it based on projects.</p><p>I used the “Downloads” folder to store my downloaded files , I have additional folders under it such as Installers ,Movie, Music, Books, Study etc .</p><p>On the Root folder I created a ‘Development’ folder and added it to the right side of the Finder’ so that I can navigate to it fast.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*4rKmUxf0SEi1vUOX_xA8vw.png" /></figure><p>You can use one of Macs features Called ‘Stacks’ to sort many files of the same type under one folder . You simply navigate to a folder and go to “View” on the “Apple Menu” and click on “Use Stacks’ as I did below and you will see the same type of Files stacking on top each other as a single icon . You can tap on the newly Stacked icon and you will be able to see all of the files of that type then under the same folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*9VsJnZ5iXgcnVo5OkLne2g.png" /></figure><h3><strong>6. Keyboard Shortcuts: Your Secret Superpowers</strong></h3><p>The below shortcuts made my life a whole lot easier . There are more but there are lifesavers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*ok9PDhCuxZ2RImZcpKTrAQ.png" /><figcaption>Keyboard Shortcut</figcaption></figure><h3><strong>7. Trackpad Magic: Gestures for All</strong></h3><p>Gestures are better explained in this support page of Apple <a href="https://support.apple.com/en-us/HT204895">Link</a> .</p><p>But if you ask me what is my most favorite one.I would say switching between active Applications. You simply flick to the right or left with 3 fingers on the track-pad. One thing to remember in while doing it is that you need to keep the applications maximized otherwise this wont work.</p><h3><strong>8. Installing Apps: A Piece of Cake</strong></h3><p>In Windows We used an Installer <strong>.exe/.msi</strong> file to install applications . On mac you will be installing applications From a <strong>.dmg </strong>file . You open the .dmg file and something like the below image will pop up .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bcsIySbySCHzd1yrMFJWKw.png" /><figcaption>Installing VLC</figcaption></figure><p>Then you just drag the “Application” icon (This case its VLC) to the “Applications” folder . that will install the app. And you will be able to find the application in the Application folder.</p><p>2nd way to install the an application is to search for an application straight from the app store. You just simply need to login to the “App Store” and search for your app . and press on the “Get” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*G7VPGrdjXNKh1BsSePtF6w.png" /><figcaption>Installing from App Store</figcaption></figure><p>There is another way you can install applications . In that process we will install applications from the terminal with commands .For it to work, we would need “Homebrew” <a href="https://brew.sh/">Link</a> , a separate terminal based application.</p><p>You would need to install “Homebrew” first then we would be able use “Homebrew” to install an Application . To install “Homebrew” on your Mac simply enter the below code on the “Terminal”.(You can open terminal from searching from “Spotlight”)</p><pre>/bin/bash -c &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&quot;</pre><p>If the above code is not working . You might need to go to <a href="https://brew.sh/">here</a> and get the latest code for installing.</p><h3>9.Uninstalling Applications :</h3><p>To Uninstall an app simply go to the “Applications” folder and hold over an application icon ,the Cross button should appear . You can click on it to uninstall the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6c4W6n19GjRJkT9lK-Wg6g.png" /><figcaption>Uninstall an App</figcaption></figure><h3><strong>10.Setting Sail on Your Mac Journey: Conclusion</strong></h3><p>As you step into the world of Mac, remember that every click and swipe brings you closer to becoming a Mac master. This journey is about discovery and exploration. Welcome aboard!</p><p>Thank you for joining me on this adventure. Embrace the new, and let’s dive into the world of Mac together.</p><p>Thank you for your time .</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FkFCWbiJxnGzJYLggBj%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FkFCWbiJxnGzJYLggBj%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FkFCWbiJxnGzJYLggBj%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/62b3d924ca08aa338a3e628b435c1c8b/href">https://medium.com/media/62b3d924ca08aa338a3e628b435c1c8b/href</a></iframe><h3>References :</h3><ul><li>Mac Equivalents of Windows Programs and Features <a href="https://www.online-tech-tips.com/mac-os-x/mac-equivalents-of-windows-software-and-features/">Link</a></li><li>How to uninstall programs on a Mac <a href="https://macpaw.com/how-to/uninstall-apps-on-mac-os-x?campaign=cmmx_search_seo_ww_en&amp;ci=344590086&amp;adgroupid=97472853822&amp;adpos=&amp;ck=how%20do%20you%20in">Link</a></li><li>These useful Mac keyboard shortcuts will help you work faster and smarter <a href="https://www.macworld.com/article/233064/10-most-useful-macos-keyboard-shortcuts.html">Link</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db057ed7b2f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing mongoDB in Windows like Ubuntu (Chocolatey)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@zibon/installing-mongodb-in-windows-like-ubuntu-chocolatey-29b825d1106c?source=rss-f18f341d18e1------2"><img src="https://cdn-images-1.medium.com/max/600/1*u1a7wklrRujsEJYM0i5T-w.png" width="600"></a></p><p class="medium-feed-snippet">May 2</p><p class="medium-feed-link"><a href="https://medium.com/@zibon/installing-mongodb-in-windows-like-ubuntu-chocolatey-29b825d1106c?source=rss-f18f341d18e1------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@zibon/installing-mongodb-in-windows-like-ubuntu-chocolatey-29b825d1106c?source=rss-f18f341d18e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/29b825d1106c</guid>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[terminal-windows]]></category>
            <category><![CDATA[powershell]]></category>
            <dc:creator><![CDATA[Syed Monowarul Islam]]></dc:creator>
            <pubDate>Mon, 01 Jul 2019 07:53:33 GMT</pubDate>
            <atom:updated>2020-07-09T15:21:32.607Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Installing mongoDB in Windows like Ubuntu]]></title>
            <link>https://medium.com/@zibon/installing-mongodb-in-windows-like-ubuntu-5d6d2285dac6?source=rss-f18f341d18e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d6d2285dac6</guid>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[robo-3t]]></category>
            <category><![CDATA[windows-intallation]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[chocolatey]]></category>
            <dc:creator><![CDATA[Syed Monowarul Islam]]></dc:creator>
            <pubDate>Thu, 02 May 2019 16:53:20 GMT</pubDate>
            <atom:updated>2019-10-02T03:57:15.824Z</atom:updated>
            <content:encoded><![CDATA[<h3>Installing mongoDB in Windows like Ubuntu (Chocolatey)</h3><p>In this article, I would like to show you how to install <a href="https://www.mongodb.com/download-center/community"><strong>MongoDB </strong></a>in your <strong>Windows </strong>system as you would in <strong>Ubuntu </strong>. The usual way would be to download the installer from <a href="https://www.mongodb.com/download-center/community"><strong>mongoDB</strong></a>’s website and then install it on your system but there is another way.</p><p>We all know the usual way of installing in <strong>Windows </strong>but I would like to introduce you to <a href="https://chocolatey.org/"><strong>Chocolatey</strong></a><strong> </strong>and expand your arsenal of knowledge <strong>. </strong>Who knows ? You might like this way better in the future.</p><p><a href="https://chocolatey.org/"><strong>Chocolatey</strong></a> is a package manager for Windows . By using <a href="https://chocolatey.org/"><strong>Chocolatey</strong></a><strong> </strong>we will be able to install packages as in Ubuntu .Take a look at the below command :</p><pre>sudo apt-get install -y mongodb-org</pre><p>We type the above code in terminal to install <strong>mongoDB </strong>in <strong>Ubuntu </strong>. <strong>Windows</strong> does not have a built in package manager that can install like Ubuntu. By using <a href="https://chocolatey.org/"><strong>Chocolatey</strong></a><strong> </strong>we will be able to install mongodb from <strong>powershell (Administrator mode) / command promt </strong>by typing :</p><pre>choco install mongodb</pre><p>The above code won’t work now because we don’t have <strong>Chocolatey </strong>in our system yet . So we will :</p><ul><li>first setup <strong>Chocolatey .</strong></li><li>then setup <strong>mongoDB </strong>using <strong>Chocolatey.</strong></li></ul><p>Follow the below procedure :</p><ul><li>Bring up<strong> Powershell </strong>by following fig 1.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jKwoKOb0o1xD1QanEBSn7Q.png" /><figcaption>fig 1 : Bringing up Powershell in Windows</figcaption></figure><ul><li><a href="https://chocolatey.org/install">click here</a> to navigate to the website and copy the command as in fig 2</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UoL32OLeYciGXOK5lM6sXg.png" /><figcaption>fig 2: copy command</figcaption></figure><ul><li>Now paste the command in PowerShell and press enter .</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ES8WQjYojStJ2D8pkGrsuw.png" /><figcaption>fig 3 : pasting code in powershell</figcaption></figure><ul><li>Now test whether your installation was a success by typing :</li></ul><pre>choco</pre><p>In the command line .You should see something like fig : 4. versions wont match as you will be downloading a newer version in the future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/427/1*LQB_PGZ5QxpuOFj2RfQ38A.png" /><figcaption>fig 4: installed succesfully</figcaption></figure><p>We now have <strong>chocolatey </strong>installed . Now we are going to setup <strong>mongoDB </strong>using it .</p><p>Follow the instructions given in fig 5 .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xjm52TCJTI3_Lya8jXwGYA.png" /><figcaption>fig 5 : Seeing the command of powershell for mongoDB installation</figcaption></figure><p>During the installation in <strong>PowerShell </strong>whenever you are asked press ‘y’ as in fig 6.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*rbwRYKeG3hxY42OeDj2BHg.png" /><figcaption>fig 6 : Installing mongoDB</figcaption></figure><p>You have now installed <strong>MongoDB </strong>in your system.</p><p>We will need another software called <strong>robo 3T</strong> .Through it we will have a <strong>UI </strong>to control the database. It will make managing the database easier.</p><p>As we now have <strong>Chocolatey </strong>installed in our system, we can simply type the below command to set it up :</p><pre>choco install robo3t</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*50NmtwNCXySsr6cVCrQ6Xg.png" /><figcaption>robo3T succesfully installed</figcaption></figure><p>now lets run robo3T from the windows search. and open it .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*vc4apICIjakaZ0nrZPe81w.png" /><figcaption>opening robo 3t</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MqHtwDMKuA1mMK3erUHZcw.png" /><figcaption>Robo3T</figcaption></figure><p>Congrats <strong>mongoDB </strong>&amp; <strong>robo3T </strong>is now installed in your system.</p><p>E.G. : I would like to point out that <strong>Chocolatey</strong> runs <strong>mongoDB</strong> in the background automatically in Windows. That is why we did not need to run it from the boot drive .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*LaD0anS5vjgbSlzCVhA75g.png" /><figcaption>Chocolatey running MongoDB automatically</figcaption></figure><p>If you install <strong>mongoDB </strong>with the installer then you must manually open ‘mongod.exe’ from the boot drive (In general it is the C: drive in windows) and run the database . <strong>robo3T </strong>won’t connect if <strong>mongoDB </strong>is not running .</p><p>Feel free to leave a<strong> clap or 50</strong> :P :) . If you have any <strong>comments </strong>please do let me know . Your <strong>feedback </strong>will help me write <strong>better </strong>in the future<strong> </strong>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fl3q2wJsC23ikJg9xe%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fl3q2wJsC23ikJg9xe%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fl3q2wJsC23ikJg9xe%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="324" frameborder="0" scrolling="no"><a href="https://medium.com/media/4206f46c37b9e329bac2ea6fdf627d1f/href">https://medium.com/media/4206f46c37b9e329bac2ea6fdf627d1f/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F1jkVi22T6iUrQJUNqk%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F1jkVi22T6iUrQJUNqk%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F1jkVi22T6iUrQJUNqk%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="428" frameborder="0" scrolling="no"><a href="https://medium.com/media/1ff831551305c8d4aa92329d63a14cbb/href">https://medium.com/media/1ff831551305c8d4aa92329d63a14cbb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d6d2285dac6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a react app using the ‘create-react-app’ CLI application]]></title>
            <link>https://medium.com/@zibon/creating-a-react-app-using-the-create-react-app-cli-application-35dab7b98f4f?source=rss-f18f341d18e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/35dab7b98f4f</guid>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Syed Monowarul Islam]]></dc:creator>
            <pubDate>Thu, 07 Mar 2019 08:05:31 GMT</pubDate>
            <atom:updated>2021-03-26T09:57:20.236Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*EntHChgUyirgbZ9A3zTxkA.png" /><figcaption>Logo</figcaption></figure><p>In this tutorial I will show you how you can easily create a react application using the <strong>create-react-app</strong> .Which in turn provides a boilerplate for making applications .</p><p>According to the react website :</p><blockquote>React is a JavaScript library for building user interfaces.</blockquote><p>So it means React’s own language is in JavaScript .But it is compatible with any other back-end language or framework .</p><p>You need a few things before you can create the app.they are :</p><ul><li>nodejs (download from <a href="https://nodejs.org/">https://nodejs.org/</a> )</li><li>create-react-app CLI application. Open powershell/command prompt and type the below command.</li></ul><pre>npx install -g create-react-app</pre><p>This will install the <strong>create react app</strong> on your machine globally.</p><p>Then you need to navigate to the folder you want to create the app .Type -</p><pre>create-react-app hello-world</pre><p>There is a lot of files inside react .So it needs a lot of time to create a project folder.So people use <strong>yarn</strong> instead of <strong>npm.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dqiWXaomNOhgSUmfMmXzdA.png" /><figcaption>creating a project</figcaption></figure><p>In the picture above look at the blue lines. follow the last two blue lines .Type</p><pre>cd hello-world</pre><p>and on the next line type</p><pre>npm start</pre><p>Your terminal will look like this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*DC956t64hqVI00yVgLsiWA.png" /><figcaption>navigating to project folder and starting application</figcaption></figure><p>If it done correctly it should look like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*RPfsnm44EwKFHiG4FXa1Gw.png" /><figcaption>succesful launch of application</figcaption></figure><p>and a page will automatically load in your default browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zwXhnqJGF8IjR8jsT5J64Q.png" /><figcaption>website loaded</figcaption></figure><p>Your <strong>hello world</strong> in react is done . You are now running a react web app.</p><p>After this you need to learn how to work with the create react app boilerplate in your project folder . You will customize the boilerplate to your liking . I would suggest you go through the official react docs to know react first , without the boilerplate . The create react app boilerplate will be useful to you when you are an intermediately skilled in React .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35dab7b98f4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Links to online resources(personal)]]></title>
            <link>https://medium.com/@zibon/links-to-online-resources-personal-975bf495599a?source=rss-f18f341d18e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/975bf495599a</guid>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Syed Monowarul Islam]]></dc:creator>
            <pubDate>Mon, 10 Dec 2018 11:29:29 GMT</pubDate>
            <atom:updated>2018-12-10T11:29:29.889Z</atom:updated>
            <content:encoded><![CDATA[<p>This is my personal link storage. Here I have kept links to many online resources and summarized them for my personal use . I making it public in hopes that someone else may get something out of it.</p><p><strong><em>LINKS :</em></strong></p><p><strong>Themes:</strong></p><ul><li><a href="https://html5up.net/">https://html5up.net/</a> — — — — — — free html5 websites</li><li><a href="https://startbootstrap.com/">https://startbootstrap.com/</a> — — — free bootstarp themes</li><li><a href="https://templated.co/">https://templated.co/</a> — — free html5 theme</li><li><a href="https://freehtml5.co/">https://freehtml5.co/</a> — theme website,categorised</li><li><a href="https://colorlib.com/wp/templates/">https://colorlib.com/wp/templates/</a> — travel, medical , real state theme</li><li><a href="https://www.zerotheme.com/">https://www.zerotheme.com/</a> — — free themes</li><li><a href="https://www.html5xcss3.com/">https://www.html5xcss3.com</a> — free themes</li><li><a href="https://www.styleshout.com/free-templates/">https://www.styleshout.com/free-templates/</a> — freetheme, error page design ,good landing pages</li><li><a href="https://athemes.com/collections/free-bootstrap-admin-templates/">https://athemes.com/collections/free-bootstrap-admin-templates/</a> — admin panel themes</li><li><a href="https://themewagon.com/">https://themewagon.com/</a> — ecommerce themes</li></ul><h3><strong>I will keep on updating it . Keep it bookmarked if you wish. :)</strong></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=975bf495599a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basic Linux command line tutorial to start developing in Ubuntu Linux]]></title>
            <link>https://medium.com/@zibon/basic-linux-command-lines-to-get-started-developing-in-ubuntu-linux-b54def1c2190?source=rss-f18f341d18e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b54def1c2190</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[terminal]]></category>
            <dc:creator><![CDATA[Syed Monowarul Islam]]></dc:creator>
            <pubDate>Tue, 18 Sep 2018 10:53:25 GMT</pubDate>
            <atom:updated>2019-09-19T17:00:42.912Z</atom:updated>
            <content:encoded><![CDATA[<p>This article is meant to give you a basic idea about Linux command line codes . By reading this you will learn how to<strong> navigate</strong> through Linux <strong>directories</strong> , <strong>create</strong> a directory or file as well as some common methodologies used in Linux .Because I use Windows I am going to show you the Linux commands by opening “Ubuntu on Windows”.</p><p><strong>Clear the terminal screen:</strong></p><pre>clear</pre><p>cleans the terminal .</p><h4><strong>Directory navigation</strong></h4><p><strong>See the location of the pointer :</strong></p><pre>pwd</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*goLbAaS2d7_VFOd4IzZ-Bw.png" /></figure><p><strong>Show contents of folder :</strong></p><pre>ls</pre><p><strong>Move up:</strong></p><pre>cd ..</pre><p><strong>Move to specific folder :</strong></p><pre>cd folderName</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*QQ4sedpji1f7vPMru8iErQ.png" /><figcaption>navigating</figcaption></figure><p>In the above scenario I used <strong>pwd,ls and cd</strong> to illustrate how we can move from from one folder to another.</p><p><strong>Move to root:</strong></p><pre>cd /</pre><h4><strong>Seeing the contents of a folder :</strong></h4><p><strong>Show all files (hidden also):</strong></p><pre>ls -a</pre><p><strong>See all files and also details :</strong></p><pre>ls -l</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*lf4OICT41rRR_P5wf8a4LQ.png" /><figcaption>ls -l provides us with details about the contents of the folder</figcaption></figure><p>In the privilege section of the owner section we can see that <strong>drwxr </strong>is written it means :</p><p>first letter is “-”for File, <strong>d</strong> for Directory, <strong>l</strong> for Link</p><p>r — read</p><p>w — The file can be modified (write/delete/edit)</p><p>x — execute</p><p>Changing permissions of a file or folder is a different topic altogether .We will skip that in this article.</p><h4><strong>make a new directory</strong></h4><pre>mkdir directoryName</pre><p><strong>delete</strong></p><pre>rm -r directoryName <br>rm nameOfFile   <br>rmdir directoryName</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*DNOJ_usxO0mb5wOxcoVfOA.png" /><figcaption>created and deleed a directory</figcaption></figure><p><strong>rm -r</strong> is used when the directory is not empty.</p><h4>make a file</h4><pre>touch f.txt</pre><p><strong>Open with an editor </strong>:</p><p>(I will open the file using vscode)</p><p>being in the same directory as file you want to open type:</p><pre>code f.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/1*YZbOsqPcAg_yNAIBUHgWBA.png" /></figure><p>another important thing you want is the use of tab button. when writing long filenames press tab and it will suggest names that exist in the directory.</p><p><strong>see contents of a text file in the terminal </strong>:</p><pre>cat f.txt</pre><p>this helps when you need to look inside a small file.to see larger files use :</p><pre>less f.txt</pre><p>quit pressing “q”.</p><p><strong>Renaming a file :</strong></p><pre>mv f.txt newName</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*DDRuEx79wfUZKKSz2VCqkA.png" /><figcaption>rename</figcaption></figure><p><strong>copy a file :</strong></p><pre>cp newName.txt copied.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*eXyEVW5TaodGUFSmuQN8hQ.png" /><figcaption>new file is created with the same contents of the old one</figcaption></figure><p><strong>locating a file/folder:</strong></p><pre>which fileName/foldername</pre><p>it outputs the path .</p><p><strong>see what commands you used upto 500 :</strong></p><pre>history</pre><p>update Ubuntu :</p><pre>sudo apt-get update</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*0ofIwVKmuhum2BtiaaAqQA.png" /><figcaption>it didnt work the first time</figcaption></figure><p>sudo means super user do .</p><p><strong>See network information :</strong></p><pre>ifconfig</pre><p><strong>ping a website :</strong></p><pre>ping google.com</pre><p><strong>see own os information :</strong></p><pre>uname -a</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*fSIMEf7E4DEfH2krIEdFkg.png" /></figure><p><strong>See system usage data :</strong></p><pre>top</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*UCphNqhqFyElGFbf8ny5Qg.png" /></figure><p><strong>See disk space :</strong></p><pre>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*CU7UXnkCkwcqv4QsUucGxw.png" /></figure><p><strong>Install software :</strong></p><pre>sudo apt-get install Name</pre><p><strong>Remove/uninsall :</strong></p><pre>sudo apt-get remove Name</pre><p><strong>Restart computer :</strong></p><pre>sudo reboot</pre><p><strong>Shutdown Computer : (try anyone)</strong></p><pre>sudo shutdown -h now<br>sudo poweroff</pre><p>This is by no means a comprehensive tutorial . My target was to introduce you to the commands that will start you off . For further reading you can explore <a href="https://www.guru99.com/must-know-linux-commands.html">here </a>.</p><p>Share your opinions . :) and please leave a <strong>clap</strong> or 50 :P :)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FjUwpNzg9IcyrK%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fthe-simpsons-scared-homer-simpson-jUwpNzg9IcyrK&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2FjUwpNzg9IcyrK%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/6d0f7af0873fc6458af6f30f0b990f3d/href">https://medium.com/media/6d0f7af0873fc6458af6f30f0b990f3d/href</a></iframe><p>BYE!! .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b54def1c2190" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Essential tools for developing NodeJS,React applications in Visual Studio Code]]></title>
            <link>https://medium.com/@zibon/increase-your-productivity-with-these-tools-while-developing-nodejs-react-applications-46c7cc90d8d0?source=rss-f18f341d18e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/46c7cc90d8d0</guid>
            <category><![CDATA[visual-studio-code]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Syed Monowarul Islam]]></dc:creator>
            <pubDate>Thu, 06 Sep 2018 17:06:09 GMT</pubDate>
            <atom:updated>2018-09-30T20:25:53.642Z</atom:updated>
            <content:encoded><![CDATA[<p>Visual Studio code is a very popular text editor among developers nowadays . It has lots of benefits over its competitors . One who is not familiar with Visual Studio code might not find things appealing about it at first glance with just installing the core software. Its power lies in its extensions and visual studio marketplace. This article is aimed at first time <strong>Visual studio code</strong> users who want to get a professional feel about it .Experienced developers can just skim through the extension names to see whether or not you are familiar with the extensions or not.</p><p>Firstly I will make some changes in the settings .</p><p>Brings up the settings by navigating to File → preferences → settings (ctrl + , )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*NZL9zLlvHf6XiQDbakqWdw.png" /><figcaption>navigate to settings</figcaption></figure><p>You will be greeted with the below interface . I have written which is what inside little text boxes. take a look at the below picture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ApiLP-AAtZ4nNExEFPzjA.png" /><figcaption>Settings</figcaption></figure><p>Now what you need to do is navigate to the settings like the new below pic .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cHmOvKYMpJDyx7elb6ew_Q.png" /></figure><p>After you select that you will come to the below screen . Here we have greater control over the settings . take the time to familarize yourself with the below image and then continue to read .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uTIXFWpurJ_PPq0feBBkpA.png" /><figcaption>how to change a setting</figcaption></figure><p>React front end needs jsx as markup .But the default emmet does not produce abbreviation for jsx by default. So we need to add two settings in the setting . We need to add “javascript” : “javascriptreact” to “emmet.includeLanguages” and “javascript”: “jsx” to “emmet.syntaxProfiles”.</p><p>Another thing I use is the “git-bash” on windows instead of power-shell . Download it from here .</p><p><a href="https://git-scm.com/download/win">https://git-scm.com/download/win</a></p><p>You can also install the <strong>Linux bash</strong> if you desire. It is available on the windows store. download that if you want to use that from the store . <strong>Command prompt </strong>and <strong>powershell </strong>are installed by default in windows. You can choose any integrated terminal by adding any of the following code in the user settings .</p><pre>// Command Prompt<br>&quot;terminal.integrated.shell.windows&quot;: &quot;C:\\Windows\\System32\\cmd.exe&quot;<br>// PowerShell<br>&quot;terminal.integrated.shell.windows&quot;: &quot;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe&quot;<br>// Git Bash<br>&quot;terminal.integrated.shell.windows&quot;: &quot;C:\\Program Files\\Git\\bin\\bash.exe&quot;<br>// Bash on Ubuntu (on Windows)<br>&quot;terminal.integrated.shell.windows&quot;: &quot;C:\\Windows\\System32\\bash.exe&quot;</pre><p>Below is my default settings :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*gEY78gUw-QPH09kqiMvQww.png" /><figcaption>My settings</figcaption></figure><p>Another setting option you need to remember is “editor.formatOnSave” it is set to “false” by default .Set it to “true” when you install a code formatter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*4GcTJZh2Ix-zNvbcvLT4GA.png" /><figcaption>after you install “prettier” or any other code formatter make this setting to true</figcaption></figure><p>So my json object for the “user settings ”is the below one :</p><pre>{</pre><pre>&quot;editor.fontSize&quot;: 18,</pre><pre>&quot;editor.tabSize&quot;: 2,</pre><pre>&quot;editor.wordWrap&quot;: &quot;on&quot;,</pre><pre>&quot;terminal.integrated.fontSize&quot;: 18,</pre><pre>&quot;emmet.includeLanguages&quot;: {</pre><pre>&quot;javascript&quot; : &quot;javascriptreact&quot;</pre><pre>},</pre><pre>&quot;emmet.syntaxProfiles&quot;: {</pre><pre>&quot;javascript&quot;: &quot;jsx&quot;</pre><pre>},</pre><pre>&quot;terminal.integrated.shell.windows&quot;: &quot;C:\\Program Files\\Git\\bin\\bash.exe&quot;,</pre><pre>&quot;editor.formatOnSave&quot;: true</pre><pre>}</pre><h3>Extensions :</h3><p>So up until now we have made changes to the settings option . Now we will install extensions for plugins for <strong>Visual studio code</strong> . Many of these custom extensions are the reason <strong>visual studio code</strong> has become such a popular text editor among developers.</p><p>Bring up the extensions tab by pressing (ctrl + shift + x) then type in the extension name then “Install” and “Reload”.</p><h3><strong>ES7 React/Redux/GraphQL/React-Native snippets :</strong></h3><p>This is a must have extension if you want to use React as a front end . It brings up code snippets for react which can increase productivity. Read the detail section and you will know what to type for which snippet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oy0VagizMsYukqrKHxMhEQ.png" /><figcaption><strong>ES7 React/Redux/GraphQL/React-Native snippets</strong></figcaption></figure><h3><strong>Bracket Pair Colorizer :</strong></h3><p>This is a plugin which is helpful to many .It helps you keep track of your closure by coloring the brackets of different closures in different colors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hwtCXCBYqb6sQJ-6ewYg5Q.png" /></figure><h3><strong>Prettier — Code formatter :</strong></h3><p>This is exactly what it does . It is a code formatter. It helps to format your code .You need to have “editor.formatOnSave” to true as I mentioned above . for this to work .</p><p>another popular code formatter is beautify (HookyQR) . Always install one in any instance or you might get unexpected results .</p><p>Sometimes codes formatter’s change your code from lowercase to uppercase .In those cases investigate how to edit that setitng for an extension.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NJlsvIX-Yzu487LxjpfDiQ.png" /></figure><h3><strong>Live server :</strong></h3><p>This plugin does a very simple task which is to refresh the application on the browser when you make changes to the code. When you are stressed out over code these little inconveniences will hurt you more . God bless this guy .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1yMHB-5ai9OoplO87RF1Bg.png" /></figure><h3><strong>Node.js Modules Intellisense :</strong></h3><p>This plugin auto completes your JavaScript / TypeScript modules in import statements . Which saves you the time of looking at your directory .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TGMC-psLt1-kZ9Yyf5lnEA.png" /></figure><h3><strong>nodemon :</strong></h3><p>This is not a plugin but you need to install it on every project as a “dev- dependency ”. What it does is essentially restart the server every time you make changes to the code and save it .</p><p>Install it to your node project by typing in the terminal :</p><pre>npm install -g nodemon</pre><p>The above code is for installing nodemon globally on your machine .So all of your projects get access to it .but it is not recommended as nodemon versions can differ by project.</p><p>So it is best to use this :</p><pre>npm install --save-dev nodemon</pre><p>you can now start the project by typing(server.js is the entry point)</p><pre>nodemon server.js</pre><p>Another thing you might want to do is set the “start” object as “nodemon server.js” in the “package.josn” file .Here “server.js” is my launch page.</p><pre>&quot;scripts&quot;: {   <br>&quot;start&quot;: &quot;nodemon server.js&quot;,                        <br>}</pre><p>Now you will be able to start the application by typing “npm start”</p><p>These were the plugins I use now in development with my Visual studio code editor . In the end it all comes down to preference . These were the plugins I like, you might like something else . In cases you like some other plugins I would like to know what it does and why you like it more . <strong>Please feel free to share it with me</strong> .</p><p><strong>Thanks for reading</strong> .</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FGB0lKzzxIv1te%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fbye-goodbye-the-little-rascals-GB0lKzzxIv1te&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FGB0lKzzxIv1te%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="237" frameborder="0" scrolling="no"><a href="https://medium.com/media/7fa01a2dfae61329d861eaaaadebbd9d/href">https://medium.com/media/7fa01a2dfae61329d861eaaaadebbd9d/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46c7cc90d8d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Java Vs JavaScript]]></title>
            <link>https://medium.com/@zibon/java-vs-javascript-bb225039e120?source=rss-f18f341d18e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb225039e120</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Syed Monowarul Islam]]></dc:creator>
            <pubDate>Wed, 28 Mar 2018 08:12:11 GMT</pubDate>
            <atom:updated>2019-02-03T05:14:19.914Z</atom:updated>
            <content:encoded><![CDATA[<p>Back in 2009, web developer <strong>Jeremy Keith</strong> pointed out</p><blockquote>Java is to JavaScript as Ham is to Hamster.</blockquote><p>We will inspect this analogy today. Mr. Keith was right when he said these words back then but in 2018 it still holds true but the following of JavaScript have grown many fold. Lets take a look at the industry usage of languages based on stackoverflow.com surveys :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*Ju98bNIaXQR2hwGS9q3vuQ.png" /></figure><p>with the introduction of <strong>Node.js</strong> in 2009 ( an <a href="https://en.wikipedia.org/wiki/Open-source_software">open-source</a>, <a href="https://en.wikipedia.org/wiki/Cross-platform">cross-platform</a> <a href="https://en.wikipedia.org/wiki/JavaScript">JavaScript</a> <a href="https://en.wikipedia.org/wiki/Runtime_system">run-time environment</a> that executes JavaScript code <a href="https://en.wikipedia.org/wiki/Server-side">server-side</a>) and the standardization and support from all the big tech giants JavaScript has taken a leading role in Web development. A standard Java programmer might hate JavaScript because of the way some of its code is written. But those feature might be appealing to a newcomer and loved by a JavaScript developer. The thing to remember is Both languages were built for entire different reasons. Java from the beginning was meant to become a server-side language as well as run on any machine. JavaScript on the other hand was meant to be a front end language that could run on the browser. But as both grew and gained supporters they both wanted to provide support for every aspect of programming. So now today We are able to do everything with both Java and JavaScript by utilizing the right extensions/packages.</p><p>Because of their origins Some Java front-end Code does not make sense to a JavaScript front-end Developer and JavaScript Back-end code does not make sense to Java Back-end Developer. But the industry is realizing that developers and programmers want to use one language and with each successive update of the programming languages they are trying to bridge the gap. In march 28th,2018 Java Included <strong>var </strong>as a <strong>Local-Variable Type Inference </strong>,no doubt because of the<strong> </strong>increasing influence of <strong>JavaScript</strong> community stakeholders.</p><p>Ecma International (they are responsible for maintaining JavaScript Standardization) is also trying to incorporate many language best practices to JavaScript as well.</p><p>Both Java and JavaScript are programming languages and programming languages are a programmers tools. Its the programmers job to use the right tool at the right time. Take the below picture for example,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*xnUywZEOJowgYBtpesrvwQ.jpeg" /><figcaption>Using the right tool for the right job</figcaption></figure><p>both will get the job done but after a little strife. Same is applicable for programming languages as well. It probably depends on the specifics of the project, your skill set, and several other factors.</p><p>in <a href="http://www.linkedin.com/in/yshiotsu">Yoshitaka Shiotsu</a>’s article in upwork.com titled “<strong>Java vs. JavaScript: What’s the Difference?</strong>” he states the differences as thus :</p><blockquote><strong>Compiled vs. Interpreted.</strong> Java is considered a <em>compiled</em> programming language. JavaScript is considered an <em>interpreted</em> scripting language. The difference is in the implementation: Java is compiled into bytecode and run on a virtual machine, whereas JavaScript can be interpreted directly by a browser in the syntax it is written (although it is usually minified in practice).</blockquote><blockquote><strong>Static vs Dynamic Type Checking.</strong> Java uses static type checking, where the type of a variable is checked at compile-time. The programmer must specify the type (integer, double, string, etc.) of any variable they create. JavaScript, like most scripting languages, uses dynamic typing, where type safety is verified at runtime. It is not required for a programmer to specify the type of any variable they create. There are many pros and cons for these two paradigms, but the primary advantage of static type checking is that type errors are caught early in development, and because the compiler knows exactly what data types are being used, code typically executes faster or uses less memory. The primary advantage of dynamic type checking is programmer productivity — you are free to assign types at your leisure.</blockquote><blockquote><strong>Concurrency.</strong> The ability to handle the execution of several instruction sequences at the same time is handled very differently between Java and JavaScript. Java makes use of multiple threads to perform tasks in parallel. JavaScript, particularly as it exists as Node.js in server-side applications, handles concurrency on one main thread of execution via a queue system called the event loop, and a forking system called Node Clustering. For most use-cases, both methods work just fine, but Java is generally faster because thread to thread memory sharing much faster than interprocess communication (IPC).</blockquote><blockquote><strong>Class Based vs Prototype Based.</strong> Java follows class based inheritance — a top down, hierarchical, class-based relationship whereby properties are defined in a class and inherited by an instance of that class (one of its members). In JavaScript, inheritance is prototypal — all objects can inherit directly from other objects. Hierarchy is accomplished in JavaScript by assigning an object as a prototype with a constructor function.</blockquote><p>That were the language differences between the languages.</p><p>But a new programmer does not want to know this ,he/she just wants to know what should I learn that will do everything and the probable answer he/she gets is JavaScript.</p><blockquote>Server-side code : Node.js,Express.js etc.</blockquote><blockquote>Android / IOS development : React Native</blockquote><blockquote>Web front-end : ReactJS,AngularJS etc</blockquote><blockquote>Desktop : Electron</blockquote><p><strong>JavaScript </strong>shines as a Web language. With the rise of internet availability and Because of <strong>Node.js </strong>JavaScript has become very dominant today.NodeJS with ExpressJs has enabled JavaScript to run on the server-side soothingly. Another important contributor to JavaScript’s success is npm(node package manager) and the army of packages/frameworks available there. Whatever task you are trying to do there is a probable chance that there are multiple packages available on npm for that function. NodeJs shines in building fast, scalable network applications, as it’s capable of handling a huge number of simultaneous connections with high throughput, which equates to high scalability.</p><p>but web development is not the <strong>be all and end all.</strong></p><p>Java is able to do all of those with accuracy and efficiency as well and as specializing in a few other things like : Enterprise software ,Big data Analytics ,Hardware programming ,Scientific computing . CPU intensives tasks are better handled in the Java World.</p><blockquote><strong>Server-side code </strong>: Java</blockquote><blockquote><strong>Android / IOS development :</strong> only supports Android development in Java . But <strong>Kotlin </strong>has now become the official language of Android and one might wonder Android will pull its support for <strong>Java </strong>after a few years down the line</blockquote><blockquote><strong>Web front-end :</strong> Java applet</blockquote><blockquote><strong>Desktop : </strong>Java</blockquote><p>So to sum it up I will not tell you a definite answer to which language you should learn but the startup communities favor JavaScript and its different frameworks while bigger companies tend to favor Java applications.Its because when an application is at its infancy JavaScript applications have less cost to develop and maintain . Prototyping is pretty fast in the JavaScript Ecosystem.</p><p>Another thing you should know that is JavaScript has an army of open source developers and any probable programming problems you will face can be solved pretty easily in a stackoverflow post .It is the same for java but JavaScript has more followers.</p><p>e.g.: I only talked about Java and JavaScript in this article . C# ,python etc are quite comparable to Java .If you choose Java you might also want to look into them .</p><p>If you have any concerns please leave a constructive criticism in the comments . thanks :)</p><p><strong>References :</strong></p><ul><li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/About_JavaScript">About JavaScript - JavaScript | MDN</a></li><li><a href="https://en.wikipedia.org/wiki/JavaScript#Beginnings_at_Netscape">JavaScript - Wikipedia</a></li><li><a href="https://insights.stackoverflow.com/survey/2017#community">Stack Overflow Developer Survey 2017</a></li><li><a href="https://www.upwork.com/hiring/development/java-vs-javascript/">Java vs. JavaScript: What&#39;s the Difference?</a></li><li><a href="https://www.quora.com/What-are-advantages-or-disadvantages-of-using-Java-vs-JavaScript-as-backend-framework-for-mobile-apps">What are advantages or disadvantages of using Java vs JavaScript as backend framework for mobile apps?</a></li><li><a href="https://www.upwork.com/hiring/development/java-vs-javascript/">Java vs. JavaScript: What&#39;s the Difference?</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb225039e120" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>