Skip to content

Instantly share code, notes, and snippets.

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 17:41
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, 12:40:51 PM
Loaded mods:
Auto Mod Config(Garethp.ModlistConfigurator)[mv:1.0.0]: ModlistConfigurator(0.0.0)
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)
Fishery - Modding Library (Unofficial Steam Version)(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Visual Exceptions(brrainz.visualexceptions)[mv:1.3.2.0]: CrossPromotion(1.1.2), VisualExceptions(1.3.2)
Core(Ludeon.RimWorld): (no assemblies)
Performance Fish (Unofficial Steam Version)(bs.performance): PerformanceFish(0.6.2)
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 17:41
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 8:40:54 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)
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Better Log - Fix your errors(bs.betterlog): 0PrepatcherAPI(1.2.0), 1Fishery(av:0.6.1,fv:0.5.1.2), BetterLog(1.1.0), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Performance Fish(bs.performance): PerformanceFish(0.6.2)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
@maikel76
maikel76 / -marie.ipynb
Created February 11, 2025 17:40
⚛️*[ Marie] ⚛️.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tatsuyax25
tatsuyax25 / removeOccurrences.js
Created February 11, 2025 17:40
Given two strings s and part, perform the following operation on s until all occurrences of the substring part are removed: Find the leftmost occurrence of the substring part and remove it from s. Return s after removing all occurrences of part. A
/**
* @param {string} s
* @param {string} part
* @return {string}
*/
var removeOccurrences = function(s, part) {
// Loop until there are no more occurrences of 'part' in 's'
while (s.includes(part)) {
// Replace the first occurrence of 'part' with an empty string
s = s.replace(part, "");
@maikel76
maikel76 / -niels.ipynb
Created February 11, 2025 17:40
⬜🌠 Niels 🌠⬜.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jescalan
jescalan / handle-error.ts
Created February 11, 2025 17:40
jeff's error handling thing
import * as Sentry from '@sentry/nextjs';
import posthog from 'posthog-js';
import debug from './debug';
const genericErrorMessage =
'Something went wrong, our developers have been notified and will reach out to you shortly to resolve the issue. So sorry for the inconvenience!';
/**
* Given an error, logs it to the console in dev environment, logs to sentry in
* production, and returns a generic error message for the user. If a "error"
@nuttxpr
nuttxpr / ci-risc-v-03.log
Created February 11, 2025 17:39
[risc-v-03] CI Log for nuttx @ 381d3fe64f4da2b09f12bd8f0cd2d1f07d86b3d3 / nuttx-apps @ fb0c1e10ded2a6fb9f066b9893662cbcc86e4646
Script started on 2025-02-11 23:37:54+07:00 [COMMAND="/home/user/nuttx-release/run-job.sh risc-v-03 " TERM="xterm-256color" TTY="/dev/pts/5" COLUMNS="110" LINES="83"]
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh risc-v-03
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh
+ job=risc-v-03
+ [[ risc-v-03 == '' ]]
+ instance=
+ set
+ grep TMUX
+ true
+ neofetch
@m-hamzak
m-hamzak / Swift-Protocols-Sample-App-Services.swift
Created February 11, 2025 17:38
Service responsible for providing user data
// Protocol for user data fetching
protocol UserServiceProtocol {
func getUsers() -> [User]
}
// Service responsible for providing user data
class UserService: UserServiceProtocol {
func getUsers() -> [User] {
return [User(id: 1, name: "Hamza Khalid One", email: "hamza1@example.com"),
User(id: 2, name: "Hamza Khalid Two", email: "hamza2@example.com")]
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 17:37
Rimworld output log published using HugsLib
Log uploaded on Wednesday, February 12, 2025, 2:37:24 AM
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)
Big and Small - Framework(RedMattis.BetterPrerequisites): BetterPrerequisites(1.0.0), BSXeno(1.0.0), RedHealth(1.0.0)
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)
Better Gene Graphics Framework(telardo.BetterGeneGraphicsFramework): BetterGeneGraphicsFramework(1.0.0)
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[german]{babel}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{graphicx}
\usepackage{geometry}
\usepackage{multicol}
\usepackage{tikz}
\usepackage{pgfplots}