Skip to content

Instantly share code, notes, and snippets.

@Erfan-Ahmadi
Erfan-Ahmadi / rendering_engine.md
Last active December 23, 2025 20:58
Rendering Engine Development

1. What does the Rendering Engine Need?

  • Rendering Engine
    • Support for Multiple Graphics APIs : OpenGL | Vulkan | DirectX12 | DirectX11 | Metal
    • Content Export Pipeline : Create Maya/Max Plugins to export meshes based on Renderers needs. (Assimp Commercial Licence -> Pay)
    • Texture Compression Libraries
    • Material System : Artists Configure shaders, textures, parameters to import in game
    • Game-side Manager of Models/Materials/Lights
    • Good Visibility System (Frustum/Occlusion) (VisibilityBuffers?)
    • Multi-Threded Submission System to reduce cost of submission to GPU
  • Lighting/Shadow Rendering System
@karol-broda
karol-broda / checkLocation.js
Created December 9, 2025 13:06
browser console location
navigator.geolocation.getCurrentPosition(
function (position) {
console.log("lat:", position.coords.latitude, "lng:", position.coords.longitude);
},
function (error) {
console.log("error:", error);
}
);
@karol-broda
karol-broda / cybercheff_catppuccin.css
Last active December 23, 2025 20:54
cybercheff catppuccin userstyle
@-moz-document url-prefix("https://gchq.github.io/CyberChef/") {
:root.dark {
--frappe-rosewater: #f2d5cf;
--frappe-flamingo: #eebebe;
--frappe-pink: #f4b8e4;
--frappe-mauve: #ca9ee6;
--frappe-red: #e78284;
--frappe-maroon: #ea999c;
--frappe-peach: #ef9f76;
--frappe-yellow: #e5c890;
@MADARA78653
MADARA78653 / gist:a56081053b483e06c645446464e46538
Created December 16, 2024 14:14
Carbon Copy Cloner 6.3.3 Keygen With Serial Number [Newest 2024]
Carbon Copy Cloner License Key
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 23, 2025 20:49
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@TehBrian
TehBrian / final-cut-pro-trial-reset.sh
Last active December 23, 2025 20:38
Final Cut Pro Trial Reset
mv -vf ~/Library/Application\ Support/.ffuserdata ~/Library/Containers/com.apple.FinalCutTrial/Data/Library/Application\ Support/.ffuserdata ~/.Trash
@bouroo
bouroo / sse-worker.js
Last active December 23, 2025 20:36
example for cloudflare worker server-sent events
/**
* Cloudflare Worker for Server-Sent Events (SSE)
*
* This worker demonstrates how to set up an SSE endpoint
* that sends an initial message and then periodic updates.
*/
// Listen for incoming requests
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request));
@EwoutH
EwoutH / Zotero_7_plugin_dev_guide.md
Last active December 23, 2025 20:33
Zotero 7 Plugin Development Guide

Zotero 7 Plugin Development Guide

Zotero 7 includes a major internal upgrade of the Mozilla platform on which Zotero is based, incorporating changes from Firefox 60 through Firefox 115. This upgrade brings major performance gains, new JavaScript and HTML features, better OS compatibility and platform integration, and native support for Apple Silicon Macs.

Plugin Architecture

Zotero 7 plugins provide full access to platform internals (XPCOM, file access, etc.) using a bootstrapped plugin architecture. Plugins can be enabled and disabled without restarting Zotero.

Plugin Components

@osipxd
osipxd / !paper-versions.md
Last active December 23, 2025 20:29
Paper versions links

Easy Telemetry Disable for 10/11

Prerequisites

  1. Upgrade to Enterprise edition of Windows 10/11 if you are running Home or Pro.
    • You can do this through the Change Edition option in the Extras menu in MAS.

Disabling Telemetry via Group Policy

  1. Open the Group Policy Editor. Search for "Edit Group Policy" in search or run gpedit.msc.