I hereby claim:
- I am gorillamoe on github.
- I am gorillamoe (https://keybase.io/gorillamoe) on keybase.
- I have a public key ASDZnME_BBgBuVT9MKkdVD9cwrl9mBxScqzpiizmD09C6wo
To claim this, I am signing this object:
| # Advanced config for NGINX | |
| server_tokens off; | |
| add_header X-XSS-Protection "1; mode=block"; | |
| add_header X-Content-Type-Options nosniff; | |
| # Redirect all HTTP traffic to HTTPS | |
| server { | |
| listen 80; | |
| server_name www.domain.com domain.com; | |
| return 301 https://$host$request_uri; |
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script src="./ready.js"></script> | |
| <script> | |
| document.ready.then(function() { | |
| console.log('READY!'); | |
| }); | |
| </script> |
ffmpeg -i "http://host/folder/file.m3u8" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 file.mp4-bsf:a aac_adtstoasc
aac_adtstoasc bsf for a audio streams, this is need if .m3u8 file consists with .ts files and output is .mp4| if ($args !~ origin) { | |
| add_header 'access-control-allow-origin' '*'; | |
| } | |
| if ($args ~ origin) { | |
| add_header 'access-control-allow-origin' $http_origin; | |
| } |
This is a step-by-step guide on how to enable auto-signing Git commits with GPG for every applications that don't support it natively (eg. GitHub Desktop, Eclipse, Git Tower, ...)
| #!/usr/bin/env bash | |
| sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 |