This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6
Paragraph
#!/bin/bash --debugger | |
set -e | |
BRANCH="master" | |
if grep -q BCM2708 /proc/cpuinfo; then | |
echo "RPI BUILD!" | |
RPI="1" | |
fi | |
[ -n "$1" ] && BRANCH=$1 |
curl -O https://github.com/resin-io/etcher/releases/download/v1.1.2/Etcher-cli-1.1.2-darwin-x64.tar.gz
tar fvx path/to/cli.tar.gz
mkdir -p /opt/etcher-cli
mv -R Etcher-cli-1.1.2-darwin-x64 /opt/etcher-cli
<?php | |
$dbHost = ''; | |
$dbName = ''; | |
$dbTable = ''; | |
$dbUser = ''; | |
$dbPassword = ''; | |
$fieldSeparator = ','; | |
$lineSeparator = "\n"; | |
$csvFile = 'filename.csv'; |
/*! Ejax Datatables - v0.0.1 - 2016-02-19 | |
* Copyright (c) 2016 charles peterson; Licensed MIT */ | |
(function ($) { | |
/** | |
* debug_ejax = console.log alot of crap | |
* elastic_json = the query for elastic | |
* pkey = key to define the object data structure if y`ant to | |
* serverUrl = elasticsearch server search path | |
* callbackSearch = callback to change the search for your elastic_json based on databases search updates made by the user | |
* callbackRow = callback to modify result row |
(function($){ | |
$.widget("ui.mywidget", { | |
options: { | |
autoOpen: true | |
}, | |
_create: function(){ | |
// by default, consider this thing closed. |