Skip to content

Instantly share code, notes, and snippets.

View mastergenius's full-sized avatar

Evgeny Shcherbinin mastergenius

View GitHub Profile
@mastergenius
mastergenius / innobackupex
Created August 14, 2016 20:06 — forked from valkum/innobackupex
Use innobackupex with backupninja. Place under /usr/share/backupninja/innobackupex
# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
# vim: set filetype=sh sw=3 sts=3 expandtab autoindent:
#
# duplicity script for backupninja
# requires duplicity >= 0.4.4, and >= 0.4.9 when using a custom tmpdir.
#
######################################
# backupdir: Where to backup to

Description

This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.

The script is here:

#!/bin/bash
convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2

Results

#!/bin/bash
#
# template script for generating CentOS container for LXC
#
#
# lxc: linux Container library
# Authors:
@mastergenius
mastergenius / lxc-centos
Last active December 25, 2015 02:09 — forked from hagix9/lxc-centos
#!/bin/bash
#
# template script for generating CentOS container for LXC
#
#
# lxc: linux Container library
# Authors:
#!/bin/bash
#
# template script for generating CentOS container for LXC
#
#
# lxc: linux Container library
# Authors:

Awesome PHP

A list of amazingly awesome PHP libraries, resources and shiny things.

Composer

Composer Related