原文链接:https://gist.github.com/lattner/31ed37682ef1576b16bca1432ea9f782
作者: Chris Lattner
| #!/bin/bash | |
| # Ubuntu 18.04 系统环境 | |
| # 1. 安装并开启 BBR 拥塞控制算法 | |
| # 2. 安装 Docker CE | |
| # 3. 安装 certbot | |
| # 4. 安装 gost | |
| # 5. 配置自动任务 | |
| update_core(){ |
| #!/usr/bin/env perl | |
| # objc_api_visibility.pl | |
| # by Ryan Petrich, inspired by Dustin Howett's Logos | |
| # Reads all Objective-C method names from an installed SDK, determines their visibility and optionally compares against an iOS app binary | |
| sub read_methods { | |
| my $cmd = shift; | |
| my $when_found = shift; | |
| my $current_class; | |
| open(LS_CMD, "$cmd |") or die "Can't run '$cmd'\n$!\n"; |