I hereby claim:
- I am andhieka on github.
- I am andhieka (https://keybase.io/andhieka) on keybase.
- I have a public key whose fingerprint is CFD6 F7D5 2F62 2348 916B B228 CA8F E88B E8E2 DE8F
To claim this, I am signing this object:
//#region Plain Maze | |
enum Direction { | |
North, | |
West, | |
South, | |
East | |
} | |
class Maze { | |
List<Room> rooms = []; |
import 'dart:io'; | |
abstract class GameState { | |
String getPrompt(); | |
void process(String input, MysteryGame game); | |
} | |
//#region Concrete states | |
class TheKitchenGameState extends GameState { |
import 'dart:io'; | |
abstract class GameState { | |
String getPrompt(); | |
void process(String input, MysteryGame game); | |
} | |
//#region Concrete states | |
class TheKitchenGameState extends GameState { |
import 'dart:io'; | |
enum GameState { | |
start, | |
theKitchen, | |
success, | |
dead, | |
} |
//#region Zoo | |
enum VisitOrder { | |
age, | |
name, | |
species, | |
} | |
class Zoo { |
//#region Zoo | |
class Zoo { | |
final List<Dog> dogs; | |
final List<Cat> cats; | |
final List<Bear> bears; | |
const Zoo({ | |
this.dogs, | |
this.cats, |
class Person { | |
String name; | |
int age; | |
Person({this.name, this.age}); | |
Person copyWithUpdate({ | |
String name, | |
int age, |
enum FruitType { | |
orange, | |
apple, | |
guava, | |
} | |
extension FruitTypeDescriptions on FruitType { | |
String get name { | |
switch (this) { |
#!/bin/sh | |
## | |
# Install autoconf, automake and libtool smoothly on Mac OS X. | |
# Newer versions of these libraries are available and may work better on OS X | |
# | |
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html | |
# | |
export build=~/devtools # or wherever you'd like to build |
I hereby claim:
To claim this, I am signing this object: