Skip to content

Instantly share code, notes, and snippets.

View cristiano-belloni's full-sized avatar

Cristiano Belloni cristiano-belloni

View GitHub Profile
var request = require('superagent');
var INTERVAL = 4000;
function rangeRequest (start, end) {
request
.get('// todo your server here')
.set('Range:', 'bytes=' + start + '-' + end)
.set('Accept', '*/*')
.set ('Cache-Control:','no-cache')
/*
* File: main.c
* Author: janesconference
*
* Created on September 13, 2011, 11:09 AM
*/
#include <stdio.h>
#include <stdlib.h>
#include <stropts.h>