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
| local fishStringL = "<'((>-<"; | |
| local fishStringR = ">-<))'>"; | |
| local fishLength = 7; | |
| local foodDist = 5; | |
| -- A float between -1 and 1 | |
| local randFloat = function() | |
| return math.random(-100, 100) / 100; |
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
| /* Tries to find the shortest path to G */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #define WIDTH 10 | |
| #define HEIGHT 10 | |
| const char grid[][WIDTH] = |
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
| #!/bin/bash | |
| # Script to automate the stuff in http://www.raspibo.org/wiki/index.php/Compile_the_Linux_kernel_for_Chip:_my_personal_HOWTO | |
| IP=192.168.0.24 | |
| MYDIR=`pwd` | |
| BUILD_DIR=`pwd`/build | |
| KVER=4.3.0bizarrefish+ | |
| set -e |
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
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdint.h> | |
| #include <inttypes.h> | |
| const char input[] = "^^^^......^...^..^....^^^.^^^.^.^^^^^^..^...^^...^^^.^^....^..^^^.^.^^...^.^...^^.^^^.^^^^.^^.^..^.^"; | |
| //const char input[] = ".^^.^.^^^^"; | |
| const uint64_t nrows = 100000000000; |
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
| using System; | |
| using System.Threading; | |
| using System.IO; | |
| using System.Data.Linq; | |
| using System.Linq; | |
| using System.Collections.Generic; | |
| using System.Security.Cryptography; | |
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
| function TickerEvent(time, obj) { | |
| this.Time = time; | |
| this.Obj = obj; | |
| } | |
| function TickerSpan(start, end, obj) { | |
| this.Start = start; | |
| this.End = end; | |
| this.Obj = obj; | |
| } |
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
| 2 tbsp coconut flour | |
| 3 tbsp almond flour | |
| 3 tbsp butter | |
| 1 large egg | |
| 1 tbsp cocoa powder | |
| 3 tbsp truvia | |
| 100g cream cheese | |
| 1 tsp vanilla |
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
| <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></head><body> | |
| <canvas id="mycanvas" width="1000" height="500">Ma Canvas | |
| </canvas> | |
| <div> | |
| Damping factor: <input type="text" id="ampScale" value="0.007"><br> | |
| Wave speed: <input type="text" id="speed" value="200"><br> | |
| Sine: <input type="checkbox" id="sine" defaultChecked="false"><br> | |
| Cell Size (pixels): <input type="text" id="cellSize" value="10"><br> | |
| Optimize: <input type="checkbox" id="opt" defaultChecked="false"><br> | |
| Reflections: <input type="checkbox" id="findReflections" defaultChecked="false"><br> |
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
| import java.io.IOException; | |
| import java.io.ObjectInputStream; | |
| import java.io.ObjectOutputStream; | |
| import java.io.Serializable; | |
| import java.lang.reflect.Constructor; | |
| import java.lang.reflect.InvocationHandler; | |
| import java.lang.reflect.InvocationTargetException; | |
| import java.lang.reflect.Method; | |
| import java.lang.reflect.Proxy; | |
| import java.util.HashMap; |
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
| import java.io.IOException; | |
| import java.util.Arrays; | |
| import java.util.LinkedList; | |
| import java.util.List; | |
| import java.util.function.Function; | |
| public abstract class ChatterMonad<T> { | |
| /** | |
| * A result. |