Skip to content

Instantly share code, notes, and snippets.

View Issaminu's full-sized avatar
🐧
Joymaxxing

Issam Boubcher Issaminu

🐧
Joymaxxing
View GitHub Profile
@Issaminu
Issaminu / .p10k.zsh
Created September 10, 2026 19:24
.p10k.zsh
# Generated by Powerlevel10k configuration wizard on 2026-01-22 at 13:28 +01.
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 37983.
# Wizard options: compatible, unicode, lean, 12h time, 2 lines, dotted, no frame,
# lightest-ornaments, compact, fluent, instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate
# your own config based on it.
#
# Tip: Looking for a nice color? Here's a one-liner to print colormap.
@Issaminu
Issaminu / .zshrc
Created September 10, 2026 19:19
.zshrc - sanitized version
# ---- Powerlevel10k instant prompt (keep first) ----
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Skip heavy init for non-interactive shells (big speed win for scripts)
[[ $- != *i* ]] && return
# ---- History & options ----
HISTFILE=~/.histfile
@Issaminu
Issaminu / go_update.sh
Created June 18, 2024 20:36
Bash script that updates Golang to latest version
#!/usr/bin/env bash
version=$(go version | awk '{print $3}')
release=$(wget -qO- "https://golang.org/VERSION?m=text" | head -n 1)
if [[ $version == "$release" ]]; then
echo "The local Go version ${release} is up-to-date."
exit 0
else
echo "The local Go version is ${version}. A new release ${release} is available."
@Issaminu
Issaminu / layout.tsx
Created August 29, 2023 13:40
/app/layout.tsx
import "@/styles/globals.css";
import Providers from "@/app/providers";
import { headers } from "next/headers";
import localFont from "next/font/local";
import { Metadata } from "next";
import { ClerkProvider } from "@clerk/nextjs";
const inter = localFont({
src: "../public/fonts/Inter.ttf",
display: "swap",