#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/bash | |
# Install Quake 3: Arena on a mac | |
# updated to cpma 1.53 using the new promode cdn | |
# Copyright (c) 2016 simonewebdesign | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACT |
Param( | |
[Parameter( | |
Mandatory = $true, | |
ParameterSetName = '', | |
ValueFromPipeline = $true)] | |
[string]$Query | |
) | |
$MySQLAdminUserName = 'USER' | |
$MySQLAdminPassword = 'PASSWORD' | |
$MySQLDatabase = 'MYDBNAME' |
<# | |
.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). |
<?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 |
#!/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?" |