Skip to content

Instantly share code, notes, and snippets.

@sadeqn
sadeqn / keybase.md
Created June 20, 2017 20:23
keybase.io verification

Keybase proof

I hereby claim:

  • I am sadeqn on github.
  • I am sadeqn (https://keybase.io/sadeqn) on keybase.
  • I have a public key whose fingerprint is ADA9 618A 9BE9 B75B 24BE A59A 9353 FAF8 F309 EDDB

To claim this, I am signing this object:

@sadeqn
sadeqn / dl.php
Created August 1, 2013 13:11 — forked from fzerorubigd/dl.php
<?php
date_default_timezone_set('GMT');
//1- file we want to serve :
$data_file = "/home/f0rud/Aalto Talk with Linus Torvalds [Full-length].mp4";
$data_size = filesize($data_file); //Size is not zero base
$mime = 'application/otect-stream'; //Mime type of file. to begin download its better to use this.
$filename = basename($data_file); //Name of file, no path included