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
# OS generated files # | |
###################### | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
ehthumbs.db | |
Thumbs.db |
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
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
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] | |
name = XXXX | |
email = YYYY | |
[push] | |
default = simple | |
[alias] | |
dev = checkout dev | |
prod = checkout prod | |
st = status | |
ci = commit |
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
Show hidden characters
[ | |
{ "keys": ["super+d"], "command": "duplicate_line" }, | |
{ "keys": ["super+shift+d"], "command": "find_under_expand" }, | |
{ "keys": ["super+shift+o"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
{ "keys": ["f10"], "command": "clone_file" }, | |
{ "keys": ["f12"], "command": "reindent", "args": {"single_line": false} }, | |
{ "keys": ["f13"], "command": "reindent", "args": {"single_line": false} }, | |
{ "keys": ["super+down"], "command": "sublimerge_go_down"}, | |
{ "keys": ["super+up"], "command": "sublimerge_go_up"}, | |
{ "keys": ["f19"], "command": "sftp_upload_file" }, |
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
GIT_VERSION=`git --version | awk '{print $3}'` | |
URL="https://raw.github.com/git/git/v$GIT_VERSION/contrib/completion/git-completion.bash" | |
PROFILE="$HOME/.profile" | |
echo "Downloading git-completion for git version: $GIT_VERSION..." | |
if ! curl "$URL" --silent --output "$HOME/.git-completion.bash"; then | |
echo "ERROR: Couldn't download completion script. Make sure you have a working internet connection." && exit 1 | |
fi |
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
# no Computador cliente (remetente) | |
1) editar o arquivo *~/.ssh/config* e adicionar as seguintes linhas: | |
Host NOME_DO_SERVIDOR | |
Hostname IP_DO_SERVIDOR | |
User USUARIO_LOGADO_DO_SERVIDOR | |
IdentityFile CAMINHO_DA_CHAVE_RSA_PRIVADA | |
StrictHostKeyChecking no | |
2) Digitar: | |
ssh-keyscan -H NOME_DO_SERVIDOR >> ~/.ssh/known_hosts |
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 | |
help() | |
{ | |
echo "" | |
echo "buildJenkins" | |
echo " Ferramenta para constução de pacotes de arquivos em linha de comandos." | |
echo "" | |
echo "UTILIZAÇÃO" | |
echo "" |
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
preferred_syntax = :scss | |
http_path = "/" | |
fonts_dir = "static/html_cms/fonts" | |
css_dir = "static/html_cms/css/assine-ja/" | |
sass_dir = "source/scss" | |
images_dir = "static/html_cms/img/assine-ja/" | |
if environment == :production | |
output_style = :compressed | |
line_comments = 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
/** | |
* Simple localStorage with Cookie Fallback | |
* v.1.0.0 | |
* | |
* USAGE: | |
* ---------------------------------------- | |
* Set New / Modify: | |
* store('my_key', 'some_value'); | |
* | |
* Retrieve: |
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 | |
cd /tmp && \ | |
wget https://download.robomongo.org/1.2.1/linux/robo3t-1.2.1-linux-x86_64-3e50a65.tar.gz && \ | |
sudo mkdir -p /opt/robo3t/1.2.1/ && \ | |
sudo tar -zxvf robo3t-1.2.1-linux-x86_64-3e50a65.tar.gz -C /opt/robo3t/1.2.1/ --strip-components=1 && \ | |
sudo ln -s /opt/robo3t/1.2.1/bin/robo3t /usr/local/bin |
OlderNewer