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
| wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add - | |
| sudo sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list" | |
| sudo apt-get -y update | |
| sudo apt-get -t jessie-backports -y install jitsi-meet |
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
| curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | |
| https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| cd ~/.vim | |
| wget https://gist.githubusercontent.com/yzf/514edd69ce392efdf14751f4c10cba20/raw/0876e1db5edecf0b0434561d339996b9ef0a4506/plugins_config.vim | |
| wget https://gist.githubusercontent.com/yzf/8829fc629385b7b8a8bbaf53950ac2db/raw/d6678937f20fede7db30e279f581465495b22b58/plugins.vim | |
| cd ~ | |
| wget https://gist.githubusercontent.com/yzf/bc15e88d8fa87435435fea49fb373fa7/raw/a2e11e25e2cbb12cb3d2b9827deb59ef09bf2b0d/.vimrc |
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
| wget https://dev.mysql.com/get/mysql-apt-config_0.8.9-1_all.deb | |
| sudo dpkg -i mysql-apt-config_0.8.9-1_all.deb | |
| sudo apt-get update | |
| sudo apt-get install mysql-server |
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
| echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list | |
| echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list | |
| apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 | |
| apt-get update | |
| apt-get install oracle-java8-installer |
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
| mkfs.ext4 /dev/sda3 | |
| mkdir /data | |
| reboot now | |
| # mount /dev/sda3 /data | |
| edit: /etc/fstab | |
| /dev/sda3 /data ext4 defaults 1 2 |
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
| server { | |
| listen 80 default_server; | |
| index index.html index.htm index.nginx-debian.html; | |
| location /api { | |
| proxy_pass http://127.0.0.1:8080; | |
| add_header Access-Control-Allow-Origin *; | |
| add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS'; | |
| add_header Access-Control-Allow-Headers 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization'; |
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
| SSH_ENV="$HOME/.ssh/environment" | |
| function start_agent { | |
| echo "Initialising new SSH agent..." | |
| /usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}" | |
| echo succeeded | |
| chmod 600 "${SSH_ENV}" | |
| . "${SSH_ENV}" > /dev/null | |
| /usr/bin/ssh-add; | |
| } |
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
| docker run -e "IP=0.0.0.0" -e CLUSTER_ONLY=true -i -t -p 7000:7000 -p 7001:7001 -p 7002:7002 -p 7003:7003 -p 7004:7004 -p 7005:7005 -p 7006:7006 -p 7007:7007 grokzen/redis-cluster | |
| redis-cli -h localhost -p 7000 |
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
| diff --git a/.gitignore b/.gitignore | |
| index 5c979d9575..02e58ab052 100644 | |
| --- a/.gitignore | |
| +++ b/.gitignore | |
| @@ -67,3 +67,5 @@ | |
| /x86-generic_out/ | |
| /xcodebuild | |
| !webrtc/* | |
| +tags | |
| +out |
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
| gn gen out/Android --args='target_os="android" target_cpu="arm" rtc_use_h264=true ffmpeg_branding="Chrome" proprietary_codecs=true' |