$ volta install tsm
success: installed [email protected] with executables: tsm
$ echo 'console.log("hello");' > foo.ts
$ tsm foo.ts
(node:32620) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
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
local moon = require 'lib.fullmoon' | |
moon.setRoute({'/:username', method = 'GET'}, function (r) | |
local username = r.params.username | |
return 'Profile page for: ' .. username | |
end) | |
moon.setRoute({'/register', method = 'POST'}, function (r) | |
local username = r.params.username | |
moon.logDebug(username) -- this always logs "register" |
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
// ==UserScript== | |
// @name Remove tracking links on duckduckgo.com HTML version | |
// @namespace Violentmonkey Scripts | |
// @match https://html.duckduckgo.com/html/ | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @description 7/9/2023, 4:36:51 PM | |
// @run-at document-idle | |
// ==/UserScript== |
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
:root { | |
--main-bg: #1c1c1c; | |
--whoogle-dark-result-title: #a6a6f5; | |
--result-bg: #111111; | |
} | |
/* for 0.6.0 */ | |
/* .wEsjbd, | |
.Gx5Zad:not(.fP1Qef) { | |
background-color: var(--whoogle-dark-result-bg) !important; |
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
app = "search" | |
kill_signal = "SIGINT" | |
kill_timeout = 5 | |
processes = [] | |
[build] | |
image = "benbusby/whoogle-search:0.8.3" | |
[env] |
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
#!/usr/bin/env bash | |
# When using Curl in shell scripts, always pass -fsSL, which: | |
# Treats non-2xx/3xx responses as errors (-f). | |
# Disables the progress meter (-sS). | |
# Handles HTTP redirects (-L). | |
# curl -fsSL -X GET "https://mas.to/users/keb.rss" | grep -oPm1 "(?<=<lastBuildDate>)[^<]+" | |
FILE=last_date.txt | |
ISSUE_URL=https://api.github.com/repos/keb/keb.github.io/issues/1/comments |
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
{"count":3955,"games":[{"url":"https://store.steampowered.com/app/1021770","name":" Wanba Warriors","store":"Steam"},{"url":"https://store.steampowered.com/app/525480","name":".hack//G.U. Last Recode","store":"Steam"},{"url":"https://mssng.itch.io/siberia","name":"[SIBERIA]","store":"itch.io"},{"url":"https://ohsat-andrej.itch.io/speer","name":"[Speer]","store":"itch.io"},{"url":"https://store.steampowered.com/app/287860","name":"_Remote Play Together Non-Steam Games","store":"Steam"},{"url":"https://raithza.itch.io/frogsmashers","name":"★FROG SMASHERS★","store":"itch.io"},{"url":"https://colorfiction.itch.io/0n0w","name":"0°N 0°W","store":"itch.io"},{"url":"https://store.steampowered.com/app/435790","name":"10 Second Ninja X","store":"Steam"},{"url":"https://store.steampowered.com/app/282800","name":"100% Orange Juice","store":"Steam"},{"url":"https://store.steampowered.com/app/260790","name":"1001 Spikes","store":"Steam"},{"url":"https://salmanshh.itch.io/10mg-sealed-estate","name":"10mg: Sealed Estate","st |
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
$rawGames = $PlayniteApi.Database.Games | |
$count = $PlayniteApi.Database.Games.Count | |
[System.Collections.ArrayList]$games = @() | |
foreach ($game in $rawGames) { | |
if ($game.Source.Name) { | |
$gameObj = @{ | |
"name" = $game.Name # adding the game name to the JSON breaks things | |
"store" = $game.Source.Name | |
} |
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
Show hidden characters
[ | |
{ "keys": ["alt+`"], "command": "show_panel", "args": {"panel": "console", "toggle": true} }, | |
{ "keys": ["ctrl+`"], "command": "open_terminal_project_folder" }, | |
{ "keys": ["ctrl+shift+`"], "command": "open_terminal" } | |
] |
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
/* bio */ | |
img[alt="koopa"] { max-width: 154px; max-height: 154px; } | |
#keb { margin-top: 0.5em; margin-bottom: 0.5em; } | |
#keb-now-sh-https-keb-now-sh { margin-top: 0; margin-bottom: 0; } | |
main > h1:first-of-type { display: none; } | |
main > p { margin-bottom: 0; } | |
/* rwtxt controls */ | |
textarea[name="css"] { | |
min-width: 700px; |
NewerOlder