Skip to content

Instantly share code, notes, and snippets.

View getjoedev's full-sized avatar
👋
hello world!

Joe Palala getjoedev

👋
hello world!
  • @warpcf
View GitHub Profile
@getjoedev
getjoedev / answers_to_common_questions.md
Last active March 30, 2026 15:30
react-junior developer interview notes

Here are clean, interview-ready one-liners + quick examples you can say in a rapid-fire round:


⚡ Prop Drilling

Answer:

“Prop drilling is when data is passed through multiple intermediate components just to reach a deeply nested child.”

// Note: Idea from https://www.reddit.com/r/commandline/comments/nqf8an/probably_the_simplest_pomodoro_timer_cli_for_linux/
const fs = require('fs');
const path = require('path');
function pomo() {
// Process command-line arguments
const args = process.argv.slice(2);
const durationMinutes = parseInt(args[0], 10);
const taskMessage = args.slice(1).join(' ');
@getjoedev
getjoedev / quick_reference.md
Created August 22, 2025 03:28
📝 ASP.NET Core Quick Reference

📝 ASP.NET Core Quick Reference (Interview Prep) ⚙️ Core Basics

Cross-platform, open source, modular

Middleware pipeline: request → middleware → response

Built-in Dependency Injection (DI)

🏗 Project Setup

@getjoedev
getjoedev / better_ai_driven_coder_agile.md
Created July 11, 2025 04:29
better_ai_driven_coder_agile

How to Stand Out in an AI-Driven Industry

So, how do you ensure you’re not just another vibe coder lost in the sea of AI-assisted developers? Here are a few concrete steps to set yourself apart:

🔍 Understand the WHY – When AI generates code, take the time to dissect it. Why does it work? How does it compare to alternative solutions? What trade-offs does it introduce?

📝 Build Projects from Scratch – Don’t just copy-paste AI suggestions. Work on real-world projects where you have to make architectural decisions, optimize performance, and debug issues manually.

📖 Study Classic CS Topics – Algorithms, data structures, system design, and software architecture will always be valuable. Even as AI improves, these skills will keep you in demand.

@getjoedev
getjoedev / run_the_app_email_service_provider.md
Created December 27, 2024 07:05
how to run email driver java

Your code defines a producer method in the EmailServiceProvider class that dynamically creates and provides an implementation of EmailService based on the configuration (email.driver). The choice of the email client to be used (e.g., SqsEmailServiceImpl or LocalSmtpEmailServiceImpl) is determined by the email.driver value.


How to Use This in Your Application

The produced EmailService can be injected wherever it's needed within your application. Here's a breakdown of the steps:


@getjoedev
getjoedev / gist:bf2751060c2075290d66b8ac7dafec84
Last active December 26, 2024 11:02
running java app with quarkus

First install java!

  sdk install java 17.0.11-graal

Run:

  ./gradlew wrapper --gradle-version=8.1.1 --distribution-type=bin
@getjoedev
getjoedev / rungradle.md
Last active December 13, 2024 01:50
run gradle

Run

./gradlew wrapper --gradle-version=8.1.1 --distribution-type=bin

Builds to 8.1.1

./build
./uberjar
@getjoedev
getjoedev / massInsertOrUpdate.php
Created December 11, 2024 23:14 — forked from RuGa/massInsertOrUpdate.php
Mass (bulk) insert or update on duplicate for Laravel 4/5
/**
* Mass (bulk) insert or update on duplicate for Laravel 4/5
*
* insertOrUpdate([
* ['id'=>1,'value'=>10],
* ['id'=>2,'value'=>60]
* ]);
*
*
* @param array $rows
@getjoedev
getjoedev / readme.md
Created November 14, 2024 03:04
launchdarkly lighter clone

launchdarkly-clone

For a lighter LaunchDarkly-style feature toggling service on AWS, you could focus on these essential features:

Feature Flag Management: Enable users to create, update, and delete feature flags, with options for boolean (on/off), multivariate (e.g., A/B tests), and gradual rollout.

Targeting Rules: Allow users to set rules based on attributes (e.g., user groups, environment, geographic location). This could involve assigning attributes to toggle specific users or cohorts.

Environment Support: Provide support for managing flags across multiple environments (e.g., development, staging, production), allowing easy promotion of configurations between them.

@getjoedev
getjoedev / mysql_downgrade.txt
Created October 28, 2024 01:07 — forked from 6temes/mysql_downgrade.txt
Downgrade MySQL version with brew
# Kill rails server and guard
bin/spring stop
brew services stop mysql
brew uninstall mysql
brew install mysql@5.5
brew link mysql@5.5 --force
brew services start mysql@5.5
rbenv uninstall 2.3.3
rbenv install 2.3.3
gem install bundle