Skip to content

Instantly share code, notes, and snippets.

<?php
if (count($argv) !== 4) {
exit("usage: json_bench.php input-string repeats flags\n");
}
$input_string = $argv[1];
$repeats = (int) $argv[2];
$flags = (int) $argv[3];
@caiosalgado
caiosalgado / uv-llms-full.txt
Created February 8, 2025 00:00
UV Documentation – A Comprehensive Guide for UV, the Fast Python Package Installer and Virtual Environment Manager This file, uv-llms-full.txt, contains detailed documentation and usage examples for UV. UV is a Rust-powered tool designed as a faster alternative to pip/virtualenv. It features rapid dependency resolution, integrated virtual enviro…
# UV Documentation
> A fast Python package installer and resolver, written in Rust
UV is a Python package installer and virtual environment manager designed to be a faster alternative to pip/virtualenv. It provides similar functionality to pip but with better performance and additional features.
Key features:
- Faster package installation and dependency resolution
- Integrated virtual environment management
- Pip-compatible interface
Brossage de dents
Outils : brosse à dents, colgate, eau, recipient ;
Debut : Algo_brossage_2_dents;
1-mettre du dentefresh sur le brosse a dents;
2-metre de l' eau dans le recipient ;
3-utiliser le brosse a dents pour brosser les dents de haute en bas ;
4-utiliser le recipien d' eau pour laver la bouche apres brossage ;
@DolphinOfficial
DolphinOfficial / PostShutdownFullLog.txt
Created February 7, 2025 23:56
Text file created by Roblox
-- AH POST-SERVER LOGS --
-- ServerID: 3339e5c4-9e73-435d-a90e-63a1202af7e6
-- Server started: February 07, 2025 10:53 PM UTC | Server uptime: 3075 seconds
------------------ LOADB LOGS ------------------
{
}
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 7, 2025 23:56
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Friday, February 7, 2025, 6:56:04 PM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
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)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
@DolphinOfficial
DolphinOfficial / PostShutdownFullLog.txt
Created February 7, 2025 23:56
Text file created by Roblox
-- AH POST-SERVER LOGS --
-- ServerID: fef1a3ce-0898-4e41-825b-cddd50ccecb5
-- Server started: February 07, 2025 11:43 PM UTC | Server uptime: 776 seconds
------------------ LOADB LOGS ------------------
{
}
@healthhealth
healthhealth / index.html
Created February 7, 2025 23:55
Personal Portfolio Landing Page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Personal Portfolio Website</title>
<link rel="stylesheet" href="style.css">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
</head>
<body>
import gradio as gr
import pyaudio
import wave
import threading
import time
from datetime import datetime
from pathlib import Path
import numpy as np
import logging
from openai import OpenAI
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 7, 2025 23:54
Bat v0.25.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\Bat\bat-v0.25.0-x86_64-pc-windows-msvc.zip.txt" checksum="C6941B19BA1CF9B493E0E5481E7A9B76" />
<file path="C:\ProgramData\chocolatey\lib\Bat\bat.nupkg" checksum="CDDAE311F95C2C2E1D48721B14FFC194" />
<file path="C:\ProgramData\chocolatey\lib\Bat\bat.nuspec" checksum="C5E58143163F9A0360364D4064BDFC64" />
<file path="C:\ProgramData\chocolatey\lib\Bat\tools\chocolateyinstall.ps1" checksum="EB940E66A6C1AA0A373907062AC7EF11" />
<file path="C:\ProgramData\chocolatey\lib\Bat\tools\bat-v0.25.0-x86_64-pc-windows-msvc\bat.1" checksum="637E82F985126FB91AC79A56DFF984A7" />
<file path="C:\ProgramData\chocolatey\lib\Bat\tools\bat-v0.25.0-x86_64-pc-windows-msvc\bat.exe" checksum="54993D0A3329E0557BEE33D95CF36085" />
<file path="C:\ProgramData\chocolatey\lib\Bat\tools\bat-v0.25.0-x86_64-p
import Mathlib.Data.Rat.Defs
-- exemplo de probabilidade para emily 🍉
-- por simplicidade, vamos definir um espaço de probabilidade como uma
-- função μ : (α → Float) → Float, que pega uma função f : α → Float e
-- retorna a sua integral ∫ f dμ.
def ℙ (α : Type) := (α → ℚ) → ℚ
-- daí, a gente pode até definir a integral de forma bonitinha