<?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>Forem: Shreya</title>
    <description>The latest articles on Forem by Shreya (@shreyadhir).</description>
    <link>https://forem.com/shreyadhir</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%2F377973%2Ffa060ffd-0964-4eae-aa41-b623abce8ccc.jpeg</url>
      <title>Forem: Shreya</title>
      <link>https://forem.com/shreyadhir</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/shreyadhir"/>
    <language>en</language>
    <item>
      <title>Creating Apk for React Native Project</title>
      <dc:creator>Shreya</dc:creator>
      <pubDate>Wed, 21 Oct 2020 11:27:47 +0000</pubDate>
      <link>https://forem.com/shreyadhir/creating-apk-for-react-native-project-13e3</link>
      <guid>https://forem.com/shreyadhir/creating-apk-for-react-native-project-13e3</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;APK (Android Application Package) - An app file for Android which is present in the package format used as a standalone app.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Set up
&lt;/h3&gt;

&lt;p&gt;To start, we need to eject the expo environment from the project. Write the following command in the command prompt:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;expo eject
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Now, we need to run the command:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; expo build:android 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Further, the following permissions will be asked; follow the steps below:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;? Would you like to proceed? Yes
√ Choose the build &lt;span class="nb"&gt;type &lt;/span&gt;you would like: » apk 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The build will then start taking place. While it might take some time, you can monitor your build by following the link given under "You can monitor the build at" with all the necessary details about the build. &lt;/p&gt;

&lt;p&gt;Happy Learning! 👩🏻‍💻&lt;/p&gt;

</description>
      <category>android</category>
      <category>reactnative</category>
      <category>apk</category>
      <category>expo</category>
    </item>
    <item>
      <title>HacktoberFest 2020</title>
      <dc:creator>Shreya</dc:creator>
      <pubDate>Sat, 17 Oct 2020 08:00:47 +0000</pubDate>
      <link>https://forem.com/shreyadhir/hacktoberfest-2020-3mp5</link>
      <guid>https://forem.com/shreyadhir/hacktoberfest-2020-3mp5</guid>
      <description>&lt;h2&gt;
  
  
  HacktoberFest Experience
&lt;/h2&gt;

&lt;p&gt;I completed my #Hacktoberfest 2020 challenge by submitting all of the four (+1) pull requests! It was my first time participating in the event, and I had a lot of fun being a contributor and as a maintainer. I'm looking forward to involving myself more in Open-Source projects. &lt;br&gt;
&lt;br&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  What I Learned From Hacktoberfest
&lt;/h2&gt;

&lt;p&gt;I opened a repository that accepted all the contributions that can help the students/Graduates to prepare for interviews/internships/fellowships. The repository consists of programs on different data structures and algorithms, questions from different interviews and online judges, basic programming problems, etc, in all the possible programming languages including Python, C++, C, Java, etc.&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--i3JOwpme--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-ba8488d21cd8ee1fee097b8410db9deaa41d0ca30b004c0c63de0a479114156f.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/ShreyaDhir"&gt;
        ShreyaDhir
      &lt;/a&gt; / &lt;a href="https://github.com/ShreyaDhir/HacktoberFest2020"&gt;
        HacktoberFest2020
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Hacktober-Fest 2020 :octocat:  -&amp;gt; open for all!
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://camo.githubusercontent.com/62cd697b2f32ed644d54cf709995264b7c343b10b5661f3243cb2bf17d4ad3e6/68747470733a2f2f6861636b746f626572666573742e6469676974616c6f6365616e2e636f6d2f6173736574732f48462d66756c6c2d6c6f676f2d623035643565623332623366336563633962323234303532363130346366346461333138376238623631393633646439303432666463323533366534613736632e737667"&gt;&lt;img src="https://camo.githubusercontent.com/62cd697b2f32ed644d54cf709995264b7c343b10b5661f3243cb2bf17d4ad3e6/68747470733a2f2f6861636b746f626572666573742e6469676974616c6f6365616e2e636f6d2f6173736574732f48462d66756c6c2d6c6f676f2d623035643565623332623366336563633962323234303532363130346366346461333138376238623631393633646439303432666463323533366534613736632e737667" alt="Hacktoberfest Logo"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
HacktoberFest2020&lt;/h1&gt;
&lt;p&gt;Hacktober-Fest 2020 -&amp;gt; open for all!&lt;/p&gt;
&lt;p&gt;This repository could be used for reference and for those who are preparing for internships/jobs/fellowships or any other interviews.&lt;/p&gt;
&lt;p&gt;Also check CONTRIBUTING.md on your way.&lt;/p&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/ShreyaDhir/HacktoberFest2020"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h2&gt;
  
  
  How Can It Help Strengthen The Community
