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
{ | |
// Theme and Layout settings | |
"workbench.colorTheme": "Vitesse Light", | |
"workbench.iconTheme": "quill-icons-minimal", | |
"workbench.productIconTheme": "icons-carbon", | |
"editor.renderIndentGuides": false, | |
"editor.renderWhitespace": "none", | |
"editor.minimap.renderCharacters": false, | |
"workbench.startupEditor": "none", | |
"workbench.sideBar.location": "right", |
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
// Simple js file that index.html has as a script src or the entry file of the app | |
let worker = new Worker("worker.js"); | |
worker.postMessage({ | |
url: "https://jsonplaceholder.typicode.com/todos/1", | |
}); |
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
{ | |
"editor.quickSuggestionsDelay": 1000, | |
"editor.suggestOnTriggerCharacters": false, | |
"editor.lightbulb.enabled": false, | |
"editor.selectionHighlight": true, | |
"editor.occurrencesHighlight": true, | |
"editor.formatOnSave": true, | |
"editor.fontFamily": "Hermit", | |
"editor.fontSize": 13.5, | |
"editor.formatOnPaste": false, |
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
{ | |
"basics": { | |
"name": "Reaper ⠀", | |
"label": "Better at talking to computers than humans.", | |
"picture": "", | |
"email": "sidgel95@gmail.com", | |
"phone": "9885317891", | |
"website": "", | |
"summary": "Minimalist • Developer • I build stuff • https://barelyhuman.dev • https://reaper.im", | |
"location": { |
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
goblin () { | |
curl -sf "https://goblin.reaper.im/$1@$2" | sh | |
$($3) | |
} |
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
#!/bin/bash | |
set -euxo pipefail | |
# Configurations | |
# the new user that's to be added for logging in (comment out `create_user` from the `main` if you already have a admin user) | |
NEW_USER="admin" | |
DUMMY_PASS="dummyPassword123" | |
# your public key to be replaced here |
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
@import url("https://unpkg.com/zinccolors@0.0.1/css/zinc.min.css"); | |
@import url("https://rsms.me/inter/inter.css"); | |
html, | |
body { | |
padding: 0; | |
margin: 0; | |
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, | |
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; | |
} |
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
import { fromArray, fromValue, pipe, toPromise } from "wonka"; | |
function talkbackPlaceholder(a) {} | |
const customTake = (max) => (source) => (sink) => { | |
let taken = []; | |
let talkback = talkbackPlaceholder; | |
let ended = false; | |
return source((signal) => { | |
if (typeof signal === "number") { |
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
-- table structure for reference | |
-- `areas` | |
-- column type nullable | |
-- ------------------------------ | |
-- id int4 NO | |
-- name varchar(11) YES | |
-- slots int4 NO | |
-- | |
-- `avail` | |
-- column type nullable |