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 branch | %{ $_.Trim() } | ?{ $_ -ne 'master' } | %{ git branch -D $_ } |
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
while true; do | |
read -p "Are you sure you want to continue? " yn | |
case $yn in | |
[Yy]* ) call_function; break;; | |
[Nn]* ) exit;; | |
* ) echo "Please answer yes or no.";; | |
esac | |
done |
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 | |
gpg --version # Check GPG installation | |
git --version # Check Git installation | |
git-secret --version # Check git-secret installation | |
gpg --list-keys # Make sure that your GPG key is listed here | |
git init # Initialize the repository if you have not done it already | |
git secret init # Initialize the repository using git-secret | |
git secret tell email@example.com # Add a user |
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
language: android | |
jdk: oraclejdk8 | |
before_install: | |
- mkdir "$ANDROID_HOME/licenses" || true | |
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license" | |
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license" | |
script: | |
- ./gradlew check |
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
/** | |
Sketch that tests the functionality of the BluetoothWrapper Android | |
library available here: https://github.com/GeorgiosGoniotakis/BluetoothWrapper | |
It demonstrates a connection between an Arduino board and a | |
Bluetooth module (currently HC-05). | |
author: Georgios Goniotakis | |
date: 07 Oct 2017 | |
version: 1.0.0 |