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
#!/bin/bash | |
function pair(){ | |
osascript <<'END' | |
use framework "IOBluetooth" | |
use scripting additions | |
set blueToothDevice to "Buds Pro" | |
on getFirstMatchingDevice(deviceName) |
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
'use strict'; | |
import React, {Component, PropTypes} from 'react'; | |
import ReactDOM from 'react-dom'; | |
class AudioPlayer extends Component { | |
componentDidMount() { | |
var node = ReactDOM.findDOMNode(this); |