acarroz / autobw Goto Github PK
View Code? Open in Web Editor NEWScript to adjust Deluge maximum bandwith based upon the number of machines on the LAN.
Script to adjust Deluge maximum bandwith based upon the number of machines on the LAN.
autobw Description This small script detects the number of Windows (and Samba) computers on the LAN and adjusts the maximum upload / download bandwidth configured in deluge. The current host is excluded from the count. Requirements A recent version of deluge which includes deluge-console. It also needs smbtree (usually provided by the smbclient package in Debian/Ubuntu/etc.) Usage autobw is meant to be run from a relatively frequent cron job (mine is set for every 5 minutes) and you need to set the variables maxdownspeed, maxupspeed for the 'high' setting and regdownspeed, regupspeed for the 'low' one. Limitations Since it uses smbtree to detect other machines, it means smartphones and tables will not be detected (keep this in mind when determining your high setting) also, the Windows / Samba machine has to be visible on the network.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.