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
| {"title": "Fire and Ice", | |
| "author": "Robert Frost", | |
| "text": ["Some say the world will end in fire,", | |
| "Some say in ice.", | |
| "From what I've tasted of desire,", | |
| "I hold with those who favor fire.", | |
| "But if I had to perish twice,", | |
| "I think I know enough of hate", | |
| "To say that for destruction ice", | |
| "Is also great", |
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
| # (c) 2016 Mario Cruz | |
| # please credit me if you modify and/or use this code | |
| # not for commercial use | |
| # lots of help from Giles Booth @blogmywiki | |
| import os | |
| import glob | |
| import json | |
| import random | |
| import printer |
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
| {"title": "Fire and Ice" | |
| "author": "Robert Frost" | |
| "text": ["Some say the world will end in fire,", | |
| "Some say in ice.", | |
| "From what I've tasted of desire,", | |
| "I hold with those who favor fire.", | |
| "But if I had to perish twice,", | |
| "I think I know enough of hate", | |
| "To say that for destruction ice", | |
| "Is also great", |
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
| # (c) 2016 Mario Cruz | |
| # please credit me if you modify and/or use this code | |
| # not for commercial use | |
| # lots of help from Giles Booth @blogmywiki | |
| from random import * | |
| from printer import * | |
| from PIL import Image | |
| import os | |
| import glob | |
| import json |
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
| (ns brave.core | |
| (:require [clojure.core.async :as a | |
| :refer [thread go <! >! <!! >!! put! take! chan go-loop alts! timeout close!]])) | |
| ;; -== From brave clojure ==- | |
| (defn hotdog-machine | |
| "A hotdog vending machine returns a vector | |
| with two channels: input and output. Money | |
| should be deposited into the input channel |
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
| (ns brave.core | |
| (:require [clojure.core.async :as a | |
| :refer [thread go <! >! <!! >!! put! take! chan go-loop alts! timeout close!]])) | |
| ;; -== From brave clojure ==- | |
| (defn hotdog-machine | |
| "A hotdog vending machine returns a vector | |
| with two channels: input and output. Money | |
| should be deposited into the input channel |
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
| (ns brave.core | |
| (:require [clojure.core.async :as a | |
| :refer [thread go <! >! <!! >!! put! take! chan go-loop alts! timeout close!]])) | |
| ;; -== From brave clojure ==- | |
| (defn hotdog-machine | |
| "A hotdog vending machine returns a vector | |
| with two channels: input and output. Money | |
| should be deposited into the input channel |
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
| ((nil . ((projectile-project-type . lein-test)))) | |
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
| <?php | |
| class FakeImage { | |
| function rotate($deg) { | |
| echo "Rotating $deg degrees\n"; | |
| return $this; | |
| } | |
| function mirror(){ | |
| echo "Mirroring\n"; | |
| return $this; |