Skip to content

Instantly share code, notes, and snippets.

@wowkin2
wowkin2 / decompile.sh
Created July 5, 2024 09:19
Decompile DEX files
#!/bin/bash
# Before running make file executable:
# chmod +x decompile.sh
# And check Android SDK version (in this case it is - 33.0.1)
# Create directory
mkdir "decompiled"

How to clean Docker.raw image

Many times I stuck in situation when Docker consumes whole 70Gb, then I remove all Containers and Images in Docker, and only Volumes remaining which should consume ~7Gb. But storage is not free anymore. Hard to say what is using it. It can probably be just reserved by and not released. Found the way to backup volumes, drop virtual machine, create new and restore volumes.

Steps

  • To create backups - create file from example below and run that:
chmod +x backup_volumes.sh
./backup_volumes.sh