Skip to content

Instantly share code, notes, and snippets.

View ahlinc's full-sized avatar

Andrew Hlynskyi ahlinc

  • Ukraine, Kyiv
View GitHub Profile
@ahlinc
ahlinc / libimobiledevice_ifuse_Ubuntu.md
Created March 16, 2021 15:43 — forked from samrocketman/libimobiledevice_ifuse_Ubuntu.md
On Ubuntu 16.04, since iOS 10 update, libimobiledevice can't connect to my iPhone. This is my attempt to document a fix.

Why this document?

I upgraded my iPhone 5s to iOS 10 and could no longer retrieve photos from it. This was unacceptable for me so I worked at achieving retrieving my photos. This document is my story (on Ubuntu 16.04).

The solution is to compile libimobiledevice and ifuse from source.

Audience

Who is this guide intended for?

@ahlinc
ahlinc / README.md
Last active June 26, 2020 13:52
KItty @ls minimal output

Start Kitty with folowing command from some other terminal to minimize side effects and reduce amount of items in Kitty's environment.

env -i DISPLAY=$DISPLAY TERM=$TERM DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS kitty bash --noprofile --norc

Inside of started Kitty:

env | sort                                 # To see a minimal current environment
cat /proc/$$/environ | tr \\0 \\n | sort   # To see that output of above command is a bit differ and it has SHLVL var

kitty @ launch bash --norc                 # To start new window and see that it has the same environment as the Kitty's main process.
@ahlinc
ahlinc / gist:bb8d220c8cca320524a294bf3aef5bc5
Created April 3, 2020 01:25 — forked from chrisdone/gist:02e165a0004be33734ac2334f215380e
Build and run minimal Linux / Busybox systems in Qemu

Common

export OPT=/opt
export BUILDS=/some/where/mini_linux
mkdir -p $BUILDS

Linux kernel