Skip to content

Instantly share code, notes, and snippets.

{
"certified": false,
"deleted": false,
"docker_image_digest": "sha256:e022d450c2a40a28560113c011de40e3d4b49705e4babc1b9bf5bedebdb90a9f",
"docker_image_id": "sha256:9d1b0c5d29aa1ddc76770efbf0981216a4b2e6494d3d6b6ed93e79dc4861204c",
"image_id": "sha256:e022d450c2a40a28560113c011de40e3d4b49705e4babc1b9bf5bedebdb90a9f",
"parsed_data": {
"architecture": "amd64",
"created": "2026-01-21 14:11:44.76150952 +0000 UTC",
"image_id": "sha256:e022d450c2a40a28560113c011de40e3d4b49705e4babc1b9bf5bedebdb90a9f",
@cage-is
cage-is / build-status-badge.svg
Created January 21, 2026 14:45
Build status for PR #2639
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2026-01-22T14:45:00Z
@fithisux
fithisux / jsonized.md
Last active January 21, 2026 14:44
Jsonized data
object_id sample_id feature_1 feature_2 xxx
A1 2 1 5 "{""feature_1"":1,""feature_2"":5}"
A1 1 1 5 "{""feature_1"":1,""feature_2"":5}"
A2 3 3 7 "{""feature_1"":3,""feature_2"":7}"
A1 3 2 6 "{""feature_1"":2,""feature_2"":6}"
const functions = require('firebase-functions');
const express = require('express');
const admin = require('firebase-admin');
const cors = require('cors');
const helmet = require('helmet');
const app = express();
// Middleware
app.use(helmet());
@zzf01
zzf01 / ufw-notes
Created January 21, 2026 14:44
ufw firewall um kommentare ergänzen
#!/usr/bin/env bash
set -euo pipefail
COMMENTS_FILE="${COMMENTS_FILE:-/etc/ufw/rule-comments.tsv}"
usage() {
echo "Usage:"
echo " $0 # explain (default)"
echo " $0 explain # show ufw rules with stored comments"
echo " $0 comment # ask for comments for each current ufw rule"
blueprint:
name: Advanced Temperature Fan Control
description: >
Controls a fan (switch) based on temperature with hysteresis,
minimum runtime, manual override, and night mode time window.
domain: automation
input:
temperature_sensor:
name: Temperature Sensor
selector:
@tezkod
tezkod / README.md
Created January 21, 2026 14:43
Download McGraw Hill eBooks

Download McGraw Hill eBooks eTextbooks

Thanks 101arrowz for inspiration

Features

  • Better JSZip loading: handles default/JSZip/global to avoid “not a constructor” errors
  • Parallel downloads: limited concurrency speeds up large books versus strictly serial fetches
  • Retry logic: per-file retries with backoff instead of aborting on the first failure
@fithisux
fithisux / jsonize.sql
Created January 21, 2026 14:43
Jsonize
SELECT
*,
to_json(struct(* except (object_id, sample_id))) as xxx
FROM
VALUES ('A1', 2, 1, 5), ('A1', 1, 1, 5), ('A2', 3, 3, 7), ('A1', 3, 2, 6) tab
(object_id, sample_id, feature_1, feature_2)
@BrianMartell
BrianMartell / puh_photosynthesis_lattice_energy_printer_simulation.py
Created January 21, 2026 14:43
PUH-BrianMartell puh_photosynthesis_lattice_energy_printer_simulation.py-Updated New Py Code
import numpy as np
import matplotlib.pyplot as plt
# PUH v25: Photosynthesis Lattice Energy Printer Sim — Photon Absorption → Braid Excitation → Energy Storage
t = np.linspace(0, 20, 500) # Time arb.
photon_input = np.exp(-(t - 5)**2 / 2) * 10 # Incoming photon ripple pulse
braid_excitation = np.cumsum(photon_input) * 0.1 # Twist tension build
energy_storage = 1 - np.exp(-braid_excitation / 2) # Soliton knot storage glucose toy
plt.figure(figsize=(10,6))