To try it out if you have just cloned it (to your home directory):
source ~/.oh-my-zsh/templates/zshrc.zsh-template
travis encrypt MY_SECRET_ENV=super_secret --add env.global |
env: | |
global: | |
- secure: mcUCykGm4bUZ3CaW6AxrIMFzuAYjA98VIz6YmYTmM0/8sp/B/54JtQS/j0ehCD6B5BwyW6diVcaQA2c7bovI23GyeTT+TgfkuKRkzDcoY51ZsMDdsflJ94zV7TEIS31eCeq42IBYdHZeVZp/L7EXOzFjVmvYhboJiwnsPybpCfpIH369fjYKuVmutccD890nP8Bzg8iegssVldgsqDagkuLy0wObAVH0FKnqiIPtFoMf3mDeVmK2AkF1Xri1edsPl4wDIu1Ko3RCRgfr6NxzuNSh6f4Z6zmJLB4ONkpb3fAa9Lt+VjJjdSjCBT1OGhJdP7NlO5vSnS5TCYvgFqNSXqqJx9BNzZ9/esszP7DJBe1yq1aNwAvJ7DlSzh5rvLyXR4VWHXRIR3hOWDTRwCsJQJctCLpbDAFJupuZDcvqvPNj8dY5MSCu6NroXMMFmxJHIt3Hdzr+hV9RNJkQRR4K5bR+ewbJ/6h9rjX6Ot6kIsjJkmEwx1jllxi4+gSRtNQ/O4NCi3fvHmpG2pCr7Jz0+eNL2d9wm4ZxX1s18ZSAZ5XcVJdx8zL4vjSnwAQoFXzmx0LcpK6knEgw/hsTFovSpe5p3oLcERfSd7GmPm84Qr8U4YFKXpeQlb9k5BK9MaQVqI4LyaM2h4Xx+wc0QlEQlUOfwD4B2XrAYXFIq1PAEic= |
#!/bin/bash | |
BRANCH=${1:-'master'} | |
# This has to be run from master | |
git checkout $BRANCH | |
# Update our list of remotes | |
git fetch | |
git remote prune origin |
curl -H "Accept: application/vnd.github.cloak-preview" \ | |
https://api.github.com/search/commits?q=is:public |
IntelliJ IDEA has keyboard shortcuts for most of its commands related to editing, navigation, refactoring, debugging, and other tasks. Memorizing these hotkeys can help you stay more productive by keeping your hands on the keyboard.
The following table lists some of the most useful shortcuts to learn:
Shortcut | Action |
---|---|
Double Ctrl |
Run Anything. Execute commands, such as opening a project, launching a run/debug configuration, running a command-line utility, and so on. The available commands depend on the set of plugins and tools you have configured for your project |
Double Shift |
Search Everywhere. Find anything related to IntelliJ IDEA or your project and open it, execute it, or jump to it |
#!/bin/sh | |
set -e | |
BASE_NAME=$(basename `git rev-parse --show-toplevel`) | |
REPO_ROOT_DIR="$(git rev-parse --show-toplevel)" | |
GREEN="\033[1;32m" | |
NOCOLOR="\033[0m" | |
echo "\nRunning pre-commit checks on $BASE_NAME..." |
#!/bin/sh | |
git update-index -g |
plugins { | |
id 'com.github.sherter.google-java-format' version '0.8' | |
} | |
googleJavaFormat { | |
options style: 'GOOGLE' | |
} | |
task installGitHooks(type: Copy) { | |
into (rootProject.rootDir) |
#include <Wire.h> | |
#include <Stepper.h> //biblioteca para controle de motor de passo | |
#include <LiquidCrystal.h> | |
LiquidCrystal disp(6, 7, 5, 4, 3, 2); | |
// VARIÁVEL PARA SELEÇÃO DO PINO DIGITAL ---------------------------------------------------------------------------------- | |
const int setButton = 11; // SETA VALORES ESCOLHIDOS | |
const int returnButton = 8; // RETORNA MENU ANTERIOR | |
const int proceedButton = 13; // PROCEDE AO PRÓXIMO MENU |