Skip to content

Instantly share code, notes, and snippets.

View mrcljx's full-sized avatar

Marcel Jackwerth mrcljx

View GitHub Profile
@mrcljx
mrcljx / n2dissite.sh
Created May 21, 2012 19:17 — forked from hlfbt/n2dissite.sh
Nginx-to-ensite and Nginx-to-dissite - Two simple scripts that enable and disable Nginxs virtualhost VHOST. Adapt VHOSTEN and VHOSTAV accordingly, place in /usr/sbin and enjoy.
#!/bin/bash
# Author: Alexander Schulz
VHOSTEN="/etc/nginx/sites-enabled/"
if [[ $1 == "-h" ]] || [[ $1 == "--help" ]]
then
echo 'Usage: n2dissite VHOST'
echo 'Disables Nginxs virtualhost VHOST.'
@mrcljx
mrcljx / mono.rb
Last active December 21, 2015 14:09 — forked from shtirlic/mono.rb
# http://www.mono-project.com/Compiling_Mono_on_OSX
require 'formula'
class Mono < Formula
url 'http://download.mono-project.com/sources/mono/mono-3.2.1.tar.bz2'
sha1 '7f4f31e03903719e370e7ee94ded376b96bdf6d9'
homepage 'http://www.mono-project.com/'