From 390427b8bf110ac745418dc9b9736802c715f43f Mon Sep 17 00:00:00 2001 From: GarandPLG Date: Sat, 23 Aug 2025 08:50:28 +0200 Subject: [PATCH] init --- .bash_aliases | 111 +++ .bash_functions | 142 ++++ .bash_history | 2026 +++++++++++++++++++++++++++++++++++++++++++++++ .bash_logout | 7 + .bash_profile | 3 + .bashrc | 94 +++ .profile | 42 + 7 files changed, 2425 insertions(+) create mode 100644 .bash_aliases create mode 100644 .bash_functions create mode 100644 .bash_history create mode 100644 .bash_logout create mode 100644 .bash_profile create mode 100644 .bashrc create mode 100644 .profile diff --git a/.bash_aliases b/.bash_aliases new file mode 100644 index 0000000..9bc02b1 --- /dev/null +++ b/.bash_aliases @@ -0,0 +1,111 @@ +# ~/.bash_aliases: Custom command aliases + +# Development aliases +alias srvenv="source .venv/bin/activate" +alias ..srvenv="source ../.venv/bin/activate" +alias pm="uv run manage.py" +alias bbr="bun --bun run" +alias mkgidf="git add . --intent-to-add . && git diff > git-diff.txt" +alias snano='sudo nano' +alias zed='MANGOHUD=0 /home/garand_plg/.local/bin/zed' + +# System aliases +alias flush_codium="sudo killall codium && sudo rm -rf ~/.config/VSCodium/Cache && sudo rm -rf ~/.config/VSCodium/CachedData" +alias kys="shutdown now" +alias ookla="speedtest" +alias upd="sudo nala update" +alias upg="sudo nala full-upgrade" +alias snala="sudo nala" +alias btrfscheck="sudo btrfs filesystem usage / && echo && df -h /" + +# Navigation aliases +alias ~='cd ~' +alias ..='cd ..' +alias ...='cd ../..' +alias ....='cd ../../..' +alias .....='cd ../../../..' + +# Modifies commands +alias nalaf="apt list 2>/dev/null | grep -v WARNING | cut -d'/' -f1 | fzf --multi --preview 'apt show {1} 2>/dev/null' --preview-window=down:75% | xargs -ro sudo nala install" +alias cat="batcat" +alias cp='cp -i' +alias mv='mv -i' +alias rm='trash -v' +alias mkdir='mkdir -p' +alias ps='ps auxf' +alias ping='ping -c 10' +alias less='less -R' +alias cls='clear' +alias apt-get='sudo apt-get' +alias multitail='multitail --no-repeat -c' +alias freshclam='sudo freshclam' + +# Alias's for multiple directory listing commands +alias la='eza -alh --icons' # show hidden files +alias ls='eza -aF --icons --color=always' # add colors and file type extensions +alias lx='eza -lh --icons --sort=extension' # sort by extension +alias lk='eza -lh --icons --sort=size --reverse' # sort by size +alias lc='eza -lh --icons --sort=changed' # sort by change time +alias lu='eza -lh --icons --sort=accessed' # sort by access time +alias lr='eza -lh --icons --recurse' # recursive ls +alias lt='eza -lh --icons --sort=modified' # sort by date +alias lm='eza -alh --icons | more' # pipe through 'more' +alias lw='eza -xh --icons' # wide listing format +alias ll='eza -lh --icons' # long listing format +alias labc='eza -lah --icons --sort=name' # alphabetical sort +alias lf="eza -lh --icons | grep -v '^d'" # files only (przybliżenie) +alias ldir="eza -lh --icons --only-dirs" # directories only +alias lla='eza -alh --icons' # List and Hidden Files +alias las='eza -a --icons' # Hidden Files +alias lls='eza -lh --icons' # List + +# alias chmod commands +alias mx='chmod a+x' +alias 000='chmod -R 000' +alias 644='chmod -R 644' +alias 666='chmod -R 666' +alias 755='chmod -R 755' +alias 777='chmod -R 777' + +# Search command line history +alias h="history | grep " + +# Search running processes +alias p="ps aux | grep " +alias topcpu="/bin/ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10" + +# Search files in the current folder +alias f="find . | grep " + +# Count all files (recursively) in the current folder +alias countfiles="for t in files links directories; do echo \`find . -type \${t:0:1} | wc -l\` \$t; done 2> /dev/null" + +# Alias's to show disk space and space used in a folder +alias diskspace="du -S | sort -n -r |more" +alias folders='du -h --max-depth=1' +alias folderssort='find . -maxdepth 1 -type d -print0 | xargs -0 du -sk | sort -rn' +alias tree='tree -CAhF --dirsfirst' +alias treed='tree -CAFd' +alias mountedinfo='df -hT' + +# Show all logs in /var/log +alias logs="sudo find /var/log -type f -exec file {} \; | grep 'text' | cut -d' ' -f1 | sed -e's/:$//g' | grep -v '[0-9]$' | xargs tail -f" + +alias kssh="kitty +kitten ssh" + + +alias docker-clean=' \ + docker container prune -f ; \ + docker image prune -f ; \ + docker network prune -f ; \ + docker volume prune -f ' + +# Remove a directory and all files +alias rmd='/bin/rm --recursive --force --verbose ' + +# Fun aliases +alias pasjans="ttysolitaire -p 10 --no-background-color" +alias fc="fortune | cowsay" + +# Network aliases +alias ssh-server="kssh garand_plg@192.168.1.156 -i ~/.ssh/hp-t640-homeserver" diff --git a/.bash_functions b/.bash_functions new file mode 100644 index 0000000..508a9cb --- /dev/null +++ b/.bash_functions @@ -0,0 +1,142 @@ +# ~/.bash_functions: Custom bash functions + +# Quick directory creation and navigation +mkcd() { + mkdir -p "$1" && cd "$1" +} + +# Extract various archive formats +extract() { + for archive in "$@"; do + if [ -f "$archive" ]; then + case "$archive" in + *.tar.bz2) tar xvjf "$archive" ;; + *.tar.gz) tar xvzf "$archive" ;; + *.bz2) bunzip2 "$archive" ;; + *.rar) unrar x "$archive" ;; + *.gz) gunzip "$archive" ;; + *.tar) tar xvf "$archive" ;; + *.tbz2) tar xvjf "$archive" ;; + *.tgz) tar xvzf "$archive" ;; + *.zip) unzip "$archive" ;; + *.Z) uncompress "$archive" ;; + *.7z) 7z x "$archive" ;; + *) echo "don't know how to extract '$archive'..." ;; + esac + else + echo "'$archive' is not a valid file!" + fi + done +} + +# Find files quickly +ff() { + find . -name "*$1*" -type f +} + +# Find directories quickly +fd() { + find . -name "*$1*" -type d +} + +# IP address lookup +alias whatismyip="whatsmyip" +function whatsmyip () { + # Internal IP Lookup. + if command -v ip &> /dev/null; then + echo -n "Internal IP: " + ip addr show wlan0 | grep "inet " | awk '{print $2}' | cut -d/ -f1 + else + echo -n "Internal IP: " + ifconfig wlan0 | grep "inet " | awk '{print $2}' + fi + + # External IP Lookup + echo -n "External IP: " + curl -4 ifconfig.me +} + +# Searches for text in all files in the current folder +ftext() { + # -i case-insensitive + # -I ignore binary files + # -H causes filename to be printed + # -r recursive search + # -n causes line number to be printed + # optional: -F treat search term as a literal, not a regular expression + # optional: -l only print filenames and not the matching lines ex. grep -irl "$1" * + grep -iIHrn --color=always "$1" . | less -r +} + +# Copy file with a progress bar +cpp() { + set -e + strace -q -ewrite cp -- "${1}" "${2}" 2>&1 | + awk '{ + count += $NF + if (count % 10 == 0) { + percent = count / total_size * 100 + printf "%3d%% [", percent + for (i=0;i<=percent;i++) + printf "=" + printf ">" + for (i=percent;i<100;i++) + printf " " + printf "]\r" + } + } + END { print "" }' total_size="$(stat -c '%s' "${1}")" count=0 +} + +# Copy and go to the directory +cpg() { + if [ -d "$2" ]; then + cp "$1" "$2" && cd "$2" + else + cp "$1" "$2" + fi +} + +# Move and go to the directory +mvg() { + if [ -d "$2" ]; then + mv "$1" "$2" && cd "$2" + else + mv "$1" "$2" + fi +} + +# Create and go to the directory +mkdirg() { + mkdir -p "$1" + cd "$1" +} + +# Goes up a specified number of directories (i.e. up 4) +up() { + local d="" + limit=$1 + for ((i = 1; i <= limit; i++)); do + d=$d/.. + done + d=$(echo $d | sed 's/^\///') + if [ -z "$d" ]; then + d=.. + fi + cd $d +} + +# Automatically do an ls after each cd, z, or zoxide +cd () +{ + if [ -n "$1" ]; then + builtin cd "$@" && ls + else + builtin cd ~ && ls + fi +} + +# Returns the last 2 fields of the working directory +pwdtail() { + pwd | awk -F/ '{nlast = NF -1;print $nlast"/"$NF}' +} diff --git a/.bash_history b/.bash_history new file mode 100644 index 0000000..a842c8d --- /dev/null +++ b/.bash_history @@ -0,0 +1,2026 @@ +#1752593675 +sudo DOCKER_HOST=unix:///var/run/docker.sock docker build -t softwarelogic-www:latest . +#1752593811 +echo $DOCKER_HOST +#1752593816 +docker build -t softwarelofic-www:latest . +#1752593831 +ls -l /var/run/docker.sock +#1752593863 +sudo chown root:docker /var/run/docker.sock +#1752593863 +sudo chmod 660 /var/run/docker.sock +#1752593866 +ls -l /var/run/docker.sock +#1752593871 +docker build -t softwarelofic-www:latest . +#1752593808 +newgrp docker +#1752583934 +..srvenv && pm runserver +#1752594037 +fastfetch +#1752594051 +docker +#1752594116 +docker build -t softwarelofic-www:latest ./Projects/sofrwarelogic-www/softwarelogic-www +#1752594261 +cd Projects/sofrwarelogic-www/softwarelogic-www +#1752594268 +docker build -t softwarelofic-www:latest . +#1752594332 +ls +#1752594335 +la +#1752594346 +cd ~ +#1752594351 +cd Projects/sofrwarelogic-www/softwarelogic-www +#1752594352 +~ +#1752594362 +nano ~/.bash_aliases +#1752594384 +source ~/.profile +#1752594385 +~ +#1752594401 +cd .docker/ +#1752594430 +rm -rf ~/.docker/config.json +#1752594466 +unset DOCKER_HOST +#1752594473 +source ~/.profile +#1752594478 +docker info +#1752594511 +printenv | grep DOCKER +#1752594525 +.. +#1752594533 +docker build -t softwarelofic-www:latest . +#1752594562 +docker build -t softwarelofic-www:latest ./Projects/sofrwarelogic-www/softwarelogic-www +#1752594588 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1752594617 +docker build -t softwarelofic-www:latest . +#1752595004 +sudo journalctl --vacuum-size=100M +#1752595037 +sudo snapper list +#1752595070 +docker build -t softwarelofic-www:latest . +#1752595767 +..srvenv && pm runserver +#1752595901 +docker build +#1752595911 +bun run build +#1752595959 +bun run start +#1752596180 +bun run dev +#1752598114 +bun run dev:turbopack +#1752598543 +... +#1752598553 +docker-compose up -d --build +#1752598567 +docker-compose --build up -d +#1752598580 +docker-compose up -d --build +#1752601759 +docker-compose up down +#1752601764 +docker-compose down +#1752601970 +docker-compose up -d --build +#1752603663 +docker-compose down +#1752603677 +docker-compose up -d --build +#1752605493 +ls +#1752605483 +docker-compose down +#1752605495 +cd softwarelogic-www +#1752605503 +bun --bun run dev:turbopack +#1752608889 +bun add react-country-flag +#1752608905 +bun --bun run dev:turbopack +#1752613365 +git checkout main +#1752613378 +git stash -m "sjakj" +#1752613380 +git checkout main +#1752613384 +git pull +#1752613408 +git stash pop +#1752613460 +git checkout -b fixy_oraz_poprawki_rss +#1752613561 +bun run lint +#1752613604 +bun run fmt +#1752602908 +pm runserver +#1752614547 +git pull +#1752614570 +git checkout -b fix_alt_obrazka +#1752614924 +upd +#1752615032 +df -h / +#1752615086 +sudo nala clean +#1752615130 +sudo nala autoclean +#1752615134 +sudo apt autoclean +#1752615159 +snala autoremove --purge +#1752615163 +sudo nala autoremove --purge +#1752615178 +df -h +#1752615206 +sudo journalctl --vacuum-time=7d +#1752615206 +sudo journalctl --vacuum-size=100M +#1752615217 +sudo rm -rf /tmp/* +#1752615217 +sudo rm -rf /var/tmp/* +#1752615222 +df -h +#1752615240 +nalaf +#1752615039 +sudo du -sh /* 2>/dev/null | sort -hr +#1752615302 +sudo rm -rf /var/cache/apt/archives/* +#1752615303 +sudo rm -rf /var/cache/apt/archives/partial/* +#1752615309 +sudo journalctl --vacuum-size=50M +#1752615309 +sudo journalctl --vacuum-time=3d +#1752615313 +sudo rm -rf /var/tmp/* +#1752615313 +sudo find /tmp -type f -atime +3 -delete 2>/dev/null +#1752615319 +sudo du -sh /var/* | sort -hr | head -10 +#1752615328 +sudo du -sh /usr/* | sort -hr | head -10 +#1752615340 +dpkg --list | grep linux-image +#1752615352 +sudo du -sh /var/log /var/cache /var/lib +#1752615379 +df -h +#1752615391 +sudo du -sh /var/log /var/cache /var/lib +#1752615455 +sudo btrfs filesystem usage / +#1752615475 +sudo snapper list +#1752615505 +# Usuń wszystkie snapshoty starsze niż 7 dni +#1752615505 +sudo snapper delete 3 180 240 256 268 274 285 315 323 342 343 345 346 347 354 359 360 361 362 +#1752615505 +# Lub usuń wszystkie poza ostatnimi 3-5 +#1752615505 +sudo snapper delete 3-370 +#1752615523 +sudo snapper delete 3 180 240 256 268 274 285 315 323 342 343 345 346 347 354 359 360 361 362 +#1752615531 +sudo snapper list +#1752615540 +sudo snapper delete 180 240 256 268 274 285 315 323 342 343 345 346 347 354 359 360 361 362 +#1752615547 +sudo snapper list +#1752615581 +sudo snapper delete 364-375 +#1752615590 +sudo btrfs balance start -dusage=80 / +#1752615614 +sudo snapper get-config +#1752615641 +sudo btrfs filesystem defragment -r -v / +#1752615676 +sudo snapper get-config +#1752615681 +sudo btrfs balance start -dusage=80 / +#1752615707 +sudo btrfs filesystem usage / +#1752615707 +df -h / +#1752615720 +sudo systemctl stop snapper-timeline.timer +#1752615720 +sudo systemctl stop snapper-cleanup.timer +#1752615725 +sudo snapper list +#1752615735 +sudo btrfs balance start -dusage=50 / +#1752615743 +sudo snapper delete --sync $(snapper list | awk 'NR>3 && $1 != "0" {print $1}') +#1752615758 +sudo snapper set-config TIMELINE_LIMIT_HOURLY=2 +#1752615758 +sudo snapper set-config TIMELINE_LIMIT_DAILY=2 +#1752615758 +sudo snapper set-config TIMELINE_LIMIT_MONTHLY=1 +#1752615759 +sudo snapper set-config TIMELINE_LIMIT_YEARLY=0 +#1752615759 +sudo snapper set-config FREE_LIMIT=0.1 +#1752615759 +sudo snapper set-config SPACE_LIMIT=0.3 +#1752615767 +sudo btrfs balance start -dusage=50 / +#1752615921 +sudo du -sh /* 2>/dev/null | sort -hr | head -10 +#1752615941 +sudo rm -rf /var/cache/* +#1752615946 +sudo rm -rf /var/tmp/* +#1752615946 +sudo rm -rf /tmp/* +#1752615949 +sudo rm -rf /var/log/*.log* +#1752615950 +sudo rm -rf /var/log/*/*.log* +#1752615950 +sudo journalctl --vacuum-size=10M +#1752615960 +sudo find / -type f -size +100M 2>/dev/null | head -20 +#1752615982 +ls +#1752615994 +cd .local/ +#1752616003 +cd share/Trash/ +#1752616023 +rm -rf . +#1752616031 +rm -rf expunged/ files/ info/ +#1752616036 +sudo rm -rf expunged/ files/ info/ +#1752616053 +ls +#1752616066 +nano ~/.bash_aliases +#1752616141 +sudo find / -type f -size +100M 2>/dev/null | head -20 +#1752616173 +df -h / +#1752616183 +df -h +#1752616204 +sudo snapper set-config TIMELINE_LIMIT_HOURLY=2 +#1752616204 +sudo snapper set-config TIMELINE_LIMIT_DAILY=2 +#1752616204 +sudo snapper set-config TIMELINE_LIMIT_MONTHLY=1 +#1752616205 +sudo snapper set-config TIMELINE_LIMIT_YEARLY=0 +#1752616205 +sudo snapper set-config FREE_LIMIT=0.1 +#1752616205 +sudo snapper set-config SPACE_LIMIT=0.3 +#1752616216 +sudo btrfs balance start -musage=50 / +#1752616240 +df -h +#1752616325 +sudo btrfs filesystem usage / && echo && df -h / +#1752616460 +~ +#1752616468 +nano .bash_aliases +#1752616522 +source .profile +#1752616524 +btrfscheck +#1752616536 +sudo nano /usr/local/bin/cleanup-system.sh +#1752616549 +sudo chmod +x /usr/local/bin/cleanup-system.sh +#1752616563 +bash /usr/local/bin/cleanup-system.sh +#1752616570 +sudo bash /usr/local/bin/cleanup-system.sh +#1752616591 +sudo crontab -e +#1752616610 +sudo snapper get-config +#1752616627 +sudo systemctl start snapper-timeline.timer +#1752616627 +sudo systemctl start snapper-cleanup.timer +#1752616738 +sudo crontab -e +#1752616752 +nalaf +#1752616773 +sudo nano /etc/anacrontab +#1752616809 +upd +#1752616839 +upg +#1752617557 +pasjans +#1752676060 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1752676096 +bun --nun run dev::turbo +#1752676104 +bun --nun run dev::turbopack +#1752676109 +bun --nun run dev:turbopack +#1752677947 +git checkout main +#1752677957 +git stash -m "cbxzcbz" +#1752677958 +git checkout main +#1752677963 +git pull +#1752677973 +git stash pop +#1752677991 +git checkout -b fix_header_niemiecki_mobilny +#1752676086 +..srvenv && pm runserver +#1752680459 +bun --nun run dev:turbopack +#1752682357 +upd +#1752682384 +upg +#1752683979 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1752684626 +..srvenv &7 pmrunserver +#1752684643 +bun --nun run dev:turbopack +#1752684652 +bun --bun run dev:turbopack +#1752686219 +git checkout +#1752686226 +git checkout list +#1752686232 +git branch +#1752686254 +git checkout main +#1752686265 +git stash -m "uoiuouoi" +#1752686267 +git checkout main +#1752686270 +git pull +#1752686282 +git checkout fixy_oraz_poprawki_rss +#1752686287 +git pull +#1752686296 +git fetch origin +#1752686308 +git merge origin/main +#1752686319 +git stash pop +#1752686501 +git checkout main +#1752686504 +git pull +#1752686591 +git checkout -b kalkulator_roi +#1752687747 +bun --bun run dev:turbopack +#1752684634 +..srvenv && pm runserver +#1752700859 +btop +#1752751143 +pasjans +#1752751967 +fastfetch +#1752778408 +..srvenv && pm runserver +#1752778413 +bun --bun run dev:turbopack +#1752785507 +pasjans +#1752788384 +upd +#1752788407 +upg +#1752835608 +waybar +#1752835633 +sudo reboot +#1752839486 +git pull +#1752839497 +git checkout main +#1752839504 +git pull +#1752839607 +bun --bun run dev:turbopack +#1752840583 +git checkout -b fix_filtrowanie_postow +#1752840905 +bun --bun run dev:turbopack +#1752841076 +.. && docker-compose up -d --build +#1752841088 +cd softwarelogic-www +#1752841118 +.. +#1752841166 +docker-compose up -d --build +#1752841340 +docker-compose up down +#1752841344 +docker-compose down +#1752841370 +bun --bun run dev:turbopack +#1752849794 +git pull +#1752839611 +..srvenv && pm runserver +#1752849816 +git checkout main +#1752849819 +git pull +#1752849916 +..srvenv && pm runserver +#1752849918 +bun --bun run dev:turbopack +#1752857444 +git pull +#1752857498 +git checkout -b fix_niepelne_i_paginowane_posty +#1752857537 +git pull +#1752857550 +git checkout -b fix_niepelne_i_paginowane_posty +#1752857667 +uv run flake8 . +#1752857680 +uv run flake8 . +#1752929451 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1752931951 +pasjans +#1752964444 +upd +#1752964472 +upg +#1752965006 +uname -r +#1752965033 +sudo nala install linux-headers-$(uname -r) +#1752965070 +sudo nala install linux-headers-6.12.38+deb13-amd64 +#1753014513 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1753016528 +bun --bun run dev:turbopack +#1753016536 +git checkout main +#1753016539 +git pull +#1753016558 +git checkout main +#1753016522 +..srvenv && pm runserver +#1753016566 +git checkout main +#1753016570 +git pull +#1753016578 +..srvenv && pm runserver +#1753017244 +git checkout -b brakujace_url_sitemap +#1753016559 +bun --bun run dev:turbopack +#1753018808 +git checkout -b oferta_ai_&_ml +#1753018815 +git checkout -b oferta_ai_and_ml +#1753023143 +pasjans +#1753018777 +..srvenv && pm runserver +#1753018826 +bun --bun run dev:turbopack +#1753031569 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1753095783 +git checkout main +#1753095786 +git pull +#1753095798 +git branch +#1753095818 +git checkout kalkulator_roi +#1753095823 +git fetch origin +#1753095836 +git merge origin/main +#1753095897 +git checkout main +#1753095900 +git pull +#1753095917 +bun --bun run dev:turbopack +#1753099120 +bun run fmt +#1753099127 +bun run lint +#1753099403 +cd softwarelogic-www +#1753099410 +bun run lint +#1753100924 +pasjans +#1753095912 +..srvenv && pm runserver +#1753099399 +bun --bun run dev:turbopack +#1753131463 +upd +#1753131511 +upg +#1753191488 +ssh-server +#1753194905 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1753195048 +pm runserver +#1753195063 +bun run dev:turbopack +#1753202301 +..srvenv && pm runserver +#1753216731 +btop +#1753216767 +upd +#1753216810 +upg +#1753356215 +reboot +#1753357126 +source /home/garand_plg/Projects/fffrree/fffrree/.venv/bin/activate ; clear +#1753357341 +cd dropui-app/ +#1753357348 +srvenv +#1753357353 +cd dropui/ +#1753357391 +pm migrate +#1753357492 +cd dropui-builder/ +#1753357534 +cd dropui-website/ +#1753357556 +bun --bun run dev --turbopack +#1753357596 +bun --bun run dev:turbopack +#1753357511 +bun --bun run dev +#1753357603 +bun --bun run dev +#1753357456 +pm runserver +#1753366114 +ssh-server +#1753367830 +ls +#1753367840 +..srvenv && pm runserver +#1753368725 +uv add django-taggit +#1753368758 +pm migrate +#1753368884 +pm runserver +#1753369697 +uv add django-modeltranslation +#1753370039 +pm makemigrations +#1753370047 +pm makemigration +#1753370066 +uv remove pkg_resources +#1753370247 +uv add --upgrade django-countries +#1753370412 +pm makemigration +#1753370475 +uv add -r ../requirements.txt +#1753370479 +pm makemigration +#1753370495 +uv add -r ../requirements.txt +#1753370497 +pm makemigration +#1753370504 +pm makemigrations +#1753373283 +pm runserver +#1753373430 +pm makemigrations +#1753373538 +pgAdmin +#1753373545 +flatpak list +#1753373767 +docker exec -it postgresql psql -U postgres -d postgres -c "DROP DATABASE dropui;" +#1753373774 +sudo docker exec -it postgresql psql -U postgres -d postgres -c "DROP DATABASE dropui;" +#1753373884 +pm migrate +#1753373921 +pm makemigrations +#1753373976 +pm migrate +#1753374013 +pm makemigration +#1753374017 +pm makemigrations +#1753374338 +pm shell +#1753374382 +pm migrate app_home 0026 +#1753374415 +pm createsuperuser +#1753374441 +pm makemigrations +#1753374510 +pm sqlmigrate app_home 0027 +#1753374518 +pm migrate +#1753374528 +pm runserver +#1753374694 +git pull +#1753374726 +git stash -m "uewyeuiyequiw" +#1753374729 +git pull +#1753374755 +git stash pop +#1753374902 +git add ./dropui/settings.py +#1753374915 +git add ../requirements.txt +#1753375067 +git checkout -b blog +#1753375164 +git reflog +#1753375205 +git reset --soft HEAD@{0} +#1753375207 +git reflog +#1753375214 +git reset --soft HEAD@{2} +#1753375296 +git fetch origin +#1753375311 +git merge origin/main +#1753375329 +git checkout -b blog_ai +#1753376028 +uv add flake8 +#1753376035 +uv run flake8 . +#1753568472 +UPD +#1753568475 +upd +#1753568505 +upg +#1753617641 +pasjans +#1753642135 +fstab +#1753642301 +df +#1753642344 +sudo tee /sys/block/nvme0n1/queue/scheduler +#1753642493 +echo bfq | sudo tee /sys/block/nvme0n1/queue/scheduler +#1753642506 +mount | grep btrfs +#1753642526 +echo 'vm.swappiness=10' | sudo tee -a /etc/sysctl.conf +#1753642535 +echo 'vm.vfs_cache_pressure=50' | sudo tee -a /etc/sysctl.conf +#1753642691 +cat /sys/block/nvme0n1/queue/scheduler +#1753642703 +sudo iotop -a +#1753642707 +nalaf +#1753642720 +sudo iotop -a +#1753642746 +NeoHtop +#1753642750 +bashtop +#1753642753 +htop +#1753642799 +cat /proc/sys/vm/swappiness +#1753642804 +cat /proc/sys/vm/vfs_cache_pressure +#1753642819 +sudo sysctl vm.swappiness=10 +#1753642823 +sudo sysctl vm.vfs_cache_pressure=50 +#1753642825 +cat /proc/sys/vm/swappiness +#1753642830 +cat /proc/sys/vm/vfs_cache_pressure +#1753642884 +# Przed optymalizacją vs po +#1753642884 +time dd if=/dev/zero of=/tmp/test bs=1M count=1000 oflag=direct +#1753642909 +nalaf +#1753642959 +which ionice +#1753643506 +gamemoded -t +#1753650057 +grep -ri "Hunt Showdown 1896" ~/.local/share/Steam/steamapps/appmanifest_*.acf +#1753650071 +cat ~/.local/share/Steam/steamapps/appmanifest_*.acf | grep '"Hunt Showdown 1896"' +#1753650216 +steam +#1753692596 +source /home/garand_plg/Projects/dropui/dropui-app/.venv/bin/activate ; clear +#1753692770 +..srvenv +#1753692900 +ls +#1753692895 +pm runserver +#1753692966 +.. +#1753692974 +uv add -r requirements.txt +#1753692982 +cd dropui/ +#1753692985 +pm runserver +#1753692998 +pm migrate +#1753693079 +git stash pop +#1753693164 +git add . +#1753693172 +ls +#1753693175 +.. +#1753693182 +git add . +#1753693207 +git commit -m "fix mc" +#1753693226 +pm makemigrations +#1753693233 +cd dropui/ +#1753693235 +pm makemigrations +#1753693308 +pm makemigrations --merge +#1753693366 +pm sqlmigrate app_home 0029 +#1753693375 +pm migrate +#1753693403 +pm runserver +#1753693485 +uv add django-ckeditor-5 +#1753694116 +pm makemigrations +#1753694158 +pm sqlmigrate app_home 0030 +#1753694164 +pm migrate +#1753694180 +pm runserver +#1753700830 +pm migrate app_home 0029 +#1753700847 +pm makemigrations +#1753700866 +pm sqlmigrate app_home 0030 +#1753700871 +pm migrate +#1753701187 +cd dropui-app/ +#1753701189 +srvenv +#1753701192 +cd dropui/ +#1753701203 +uv run flake8 . +#1753701211 +uv add flake8 . +#1753701213 +uv add flake8 +#1753701216 +uv run flake8 . +#1753705634 +uv add inquirer +#1753700987 +pm runserver +#1753707602 +pm migrate app_home 0029 +#1753707618 +pm makemigrations +#1753707652 +pm sqlmigrate app_home 0030 +#1753707656 +pm migrate +#1753708471 +pm ai_content -a "Garand_PLG" -t "Jak docierać ze swoją reklamą do klientów w internecie." -s "1" +#1753708481 +uv add openai +#1753708509 +pm ai_content -a "Garand_PLG" -t "Jak docierać ze swoją reklamą do klientów w internecie." -s "1" +#1753708706 +uv run flake8 . +#1753708752 +pm ai_content -a "Garand_PLG" -t "Jak docierać ze swoją reklamą do klientów w internecie." -s "1" +#1753708955 +pm ai_content -a "garandplg@garandplg.com" -t "Jak docierać ze swoją reklamą do klientów w internecie." -s "1 +#1753708970 +pm ai_content -a "garandplg@garandplg.com" -t "Jak docierać ze swoją reklamą do klientów w internecie." -s "1" +#1753709580 +pm migrate app_home 0029 +#1753709596 +pm makemigrations +#1753709617 +pm sqlmigate app_home 0030 +#1753709623 +pm sqlmigrate app_home 0030 +#1753709628 +pm migrate +#1753723269 +upd +#1753723290 +upg +#1753723850 +ping google.com +#1753692804 +bun --bun run dev +#1753724162 +git checkout -b blog_ai +#1753724173 +git fetch origin +#1753724189 +git merge origin/main +#1753724205 +git stash -m "djksbdaskjd" +#1753724209 +git merge origin/main +#1753724217 +git stash pop +#1753708865 +pm runserver +#1753781543 +source /home/garand_plg/Projects/dropui/dropui-app/.venv/bin/activate ; clear +#1753788266 +pm mqkemigrations +#1753788270 +pm makemigrations +#1753788283 +pm sqlmigrate app_home 0031 +#1753788289 +pm migrate +#1753786841 +pm runserver +#1753786848 +bun --bun run dev +#1753811677 +bun --bun run next-sitemap +#1753812153 +uv run flake8 . +#1753811785 +bun --bun run dev +#1753812657 +bun --bun run lint +#1753813186 +pm ai_content -a "garandplg@garandplg.com" -t "Implementacja reklam na stronach internetowych. Rozbudowany poradnik" -s "2" +#1753815488 +uv run flake8 . +#1753815601 +killall slack +#1753815286 +bun --bun run dev +#1753821265 +uod +#1753821267 +upd +#1753821284 +upg +#1753915827 +upd +#1753915881 +upg +#1753916109 +cd Pobrane/ +#1753916130 +sudo dpkg -i mattermost-desktop_5.13.0-rc.1-1_amd64.deb +#1754046161 +source /home/garand_plg/Projects/dropui/dropui-app/.venv/bin/activate ; clear +#1754046161 +source /home/garand_plg/Projects/dropui/dropui-app/.venv/bin/activate ; clear +#1754046220 +..srvenv +#1754046227 +pm runserver +#1754046241 +git pull +#1754046261 +git checkout main +#1754046264 +git pull +#1754046254 +pm runserver +#1754047399 +git checkout -b fix_blad_obrazka_usera +#1754046291 +bun --bun run dev:turbopack +#1754047416 +git checout -b fix_blad_obrazka_usera +#1754047423 +git chekout -b fix_blad_obrazka_usera +#1754047431 +git checkout -b fix_blad_obrazka_usera +#1754057226 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754057347 +git checkout kalkulator_roi +#1754057568 +bun run lint +#1754057926 +bun --bun run dev:turbopack +#1754058042 +pm runserver +#1754065035 +pasjans +#1754087812 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754087818 +uod +#1754087819 +upd +#1754087838 +upg +#1754148084 +upd +#1754148110 +upg +#1754304333 +cd softwarelogic-www-api/ +#1754304337 +srvenv +#1754304343 +cd blog/ +#1754304366 +cd softwarelogic-www +#1754304347 +pm runserver +#1754304376 +bun --bun run dev:turbopack +#1754305671 +git checkout main\ +#1754305673 +git checkout main +#1754305676 +git pull +#1754305691 +git checkout main +#1754305695 +git pull +#1754305856 +git getch origin +#1754305860 +git fetch origin +#1754305872 +git fetch origin/newversion +#1754305884 +git pull origin/newversion +#1754305887 +git pull origin newversion +#1754305920 +git checkout newversion +#1754305925 +git checkout main +#1754305953 +bun --bun run dev:turbopack +#1754306012 +git pull main +#1754306022 +git reflog +#1754306096 +git reset --soft HEAD@{3} +#1754306104 +git reflog +#1754306149 +git pull +#1754306158 +bun --bun run dev:turbopack +#1754306204 +git branch\ +#1754306205 +git branch +#1754306215 +git checout newversion +#1754306220 +git checkout newversion +#1754306225 +git pull +#1754306234 +bun --bun run dev:turbopack +#1754308445 +git checkout -b nv_tlumaczenia_selector_i_rozmiary_przyciskow +#1754308456 +bun --bun run fmt +#1754309109 +git checkout main +#1754312198 +git checkout nv_tlumaczenia_selector_i_rozmiary_przyciskow +#1754313681 +git checkout newversion +#1754313692 +git stash -m "djsdhasjkdhkas" +#1754313698 +git pull +#1754313729 +git checkout nv_tlumaczenia_selector_i_rozmiary_przyciskow +#1754313736 +git merge newversion +#1754314200 +bun --bun run fmt +#1754314275 +bun --bun run dev:turbopack +#1754314338 +bun --bun run lint +#1754314382 +git stash pop +#1754314411 +bun --bun run dev:turbopack +#1754316234 +bun --bun run fmt +#1754318856 +cd softwarelogic-www +#1754318861 +bun --bun run fmt +#1754328853 +git reflog +#1754328921 +clear +#1754328922 +git reflog +#1754329075 +clear +#1754329077 +git checkout newversion +#1754329089 +git rebase nv_tlumaczenia_selector_i_rozmiary_przyciskow +#1754329245 +git fetch origin +#1754329353 +git rebase origin/newversion +#1754316237 +bun --bun run dev:turbopack +#1754329895 +git rebase --continue +#1754332760 +git pull +#1754332805 +bun --bun run dev:turbopack +#1754336840 +git stash -m "dkjasbdbasdbjha" +#1754336843 +git pull +#1754336866 +git stash pop +#1754344163 +git pull +#1754344175 +git stash -m "sadsyhakasdashd" +#1754344215 +git pull +#1754344283 +git reflog +#1754344370 +git pull --rebase +#1754346846 +git rebase --continue +#1754347622 +killall slack +#1754305963 +pm runserver +#1754347757 +upd +#1754347775 +upg +#1754415062 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754415158 +git pull +#1754415179 +git fetch origin +#1754415321 +git checkout main +#1754415323 +git pull +#1754415392 +git checkout -b dodanie_strony_casestudy_i_inne +#1754415491 +bun --bun run dev:turbopack +#1754418738 +docker-compose up --build -d +#1754418783 +clear +#1754418790 +bun --bun run build +#1754418895 +bun --bun run fmt +#1754418903 +bun --bun run lint +#1754423347 +clear +#1754423350 +bun --bun run lint +#1754424092 +clear +#1754424094 +bun --bun run lint +#1754424789 +git fetch origin +#1754424888 +git pull +#1754424910 +git pull --rebase +#1754425080 +git rebase --continue +#1754427126 +bun --bun run build +#1754427157 +bun --bun run lint +#1754427160 +bun --bun run fmt +#1754427165 +bun --bun run build +#1754427426 +git checkout main +#1754427430 +git pull +#1754427466 +bun --bun run dev:turbopack +#1754428074 +git checkout main +#1754428077 +git pull +#1754429143 +git checkout -b poprawic_rwd +#1754415152 +pm runserver +#1754433023 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754437393 +git fetch origin +#1754437409 +git merge origin/main +#1754433227 +bun --bun run dev:turbopack +#1754433235 +pm runserver +#1754444026 +upd +#1754444047 +upg +#1754470526 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754470582 +git checkout main +#1754470585 +git pull +#1754470622 +git checkout -b fixy_newversion +#1754470628 +git pull +#1754470652 +bun --bun run dev:turbopack' +#1754470654 +bun --bun run dev:turbopack +#1754477821 +git fetch origin +#1754477840 +git merge origin/main +#1754480649 +git pull +#1754480659 +git fetch origin +#1754483390 +bun run --bun lint +#1754483415 +bun --bun run fmt +#1754483419 +bun run --bun lint +#1754483569 +bun --bun run build +#1754483604 +git checkout main +#1754483623 +git stash -m "dkjasdhaskdhkjasd" +#1754483625 +git checkout main +#1754483628 +git pull +#1754483637 +git stash pop +#1754470604 +pm runserver +#1754559471 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754560096 +bit branch +#1754560099 +git branch +#1754560131 +git stash -m "dadhkjasdkja" +#1754560135 +git pull +#1754560152 +git stash pop +#1754560172 +git checkout -b new_offers_template +#1754568386 +flatpak update +#1754572126 +pm runserver +#1754572120 +bun -bun run dev:turbopack +#1754576457 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754594319 +upd +#1754594352 +upg +#1754585153 +pm runserver +#1754585144 +bun --bun run dev:turbopack +#1754610314 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754611723 +git fetch origin +#1754611739 +git merge origin/main +#1754611177 +bun --bun run dev:turbopack +#1754611792 +bun --bun run build +#1754611800 +bun --bun run lint +#1754611183 +pm runserver +#1754643435 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754643879 +cd Projects/ +#1754643952 +bun create vite +#1754643963 +cd test-mapa/ +#1754643965 +bun i +#1754643971 +zed . +#1754643993 +bun --bun run dev +#1754644152 +bun add d3 +#1754644157 +bun --bun run dev +#1754644390 +bun add --save @types/d3 +#1754644398 +bun --bun run dev +#1754645219 +bun install konva vue-konva +#1754645296 +bun --bun run dev +#1754653295 +flatpak update +#1754666504 +pasjans +#1754682078 +git branch +#1754682135 +git checkout -b pexels +#1754682177 +pm runserver +#1754682185 +bun --bun run dev:turbopack +#1754684426 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754685024 +bun --bun run dev:turbopack +#1754685919 +bun --bun run lint +#1754685928 +bun --bun run build +#1754685028 +pm runserver +#1754687697 +git pull +#1754687727 +git checkout -b newversion_aktulizacja_sitemap +#1754687769 +uv run flake8 . +#1754688641 +upd +#1754688724 +upg +#1754685955 +bun --bun run dev:turbopack +#1754757453 +pasjans +#1754825551 +ls +#1754825564 +touch gamescope_settings.txt +#1754825568 +nano gamescope_settings.txt +#1754851376 +ping google.com +#1754851383 +ping 9.9.9.9 +#1754851490 +ping google.com +#1754851532 +sudo systemctl restart systemd-resolved NetworkManager +#1754851560 +ping google.com +#1754851877 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754864212 +upd +#1754864231 +upg +#1754913390 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1754913657 +git checkout main +#1754913661 +git pull +#1754913705 +git checkout main +#1754913708 +gitl pull +#1754913711 +git pull +#1754913695 +bun --bun run dev:turbopack +#1754932986 +git pull +#1754933010 +git checkout -b poprawic_problemgroups +#1754913725 +pm runserver +#1754933051 +git checkout newversion_aktulizacja_sitemap +#1754933058 +git fetch origin +#1754933075 +git merge origin/main +#1754933192 +snano ~/.bashrc +#1754933205 +snano ~/.bash_aliases +#1754933232 +source ~/.profile +#1754933238 +bbr lint +#1754933248 +bbr fmt +#1754933429 +bbr next build --dry-run +#1754933453 +bbr build:check +#1754933461 +bbr build +#1754943332 +nvidia-smi +#1754943407 +snano .config/MangoHud/MangoHud.conf +#1754943594 +sudo nvidia-modprobe +#1754945788 +killall steam +#1754951582 +cd Projects/ +#1754951593 +rmdir test-mapa/ +#1754951602 +rm -rf test-mapa/ +#1754951636 +sudo rm -rf ~/.local/share/Trash/ +#1754951654 +mkdit test-mapa +#1754951658 +mkdir test-mapa +#1754951660 +cd test-mapa/ +#1754951665 +bun init +#1754951715 +.. +#1754951721 +rm -rf test-mapa/ +#1754951725 +sudo rm -rf ~/.local/share/Trash/ +#1754951728 +mkdir test-mapa +#1754951731 +cd test-mapa/ +#1754951735 +bun init +#1754951749 +ls +#1754951753 +zed . +#1754951796 +bun i +#1754951807 +bun index.ts +#1754951832 +ls +#1754951835 +la +#1754952166 +bun dev +#1754952177 +bun run index.html +#1755004166 +git checkout main +#1755004168 +git pull +#1755004183 +..srvenv +#1755004197 +git checkout main +#1755004200 +git pull +#1755004230 +git fetch origin +#1755004240 +git checkout seo +#1755004252 +git pull +#1755004320 +bbr dev:turbopack +#1755004510 +git fetch origin +#1755004523 +git merge origin/main +#1755004727 +bbr dev:turbopack +#1755016844 +bun cache clean +#1755016888 +bun pm cache rm +#1755016972 +bun i +#1755016989 +bun upgrade +#1755017109 +bbr dev:turbopack +#1755017276 +DEBUG=* next dev --turbopack +#1755017288 +next dev --turbopack --debug +#1755017294 +bbr dev:turbopack --debug +#1755017306 +next dev --turbopack --debug +#1755017311 +bun next dev --turbopack --debug +#1755017333 +bun DEBUG=* next dev --turbopack +#1755017354 +bbr dev:turbopack --debug +#1755017357 +bbr dev:turbopack +#1755018730 +clear +#1755018735 +bbr lint +#1755019024 +bbr fmt +#1755022966 +bbr lint +#1755004188 +pm runserver +#1755033355 +pasjans +#1755073694 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1755074853 +hypr-ctl +#1755074858 +hypr-cli +#1755074863 +hyprland clients +#1755074942 +hyprctl clients +#1755103607 +bbr lint +#1755089868 +bbr dev:turbopack +#1755114451 +git pull +#1755114460 +git push +#1755114782 +ookla +#1755114823 +ping 9.9.9.9 +#1755114826 +ookla +#1755114843 +sudo systemctl systemd-resolved NetworkManager +#1755114879 +sudo systemctl systemd-resolved +#1755114895 +sudo systemctl NetworkManager +#1755114906 +sudo systemctl restart systemd-resolved NetworkManager +#1755114921 +ookla +#1755114944 +ping garandplg.com +#1755114949 +sudo systemctl restart systemd-resolved NetworkManager +#1755114971 +ookla +#1755173864 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1755173955 +bbr dev:turbopack +#1755173960 +pm runserver +#1755209277 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1755209921 +bbr dev:turbopack +#1755211398 +pasjans +#1755262964 +ssh-server +#1755267962 +upd +#1755267984 +upg +#1755268263 +reportbug --check-available systemd +#1755268279 +reportbug --configure +#1755286446 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1755286728 +pm runserver +#1755286723 +bbr dev:turbopack +#1755290181 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1755299950 +bunx tsc --noEmit +#1755300051 +bunx tsc --noEmit --pretty +#1755300081 +bunx tsc --noEmit --extendedDiagnostics +#1755290808 +bbr dev:turbopack +#1755290801 +pm runserver +#1755357492 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1755386919 +nvidia-smi +#1755387755 +bbr dev:turbopack +#1755442778 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1755448617 +upd +#1755448686 +upg +#1755443281 +pm runserver +#1755443275 +bbr dev:turbopack +#1755470605 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1755473106 +bbr dev:turbopack +#1755491735 +bbr fmt +#1755491744 +bbr lint +#1755493585 +bbr build +#1755473112 +pm runserver +#1755494922 +git pull +#1755494945 +git checkout -b technologie_do_sitemap +#1755494368 +bbr dev:turbopack +#1755495031 +uv run flake8 . +#1755495042 +uv run flake8 . +#1755495311 +upd +#1755495333 +upg +#1755495958 +ookla +#1755529686 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1755534608 +vvr dev:turbopack +#1755535907 +bbr lint +#1755534615 +bbr dev:turbopack +#1755534620 +pm runserver +#1755552710 +pasjans +#1755637850 +nanof +#1755637856 +nalaf +#1755643858 +QT_SCALE_FACTOR=1.5 kdenlive +#1755643878 +QT_SCALE_FACTOR=0.75 kdenlive +#1755644081 +QT_SCALE_FACTOR=0.9 kdenlive +#1755644102 +QT_SCALE_FACTOR=0.8 kdenlive +#1755694058 +lsblk +#1755694075 +lsblk -l +#1755694088 +lsblk +#1755694174 +sudo gdisk /dev/sda +#1755694188 +nalaf +#1755694202 +sudo gdisk /dev/sda +#1755694282 +lsblk +#1755694352 +sudo mkfs.ext4 /dev/sda1 +#1755694357 +lsblk +#1755694373 +sudo mkdir /mnt/sda1 +#1755694390 +sudo mount /dev/sda1 /mnt/sda1 +#1755694394 +lsblk +#1755694486 +sudo umount /dev/sda1 +#1755694493 +lsblk +#1755695901 +mkdir /mnt/sdb2 +#1755695905 +sudo mkdir /mnt/sdb2 +#1755695916 +sudo mount /dev/sda1 /mnt/sda1 +#1755695925 +sudo mount /dev/sdb2 /mnt/sdb2 +#1755695931 +lsblk +#1755696022 +cd /mnt/sdb2/ +#1755696032 +sudo rm -rf DockerPrivateRegistry/ +#1755696038 +ls +#1755696088 +sudo umount /dev/sda1 +#1755696096 +sudo umount /dev/sdb2 +#1755700956 +lsblk +#1755700962 +ssh-server +#1755700453 +ssh-server +#1755696313 +ssh-server +#1755774631 +ssh0server +#1755775885 +nalaf +#1755775923 +cd Pobrane/ +#1755775938 +ls +#1755775962 +sudo nala install ./onlyoffice-desktopeditors_amd64.deb +#1755792958 +lsblk +#1755793056 +sudo dd if=~/Pobrane/debian-13.0.0-amd64-netinst.iso of=/dev/sda bs=4M status=progress oflag=sync +#1755793159 +lsblk -f +#1755793182 +sync +#1755793194 +lsblk +#1755774634 +ssh-server +#1755793404 +lsblk +#1755793426 +sudo umount "/media/garand_plg/Debian\ 12.11.0\ amd64\ n " +#1755793459 +ls /mnt +#1755793482 +sudo mkdir -p /mnt/Garand-Library-A +#1755793504 +lsblk +#1755793518 +sudo mount /dev/sdb /mnt/Garand-Library-A/ +#1755793537 +lsblk -f +#1755793554 +sudo mount /dev/sdb2 /mnt/Garand-Library-A/ +#1755793599 +sudo umout /mnt/Garand-Library-A/ +#1755793604 +sudo umount /mnt/Garand-Library-A/ +#1755793610 +lsblk -f +#1755793636 +lsblk -f +#1755793838 +sudo umount /dev/sdb1 +#1755793843 +sudo umount /dev/sdb2 +#1755793855 +sudo wipefs -a /dev/sdb +#1755793860 +lsblk -f +#1755793869 +sudo mkfs.ext4 /dev/sdb +#1755793881 +ls +#1755793885 +lsblk -f +#1755794042 +sudo wipefs -a /dev/sdb +#1755794045 +lsblk -f +#1755794051 +sudo fdisk /dev/sdb +#1755794082 +lsblk -f +#1755794086 +sudo mkfs.ext4 /dev/sdb1 +#1755794095 +lsblk -f +#1755794230 +e2label +#1755794254 +sudo e2label /dev/sdb1 Garand-Library-A +#1755794258 +lsblk -f +#1755794378 +cd .ssh/ +#1755794622 +ssh-keygen +#1755794649 +ssh-keygen -y -f ~/.ssh/hp-t640-homeserver > ~/.ssh/hp-t640-homeserver.pub +#1755794651 +ls +#1755794658 +cat hp-t640-homeserver +#1755794665 +cat hp-t640-homeserver.pub +#1755793926 +ssh-server +#1755794824 +lsblk +#1755794830 +lsblk -f +#1755794841 +ls /mnt/ +#1755794856 +sudo mkdir -p /mnt/Garand-Library-B/ +#1755794889 +sudo mount /dev/sdb1 /mnt/Garand-Library-A +#1755794896 +sudo mount /dev/sda1 /mnt/Garand-Library-B +#1755794903 +cd /mnt/ +#1755794906 +cd Garand-Library-a +#1755794908 +cd Garand-Library-A +#1755794911 +.. +#1755794914 +cd Garand-Library-B +#1755794925 +.. +#1755795094 +su +#1755795136 +ssh-server +#1755801210 +fstab +#1755801216 +lsblk +#1755801270 +sudo cp -R ~/.ssh/hp-t640-homeserver /mnt/Garand-Library-A/ +#1755801280 +sudo cp -R ~/.ssh/hp-t640-homeserver.pub /mnt/Garand-Library-A/ +#1755801291 +cat /mnt/Garand-Library-A/hp-t640-homeserver +#1755801296 +sudo cat /mnt/Garand-Library-A/hp-t640-homeserver +#1755801302 +sudo cat /mnt/Garand-Library-A/hp-t640-homeserver.pub +#1755801326 +sudo umount /mnt/Garand-Library-A +#1755801332 +sudo umount /mnt/Garand-Library-B +#1755803821 +ssh-server +#1755803838 +nano ~/.bash_aliases +#1755803888 +source .profile +#1755803890 +ssh-server +#1755803928 +ssh garand_plg@hp-t640-homeserver +#1755803943 +nano ~/.bash_aliases +#1755804167 +ssh-server +#1755804791 +ssh garand_plg@192.168.1.156 -i ~/.ssh/hp-t640-homeserver +#1755805053 +ls -la ~/.ssh/hp-t640-homeserver +#1755805064 +chmod 600 ~/.ssh/hp-t640-homeserver +#1755805069 +sudo chmod 600 ~/.ssh/hp-t640-homeserver +#1755805075 +ls -la ~/.ssh/hp-t640-homeserver +#1755805101 +ssh -vvv garand_plg@192.168.1.156 -i ~/.ssh/hp-t640-homeserver +#1755805326 +ssh-server +#1755806018 +ping 192.168.1.156 +#1755806036 +nmap -p 22,2222, 192.168.1.156 +#1755806047 +ssh-server -p 2222 +#1755806094 +sudo nala install nmap +#1755806115 +nmap -p 22,2222, 192.168.1.156 +#1755806126 +ssh-server -p 2222 +#1755806153 +nmap -sn 192.168.1.0/24 | grep -E "Nmap scan report|MAC Address" +#1755806242 +ssh-server +#1755806260 +nmap -sn 192.168.1.0/24 | grep -E "Nmap scan report|MAC Address" +#1755806290 +cat /etc/initramfs-tools/initramfs.conf +#1755806312 +sudo nano /etc/initramfs-tools/initramfs.conf +#1755806407 +ssh-server +#1755806553 +nmap -sn 192.168.1.0/24 | grep -E "Nmap scan report|MAC Address" +#1755806595 +ping 192.168.1.156 +#1755806745 +ssh-server +#1755807163 +ssh-server -p 2222 +#1755807170 +nmap -p 22,2222 192.168.1.156 +#1755807343 +ssh-server +#1755808825 +nano .config/starship.toml +#1755808837 +cat .config/starship.toml +#1755814076 +upd +#1755814103 +upg +#1755811242 +ssh-server +#1755882666 +cat .bash_aliases +#1755882687 +ssh-server +#1755882713 +cat .bash_aliases +#1755884321 +source /home/garand_plg/Projects/sofrwarelogic-www/softwarelogic-www-api/.venv/bin/activate ; clear +#1755885328 +bbr lint +#1755885338 +bbr fmt +#1755884441 +bbr dev:turbopack +#1755885441 +git checkout main +#1755885445 +git pull +#1755885471 +git fetch origin +#1755885489 +git checkout seo +#1755885497 +git merge origin/main +#1755885704 +git fetch origin +#1755885733 +uv run flake8 . +#1755885761 +git merge origin/main +#1755885552 +bbr dev:turbopack +#1755929393 +sftp -i .ssh/hp-t640-homeserver garand_plg@192.168.1.156 +#1755929436 +cd .ssh/ +#1755929443 +cat config +#1755929455 +sudo nano config +#1755928334 +ssh-server +#1755929768 +ssh hp-t640-homeserve +#1755929770 +ssh hp-t640-homeserver +#1755930200 +ssh-server +#1755931594 +ls +#1755931602 +mkdir dotfiles +#1755931608 +cd dotfiles/ +#1755931703 +mv ~/.bash_aliases ~/.bash_functions ~/.bash_history ~/.bash_logout ~/.bash_profile ~/.bashrc ~/.profile +#1755931706 +ls diff --git a/.bash_logout b/.bash_logout new file mode 100644 index 0000000..de4f5f7 --- /dev/null +++ b/.bash_logout @@ -0,0 +1,7 @@ +# ~/.bash_logout: executed by bash(1) when login shell exits. + +# when leaving the console clear the screen to increase privacy + +if [ "$SHLVL" = 1 ]; then + [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q +fi diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..a7eb54c --- /dev/null +++ b/.bash_profile @@ -0,0 +1,3 @@ +# ~/.bash_profile: executed by bash for login shells. +# Source .profile to avoid duplication +[ -f ~/.profile ] && . ~/.profile diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..f8dff0f --- /dev/null +++ b/.bashrc @@ -0,0 +1,94 @@ +# ~/.bashrc: executed by bash(1) for non-login shells. + +# If not running interactively, don't do anything +case $- in + *i*) ;; + *) return;; +esac + +# History configuration +HISTCONTROL=erasedups:ignoredups:ignorespace +HISTSIZE=1000 +HISTFILESIZE=2000 +export HISTTIMEFORMAT="%F %T" +PROMPT_COMMAND='history -a' +shopt -s histappend + +# Shell options +shopt -s checkwinsize +# Uncomment to enable globstar (bash 4.0+) +# shopt -s globstar + +# XDG Base Directory Specification +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_STATE_HOME="$HOME/.local/state" +export XDG_CACHE_HOME="$HOME/.cache" + +export EDITOR=nano +export VISUAL=codium + +# Chroot detection for prompt +if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then + debian_chroot=$(cat /etc/debian_chroot) +fi + +# Colored prompt configuration +case "$TERM" in + xterm-color|*-256color) color_prompt=yes;; +esac + +# Set prompt +if [ "$color_prompt" = yes ]; then + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' +else + PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' +fi +unset color_prompt + +# Set terminal title for xterm-compatible terminals +case "$TERM" in +xterm*|rxvt*) + PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" + ;; +esac + +# Enable color support for ls and grep +if [ -x /usr/bin/dircolors ]; then + test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" + # Basic ls color alias (will be overridden by eza if available) + alias ls='ls --color=auto' + alias grep='grep --color=auto' + alias fgrep='fgrep --color=auto' + alias egrep='egrep --color=auto' +fi + +# Load custom aliases +[ -f ~/.bash_aliases ] && . ~/.bash_aliases + +# Enable bash completion +if ! shopt -oq posix; then + if [ -f /usr/share/bash-completion/bash_completion ]; then + . /usr/share/bash-completion/bash_completion + elif [ -f /etc/bash_completion ]; then + . /etc/bash_completion + fi +fi + +# Add sbin to $PATH +export PATH=$PATH:/sbin + +# Exercism completion +[ -f ~/.config/exercism/exercism_completion.bash ] && . ~/.config/exercism/exercism_completion.bash + +# Show welcome info only for interactive login shells +if shopt -q login_shell && [ -t 0 ]; then + # Check if commands exist before running + command -v fastfetch >/dev/null 2>&1 && fastfetch + command -v fortune >/dev/null 2>&1 && command -v cowsay >/dev/null 2>&1 && fortune | cowsay +fi + +[ -f ~/.bash_functions ] && . ~/.bash_functions + +eval "$(starship init bash)" + diff --git a/.profile b/.profile new file mode 100644 index 0000000..8d399b0 --- /dev/null +++ b/.profile @@ -0,0 +1,42 @@ +# ~/.profile: executed by the command interpreter for login shells. + +# Function to safely add directories to PATH +add_to_path() { + case ":$PATH:" in + *":$1:"*) ;; + *) PATH="$1:$PATH" ;; + esac +} + +# Add user directories to PATH +[ -d "$HOME/.local/bin" ] && add_to_path "$HOME/.local/bin" + +# Cargo (Rust) +if [ -f "$HOME/.cargo/env" ]; then + . "$HOME/.cargo/env" + add_to_path "$HOME/.cargo/bin" +fi + +# Bun +if [ -d "$HOME/.bun" ]; then + export BUN_INSTALL="$HOME/.bun" + add_to_path "$BUN_INSTALL/bin" +fi + +# Custom local environment +[ -f "$HOME/.local/bin/env" ] && . "$HOME/.local/bin/env" + +# Rust library path +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib" + +# Wayland configuration +if [ "$XDG_SESSION_TYPE" = "wayland" ]; then + systemctl --user import-environment DISPLAY WAYLAND_DISPLAY +fi + +# Load bashrc for bash shells +if [ -n "$BASH_VERSION" ] && [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" +fi + +export PATH