-
This is a numbered list.
-
I'm going to include a fenced code block as part of this bullet:
Code More Code
This file contains hidden or 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 | |
| # Installs and configures fancontrol to automatically run Unifi Dream Machine (UDM) fans harder & lower temperatures. | |
| # | |
| # Context: Unifi equipment typically runs *very* hot from the factory unless you customize it. | |
| # I don't want my hard drives to run as hot as they let them get by default (55ºC+), because it shortens lifespan (ideal temp is ~35-45C). | |
| # | |
| # Further Reading: | |
| # - https://linux.die.net/man/8/fancontrol | |
| # - https://community.ui.com/questions/Unifi-Dream-Router-fan-speed/1cb9cf18-e8a0-44b4-8402-ee9bac367bc0 | |
| # - https://www.reddit.com/r/Ubiquiti/comments/13imgqj/udm_pro_fan_speed_is_this_normal/ |
This file contains hidden or 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
| #include <IRremote.h> | |
| /* | |
| Send infrared commands from the Arduino to the iRobot Roomba | |
| by probono | |
| 2013-03-17 Initial release | |
This file contains hidden or 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
| # Run iOS Unit Tests from the command line with Xcode 4.5 and iOS 6 | |
| # Adapted from Scott Thompson at http://stackoverflow.com/a/10823483/1359212 | |
| # | |
| # Steps: | |
| # 1. Create a new Xcode Scheme for the Tests target | |
| # 2. Edit the Tests Scheme so that the "Run" checkbox is checked for the Tests target | |
| # 3. Use this script as the Test Target's "Run Script" entry on the "Build Phases" tab | |
| # 4. Run tests from the command line with: | |
| # xcodebuild -sdk iphonesimulator -scheme 'TestSchemeName' build SL_RUN_UNIT_TESTS=YES |
This file contains hidden or 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
| /* | |
| A trivial Arduino sketch to mimic iRobot Virtual Wall for Roomba | |
| ---------------------------------------------------------------- | |
| Based on information found at: | |
| http://sites.google.com/site/irobotcreate2/createanirbeacon | |
| Uses "A Multi-Protocol Infrared Remote Library for the Arduino": | |
| http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html |