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
upstream upstream-apache2 { | |
server 127.0.0.1:8080; | |
} | |
upstream upstream-nodejs { | |
server 127.0.0.1:3000; | |
} | |
server { | |
listen 80; |
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
server { | |
if ($host = barcode.meetrix.io) { | |
return 301 https://$host$request_uri; | |
} # managed by Certbot | |
listen 80; | |
server_name barcode.meetrix.io; | |
return 301 https://$host$request_uri; |
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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
mac os commands: | |
printenv | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
Docker Commands: | |
=============================== | |
login container | |
sudo docker exec -i -t 7fbb78213417 /bin/bash | |
=============================== | |
stop all container |
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
git config --global url."https://github.com/".insteadOf git@github.com: | |
git config --global url."https://".insteadOf git:// |
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
config/index.js change default url | |
make alise nginx | |
# Backward compatibility | |
location ~ /external_api.* { | |
root /opt/jitsi-meet/libs; | |
} | |
copy /opt/jitsi-meet/libs/extenal_api.min.js /opt/jitsi-meet/libs/extenal_api.js |
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
fix dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 9) | |
https://github.com/sipwise/rtpengine/issues/421 |
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
====================== | |
build xcode project | |
cd IXCSoftswitch | |
mkdir build | |
cd build | |
cmake -G Xcode .. | |
====================== |
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
mvn -U package -DskipTests -Dassembly.skipAssembly=false | |
./jicofo.sh --host=localhost --domain=czmeet.meetrix.io --secret=@4wt1rUl --user_domain=auth.czmeet.meetrix.io --user_name=focus --user_password=1234 |
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
# Dependencies to make "headless" chrome/selenium work: | |
sudo apt-get -y install xvfb gtk2-engines-pixbuf | |
sudo apt-get -y install xfonts-cyrillic xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable | |
echo "Starting X virtual framebuffer (Xvfb) in background..." | |
Xvfb -ac :99 -screen 0 1280x1024x16 & | |
export DISPLAY=:99 |
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
# serverless.yml | |
service: | |
name: beekeeper-serverless | |
frameworkVersion: 1.23.0 | |
plugins: | |
- serverless-plugin-split-stacks | |
- serverless-plugin-custom-roles |
NewerOlder