export COLOR_NC='\e[0m'
export COLOR_BLUE='\e[0;34m'
export COLOR_GREEN='\e[0;32m'
export COLOR_CYAN='\e[0;36m'
export COLOR_RED='\e[0;31m'
export COLOR_BROWN='\e[0;33m'
export COLOR_YELLOW='\e[1;33m'
export PROMPT_COMMAND='[ $? -eq 0 ] || printf "${COLOR_CYAN}(${COLOR_GREEN}╯${COLOR_NC}${COLOR_BLUE}°${COLOR_CYAN}□${COLOR_BLUE}°${COLOR_CYAN})${COLOR_GREEN}╯${COLOR_RED}︵ ${COLOR_BROWN}┻━┻${COLOR_NC}\n"'
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
| yum install -y epel-release | |
| yum --enablerepo=epel install -y p7zip | |
| yum --enablerepo=epel install -y supervisor |
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 --spider -r -nd -nv http://0.0.0.0:4000/ 2>&1 | tee urlcheck.log | |
| egrep --color=auto -A5000 'Found [0-9]+ broken links.' urlcheck.log |
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
| var ApiBuilder = require('claudia-api-builder'), | |
| api = module.exports = new ApiBuilder(), | |
| renderPage = function (body) { | |
| 'use strict'; | |
| return body; | |
| }; | |
| const authUser = 'user', | |
| authPass = 'pass', |
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 | |
| gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 | |
| curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \ | |
| && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \ | |
| && gpg --verify /usr/local/bin/gosu.asc \ | |
| && rm /usr/local/bin/gosu.asc \ | |
| && chmod +x /usr/local/bin/gosu |