This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
<VirtualHost *:80> | |
ProxyPreserveHost On | |
ProxyRequests Off | |
ServerName <<<SITE NAME>>>.com | |
ProxyPass / http://0.0.0.0:8080/ # Server IP + the exposed port of docker container | |
ProxyPassReverse / http://0.0.0.0:8080/ # Server IP + the exposed port of docker container | |
</VirtualHost> |
The CATALINA_BASE cant't be read / The <CATALINA_HOME>/conf/server.xml can't be read
$ sudo chown -R USERNAME /var/lib/tomcat8
$ sudo chown -R USERNAME /usr/share/tomcat8
$ sudo chown -R USERNAME /etc/tomcat8
$ sudo chown -R USERNAME /var/log/tomcat8
/*! | |
* | |
* NEW VERSION AT https://github.com/c-kick/mobileConsole | |
* | |
* hnl.mobileConsole - javascript mobile console - v1.3.8 - 04/01/2021 | |
* Adds html console to webpage. Especially useful for debugging JS on mobile devices. | |
* Supports 'log', 'trace', 'info', 'warn', 'error', 'group', 'groupEnd', 'table', 'assert', 'clear' | |
* Inspired by code by Jakub Fiala (https://gist.github.com/jakubfiala/8fe3461ab6508f46003d) | |
* Licensed under the MIT license | |
* |
<?php | |
class Brainfuck | |
{ | |
public $ref; | |
function &__get($x) { | |
$this->ref = new class($this->ref) { | |
private $p; |
image: node:latest | |
cache: | |
paths: | |
- node_modules/ | |
before_script: | |
- npm install | |
stages: |
# install openjdk | |
sudo apt-get install openjdk-7-jdk | |
# download android sdk | |
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
tar -xvf android-sdk_r24.2-linux.tgz | |
cd android-sdk-linux/tools | |
# install all sdk packages |
# Use https (public access) instead of git for git-submodules. This modifies only Travis-CI behavior! | |
# disable the default submodule logic | |
git: | |
submodules: false | |
# use sed to replace the SSH URL with the public URL, then init and update submodules | |
before_install: | |
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules | |
- git submodule update --init --recursive |