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
# safe merge | |
# | |
# merge the branch XXXXXXXX-add-example-feature into master | |
# make sure the feature is properly tested and | |
# doesn't break anything in its original context | |
git checkout XXXXXXXX-add-example-feature | |
rake # the test suite MUST NOT raise any error | |
# make sure your local copy of master is up-to-date |
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: ubuntu | |
sudo apt-get update | |
sudo apt-get upgrade | |
# Access keys | |
vim .ssh/authorized_keys | |
# Hostname | |
sudo vim /etc/hostname | |
sudo vim /etc/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
require 'sidekiq/api' | |
# 1. Clear retry set | |
Sidekiq::RetrySet.new.clear | |
# 2. Clear scheduled jobs | |
Sidekiq::ScheduledSet.new.clear |
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
// Original code by Rolf R Bakke, Oct 2012, | |
// Modified May 2017 by Thomas Gilson. [email protected] | |
// code is for the arduino pro/pro mini, using MS5611 barometer and speaker on pin 2. | |
// can be hooked up to a button for different mode changes on the "fly" (he he). | |
// made especially for paragliders. | |
// before using this, you should know roughly what your min sink rate will be. | |
// this code is designed to sound no tone when descending normally at speeds near your min sink rate. | |
// it sounds (relatively) continuous low frequency tones when descending faster than user-settable sink threshold. | |
// it sounds high-frequency beeps when gaining altitude faster than user-settable ascend threshold. | |
// it may detect when you are getting thermal uplift but still descending. This can be disabled if preferred. |