Skip to content

Instantly share code, notes, and snippets.

@vitoksmile
vitoksmile / ComposeHints1.kt
Created February 11, 2025 17:57
ComposeHints
@Composable
fun AppContent() {
HintOverlay {
MaterialTheme {
Scaffold {
// My app content
}
}
}
}
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 17:57
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Tuesday, February 11, 2025, 8:56:51 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
[FSF] Filth Vanishes With Rain And Time(FrozenSnowFox.FilthVanishesWithRainAndTime): (no assemblies)
LWM's Deep Storage(LWM.DeepStorage)[mv:1.5.0.4]: IHoldMultipleThings(av:0.1.0,fv:1.0.0), LWM.DeepStorage(1.0.0.23349)
@rhmdnd
rhmdnd / README.md
Last active February 11, 2025 18:02
Experimenting with Syft

Experimenting with Syft

Using Syft to generate SBOMs.

syft ghcr.io/complianceascode/compliance-operator:latest -o syft-text --file compliance-operator-sbom.txt
import time
from typing import Optional, List, Tuple, Callable, Any
from contextlib import contextmanager
import os
import functools
import torch
import torch_xla
import torch_xla.distributed.spmd as xs
import torch_xla.core.xla_model as xm
@hanxiao
hanxiao / project_config.json
Created February 11, 2025 17:56
Projector Meta Files
{"embeddings":[{"tensorName":"jina-clip-v2","tensorShape":[1,1024],"tensorPath":"https://gist.githubusercontent.com/hanxiao/4d17ce4770f6f02f9cb9fe6fbba9135c/raw/99475160d0b8580ac41af5d8b3e02a85561584e4/tensor.tsv","metadataPath":"https://gist.githubusercontent.com/hanxiao/4d17ce4770f6f02f9cb9fe6fbba9135c/raw/802992c4220de19a90767f3000a79a31b98d0df7/metadata.tsv"}]}
@hanxiao
hanxiao / metadata.tsv
Created February 11, 2025 17:56
Projector Data Files
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
Hello world
Redirect to /build/tmp.yAFiQOJ6nE and /build/tmp.G8INqESh7h
Tree base:
72d159f738d8 ("RISC-V: KVM: add SBI extension reset callback")
Building the whole tree with the patch
Building the tree before the patch
Building the tree with the patch
New errors added:
--- /build/tmp.e8mBHLexTT 2025-02-11 17:56:35.194835810 +0000
+++ /build/tmp.oWYKqMCCYV 2025-02-11 17:56:35.197835795 +0000
@@ -85 +85 @@
\documentclass[12pt,a4paper]{exam}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[german]{babel}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{graphicx}
\usepackage{geometry}
\usepackage{multicol}
\usepackage{tikz}
\usepackage{pgfplots}
https://github.com/1pt-co/api
https://github.com/1pt-co/1pt
https://github.com/1pt-co/info.1pt.co

Steady (after 100 iterations)

Benchmark Name Min Geomean Median Mean Max Total (ms) Total (min)
Bounce 523 539 527.11 524 527.08 105421 1.76
CD 530 548 536.34 532 536.3 107267 1.79
DeltaBlue 269 392 345.26 346 344.9 69052 1.15
Havlak 1130 1194 1158.87 1159 1158.82 231774 3.86
Json 311 327 315.29 313 315.25 63058 1.05
List 318 352 320.5 319 320.46 64100 1.07
Mandelbrot 129 158 130.72 130 130.67 26143 0.44