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
@auricgoldfinger
auricgoldfinger / keybase.md
Created April 19, 2018 04:50
Keybase proof

Keybase proof

I hereby claim:

  • I am auricgoldfinger on github.
  • I am agfngr (https://keybase.io/agfngr) on keybase.
  • I have a public key ASD-uFlg4Xh6kCqu_r2NK5Mn-qXJwiWVIWP-e67uyt3pDwo

To claim this, I am signing this object:

@auricgoldfinger
auricgoldfinger / jira-checkmark-cross-formatting.txt
Last active November 27, 2018 15:38
Checkmark and cross for usage in Jira
{color:#8eb021}✔{color}
{color:#d04437}✘{color}
@auricgoldfinger
auricgoldfinger / git-svn-merge.sh
Created August 11, 2016 10:46
My git svn workflow using merges
# checkout svn trunk revision 123456
git svn clone -r123456:HEAD https://svn.example.com/svn/trunk/project
# create branch on which you do your modifications
git checkout -b feature-branch
# do your modifications, then commit locally, eventually "git add" new files
git commit
# sync with svn
@auricgoldfinger
auricgoldfinger / JSONObject Stacktrace
Created August 9, 2016 15:37
Stacktrace that shows the beginning of the StackOverflow in PrimeFaces JSONObject
at org.primefaces.json.JSONObject.populateMap(JSONObject.java:1164)
at org.primefaces.json.JSONObject.<init>(JSONObject.java:276)
at org.primefaces.json.JSONObject.wrap(JSONObject.java:1721)
at org.primefaces.json.JSONObject.populateMap(JSONObject.java:1166)
at org.primefaces.json.JSONObject.<init>(JSONObject.java:276)
at org.primefaces.json.JSONObject.wrap(JSONObject.java:1721)
at org.primefaces.json.JSONObject.populateMap(JSONObject.java:1166)
at org.primefaces.json.JSONObject.<init>(JSONObject.java:276)
at org.primefaces.json.JSONObject.wrap(JSONObject.java:1721)
at org.primefaces.json.JSONObject.populateMap(JSONObject.java:1166)
@auricgoldfinger
auricgoldfinger / Export_more_info_to_Locus.patch
Last active August 29, 2015 14:14
Patch: adding more info to the Locus export in c:geo
Index: main/src/cgeo/geocaching/apps/AbstractLocusApp.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- main/src/cgeo/geocaching/apps/AbstractLocusApp.java (revision bdb08e4ebca8b7e6cc3c00d98fbb9b1702c8a378)
+++ main/src/cgeo/geocaching/apps/AbstractLocusApp.java (revision )
@@ -2,10 +2,15 @@
import cgeo.geocaching.CgeoApplication;