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
| #!/bin/bash | |
| sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport | |
| sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport |
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
| #!/bin/bash | |
| sudo killall VDCAssistant |
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
| function convertResults(resultset,table) { | |
| var results = []; | |
| var _exportSql = ""; | |
| for(var i=0,len=resultset.rows.length;i<len;i++) { | |
| var row = resultset.rows.item(i); | |
| var _fields = []; | |
| var _values = []; | |
| for (col in row) { | |
| _fields.push(col); | |
| _values.push('"' + row[col] + '"'); |