Skip to content

Instantly share code, notes, and snippets.

View JakubMosakowski's full-sized avatar

Jakub Mosakowski JakubMosakowski

  • SpotOn
View GitHub Profile
JakubMosakowski /
Created May 28, 2021 08:28
A simple script to connect to the device through wifi
# 1. Connect the phone using a USB cable.
# 2. Restart adb listening on TCP on 5555 port.
adb tcpip 5555
# 3. Sleep for 1 second (not too clean but that's the simplest way to make sure that the previous command finished).
sleep 1
JakubMosakowski /
Created April 20, 2019 10:19
Shell script for automatically generating changelog for a release.
#!/usr/bin/env bash
#Needs two argument: a path to file and filename where changelog will be printed into.
if [ "$#" -lt 2 ]; then
echo 'Correct usage: ./script PATH_WHERE_CREATE_FILE FILENAME'
exit 1