Skip to content

Instantly share code, notes, and snippets.

View jpalala's full-sized avatar
🔭
Lets build something useful

Joe Palala jpalala

🔭
Lets build something useful
View GitHub Profile
@jpalala
jpalala / venv.md
Created August 25, 2026 20:52 — forked from ryanbehdad/venv.md
Python venv cheat sheet

Python venv virtual environment cheat sheet

Create a venv

To create a virtual environment, go to the root of your project and run

python -m venv venv

It will create a virtual environment called venv

Activate venv

.\venv\Scripts\activate

@jpalala
jpalala / daily-dev-motivation.md
Created August 2, 2026 00:31
daily dev motivation

Quotes for dev motivation

Note: technically generic quotes are not copyright. But if you do use this, kindly attribute me somewhere.

LICENSE

CC-BY

[
@jpalala
jpalala / learning-to-python.md
Created June 15, 2026 14:03
PYTHON BEST PRACTICES

It is great that you are leveling up your coding standards! Moving from "making code work" to "writing clean, professional code" is exactly how you become a strong Python developer.

To follow Pythonic standards, you need to think beyond just syntax and embrace the "Pythonic" philosophy.


1. The "Zen of Python"

Before you start linting, you should know the philosophy that drives the language. You can actually see this by typing import this into your Python terminal. Here are the most critical takeaways for your code:

@jpalala
jpalala / CLAUDE.md
Last active June 9, 2026 04:46
Master the Claude Partner Network (CPN) Claude Certified Architect - Foundations (CCA-F) 5 day course

NOTE: Add this to your CLAUDE.md

Project Guidelines

Agent Behavior & Constraints

  • CRITICAL: Before executing any code, file modifications, or architectural decisions, you MUST validate your current task against the routing directives defined in .claude/system_prompt.
  • You are operating as a Meta-Prompt Route Orchestrator.
  • If a task falls into Analyzing, Writing, Reviewing, or Architecting, you must halt autonomous execution and ask the user for the required file context or diffs specified in the Interception Protocol.
@jpalala
jpalala / readme-markdown.md
Created May 26, 2026 04:44
Welcome to NestJS

Welcome to NestJS! If you are coming from Express or Fastify, NestJS can feel a bit rigid at first because it heavily embraces Architecture and Dependency Injection (very similar to Angular or Spring Boot). However, once you get the hang of it, that rigidity becomes its superpower—it ensures large codebases stay organized.


1. Navigating the File Structure

When you create a new project using nest new project-name, you get a boilerplate. NestJS relies heavily on a module-based (domain-driven) architecture.

Here is what a standard, well-organized NestJS project structure looks like as it grows:

@jpalala
jpalala / email.js
Created May 19, 2026 16:23 — forked from jcollado/email.js
Send email with nodemailer and AWS SES (API or STMP)
var nodemailer = require('nodemailer');
var sesTransport = require('nodemailer-ses-transport');
var smtpPassword = require('aws-smtp-credentials');
var mailOptions = {
from: 'from@example.com',
to: 'to@example.com',
text: 'This is some text',
html: '<b>This is some HTML</b>',
};
@jpalala
jpalala / deploying-static-page-to-cloudflare-pages-via-wrangler-cli.md
Created May 17, 2026 13:57
Deploying a Static Site to Cloudflare Pages via Wrangler CLI

Deploying a Static Site to Cloudflare Pages via Wrangler CLI

This guide outlines the direct, programmatic workflow for deploying a static website or single-page application (SPA) to Cloudflare Pages.

By utilizing the Cloudflare Wrangler CLI, you bypass the need to manually configure projects inside the Cloudflare dashboard UI. The entire lifecycle—from initialization to deployment—is managed entirely from your terminal or CI/CD pipeline.


🚀 Architectural Advantage: Zero-UI Configuration

Yes, you can do it with Codex. It does not have to be Claude.

Codex supports three related modes:

1. Local agent work

codex
@jpalala
jpalala / The_Limitations_of_using_LLMs_to_Code.md
Created May 15, 2026 16:08
Limitations of using LLMs to code

Large language models (LLMs) are very good at generating code that matches patterns they’ve seen during training. That strength also creates several important limitations.

1. Pattern matching ≠ true software understanding

LLMs generate code by predicting likely token sequences, not by reasoning about program correctness the way a compiler or experienced engineer would.

This means they can:

  • Produce code that looks correct but fails edge cases
  • Misunderstand implicit requirements
@jpalala
jpalala / read-this.md
Created May 6, 2026 08:29
[GEMINI] - how to implement socialite login with google, and github

Building a modern login page inspired by your screenshot is a great way to streamline user onboarding. To achieve this in Laravel, we'll use Tailwind CSS for styling and Lucide Icons (an excellent open-source alternative) to match that clean, professional look.

1. The Blade View (resources/views/auth/login.blade.php)

This template uses the same layout structure as Replit: a centered card, large "Continue with" buttons, and a clean email input section.

<!DOCTYPE html>
<html lang="en">
<head>