I hereby claim:
- I am jasonsperske on github.
- I am sperske (https://keybase.io/sperske) on keybase.
- I have a public key whose fingerprint is E40C A8A8 8284 94A9 823C 951D 7865 73E7 33D8 50FA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| (define (SO x y) | |
| (let* ((x! (car x)) (y! (car y))) | |
| (while (< x! (car (cdr x))) | |
| (set! y! (car y)) | |
| (while (< y! (car (cdr y))) | |
| (print (string-append (number->string x!) "-" (number->string y!))) | |
| (set! y! (+ y! 1)) | |
| ) | |
| (set! x! (+ x! 1)) | |
| ) |
| #!/usr/bin/env python3 | |
| import struct | |
| import re | |
| import io | |
| from collections import namedtuple | |
| GrpFileDefinition = namedtuple('GrpFileDefinition', 'name size') | |
| Line = namedtuple('Line', 'a b is_one_sided') |
| func car<T>(l: Array<T>?) -> T? { | |
| if l == nil || l!.count <= 0 { | |
| return nil | |
| } else { | |
| return l![0] | |
| } | |
| } | |
| func cdr<T>(l: Array<T>?) -> Array<T>? { | |
| if l == nil || l!.count <= 1 { |
| MIT License | |
| Copyright (c) 2018 Jason Sperske | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| <html> | |
| <head> | |
| <meta content="text/html; charset=UTF-8" http-equiv="content-type"> | |
| <title>Textarea Highlighter</title> | |
| <script src="//code.jquery.com/jquery-1.11.0.js" type="text/javascript"></script> | |
| <style type="text/css"> | |
| #Status, #Highlighter { | |
| width: 96%; | |
| height: 250px; | |
| font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; |
| // Game_Music_Emu 0.6.0. http://www.slack.net/~ant/ | |
| #include "Wave_Writer.h" | |
| #include <assert.h> | |
| #include <stdlib.h> | |
| /* Copyright (C) 2003-2006 by Shay Green. Permission is hereby granted, free | |
| of charge, to any person obtaining a copy of this software and associated | |
| documentation files (the "Software"), to deal in the Software without |
| var Node = function(name, left, right) { | |
| this.name = name; | |
| this.left = left; | |
| this.right = right; | |
| }, | |
| findDeepest = function(node, depth) { | |
| var left, right, depth = depth || 0; | |
| if(typeof node !== 'undefined') { | |
| left = findDeepest(node.left, depth+1); | |
| right = findDeepest(node.right, depth+1); |
| var paint = function (posts, colors, display) { | |
| var painter = function (posts, colors, fence, count, display) { | |
| var color, total = count; | |
| if (posts === 0) { | |
| //Would you like to see them? Pass a display function | |
| if(display) { | |
| display(fence); | |
| } | |
| return 1; | |
| } else { |
| (ns Russian) | |
| (defn multiply [& args] | |
| (defn russian_multiply [a b p] | |
| (cond | |
| (> a 0) (russian_multiply (bit-shift-right a 1) (bit-shift-left b 1) (+ p (if (= (mod a 2) 1) b 0))) | |
| :else p)) | |
| (defn flip [a] (inc (bit-not a))) | |