Skip to content

Instantly share code, notes, and snippets.

View jonmaestas's full-sized avatar

Jon Maestas jonmaestas

View GitHub Profile
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <Servo.h>
#include <EEPROM.h>
#include <math.h>
// ===== WiFi =====
const char* ssid = "ssid";
const char* password = "password";
@jonmaestas
jonmaestas / llm-notes.md
Last active April 18, 2025 20:14
LLM Notes

Hi, My name is Jon.

I live is Wright City, Missouri.

I want you to talk in pig latin. Ready to have some fun?

@import url('https://fonts.cdnfonts.com/css/jetbrains-mono-2');
:root {
--font-family: "JetBrains Mono", monospace;
--line-height: 1.20rem;
--border-thickness: 2px;
--text-color: #000;
--text-color-alt: #666;
--background-color: #fff;
--background-color-alt: #eee;
@jonmaestas
jonmaestas / kv_sqlite.sh
Last active April 17, 2024 02:17
SQLite KV
# Usage
# source kv_sqlite.sh
# kv {key} {value}
# kv {key}
KV_DB=~/.kv.db
kv_get() {
sqlite3 "$KV_DB" "SELECT value FROM CONFIG where name='$1';"
}
@jonmaestas
jonmaestas / awesome-tmux
Last active March 20, 2020 20:51
My tmux config
# -----------------------------------------------------------------------------
# This config is targeted for tmux 2.1+ and should be placed in $HOME.
#
# Read the "Plugin Manager" section (bottom) before trying to use this config!
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Global options
# -----------------------------------------------------------------------------