Skip to content

Instantly share code, notes, and snippets.

View scalopus's full-sized avatar

Warun Kietduriyakul scalopus

View GitHub Profile
➜ log adb logcat
--------- beginning of main
03-01 14:40:17.692 1760 1774 E memtrack: Couldn't load memtrack module
03-01 14:40:17.692 1760 1774 W android.os.Debug: failed to get memory consumption info: -1
03-01 14:40:17.704 1760 1774 E memtrack: Couldn't load memtrack module
03-01 14:40:17.704 1760 1774 W android.os.Debug: failed to get memory consumption info: -1
03-01 14:40:17.714 1760 1774 E memtrack: Couldn't load memtrack module
03-01 14:40:17.715 1760 1774 W android.os.Debug: failed to get memory consumption info: -1
03-01 14:40:19.379 1760 7015 D WificondControl: Scan result ready event
03-01 14:40:26.678 7614 7614 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
@scalopus
scalopus / fswatch-pdf.sh
Created April 17, 2020 13:32
File System Monitoring : PDF and then automatic decrypted the file to the new folder
# Useful for the Bank transaction / Statement / or same password
# which it enable us to just download to the folder and then the
# script will automatic decrpyted the password and store the new
# file without password needs.
# Pre-requirement
# apt install qpdf fswatch
export PASSWORD=<pdfpasswordhere>
export EXPORTDIR=./decrypt
fswatch --insensitive --include "\\.pdf$" --exclude ".*" \