This document provides instructions for modifying the scan application to support various laser scanners. The app is designed to work with different scanner models through broadcast intents.
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
@echo off | |
heroku config | findstr CLEARDB > config.txt | |
set /p url=<config.txt | |
set "string=%url:?=" & set "x=%" | |
set "x=%string:/=" & set "dbname=%" | |
echo DB name: %dbname% | |
echo DB name: %dbname% >> config.txt |
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
# create executable adbwifi with the following contents | |
adb kill-server | |
adb tcpip 5555 | |
# create executable connect with the following contents | |
IP=$(adb shell ip addr show wlan0 | awk '/inet / {print $2}' | cut -d'/' -f 1) | |
adb connect $IP:5555 |