Skip to content

Instantly share code, notes, and snippets.

View k2052's full-sized avatar
🦄
awesome

K k2052

🦄
awesome
View GitHub Profile
@dwabnitz
dwabnitz / customdomain.rb
Created October 22, 2009 19:18 — forked from speedmax/customdomain.rb
rack middleware to resolve a custom domain to an original subdomain in a multi-tenant application
require 'net/dns/resolver'
# Custom Domain
#
# Require net-dns gem
#
# A Rack middleware to to resolve the custom domain to original subdomain
# for your multi telent application.
#
# It's all transperant to your application, it performs cname lookup and
@quad
quad / multi-browser.vala
Created May 26, 2009 15:35
Minimal WebKit browser examples in Vala
using GLib;
using Gtk;
using WebKit;
public class Browser : Window {
private const string URL = "http://mixtape.quadhome.com/6/";
private Notebook notebook;
public Browser() {