Skip to content

Instantly share code, notes, and snippets.

@Saphyel
Last active April 5, 2023 20:57
Show Gist options
  • Save Saphyel/cfe9f793951b01611d6d to your computer and use it in GitHub Desktop.
Save Saphyel/cfe9f793951b01611d6d to your computer and use it in GitHub Desktop.
Collection of scripts

Collection of useful scripts and confs.

Disk partition

Device Type Size
/boot/efi 256MB
/swap - 2 GB
/ Ext 4 +10 GB
/home Ext 4 +20GB
sudo dnf install vim ffmpeg youtube-dl vlc vlc-extras transmission geary gnome-tweaks shotwell gnome-console libreoffice
sudo dnf remove gnome-terminal simple-scan gnome-boxes gnome-tour yelp gnome-abrt gnome-photos
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install discord
flatpak install flathub com.spotify.Client
flatpak install flathub rest.insomnia.Insomnia
https://www.jetbrains.com/help/pycharm/installation-guide.html#standalone
https://docs.docker.com/engine/install/fedora/
https://code.visualstudio.com/docs/setup/linux
sudo dnf update;sudo dnf autoremove;flatpak update;flatpak uninstall --unused
# Cleaning
sudo journalctl --vacuum-time=7days
sudo find /var/log -type f -regex ".*\.[0-9]$" -delete ; sudo find /var/log -type f -regex ".*\.gz$" -delete
# .config/mpv/mpv.conf
ao=pulse
audio-spdif=ac3,eac3,dts-hd,truehd
hwdec=auto
vo=gpu
#gpu-context=wayland
#profile=gpu-hq
loop-file='inf'
window-scale=0.73
screenshot-format=png
screenshot-template=%F-%n
alang=ja,jp,jpn,en,eng,es,esp
slang=en,eng,es,esp
gsutil cp gs://terraform-backend/gcp-tf-stack-envproject/hbt-staging/default.tfstate default.tfstate
vim default.tfstate
gsutil cp default.tfstate gs://terraform-backend/gcp-tf-stack-envproject/hbt-staging/default.tfstate
# .config/youtube-dl/config .config/yt-dlp/config
-o ~/Music/%(title)s.%(ext)s
-f best[ext=mp4]/best
--prefer-ffmpeg
--netrc
@Saphyel
Copy link
Author

Saphyel commented Jun 28, 2018

Mac shit:
brew upgrade gnupg
brew install pinentry-mac
echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
killall gpg-agent
echo "test" | gpg --clearsign

gpg --import private.key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment