Skip to content

Instantly share code, notes, and snippets.

@notnotrobby
notnotrobby / cgp.md
Last active December 30, 2025 03:53
List of free resources to study computer graphics programming.
# Create a new worktree and branch from within current git directory.
ga() {
if [[ -z "$1" ]]; then
echo "Usage: ga [branch name]"
exit 1
fi
local branch="$1"
local base="$(basename "$PWD")"
local path="../${base}--${branch}"
@geeksprep
geeksprep / share-code-snippets-online-javascript.js
Created December 30, 2025 03:37
JavaScript example showing how code snippets can be shared online using a simple encoded URL. Useful for building lightweight code snippet sharing tools.
/**
* Share Code Snippets Online JavaScript Example
*
* This example demonstrates a simple way to share code snippets
* using a generated URL. The idea is commonly used in lightweight
* code snippet sharing tools.
*
* Use case:
* - Share code during interviews
* - Send snippets to teammates
@geeksprep
geeksprep / share-json-data-online-javascript.js
Created December 30, 2025 03:39
JavaScript example demonstrating how to share JSON data online using an encoded URL. Useful for building lightweight JSON sharing tools.
/**
* Share JSON Data Online JavaScript Example
*
* This example shows a simple approach to share JSON data
* using a generated URL. Commonly used in JSON sharing
* and debugging tools.
*
* Use cases:
* - Share API responses
* - Debug JSON payloads
@geeksprep
geeksprep / merge-pdf-files-client-side-javascript.js
Last active December 30, 2025 03:51
JavaScript example demonstrating how multiple PDF files can be merged on the client side using browser-based libraries without uploading files to a server.
/**
* Merge PDF Files Client-Side
* Privacy-first approach using browser-based PDF processing.
* Commonly used in online PDF merge tools.
*/
async function mergePDFs(pdfFiles) {
@arch1t3cht
arch1t3cht / renderer_internals.md
Last active December 30, 2025 03:46
What Every Typesetter Should Know about Renderer Internals

What Every Typesetter Should Know about Renderer Internals

ASS subtitle rendering is seen by many people as some arcane black magic. That's because it is. Luckily, you do not need to understand most of the black magic to learn many meaningful lessons about both the behavior and performance of renderers.

Let's get it over with right away and post the diagram:

A Venn diagram showing two completely disjoint circles. One circle is labeled "What typesetters think is bad for performance." The other circle is labeled "What's actually bad for performance."
@avisek
avisek / colorConversions.js
Last active December 30, 2025 03:43
RGB, HSL, XYZ, LAB, LCH color conversion algorithms in JavaScript
/**
* Color conversion algorithms (RGB, HSL, XYZ, LAB, LCH)
* Derived from jQuery Color Picker Sliders by István Ujj-Mészáros
* Licensed under the Apache License 2.0
* https://github.com/istvan-ujjmeszaros/jquery-colorpickersliders
*/
export function rgbToHsl(rgb) {
const r = rgb.r / 255
const g = rgb.g / 255
@PrinceSinghhub
PrinceSinghhub / DSA Calendar 2026 | Plan of Action.md
Last active December 30, 2025 05:16
Everything from 0 to Advance | DSA Calendar 2026 | Plan of Action

DSA Calendar 2026 | Plan of Action 🔥

DSA is no longer about solving random sheets or memorizing solutions. It’s about a clear, structured, and realistic approach from absolute beginner to interview-ready Candidate.

  • How to start DSA from zero (even if you don’t know coding)
  • When to focus on language basics vs DSA
  • A 3-phase preparation strategy used by serious engineers
  • Exact timelines for topics, patterns, and problem counts
  • Why 300–400 problems ≠ success (and what actually matters)
@Diegiwg
Diegiwg / linkedIn_jobs_api.md
Last active December 30, 2025 03:37
LinkedIn Jobs API Documentation
@baymaxium
baymaxium / content.md
Created October 20, 2017 09:19
Python 遗传算法框架 GAFT 优化小记

原文:Python开发者

(点击上方蓝字,快速关注我们)

来源:伯乐在线 - iPytLab

如有好文章投稿,请点击 → 这里了解详情

前言