#How to connect multiple Android devices with ADB over TCP
According to a post on xda-developers, you can enable ADB over Wi-Fi from the device with the commands:
su
setprop service.adb.tcp.port 5555
stop adbd
start adbd
#!/bin/sh | |
OPTIONS=`vagrant ssh-config | awk -v ORS=' ' '{print "-o " $1 "=" $2}'` | |
scp ${OPTIONS} "$@" || echo "Transfer failed. Did you use 'default:' as the target?" |
<?php | |
error_reporting(-1); | |
$host = "your-host.tld"; // your websocket url without protocol part | |
$SecWebsocketKey = "your key from websocket connection"; // try wireshark or developer Tools to get this | |
$origin = "http://$host/"; // origin for the header | |
$host = 'localhost'; //where is the websocket server |
<# | |
.SYNOPSIS | |
Run schema migration scripts on a SQL Server databse | |
.DESCRIPTION | |
The database version is kept track of in an extended property ('db-version') on | |
the SQL Server database. The version number comes from the prefix of the | |
filename of each .sql migration script (see -SchemaDir parameter help for more | |
information). |
Param( | |
[Parameter( | |
Mandatory = $true, | |
ParameterSetName = '', | |
ValueFromPipeline = $true)] | |
[string]$Query | |
) | |
$MySQLAdminUserName = 'USER' | |
$MySQLAdminPassword = 'PASSWORD' | |
$MySQLDatabase = 'MYDBNAME' |