Git Product home page Git Product logo

proxy_configuration's Introduction

proxy_configuraion

Built with ❤ made with &hearts in Python works on Linux

Screenshot

screenshot

Requirements

<h4>Python3</h4>
To install python3 go to http://python.org

About

This is a script which configures removes the hassle of configuring proxy manually by supporting system wide proxy_configuration.
It is kept as simple as possible . No extra library other than the one that comes with python3 is used.

Currently tested on Ubuntu 14.04, 16.04, 18.04.

There are four options
1)Set proxy : Takes input from the user and modifies the required files.
2)Remove proxy : Remove any proxy settings if present in the files.
3)View Proxy : Displays the current proxy settings if there are any.
4)Restore default : Restores to the state before running this script for the first time.

Run

chmod +x proxy.py
sudo ./proxy.py

Support

Currently it modifies the following files
1)/etc/apt/apt.conf
2)/etc/environment
3)/etc/bash.bashrc

contribution

contributors are more than welcome to contribute to this project.

proxy_configuration's People

Contributors

adirthaborgohain avatar nityanandagohain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

proxy_configuration's Issues

it

it does not work. My operating system is ubuntu14.04, which has GUI. I set the proxy in the enviroment, whose file is in ~/.bashrc, and I done your suggets operation on the computer, but it does not work. I want to get your help.

error on entering proxy

`Please run this program as Super user(sudo)

1:) Set Proxy
2:) Remove Proxy
3:) View Current Proxy
4:) Restore Default
5:) Exit

Choice (1/2/3/4/5) : 1
Enter proxy : xx.xxx.xxx.xx
Traceback (most recent call last):
File "proxy.py", line 159, in
set_proxy(flag=0)
File "proxy.py", line 106, in set_proxy
proxy = input("Enter proxy : ")
File "", line 1
xx.xx.xxx.xx
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.