Skip to content

Instantly share code, notes, and snippets.

View trylaarsdam's full-sized avatar
:shipit:

Todd Rylaarsdam trylaarsdam

:shipit:
View GitHub Profile
@trylaarsdam
trylaarsdam / nginx
Created May 7, 2022 22:10
nginx reverse proxy w/ https forwarding
server {
server_name {{DOMAIN}};
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://127.0.0.1:{{PORT}};
proxy_redirect off;
proxy_buffering off;
@trylaarsdam
trylaarsdam / gpg-macos
Last active February 6, 2021 16:06
gpg public keys
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF/uUIUBEACpXr7QOJbQqcuqAMmNsO2rRutsosup93Hmv30pnmTXTGAoSMz8
H2JoulKNdWSz9wB2cDmC7X2smUC5N31sO3P1eACGs5ouDr7BXVHibBS7/ze/fyFm
WOxa1xJ03PXgvsHNZmUnZz4krsLQucLQy9sl9U51SvJLqw5UqN2ngKwHEc6M2ErB
KqRFU43dzOr3676+eGlGNvBkLyaxqRRuU8OnDI7kzpuWE1QdMhtTl9hIxASNsBbg
xfC9dSRcY9LC16q7XL20PBQhJ2PFQDq4guO/Rt2x15bX931wCpaQTsca1Kzm+G8C
5je4VHoM/VXj2OrnR1ZCtcoRBa8SOoITOHvA+V9EG1I4D3hesRryYF7QpBWrQOY7
x2UqY806mpcGYf3leTphxBhr9OuuD+AWlHLwwC77RlnyVElkPzTcBMbO9YOH1l55
D4O4psUdMjJk6NFUe/Pe9yiXbn0m4bGaU2pVuLzphGeSPvO2dPXr+gFRxCYYYddh
Creating cold package with libc,libm,libpros,okapilib [ERRORS]
make: *** [bin/cold.package.elf] Error 1
/opt/homebrew/Cellar/arm-gcc-bin/10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: /opt/homebrew/Cellar/arm-gcc-bin/10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/lib/thumb/v7-a+simd/softfp/libstdc++.a(cow-fs_ops.o): in function `std::filesystem::create_directory_symlink(std::filesystem::path const&, std::filesystem::path const&, std::error_code&)':
cow-fs_ops.cc:(.text._ZNSt10filesystem24create_directory_symlinkERKNS_4pathES2_RSt10error_code+0x8): undefined reference to `symlink'
/opt/homebrew/Cellar/arm-gcc-bin/10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: /opt/homebrew/Cellar/arm-gcc-bin/10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/lib/thumb/v7-a+simd/softfp/libstdc++.a(cow-fs_ops.o): in function `std::filesystem::create_symlink(std::filesystem::path const&, std:
int fchmod(int fd, mode_t mode) {
errno = ENOSYS;
return -1;
}
int fchmodat(int dirfd, const char* pathname, mode_t mode, int flags) {
errno = ENOSYS;
return -1;
}
Creating cold package with libc,libm,libpros,okapilib [ERRORS]
make: *** [bin/cold.package.elf] Error 1
/opt/homebrew/Cellar/arm-gcc-bin/10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: /opt/homebrew/Cellar/arm-gcc-bin/10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/lib/thumb/v7-a+simd/softfp/libstdc++.a(cow-fs_ops.o): in function `std::filesystem::create_directory_symlink(std::filesystem::path const&, std::filesystem::path const&, std::error_code&)':
Error: Failed to build
cow-fs_ops.cc:(.text._ZNSt10filesystem24create_directory_symlinkERKNS_4pathES2_RSt10error_code+0x8): undefined reference to `symlink'
/opt/homebrew/Cellar/arm-gcc-bin/10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: /opt/homebrew/Cellar/arm-gcc-bin/10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/lib/thumb/v7-a+simd/softfp/libstdc++.a(cow-fs_ops.o): in function `std::filesystem::create_symlink(std::filesy
@trylaarsdam
trylaarsdam / 0 Public SSH+GPG Keys
Last active October 31, 2022 06:09
SSH+GPG Public Keys
My SSH/GPG Public Keys used for signing commits