Skip to content

Instantly share code, notes, and snippets.

View mtgrosser's full-sized avatar

Matthias Grosser mtgrosser

View GitHub Profile
@telent
telent / gist:704274
Created November 17, 2010 22:46
Some random notes on Mirah, mostly culled from the mailing list

Stuff in Ruby that is/isn't supported, or is different

=begin / =end

Rib Rdb writes: "The new parser doesn't support this". Use single line comments instead

The object model

The ruby object model is not the same as the java object model. The

@bradmontgomery
bradmontgomery / install-comodo-ssl-cert-for-nginx.rst
Last active June 10, 2024 15:37
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

@werty1st
werty1st / ufw gufw on fedora
Created September 15, 2013 14:49
ufw gufw on fedora
Sourcen laden:
https://launchpad.net/ufw
https://launchpad.net/gui-ufw
Abhänigkeiten:
sudo yum -y install python-netifaces python-distutils-extra intltool
//mehr waren es bei mir nicht
Installieren:
[ronny@zenbookprime ufw-0.33]$ sudo python setup.py install
@MichaelSnowden
MichaelSnowden / Sound.swift
Created September 21, 2014 07:08
Just a drop-in class for playing short sound clips in Swift
class Sound {
var audioEffect : SystemSoundID = 0
init(name : String, type: String) {
let path = NSBundle.mainBundle().pathForResource(name, ofType: type)!
let pathURL = NSURL(fileURLWithPath: path)
AudioServicesCreateSystemSoundID(pathURL as CFURLRef, &audioEffect)
}
func play() {
@fevangelou
fevangelou / install_sis_graphics_on_linux.sh
Last active June 20, 2024 22:58
Bash script to install SiS Mirage 3+ graphics drivers on Linux
#!/bin/bash
# Bash script to install SiS Mirage 3+ graphics drivers on Linux
# Supports 671/672MX graphics cards
#
# Created in March 2019
#
# Tested on:
# - Lubuntu 18.04 (32-bit) with X.Org v1.19
# - Xubuntu 18.04 (64-bit) with X.Org v1.20