Skip to content

Instantly share code, notes, and snippets.

View dreamcat4's full-sized avatar
😋
credible honest persons who wants to talk to me... send brief msg to my gmail !

Dreamcat4 dreamcat4

😋
credible honest persons who wants to talk to me... send brief msg to my gmail !
View GitHub Profile
@dreamcat4
dreamcat4 / zfs-0.8.3 build log.sh
Created February 1, 2020 12:12
zfs-0.8.3 build log
(cd nestedfs && make top_distdir=../../../../../zfs-0.8.3 distdir=../../../../../zfs-0.8.3/tests/zfs-tests/tests/functional/nestedfs \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[12]: Entering directory '/home/id/Mega/dev/zfs/tests/zfs-tests/tests/functional/nestedfs'
make distdir-am
make[13]: Entering directory '/home/id/Mega/dev/zfs/tests/zfs-tests/tests/functional/nestedfs'
make[13]: Leaving directory '/home/id/Mega/dev/zfs/tests/zfs-tests/tests/functional/nestedfs'
make[12]: Leaving directory '/home/id/Mega/dev/zfs/tests/zfs-tests/tests/functional/nestedfs'
(cd no_space && make top_distdir=../../../../../zfs-0.8.3 distdir=../../../../../zfs-0.8.3/tests/zfs-tests/tests/functional/no_space \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[12]: Entering directory '/home/id/Mega/dev/zfs/tests/zfs-tests/tests/functional/no_space'
@dreamcat4
dreamcat4 / astrometa-dvb-t2-dmesg.log-sh
Last active January 30, 2020 17:17
[solved] w_scan no HD dvb-t2 channels found - SOLUTION: use wscan_2 instead https://github.com/stefantalpalaru/w_scan2
[453428.904545] usb 1-1: new high-speed USB device number 53 using xhci_hcd
[453428.928948] usb 1-1: New USB device found, idVendor=15f4, idProduct=0131, bcdDevice= 1.00
[453428.928949] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[453428.928950] usb 1-1: Product: dvbt2
[453428.928951] usb 1-1: Manufacturer: astrometadvbt2
[453428.936399] usb 1-1: dvb_usb_v2: found a 'Astrometa DVB-T2' in warm state
[453429.064331] usb 1-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[453429.064333] dvbdev: DVB: registering new adapter (Astrometa DVB-T2)
[453429.064335] usb 1-1: media controller created
[453429.064547] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
@dreamcat4
dreamcat4 / docker-cleanup-resources.md
Created January 25, 2020 10:00 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@dreamcat4
dreamcat4 / label-print.service
Created January 22, 2020 18:42
4x6 inch label printer - pdf watch folder - on ubuntu, with lprint
# This is a user land systemd service. Put it in your ~/.config/systemd/user/ folder
# Then:
# systemctl --user enable ebay-label-print.service
# systemctl --user restart ebay-label-print.service
# journalctl -f | grep label-print
[Unit]
Description=4x6 inch label printer - pdf watch folder - on ubuntu, with lprint
After=network.target
@dreamcat4
dreamcat4 / strace.log.sh
Created January 22, 2020 15:15
lprint server: Unable to create IPv6 listener for localhost:8631: Address family not supported by protocol
θ85° [id:~/.dev/lprint] master(+40/-0)* ± strace lprint server -o server-name=localhost -o server-port=8631
execve("/usr/local/bin/lprint", ["lprint", "server", "-o", "server-name=localhost", "-o", "server-port=8631"], 0x7ffcdd2bfc38 /* 71 vars */) = 0
brk(NULL) = 0x55e4b09a3000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffe07c277b0) = -1 EINVAL (Invalid argument)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f286c7d0000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/id/.local/share/lutris/runners/wine/lutris-4.21-x86_64/lib/tls/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/id/.local/share/lutris/runners/wine/lutris-4.21-x86_64/lib/tls/haswell/x86_64", 0x7ffe07c26a00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/id/.local/share/lutris/runners/wine/lutris-4.21-x86_64/lib/tls/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) =
@dreamcat4
dreamcat4 / compile-log.sh
Created January 22, 2020 10:53
Unable to start lprint server: No such file or directory
θ79° [id:~/.dev/lprint] master(+40/-0)* ± ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for clang... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
@dreamcat4
dreamcat4 / TDP-247.ppd
Last active January 17, 2020 11:13
A compatible PPD for xprinter xp-460b. Dithering is broken. No dithering! Source: TSC TDP-247 Linux Driver V0.4.03 @ https://www.tscprinters.com/EN/support/Support_Download/TDP-244#
*PPD-Adobe: "4.3"
*%
*% Create By CommUnit 2012/08/17 11:13
*%
*FormatVersion: "4.3"
*FileVersion: "1.0"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName: "TDP-247.ppd"
*Manufacturer: "TSC"
[522635.406670] usb 2-1: USB disconnect, device number 4
[522644.160165] usb 4-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[522644.186392] usb 4-2: New USB device found, idVendor=1bcf, idProduct=2c99, bcdDevice= 2.00
[522644.186394] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[522644.186395] usb 4-2: Product: FHD Capture
[522644.186396] usb 4-2: Manufacturer: VXIS Inc
[522644.196135] uvcvideo: Found UVC 1.00 device FHD Capture (1bcf:2c99)
[522644.212007] uvcvideo 4-2:1.0: Entity type for entity Extension 4 was not initialized!
[522644.212009] uvcvideo 4-2:1.0: Entity type for entity Extension 3 was not initialized!
[522644.212010] uvcvideo 4-2:1.0: Entity type for entity Processing 2 was not initialized!
@dreamcat4
dreamcat4 / dmesg.log
Created January 16, 2020 12:46 — forked from aziraphale/dmesg.log
AGPTEK USB 3.0 HDMI Capture Box (VG0061) hardware information
New USB device found, idVendor=1bcf, idProduct=2c99
New USB device strings: Mfr=1, Product=2, SerialNumber=0
Product: FHD Capture
Manufacturer: VXIS Inc
@dreamcat4
dreamcat4 / bitwig-console.log
Created January 7, 2020 18:25
BC FreqAnalyst 2
[2020-01-07 18:11:44 float-library-metadata info] Starting plugin host process with command: /opt/bitwig-studio/bin/BitwigPluginHost64 metadata 1234 4 64
PluginHost: Connecting to metadata service with id 4 on port 1234 using id 64
PluginHost: Metadata connection established
PluginHost: Reading VST 2.4 plugin metadata for /home/id/.linvst/64-bit/BC Chorus 4 VST(Stereo).so
DSSI VST plugin server v0.986
Copyright (c) 2012-2013 Filipe Coelho
Copyright (c) 2010-2011 Kristian Amlie
Copyright (c) 2004-2006 Chris Cannam
LinVst version 2.8.0
Loading /zpool-0/Media/Software/_audio/c_drive_vst_plugins/drive_c/VstPlugIns/64-bit/BC Chorus 4 VST(Stereo).dll