This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➔ brew doctor | |
Your system is raring to brew. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/ruby | |
require 'readline' | |
def command?(command) | |
system("which #{ command} > /dev/null 2>&1") | |
end | |
def library?(lib) | |
system("ghc-pkg list | grep #{lib} > /dev/null 2>&1") | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Holland's got talent voor nieuwsfotografen door NVF en ANP | |
AMSTERDAM - Jonge fotojournalisten krijgen volgend jaar de kans om mee te | |
draaien in een talentenpool bij ANP Foto. Door de wol geverfde nieuwsfotografen | |
nemen de talenten onder hun hoede. De Nederlandse Vereniging van | |
Fotojournalisten (NVF) en ANP Foto schrijven een wedstrijd uit, op zoek naar | |
twee kandidaten met de juiste journalistieke blik. | |
De NVF wil jongeren blijven interesseren voor de fotojournalistiek. "Het is | |
belangrijk dat het vak vitaal blijft", zegt voorzitter Rimmer Mulder. "Nieuwe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
undefined property or relationship '<<' on Category | |
Same happens when doing rekenserviceinstance.categories.new(category: somecategory). | |
undefined property or relationship 'new' on Category |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parametersapplication/x-www-form-urlencoded | |
authenticity_token NiPmnmEqG+IghUvvKnwMhtwOL+ZnbrgAiXJTy/nLdx0= | |
commit Create Rekenservice | |
rekenservice[address] | |
rekenservice[btwnummer] | |
rekenservice[city] | |
rekenservice[company_name... bink | |
rekenservice[country] | |
rekenservice[description] | |
rekenservice[email] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE StandaloneDeriving #-} | |
module Main where | |
import Language.UHC.JS.Assorted ( alert ) | |
import Language.UHC.JS.Primitives ( JSPtr, mkAnonObj, setAttr ) | |
import Language.UHC.JS.ECMA.String as JSString ( JSString, stringToJSString ) | |
import UHC.Generics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class User | |
include MongoMapper::Document | |
safe | |
key :email, String | |
key :username, String | |
key :first_name, String | |
key :last_name, String | |
key :encrypted_password, String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Interval Since Last Panic Report: 8384901 sec | |
Panics Since Last Report: 1 | |
Anonymous UUID: 5827BA2B-ED18-447A-BDF7-CBDFF3083524 | |
Fri Mar 16 10:29:27 2012 | |
panic(cpu 2 caller 0xffffff8000328af2): "Negative open count?"@/SourceCache/xnu/xnu-1699.24.8/bsd/miscfs/specfs/spec_vnops.c:1368 | |
Backtrace (CPU 2), Frame : Return Address | |
0xffffff8127a53c10 : 0xffffff8000220702 | |
0xffffff8127a53c90 : 0xffffff8000328af2 | |
0xffffff8127a53cd0 : 0xffffff800032c895 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trimr :: String -> String | |
trimr = foldr f "" | |
where | |
f :: Char -> String -> String | |
f c [] | c == ' ' = "" -- use Data.Char.isSpace alternatively | |
| otherwise = [c] | |
f c xs = c : xs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/env bash | |
PAR=false; | |
for thing in "$@" | |
do | |
if [ $thing = "--make" ] | |
then | |
PAR=true | |
break | |
fi | |
done |