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
| #update packages | |
| sudo apt-get update | |
| #download compiler | |
| sudo apt-get install build-essential | |
| #download tcl | |
| sudo apt-get install tcl8.5 | |
| #download latest 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
| #update packages | |
| sudo apt-get update | |
| #install git | |
| sudo apt-get install git | |
| #download nodejs | |
| cd ~ | |
| wget https://nodejs.org/dist/v4.3.2/node-v4.3.2-linux-x64.tar.xz |
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
| 0x925c996915c4e0797F68f466cC83aF7D4ECC38fD |
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
| 0xb8f85e2ce964f864f2ccec58e47859699034660d |
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
| 0x7c4a963c5d20199bda763d570fb2f640e48ebfde |
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
| 0x624fedf4b9bf99ad4f61c5253031438084701103 |
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
| package com.example.edson.terminatorapp; | |
| import android.bluetooth.BluetoothAdapter; | |
| import android.bluetooth.le.ScanSettings; | |
| import android.content.Intent; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.widget.Button; |
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
| Subscription subscription = device.establishConnection(getApplicationContext(), false) | |
| .subscribe( | |
| rxBleConnection -> { | |
| Log.e("MainActivity", "rxBleConnection: " + rxBleConnection); | |
| // All GATT operations are done through the rxBleConnection. | |
| }, | |
| throwable -> { | |
| // Handle an error here. | |
| } | |
| ); |
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
| 0x1c25ef6055f5584e42c29f63c5535a740e0bbbd7 |
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
| pragma solidity ^0.4.0; | |
| contract Microfinance { | |
| address owner; | |
| mapping(address => Member) members; | |
| struct Member { | |
| string name; |