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 / cowfetch.sh
Last active October 16, 2025 16:00
cowfetch
# Please install cowsay or else!
now=$(date +%H:%M)
message="U da Goat!"
uptimemsg=$(uptime | awk -F'(up |, [0-9]+ users?)' '{print "up" $2}')
printf '\033[36m'
cowsay -d "$message $uptimemsg"
echo "You are using $(grep '^PRETTY_NAME=' /etc/os-release | cut -d= -f2 | tr -d '"') $(uname -m)"
@jpalala
jpalala / symfony_cheatsheet.md
Last active October 7, 2025 04:50
SYMFONY Cheatsheet

A Symfony cheat sheet provides a quick reference for commonly used commands, configurations, and best practices within the Symfony framework. It typically covers various aspects of Symfony development, including:

  1. Console Commands: Project Management. Code
    php bin/console -V # Check Symfony version
    php bin/console list # List all available commands

Database Operations (Doctrine).

@jpalala
jpalala / bastion-connector.sh
Last active October 3, 2025 03:43
Simple helper to SSH into private VPC hosts via a bastion jump server.
#!/usr/bin/env bash
# bastion-connector.sh
# Simple helper to SSH into private VPC hosts via a bastion jump server.
# Usage:
# ./bastion-connector.sh <TARGET_PRIVATE_IP> [USERNAME]
#
# Example:
# ./bastion-connector.sh 10.15.3.42 ubuntu
@jpalala
jpalala / HOW_TO_USE_A_SOCK5_PROXY.md
Last active October 3, 2025 03:17
how to vpc proxy

🔌 Step 1: SSH-Add to set up the ssh-agent to use your ssh key

ssh-add -l /path/to/id_rsa # or /path/to/id_ed25519

🛰️ Step 2: Open an SSH SOCKS Proxy Tunnel (localhost-only)

@jpalala
jpalala / how-to-react-swc-boilerplate.md
Created October 2, 2025 16:38
setup react with swc

Perfect 👌 I’ll give you a clean React + TypeScript + Vite + SWC + Bootstrap + React Router starter template.

This setup will:

  • Use Vite as bundler
  • Use SWC (@vitejs/plugin-react-swc) instead of Babel
  • Add Bootstrap styling
  • Add React Router v6 for pages & navigation
  • Include a Navbar + Footer layout
<?php
// composer require usmanhalalit/pixie
require 'vendor/autoload.php';
use Pixie\Connection;
use Pixie\QueryBuilder\QueryBuilderHandler;
// Setup DB connection
$config = [
'driver' => 'mysql',
@jpalala
jpalala / imail_inbox.php
Created October 1, 2025 06:47
imail-design
<?php
/* aka message list */
require 'vendor/autoload.php';
$redis = new Predis\Client();
$user = $_GET['user'];
$ids = $redis->lrange("imail:messages:$user", 0, -1);
foreach ($ids as $id) {
@jpalala
jpalala / wormholechessvariant.md
Last active September 30, 2025 04:05
wormhole chess

Sure! Here's a clean and polished README.md based on your description:


Wormhole Chess

Wormhole Chess is a variant of traditional chess played on a modified board with unique teleportation mechanics.


@jpalala
jpalala / standup-app.md
Created September 29, 2025 15:33
create a standup app

Perfect — AWS SES is totally fine for this setup.

You're right: If your SES account is still in sandbox mode, you'll need to verify every recipient email address before you can send to them. Once you move SES to production mode, you can email any address without pre-verification.

✅ Summary of What I'll Build

You want a standalone Flask backend with:

✅ Passwordless email login

@jpalala
jpalala / talk-proposal-submission.php
Created September 27, 2025 10:31
talk submission
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Meetup Proposal & Sponsorship Form (jQuery)</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;