Skip to content

Instantly share code, notes, and snippets.

View dariyanto's full-sized avatar

Dariyanto dariyanto

View GitHub Profile
@dariyanto
dariyanto / crontab.md
Created August 31, 2023 14:41 — forked from jhowbhz/crontab.md
create job in laravel with crontab in ubuntu 1 in 1 minute
First

Create a job in laravel with command artisan

php artisan make:command ExampleCron --command=example:cron

Second

Navigate to file create in project

app\Console\Commands\ExampleCron.php

@dariyanto
dariyanto / release-android-debuggable.md
Created May 30, 2022 16:27 — 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