Skip to content

Instantly share code, notes, and snippets.

@bruno-fs
bruno-fs / expand_hostname_range_example.py
Created February 11, 2025 20:01
Example usage of ansible's expand_hostname_range
# /// script
# requires-python = ">=3.12"
# dependencies = ["ansible-core"]
# ///
from ansible.plugins.inventory import expand_hostname_range
def main() -> None:
# expand a range
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 20:00
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 11:00:34 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)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.4]: 0Harmony(av:2.3.3,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.4)
import SwiftUI
struct Node: Identifiable {
let id = UUID()
var name: String
var children: [Node] = []
}
#Preview {
TreeView()
}
#include <iostream>
using namespace std;
class persona {
private:
double peso;
double altura;
public:
persona(double p, double a) : peso(p), altura(a) {}
@arturacruz
arturacruz / log.txt
Created February 11, 2025 19:59
nixos full stack trace hyprland
error:
… while calling anonymous lambda
at /nix/store/k8nkf470zpidpa5nh76lh2x6rxfzpwa4-source/lib/attrsets.nix:1570:24:
1569| let f = attrPath:
1570| zipAttrsWith (n: values:
| ^
1571| let here = attrPath ++ [n]; in
… while calling the 'head' builtin
at /nix/store/k8nkf470zpidpa5nh76lh2x6rxfzpwa4-source/lib/attrsets.nix:1574:11:
@Drglazizzo
Drglazizzo / tasks.dart
Created February 11, 2025 19:58
Class 2
void main() {
// Task 1: Calculate Total and Average Marks
print("=== Task 1: Marks Calculator ===");
List<double> marks = [60, 45, 68, 99, 27]; // Predefined marks by me
if (marks.isEmpty) {
print("Error: The marks list is empty.");
return;
}
@Piwi-JC
Piwi-JC / bc2500-ble-idf.yaml
Created February 11, 2025 19:58 — forked from noone2k/bc2500-ble-idf.yaml
bc2500 info/control with esphome
bin dann auch erstmal wech ...
gibt hier wieder einen, der ein ungutes gefühl verbreitet und das muss ich mir nicht antun.
wenn ich auf hassprediger stehen würde, würde ich bsw, afd oder den IS wählen 😁
abgesehen davon, ist das hier sogut wie abgeschlossen und ich bin nicht hierauf angewiesen 😁
vllt später nochmal öffnen, falls ich doch mal wieder nen antreib/grund finde ... 😁
abschließend verweise ich noch auf folgendes:
@lvanasse
lvanasse / ci-other.log
Created February 11, 2025 19:58
[other] CI Log for nuttx @ 381d3fe64f4da2b09f12bd8f0cd2d1f07d86b3d3 / nuttx-apps @ fb0c1e10ded2a6fb9f066b9893662cbcc86e4646
Script started on 2025-02-11 19:46:01+00:00 [COMMAND="/home/ludovic/nuttx-release/run-job.sh other" <not executed on terminal>]
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh
+ job=other
+ neofetch
.-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssssdMMMNysssso.
/ssssssssssshdmmNNmmyNMMMMhssssss/
@HPCCSmoketest
HPCCSmoketest / README.md
Created February 11, 2025 19:58
PR-19507

PR-19507 (Sha: 931d2109)

OS: Linux ip-10-22-254-176.ec2.internal (Linux 4.18.0-513.24.1.el8_9.x86_64) Host: ip-10-22-254-176.ec2.internal GCC: gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7) - Git: 2.39.3CMake: 3.27.1curl: 7.61.1node.js: v22.14.0npm: 10.9.2

Errors:

  • test
  • thor
@hpoit
hpoit / Krapivin_Hash_Table_Verification.py
Created February 11, 2025 19:58
Krapivin Hash Table Verification
# Ensure required packages are installed
!pip install numpy matplotlib pandas jupyter
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
# Simulation Parameters
n_trials = 2000 # Number of search operations per load factor
table_size = 10000 # Hash table capacity