Skip to content

Instantly share code, notes, and snippets.

View oviniciusfeitosa's full-sized avatar
🧛

Vinícius Feitosa da Silva oviniciusfeitosa

🧛
View GitHub Profile
@oviniciusfeitosa
oviniciusfeitosa / git rename branch.md
Created April 29, 2020 15:40
git rename branch.md
  1. Rename your local branch.

If you are on the branch you want to rename:

git branch -m new-name

If you are on a different branch:

git branch -m old-name new-name

@oviniciusfeitosa
oviniciusfeitosa / Ubuntu Keyboard and mouse not working.md
Created April 23, 2020 12:41
Ubuntu Keyboard and mouse not working.md
@oviniciusfeitosa
oviniciusfeitosa / [ Linux ] Alias from Profile.md
Created March 24, 2020 14:45
[ Linux ] Alias from Profile
sudo vim ~/.profile
  • Add an alias at end of file
...

alias hello_world="echo \"Hello World!\""
@oviniciusfeitosa
oviniciusfeitosa / Definir gateway padrão linux
Last active March 9, 2020 15:22
Definir gateway padrão linux.md
Gateway padrão no linux é definido no arquivo **/etc/systemd/network/static.network**.
```sh
[Match]
Name=en*
[Network]
Address=0.0.0.0
Gateway=192.168.xxx.xxx
```
@oviniciusfeitosa
oviniciusfeitosa / KDE - Alternar pelas janelas do aplicativo.md
Created March 6, 2020 19:15
KDE - Alternar pelas janelas do aplicativo.md

KDE - Alternar pelas janelas do aplicativo

@oviniciusfeitosa
oviniciusfeitosa / Disable nginx startup.md
Last active February 19, 2020 20:24
Disable nginx startup.md
sudo systemctl disable nginx
@oviniciusfeitosa
oviniciusfeitosa / Revalidade ca-certificates.md
Created February 7, 2020 21:50
Revalidade ca-certificates
sudo apt-get install -y --reinstall ca-certificates
@oviniciusfeitosa
oviniciusfeitosa / Git - find versioned files.md
Created December 23, 2019 14:38
Git - find versioned files

To find files that have been versioned, regardless of whether they were removed from versioning or not.

git log --all --full-history -- "**/thefile.*"
@oviniciusfeitosa
oviniciusfeitosa / Ragnarok eternal love tips.md
Created December 17, 2019 17:59
Ragnarok eternal love tips
@oviniciusfeitosa
oviniciusfeitosa / Activate PowerMode on Visual Studio Code (VSCode).md
Created December 3, 2019 14:29
Activate PowerMode on Visual Studio Code (VSCode)

Activate PowerMode on Visual Studio Code (VSCode)

To activate this "blow" effects on cursor when typing, you will need to install PowerMode Plug-in.

demo

Visual Studio configs

So, if you like some steps, take this 😄 :