git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
image: node:6.9.4 | |
pipelines: | |
branches: | |
master: | |
- step: | |
script: | |
- apt-get update; apt-get install -y gettext-base; | |
- echo 'deb http://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/chrome.list | |
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - | |
- set -x && apt-get update && apt-get install -y xvfb google-chrome-stable |
/* ======================================================================== | |
* Bash.js :p | |
* ======================================================================== */ | |
var bjs = { | |
MOBILE_BROWSER_REGEX: /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i, | |
EMAIL_REGEX: /\S+@\S+\.\S+/, | |
SEPARATOR_REGEX: / |,/, | |
AUTOCOMPLETE: ['./signup', 'cat', 'cat README', 'cat signup', 'help', 'clear', 'pwd', 'rm', 'rm README', 'rm signup'], |
$ sudo sysctl net.bridge.bridge-nf-call-iptables=1 | |
$ sudo sysctl net.bridge.bridge-nf-call-ip6tables=1 |
<?php | |
class DbConnector { | |
private $_connection; | |
private static $_instance; | |
private $_host = "host"; | |
private $_username = "username"; | |
private $_password = "password"; | |
private $_database = "dbname"; | |
private $_dbport = 3306; | |
For the latest download link check the Apache Maven download page:
https://maven.apache.org/download.cgi
Download Apache Maven
sudo mkdir /opt/src/maven-bin
cd /opt/src/maven-bin && sudo wget "http://www-us.apache.org/dist/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz"
Create directory and install
###### development tools | |
sudo apt-get install build-essential python-dev git nodejs-legacy npm gnome-tweak-tool openjdk-8-jdk | |
### Python packages | |
sudo apt-get install python-pip python-virtualenv python-numpy python-matplotlib | |
### pip packages | |
pip install django flask django-widget-tweaks django-ckeditor beautifulsoup4 requests classifier SymPy ipython |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
# Pull base image. The official docker openjdk-8 image is used here. | |
FROM java:8-jdk | |
# Copy HiveMQ to container | |
COPY hivemq.zip /tmp/ | |
#Install wget and unzip, then download and install HiveMQ. | |
RUN \ | |
apt-get install -y wget unzip &&\ | |
unzip /tmp/hivemq.zip -d /opt/ &&\ |
// Requires JQuery 3+ | |
var quotes = [ | |
" for a better world", | |
" for food", | |
" for fun", | |
" for the communinity", | |
" to empower people", | |
" to keep my job", | |
" to keep out of trouble", | |
" to get shit done", |