Skip to content

Instantly share code, notes, and snippets.

View neofob's full-sized avatar

Tuan T. Pham neofob

View GitHub Profile
@neofob
neofob / 2025-1016-query.md
Created October 16, 2025 20:11
Macro Economics Snapshot Query

As of October 16, 2025, these are the snapshot of economic stats. What is your assessment of the situation? How would this effect the gold price and long term bonds? The U.S. Government shutdown still persists.

  • Gold price: 4309 usd per ounce
  • Oil: 57.59 USD
  • 3 month treasury rate: 3.94%
  • 6 month treasure rate: 3.79%
  • 1 year bond: 3.60%
  • 2 year bond: 3.43%
  • 3 year bond: 3.43%
  • 5 year bond: 3.56%
  • 10 year bond: 3.97%
@neofob
neofob / dod_2025-0930.md
Created September 30, 2025 18:55
dow_2025-0930.md

SECRETARY OF WAR PETE HEGSETH: Mr. Chairman, the joint chiefs, generals, admirals, commanders, officers, senior enlisted, NCOs, enlisted and every member of our American military, good morning.

UNKNOWN: Morning.

SECRETARY OF WAR PETE HEGSETH: Good morning and welcome to the War Department because the era of the Department of Defense is over. You see, the motto of my first platoon was those who long for peace must prepare for war. This is, of course, not a new idea. This crowd knows that.

The origin dates to fourth century Rome and has been repeated ever since, including by our first commander in chief, George Washington, the first leader of the War Department. It captures a simple yet profound truth. To ensure peace, we must prepare for war.

From this moment forward, the only mission of the newly restored Department of War is this: warfighting, preparing for war and preparing to win, unrelenting and uncompromising in that pursuit not because we want war, no one here wants war, but it's because we love pea

@neofob
neofob / jetson-prompt.md
Last active September 10, 2025 15:32
prompt for Jetson Kernel

You are an expert in Embedded Linux system, specialize in Nvidia Jetson system. Examine the following Linux Kernel config and do the following:

  1. Optimize Linux Kernel Config file for the Nvidia Jetson Orin Nano system.
  2. Remove unnecessary modules for the development board Jetson Orin Nano.
  3. Do not speculate the environment variable if you do not know the facts.
  4. Think of your question carefully before you answer.
  5. Output the source code for the optimized config only.
@neofob
neofob / cachyos_repo.sh
Created July 29, 2025 22:27
Update CachyOS to optimized native architecture
#!/usr/bin/env bash
pacman -Scc
pacman -Sy
pacman -Qqn | pacman -S -
@neofob
neofob / pxe_tftp_openwrt.md
Created February 21, 2025 02:04 — forked from rikka0w0/pxe_tftp_openwrt.md
PXE on OpenWrt with a different TFTP server

In this configuration, DHCP will run on the OpenWrt Box, while the TFTP server (the one serves the boot files) runs on a different computer.

1. Add to /etc/config/dhcp on OpenWrt Box

config boot linux
        option filename 'pxelinux.0'
        option serveraddress '192.168.?.?'
        option servername '?'
@neofob
neofob / mkisofs.md
Created February 7, 2025 16:04
mkisofs.md
mkisofs -U -A "Custom OS" -V "Custom OS" -volset "Custom OS" -J -joliet-long -r -v -T -x ./lost+found  -x ./.git -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -allow-limited-size -o /tmp/CustomOS.iso .
@neofob
neofob / AMD-GPU.md
Last active January 29, 2025 05:42
AMD GPU links
@neofob
neofob / openssl_commands.md
Created December 7, 2024 21:01 — forked from Hakky54/openssl_commands.md
OpenSSL Cheat Sheet - Some list of openssl commands for check and verify your keys

OpenSSL Cheat Sheet 🔐

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@neofob
neofob / 00-netplan.yml
Created December 7, 2024 05:13
Netplan example
network:
version: 2
ethernets:
eth0:
dhcp4: true
dhcp6: false
match:
macaddress: ab:cd:ef:01:23:45
set-name: eth0
mtu: 9000