This C Code Feels Illegal Pt. 1
I needed a function pointer that points to a function which returns a function pointer of the identical signature that returns a function pointer of the identical... oh no. This…
I needed a function pointer that points to a function which returns a function pointer of the identical signature that returns a function pointer of the identical... oh no. This…
It's possible to use a USB-to-UART adapter such as the SH-U09C USB to TTL Adapter or a Raspberry Pi Debug Probe to receive debug messages while the Flipper Zero is…
Here's a complete walkthrough on how to set up a Samba share on a Linux device running Debian. Use your appropriate package manager. Install Samba sudo apt update sudo apt…
Now, this is a mess. Imagine you have this kind of structure in C++: struct __attribute__((packed, aligned(1)))) packed { char a; char *b; int c; }; This tells the compiler…
In the previous post, I wrote about a wrapper that could be compiled and linked into a Go program which accessed a shared/dynamic library. I'm going to follow up with…
Imagine you only have access to a library (.a) and its header (.h) file. You can see the functions and their signatures, but you just can't figure out how to…
Why was it so difficult to take and serve an image from the Raspberry Pi's camera when I visit a web page? I've found myself driving home unsure of whether…
I had a hell of a time getting this to work. Here's how I did it. Let's write a small library in C++. // mysum.h #ifdef __cplusplus // extern "C"…
A tidy way of using a custom field in Planning Center to drive specific label data.
Once we've coded, uploaded, and tested our Lambda function from within the AWS Lambda environment, it's time to take our tests external. For this, we'll need to install the AWS…