Let's say you want to host domains first.com
and second.com
.
Create folders for their files:
import java.io.FileDescriptor; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.io.PrintStream; | |
public class HelloWorld{ | |
private static HelloWorld instance; | |
public static void main(String[] args){ | |
instantiateHelloWorldMainClassAndRun(); |
{ | |
"phpcs_additional_args": { | |
"--standard": "PSR2", | |
"--exclude": "Generic.Files.LineEndings", | |
"-n": "" | |
}, | |
// PHP_CodeSniffer settings | |
"phpcs_command_on_save": false, | |
"phpcs_executable_path": "/usr/bin/phpcs", |
FROM ubuntu:trusty | |
ENV HOME /root | |
ENV LC_ALL C.UTF-8 | |
ENV LANG en_US.UTF-8 | |
ENV LANGUAGE en_US.UTF-8 | |
RUN add-apt-repository ppa:ondrej/php && \ | |
apt-get update |
ps -ef | grep sidekiq | grep busy | grep -v grep | awk '{print $2}' > tmp/sidekiq.pid
cat tmp/sidekiq.pid
bundle exec sidekiqctl stop tmp/sidekiq.pid