Skip to content

Instantly share code, notes, and snippets.

@alejandro-martin
alejandro-martin / multiple-ssh-keys-git.adoc
Last active June 5, 2026 20:33
Configure multiple SSH Keys for Git

Use Multiple SSH Keys for Git host websites (Github, Gitlab)

This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.

Creating SSH keys

  1. Create SSH directory:

export const gpt_functions_param_jobs_fetching = [
{
name: "process_job_data",
description: "Process job data and extract core fields for a scraper.",
parameters: {
type: "object",
additionalProperties: false,
properties: {
// Company
company_name: {
@IgorWarzocha
IgorWarzocha / SKILL.md
Last active June 5, 2026 18:23
AGENTS.md authoring skill
name agents-md
description How to write, audit and edit AGENTS.md files.

AGENTS.md Authoring

Purpose

Create and improve AGENTS.md files that are short, scoped, and useful to coding agents. Preserve intent and non-obvious rules; do not summarize the repo.

@codigoconjuan
codigoconjuan / app.js
Created October 6, 2022 22:32
Validar email
const regex = /^\w+([.-_+]?\w+)*@\w+([.-]?\w+)*(\.\w{2,10})+$/
@kokoye2007
kokoye2007 / git-fork-sync-guide.md
Last active June 5, 2026 17:58
Git Fork & Sync Workflow Guide

🔄 Git Fork & Sync Workflow Guide

Fork ထားတဲ့ Repo က ကြာသွားလို့ မူရင်း Repo (Upstream) နဲ့ ဖိုင်တွေ မတူတော့တဲ့ပြဿနာ (Conflict) မတက်အောင် ကုဒ်မပြင်ခင်နဲ့ ပို့ခွင့်မပြုခင် ဒီအဆင့်အတိုင်း အမြဲလုပ်ပေးပါ။

1️⃣ Upstream (မူရင်း Repo) နဲ့ ချိတ်ဆက်ခြင်း (ပထမဆုံးတစ်ကြိမ်ပဲ လိုမည်)

ကိုယ့်စက်ထဲက local repo ထဲမှာ မူရင်း Repo လိပ်စာကို သတ်မှတ်ပေးဖို့ လိုပါတယ်။

git remote add upstream <မူရင်း_repo_url>
@nfreya
nfreya / nlbl.md
Created January 14, 2026 22:25
zebradesigner nlbl file format

ZebraDesigner3 nlbl (NiceLabel) files are password-protected ZIPs containing XML. The password is ,^_A5Fus&!?j='Epiq*e.

"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
import React, { useEffect, useState, useRef } from "react";
import {
SpeechRecogintionResult,
createSpeechRecognition,
createMediaRecorder,
SpeechRecord
} from "./utils";
let currentSpeechRecognition: any | null = null;
let currentMediaRecorder: any | null = null;
@Pythonation
Pythonation / prompt.md
Last active June 5, 2026 17:39
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

@nbr23
nbr23 / aws_ecr_stats.sh
Last active June 5, 2026 17:22 — forked from RafaelWO/awc_ecr_stats.sh
AWS: Calculate the size of all ECR repositories
repos=""
sizes=""
name_lens=""
image_counts=""
# Check if user is logged in
if ! aws sts get-caller-identity &> /dev/null; then
echo "ERROR: Seems like your SSO session is invalid. Please run"
printf "\n $ aws sso login\n\n"
echo "before you run the script."