Download CMake from: https://cmake.org/download/
wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz
tar zxvf cmake-3.*
wget https://cmake.org/files/v3.12/cmake-3.12.3.tar.gz
tar zxvf cmake-3.*
curl -sS https://get.docker.com/ | sh && wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash |
Run the following in the terminal:
Install the gcc-7 packages:
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-7 -y
Set it up so the symbolic links gcc
, g++
point to the newer version:
cd /System/Library/CoreServices/Spotlight.app/Contents/MacOS | |
sudo cp Spotlight Spotlight.bak | |
sudo perl -pi -e 's|(\x00\x00\x00\x00\x00\x00\x47\x40\x00\x00\x00\x00\x00\x00)\x42\x40(\x00\x00\x80\x3f\x00\x00\x70\x42)|$1\x00\x00$2|sg' Spotlight | |
cmp -l Spotlight Spotlight.bak | |
sudo codesign -f -s - Spotlight | |
sudo killall Spotlight |
Size was measured by recording a static stream at 20
fps over 6
seconds at a resolution of 640 x 360
.
(Codecs are extracted from https://web.archive.org/web/20120722124832/http://opencv.willowgarage.com/wiki/QuickTimeCodecs )
public class Wewe { | |
interface A { | |
int run(int x); | |
} | |
interface B { | |
int run(String x); | |
} | |
private void overloaded(A a) |