These rules are adopted from the AngularJS commit conventions.
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
# Purpose: Shell script to connect a USB connected device via adb over WiFi | |
# | |
# Author: Amanshu Raikwar | |
# | |
# Assumptions: | |
# 1. USB debugging is enabled in the Android device | |
# 2. The Android device is connected to the computer via USB | |
# 3. The Android device is connected to the same wifi as the computer | |
# 4. The Android device is accessible through port 5555 over the wifi network | |
# |
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
# Purpose: Shell script to connect a USB connected device via adb over WiFi | |
# | |
# Author: Amanshu Raikwar | |
# | |
# Assumptions: | |
# 1. USB debugging is enabled in the Android device | |
# 2. The Android device is connected to the computer via USB | |
# 3. The Android device is connected to the same wifi as the computer | |
# 4. The Android device is accessible through port 5555 over the wifi network | |
# |
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
import {defer} from 'rxjs/observable/defer'; | |
import {Observable} from 'rxjs/Observable'; | |
/** Example | |
import {from} from 'rxjs/observable/from'; | |
from([1, 2, 3]) | |
.pipe(doOnSubscribe(() => console.log('subscribed to stream'))) | |
.subscribe(x => console.log(x), null, () => console.log('completed')); | |
*/ |
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
# Merge Script | |
# http://code.hootsuite.com/an-introduction-to-creating-and-distributing-embedded-frameworks-in-ios/ | |
# 1 | |
# Set bash script to exit immediately if any commands fail. | |
set -e | |
# 2 | |
# Setup some constants for use later on. |
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
exports = module.exports | |
exports.setup = (callback) -> | |
write = process.stdout.write | |
process.stdout.write = ((stub) -> | |
(string, encoding, fd) -> | |
stub.apply process.stdout, arguments | |
callback string, encoding, fd)(process.stdout.write) | |