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
package main | |
import ( | |
"crypto/hmac" | |
"crypto/sha1" | |
"crypto/subtle" | |
"encoding/hex" | |
"fmt" | |
"os" | |
) |
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
add_newline = true | |
[character] | |
success_symbol = "[➜](bold green)" | |
[package] | |
disabled = true | |
[directory] | |
truncation_length = 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
# Configuration for Alacritty, the GPU enhanced terminal emulator. | |
# Import additional configuration files | |
# | |
# Imports are loaded in order, skipping all missing files, with the importing | |
# file being loaded last. If a field is already present in a previous import, it | |
# will be replaced. | |
# | |
# All imports must either be absolute paths starting with `/`, or paths relative | |
# to the user's home directory starting with `~/`. |
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
function gh-filter-issue --description "Filter GH Issues" | |
# Mutually exclusive flags: | |
# - label, interactive: you cannot bot specify a | |
# label and interactively filter on label. | |
argparse --name gh-filter-issue --exclusive l,i h/help r/repo= l/label= c/cmd= i/interactive s/state= -- $argv | |
or return # this is needed if argparse fails and we want to halt. | |
for req in gh fzf gum jq | |
if ! command -q $req | |
echo "$req is required to run this function." |
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/fish | |
set -l deps fzf rg curl sort tar | |
set -l destination ~/.local | |
set -l go_loc $destination/go | |
set -l version_home https://go.dev/dl/ | |
set -l dl_base https://dl.google.com/go | |
set -l ERR_MISSING_DEP 1 | |
set -l ERR_INSTALL 2 |
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 csv | |
import math | |
def diameter(rad): | |
return rad*2 | |
def surface(rad): | |
return 4*math.pi*pow(rad,2) |
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 MelvorQOL | |
// @namespace jwhett | |
// @version 1.1 | |
// @description MelvorIdle QOL improvements | |
// @author Josh Whetton | |
// @match https://*.melvoridle.com/* | |
// @grant none | |
// ==/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
startup_file=layout1.txt | |
macro_speed=5 | |
game_mode=OFF | |
status_play_speed=3 | |
program_key_lock=OFF | |
v_drive=manual | |
led_mode=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
# Read `man 5 sway` for a complete reference. | |
# Also check this out: https://fedoramagazine.org/setting-up-the-sway-window-manager-on-fedora/ | |
############# | |
# Variables # | |
############# | |
# Logo key. Use Mod1 for Alt. | |
set $mod Mod4 |
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
# Read `man 5 sway` for a complete reference. | |
# Also check this out: https://fedoramagazine.org/setting-up-the-sway-window-manager-on-fedora/ | |
############# | |
# Variables # | |
############# | |
# Logo key. Use Mod1 for Alt. | |
set $mod Mod4 |
NewerOlder