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
My Awesome Sketch | |
First State | |
some event -> Second State | |
Second State |
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
Login | |
Main Login | |
bad password -> Main Login | |
forgot password -> Forgot Password | |
correct -> SMS Verification | |
register -> Registration | |
SMS Verification | |
skip -> Main Screen | |
ok -> PIN Setup |
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
Flare Test UI | |
logs -> Log Page | |
Loading* | |
saved -> Device Page | |
notfound -> Scan | |
Device Page | |
disconnect -> Scan | |
Scan | |
choose -> Device Page | |
Log Page |
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
(ql:quickload "hunchentoot") | |
(ql:quickload "hunchensocket") | |
(hunchentoot:define-easy-handler (say-yo :uri "/yo") (name) | |
(setf (hunchentoot:content-type*) "text/plain") | |
(format nil "Hey ~@[~A~]!" name)) | |
(defclass chat-room (hunchensocket:websocket-resource) | |
((name :initarg :name :initform (error "Name this room") :reader name)) | |
(:default-initargs :client-class 'user)) |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include "ecl/ecl.h" | |
cl_object foo() { | |
return ecl_make_integer(42); | |
} | |
cl_object bar(cl_object x) { |
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
(defstruct stl-file header num-points points) | |
(defstruct stl-point normal point attribs) | |
(defun read-header (stream) | |
(let ((data (make-array 80 :initial-element nil))) | |
(read-sequence data stream) | |
data)) | |
(defun read-num-triangles (stream) | |
(let ((data (make-array 4 :element-type '(unsigned-byte 8)))) |
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
(ql:quickload :sdl2) | |
(require :sdl2) | |
(require :cl-opengl) | |
(defun render () | |
"drawing whatever happens in a frame" | |
(gl:clear :color-buffer) | |
(gl:begin :triangles) | |
(gl:color 0.0 1.0 0.0) | |
(gl:vertex 0.0 1.0) |
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
(%i8) 1`(m/s) * 0`(1/s); | |
1 | |
(%o8) 0 ` - | |
s | |
(%i9) 0`(1/s) * 1`(m/s); | |
m | |
(%o9) 0 ` -- | |
2 | |
s | |
(%i10) (1`(m/s)) * (0`(1/s)); |
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
kill(all); | |
load("ezunits"); | |
x : c1*t^2 + c2*t + c3$ | |
dx : diff(x,t)$ | |
eqns : [ev(x,t=0`s) = 0`m, | |
ev(x,t=5`s) = 5`m, | |
ev(dx,t=0`s) = 1`(m/s)]$ |
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
(defparameter *width* 8) | |
(defparameter *height* 8) | |
(defparameter *board* | |
(make-array (list *width* *height*) :initial-element 0)) | |
(defun birth (x y) | |
(setf (aref *board* x y) 1)) | |
(defun death (x y) |
NewerOlder