Skip to content

Instantly share code, notes, and snippets.

@wu-lee
wu-lee / .editorconfig
Last active September 2, 2023 09:53 — forked from ErikGartner/.treehouse
dTree Demo
# Cross-platform formatting config
# See https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
@wu-lee
wu-lee / .editorconfig
Last active February 12, 2021 18:06
sea-map vocab data-design scratchpad
# Cross-platform formatting config
# See https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
@wu-lee
wu-lee / input.scss
Created October 17, 2020 16:32
Generated by SassMeister.com.
foo {
background: red;
bar {
background: green;
}
}
@wu-lee
wu-lee / input.scss
Created October 17, 2020 16:32
Generated by SassMeister.com.
foo {
background: red;
bar {
background: green;
}
}
@wu-lee
wu-lee / .editorconfig
Last active May 31, 2023 12:48
A multi-purpose script for SEA developers
# Cross-platform formatting config
# See https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
@wu-lee
wu-lee / notes.md
Last active January 7, 2019 00:16
Notes on encryption tools
@wu-lee
wu-lee / steps.md
Created August 16, 2018 22:26
Errors trying to run racktris.rkt

I ran:

$ raco pkg install lux
Resolving "lux" via http://download.racket-lang.org/releases/6.3/catalog/
Resolving "lux" via http://pkgs.racket-lang.org
Using cached15253002841525300284739 for git://github.com/jeapostrophe/lux
Promoting lux from auto-installed to explicitly installed

$ git clone https://gitlab.com/dustyweb/racktris.git
@wu-lee
wu-lee / ball.nim
Created April 4, 2018 20:30
faulty cloning in nim
type
# ...
Vector*[T] = object
x*, y*: T
Animatable* = object of RootObj
Ball* = object of Animatable
pos*: Vector[float]
@wu-lee
wu-lee / concepts.nim
Created March 24, 2018 10:33 — forked from PhilipWitte/concepts.nim
How to use concept in Nim
type
CanDance = concept x
dance(x) # `x` is anything that has a `dance` procedure
proc doBallet(dancer: CanDance) =
# `dancer` can be anything that `CanDance`
dance(dancer)
# ---
@wu-lee
wu-lee / ns-100.html
Last active January 22, 2018 18:49
Clickable Number Squares
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Number Square</title>
<meta name="viewport" content="width=device-width">