- sudo apt-get install bittornado ctorrent
- mkdir ~/.bttrack
- bttrack --port 6969 --dfile ~/.bttrack/dstate --nat_check 0 --scrape_allowed full
- ctorrent -t -u "http://SERVER_IP:6969/announce" -s filename.torrent fileOrFolder
- ctorrent filename.torrent
| var myClass = function(json){ | |
| var self = this; | |
| self.myMethod = function(){ | |
| console.log("Calling my method") | |
| }; | |
| for(var key in json){ | |
| if(typeof json[key] === "object"){ | |
| self[key] = new myClass(self[key]); |
I hereby claim:
To claim this, I am signing this object: