I hereby claim:
- I am spoon16 on github.
- I am spoon16 (https://keybase.io/spoon16) on keybase.
- I have a public key whose fingerprint is 24E1 E382 1873 D9EC 1A04 6B0D ED35 6E91 7025 49F2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
;; I feel like this should be less lines | |
(defn add-edge | |
[graph edge] | |
(let [parts (clojure.string/split edge #",") | |
from (first parts) | |
to (second parts) | |
graph (if (not (contains? graph from)) | |
(assoc-in graph [from] #{}) | |
graph) | |
graph (if (not (contains? graph to)) |
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 |
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): |
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̤̰̟̺͉͚͔͚͓̟ |
//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() | |
{ |
{ | |
"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" |
hello world |
$ 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 |