Skip to content

Instantly share code, notes, and snippets.

View MonteLogic's full-sized avatar
♂️

Monte Logic (Dennis Z. Chavours) MonteLogic

♂️
View GitHub Profile
@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 / 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() {
@MonteLogic
MonteLogic / label-my-room-1.md
Last active November 16, 2024 22:57
Labeling my room

A labeled area for, wraps, ankle wraps, knee wraps.

The wraps I have, they should have a hook on them for easy storage.

@MonteLogic
MonteLogic / testing-turso-nextjs-13.md
Last active November 19, 2024 01:11
Testing using SQLite(Turso) and Next.js 13+

" I'll create a comprehensive test suite for the employee page functionality using Vitest, SQLite with Turso, and MSW (Mock Service Worker) for mocking API calls to Clerk.

"

Still don't know how the Turso database storage and retrieval works.

@MonteLogic
MonteLogic / yiddish-dict-1.md
Last active November 8, 2024 16:39
Yiddish Dictionary - 1 [object Object]

Words:

פ

פינטעלעך: Little dots/ tidbits

Pronounced: Pintelech

Word used

@MonteLogic
MonteLogic / static-next-js-wordpress.md
Last active October 1, 2024 20:49
Setting up a static Next.js site to replace our WordPress site.

Start:

Sep 28 2024 14:27:06 CDT

I'd rather do any system which is integrated with gh gists because I think GistPad for VSCode is great and is my essential note writing tool.

I think on the top of the file we can write, 'use blog'

Then this will be a blog site.

@MonteLogic
MonteLogic / advanced-master.md
Last active September 9, 2024 12:42
Going from advanced Dev to Master Dev

Start:

Sun Sep 08 2024 11:53:13 -03

The command 'git reflog' can be used to trace back the workflow of developers you would like the be as skilled

@MonteLogic
MonteLogic / general-wn-1.md
Last active August 22, 2024 17:12
General Work Notes

Start:

Thu Aug 22 2024 12:04:15 CDT

So we have to finish cBud because it's the closest to done and it's easy to promote to lots of users.

We are currently migrating to Drizzle from Prisma because we are using Turso and Turso is better setup to use Drizzle.

We are also going to make a migration guide for this.

@MonteLogic
MonteLogic / questioneer-wn-1.md
Last active August 18, 2024 07:51
questioneer work notes

Start:

Sun 18 Aug 2024 12:57:31 AM CDT

Decision: Why build 'Question Guider'

I'm focusing on this rather than the medical pdf generator because I can push this out via ads.

But this is going to take a good minute to create and push so I might be better off