Skip to content

Instantly share code, notes, and snippets.

View petecooper's full-sized avatar
🏴‍☠️

Pete Cooper petecooper

🏴‍☠️
View GitHub Profile
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/pete/percona-server-mysql-source/percona-server-Percona-Server-8.0.32-24/src-build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_de984/fast && /usr/bin/gmake -f CMakeFiles/cmTC_de984.dir/build.make CMakeFiles/cmTC_de984.dir/build
gmake[1]: Entering directory '/home/pete/percona-server-mysql-source/percona-server-Percona-Server-8.0.32-24/src-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_de984.dir/src.c.o
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -moutline-atomics -DCMAKE_HAVE_LIBC_PTHREAD -fPIE -o CMakeFiles/cmTC_de984.dir/src.c.o -c /home/pete/percona-server-mysql-source/percona-server-Percona-Server-8.0.32-24/src-build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_de984
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_de984.dir/link.txt --verbose=1
/usr/bin/cc -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exe
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -m64 -march=native -mtune=native -DTCP_FASTOPEN=23 -g -O3 -fstack-protector-strong -flto -ffat-lto-objects -fuse-ld=gold --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wimplicit-fallthrough=0 -Wno-deprecated-declarations -fcode-hoisting -Wp,-D_FORTIFY_SOURCE=2 -I../quictls-source/openssl-openssl-3.0.3/apps/include -Wno-deprecated-declarations -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -I src/core -I src/event -I src/event/modules -I src/event/quic -I src/os/unix -I ../brotli-source//deps/brotli/c/include -I ../devel-kit-source/ngx_devel_kit-0.3.1/objs -I objs/addon/ndk -I ../devel-kit-source/ngx_devel_kit-0.3.1/src -I ../devel-kit-source/ngx_devel_kit-0.3.1/objs -I objs/addon/ndk -I ../nchan-source/nchan-1.3.3//src -I ../pcre2-source/pcre2-10.40/src/ -I ../quictls-source/openssl-openssl-3.0.3/.openssl/include -I ../cf-zlib-source -I /usr/include/libxml2 -I objs \
-o objs/src/event/ngx_event_openssl.o \
src/event/ngx_event_openssl.
@petecooper
petecooper / gist:cdd577906b16bec930502572bdfd96fe
Last active July 2, 2022 19:06
How large is your Safari reading list?
/usr/bin/plutil -convert xml1 -o - ~/Library/Safari/Bookmarks.plist | grep -E -o '<string>http[s]{0,1}://.*</string>' | grep -v icloud | sort | sed -E 's/<\/{0,1}string>//g' > ~/Documents/safari-readinglist.txt | uniq -d ~/Documents/safari-readinglist.txt && wc -l ~/Documents/safari-readinglist.txt