Skip to content

Instantly share code, notes, and snippets.

View jchiotaka's full-sized avatar

Ioannis Chiotakakos jchiotaka

  • Berlin, Germany
View GitHub Profile
@harperreed
harperreed / DownloadStationAPI.py
Last active September 10, 2024 20:07
example script to sync/download/etc put.io downloads to your synology download station
import time
import requests
import json
class DownloadStationAPI():
def __init__(self, host=None, username=None, password=None):
self.name = 'DownloadStation'
@Grigore147
Grigore147 / request.js
Created January 23, 2013 18:07
HTTP Response pause/resume
var Http = require('http');
var Fs = require('fs');
// some url to big video file
var url = 'url';
var path = 'save_path';
var downloaded = 0;
var percents = 0;
var size = 0;