<?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: suren40</title>
    <description>The latest articles on DEV Community by suren40 (@suren40).</description>
    <link>https://dev.to/suren40</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%2F198251%2Fa296c9ab-1efa-4d85-b8f9-b35148a93647.jpeg</url>
      <title>DEV Community: suren40</title>
      <link>https://dev.to/suren40</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/suren40"/>
    <language>en</language>
    <item>
      <title>How I connected Google Client Python API to Google Cloud Virtual Machine.</title>
      <dc:creator>suren40</dc:creator>
      <pubDate>Wed, 13 May 2020 16:01:09 +0000</pubDate>
      <link>https://dev.to/suren40/how-i-connected-google-client-python-api-to-google-cloud-virtual-machine-l3p</link>
      <guid>https://dev.to/suren40/how-i-connected-google-client-python-api-to-google-cloud-virtual-machine-l3p</guid>
      <description>&lt;p&gt;It took me around half an hour to figure it out the way to install deno in my linux machine(debian)&lt;/p&gt;

&lt;p&gt;and run just "deno"&lt;/p&gt;

&lt;p&gt;The installation process is quite easy but newbie like me always gets confused. This is for those like who were not able to find the right way to install it and open the deno with single command deno.&lt;/p&gt;

&lt;p&gt;My steps and procedure may be wrong or bad practice but this way I solved it&lt;/p&gt;

&lt;p&gt;First step was to install the deno using &lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt; curl -fsSL https://deno.land/x/install/install.sh | sh
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Just type it on the shell and it will download the bin file(executable file) file &lt;/p&gt;

&lt;p&gt;After this It will prompt to add the two file in .profile or .bashrc I followed the process was able to run the deno but  I was not able to use the shortcut "deno" what I did was  &lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt; export PATH=~/.deno/bin/deno:$PATH
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;in our .bashrc file which is found in our ~(home directory of user). just type &lt;/p&gt;

&lt;p&gt;and type the command&lt;/p&gt;

&lt;p&gt;source .bashrc&lt;br&gt;
and by typing the deno it worked!!!&lt;/p&gt;

&lt;p&gt;If  it still doesn't work for you exit and terminal and try it again.&lt;/p&gt;

&lt;p&gt;Regarding zsh if the deno is not working we have to put the export command before zsh mentioned in .bashrc&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Python Infinite Scrolling problem.</title>
      <dc:creator>suren40</dc:creator>
      <pubDate>Wed, 13 May 2020 15:46:18 +0000</pubDate>
      <link>https://dev.to/suren40/python-infinite-scrolling-problem-5e7d</link>
      <guid>https://dev.to/suren40/python-infinite-scrolling-problem-5e7d</guid>
      <description>&lt;p&gt;I do web scraping on my daily basis. I was looking for the way to deal with the infinite scrolling using Selenium Python. One of  the method I used  while dealing with infinite scrolling  data from chrome web store was to loop around the screen size.&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;        number = 0
       number2 = 2500
    for i in range(105):
        script_scroll = "window.scrollTo("+str(number)+","+str(number2)+")"
        print(script_scroll)
        contents = browser.find_elements_by_xpath("//div[@role='row']")
        urls_list = ['urls']

        for content in contents:
            link = content.find_element_by_xpath(".//a")
            link_url = link.get_attribute('href')
            urls_list.append(link_url)
        time.sleep(4)
        browser.execute_script(script_scroll)
        number = number2
        number2 = number2 + number2
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

</description>
      <category>python</category>
    </item>
    <item>
      <title>HOW INSTALL DENO IN ZSH AND RUN WITH JUST TYPING DENO.(NEWBIE-TIPS)</title>
      <dc:creator>suren40</dc:creator>
      <pubDate>Tue, 12 May 2020 10:46:27 +0000</pubDate>
      <link>https://dev.to/suren40/how-install-deno-in-zsh-and-run-with-just-typing-deno-newbie-tips-33i9</link>
      <guid>https://dev.to/suren40/how-install-deno-in-zsh-and-run-with-just-typing-deno-newbie-tips-33i9</guid>
      <description>&lt;p&gt;It took me around half an hour to figure it out the way to install deno in my linux machine(debian)&lt;/p&gt;

&lt;p&gt;and run just "deno"&lt;/p&gt;

&lt;p&gt;The installation process is quite easy but newbie like me always gets confused. This is for those like who were not able to find the right way to install it and open the deno with single command deno.&lt;/p&gt;

&lt;p&gt;My steps and procedure may be wrong or bad practice but this way I solved it&lt;/p&gt;

&lt;p&gt;First step was to install the deno using &lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt; curl -fsSL https://deno.land/x/install/install.sh | sh
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Just type it on the shell and it will download the bin file(executable file) file &lt;/p&gt;

&lt;p&gt;After this It will prompt to add the two file in .profile or .bashrc I followed the process was able to run the deno but  I was not able to use the shortcut "deno" what I did was  &lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt; export PATH=~/.deno/bin/deno:$PATH
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;in our .bashrc file which is found in our ~(home directory of user). just type &lt;br&gt;
'la' in shell. we will find .bashrc if you are using bash terminal if not create one and add the above statement. I used vim for editing so after saving&lt;br&gt;
and type the command.&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  source ~/.bashrc
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and by typing the deno it worked for me&lt;/p&gt;

&lt;p&gt;If  it still doesn't work for you exit terminal and try it again.&lt;/p&gt;

&lt;p&gt;Regarding zsh if the deno is not working we have to put the export command before zsh mentioned in .bashrc&lt;/p&gt;

</description>
      <category>linux</category>
      <category>deno</category>
      <category>zsh</category>
      <category>newbie</category>
    </item>
    <item>
      <title>Learning resources for browser extension development</title>
      <dc:creator>suren40</dc:creator>
      <pubDate>Wed, 04 Mar 2020 09:35:34 +0000</pubDate>
      <link>https://dev.to/suren40/learning-resources-for-browser-extension-development-13e5</link>
      <guid>https://dev.to/suren40/learning-resources-for-browser-extension-development-13e5</guid>
      <description>&lt;p&gt;After learning basics of JavaScript making browser extension can be playground for playing with our JavaScript skills. Today I am going to share some links or resources I collect. I find documentation of chrome extension really difficult to start understand but I we need it to be perfect. Here are the list I collected &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://blog.checklyhq.com/creating-a-chrome-extension-in-2018-the-good-the-bad-and-the-meh/"&gt;https://blog.checklyhq.com/creating-a-chrome-extension-in-2018-the-good-the-bad-and-the-meh/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/dwyl/learn-chrome-extensions"&gt;https://github.com/dwyl/learn-chrome-extensions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/ankitverma31/building-your-first-chrome-extension-a-beginner-s-guide-40a9"&gt;https://dev.to/ankitverma31/building-your-first-chrome-extension-a-beginner-s-guide-40a9&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="https://medium.com/javascript-in-plain-english/how-to-make-a-chrome-extension-with-vue-js-56e50bd97972"&gt;https://medium.com/javascript-in-plain-english/how-to-make-a-chrome-extension-with-vue-js-56e50bd97972&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.streaver.com/blog/posts/create-web-extension-vue.html"&gt;https://www.streaver.com/blog/posts/create-web-extension-vue.html&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;One of the best video tutorials I found on YouTube is &lt;br&gt;
1 .  &lt;a href="https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bL9VOMT65ahNEri9uqLWfS"&gt;https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bL9VOMT65ahNEri9uqLWfS&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I will keep on adding other resources so that it may help the beginner like me to learn.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>career</category>
      <category>browser</category>
    </item>
  </channel>
</rss>
