1- Locate nginx.conf on your server, which almost on this path
/etc/nginx/nginx.conf
2- Add this code under the http block
fastcgi_buffering off;
Refrence: microsoft/WSL#2100 (comment)
1- Locate nginx.conf on your server, which almost on this path
/etc/nginx/nginx.conf
2- Add this code under the http block
fastcgi_buffering off;
Refrence: microsoft/WSL#2100 (comment)
#! /usr/bin/env python | |
import sys, requests | |
# Usage: Pass URL to script, get back URL to Wayback Machine snapshot | |
base_url = 'http://web.archive.org' | |
r = requests.get(base_url + '/save/' + sys.argv[1]) | |
if r.status_code == requests.codes.ok: |
<?php | |
// https://gist.github.com/magnetikonline/650e30e485c0f91f2f40 | |
class DumpHTTPRequestToFile { | |
public function execute($targetFile) { | |
$data = sprintf( | |
"%s %s %s\n\nHTTP headers:\n", | |
$_SERVER['REQUEST_METHOD'], | |
$_SERVER['REQUEST_URI'], | |
$_SERVER['SERVER_PROTOCOL'] |
This is a tutorial show how to version your saves using Git.
Q: Why would anyone go through this process?
A: Because if you do, you can undo an otherwise un-undoable action, such as swimming in a pit of lava and accidentally dropping your Notch armpit forged special edition diamond pickaxe and your 35 stacks of cobblestone.