Skip to content

Instantly share code, notes, and snippets.

View Anime4000's full-sized avatar

Hitoha Anime4000

View GitHub Profile
@Anime4000
Anime4000 / compile.sh
Created October 12, 2015 00:01
mkbundle Mono 4.0 and Cygwin (32bit mode)
#!/bin/sh
# Run this on Cygwin Terminal
#
# Required:
# 1. gcc-mingw
# 2. pkg-config
# 3. mingw-zlib1
# 4. mingw-zlib-devel
#
@Anime4000
Anime4000 / package.sh
Created September 23, 2015 13:30 — forked from shilrobot/package.sh
Making mkbundle work on Windows
#!/bin/bash
# If this doesn't work, ensure you have UNIX line endings in this file
# (\n, not \r\n.) You can use Notepad++ to switch them.
# Cygwin package requirements: gcc-mingw, pkg-config
# If you want to pass -z to mkbundle: mingw-zlib1, mingw-zlib-devel
# crash immediately if anything bad happens
set -o errexit
set -o nounset
@Anime4000
Anime4000 / htaccess
Last active August 29, 2015 14:08 — forked from dave1010/htaccess
# HTTP Status Cats
# Apache (htaccess) config created by @dave1010
# Licensed CC BY 2.0
# Images CC BY 2.0, from GirlieMac's photostream:
# http://www.flickr.com/photos/girliemac/sets/72157628409467125/with/6508023065/
# Usage: copy save this file as .htaccess or add it to your httpd.conf
ErrorDocument 404 '<a href="http://www.flickr.com/photos/girliemac/6508022985/" title="404 - Not Found by GirlieMac, on Flickr"><img src="http://farm8.staticflickr.com/7172/6508022985_b22200ced0.jpg" width="500" height="400" alt="404 - Not Found"></a>'