Skip to content

Instantly share code, notes, and snippets.

View jiurchuk's full-sized avatar

Joaquin Iurchuk jiurchuk

View GitHub Profile
@gary23w
gary23w / startup_resources_list.md
Last active August 13, 2024 22:42
startup tools list

Startup resource list

A revised version of IBEXSOFT awesome start up tools list.

Adding and updating as I go along.

Tech

Git Repos

@jevakallio
jevakallio / readme.md
Last active November 1, 2024 00:01
`adb pull` from app data directory without root access

TL;DR;

com.package.name is your app identifier, and the file path is relative to the app user's home directory, e.g. '/data/user/0/com.package.name.

adb shell run-as com.package.name cp relative/path/file.ext /sdcard
adb pull /sdcard/file.ext

See long explanation below.

@emaillenin
emaillenin / DownloadManagerActivity.java
Created December 11, 2016 04:54
Download APK using DownloadManager and start installation automatically - Android 7.0 Nougat compatible
public void downloadUpdate() {
DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);
String destination = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + "/";
String fileName = "your_app.apk";
destination += fileName;
final Uri uri = Uri.parse("file://" + destination);
File file = new File(destination);
if (file.exists())
file.delete();
@schnell18
schnell18 / macosx_remove_java9.sh
Created October 8, 2016 13:26
MacOS X remove Java 9
sudo rm -fr /Library/Java/JavaVirtualMachines/jdk-9.jdk/
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
@staltz
staltz / introrx.md
Last active November 14, 2024 11:27
The introduction to Reactive Programming you've been missing