### Download PHP Proxy Example Source: https://github.com/decodo/decodo/blob/master/php/README.md Use curl to download the PHP proxy setup file. This command fetches the example script from GitHub and saves it as php.php for HTTP(s) proxies. ```bash curl https://raw.githubusercontent.com/Decodo/Decodo/master/php/php.php > php.php ``` -------------------------------- ### Download Java Proxy Example Source: https://github.com/decodo/decodo/blob/master/java/README.md Download the Decodo Java proxy setup example file using curl. ```bash curl https://raw.githubusercontent.com/Decodo/Decodo/master/java/java.java > java.java ``` -------------------------------- ### Download SOCKS5 PHP Proxy Example Source: https://github.com/decodo/decodo/blob/master/php/README.md Use curl to download the PHP proxy setup file. This command fetches the example script from GitHub and saves it as phpsocks5h.php for SOCKS5 proxies. ```bash curl https://raw.githubusercontent.com/Decodo/Decodo/master/php/php.php > phpsocks5h.php ``` -------------------------------- ### Download HTTP(s) Proxy Setup Script Source: https://github.com/decodo/decodo/blob/master/nodejs/README.md Use this curl command to download the Node.js example file for HTTP(s) proxies. ```bash curl https://raw.githubusercontent.com/Decodo/Decodo/master/nodejs/node.js > node.js ``` -------------------------------- ### Download SOCKS5 Proxy Setup Script Source: https://github.com/decodo/decodo/blob/master/nodejs/README.md Use this curl command to download the Node.js example file for SOCKS5 proxies. ```bash curl https://raw.githubusercontent.com/Decodo/Decodo/master/nodejs/node.js > nodesocks5h.js ``` -------------------------------- ### Run Java Example with Disabled Basic Auth for Tunneling Source: https://github.com/decodo/decodo/blob/master/java/README.md Execute the Java example, disabling Basic Authentication for HTTPS tunneling to resolve 'HTTP/1.1 407 Proxy Authentication Required' errors. Ensure your Decodo credentials and endpoint are correctly configured within the java.java file. ```bash java -Djdk.http.auth.tunneling.disabledSchemes="" java.java ``` -------------------------------- ### Download SOCKS5 Proxy Script Source: https://github.com/decodo/decodo/blob/master/python/README.md Use this curl command to download the Python script for setting up SOCKS5 proxies. Ensure you have Python installed. ```bash curl https://raw.githubusercontent.com/Decodo/Decodo/master/python/pythonsocks5h.py > pythonsocks5h.py ``` -------------------------------- ### Download HTTP(s) Proxy Script Source: https://github.com/decodo/decodo/blob/master/python/README.md Use this curl command to download the Python script for setting up HTTP(s) proxies. Ensure you have Python installed. ```bash curl https://raw.githubusercontent.com/Decodo/Decodo/master/python/python.py > python.py ``` -------------------------------- ### Configure Decodo Proxy Credentials in Go Source: https://github.com/decodo/decodo/blob/master/golang/README.md Set your Decodo username, password, and endpoint details within this Go code. Ensure these constants are updated before running the proxy example. ```go const ( resourceUrl = "https://ip.decodo.com/json" proxyHost = "gate.decodo.com:7000" username = "username" password = "password" ) ``` -------------------------------- ### Configure Decodo Proxy in C# Source: https://github.com/decodo/decodo/blob/master/csharp/README.md Set up your Decodo proxy credentials and endpoint to establish a connection. Ensure you have your username, password, and endpoint information ready. ```csharp var proxy = new WebProxy("gate.decodo.com:7000") { UseDefaultCredentials = false, Credentials = new NetworkCredential( username: "username", password: "password", ) }; ``` -------------------------------- ### Create Project Directory Source: https://github.com/decodo/decodo/blob/master/java/README.md Use this command to create a new directory for your Java project. ```bash mkdir java_example ``` -------------------------------- ### Configure Python Proxy Credentials Source: https://github.com/decodo/decodo/blob/master/python/README.md Set your Decodo username, password, and endpoint in this Python code snippet. This configures the proxy connection string. ```python username = 'username' password = 'password' proxy = f'https://{username}:{password}@gate.decodo:7000' ``` -------------------------------- ### Configure Decodo Proxy Credentials in PHP Source: https://github.com/decodo/decodo/blob/master/php/README.md Set your Decodo username, password, and proxy endpoint in the PHP script. These variables are required to establish an authenticated connection through the proxy. ```php $username = 'username'; $password = 'password'; $proxy = 'gate.decodo.com:7000'; $target = curl_init('https://ip.decodo.com/') ``` -------------------------------- ### Download Decodo Shell Script Source: https://github.com/decodo/decodo/blob/master/shell/README.md Use this command to download the shell script from the master branch of the Decodo GitHub repository. Ensure you are in your project directory. ```bash curl https://raw.githubusercontent.com/Decodo/Decodo/master/shell/shell.sh > shell.sh ``` -------------------------------- ### Configure Decodo Ruby Proxy Source: https://github.com/decodo/decodo/blob/master/ruby/README.md Set your username, password, and endpoint details in these variables before running the script. ```ruby proxy_host = 'gate.decodo.com' proxy_port = 7000 proxy_user = 'username' proxy_pass = 'password' ``` -------------------------------- ### Execute Decodo Proxy Request Source: https://github.com/decodo/decodo/blob/master/shell/README.md This command, to be placed within the shell.sh script, makes a request to the Decodo proxy endpoint. Replace 'username:password' with your actual Decodo credentials and 'gate.decodo.com:7000' with your endpoint if different. This will output JSON containing IP details. ```bash curl -x gate.decodo.com:7000 -U "username:password" https://ip.decodo.com/json ``` -------------------------------- ### Configure Proxy Credentials Source: https://github.com/decodo/decodo/blob/master/nodejs/README.md Set your username, password, and endpoint information in this configuration object within the Node.js script. ```javascript proxy: { host: 'gate.decodo.com' port: 7000, auth: { username: 'user', password: 'password' } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.