Skip to content

Instantly share code, notes, and snippets.

View faforty's full-sized avatar
🎯
Focusing

Vladislav Kaufman faforty

🎯
Focusing
  • Accessible World Inc.
  • USA
View GitHub Profile
@thoop
thoop / nginx.conf
Last active December 8, 2023 21:55
Official prerender.io nginx.conf for nginx
# Change YOUR_TOKEN to your prerender token
# Change example.com (server_name) to your website url
# Change /path/to/your/root to the correct value
server {
listen 80;
server_name example.com;
root /path/to/your/root;
index index.html;
@x1unix
x1unix / grab.php
Created December 9, 2016 10:58
Moonwalk Grabber
<?php
function grabPOST($url, $postDATA, $iOS = true) {
$ch = curl_init();
$ua = 'Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25';
if ($iOS!==false) curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
@WendyH
WendyH / GetLink_Moonwalk.cpp
Last active October 5, 2019 07:33
HomeMediaServer podcast C++Script and PascalScript functions for getting the MediaResourceLink from moonwalk server

Video CDN

Jin Zhu (jinz3@andrew.cmu.edu), Zhongyi Tong (ztong@andrew.cmu.edu)

Overview

This project consists of two systems:

  • Video Client Proxy, which requests video chunks and provides bitrate adaption for video streaming;
  • Name Server, which enables loading balancing of video server's CDNs.