Skip to content

Instantly share code, notes, and snippets.

View kjdev's full-sized avatar

kjdev

  • Japan
  • 03:10 (UTC +09:00)
View GitHub Profile
@kjdev
kjdev / git-task
Last active December 23, 2015 11:59
Simple git task command
#!/usr/bin/env bash
set -e
VERSION="0.0.1"
TASKFILE=".task"
_git="/usr/bin/git"
_grep="/usr/bin/grep"
_sed="/usr/bin/sed"
@kjdev
kjdev / Dockerfile
Created July 25, 2016 00:53
apache-mod-brotli
FROM fedora:24
MAINTAINER kjdev <kjclev@gmail.com>
RUN dnf -y --setopt=deltarpm=false update \
&& dnf -y --setopt=deltarpm=false install mod_ssl httpd-devel gcc-c++ make automake autoconf libtool file \
&& dnf clean all \
&& rm -f /etc/httpd/conf.d/{welcome.conf,userdir.conf} \
&& rm -f /etc/httpd/conf.modules.d/{00-dav.conf,00-lua.conf,00-proxy.conf,01-cgi.conf} \
&& sed -i 's|#ServerName www.example.com:80|ServerName localhost:80|g' /etc/httpd/conf/httpd.conf \
&& sed -i 's|ErrorLog ".*"|ErrorLog /dev/stdout|g' /etc/httpd/conf/httpd.conf \