Skip to content

Instantly share code, notes, and snippets.

View chateaux's full-sized avatar

BASH chateaux

View GitHub Profile
#Work in progress
version: '3'
services:
mysql:
image: mariadb
volumes:
- ./data/mysql:/var/lib/mysql #Store mysql files in the docker/data/mysql directory
- ../application/docker/dump.sql:/docker-entrypoint-initdb.d/dump.sql
environment:
MYSQL_ROOT_PASSWORD: scrrratch_local
@chateaux
chateaux / gist:a6a813d6e3fbbdf356e6fed6c2b8a928
Created November 15, 2017 12:15
GamblingTec footer link code
<a href="https://www.curacaowebhosting.com" title="Casino hosting">Casino hosting</a> by CuracaoWebhosting.com and <a href="https://www.gamblingtec.com" title="Gambling Software">Gambling Software</a> by GamblingTec.com
<div class="container">
<div class="featurette" id="contact">
<h2 class="featurette-heading">Referrer
<span class="text-muted">data</span>
</h2>
<p class="lead">
As a marketer you will need to learn how to send data to our games, the following cookie data is associated to your account:
</p>
@chateaux
chateaux / index.php
Created January 21, 2016 07:25
Lottery Prediction Script - average number from group selection
//Text file with numbers on each line
$lines = file('location/of/text/file.txt');
$i = 1;
$n = 1;
foreach ($lines as $line_num => $line) {
$array[$n][] = explode(' ',$line);