Skip to content

Instantly share code, notes, and snippets.

View hungryzi's full-sized avatar

Zi Huong Vu hungryzi

  • Vancouver, Canada
View GitHub Profile
@hungryzi
hungryzi / phpunit.rb
Last active December 24, 2015 15:59 — forked from itspriddle/phpunit.rb
require 'formula'
class Phpunit < Formula
homepage 'http://www.phpunit.de/manual/current/en/index.html'
url 'https://phar.phpunit.de/phpunit.phar'
sha1 'dc693b34a62644f61cfc01a22d9654ff4b8764af'
version 'HEAD'
def install
bin.install "phpunit.phar" => "phpunit"
import json
from collections import namedtuple
x = namedtuple('_', ['language', 'country', 'locale'])(
'en',
'en-GV',
'en_US'
)
nt = x._asdict()