Skip to content

Instantly share code, notes, and snippets.

View amf3's full-sized avatar

Adam Faris amf3

View GitHub Profile
@amf3
amf3 / openwork_install.md
Last active January 6, 2026 10:49
Emulate OpenWRT in QEMU on MacOS with M2 Processor

Notes on running OpenWRT in QEMU on MacOS.

  1. Install QEMU with homebrew
$ brew install qemu
  1. Download a OpenWRT image. We want a armvirt/64 image.
@amf3
amf3 / build.gradle
Created December 16, 2022 21:54
A jruby-gradle example to manage Jekyll dependencies
/*
1) Install java 8 or java 11. (SassC fails to build with openjdk17)
2) Install Gradle 7.x. (I'm building with Gradle 7.6)
3) Create a empty direcotry, enter the new directory, copy the build.gradle file into it.
4) Run the following:
gradle wrapper
./gradlew jekyllInit
./gradlew jekyllServe
*/
@amf3
amf3 / Build_Hadoop_Rootless_Podman.md
Last active December 9, 2022 00:39
Build Hadoop with Rootless Podman

This is a quick note on what to modify when building Hadoop with rootless podman.

  • First, ensure the following directories exist on the host OS. If not then create them with mkdir

    • "${HOME}"/.m2
    • "${HOME}"/.gnupg
  • This is what the current commit ID is for HEAD. Perhaps this will be fixed by the time you read it.

$ git rev-parse HEAD
ee7d1787cd2cdfea936425dcf88e750827ff5c1b