mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 13:35:10 +01:00
Compare commits
15 Commits
vimreorg
...
838aa1df81
| Author | SHA1 | Date | |
|---|---|---|---|
| 838aa1df81 | |||
| d9bbe483ba | |||
| e9957332e5 | |||
| d47442b87c | |||
| 4c56ee025c | |||
| a525440918 | |||
| 96e9320f89 | |||
| 92306f8125 | |||
| a39e8e6e9e | |||
| ad33a56d7b | |||
| 06de4bad70 | |||
| ea30a5fd0a | |||
| 43fd8e34f5 | |||
| bb3363ae79 | |||
| 8a36201565 |
1
.bashrc
1
.bashrc
@@ -177,6 +177,7 @@ if [ -e ~/.ssh/config.d ]; then
|
||||
[ -e ~/.ssh/config ] && mv ~/.ssh/config ~/.ssh/config.bak.$(date -Is)
|
||||
# Lets preserve order, so you can have 00_generic 10_homestuff 20_work1 21_work2 and such
|
||||
find ~/.ssh/config.d/* -type f -print0 | sort -z | xargs -0 -n1 cat > ~/.ssh/config
|
||||
chmod 600 ~/.ssh/config
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -69,6 +69,9 @@ alias la 'ls -A'
|
||||
alias l 'ls -CF'
|
||||
alias lll 'ls --color=always -alF | less -R'
|
||||
|
||||
alias exa 'exa --icons --header --group-directories-first'
|
||||
alias exatree 'exa --icons --header --group-directories-first --long --tree'
|
||||
|
||||
## Git
|
||||
alias gu "git pull --all"
|
||||
alias gp "git push; git push --tags"
|
||||
|
||||
@@ -175,3 +175,35 @@ naproxen
|
||||
nerden
|
||||
E-depot
|
||||
Carcassonne
|
||||
groepsles
|
||||
kennismakingsdag
|
||||
Jira
|
||||
chippies
|
||||
Battlefield
|
||||
webinar
|
||||
phren
|
||||
farfalle
|
||||
streamen
|
||||
ieuw
|
||||
kattenpoep
|
||||
kerstontbijt
|
||||
ThinkPad
|
||||
spelavond
|
||||
comics
|
||||
refinement
|
||||
datacentrum
|
||||
zometeen
|
||||
hyper
|
||||
inductieplaat
|
||||
level
|
||||
Europaplein
|
||||
Blendle
|
||||
prutten
|
||||
mirai
|
||||
kernel
|
||||
VPN
|
||||
schrapend
|
||||
wastafelkraan
|
||||
cracottes
|
||||
cracotte
|
||||
Picard
|
||||
|
||||
@@ -29,22 +29,24 @@ Futura-Std-Bold-Oblique_19041.ttf
|
||||
Futura-Std-Book_19044.ttf
|
||||
Futura-Std-Book-Oblique_19043.ttf'
|
||||
|
||||
FONTS_OVERPASS=$'overpass-bold-italic.otf
|
||||
overpass-bold.otf
|
||||
overpass-extrabold-italic.otf
|
||||
overpass-extrabold.otf
|
||||
overpass-extralight-italic.otf
|
||||
overpass-extralight.otf
|
||||
overpass-heavy-italic.otf
|
||||
overpass-heavy.otf
|
||||
overpass-italic.otf
|
||||
overpass-light-italic.otf
|
||||
overpass-light.otf
|
||||
overpass-regular.otf
|
||||
overpass-semibold-italic.otf
|
||||
overpass-semibold.otf
|
||||
overpass-thin-italic.otf
|
||||
overpass-thin.otf'
|
||||
FONTS_OVERPASS=$'Overpass-BlackItalic.ttf
|
||||
Overpass-Black.ttf
|
||||
Overpass-BoldItalic.ttf
|
||||
Overpass-Bold.ttf
|
||||
Overpass-ExtraBoldItalic.ttf
|
||||
Overpass-ExtraBold.ttf
|
||||
Overpass-ExtraLightItalic.ttf
|
||||
Overpass-ExtraLight.ttf
|
||||
Overpass-Italic.ttf
|
||||
Overpass-LightItalic.ttf
|
||||
Overpass-Light.ttf
|
||||
Overpass-MediumItalic.ttf
|
||||
Overpass-Medium.ttf
|
||||
Overpass-Regular.ttf
|
||||
Overpass-SemiBoldItalic.ttf
|
||||
Overpass-SemiBold.ttf
|
||||
Overpass-ThinItalic.ttf
|
||||
Overpass-Thin.ttf'
|
||||
|
||||
FONTS_JETBRAINS=$'JetBrainsMono-Bold-Italic.ttf
|
||||
JetBrainsMono-Bold.ttf
|
||||
@@ -88,7 +90,23 @@ Knack RegularOblique Plus Nerd File Types Plus Font Awesome Plus Octicons Plus P
|
||||
Knack Bold Nerd Font Complete Mono.ttf
|
||||
Knack Regular Nerd Font Complete Mono.ttf
|
||||
Knack Bold Italic Nerd Font Complete Mono.ttf
|
||||
Knack Italic Nerd Font Complete Mono.ttf'
|
||||
Knack Italic Nerd Font Complete Mono.ttf
|
||||
overpass-bold-italic.otf
|
||||
overpass-bold.otf
|
||||
overpass-extrabold-italic.otf
|
||||
overpass-extrabold.otf
|
||||
overpass-extralight-italic.otf
|
||||
overpass-extralight.otf
|
||||
overpass-heavy-italic.otf
|
||||
overpass-heavy.otf
|
||||
overpass-italic.otf
|
||||
overpass-light-italic.otf
|
||||
overpass-light.otf
|
||||
overpass-regular.otf
|
||||
overpass-semibold-italic.otf
|
||||
overpass-semibold.otf
|
||||
overpass-thin-italic.otf
|
||||
overpass-thin.otf'
|
||||
|
||||
if [ -e ~/.dot_is_server ]; then
|
||||
# Update from the repo
|
||||
@@ -108,7 +126,7 @@ if [ -e ~/.dot_is_server ]; then
|
||||
|
||||
# Update from the repo
|
||||
echo "== Jetbrains Mono ======"
|
||||
SOURCE_DIR="/stuff/system/fonts/JetBrainsMono/ttf"
|
||||
SOURCE_DIR="/stuff/system/fonts/JetBrainsMono/fonts/ttf"
|
||||
DEST_DIR="/stuff/system/sync/fonts/active"
|
||||
if [ -d "$SOURCE_DIR" ] && [ -d "$DEST_DIR" ]; then
|
||||
cd "$SOURCE_DIR"
|
||||
@@ -123,7 +141,7 @@ if [ -e ~/.dot_is_server ]; then
|
||||
|
||||
# Update from the repo
|
||||
echo "== Overpass ======"
|
||||
SOURCE_DIR="/stuff/system/fonts/Overpass/desktop-fonts/overpass"
|
||||
SOURCE_DIR="/stuff/system/fonts/Overpass/fonts/ttf"
|
||||
DEST_DIR="/stuff/system/sync/fonts/active"
|
||||
if [ -d "$SOURCE_DIR" ] && [ -d "$DEST_DIR" ]; then
|
||||
cd "$SOURCE_DIR"
|
||||
|
||||
48
bin/mac.sh
Executable file
48
bin/mac.sh
Executable file
@@ -0,0 +1,48 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Stolen from https://raw.githubusercontent.com/Cybertinus/macvendor_extractor/master/mac.sh
|
||||
|
||||
##########
|
||||
# CONFIG #
|
||||
##########
|
||||
|
||||
# Download from http://standards-oui.ieee.org/oui/oui.txt
|
||||
ouilocation="${HOME}/.dot/oui.txt"
|
||||
|
||||
#################
|
||||
# ACTUAL SCRIPT #
|
||||
#################
|
||||
|
||||
if [ ! -f "${ouilocation}" ] ; then
|
||||
echo "OUI location can not be found at ${ouilocation}. Have you updated the config?" 1>&2
|
||||
read -p "Do you want to download it now [y/N]? " -n 1 -r
|
||||
echo # (optional) move to a new line
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
wget https://standards-oui.ieee.org/oui/oui.txt -O "${ouilocation}"
|
||||
else
|
||||
echo "Aborted"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $(find "${ouilocation}" -mtime +30 -print) ]]; then
|
||||
echo "File ${ouilocation} is older than 30 days"
|
||||
fi
|
||||
|
||||
if [ -z "${1}" ] ; then
|
||||
echo 'No mac address specified, please do so as first argument' 1>&2
|
||||
exit 2
|
||||
fi
|
||||
|
||||
macaddress="$(echo "${1}" | sed -e 's/[-.:]//g' | tr '[:lower:]' '[:upper:]')"
|
||||
macaddress="${macaddress:0:6}"
|
||||
echo -n "${1} = "
|
||||
|
||||
vendor="$(awk "/^${macaddress}/ {print substr(\$0,index(\$0,\$4))}" "${ouilocation}")"
|
||||
if [ -z "${vendor}" ] ; then
|
||||
echo "Not specified in ${ouilocation}"
|
||||
else
|
||||
echo "${vendor}"
|
||||
fi
|
||||
|
||||
@@ -6,6 +6,5 @@ find . -type f -name '*.zip' -exec sh -c '
|
||||
zipdir=$(basename "$file" .zip)
|
||||
#echo "$zipdir $file"
|
||||
unzip -d "$zipdir" "$file"
|
||||
read line </dev/tty
|
||||
done
|
||||
' sh {} +
|
||||
|
||||
@@ -4,4 +4,4 @@ git pull
|
||||
cd ~/divaultphren
|
||||
git pull
|
||||
#vim -c ":vsp planning_2015.todo" notes_2015.md notes_2014.md
|
||||
vim -c "set nofoldenable" ~/mydocs/work/divault/planning_2021.todo ~/divaultphren/index.md
|
||||
vim -c "set nofoldenable" ~/mydocs/work/divault/planning_2022.todo ~/divaultphren/index.md
|
||||
|
||||
Reference in New Issue
Block a user