Skip to content

Instantly share code, notes, and snippets.

View keb's full-sized avatar
🌴
Always on vacation

keb

🌴
Always on vacation
View GitHub Profile
// ==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==
@keb
keb / whoogle.css
Last active July 9, 2022 21:33
whoogle styles css
: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;
@keb
keb / fly.toml
Last active August 23, 2023 03:57
whoogle deploy on fly
app = "search"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[build]
image = "benbusby/whoogle-search:0.8.3"
[env]
#!/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
@keb
keb / tsm.md
Last active October 8, 2021 15:04
Ubuntu 21.04, Node v14.17.6
$ volta install tsm
success: installed tsm@2.1.0 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(
                              ^
@keb
keb / library.json
Last active May 4, 2024 02:36
PlayniteGistLib. Updated: 05/03/2024 22:36:00
{"count":3761,"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
@keb
keb / foo.ps1
Last active June 24, 2021 00:21
$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
}
@keb
keb / Default%20%28Windows%29.sublime-keymap
Last active July 6, 2020 17:49
sublime_sync_settings
[
{ "keys": ["alt+`"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
{ "keys": ["ctrl+`"], "command": "open_terminal_project_folder" },
{ "keys": ["ctrl+shift+`"], "command": "open_terminal" }
]
@keb
keb / styles.css
Created January 10, 2020 21:23
rwtxt styles
/* 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;
@keb
keb / README.md
Last active October 7, 2020 16:50
firefox configs

firefox configs

Consult userchrome.org for more details about CSS configurations.