Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Adan Rehtla djravine

🏠
Working from home
View GitHub Profile
@djravine
djravine / gist:cbece97e05f09c749b317743a2d6b0c4
Created Jan 14, 2020 — forked from barezina/backup.py
BackupRipper for iOS - Unpack an iOS iPhone Backup into its native files.
View gist:cbece97e05f09c749b317743a2d6b0c4
import sqlite3
import os
print('BackupRipper for iOS - v1.0')
def dict_factory(cursor, row):
d = {}
for idx, col in enumerate(cursor.description):
d[col[0]] = row[idx]
return d
@djravine
djravine / purge.sh
Created Feb 21, 2019 — forked from adrienbrault/purge.sh
Script to reduce VM size before packaging for vagrant
View purge.sh
#!/bin/sh
# Credits to:
# - http://vstone.eu/reducing-vagrant-box-size/
# - https://github.com/mitchellh/vagrant/issues/343
aptitude -y purge ri
aptitude -y purge installation-report landscape-common wireless-tools wpasupplicant ubuntu-serverguide
aptitude -y purge python-dbus libnl1 python-smartpm python-twisted-core libiw30
aptitude -y purge python-twisted-bin libdbus-glib-1-2 python-pexpect python-pycurl python-serial python-gobject python-pam python-openssl libffi5
You can’t perform that action at this time.