This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# By Abdullah As-Sadeed | |
# Start from an Ubuntu 22.04 image | |
FROM ubuntu:22.04 | |
# Update package list, upgrade installed packages, and install required packages | |
RUN apt update && apt dist-upgrade -y && apt install -y gdebi-core ca-certificates | |
# Go to: https://github.com/mixxxdj/mixxx/actions/runs/9238476537?pr=13285 | |
# Download and Extract "Ubuntu 22.04 Qt6 DEB.zip": https://github.com/mixxxdj/mixxx/actions/runs/9238476537/artifacts/1537877751 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# By Abdullah As-Sadeed | |
while read p; do | |
opt_deps=$(pacman -Qi $p | awk '/Optional Deps/{flag=1;next}/Required By/{flag=0}flag' | grep -v "None" | sed 's/\[installed\]/\x1b[32m&\x1b[0m/g' | sed '/\[installed\]/!s/.*/\x1b[33m&\x1b[0m/') | |
if [ -n "$opt_deps" ]; then | |
echo -e "\x1b[31mPackage: $p\x1b[0m" | |
echo -e "$opt_deps" | |
echo -e "\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# By Abdullah As-Sadeed | |
git checkout --orphan cleaned-history && git add -A && git commit -am "Cleaned commit history" && git branch -D main && git branch -m main && git push -f origin main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# By Abdullah As-Sadeed | |
find ~ -type f -iname "*.mp3" -exec eyeD3 --remove-all {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# By Abdullah As-Sadeed | |
find ~/Software\ Laboratory -type d -name ".git" -execdir sh -c 'git remote prune origin && git repack && git prune-packed && git gc --aggressive --prune=now' \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<domain type="kvm"> | |
<name>Microsoft_Windows_11_Pro_for_Workstations</name> | |
<uuid>eb772f48-e3c3-4652-b0b8-3a8cc9f5716b</uuid> | |
<metadata> | |
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> | |
<libosinfo:os id="http://microsoft.com/win/11" /> | |
</libosinfo:libosinfo> | |
</metadata> | |
<memory unit="KiB">6291456</memory> | |
<currentMemory unit="KiB">6291456</currentMemory> |