Skip to content

Instantly share code, notes, and snippets.

View lironsam's full-sized avatar
🏠
Working from home

Lirone S. lironsam

🏠
Working from home
  • Marseille
View GitHub Profile
@OmerFarukOruc
OmerFarukOruc / claude.md
Last active February 25, 2026 03:41
AI Agent Workflow Orchestration Guidelines

AI Coding Agent Guidelines (claude.md)

These rules define how an AI coding agent should plan, execute, verify, communicate, and recover when working in a real codebase. Optimize for correctness, minimalism, and developer experience.


Operating Principles (Non-Negotiable)

  • Correctness over cleverness: Prefer boring, readable solutions that are easy to maintain.
  • Smallest change that works: Minimize blast radius; don't refactor adjacent code unless it meaningfully reduces risk or complexity.
@devinschumacher
devinschumacher / how-to-dl-skool-videos.md
Last active February 25, 2026 10:42
How to Download Videos from Skool.com

How to download skool.com videos (and the entire course)

Version 1 - Comprehensive, More Difficult

You can download the entire classroom with this, but its not beginner friendly. If you want the beginner version to just download 1 video at a time, scroll down to the bottom!

This is not a beginner friendly video, but if you follow along I’ll show you how to get around the download protections.

If you’re looking for a simpler solution or have any questions about this process, just leave a comment and I’ll create a follow-up video.

@bradtraversy
bradtraversy / webdev_online_resources.md
Last active February 9, 2026 11:25
Online Resources For Web Developers (No Downloading)
@aerrity
aerrity / client.js
Last active November 22, 2025 19:33
Node, Express & MongoDB: Button click example
console.log('Client-side code running');
const button = document.getElementById('myButton');
button.addEventListener('click', function(e) {
console.log('button was clicked');
fetch('/clicked', {method: 'POST'})
.then(function(response) {
if(response.ok) {
console.log('click was recorded');
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection
{
if (!(_capturing && _videoCaptureConsumer)) {
return;
}
CMTime time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer);
CVImageBufferRef imageBuffer = CMSampleBufferGetImageBuffer(sampleBuffer);
CVReturn lock = CVPixelBufferLockBaseAddress(imageBuffer, 0);
@ryansechrest
ryansechrest / php-style-guide.md
Last active January 13, 2026 13:28
PHP style guide with coding standards and best practices.

PHP Style Guide

All rules and guidelines in this document apply to PHP files unless otherwise noted. References to PHP/HTML files can be interpreted as files that primarily contain HTML, but use PHP for templating purposes.

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Most sections are broken up into two parts:

  1. Overview of all rules with a quick example
  2. Each rule called out with examples of do's and don'ts