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
#!/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 { |
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
<!-- 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 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" | |
}, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.suggest.showReferences": false, | |
"editor.suggest.showTypeParameters": true, | |
"editor.snippetSuggestions": "top", |
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
/** | |
* 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 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 gs='git status' | |
alias gp='git pull origin' | |
alias gpsh='git push' | |
alias gcm='git commit -m' | |
alias gco='git checkout' | |
alias grb='git rebase -i HEAD~' | |
alias vi='nvim' | |
alias vim='nvim' |
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
[user] | |
email = guilhermezordan@outlook.com | |
name = Gui Zordan | |
[pager] | |
branch = false | |
[core] | |
editor = nvim | |
[pull] | |
rebase = true | |
[init] |