This gist has moved to its own repository HERE
See you there!
This gist has moved to its own repository HERE
See you there!
| Mounting a s3ql file system to the S3 compatible file system at Softlayer on an Ubuntu 16 Xenial VSI | |
| apt install s3ql | |
| nano /etc/s3ql.authinfo | |
| [softlayer-s3] | |
| backend-login: somelogin |
| /**************************\ | |
| Basic Modal Styles | |
| \**************************/ | |
| .modal { | |
| font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif; | |
| } | |
| .modal__overlay { | |
| position: fixed; |
| pertama request ini | |
| https://drive.google.com/file/d/0B8JnOc7tqLE0c1NtWEJpX1hjQmc/view | |
| setelah itu dapat cookies, cookies nya diambil | |
| kemudian request get_video_info (contoh jika pakai command line) | |
| curl 'https://drive.google.com/get_video_info?docid=0B8JnOc7tqLE0c1NtWEJpX1hjQmc' -H 'pragma: no-cache' -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: en-US,en;q=0.8' -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/59.0.3071.109 Chrome/59.0.3071.109 Safari/537.36' -H 'x-chrome-uma-enabled: 1' -H 'accept: */*' -H 'cache-control: no-cache' -H 'authority: drive.google.com' -H 'cookie: __utma=1.1797675748.1499796393.1499796393.1499796393.1; __utmc=1; __utmz=1.1499796393.1.1.utmcsr=yahoo|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); DRIVE_STREAM=NovD19d3PHk; SID=6QS7rZJ-_oUhm1ts140napUTSz5KJc4BRxt-7OTykZPaTQXfMakkvOuWf0yYQhqJqJPpMg.; HSID=ACdTZiTEERjrRQuh7; SSID=AnXRrVoaXVLbUnLK-; APISID=vMog5qWo9B3bFCSb/A_zFC-28oyZlrQi3S; SAPISID=aMhNQ766 |
| #!/bin/bash | |
| LATESTNGINX="1.11.10" | |
| BUILDROOT="/tmp/boring-nginx" | |
| # Pre-req | |
| sudo apt-get update | |
| sudo apt-get upgrade -y | |
| # Install deps |
| #!/bin/sh | |
| # cross & static compile shadowsocks-libev | |
| PCRE_VER=8.41 | |
| PCRE_FILE="http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$PCRE_VER.tar.gz" | |
| MBEDTLS_VER=2.6.0 | |
| MBEDTLS_FILE="https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz" |
| Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options | |
| This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full. | |
| usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}… | |
| Getting help: | |
| -h — print basic options | |
| -h long — print more options | |
| -h full — print all options (including all format and codec specific options, very long) |
| # https://www.scalescale.com/tips/nginx/nginx-proxy-cache-explained-2/ | |
| proxy_cache_path /var/lib/nginx/cache levels=1:2 keys_zone=my_diskcached:10m max_size=5g inactive=45m use_temp_path=off; | |
| server { | |
| listen 80; | |
| set $cache_uri $uri; | |
| server_name example.com; | |
| location ~ /purge(/.*) { | |
| proxy_cache_purge my_diskcached acme.mycachedefault$uri$is_args$args; |
These are my notes for connecting to a meraki client vpn from ubuntu 16.04. This configuration assumes you are using a psk for the ipsec auth.
Install the following packages:
apt-get install -y strongswan xl2tpd
Configure strong swan