Skip to content

Instantly share code, notes, and snippets.

View ZenkieBear's full-sized avatar
📖
Learning TailwindCSS

Zenkie Bear ZenkieBear

📖
Learning TailwindCSS
View GitHub Profile
@ZenkieBear
ZenkieBear / learn.swift
Last active November 13, 2023 08:51
learn-swift
print("Hello, world")
// Prints "Hello, world
// Simple Values
var myVariable = 18
myVariable = 33
let myConstant = 18
//print(myVariable, myConstant)
@ZenkieBear
ZenkieBear / tree.js
Created November 4, 2023 05:08
Print tree node list, generate structure string and find childrens
const nodes = [
{ id: 1 },
{ id: 2, pid: 1 },
{ id: 3, pid: 1 },
{ id: 4, pid: 2 },
{ id: 5, pid: 2 },
{ id: 6, pid: 3 },
{ id: 7, pid: 3 },
{ id: 8, pid: 3 },
]