&lt;/h2&gt;

&lt;p&gt;For code-newbies, Open-Source is an excellent way to learn more about the technology field they are interested in. They can learn more about the stack. That's why many different software companies have stepped-out and have actively searched for diverse and highly-motivated contributors to help their product grow.&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A Message For Contributors
&lt;/h2&gt;

&lt;p&gt;What I learned as a maintainer that can help others contribute efficiently is to write a clear README.md/CONTRIBUTING.md explaining all the necessary steps and commands to follow in order to have a smooth Pull Request experience. Not only do the participants participate more, but it also helps the maintainers maintain their projects without any hassle.&lt;/p&gt;

&lt;p&gt;Happy Learning! 😊&lt;/p&gt;

</description>
      <category>hacktoberfest</category>
      <category>opensource</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>Daily Coding #1</title>
      <dc:creator>Shreya</dc:creator>
      <pubDate>Mon, 12 Oct 2020 20:15:51 +0000</pubDate>
      <link>https://forem.com/shreyadhir/daily-coding-1-ci9</link>
      <guid>https://forem.com/shreyadhir/daily-coding-1-ci9</guid>
      <description>&lt;p&gt;Day - 1 (13th October 2020)&lt;br&gt;
&lt;strong&gt;CodeSignal&lt;/strong&gt;  centuryFromYear.cpp&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int centuryFromYear(int year) {

    if(year&amp;lt;=0)
       std::cout &amp;lt;&amp;lt; "Enter valid year";

    else if (year &amp;lt;= 100)
        return 1;

    else if (year % 100 == 0)
        return year/ 100 ;
    else
        return year/ 100 + 1 ;
        return 0;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;GeeksForGeeks&lt;/strong&gt;  SumOfArrays.cpp&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//User function template for C++
class Solution{
public:
    // function to return sum of elements
    // in an array of size n
    int sum(int arr[], int n) {
        // code here
        int SUM=0;
        for(int i=0; i&amp;lt;n; i++)
        {
            SUM+=arr[i];
        }
        return SUM;
    }

};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>codenewbie</category>
      <category>challenge</category>
    </item>
    <item>
      <title>Creating a new Database using PostgreSQL</title>
      <dc:creator>Shreya</dc:creator>
      <pubDate>Sat, 10 Oct 2020 19:31:48 +0000</pubDate>
      <link>https://forem.com/shreyadhir/creating-a-new-database-using-postgresql-3hj</link>
      <guid>https://forem.com/shreyadhir/creating-a-new-database-using-postgresql-3hj</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;The following steps are only meant for Windows Users.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;How to connect the database server to Windows&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click on the Windows start button and Navigate to PostgreSQL 13.&lt;/li&gt;
&lt;li&gt;From there, open the SQL shell and follow the steps demonstrated below to create a new database on Postgresql:
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rp6NcV5---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/iezccbnv4r3ukqm0usql.png" alt="Postgres"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can create the database with the name of your choice. In the above shell:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;\l is used to list all the databases created. You can easily see your newly created database at the bottom (testdb).&lt;/li&gt;
&lt;li&gt;\c connects you to your database "testbase".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And with that, your new database has been created!&lt;/p&gt;

&lt;p&gt;Happy Learning! 😃&lt;/p&gt;

</description>
      <category>postgres</category>
      <category>database</category>
      <category>commandline</category>
      <category>computerscience</category>
    </item>
    <item>
      <title>An exhaustive content of Data Structures and Algorithms</title>
      <dc:creator>Shreya</dc:creator>
      <pubDate>Thu, 08 Oct 2020 20:46:22 +0000</pubDate>
      <link>https://forem.com/shreyadhir/an-exhaustive-content-of-data-structures-and-algorithms-4gdm</link>
      <guid>https://forem.com/shreyadhir/an-exhaustive-content-of-data-structures-and-algorithms-4gdm</guid>
      <description>&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


</description>
      <category>computerscience</category>
      <category>cpp</category>
      <category>codenewbie</category>
      <category>datastructuresandalgorithms</category>
    </item>
  </channel>
</rss>
