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
gulp test | |
gulp build | |
git config --global user.email "[email protected]" | |
git config --global user.name "Your Name" | |
git add build | |
git commit -am "app built" | |
export CI_COMMIT_ID=$(git rev-parse HEAD) |
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 config --global diff.tool opendiff | |
git config --global difftool.opendiff.cmd 'opendiff "$LOCAL" "$REMOTE"' | |
git config --global merge.tool opendiff | |
git config --global mergetool.opendiff.cmd 'opendiff -merge "$MERGED" "$LOCAL" "$REMOTE"' | |
git config --global mergetool.opendiff.trustExitCode 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
// Date and time functions using a DS1307 RTC connected via I2C and Wire lib | |
#include <Wire.h> | |
#include "RTClib.h" | |
RTC_DS1307 rtc; | |
void setup () { | |
Serial.begin(57600); | |
#ifdef AVR |
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
float temp; | |
float target_temp = 21.0; | |
const int tempPin = A0; // the analog pin used to read temp | |
const int ledPin = 3; // the number of the LED pin | |
/* | |
LM 35 | |
5v --|\ | |
A0 --| | |
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
export PS1='\[\033[00;30m\]\u \[\033[00;34m\]\w\[\033[00m\]\[\033[00;31m\]`git branch 2>/dev/null|cut -f2 -d\* -s` \[\033[00m\]\$ ' |