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 zones.tests.core | |
(:refer-clojure :exclude [binding get set]) | |
(:require [zones.core :refer [default-zone]]) | |
(:require-macros [zones.core :refer [binding bound-fn*]])) | |
; -- helpers ---------------------------------------------------------------------------------------------------------------- | |
(defn default-zone-str [] | |
(pr-str default-zone)) |
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 ping-pong-go | |
(:require [clojure.core.async :as async :refer [<! >!]])) | |
(defn ping [ch] | |
(println "Ping") | |
(go | |
(>! ch :ping) | |
(<! (async/timeout 500)))) | |
(defn pong [ch] |
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
var GooDataExtractor = function () {}; | |
GooDataExtractor.prototype.extract = function (key, delimiters, target, callback) { | |
this.mineData(key, 1, function (data) { | |
delimiters = delimiters.replace(' ', ''); | |
delimiters = delimiters.split(','); | |
console.log(data); | |
callback(GooDataExtractor.prototype.parseContentToArray(delimiters, data), target); | |
}); |
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
var GooDataExtractor = function () {}; | |
GooDataExtractor.prototype.extract = function (key, delimiter) { | |
console.log(key); | |
console.log(delimiter); | |
var importedData = this.mineAndParseContentToArray(key); | |
return importedData; | |
} |
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
Options +FollowSymlinks | |
RewriteEngine on | |
# No intersticial for direct reference and self-reference | |
RewriteCond %{HTTP_REFERER} !^$ | |
RewriteCond %{HTTP_REFERER} !^http(s)?://box.leebyron.com/.*$ [NC] | |
# Add a line item for every website you don't need an intersticial for | |
# I've added my own website, gmail and facebook | |
RewriteCond %{HTTP_REFERER} !^http(s)?://([^\.]*.)?leebyron.com/.*$ [NC] | |
RewriteCond %{HTTP_REFERER} !^http(s)?://mail.google.com/.*$ [NC] |