Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
hub2git / gist:427ec2a4a5f29e8fd6b5e4bf3ac0fb73
Created Sep 29, 2020
error message on the one problem epub
View gist:427ec2a4a5f29e8fd6b5e4bf3ac0fb73
calibre, version 5.0.1
ERROR: Loading book failed: Failed to open the book at /home/me/text/calibrelibrary/Unknown/somebook.epub. Click "Show details" for more info.
Failed to convert book: /home/me/text/calibrelibrary/Unknown/somebook.epub with error:
DeDRM v7.0.0: Trying to decrypt somebook.epub
DeDRM v7.0.0: Verifying zip archive integrity
DeDRM v7.0.0: Error 'can only concatenate str (not "bytes") to str' when checking zip archive
Failed to initialize plugin: '/home/me/.config/calibre/plugins/Goodreads More'
hub2git / gist:d877caf65b46fda3269c09ae5b04cba1
Created Sep 22, 2017
identify -verbose on tiff file from 3nti
View gist:d877caf65b46fda3269c09ae5b04cba1
Format: TIFF (Tagged Image File Format)
Mime type: image/tiff
Class: DirectClass
Geometry: 2600x3800+0+0
Resolution: 400x400
Print size: 6.5x9.5
Units: PixelsPerInch
Type: TrueColor
Endianess: LSB
Colorspace: sRGB
View gist:7f61ee67e439b8c126d10f9878982658
Linux desktop 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
hub2git / -
Created Sep 7, 2017 — forked from anonymous/-
View -
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.0-53-generic (buildd@lcy01-28) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 (Ubuntu 4.4.0-53.74-generic 4.4.30)
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.4.0-53-generic root=/dev/mapper/mint--vg-root ro quiet splash vt.handoff=7
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
hub2git / gist:db46935074c82225441a426640488cce
Created Sep 7, 2017
pinging the Toshiba from Thinkpad. 0% packet loss.
View gist:db46935074c82225441a426640488cce
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=1.85 ms
64 bytes from icmp_seq=2 ttl=64 time=2.02 ms
64 bytes from icmp_seq=3 ttl=64 time=2.01 ms
64 bytes from icmp_seq=4 ttl=64 time=2.03 ms
64 bytes from icmp_seq=5 ttl=64 time=1.99 ms
64 bytes from icmp_seq=6 ttl=64 time=1.94 ms
64 bytes from icmp_seq=7 ttl=64 time=1.96 ms
64 bytes from icmp_seq=8 ttl=64 time=1.92 ms
View gist:d39f61acea4bbe1da18f6590de52a899
CPU~Dual core Intel Core i5-2520M (-HT-MCP-) speed/max~807/3200 MHz Kernel~4.4.0-53-generic x86_64 Up~22 min Mem~912.7/7680.1MB HDD~240.1GB(16.5% used) Procs~198 Client~Shell inxi~2.2.35
hub2git / gist:717125ab7837c33ae7ecac91997ba621
Last active Jul 16, 2017
root@LEDE:~# cat /proc/cpuinfo 2
View gist:717125ab7837c33ae7ecac91997ba621
root@LEDE:~# cat /proc/cpuinfo
system type : Atheros AR9344 rev 2
machine : WD My Net N750
processor : 0
cpu model : MIPS 74Kc V4.12
BogoMIPS : 278.93
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
View snap info anbox
~ $ snap info anbox
name: anbox
summary: "Android in a Box"
publisher: morphis
description: |
Runtime for Android applications which runs a full Android system
in a container using Linux namespaces (user, ipc, net, mount) to
separate the Android system fully from the host.
View gist:bc1bbd0660f5e2b655a437c0a3876d1f
~ $ systemctl --user restart anbox
~ $ adb kill-server ; adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
~ $ adb shell
error: device not found
View gist:8fc9077151993036186091a952d0efb6
dpkg --get-selections | grep android-tools-adb
android-tools-adb install