Makes 170g dough (enough for one 30 cm pizza)
- 1 teaspoon dried yeast
- 1 teaspoon salt
- 100 ml warm water
- 2 teaspoons olive oil, plus extra, for greasing
- 160 g plain (all-purpose) flour, sifted
public func setupScript(tag: NFCISO7816Tag) -> AnyPublisher<CommandResult, Error> { | |
return Deferred { Future<CommandResult, Error> { promise in | |
print("C 1"); | |
tag.sendCommand(apdu: commandWriteDataUrlTemplate(), completionHandler: commandCallback(promise)) | |
}}.flatMap { _ in | |
return Deferred{ Future<CommandResult, Error> { promise in | |
print("C 2"); | |
tag.sendCommand(apdu: commandAuthenticateEV2FirstPart1(), completionHandler: commandCallback(promise)) | |
} | |
}}.flatMap { result in |
### Keybase proof | |
I hereby claim: | |
* I am freshtonic on github. | |
* I am jamessadler (https://keybase.io/jamessadler) on keybase. | |
* I have a public key ASCaW7V7UqcYddWNCXlnwJRNKUn84kkndYCwPCXD586iFwo | |
To claim this, I am signing this object: |
This preso made CRDTs really click for me | |
- http://richard.dallaway.com/crdt/ | |
But only after reading this paper which describes a CRDT imlemented as a tree of edits. | |
- https://hal.inria.fr/file/index/docid/445975/filename/icdcs09-treedoc.pdf | |
Grokking how conflict resolution is determined is key I think. The CRDT will hold every party's |
paperclip (2.5.0) | |
activerecord (>= 2.3.0) | |
activesupport (>= 2.3.2) | |
cocaine (>= 0.0.2) | |
cocaine (>= 0.0.2) | |
cocaine (>= 0.0.2) | |
cocaine (>= 0.0.2) | |
cocaine (>= 0.0.2) | |
cocaine (>= 0.0.2) | |
cocaine (>= 0.0.2) |
extern crate regex; | |
extern crate core; | |
use std::str; | |
use std::slice::SliceConcatExt; | |
use self::core::str::StrExt; | |
use self::regex::Regex; | |
use std::num::ToPrimitive; |
#!/usr/bin/env ruby | |
# Reads your JS on STDIN, minified JS is OK as angular methods names should be preserved. | |
# The reason this exists is because I was getting an erroroneous error message about missing | |
# module 'ngLocale', but googling that indicated that it really meant that one of my dependencies | |
# was unresolved. A change to the JS concatenation had caused this error. | |
# In order to resolve the error I wrote a script to parse the old minified and new minified JS to dump | |
# declared services to STDOUT. I could then see what was missing. |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# Checks for things that I often commit accidentally and bails out of the | |
# commit. To skip this pre-commit hook use `git commit --no-verify`. | |
checks = [ | |
/\bddescribe\b/, | |
/\biit\b/, | |
/\bxit\b/, | |
/binding.pry/, |
require 'spec_helper' | |
def serialize(thing, format=:as_html) | |
case thing | |
when Nokogiri::HTML::Document | |
document.serialize(:encoding => 'UTF-8') do |config| | |
config.format.send format | |
end | |
when Nokogiri::HTML::DocumentFragment | |
thing.serialize |