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
$ lein repl | |
Deleting files generated by lein-cljsbuild. | |
Copying 1 file to /src/test/lib | |
Compiling ClojureScript. | |
Compiling "resources/public/js/test.js" from "src-cljs"... | |
Successfully compiled "resources/public/js/test.js" in 3.193873 seconds. | |
REPL started; server listening on localhost port 53484 | |
user=> (require '[cljs.repl :as repl]) | |
FileNotFoundException Could not locate cljs/repl__init.class or cljs/repl.clj on classpath: clojure.lang.RT.load (RT.java:430) |
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
(into {} (filter second {"DelaySeconds" DelaySeconds | |
"MessageRetentionPeriod" MessageRetentionPeriod | |
"MaximumMessageSize" MaximumMessageSize | |
"VisibilityTimeout" VisibilityTimeout | |
"Policy" Policy})) |
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
(defprotocol PCountryId | |
(country-id [c])) | |
(extend-protocol PCountryId | |
String (country-id [c] (country-id (NFCountry/findInstance c))) | |
clojure.lang.Keyword (country-id [c] (country-id (name c))) | |
NFCountry (country-id [c] (.getId c))) |
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
$ lein deps | |
[INFO] artifact org.clojure:clojure-contrib: checking for updates from releases | |
[INFO] artifact org.clojure:clojure-contrib: checking for updates from thirdparty | |
[INFO] artifact org.clojure:clojure-contrib: checking for updates from central | |
[INFO] artifact org.clojure:clojure-contrib: checking for updates from clojars | |
[INFO] artifact org.clojure:tools.logging: checking for updates from releases | |
[INFO] artifact org.clojure:tools.logging: checking for updates from thirdparty | |
[INFO] artifact org.clojure:tools.logging: checking for updates from central | |
[INFO] artifact org.clojure:tools.logging: checking for updates from clojars | |
[INFO] artifact log4j:log4j: checking for updates from releases |
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
hello world |
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
{ | |
"name": "example", | |
"version": "0.1.0", | |
"author": "User <email>", | |
"contributors": [ | |
{ "name": "Eric Schoonover", "email": "erics@capdes.com" } | |
], | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/user/repo" |
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
//namespace names this object. | |
namespace blaine | |
{ | |
class helloworld | |
{ | |
//Every program starts with a Main method. | |
//Static indicates that you can access this method without having an object of your class available. | |
//void indicates to the compiler that your method will not return a value to the calling method. | |
static void Main() | |
{ |
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
7 Oct 22:45:15 - info: handshake authorized 0=6, 1=0, 2=8, 3=3, 4=8, 5=8, 6=3, 7=1, 8=7, 9=6, 10=8, 11=7, 12=1, 13=8, 14=7, 15=3, 16=6, 17=0, bold=608388317687187360, underline=608388317687187360, italic=608388317687187360, inverse=608388317687187360, grey=608388317687187360, black=608388317687187360, yellow=608388317687187360, red=608388317687187360, green=608388317687187360, blue=608388317687187360, white=608388317687187360, cyan=608388317687187360, magenta=608388317687187360, rainbow=608388317687187360, zalgo=6̥̳̣̣̠̲͍̞͖̬͉̟̫̩̦̺̘̥̱͚̯̖͍̘͎̲̼͍̪̦̰̼̭͇̩̠̮͇͖͈̬̯̟̜͕͖͍̪͖͚̲͍̬̤ͮͩ̆̏̍̕ͅ0̶̥̝̯̹̼̭̟͚̰̰̮̠̫͚̯̦̯ͣ̆̍͋ͩ͊ͣ8̵̮̟̦̰̺̲̝̰̪̻̩͉̩̬̭̙͙̬̪̠̹̮̤̤̙̥̲͙̜͎͔̟̼͍̮̠̪ͯ̏̔͐̓̐̐͂͌̓͋̋ͪ͂͂̆3̪͎̥̟͈̙̬̠͕͈̩̣̟̗̞͈̰̟̗̲̦̠̞̺̰̻̠̳̞̬̱͓͓̜͍̦̠̳͚̻̤̭̫͓͍̬̖̘͉̹͈̟ͭ̄́̾͐ͣ̔̍̌͊̓͗̌̕ͅͅͅ8̣̯̼̙̟̺͎͓̠̲̪̰̜͈͚̩͎̹̞̤̻͈̮͕̣̖̗̩̯̻̥̝̱̺̠̣ͣ̍́ͪ̾͌̓̃͐ͬ̍̂͠ͅ8̹̤̭̰̮̱̗̤̮̥̞̪̞͈͇̲̹̬͕̩̺͕̜̳͙̥͎͙ͬ͂͌̆ͦ͜ͅͅ3͖̜̥̙̗̫̝̮͕̩̙͇̩̫̩̫͇̼ͣ́̓ͨ̈ͫ̕ͅͅ1̧̜̥̥̰̰̣̲̘̠̖̝̭͙̯̮͉̩̥̬̼̰͙͉̮̗͎͔̪̲̘̘͙̗̹̹̠̱̺͚͖̜̥͙̞̩̀͊̎ͯͤ͒̒͗̉ͣ̈̈͂7̝̥̺̞͙̯̦̯̗̼̗̼̠̝͎͈̭̥̰̻̟̭̬͔ͬͧ̍͆̒̂͘ͅ6̻̪̮̦̘̳̰͚̣̬̰̘̮͈̙̤͇̻͎̮̘̬̻̯͚̱̗̟̬̘̼͖͔̘͕̗̟̳͈̪̤̰̭͙͎̪̤̰̖͋̈̌̀͐͊͛ͦ͟ͅͅ8̡̥̭̝͖̹ͩͮ̍ͩͪ7̤̰̟̺͉͚͔͚͓̟ |
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
import sys | |
class Graph(object): | |
def __init__(self, nodeCount, links): | |
self.nodeCount = nodeCount | |
self.matrix = [[False] * self.nodeCount for _ in range(self.nodeCount)] | |
for l in links: | |
self.matrix[l[0]][l[1]] = self.matrix[l[1]][l[0]] = True | |
def paths(self, path): |
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
function New-TableRow { | |
<# | |
.Synopsis | |
Creates a new table row that can be added to a table | |
.Description | |
Creates a new Intellidimension.Rdf.TableRow instance that can be added to a table | |
.Parameter cellCount | |
The number of cells the row will have |
NewerOlder