Skip to content

Instantly share code, notes, and snippets.

View hub2git's full-sized avatar

hub2git

View GitHub Profile
@hub2git
hub2git / gist:427ec2a4a5f29e8fd6b5e4bf3ac0fb73
Created September 29, 2020 18:04
error message on the one problem epub
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 Tags.zip'
@hub2git
hub2git / gist:d877caf65b46fda3269c09ae5b04cba1
Created September 22, 2017 03:07
identify -verbose on tiff file from 3nti
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
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
hub2git / -
Created September 7, 2017 06:10 — forked from anonymous/-
[ 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
hub2git / gist:db46935074c82225441a426640488cce
Created September 7, 2017 05:47
pinging the Toshiba from Thinkpad. 0% packet loss.
ping 192.168.1.186
PING 192.168.1.186 (192.168.1.186) 56(84) bytes of data.
64 bytes from 192.168.1.186: icmp_seq=1 ttl=64 time=1.85 ms
64 bytes from 192.168.1.186: icmp_seq=2 ttl=64 time=2.02 ms
64 bytes from 192.168.1.186: icmp_seq=3 ttl=64 time=2.01 ms
64 bytes from 192.168.1.186: icmp_seq=4 ttl=64 time=2.03 ms
64 bytes from 192.168.1.186: icmp_seq=5 ttl=64 time=1.99 ms
64 bytes from 192.168.1.186: icmp_seq=6 ttl=64 time=1.94 ms
64 bytes from 192.168.1.186: icmp_seq=7 ttl=64 time=1.96 ms
64 bytes from 192.168.1.186: icmp_seq=8 ttl=64 time=1.92 ms
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
hub2git / gist:717125ab7837c33ae7ecac91997ba621
Last active July 16, 2017 02:48
root@LEDE:~# cat /proc/cpuinfo 2
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
~ $ 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.
commands:
~ $ 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
dpkg --get-selections | grep android-tools-adb
android-tools-adb install