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
| # Use Linux-style keybindings | |
| Set-PSReadLineOption -EditMode Emacs | |
| # Optional: Make Tab completion feel more like Linux (list options) | |
| Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete | |
| function gs { git status } | |
| function gpu { git pull } | |
| function gpsh { git push } | |
| function gcm { git commit -m $args } |
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
| // Place your key bindings in this file to override the defaults | |
| [ | |
| { | |
| "key": "ctrl+i", | |
| "command": "composerMode.agent" | |
| }, | |
| { | |
| "key": "ctrl+shift+down", | |
| "command": "-cursorDownSelect", | |
| "when": "textInputFocus" |
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 = guilhermezordan@outlook.com | |
| 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, | |
| "terminal.integrated.fontFamily": "MesloLGS Nerd Font Mono", | |
| "editor.fontFamily": "MesloLGS Nerd Font Mono", | |
| "editor.suggest.showReferences": false, | |
| "editor.suggest.showTypeParameters": true, | |
| "editor.snippetSuggestions": "top", | |
| "editor.wordWrap": "on", | |
| "emmet.triggerExpansionOnTab": true, | |
| "editor.lineHeight": 24, |
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 { |