Skip to content

Instantly share code, notes, and snippets.

View EmilyGraceSeville7cf's full-sized avatar

Maisa Unbelievable EmilyGraceSeville7cf

  • Canada, Toronto
  • 14:36 (UTC -12:00)
View GitHub Profile
@EmilyGraceSeville7cf
EmilyGraceSeville7cf / linked-list-stack.go
Created March 3, 2024 13:07
Linked list based stack
package main
import (
"errors"
"fmt"
"os"
"github.com/fatih/color"
)
@EmilyGraceSeville7cf
EmilyGraceSeville7cf / bla bla
Created February 27, 2024 19:48
My test Gist
I love just Lana
@EmilyGraceSeville7cf
EmilyGraceSeville7cf / bla bla
Created February 27, 2024 19:34
My test Gist
I love just Lana
@EmilyGraceSeville7cf
EmilyGraceSeville7cf / bla bla
Created February 27, 2024 19:33
My test Gist
I love just Lana
@EmilyGraceSeville7cf
EmilyGraceSeville7cf / bla bla
Created February 27, 2024 18:00
My test Gist
I love just Lana
@EmilyGraceSeville7cf
EmilyGraceSeville7cf / music-sorter.fish
Created November 16, 2023 16:29
Moves *.mp3 files from ~/Downloads to ~/Music subdirectories created based on artist names.
#!/usr/bin/env fish
function __ms_message
set --local message $argv[1]
echo (set_color red)$message(set_color normal) >&2
notify-send --urgency normal $message
end
function __ms_resort
for song in ~/Downloads/*.mp3
@EmilyGraceSeville7cf
EmilyGraceSeville7cf / vwd.webinfo
Created August 9, 2023 11:00
src/vwd.webinfo
<?xml version="1.0"?>
<!--
Visual Studio global web project settings.
-->
<VisualWebDeveloper>
<Globals>
@EmilyGraceSeville7cf
EmilyGraceSeville7cf / shortcuts.sh
Last active July 16, 2023 14:03
Get Warp shortcut shortcuts
#!/usr/bin/env bash
to_css_path() {
declare in_number="$1"
declare prefix='/html/body/div[1]/div/div/div[2]/div/div[2]/div/div/main/div[2]/div[1]/div/'
declare suffix='/div/div/div/div/div/div/div/div/div/div/div/div/div/table'
echo "${prefix}div[$in_number]$suffix" |
sed --regexp-extended 's|/html/body/||' |
declare -x BAMF_DESKTOP_FILE_HINT="/var/lib/snapd/desktop/applications/code_code.desktop"
declare -- BASH="/usr/bin/bash"
declare -r BASHOPTS="checkwinsize:cmdhist:complete_fullquote:expand_aliases:extglob:extquote:force_fignore:globasciiranges:histappend:inherit_errexit:interactive_comments:progcomp:promptvars:sourcepath"
declare -i BASHPID="44846"
declare -A BASH_ALIASES=([alert]="notify-send --urgency=low -i \"\$([ \$? = 0 ] && echo terminal || echo error)\" \"\$(history|tail -n1|sed -e 's/^\\s*[0-9]\\+\\s*//;s/[;&|]\\s*alert\$//')\"" [egrep]="egrep --color=auto" [grep]="grep --color=auto" [fgrep]="fgrep --color=auto" [ll]="ls -alF" [la]="ls -A" [l]="ls -CF" [ls]="ls --color=auto" )
declare -a BASH_ARGC=([0]="0")
declare -a BASH_ARGV=()
declare -- BASH_ARGV0
declare -A BASH_CMDS=()
declare -- BASH_COMMAND="LINENO=\$_ble_edit_LINENO BASH_COMMAND=\$_ble_edit_exec_BASH_COMMAND blehook/invoke \"\$@\""
[Trace - 5:48:41 AM] Sending request 'initialize - (0)'.
Params: {
"processId": 35398,
"clientInfo": {
"name": "Visual Studio Code",
"version": "1.78.0"
},
"locale": "en",
"rootPath": "/home/emilyseville7cfg/Documents/open-source/nu/nu-shell",
"rootUri": "file:///home/emilyseville7cfg/Documents/open-source/nu/nu-shell",