This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ss-auto="networksetup -setsocksfirewallproxystate Wi-Fi off && networksetup -setautoproxystate Wi-Fi off && networksetup -setautoproxyurl Wi-Fi http://127.0.0.1:8080/proxy.pac && networksetup -setautoproxystate Wi-Fi on" | |
alias ss-global="networksetup -setsocksfirewallproxystate Wi-Fi off && networksetup -setautoproxystate Wi-Fi off && networksetup -setsocksfirewallproxy Wi-Fi 127.0.0.1 1086 && networksetup -setproxybypassdomains Wi-Fi 127.0.0.1 localhost 192.168.0.0/16 10.0.0.0/8 FE80::/64 ::1 FD00::/8 && networksetup -setsocksfirewallproxystate Wi-Fi on" | |
alias ss-off="networksetup -setsocksfirewallproxystate Wi-Fi off && networksetup -setautoproxystate Wi-Fi off" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.14) | |
PROJECT(m) | |
SET(CMAKE_CXX_STANDARD 11) | |
FIND_PATH(AVCODEC_INCLUDE_DIR libavcodec/avcodec.h) | |
FIND_LIBRARY(AVCODEC_LIBRARY avcodec) | |
FIND_PATH(AVFORMAT_INCLUDE_DIR libavformat/avformat.h) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:stretch-slim | |
ENV NGINX_VERSION 1.14.2 | |
ENV PHP_VERSION 7.2.16 | |
ENV PHP_CFLAGS="-fstack-protector-strong -fpic -fpie -O2" | |
ENV PHP_CPPFLAGS="$PHP_CFLAGS" | |
ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie" | |
RUN set -eux; \ |