sudo defaults write /Library/Preferences/com.apple.airport.bt.plist bluetoothCoexMgmt Hybrid
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 80
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
/** | |
This is an implementation of Zigbee device communication using an XBee | |
and a Centralite Smart Switch 4256050-ZHAC | |
dave (www.desert-home.com) | |
source: http://www.desert-home.com/2014/10/zigbee-protocol-xbee-but-this-time.html | |
*/ | |
// This code will handle both a Uno and a Mega2560 by careful use of | |
// the defines. I tried it on both of them, and the only problem is that |
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
import { forEachObjIndexed } from "ramda"; | |
import * as React from "react"; | |
import { | |
Animated, | |
ScrollView, | |
View, | |
ViewStyle, | |
LayoutChangeEvent, | |
NativeScrollEvent, | |
} from "react-native"; |
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 <opencv2/opencv.hpp> | |
#include "./include/Processing.NDI.Lib.h" | |
using namespace cv; | |
using namespace std; | |
int main(int argc, char* argv[]) { | |
// Init opencv | |
VideoCapture capture(0); |
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
{ | |
"constants": { | |
"PPM": BigNumber, | |
"PCT_BASE": BigNumber | |
}, | |
"values": { | |
"maximumTapIncreasePct": BigNumber | |
}, | |
"network": { | |
"id": Number, |
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
import Web3 from 'web3' | |
import provider from 'eth-provider' | |
import { | |
getAppLocator, | |
getDefaultEthNode, | |
getEthNetworkType, | |
getIpfsGateway, | |
} from './local-settings' | |
import { getNetworkConfig } from './network-config' | |
import { noop } from './utils' |
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
const sha3 = require('js-sha3').keccak_256 | |
const coder = require('web3/lib/solidity/coder.js') | |
const blockNumber = require('@aragon/test-helpers/blockNumber')(web3) | |
const FundraisingKit = artifacts.require('FundraisingKit') | |
const TokenMock = artifacts.require('TokenMock') | |
const Controller = artifacts.require('AragonFundraisingController') | |
const MarketMaker = artifacts.require('BatchedBancorMarketMaker') |
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
<template lang="html"> | |
<v-container v-if="clock" class="screen" fluid fill-height> | |
{{room.timer}} | |
</v-container> | |
<v-container v-else class="alert" fluid fill-height> | |
Some non-reactive stuff. | |
</v-container> | |
</template> | |
<script> |
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
const { Machine, actions } = require('xstate'); | |
const { interpret } = require('xstate/lib/interpreter'); | |
const { send } = actions; | |
const myActions = { | |
resetRoom(ctx, e) { | |
// console.log('Reset room', ctx); | |
}, | |
openIn(ctx, e) { |
NewerOlder