To simulate the phone being unplugged from usb charging you can use:
$ adb shell dumpsys battery set usb 0
or if you're on a device Android 6.0 or higher you can use:
$ adb shell dumpsys battery unplug
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 | |
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR | |
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH | |
Home/Core N 3KHY7-WNT83-DGQKR-F7HPR-844BM | |
Professional W269N-WFGWX-YVC9B-4J6C9-T83GX | |
Professional N MH37W-N47XK-V7XM9-C7227-GCQG9 | |
Professional Enterprise | |
Professional Workstation | |
Enterprise NPPR9-FWDCX-D2C8J-H872K-2YT43 | |
Enterprise N DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 |
These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.
#!/usr/bin/env bash | |
# Copyright (c) 2017 Brian 'redbeard' Harrington <redbeard@dead-city.org> | |
# | |
# dumpcerts.sh - A simple utility to explode a Traefik acme.json file into a | |
# directory of certificates and a private key | |
# | |
# Usage - dumpcerts.sh /etc/traefik/acme.json /etc/ssl/ | |
# | |
# Dependencies - | |
# util-linux |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare git@github.com:usi-systems/easytrace.git
These exercises are some I did while studying for COMP2521, as well as some others which I've found afterwards which I think will be relevant. I've collected these problems mostly from LeetCode and HackerRank, which are excellent sites for practicing your coding abilities. Accounts on both sites will be necessary to do the problems listed.
The difficulty ranking is obviously my opinion, but generally speaking here is what they mean:
If you're able to solve the easy and intermediate problems without much difficulty, you're probably very well prepared for any programming questions you'll receive in the ex
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs