To run this, you can try:
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
| upstream upstream-apache2 { | |
| server 127.0.0.1:8080; | |
| } | |
| upstream upstream-nodejs { | |
| server 127.0.0.1:3000; | |
| } | |
| server { | |
| listen 80; |
| git config --global url."https://github.com/".insteadOf git@github.com: | |
| git config --global url."https://".insteadOf git:// |
| # 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 |
| # serverless.yml | |
| service: | |
| name: beekeeper-serverless | |
| frameworkVersion: 1.23.0 | |
| plugins: | |
| - serverless-plugin-split-stacks | |
| - serverless-plugin-custom-roles |
To run this, you can try:
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh