This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
version: '2' | |
services: | |
wekandb: | |
#------------------------------------------------------------------------------------- | |
# ==== MONGODB FROM DOCKER HUB ==== | |
image: mongo:6 | |
#------------------------------------------------------------------------------------- | |
container_name: wekan-db | |
restart: always | |
# command: mongod --oplogSize 128 |
; Easy Window Dragging -- KDE style (requires XP/2k/NT) -- by Jonny | |
; http://www.autohotkey.com | |
; This script makes it much easier to move or resize a window: 1) Hold down | |
; the ALT key and LEFT-click anywhere inside a window to drag it to a new | |
; location; 2) Hold down ALT and RIGHT-click-drag anywhere inside a window | |
; to easily resize it; 3) Press ALT twice, but before releasing it the second | |
; time, left-click to minimize the window under the mouse cursor, right-click | |
; to maximize it, or middle-click to close it. | |
; This script was inspired by and built on many like it |
#!/usr/bin/env bash | |
### Bash Environment Setup | |
# http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html | |
# set -o xtrace | |
set -o errexit | |
set -o errtrace | |
set -o nounset | |
set -o pipefail |
#!/bin/sh | |
EMAILTO="[email protected]" | |
THRESHOLD=90 # if above $THRESHOLD is used -> send email notification to $EMAILTO | |
DFALL=$(df -h) | |
df -H | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output; | |
do | |
echo $output | |
used=$(echo $output | awk '{ print $1}' | cut -d'%' -f1 ) | |
partition=$(echo $output | awk '{ print $2 }' ) |
DevOps started out as "Agile Systems Administration". In 2008, Andrew Shafer did a talk called "Agile Infrastucture" addressing issues around involving more of the company in the same disciplines as programmers.
In 2009, Patrick Debois created "DevOpsDays" conference to help to bring it to light. However, it wouldn't begin to trend until about 2010, when people would begin to describe it as a standalone discipline.
Today, DevOps goes beyond just developers, systems administration and infrastructure, its about [dev, ops, agile, cloud
#!/bin/bash | |
####################################################################### | |
# This is a helper script that keeps snapraid parity info in sync with | |
# your data and optionally verifies the parity info. Here's how it works: | |
# 1) Checks for size 0 .nfo files (plex) | |
# 2) Calls diff to figure out if the parity info is out of sync. | |
# 3) If parity info is out of sync, AND the number of deleted or changed files exceed | |
# X (each configurable), it triggers an alert email and stops. (In case of | |
# accidental deletions, you have the opportunity to recover them from |
// ==UserScript== | |
// @name Goodbye new FB ads | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Remove facebook ads | |
// @author Maurizio Carboni | |
// @match https://www.facebook.com/* | |
// @grant none | |
// ==/UserScript== |