Skip to content

Instantly share code, notes, and snippets.

View catvec's full-sized avatar
🐢

catvec

🐢
View GitHub Profile
@catvec
catvec / template
Created March 25, 2020 03:42
Void linux Crun package
# Template file for 'crun'
pkgname=crun
version=0.13
revision=1
build_style=gnu-configure
configure_args="--disable-systemd"
makedepends="python3 libcap-devel libseccomp-devel yajl-devel pkg-config"
short_desc="Fast and low-memory footprint OCI Container Runtime fully written in C"
maintainer="Noah Huppert <[email protected]>"
license="GPL-2.0"
@catvec
catvec / pkg-with-in-shlibs
Last active February 11, 2020 05:32
void linux proj4 shlibs confusion
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ...
[*] Updating `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating `https://alpha.de.repo.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating `https://alpha.de.repo.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> proj4-4.9.3_1: removing autodeps, please wait...
=> proj4-4.9.3_1: building [gnu-configure] for x86_64...
@catvec
catvec / configure-help
Last active February 11, 2020 03:46
libspatialite build issue
% ./configure -h
`configure' configures libspatialite 4.3.0a to adapt to many kinds of systems.
Usage: ./masterdir/builddir/libspatialite-4.3.0a/configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
@catvec
catvec / CMakeError.log
Last active February 9, 2020 15:34
QGIS xbps-src QCA build error
Determining if the CL_VERSION_2_2 exist failed with the following output:
Change Dir: /builddir/QGIS-final-3_10_2/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_585ad/fast && /usr/bin/make -f CMakeFiles/cmTC_585ad.dir/build.make CMakeFiles/cmTC_585ad.dir/build
make[1]: Entering directory '/builddir/QGIS-final-3_10_2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_585ad.dir/CheckSymbolExists.c.o
/usr/bin/cc -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -o CMakeFiles/cmTC_585ad.dir/CheckSymbolExists.c.o -c /builddir/QGIS-final-3_10_2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/builddir/QGIS-final-3_10_2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: OpenCL_INCLUDE_DIR-NOTFOUND/CL/cl.h: No such file or directory
2 | #include <OpenCL_INCLUDE_DIR-NOTFOUND/CL/cl.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@catvec
catvec / template
Created February 9, 2020 05:52
Draft of qgis xbps package
# Template file for 'qgis'
pkgname=qgis
version=3.10.2
revision=1
archs="x86_64"
#wrksrc="${pkgname}-${version}"
create_wrksrc=yes
build_style=cmake
hostmakedepends=""
makedepends=""
@catvec
catvec / libpod.conf
Created December 5, 2019 20:04
containers/libpod #4648 debug files
volume_path = "/home/noah/.local/share/containers/storage/volumes"
image_default_transport = "docker://"
runtime = "runc"
conmon_path = ["/usr/libexec/podman/conmon", "/usr/local/libexec/podman/conmon", "/usr/local/lib/podman/conmon", "/usr/bin/conmon", "/usr/sbin/conmon", "/usr/local/bin/conmon", "/usr/local/sbin/conmon"]
conmon_env_vars = ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"]
cgroup_manager = "cgroupfs"
init_path = ""
static_dir = "/home/noah/.local/share/containers/storage/libpod"
tmp_dir = "/run/user/1000/libpod/tmp"
max_log_size = -1
@catvec
catvec / terraform-plan-apply.out
Created May 3, 2019 01:45
Debug output from Terraform, shows bug where AWS ACM certificate cannot be recreated if in use by an AWS CloudFront Distribution
This file has been truncated, but you can view the full file.
2019/05/02 21:33:22 [WARN] Invalid log level: "true". Defaulting to level: TRACE. Valid levels are: [TRACE DEBUG INFO WARN ERROR]
2019/05/02 21:33:22 [INFO] Terraform version: 0.11.13
2019/05/02 21:33:22 [INFO] Go runtime version: go1.12
2019/05/02 21:33:22 [INFO] CLI args: []string{"/usr/bin/terraform", "init", "/home/noah/documents/web/funkyboy.zone/terraform"}
2019/05/02 21:33:22 [DEBUG] Attempting to open CLI config file: /home/noah/.terraformrc
2019/05/02 21:33:22 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/05/02 21:33:22 [INFO] CLI command args: []string{"init", "/home/noah/documents/web/funkyboy.zone/terraform"}
2019/05/02 21:33:22 [DEBUG] command: loading backend config file: /home/noah/documents/web/funkyboy.zone/terraform
2019/05/02 21:33:22 [INFO] command: empty terraform config, returning nil
2019/05/02 21:33:22 [DEBUG] command: no data state file found for backend config
@catvec
catvec / 0400_personal_website_distribution.tf
Created May 3, 2019 01:42
Terraform configuration to create a multi domain ACM CloudFront Distribution.
# SSL Certificate
resource "aws_acm_certificate" "personal-website" {
domain_name = "${aws_route53_zone.4e48-dev.name}"
subject_alternative_names = [
"${aws_route53_zone.noahh-io.name}"
]
validation_method = "DNS"
tags = {
@catvec
catvec / out
Created March 13, 2019 16:14
Arch Linux version
4.20.12-arch1-1-ARCH
linux 5.0.arch1-1
@catvec
catvec / client.out
Last active March 8, 2019 07:51
Wireguard general vpn debug
On client
########################
===== START RUN ip route show table all
0.0.0.0/1 dev wg0 scope link
default via 72.19.92.1 dev wlan0
10.0.0.0/24 dev wg0 proto kernel scope link src 10.0.0.2
72.19.92.0/22 dev wlan0 proto kernel scope link src 72.19.93.98
72.19.92.1 dev wlan0 scope link
128.119.101.1 via 72.19.92.1 dev wlan0
128.119.101.2 via 72.19.92.1 dev wlan0