https://github.com/H3rz3n/Davinci-Resolve-Fedora-38-39-40-Fix
Last active
July 23, 2024 01:42
-
-
Save AshKyd/99dbf8c666744a3e151e to your computer and use it in GitHub Desktop.
Setup a new system shiny & fresh.
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
# Various aliases and whatnot | |
# Push current branch to origin. | |
push(){ | |
BRANCH=`git rev-parse --symbolic-full-name --abbrev-ref HEAD`; | |
echo "git push origin $BRANCH" | |
if git push origin $BRANCH; then | |
osascript -e 'display notification "Push to '$BRANCH' succeeded" with title "Git push"' | |
else | |
osascript -e 'display notification "Push to '$BRANCH' failed" with title "Push failed"' | |
fi | |
} | |
# Pull from remote | |
pull(){ | |
BRANCH=`git rev-parse --symbolic-full-name --abbrev-ref HEAD`; | |
echo "git pull origin $BRANCH" | |
git pull origin $BRANCH | |
} | |
# cd into a globbed folder. Eg. `pnm schema` will cd into ~/Web/foo-schema-bar | |
# If there's more than one folder matching, it will list all the possible options | |
pnm() { | |
cd ~/Web/*$1*/ | |
if [ $? -ne 0 ] | |
then | |
ls ~/Web/|grep $1 | |
fi | |
} | |
alias gs='git status' | |
alias gd='git diff' | |
alias gl='git log' | |
alias plszip='zip `json -f package.json name`.zip ./* -r' | |
alias atmo="atom . -a" | |
alias flasd='git add .; git stash;git checkout develop;git pull origin develop' |
- Google Chrome (or just use Chromium, Firefox is way better these days)
- Atom
- VirtualBox
- NVM
First, set up RPMFusion
sudo dnf config-manager --set-enabled fedora-cisco-openh264
sudo dnf groupinstall "Development Tools" "Development Libraries"
sudo dnf install inkscape gimp gcolor2 deluge git subversion hugin ImageMagick pitivi meld parcellite pngquant vim-enhanced filezilla cmake kernel-devel GraphicsMagick gcc-c++ shutter GREYCstoration-gimp gimp-resynthesizer exfat-utils fuse-exfat gcc-c++ htop gstreamer1-plugin-openh264 mozilla-openh264 youtube-dl solaar vidcutter kdenlive chromium gimp-focusblur-plugin clipit pulseaudio-module-bluetooth-freeworld
sudo dnf remove orca gnome-boxes transmission* evolution libreoffice* shotwell rhythmbox
# Set a super long dock autohide delay, so it doesn't pop up all the damn time
defaults write com.apple.dock autohide-delay -float 1000; killall Dock
# Hide desktop icons
defaults write com.apple.finder CreateDesktop false; killall Finder
# Symlink desktop to "Downloads" so random crap has somewhere to go
sudo rm -rf ~/Desktop && ln -s ~/Downloads ~/Desktop
*For VSCode:
code --install-extension EditorConfig.EditorConfig --force && code --install-extension stylelint.vscode-stylelint --force && code --install-extension dbaeumer.vscode-eslint --force && code --install-extension esbenp.prettier-vscode --force
echo '{"window.menuBarVisibility":"toggle","telemetry.enableTelemetry":false,"editor.formatOnSave":true,"editor.codeActionsOnSave":{"source.fixAll.eslint":true,"source.fixAll.stylelint":true},"diffEditor.ignoreTrimWhitespace":true,"prettier.requireConfig":true}' > ~/.config/Code/User/settings.json
For Atom:
apm install docblockr linter linter-eslint linter-ui-default intentions busy-signal prettier-atom editorconfig language-jsx language-vue atom-ide-ui sort-selected-elements
Add this to atom keymap to suppress cmd+q (goddamnit):
'body':
'cmd-q': 'core:save'
'cmd-q cmd-q': 'application:quit'
Set user deets, then:
git config --global user.email "ash@kyd.com.au"
git config --global user.name "Ash Kyd"
curl https://gist.githubusercontent.com/AshKyd/5288b1be6d45e08b6fcb/raw/6d9629bfe0824a1e2a6b50b0800ce8dff5666637/diff.py > ~/.diff-meld.py
chmod +x ~/.diff-meld.py
git config --global diff.external ~/.diff-meld.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment