Skip to content

Instantly share code, notes, and snippets.

@btfak
btfak / useHexo.md
Created May 26, 2016 09:41
How to use Hexo and deploy to GitHub Pages
@johndatserakis
johndatserakis / install-imagick-docker-php-7-1-alpine.md
Last active December 7, 2023 12:01
Install imagick In Docker FROM php:7.1-fpm-alpine

docker-library/php#105

RUN set -ex \
    && apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS imagemagick-dev libtool \
    && export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" \
    && pecl install imagick-3.4.3 \
    && docker-php-ext-enable imagick \
    && apk add --no-cache --virtual .imagick-runtime-deps imagemagick \
 && apk del .phpize-deps
@xemoe
xemoe / mariadb_all.list
Created November 13, 2015 22:18
Mariadb mirror list
#
# Mariadb mirror list
# Generate since: 2015-11-14 05:17:40
deb [arch=amd64,i386] http://mirrors.bestthaihost.com/mariadb/repo/10.1/ubuntu trusty main
deb-src http://mirrors.bestthaihost.com/mariadb/repo/10.1/ubuntu trusty main
deb [arch=amd64,i386] http://mirrors.opencas.cn/mariadb/repo/10.1/ubuntu trusty main
deb-src http://mirrors.opencas.cn/mariadb/repo/10.1/ubuntu trusty main
# Source: https://gist.github.com/d2f36b05bf959e5fc91497ea3f0dceb3
#######################################################
# Free Docker Desktop Alternative For Mac And Windows #
# https://youtu.be/LGNEG-t96eE #
#######################################################
# Referenced videos:
# - How to run local multi-node Kubernetes clusters using kind: https://youtu.be/C0v5gJSWuSo
# - K3d - How to run Kubernetes cluster locally using Rancher k3s: https://youtu.be/mCesuGk-Fks
#!/bin/bash
################################
# OS X Install ISO Creater #
# #
# Author: shela #
################################
#######################################
# Declarations
@geedelur
geedelur / ubuntu12server_mate.textile
Created July 30, 2012 16:18
Ubuntu Server 12.04 + MATE + LightDM