This is a collection of dotfiles and scripts for my bspwm setup
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
depend() {
|
|
|
|
pactree -u -d 1 $1 | tail -n +2
|
|
|
|
}
|
|
|
|
|
|
|
|
java-doc() {
|
|
|
|
mkdir -p './doc';
|
|
|
|
javadoc -d './doc' *.java
|
|
|
|
}
|
|
|
|
|
|
|
|
java-run() {
|
|
|
|
mkdir -p './out';
|
|
|
|
javac -d './out' "$1.java";
|
|
|
|
java -cp './out' "$1"
|
|
|
|
}
|
|
|
|
|
|
|
|
raspbian() {
|
|
|
|
sudo systemctl start avahi-daemon.service
|
|
|
|
if ! ip a show usb0 | grep -q 'inet6'; then
|
|
|
|
sudo dhcpcd usb0
|
|
|
|
fi
|
|
|
|
ssh -6 pi@$(avahi-resolve-host-name raspberrypi.local | awk '{ print $2 }')%usb0
|
|
|
|
sudo systemctl stop avahi-daemon.service
|
|
|
|
}
|
|
|
|
|
|
|
|
"$@"
|