<?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: jahangir </title>
    <description>The latest articles on DEV Community by jahangir  (@cloudy4next).</description>
    <link>https://dev.to/cloudy4next</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%2F625662%2F9b7cd69f-a66a-416d-a63f-12ff38ab255d.jpeg</url>
      <title>DEV Community: jahangir </title>
      <link>https://dev.to/cloudy4next</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cloudy4next"/>
    <language>en</language>
    <item>
      <title>Started my dream job as a machine learning engineer </title>
      <dc:creator>jahangir </dc:creator>
      <pubDate>Mon, 31 May 2021 19:41:47 +0000</pubDate>
      <link>https://dev.to/cloudy4next/started-my-dream-job-as-a-machine-learning-engineer-1p3e</link>
      <guid>https://dev.to/cloudy4next/started-my-dream-job-as-a-machine-learning-engineer-1p3e</guid>
      <description>&lt;p&gt;Wish me luck 😁&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Change Gnome Network </title>
      <dc:creator>jahangir </dc:creator>
      <pubDate>Wed, 05 May 2021 09:57:29 +0000</pubDate>
      <link>https://dev.to/cloudy4next/change-the-network-3hil</link>
      <guid>https://dev.to/cloudy4next/change-the-network-3hil</guid>
      <description>&lt;p&gt;Sometimes we need to use proxy server for boring stuff (never mind!),thus in this scenario we can change the gnome's network settings just using a script or we can write bash script(i'm so lazy so Didn't wrote ). In this whole process... &lt;/p&gt;

&lt;p&gt;Calling the subprocess will execute terminal command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import os
import subprocess

def change_network():

    change_to_manual  =  subprocess.call([ "gsettings", "set", "org.gnome.system.proxy", "mode", "'manual'"])
    change_https =       subprocess.call(["gsettings", "set", "org.gnome.system.proxy.https", "host", "'172.0.0.1'"])
    change_port =        subprocess.call(["gsettings", "set", "org.gnome.system.proxy.https", "port", "8888"])
    change_http =        subprocess.call(["gsettings", "set", "org.gnome.system.proxy.http" ,"host" ,"'172.0.0.1'"])
    change_port =        subprocess.call(["gsettings", "set", "org.gnome.system.proxy.http" ,"port" ,"8888"])


if __name__==__main__:
    change_network()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Walah!!! We have changed network settings. &lt;br&gt;
☺ happy coding! &lt;/p&gt;

</description>
      <category>python</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
