Skip to content

Instantly share code, notes, and snippets.

@Suplic0z
Suplic0z / 🚀 ShinigamiSkip
Created March 31, 2025 17:52
🚀 ShinigamiSkip – The ultimate tool to automatically skip anime intros and outros, optimized for streaming sites. Perfect for those who just want to watch the action! 🎭🔥
🚀 ShinigamiSkip – The ultimate tool to automatically skip anime intros and outros, optimized for streaming sites. Perfect for those who just want to watch the action! 🎭🔥
@MaskRay
MaskRay / lto.md
Last active March 31, 2025 17:52

Concept

A LTO unit is the subset of the linkage unit that is linked together using link-time optimization.

Add module

LTO::add(...) {
}
@sindresorhus
sindresorhus / esm-package.md
Last active March 31, 2025 17:51
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@freakshock88
freakshock88 / philips_hue_tap_dial_switch_zigbee2mqtt_actions_blueprint.yaml
Last active March 31, 2025 17:50
philips_hue_tap_dial_switch_zigbee2mqtt_actions_blueprint
blueprint:
name: Zigbee2MQTT - Philips Hue Tap dial switch (8719514440937/8719514440999) actions
description: >
Define actions your Philips Hue Tap dial switch using Zigbee2MQTT.
This blueprint requires a MQTT topic for your button and the actions you want to take for each button press type.
domain: automation
input:
mqtt_topic:
name: MQTT Topic for device updates
description: MQTT topic for Philips Hue Tap dial switch. e.g. "zigbee2mqtt/Bedroom Bed Tap Dial Switch"
@wootsbot
wootsbot / AppDelegate.mm
Created July 4, 2024 15:44 — forked from juanchoperezj/AppDelegate.mm
Use RocketSim Network Monitoring with a React Native Project (Not Expo)
// imports...
@interface RocketSimLoader : NSObject
- (void)loadRocketSimConnect;
@end
@implementation RocketSimLoader
@aunyks
aunyks / snakecoin-server-full-code.py
Last active March 31, 2025 17:45
The code in this gist isn't as succinct as I'd like it to be. Please bare with me and ask plenty of questions that you may have about it.
from flask import Flask
from flask import request
import json
import requests
import hashlib as hasher
import datetime as date
node = Flask(__name__)
# Define what a Snakecoin block is
class Block:
@disler
disler / README_MINIMAL_PROMPT_CHAINABLE.md
Last active March 31, 2025 17:44
Minimal Prompt Chainables - Zero LLM Library Sequential Prompt Chaining & Prompt Fusion

Minimal Prompt Chainables

Sequential prompt chaining in one method with context and output back-referencing.

Files

  • main.py - start here - full example using MinimalChainable from chain.py to build a sequential prompt chain
  • chain.py - contains zero library minimal prompt chain class
  • chain_test.py - tests for chain.py, you can ignore this
  • requirements.py - python requirements

Setup

@4wk-
4wk- / README.md
Last active March 31, 2025 17:41
Clean uninstall then reinstall of WSL on Windows 10, with systemD support

Uninstall then reinstall WSL on Windows 10 (clean way)

Background

I've been using wsl (version 2) with genie mod for years without issue, but one day, Windows 10 finally catch up on wsl Windows 11 features and gives us a way to use systemD natively.

I wanted to use the new "right way" to enable systemD on Windows Subsystem for Linux (without genie), and I also had a (probably related) infinite Windows RemoteApp error poping in.

Fixing it

A - Uninstall wsl and related stuff

  1. In powershell (as admin)
@yifanzz
yifanzz / code-editor-rules.md
Created December 17, 2024 00:01
EP12 - The One File to Rule Them All

[Project Name]

Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.

Project Context

[Brief description ]

  • [more description]
  • [more description]
  • [more description]
@webermn15
webermn15 / discord-markdown.md
Created January 24, 2019 18:27
Discord Markdown Guide

Discord Markdown

Spice and twist up your message using markdown, syntax highlighting, formats in Discord.

Styles

Italics *italics* or _italics_

Underline italics __*underline italics*__