Skip to content

Instantly share code, notes, and snippets.

@Greg-Boggs
Greg-Boggs / README.md
Last active November 27, 2026 01:21
Drupal Site Building Best Practices

Better Drupal Building

  • Custom glue should be accomplished with configuration first and PHP code second.

Configuration Management and Dependencies

  • Use Composer (or Drush Make) to build your project and it's depencies.
  • Store your work in files.
  • Set your config directory above the webroot.
  • Sync UUIDs across all developers.

Theming

@lcsmuller
lcsmuller / MIGRATING_TO_2.0.0.md
Last active November 27, 2026 01:05
This gist describes the necessary steps to migrate from 1.x.x to 2.x.x

Migrating Guide v1.x.x to v2.x.x

This version introduces some important breaking changes and new features for replacing old methods

Renamed fields

  • discord_ret*.high_p -> discord_ret*.high_priority

Renamed macros

@mmozeiko
mmozeiko / !README.md
Last active November 27, 2026 01:03
Download MSVC compiler/linker & Windows SDK without installing full Visual Studio

This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.

Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK from newest Visual Studio.

You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.

To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.

To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).

@dsample
dsample / download-classdojo-media.js
Created July 18, 2021 08:59 — forked from travishorn/download-classdojo-media.md
Saving the images and videos from your ClassDojo storyline
/* run this in the console on the ClassDojo page */
function download(url) {
fetch(url).then(function (t) {
return t.blob().then((b) => {
var a = document.createElement("a");
a.href = URL.createObjectURL(b);
var n = url.lastIndexOf("/");
var filename = url.substring(n + 1);
a.setAttribute("download", filename);

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

#EXTM3U
#EXTINF:-1,www.techedubyte.com
Https:www.techedubyte.com
#EXTINF:-1,BEIN_Sports_News
http://server.sibfungold.info:8080/pacha-man1/e0VaVPskUa/2296
#EXTINF:-1,BeIN_Sport_NBA_HD
http://server.sibfungold.info:8080/pacha-man1/e0VaVPskUa/49691
#EXTINF:-1,AR: Al KASS 1 HD
http://server.sibfungold.info:8080/pacha-man1/e0VaVPskUa/1138
#EXTINF:-1,AR: Al KASS 2 HD
@JBlond
JBlond / bash-colors.md
Last active November 27, 2026 00:34 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@PrenSJ2
PrenSJ2 / INSTAGRAM_SETUP.md
Last active November 27, 2026 00:19
A comprehensive guide for implementing Instagram content publishing using the Instagram Platform API (Instagram Direct Login) that launched in July 2024.

Instagram Platform API Integration Guide (Oct 2025)

This guide provides complete setup instructions for Instagram integration using the Instagram Platform API (Instagram Direct Login) that launched in July 2024.

Overview

The Instagram Platform API allows direct authentication with Instagram accounts without requiring a Facebook Page connection. This implementation supports both Business and Creator accounts for content publishing.

Prerequisites

@lokulin
lokulin / README.md
Last active November 27, 2026 00:14
Un-fuck Firefox Nova

De-Nova for Firefox

Two stylesheets that make Firefox's Nova redesign look like the old (pre-Nova) interface: squarer corners, neutral greys and a blue accent instead of violet tints, no violet-to-orange toolbar gradient, and the old tab and settings layout. Written against Firefox 161.

File Styles
userChrome.css The browser UI: tabs, toolbars, URL bar, bookmarks bar, menus and popups, sidebar.
userContent.css Firefox's own pages only (about: and chrome:), such as Settings, Add-ons and about:config. Websites are untouched.

Install