Compare commits
5 Commits
8844317e79
...
232a3f23fe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
232a3f23fe | ||
|
|
ca6b5fda50 | ||
|
|
447dea4162 | ||
|
|
d6b7305b37 | ||
|
|
a934f76c47 |
41
docker_build
41
docker_build
@@ -44,22 +44,25 @@ if ! rc-service docker status > /dev/null; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
build /home/_aspil0w/git/Byron
|
||||
build /home/_aspil0w/git/CoverLetter
|
||||
build /home/_aspil0w/git/CurriculumVitae
|
||||
build /home/_aspil0w/git/dotfiles
|
||||
build /home/_aspil0w/git/ESP32Manager
|
||||
build /home/_aspil0w/git/haskell_playground
|
||||
build /home/_aspil0w/git/IntershipReport
|
||||
build /home/_aspil0w/git/notebook
|
||||
build /home/_aspil0w/git/portfolio no_ssl
|
||||
build /home/_aspil0w/git/portfolio_ivo no-ssl
|
||||
build /home/_aspil0w/git/SimpleGradientDescent
|
||||
build /home/_aspil0w/git/sorting_algorithms
|
||||
build /home/_aspil0w/git/VariationalAutoEncoder
|
||||
build /home/_aspil0w/git/ViolaJones
|
||||
build /home/_aspil0w/git/wgan-gp
|
||||
build /home/_aspil0w/git/WGAN-GP_Pytorch
|
||||
build /home/_aspil0w/git/workspace/Data\ analysis/Speed\ dating\ experiment
|
||||
build /home/_aspil0w/git/workspace/Miage/M2/Implementation\ de\ l\'IA
|
||||
build /usr/local/src/Ventoy
|
||||
build ~/git/Byron
|
||||
build ~/git/CoverLetter
|
||||
build ~/git/CurriculumVitae
|
||||
build ~/git/dotfiles
|
||||
build ~/git/ESP32Manager
|
||||
build ~/git/haskell_playground
|
||||
build ~/git/IntershipReport
|
||||
build ~/git/notebook
|
||||
build ~/git/portfolio no_ssl
|
||||
build ~/git/portfolio_ivo no-ssl
|
||||
build ~/git/SimpleGradientDescent
|
||||
build ~/git/sorting_algorithms
|
||||
build ~/git/VariationalAutoEncoder
|
||||
build ~/git/ViolaJones
|
||||
build ~/git/wgan-gp
|
||||
build ~/git/WGAN-GP_Pytorch
|
||||
build ~/git/workspace/Data\ analysis/Speed\ dating\ experiment
|
||||
build ~/git/workspace/Miage/M2/Implementation\ de\ l\'IA
|
||||
build ~/git/workspace/personnal_projects/open_webui
|
||||
build ~/git/workspace/personnal_projects/kiwix
|
||||
build ~/git/workspace/personnal_projects/compiler-explorer
|
||||
build ~/git/Ventoy
|
||||
|
||||
7
get_configs.sh
Executable file
7
get_configs.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
rsync -v mainpc:~/git/dotfiles/installer/MAINPC.config ~/git/dotfiles/installer/MAINPC.config
|
||||
rsync -v streampc:~/git/dotfiles/installer/STREAMPC.config ~/git/dotfiles/installer/STREAMPC.config
|
||||
rsync -v frameworklaptop:~/git/dotfiles/installer/FRAMEWORK_LAPTOP.config ~/git/dotfiles/installer/FRAMEWORK_LAPTOP.config
|
||||
rsync -v asuslaptop:~/git/dotfiles/installer/ASUS_LAPTOP.config ~/git/dotfiles/installer/ASUS_LAPTOP.config
|
||||
cp -v ~/Transfer\ Folder/VIRTUAL.config ~/git/dotfiles/installer/VIRTUAL.config
|
||||
191
test-fonts.sh
Executable file
191
test-fonts.sh
Executable file
@@ -0,0 +1,191 @@
|
||||
#!/usr/bin/env bash
|
||||
# Nerd Fonts Version: 3.4.0
|
||||
# Script Version: 1.1.1
|
||||
|
||||
# Run this script in your local bash:
|
||||
# curl https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/bin/scripts/test-fonts.sh | bash
|
||||
# Is possible to change the number of columns passing a number as the first parameter (default=16):
|
||||
# ./test-fonts.sh 8
|
||||
|
||||
# Given an array of decimal numbers print all unicode codepoint.
|
||||
function print-decimal-unicode-range() {
|
||||
local originalSequence=("$@")
|
||||
local counter=0
|
||||
# Use alternating colors to see which symbols extend out of the bounding
|
||||
# box.
|
||||
local bgColorBorder='\033[48;5;8m'
|
||||
local bgColorCode='\033[48;5;246m'
|
||||
local alternateBgColorCode='\033[48;5;240m'
|
||||
local bgColorChar='\033[48;5;66m'
|
||||
local alternateBgColorChar='\033[48;5;60m'
|
||||
local underline='\033[4m'
|
||||
local currentColorCode="${bgColorCode}"
|
||||
local currentColorChar="${bgColorChar}"
|
||||
local reset_color='\033[0m'
|
||||
local allChars=""
|
||||
local allCodes=""
|
||||
local wrapAt=16
|
||||
[[ "$wrappingValue" =~ ^[0-9]+$ ]] && [ "$wrappingValue" -gt 2 ] && wrapAt="$wrappingValue"
|
||||
local topLineStart="${bgColorBorder}╔═══"
|
||||
local topLineMiddle="═══╦═══"
|
||||
local topLineEnd="═══╗${reset_color}"
|
||||
local bottomLineStart="${bgColorBorder}╚═══"
|
||||
local bottomLineMiddle="═══╩═══"
|
||||
local bottomLineEnd="═══╝${reset_color}"
|
||||
local lineStart="${bgColorBorder}╠═══"
|
||||
local lineMiddle="═══╬═══"
|
||||
local lineEnd="═══╣${reset_color}"
|
||||
local bar="${bgColorBorder}║${reset_color}"
|
||||
local originalSequenceLength=${#originalSequence[@]}
|
||||
local leftoverSpaces=$((wrapAt - (originalSequenceLength % wrapAt)))
|
||||
|
||||
# add fillers to array to maintain table:
|
||||
if [ "$leftoverSpaces" -lt "$wrapAt" ]; then
|
||||
for ((c = 1; c <= leftoverSpaces; c++)); do
|
||||
originalSequence+=(0)
|
||||
done
|
||||
fi
|
||||
|
||||
local sequenceLength=${#originalSequence[@]}
|
||||
|
||||
printf "%b" "$topLineStart"
|
||||
for ((c = 2; c <= wrapAt; c++)); do
|
||||
printf "%b" "$topLineMiddle"
|
||||
done
|
||||
printf "%b\\n" "$topLineEnd"
|
||||
|
||||
for decimalCode in "${originalSequence[@]}"; do
|
||||
local hexCode
|
||||
hexCode=$(printf '%x' "${decimalCode}")
|
||||
local code="${hexCode}"
|
||||
local char="\\U${hexCode}"
|
||||
|
||||
# fill in placeholder cells properly formatted:
|
||||
if [ "${char}" = "\\U0" ]; then
|
||||
char=" "
|
||||
code=""
|
||||
fi
|
||||
|
||||
filler=""
|
||||
for ((c = ${#code}; c < 5; c++)); do
|
||||
filler=" ${filler}"
|
||||
done
|
||||
|
||||
allCodes+="${currentColorCode}${filler}${underline}${code}${reset_color}${currentColorCode} ${reset_color}$bar"
|
||||
allChars+="${currentColorChar} ${char} ${reset_color}$bar"
|
||||
counter=$((counter + 1))
|
||||
count=$(( (count + 1) % wrapAt))
|
||||
|
||||
if [[ $count -eq 0 ]]; then
|
||||
|
||||
if [[ "${currentColorCode}" = "${alternateBgColorCode}" ]]; then
|
||||
currentColorCode="${bgColorCode}"
|
||||
currentColorChar="${bgColorChar}"
|
||||
else
|
||||
currentColorCode="${alternateBgColorCode}"
|
||||
currentColorChar="${alternateBgColorChar}"
|
||||
fi
|
||||
|
||||
printf "%b%b%b" "$bar" "$allCodes" "$reset_color"
|
||||
printf "\\n"
|
||||
printf "%b%b%b" "$bar" "$allChars" "$reset_color"
|
||||
printf "\\n"
|
||||
|
||||
if [ "$counter" != "$sequenceLength" ]; then
|
||||
printf "%b" "$lineStart"
|
||||
for ((c = 2; c <= wrapAt; c++)); do
|
||||
printf "%b" "$lineMiddle"
|
||||
done
|
||||
printf "%b\\n" "$lineEnd"
|
||||
fi
|
||||
|
||||
allCodes=""
|
||||
allChars=""
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
printf "%b" "$bottomLineStart"
|
||||
for ((c = 2; c <= wrapAt; c++)); do
|
||||
printf "%b" "$bottomLineMiddle"
|
||||
done
|
||||
printf "%b\\n" "$bottomLineEnd"
|
||||
|
||||
|
||||
}
|
||||
|
||||
function print-unicode-ranges() {
|
||||
echo ''
|
||||
|
||||
local arr=("$@")
|
||||
local len=$#
|
||||
local combinedRanges=()
|
||||
|
||||
for ((j=0; j<len; j+=2)); do
|
||||
local start="${arr[$j]}"
|
||||
local end="${arr[(($j+1))]}"
|
||||
local startDecimal=$((16#$start))
|
||||
local endDecimal=$((16#$end))
|
||||
|
||||
# shellcheck disable=SC2207 # We DO WANT the output to be split
|
||||
combinedRanges+=($(seq "$startDecimal" "$endDecimal"))
|
||||
|
||||
done
|
||||
|
||||
print-decimal-unicode-range "${combinedRanges[@]}"
|
||||
|
||||
}
|
||||
|
||||
function test-fonts() {
|
||||
echo "Nerd Fonts - Pomicons"
|
||||
print-unicode-ranges e000 e00a
|
||||
echo; echo
|
||||
|
||||
echo "Nerd Fonts - Powerline"
|
||||
print-unicode-ranges e0a0 e0a2 e0b0 e0b3
|
||||
echo; echo
|
||||
|
||||
echo "Nerd Fonts - Powerline Extra"
|
||||
print-unicode-ranges e0a3 e0a3 e0b4 e0c8 e0cc e0d2 e0d4 e0d4 e0d6 e0d7
|
||||
echo; echo
|
||||
|
||||
echo "Nerd Fonts - Symbols original"
|
||||
print-unicode-ranges e5fa e6b2
|
||||
echo; echo
|
||||
|
||||
echo "Nerd Fonts - Devicons"
|
||||
print-unicode-ranges e700 e7c5
|
||||
echo; echo
|
||||
|
||||
echo "Nerd Fonts - Font awesome"
|
||||
print-unicode-ranges f000 f2e0
|
||||
echo; echo
|
||||
|
||||
echo "Nerd Fonts - Font awesome extension"
|
||||
print-unicode-ranges e200 e2a9
|
||||
echo; echo
|
||||
|
||||
echo "Nerd Fonts - Octicons"
|
||||
print-unicode-ranges f400 f4a8 2665 2665 26A1 26A1 f27c f27c
|
||||
echo; echo
|
||||
|
||||
echo "Nerd Fonts - Font Logos"
|
||||
print-unicode-ranges f300 f372
|
||||
echo; echo
|
||||
|
||||
echo "Nerd Fonts - Font Power Symbols"
|
||||
print-unicode-ranges 23fb 23fe 2b58 2b58
|
||||
echo; echo
|
||||
|
||||
echo "Nerd Fonts - Material Design Icons (first few)"
|
||||
print-unicode-ranges f0001 f0010
|
||||
echo; echo
|
||||
|
||||
echo "Nerd Fonts - Weather Icons"
|
||||
print-unicode-ranges e300 e3eb
|
||||
echo; echo
|
||||
}
|
||||
|
||||
wrappingValue="$1"
|
||||
|
||||
test-fonts
|
||||
@@ -17,7 +17,7 @@ header(){
|
||||
|
||||
VENV_PATH='./.venv'
|
||||
|
||||
python -m venv --upgrade-deps "$VENV_PATH"
|
||||
python3.13 -m venv --upgrade-deps "$VENV_PATH"
|
||||
# shellcheck disable=1091
|
||||
if [ -f "$VENV_PATH"/Scripts/activate ]; then . "$VENV_PATH"/Scripts/activate
|
||||
elif [ -f "$VENV_PATH"/bin/activate ]; then . "$VENV_PATH"/bin/activate
|
||||
|
||||
Reference in New Issue
Block a user