Skip to content

Instantly share code, notes, and snippets.

View MonteLogic's full-sized avatar
♂️

Dennis (MonteLogic) Chavours MonteLogic

♂️
View GitHub Profile
@MonteLogic
MonteLogic / apps.json
Created December 22, 2025 11:50
EasyReactApp - Supported Versions & Test Status
[{"slug":"simple-cra-app","framework":"create-react-app","version":"1.0.0","build_path":"builds/simple-cra-app/build"}]
>>> def run_my_curves_final_fix():
... from gi.repository import Gimp
... curve_points_255 = [ (0, 0), (200, 141), (255, 255) ]
... flat_curve_float = []
... for input_val, output_val in curve_points_255:
... flat_curve_float.append(input_val / 255.0)
... flat_curve_float.append(output_val / 255.0)
... channel = Gimp.HistogramChannel.VALUE
... images = Gimp.get_images()
... if images:
// scripts/mobile-web-dev.js
const { networkInterfaces } = require('os');
const { spawn } = require('child_process');
const net = require('net');
// --- 1. Find the local IP address ---
const nets = networkInterfaces();
let localIp = 'localhost';
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [
{
"id": "JCn5cWqDzLlde0SmCe_zR",
"type": "rectangle",
"x": 424.53379623062995,
"y": 66.38394918455538,
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [
{
"id": "JCn5cWqDzLlde0SmCe_zR",
"type": "rectangle",
"x": 424.53379623062995,
"y": 66.38394918455538,
@MonteLogic
MonteLogic / cb-roadmap.md
Last active February 21, 2025 19:22
Contractor Bud Writing

Contractor Bud Milestone Roadmap

Milestones completed per version.

To the public release, 0.8

Okay, we have to make it so that all of the pages don't have errors then add some tests.

Then we have to add pay walls.

@MonteLogic
MonteLogic / sleep-improvement-1.md
Last active December 20, 2024 18:46
[object Object]

Sleep Improvement Journal 1

Start: Fri Dec 20 2024 12:40:32 CST

Don't drink liquids 90 minutes before bed, ideally longer but 90 minutes is the cutoff.

The last thing you should do before going to bed is urinate.

Look at your Urine if its clear before you go to bed, you are very likely to wake up again.

@MonteLogic
MonteLogic / MoL-wn-1.md
Last active December 15, 2024 21:38
MoL Work Notes

Start:

Thu 15 Aug 2024 02:12:46 PM CDT

I want the suite to have a mailing list functionality, and I want for this to be editable by Gutenberg.

Jetpack CRM mailing list

If it's going to be sent by monte@montelogic.com, I'm not exactly sure the rates at which its going to hit someone's inbox vs. their spam folder.

@MonteLogic
MonteLogic / index.ts
Last active November 23, 2024 15:04
This file should check if there is a local db if not create one and inject the schema found in the db folder. Very incomplete file, this file is just a "blank canvas".
// tests/db-create/index.ts
import { createClient } from '@libsql/client';
import fs from 'fs/promises';
import path from 'path';
// Database configuration
const TEST_DB_PATH = path.join(process.cwd(), 'test.db');
const PROD_DB_PATH = path.join(process.cwd(), 'local.db');
export async function initializeTestDb() {
// tests/db-create/index.ts
import { createClient } from '@libsql/client';
import fs from 'fs/promises';
import path from 'path';
// Database configuration
const TEST_DB_PATH = path.join(process.cwd(), 'test.db');
const PROD_DB_PATH = path.join(process.cwd(), 'local.db');
export async function initializeTestDb() {