Skip to content

Instantly share code, notes, and snippets.

View pwicherski's full-sized avatar
📱
Hi there 👋

Piotr Wicherski pwicherski

📱
Hi there 👋
View GitHub Profile
@pwicherski
pwicherski / 00.install-android-sdk.sh
Created December 13, 2023 18:01 — forked from nhtua/00.install-android-sdk.sh
Run a Headless Android Device on Ubuntu server (no GUI)
#!/bin/bash -i
#using shebang with -i to enable interactive mode (auto load .bashrc)
set -e #stop immediately if any error happens
# Install Open SDK
apt update
apt install openjdk-8-jdk -y
update-java-alternatives --set java-1.8.0-openjdk-amd64
java -version
@pwicherski
pwicherski / AdbCommands
Created September 20, 2023 20:44 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@pwicherski
pwicherski / espresso-vs-appium.md
Created November 21, 2021 14:08 — forked from dpgraham/espresso-vs-appium.md
Espresso vs. Appium

Espresso vs. Appium Comparison

Espresso and Appium are both automated UI testing frameworks but they work in different ways. There are use-cases where Espresso is the more suitable choice and there are use-cases where Appium is the more suitable choice.

The primary difference between the two is that Appium is a purely black box testing framework and Espresso is not black-box or white-box, but what they call a "grey box" testing framework (this will be explained further).

Appium tests the actual Android application. It takes the application apk and runs UI tests on them without access to any of the internals of the application. An Appium test knows nothing about "Activities", "Broadcast Services", "Intents", etc... The tests have the same access privileges to an application that a user has and thus the tests simulate the usage of an app the way that a user would actually use the app.

Espresso, on the other hand, is a Java framework that is installed with

@pwicherski
pwicherski / gist:110db8bfa5122965b9b86cb9d5b44632
Created July 13, 2020 15:36
Firebase Test Lab Devices 13.07.2020
{
"androidDeviceCatalog": {
"models": [
{
"id": "602SO",
"name": "Sony XZs",
"manufacturer": "Sony",
"form": "PHYSICAL",
"screenX": 1080,
"screenY": 1920,
CORONAVIRUS – WHAT WE’RE DOING AND HOW YOU CAN HELP IN SIMPLE TERMS
https://foldingathome.org/2020/03/15/coronavirus-what-were-doing-and-how-you-can-help-in-simple-terms/
Tweeter feed with FAQ:
https://twitter.com/foldingathome/status/1239673279889190917
Here's How YOU Can Help Find a Cure for COVID-19!
https://www.youtube.com/watch?v=KU4qOebhkfs
How to install Folding@Home
@pwicherski
pwicherski / gist:4ca90188b8d65c2eb99bcc47f7cc1317
Created March 17, 2020 20:06
Android Emulator custom hardware profile
PlayStore: Does the device supports Google Play?
PlayStore.enabled [no]:
avd home that was used during the construction of this hardware.ini: This can be used by post processing tools to migrate snapshots
android.avd.home []:
sdk root that was used during the construction of this hardware.ini: This can be used by post processing tools to migrate snapshots
android.sdk.root []:
ID of the AVD being run:
Online course:
https://www.linkedin.com/learning/effective-android-testing-for-mobile-developers
https://www.linkedin.com/learning/android-espresso-essential-training
https://www.linkedin.com/learning/advanced-android-espresso-testing
Cheat Sheet:
https://android.github.io/android-test/downloads/espresso-cheat-sheet-2.1.0.pdf
Book:
https://www.apress.com/gp/book/9781484243145
Jan 06, 2019 8:23:23 PM javafx.fxml.FXMLLoader$ValueElement processValue
WARNING: Loading FXML document with JavaFX API of version 10.0.1 by JavaFX runtime of version 8.0.171
Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:422)
at java.util.ArrayList.remove(ArrayList.java:499)
at com.sun.javafx.collections.ObservableListWrapper.doRemove(ObservableListWrapper.java:116)
at javafx.collections.ModifiableObservableListBase.remove(ModifiableObservableListBase.java:179)
at sample.Controller.mouseClickRemove(Controller.java:101)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
Odpowiedzi na wszystkie Twoje pytania z mojej strony:
Firmy, do których można się zgłosić szukając pierwszej pracy lub stażu:
http://bit.ly/FirmyNaStart
Tutaj jest miejsce do ogłszania się, gdy szukasz pierwszej pracy lub stażu:
http://bit.ly/PierwszaPracaStaz
Szukasz pracy i nie możesz jej znaleźć pomimo tego, że podobno jest to łatwe?
http://bit.ly/ProblemyZPierwszaPraca
@pwicherski
pwicherski / gist:c6ddd854cbc34101b148aa1828cf0766
Created August 25, 2018 19:23
Polish free anonymous proxy
http#31.172.177.150#8088
http#188.137.77.12#8080
http#80.55.220.228#8080
http#81.18.214.62#8080
http#178.183.8.27#3128
http#46.238.242.126#8080
http#80.94.30.227#8080
http#78.10.36.25#8080
http#91.200.25.254#8080
http#85.219.206.209#8080