Clone the repo to local dir
Install required modules, e.g. Behave
Run the BDD tool:
$ behave
This file contains hidden or 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 AFeeder | |
{ | |
enum TypesOfInformation | |
{ | |
PatientInformation, | |
SomethingElse | |
} | |
public Feeder() |
This file contains hidden or 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
# scheduler.rb | |
class Scheduler | |
class CyclicalDependsError < StandardError | |
end | |
attr_accessor :tasks, :queue, :runables | |
def initialize(tasks, depends = []) |
This file contains hidden or 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
<!DOCTYPE html> | |
<html > | |
<head> | |
<meta charset="UTF-8"> | |
<title>Code Pen · 1</title> | |
<style> | |
body { | |
position: absolute; font-family: helvetica; |
This file contains hidden or 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
from PIL import Image, ImageDraw, ImageFont | |
import string | |
import math | |
# colours from www.flatuicolors.com | |
COLOURS = dict(turquoise="#1abc9c", | |
emerald="#2ecc71", | |
peterRiver="#3498db", | |
amethyst="#9b59b6", | |
wetAsphalt="#34495e", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
I hereby claim:
- I am edhiley on github.
- I am edhiley (https://keybase.io/edhiley) on keybase.
- I have a public key whose fingerprint is A31E 4773 8142 E5C2 3BC8 C2FF 1D83 B09E 6B62 7DF0
To claim this, I am signing this object:
This file contains hidden or 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
from riak import RiakClient, RiakNode | |
host, port = 'localhost', '10091' | |
timeout = 6000000 | |
client = RiakClient(protocol='http', hosts=host, http_port=port) | |
if not client.ping(): | |
print "Cannot connect to riak on {}:{}".format(host, port) | |
exit() |
This file contains hidden or 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
import unittest, sqlite3 | |
from contextlib import closing | |
class TestDataStrategies(unittest.TestCase): | |
SQLCMD = """SELECT lid | |
from person_table | |
GROUP BY lid | |
ORDER BY lid""" |
OlderNewer