This file contains hidden or 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
| [user] | |
| email = [email protected] | |
| name = Gui Zordan | |
| [pager] | |
| branch = false | |
| [core] | |
| editor = nvim | |
| [pull] | |
| rebase = true | |
| [init] |
This file contains hidden or 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
| alias update='sudo pacman -Syu' # Alias mais claro | |
| alias install='sudo pacman -S' # Instala um pacote | |
| alias search='pacman -Ss' # Procura um pacote | |
| alias remove='pacman -Rns' # Remove um pacote | |
| alias rmlog='journalctl --vacuum-time=7d' # Limpa logs antigos (opcional, boa prática) | |
| alias c="clear" # Atalho para limpar a tela | |
| alias ..='cd ..' # Volta um diretório | |
| alias ...='cd ../..' # Volta dois diretórios | |
| alias cp="cp -i" # Confirma antes de sobrescrever |
This file contains hidden or 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
| /** | |
| * Tests if the brackets in a given string are balanced | |
| * @param {string} expression - the expression string to be tested. | |
| */ | |
| function areBracketsBalanced(expression) { | |
| if (!expression) { | |
| return false; | |
| } | |
| /** |
This file contains hidden or 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
| { | |
| "editor.formatOnSave": true, | |
| "editor.codeActionsOnSave": { | |
| "source.fixAll.eslint": "explicit", | |
| "source.fixAll.stylelint": "explicit" | |
| }, | |
| "terminal.integrated.fontFamily": "Hack Nerd Font Mono", | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", | |
| "editor.suggest.showReferences": false, | |
| "editor.suggest.showTypeParameters": true, |
This file contains hidden or 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
| <!-- CTRL [space] --> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <title>Page Title</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <!-- React --> | |
| <script |
This file contains hidden or 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 | |
| ear_path=~/projeto/FSJ/ambiente/maven_repo/br/com/fsj/retaguarda/fsj-retaguarda-ear/1.0-SNAPSHOT/fsj-retaguarda-ear-1.0-SNAPSHOT.ear | |
| glassfish_path=~/glassfish-3.1.2.2/glassfish | |
| domains_list=$(asadmin list-domains) | |
| project_path=~/projeto/FSJ/branches/18.03.3.0 | |
| memory_usage=$(free -m | awk 'NR==2{ printf " %.2f", $3*100/$2 }') | |
| maximum_memory_usage=75.00 | |
| function setDatabaseDialect { |