Skip to content

Instantly share code, notes, and snippets.

View IS2511's full-sized avatar
🦀
Rustifying

Ivan Sotnikov IS2511

🦀
Rustifying
View GitHub Profile
@iuzn
iuzn / Google Favicon API Cheat Sheet.md
Created October 20, 2025 20:34
Google favicon API endpoints. Customize favicon retrieval by changing domain and size parameters.

Google Favicon API Cheat Sheet

Fetch a website’s favicon easily using Google’s public endpoints:


Basic Endpoint

https://www.google.com/s2/favicons?domain=DOMAIN
@SpaceWalkerRS
SpaceWalkerRS / 24w33a-redstone-experiments.md
Last active November 23, 2025 21:14
A look into the experimental redstone changes in 24w33a.

24w33a Redstone Experiments

24w33a introduces new experimental changes to redstone dust, aiming to fix some of the long standing issues with it, like the lag it causes and the unintuitive and unreliable way in which it updates.

The problems with redstone dust

The problems with redstone dust stem from its naive implementation. When a wire is updated, it checks what signal it receives from surrounding blocks. If that is different from its current signal strength, it updates it and then notifies neighboring blocks. This implementation is fine for individual wires, but when multiple wires are connected, its flaws become apparent: the wires power each other, but the signal degrades over distance. Thus when you remove the power source from a line of wires, the signal will die out completely. However, any individual wire does not have this context. It will only decrease its signal strength to match what it receives from neighboring wires, and that will repeat until all wires have depowered completely. This r

@dk949
dk949 / comments_of_the_world.md
Last active January 18, 2026 10:31
Comments in different programming languages

Comments in different programming languages

This document lists comment styles and languages (and dialects) that use it. The list is based on the one used in NERD commenter.

Comment types are grouped by the types of symbols used. Each example is organised as a comment block followed by a list of languages.

Note1: the number of languages is quite large, and much of this

@dpoulopoulos
dpoulopoulos / nlsh.py
Last active May 20, 2024 04:45
OpenAI natural language shell example.
prompt = """
Input: Print the current directory
Output: pwd
Input: List files
Output: ls -l
Input: Change directory to /tmp
Output: cd /tmp
@Fingercomp
Fingercomp / 00-sound-card-toc.md
Last active March 3, 2025 08:03
Guide to the Sound Card
@matthewzring
matthewzring / markdown-text-101.md
Last active January 19, 2026 05:46
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers: