Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
echo "===== Mac ====="
sysctl hw.model
sw_vers -productVersion
echo "\n===== Xcode ====="
xcodebuild -version
xcode-select -p
mKonashiManager.i2cStartCondition()
.then(mKonashiManager.<BluetoothGattCharacteristic>i2cReadPipe(1, (byte) 0x01))
.then(new DonePipe<byte[], byte[], BletiaException, Void>() {
@Override
public Promise<byte[], BletiaException, Void> pipeDone(byte[] result) {
// 0x01 の値を処理
return mKonashiManager.i2cRead(1, (byte)0x02);
}
})
.then(new DonePipe<byte[], byte[], BletiaException, Void>() {
@kiryuxxu
kiryuxxu / output.log
Created May 12, 2017 08:23
wget with child_process.spawn
stderr: --2017-05-12 17:21:27-- http://example.com/
Resolving example.com... 93.184.216.34, 2606:2800:220:1:248:1893:25c8:1946
Connecting to example.com|93.184.216.34|:80...
stderr: connected.
stderr: HTTP request sent, awaiting response...
stderr: 304 Not Modified
stderr: File ‘~/tmp/index.html’ not modified on server. Omitting download.