This file contains 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://ubuntu.kurento.org trusty-dev kms6" | sudo tee /etc/apt/sources.list.d/kurento-dev.list | |
wget -O - http://ubuntu.kurento.org/kurento.gpg.key | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install kurento-media-server-6.0-dev | |
sudo service kurento-media-server-6.0 start |
This file contains 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 | |
expected_args=2 | |
if [ $# -lt $expected_args ] | |
then | |
echo "Usage: kurento-module-scaffold <ModuleName> <output_directory> [opencv_filter]" | |
exit | |
fi |
This file contains 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
sudo apt-get update | |
sudo apt-get install -y apt-transport-https ca-certificates | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list | |
sudo apt-get update | |
sudo apt-get purge lxc-docker | |
apt-cache policy docker-engine | |
sudo apt-get install -y linux-image-extra-$(uname -r) | |
sudo apt-get install -y apparmor | |
sudo apt-get install -y docker-engine |
This file contains 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 -d -p 5000:5000 registry | |
docker images | |
docker tag 41b730702607 linuxconfig.docker.local:5000/debian:8 | |
docker push linuxconfig.docker.local:5000/debian:8 | |
docker search linuxconfig.docker.local:5000/debian |
This file contains 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
Referenced from: | |
https://docs.docker.com/registry/insecure/ | |
https://linuxconfig.org/how-to-run-your-own-local-private-docker-registry | |
Deploying a plain HTTP registry | |
This basically tells Docker to entirely disregard security for your registry. While this is relatively easy to configure the daemon in this way, it is very insecure. It does expose your registry to trivial MITM. Only use this solution for isolated testing or in a tightly controlled, air-gapped environment. | |
Open the /etc/default/docker file or /etc/sysconfig/docker for editing. | |
Depending on your operating system, your Engine daemon start options. |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
sudo apt-get install -y nodejs | |
sudo apt-get install -y npm | |
sudo ln -s /usr/bin/nodejs /usr/bin/node | |
node -v | |
npm -v | |
This file contains 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
export GIST_INSTALL_DOCKER=https://gist.githubusercontent.com/touren/8e1f47311e973cc62b02ebe1238279a1/raw/4a8a84cd79de66f6301645251c667f0b1bbedacc/install_docker.sh | |
sudo curl $GIST_INSTALL_DOCKER | sh | |
sudo docker pull taorengzlinkdom/kurento_one2many_call | |
sudo docker pull taorengzlinkdom/kms:6.5 | |
sudo docker run -d -p 8888:8888 --name kms taorengzlinkdom/kms:6.5 | |
sudo docker run -d -p 8443:8443 --link kms:kms --name one2many taorengzlinkdom/kurento_one2many_call |
This file contains 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
export FOO_A="This's A" | |
echo $FOO_A | |
echo $FOO_B | |
echo done | |
This file contains 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
http://opencv.org/platforms/android.html | |
download and install java 8 | |
download ecllipse IDE neon | |
install android SDK: NDK, Android API, ... | |
http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/ | |
# install c/c++ support in ecllipse. | |
http://docs.opencv.org/2.4/doc/tutorials/introduction/android_binary_package/O4A_SDK.html | |
download OpenCV4Android SDK |
OlderNewer