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
#! /bin/bash | |
# | |
# Diffusion youtube avec ffmpeg | |
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
VBR="2500k" # Bitrate de la vidéo en sortie | |
FPS="30" # FPS de la vidéo en sortie | |
QUAL="medium" # Preset de qualité FFMPEG | |
YOUTUBE_URL="rtmp://rtmp-api.facebook.com:80/rtmp/" # URL de base RTMP youtube |
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
//Override method onKeyDown | |
@Override | |
public boolean onKeyDown(int keyCode, KeyEvent event) { | |
if ((keyCode == KeyEvent.KEYCODE_BACK)) { | |
//Write Something Here | |
} | |
return super.onKeyDown(keyCode, event); | |
} |
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
apt-get install software-properties-common | |
apt-get install -y gcc-multilib g++-multilib libffi-dev libffi6 libffi6-dbg python-crypto python-mox3 python-pil python-ply libssl-dev zlib1g-dev libbz2-dev libexpat1-dev libbluetooth-dev libgdbm-dev dpkg-dev quilt autotools-dev libreadline-dev libtinfo-dev libncursesw5-dev tk-dev blt-dev libssl-dev zlib1g-dev libbz2-dev libexpat1-dev libbluetooth-dev libsqlite3-dev libgpm2 mime-support netbase net-tools bzip2 | |
wget https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz | |
tar xfz Python-2.7.9.tgz | |
cd Python-2.7.9/ | |
./configure --prefix /usr/local/lib/python2.7.9 --enable-ipv6 | |
make | |
make install | |
sudo add-apt-repository ppa:alessandro-strada/ppa | |
sudo apt-get update |
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
mkdir "Learning Puppet DevOps Deployment (Puppet Professional Cert)" | |
cd "Learning Puppet DevOps Deployment (Puppet Professional Cert)" | |
ls | |
/usr/local/lib/python2.7.9/bin/python -m linuxacademy_dl -u Qhoai -p Caohoai123@ -q 720 https://linuxacademy.com/cp/modules/view/id/34 | |
cd .. | |
mkdir "AWS Certified DevOps Engineer - Professional Level" | |
cd "AWS Certified DevOps Engineer - Professional Level" | |
ls | |
/usr/local/lib/python2.7.9/bin/python -m linuxacademy_dl -u Qhoai -p Caohoai123@ -q 720 https://linuxacademy.com/cp/modules/view/id/35 | |
cd .. |