Skip to content

Instantly share code, notes, and snippets.

@auricgoldfinger
auricgoldfinger / wget.sh
Created January 12, 2022 07:53 — forked from crittermike/wget.sh
Download an entire website with wget, along with assets.
# One liner
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com
# Explained
wget \
--recursive \ # Download the whole site.
--page-requisites \ # Get all assets/elements (CSS/JS/images).
--adjust-extension \ # Save files with .html on the end.
--span-hosts \ # Include necessary assets from offsite as well.
--convert-links \ # Update links to still work in the static version.
@auricgoldfinger
auricgoldfinger / git bash ssh agent.md
Created November 29, 2020 11:12 — forked from Peregrinox/git bash ssh agent.md
configure your git bash to run agent on start
@auricgoldfinger
auricgoldfinger / release-android-debuggable.md
Created November 16, 2020 15:00 — forked from nstarke/release-android-debuggable.md
How to make a Release Android App debuggable

How to make a Release Android App debuggable

Let's say you want to access the application shared preferences in /data/data/com.mypackage.
You could try to run adb shell and then run-as com.mypackage ( or adb shell run-as com.mypackge ls /data/data/com.mypackage/shared_prefs), but on a production release app downloaded from an app store you're most likely to see:

run-as: Package 'com.mypackage' is not debuggable