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
[package] | |
name = "repro" | |
version = "0.1.0" | |
authors = ["Keith Wansbrough <Keith.Wansbrough@metaswitch.com>"] | |
[dependencies] | |
error-chain = "0.10" |
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
//! Test crate | |
#![warn(missing_docs)] | |
#[macro_use] | |
extern crate error_chain; | |
/// Root errors | |
pub mod errors { | |
error_chain!{ | |
links { |
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
# Output of DESCRIBE for the relevant view: | |
CREATE MATERIALIZED VIEW edison.lus_subscriber_phone AS | |
SELECT phone, id, n, revision | |
FROM edison.scs_subscriber | |
WHERE phone IS NOT NULL AND id IS NOT NULL AND n IS NOT NULL | |
PRIMARY KEY (phone, id, n) | |
WITH CLUSTERING ORDER BY (id ASC, n ASC) | |
AND bloom_filter_fp_chance = 0.01 | |
AND caching = {'keys': 'NONE', 'rows_per_partition': 'NONE'} |
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
// Arduino Uno simulator with Morse Code. | |
// for Aidan's birthday party September 2013. | |
// http://gurunoia.lochan.org/blog/2013/09/arduino-cake/ | |
// Keith Wansbrough <keithw@lochan.org> | |
// Dot length in milliseconds. | |
const int dot = 120; | |
// Pins of various LEDs. | |
const int pinpower = 3; |