Skip to content

Instantly share code, notes, and snippets.

🐍 Python...... ████████░░ 78% 🕓 27m
💩 JavaScript.. ██░░░░░░░░ 19% 🕓 6m
@tadeasf
tadeasf / lang stats
Last active November 21, 2024 20:36
We couldn’t find that file to show.
⭐ Total Stars: 8
➕ Total Commits: 4,120
🔀 Total PRs: 90
🚩 Total Issues: 90
📦 Contributed to: 3
@tadeasf
tadeasf / chess.md
Last active January 12, 2025 10:04

⚡ Blitz ..................................... 1287 📈 ⏲️ Rapid ..................................... 1722 📈 🧩 Tactics ................................... 1101 📈

Elysia-Meta-Backend

Flutter-Meta-Frontend

**1. Naked React**
```javascript
// Local State
const [state, setState] = useState()
// Prop Drilling Issue
Parent → Child → Subchild → SubSubChild
// Context API for global state
const MyContext = createContext()

Let me break this down in a clear, structured way:

  1. Server-Client Logic with REST APIs & React
React App (Client) <----HTTP Requests----> REST API (Server)
    |                                           |
 Handles:                                   Handles:
- UI Logic                               - Data Processing
- State Management                       - Database Operations
- User Interactions - Authentication
@tadeasf
tadeasf / init.sh
Last active October 10, 2024 04:51
server init
#!/usr/bin/env bash
set -euo pipefail
# ANSI color codes
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
MAGENTA='\033[0;35m'
@tadeasf
tadeasf / starship.toml
Created September 30, 2024 22:01
starship.toml
format = """
$username\
$shell\
$gcloud\
$aws\
$memory_usage\
$command\
$line_break\
$localip$directory\
$git_branch$git_status$git_state$git_commit$git_metrics\
@tadeasf
tadeasf / fish.config
Created September 30, 2024 22:00
fish.config
# Define path directories
set -l path_dirs \
"$HOME/.local/bin" \
"/usr/bin/docker" \
"$HOME/.cargo/bin" \
"$HOME/go/bin" \
"$BUN_INSTALL/bin" \
"$PNPM_HOME" \
"$HOME/.asdf/shims" \
"$HOME/.asdf/bin"
@tadeasf
tadeasf / .zshrc
Last active September 29, 2024 11:15
.zshrc for arch
# __ .___ _____
# _/ |______ __| _/____ _____ ______/ ____\
# \ __\__ \ / __ |/ __ \\__ \ / ___| __\ github: https://github.com/tadeasf
# | | / __ \/ /_/ \ ___/ / __ \_\___ \ | | dotfiles: https://github.com/tadeasf/dotfiles_repo
# |__| (____ |____ |\___ >____ /____ >|__|
# \/ \/ \/ \/ \/
# if you don't have your personalized ASCII art in your shell rc file you are lame and should get your life on track and buy a pair of coding socks at least!
### Ensure .zshrc is sourced fully ###
autoload -Uz compinit; compinit -i