I hereby claim:
- I am xdissent on github.
- I am xdissent (https://keybase.io/xdissent) on keybase.
- I have a public key ASCgQUIr6Puf0Zfaj0HP4c2XTgbeNQXOWoNdROZAVQtmYAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
brew update | |
brew install wxmac | |
curl -L http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/local-lib-2.000015.tar.gz | tar -zxC ~/src | |
cd ~/src/local-lib-2.000015 | |
perl Makefile.PL --bootstrap | |
make install | |
echo 'source (perl -I$HOME/perl5/lib/perl5 -Mlocal::lib | psub)' >> ~/.config/fish/config.fish | |
source ~/.config/fish/config.fish | |
cpan App::cpanminus | |
cpanm --configure-args="--wxWidgets-build=0" Alien::wxWidgets |
ok = (ok) -> console.log if ok then 'ok' else 'FAIL' | |
FnError = (message) -> | |
@name = 'FnError' | |
@message = message | |
@stack = (new Error).stack | |
FnError:: = new Error |
#! /usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
#--------------------------------------------------------------------- | |
# | |
# Copyright © 2011 Canonical Ltd. | |
# | |
# Author: James Hunt <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License version 2, as |
class AngularCtrl | |
# The namespace to use for module name generation | |
@ns: 'ns.controllers' | |
# Module name for the exported Angular module, or autogenerated if `null` | |
@module: null | |
# An array of module names required by the controller | |
@require: [] |
test("filtered property on hasMany assoctiation", function() { | |
var File = DS.Model.extend({ | |
primaryKey: 'name', | |
name: DS.attr('string'), | |
status: DS.attr('string') | |
}); | |
var Project = DS.Model.extend({ | |
primaryKey: 'name', |
diff -r atari/collectd/definitions/collectd_plugin.rb cookbooks/collectd/definitions/collectd_plugin.rb | |
25c25 | |
< if params[:template].blank? | |
--- | |
> if params[:template].nil? || params[:template].empty? | |
diff -r atari/collectd/metadata.rb cookbooks/collectd/metadata.rb | |
7c7,12 | |
< supports "ubuntu" | |
--- | |
> |
#!/bin/sh | |
# Add this hook to /usr/share/git-core/templates/hooks to enable for all new repositories. | |
REPO_URL=`echo $PWD | sed 's:/hooks$::'` /usr/share/redmine/script/runner /usr/share/redmine/extra/update_repository.rb -e production > /dev/null 2>&1 & |
$('h1, h2').html(function(i, h) { | |
return h.replace(/\?/g, '<span class="question-mark">?</span>'); | |
}); |
class OnDestroyMiddleware | |
def initialize(app, env) | |
@app = app | |
end | |
def call(env) | |
`knife client show #{env["config"].chef.node_name}` | |
if $?.to_i == 0 | |
env.ui.info "Removing client #{env["config"].chef.node_name}" | |
`knife client delete #{env["config"].chef.node_name} -y` |