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
alias fetchyml="$HOME/Repository/common/Scripts/yauto.py" | |
alias updateyml="/usr/share/ypkg/yupdate.py" | |
function neweopkg -a directory url -d "Create directory for new eopkg package" | |
mkdir $directory | |
if test $status = 0 | |
cd $directory | |
echo "include ../Makefile.common" > Makefile | |
fetchyml $ur | |
end |
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 | |
function print_help | |
printf "\n%s\n" "Usage: tag-music [options] [filename]" | |
printf "\n%s\n" "Options:" | |
printf "%s\t%s\n" "-h, --help" "Show this help message and exit" | |
printf "%s\t%s\n" "-e, --edit" "Edit the tag, use the preexisting values if available" | |
end |
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
[Plugin] | |
Loader=python3 | |
Module=hellobudgie | |
Name=Python Sample Applet | |
Description=Python Sample Applet | |
Authors=Yurizal Susanto | |
Copyright=Copyright © 2019 Yurizal Susanto | |
Website=https://getsol.us | |
Icon=user-desktop-symbolic |
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 | |
# Change player variable to the name of your media player. E.g. vlc or spotify. | |
player='rhythmbox' | |
iface='org.mpris.MediaPlayer2' | |
dest="$iface.$player" | |
obj='/org/mpris/MediaPlayer2' | |
props=`gdbus introspect --session --dest $dest --object-path $obj --only-properties` |
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 ( | |
"fmt" | |
"net/http" | |
) | |
type HandlerFunc[T, V any] func(data T, r *http.Request, rw http.ResponseWriter) (V, error) | |
type BindFunc[T any] func(r *http.Request) T |