Skip to content

Instantly share code, notes, and snippets.

View Kinkypeter's full-sized avatar

Peter Nehem Kinkypeter

View GitHub Profile
@Kinkypeter
Kinkypeter / android-adb-pull-apk.md
Created January 12, 2023 19:42 — forked from ctrl-freak/android-adb-pull-apk.md
Retrieve APK from Non-Rooted Android Device through ADB

https://stackoverflow.com/a/18003462/348146

None of these suggestions worked for me, because Android was appending a sequence number to the package name to produce the final APK file name (this may vary with the version of Android OS). The following sequence of commands is what worked for me on a non-rooted device:

  1. Determine the package name of the app, e.g. com.example.someapp. Skip this step if you already know the package name.

    adb shell pm list packages

    Look through the list of package names and try to find a match between the app in question and the package name. This is usually easy, but note that the package name can be completely unrelated to the app name. If you can't recognize the app from the list of package names, try finding the app in Google Play using a browser. The URL for an app in Google Play contains the package name.

@Kinkypeter
Kinkypeter / keybase.md
Created June 14, 2019 15:08
keybase proof for github

Keybase proof

I hereby claim:

  • I am kinkypeter on github.
  • I am pnehem (https://keybase.io/pnehem) on keybase.
  • I have a public key ASD1VYzrZkk2AzvSJBc97rLTGoA4e_3o7bQk4iWJAsOeFAo

To claim this, I am signing this object:

@Kinkypeter
Kinkypeter / gist:0ca96b16788444435faa2c137617991e
Created May 1, 2018 14:01
Home Computer - Output of 'cat /root/centminlogs/$(ls -rt /root/centminlogs/ | grep -v pcre | grep 'wget_source_install' | tail -1)'
cat /root/centminlogs/$(ls -rt /root/centminlogs/ | grep -v pcre | grep 'wget_source_install' | tail -1)
Download wget-1.19.4.tar.gz ...
HTTP/2 200
--2018-02-21 14:19:17-- https://centminmod.com/centminmodparts/wget/wget-1.19.4.tar.gz
Resolving centminmod.com... 162.211.65.18
Connecting to centminmod.com|162.211.65.18|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4310657 (4.1M) [application/octet-stream]
Saving to: ‘wget-1.19.4.tar.gz’
@Kinkypeter
Kinkypeter / gist:2468f4b767846169d8ab27edb7a2b339
Created May 1, 2018 13:59
Main Server - Output of 'cat /root/centminlogs/$(ls -rt /root/centminlogs/ | grep -v pcre | grep 'wget_source_install' | tail -1)'
Odd it only shows PCRE 8.41 - It looks like it hasn't upgraded to 8.42
cat /root/centminlogs/$(ls -rt /root/centminlogs/ | grep -v pcre | grep 'wget_source_install' | tail -1)
Download pcre-8.41.tar.gz ...
pcre-8.41.tar.gz Archive found, skipping download...
pcre-8.41.tar.gz valid file.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
@Kinkypeter
Kinkypeter / gist:28292687c91dee148cd80e40c93ba6af
Created May 1, 2018 13:52
Alt Server - pnehem.com Output of 'cat /root/centminlogs/$(ls -rt /root/centminlogs/ | grep -v pcre | grep 'wget_source_install' | tail -1)'
ls -rt /root/centminlogs/ | grep 'wget_source_install'
wget_source_install_230318-140756.log
wget_source_install_pcre_210418-190210.log
wget_source_install_pcre_220418-115651.log
wget_source_install_pcre_240418-001810.log
wget_source_install_pcre_240418-033107.log
wget_source_install_pcre_240418-033524.log
wget_source_install_pcre_240418-222503.log
wget_source_install_pcre_260418-010117.log
wget_source_install_pcre_260418-013808.log
# Clang & GCC Compilers
MARCH_TARGETNATIVE='y'
GCCINTEL_PHP='y'
PHP_PGO='y'
CLANG='n'
DEVTOOLSETSIX='n'
DEVTOOLSETSEVEN='y'
DEVTOOLSETEIGHT='n'
NGINX_DEVTOOLSETGCC='y'
GENERAL_DEVTOOLSETGCC='y'
Alt Server
--------
# Clang & GCC Compilers
MARCH_TARGETNATIVE='y'
GCCINTEL_PHP='y'
PHP_PGO='y'
CLANG='n'
DEVTOOLSETSIX='n'
DEVTOOLSETSEVEN='y'
DEVTOOLSETEIGHT='n'
@Kinkypeter
Kinkypeter / gist:cc6f2caf044a6b02190e18853ef554c7
Created May 1, 2018 13:27
Main Server - this-server-will-be-the-death-of-me.com
# Clang & GCC Compilers
MARCH_TARGETNATIVE='y'
GCCINTEL_PHP='y'
PHP_PGO='y'
CLANG='n'
DEVTOOLSETSIX='n'
DEVTOOLSETSEVEN='n'
DEVTOOLSETEIGHT='y'
NGINX_DEVTOOLSETGCC='y'
GENERAL_DEVTOOLSETGCC='y'
### Keybase proof
I hereby claim:
* I am kinkypeter on github.
* I am pnehem (https://keybase.io/pnehem) on keybase.
* I have a public key ASA-C3yzPiyBz6xaUB7d5bLslUnIH-nyphVqNQZHnHYldwo
To claim this, I am signing this object:
@Kinkypeter
Kinkypeter / keybase.md
Created December 7, 2017 06:52
Keybase Proof

Keybase proof

I hereby claim:

  • I am kinkypeter on github.
  • I am pnehem (https://keybase.io/pnehem) on keybase.
  • I have a public key ASBic_WbgVoErD3TyuMIbz3xPio2c6uK6kSLx2bnnHhtxwo

To claim this, I am signing this object: