Skip to content

Instantly share code, notes, and snippets.

View winksaville's full-sized avatar

Wink Saville winksaville

  • Soquel, CA. USA
View GitHub Profile
@winksaville
winksaville / cmake-llvm-project-compiler-rt-fix-cmake-warnings.829cbd9e9dd
Created April 24, 2019 06:28
cmake llvm-project compiler-rt-fix-cmake-warnings 829cbd9e9ddcf3a57e47c2840cb3608a445b451a
$ rm -rf * .ninja_* && cmake ../llvm -G Ninja -DCMAKE_INSTALL_PREFIX=~/local.x -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;libcxx;libcxxabi;libunwind;compiler-rt;lld;lldb;polly;debuginfo-tests" -DLLVM_BUILD_LLVM_DYLIB=ON
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
@winksaville
winksaville / gist:009507730ee1271ade0831c6e0d26135
Created October 22, 2019 18:59
Easycwmp log output that is partially working. Its found by genieacs but most fields are "blank".
wink@wink-desktop:~/prgs/pivasoftware/easycwmp (Changes-for-wink)
$ sudo EASYCWMP_INSTALL_DIR=/home/wink/opt LD_LIBRARY_PATH=$EASYCWMP_INSTALL_DIR/lib ./bin/easycwmpd -f -b
[sudo] password for wink:
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - add event '0 BOOTSTRAP'
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - add event '1 BOOT'
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - add event '2 PERIODIC'
10892:10892 external_init(233): +
10892:10892 2019-10-22 11:09:03 [easycwmp] NOTICE - external script init
10892:10892 external_init(301): parent, closing pfds_out[1]=8 and pfds_in[0]=9
10893:10893 external_init(250): child
@winksaville
winksaville / gist:9f1109a8998a4af5a7d3d179c14a7058
Created November 6, 2019 17:33
Output from fuchsia `fix emu -N`
wink@wink-desktop:~/fuchsia (Build-on-ArchLinux-python-2.7-through-3.8)
$ fx emu -N
Creating disk image...done
+ /home/wink/fuchsia/prebuilt/third_party/aemu/linux-x64/emulator -feature VirtioInput,RefCountPipe,KVM,GLDirectMem,Vulkan -windo'
emulator: ERROR: AdbHostServer.cpp:83: adb protocol fault (couldn't read status length)
emulator: emulator window was out of view and was recentered
[00000.000] 00000:00000> zbi: @ 0xffffff8000acd000 (10263672 bytes)
[00000.000] 00000:00000> UART: FIFO depth 16
[00000.000] 00000:00000> PMM: boot reserve add [0x100000, 0x374fff]
@winksaville
winksaville / gist:cb095e940ddc5ded180785f5963ffa53
Created November 6, 2019 17:46
Output from fuchsia `fx qemu -N`
wink@wink-desktop:~/fuchsia (Build-on-Arch-Linux-with-python-2.7-3.8)
$ fx qemu -N | tee qemu.output.txt
Creating disk image...done
CMDLINE: TERM=xterm kernel.serial=legacy kernel.entropy-mixin=f49782bae3b0f1ded738b979ff22430ef1699ed37e7a4eb64bd17f85336f7b7c kernel.halt-on-panic=true
c[?7lSeaBIOS (version rel-1.11.1-0-g0551a4be2c-prebuilt.qemu-project.org)
iPXE (http://ipxe.org) 00:02.0 C980 PCI2.10 PnP PMM+7FF91230+7FEF1230 C980
Press Ctrl-B to configure iPXE (PCI 00:02.0)...
@winksaville
winksaville / winksaville-linuxserver-unifi-controller-connection-refused.txt
Last active June 24, 2021 02:22
linuxserver unifi-controller localhost:8443 connection refused
wink@3900x:~/docker/repos/linuxserver-unifi-controller
$ docker-compose run --rm unifi-controller
Creating linuxserver-unifi-controller_unifi-controller_run ... done
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.