Author: jasoryeh
-
Swapping on Ubuntu 20.04 Summary (via DigitalOcean)
Thought this was useful to note, but these are just the commands from this article from DigitalOcean about enabling swap without reading everything (basically a tl;dr): https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04 Checking swap: Enabling (temp): Enabling (perm): Configuring (in /etc/sysctl.conf): Set to minimize swap on VPS to reduce host hardware impact (values between 0-100, 0 being reduced swapping, 100…
-
Ghidra – macOS/ARM no “buildNatives” Script
I was working on setting up Ghidra on my M2 Mac and I’ve been seeing information about going to the support folder and running ./buildNatives to build the native binaries like decompiler however it seems the script doesn’t exist anymore in more recent versions. Solution:– In the support folder go to the gradle folder (cd…
-
ArduPilot Build – Simplified Documentation
Reproducibility: Using a Docker container to produce this build. Then, setup the build. Main Build Tool: ./waf TL;DR$ docker run –rm -it -v ./ardu-build:/builds python:3.11-alpine sh -c “cd /builds && sh”$ apk add nano htop openssh git curl wget gcc g++ make zlib-dev libffi-dev openssl-dev musl-dev gcc-arm-none-eabi g++-arm-none-eabi$ python -m pip uninstall empy && python…
-
Home Soda Machine Mixes (non-artificial sweeteners)
Just noting some somewhat decent mixes I discovered for my soda machine: Also, of note having tried a SodaStream Terra machine from Costco, I highly recommend the FIZZpod/DRINKPOD machines that I found on Amazon. Something about them makes the carbonation/fizz better than what the SodaStream can do. Orange Soda (tastes more like lemon soda with…
-
3D Printed Drone Arms on a 3-inch Quadcopter is Unstable
Just a random throwback to another obscure thing- when I was working on my university’s senior design project, we had some 3D printed drone arms in what I think was PLA created for us due to a mis-order so we had to improvise while we waited for new ones to be cut. It turns out…
-
Laravel – Enable SSL on MySQL/MariaDB Connections
In database.php modify to have these lines, yours might not have it already included: ‘sslmode’ => env(‘DB_SSLMODE’, ‘prefer’),’options’ => extension_loaded(‘pdo_mysql’) ? array_filter([ PDO::MYSQL_ATTR_SSL_CA => env(‘MYSQL_ATTR_SSL_CA’) !== null ? base_path(env(‘MYSQL_ATTR_SSL_CA’)) : env(‘MYSQL_ATTR_SSL_CA’),]) : [], Then, in .env you must add two additional keys: MYSQL_ATTR_SSL_CA=ca.crt Where this file is inside the current project directory, you can make…