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
class Logger | |
constructor: (@io = console.log) -> | |
@severityLevels = Object.freeze({ | |
"DEBUG" : 1 | |
"INFO" : 2 | |
"WARN" : 3 | |
"ERROR" : 4 | |
"FATAL" : 5 | |
"UNKNOWN" : 6 | |
}) |
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
<%= START -%> | |
<% filtered_chat = "&filtered_chat" %> | |
&filtered_chat = %CHAT% | |
<% | |
mappings = { | |
# Custom | |
"snowflake" => "❄", | |
"shrug" => "¯\\_(ツ)_/¯", | |
"code" => "%@#code%", |
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 'dart:html'; | |
import 'dart:math'; | |
// Element horseElement; | |
var horse = r""" | |
, | |
_,,)\.~,,._ | |
(()` ``)\))),,_ | |
| \ ''((\)))),,_ ____ |
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
{ | |
"type": "root", | |
"children": { | |
"advancement": { | |
"type": "literal", | |
"children": { | |
"grant": { | |
"type": "literal", | |
"children": { | |
"targets": { |
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 os | |
import shutil | |
import tempfile | |
import sys | |
import distutils | |
from distutils import dir_util | |
import mmap | |
from bs4 import BeautifulSoup |
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
# Logic | |
~ Logic | |
| desc : generic logic class | |
| inputs : 0 | |
| outputs : 1 | |
~ Battery < CoreLogic | |
| desc : a percentage type | |
| inputs : 0 | |
| outputs : 1 |
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
parent_node : a node with no input | |
child_node : a node decending from another node | |
final_node : a node with no output | |
AST::GLOBALS = | |
MAX = 100 | |
NON = 0 | |
MIn = -100 | |
battery < node |
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
draw | |
chip | |
fill | |
border | |
icon | |
image? | |
inputs | |
input | |
outputs | |
output |
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
# Input(uuid) is connecting to Output(uuid) | |
# input: output | |
uuid: uuid |
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
abstract class LeafObject | |
def update(event); end | |
end | |
class Vec2D | |
property x : Float | Int | Double | |
property y : Float | Int | Double | |
def self(x, y) | |
self.new(x, y) |