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
RCTJSLog> "Error: | |
stack: | |
getComponentClassForElement index.ios.bundle:5802 | |
_processProps index.ios.bundle:16220 | |
mountComponent index.ios.bundle:15949 | |
ReactCompositeComponent_mountComponent index.ios.bundle:4849 | |
mountComponent index.ios.bundle:4918 | |
mountChildren index.ios.bundle:19591 | |
initializeChildren index.ios.bundle:17904 | |
mountComponent index.ios.bundle:18058 |
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
module Main (main) where | |
import Test.Framework | |
import Test.Framework.Providers.QuickCheck2 (testProperty) | |
import Your.Module (encrypt, decrypt) | |
prop_reverseReverse :: [Char] -> Bool | |
prop_reverseReverse s = (reverse . reverse) s == s | |
prop_encryptDecrypt :: [Char] -> Bool |
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
main :: IO () | |
main = do | |
putStrLn "I have no idea what I'm doing" |
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
(ns fizzbuzzable.core-test | |
(:require [clojure.test :refer :all] | |
[clojure.test.check.clojure-test :refer [defspec]] | |
[clojure.test.check :as tc] | |
[clojure.test.check.generators :as gen] | |
[clojure.test.check.properties :as prop] | |
[fizzbuzzable.core :refer :all])) | |
(defn boring-fizzbuzz | |
[n] |
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
use std::fmt; | |
trait Fizzbuzzable { | |
fn next(&self) -> Box<Fizzbuzzable>; | |
fn string(&self) -> String; | |
} | |
struct A1(i64); | |
struct A2(i64); | |
struct A3(i64); |
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
let rangeInternal = x: y: c: if x == y then c ++ [x] else rangeInternal (builtins.add x 1) y (c ++ [x]); | |
range = x: y: if builtins.lessThan x y then rangeInternal x y [] else rangeInternal y x []; | |
modulo = x: y: builtins.sub x (builtins.mul (builtins.div x y) y); | |
fizz = x: modulo x 3 == 0; | |
buzz = x: modulo x 5 == 0; | |
fizzbuzz = x: fizz x && buzz x; | |
fizzBuzzString = x: if fizzbuzz x then "FizzBuzz" else | |
if fizz x then "Fizz" | |
else if buzz x then "Buzz" | |
else x; |
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
*** Downloading ‘http://cache.nixos.org/nar/1bl9aq8brpq9pfy1rygfd4ns1nkk41kv6dh86wasrsy7p73nm3hc.nar.xz’ to ‘/nix/store/cjljpi8bvmgk8hs9nwpyrm3jib64pwn6-linux-3.14.12’... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
84 32.9M 84 27.8M 0 0 3030k 0 0:00:11 0:00:09 0:00:02 2647kerror: creating file `/nix/store/cjljpi8bvmgk8hs9nwpyrm3jib64pwn6-linux-3.14.12/lib/modules/3.14.12/kernel/net/netfilter/xt_dscp.ko': File exists | |
92 32.9M 92 30.3M 0 0 3017k 0 0:00:11 0:00:10 0:00:01 2536k | |
curl: (23) Failed writing body (0 != 1390) | |
download of `http://cache.nixos.org/nar/1bl9aq8brpq9pfy1rygfd4ns1nkk41kv6dh86wasrsy7p73nm3hc.nar.xz' failed: No such file or directory | |
could not download ‘/nix/store/cjljpi8bvmgk8hs9nwpyrm3jib64pwn6-linux-3.14.12’ from any binary cache |
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 --config | |
HOMEBREW_VERSION: 0.9.5 | |
ORIGIN: https://github.com/Homebrew/homebrew | |
HEAD: 8ef06725cf0b1dfa504515f4f7405798e7da846b | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit haswell | |
OS X: 10.9.3-x86_64 | |
Xcode: 6.0 => /Applications/Xcode6-Beta2.app/Contents/Developer |
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
(ns flaming-pidgeon.core | |
(:require | |
[clojure.xml :as xml])) | |
(defn startparse-sax-non-validating | |
[s ch] | |
(.. (doto (. javax.xml.parsers.SAXParserFactory (newInstance)) | |
(.setValidating false) | |
(.setFeature "http://apache.org/xml/features/nonvalidating/load-dtd-grammar" false) | |
(.setFeature "http://apache.org/xml/features/nonvalidating/load-external-dtd" false) |
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
{ | |
"query": { | |
"filtered": { | |
"query": { | |
"prefix": {"name": "Ms."} | |
}, | |
"filter": { | |
"and": [ | |
{"exists": { "field": "favourite_opera" }}, | |
{"range": {"last_opera_attended": {"gte": 1357020000}}} |