Laptop battery is not working, so when the clock is wrong, my DNS
server does not works (because of DNSSEC) and it makes the clock to not
be able to update properly.
So this script changes the DNS to Quad9 and forces update the clock time
before changing it back to my DNS server.
The first script was saving the backup file under the Dropbox folder.
That's not a good idea, as my Dropbox has a limited space and phone
backups has about 8GB of data.
Avoinding issues using the "s" command
only with echo.
Pacman-mirrors - As I have used only
mirrors from Brazil, it makes more sense
to restrict it just here.
- Fixing vagrant
From time to time, after running the vagrant command
path were changed to Vagrant. I fixed it by changing the
&& to ";"
- Added "gmerge"
It is just a shortcut to merge another branch to the branch
I am working on. Very usefull if I have to merge it often.
Sometimes the "echo -e "$sudoPass\n" | yes" command
were displaying the password instead of confirming
something. So I changed it to make one thing at a
time.
First I refresh the use of sudo with password,
just using sudo in an echo command. So I can
use the command that really needs it with
not worries about asking the password.
If was slow to change audio profiles from HDMI to Analog,
so I created this small script that changes it acordinly
with the parameter (-a to Analog, -h to HDMI).
It also shows a message on screen, so I can use KDE shortcuts
to make it even easier to change (Win+H or Win+A)
1. Including config for VSCODE
2. Including path config for NPM
3. Changed Git Checkout alias from GCK to GCH
4. Including a git log alias
5. Including a LA alias (ls -A)
6. Including a CLEARLOGS alias that cleans old logs
7. Including a VZSH alias that vim .zshrc and source it after finished
8. Including SSH commands to make it easier to administrate ssh keys on keychain
9. Including a vagrant command to run it from it's path
10. Including a MKCD command that creates a folder and get inside it
11. Including a LE alias that applies LESS without using pipe "|"
12. Including LESS options to keep showing screen content on exit
13. Including TheFuck
14. Including Tilix fix