Skip to content

Instantly share code, notes, and snippets.

@ziadtawfeek
ziadtawfeek / Redis CLI Cheatsheet
Created September 8, 2021 11:25
Redis CLI Cheatsheet
When you encounter a Redis instance and you quickly want to learn about
the setup you just need a few simple commands to peak into the setup. Of
course it doesn't hurt to look at the official [full command
documentation](http://redis.io/commands), but below is a listing just
for sysadmins.
### Accessing Redis
#### CLI
The Android Debug Bridge is better known as ADB. It is a command-line utility, included in Android SDK, which allows us to interact with an Android device or emulator over a USB connection, allowing files to be transferred, installing applications, changing permissions of applications, taking screenshots, and much more.
ADB over Wi-Fi:
---------------
To connect an Android device via Wi-Fi we need to use the adb connect <ip-address> command.
We can find the current ip address by going into the "Settings > About device > Status" screen on Android device. Let's imaging that the IP address is the following: 192.168.1.42
# Connect to the device by its IP address
adb connect 192.168.1.42
Getting started:
----------------
passwd : change user password
whoami : know which user are you logged-in
logout : logout from the system
init 0 : powers off the system using predefined scripts to synchronize and clean up the system prior to shutdown
reboot : reboot the system
shutdown : shutdown the system
.program name : invisible file is one whose first character is the dot or period character
uname : display the operating system information

Keybase proof

I hereby claim:

  • I am ziadtawfeek on github.
  • I am ziadtawfeek (https://keybase.io/ziadtawfeek) on keybase.
  • I have a public key ASDlc3T4FMUho7egluBHEAfsIAWvWxUEdwGM6CzH0E-fMQo

To claim this, I am signing this object:

---
format_version: '8'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: android
trigger_map:
- push_branch: "*"
workflow: primary
- pull_request_source_branch: "*"
workflow: primary
workflows:
@ziadtawfeek
ziadtawfeek / Instabug Take Home Challenge #2.md
Last active January 27, 2024 13:19
Instabug Take Home Challenge #2

Instabug Challenge

Thank you for taking the time to do our challenge. It consists of four parts:

First Part: Creating a test plan for one of mobile applications. (Trello, LinkedIn, Yalla Kora, MyFitnessPal)

Deliverables:

  1. A list of ideas/bullet points you would test for. Focus on good coverage, rather than complete test cases
  2. A prioritization of such test cases according to their possible business impact

Second Part: Reporting defects for the same mobile application above

@ziadtawfeek
ziadtawfeek / Instabug Take Home Challenge #1.md
Last active June 1, 2022 13:10
Instabug Take Home Challenge #1