Compare commits
1 Commits
65fdfe5509
...
97d867156c
Author | SHA1 | Date | |
---|---|---|---|
97d867156c |
@ -14,6 +14,7 @@ alias docker-compose "podman-compose"
|
||||
|
||||
# Additional paths
|
||||
set PATH $PATH $HOME/.emacs.d/bin
|
||||
set PATH $PATH $HOME/.local/share/scripts
|
||||
|
||||
# fff colors [0-9]
|
||||
set -x FFF_COL1 4
|
||||
|
5
scripts/.local/share/scripts/peerflix
Executable file
5
scripts/.local/share/scripts/peerflix
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
webtorrent download "$1" -s
|
||||
read -p "File number: " nr
|
||||
webtorrent download "$@" -s $nr -o /tmp/webtorrent
|
18
scripts/.local/share/scripts/subject
Executable file
18
scripts/.local/share/scripts/subject
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ $# -lt 2 ]; then
|
||||
echo "Usage: subject.sh <subject name> <subject type>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
name=$1
|
||||
type=$2
|
||||
|
||||
if [ "$type" -eq 0 ]; then
|
||||
mkdir -p "$name"/Code
|
||||
mkdir -p "$name"/TP
|
||||
mkdir -p "$name"/Exos
|
||||
else
|
||||
mkdir -p "$name"/TP
|
||||
mkdir -p "$name"/Exos
|
||||
fi
|
Loading…
Reference in New Issue
Block a user