Skip to content

Instantly share code, notes, and snippets.

Class-level Comment:

/**
 * The `OperationHotlist` class processes hotlist-related operations for EDL (External Data Layer) response handling.
 * It includes functionality for processing hotlist operations, validating responses, and handling hotlist matches.
 * This service is integrated into the system to fetch and process hotlist data for the applicant and evaluate risk factors.
 *
 * Key features of this class:
 * - **Hotlist Processing**: Processes hotlist data when the "bustout" flag is enabled in the system configuration.
@ColonelBuendia
ColonelBuendia / user.js
Created February 11, 2025 22:26
Ferdium userscript to conver markdown to nicelyt formatted html on keypress specifically for fastmail
module.exports = (config, Ferdium) => {
// Write your scripts here
// ░█▀█░█░█░█▀▀░█▀▄░█░░░█▀█░█░█
// ░█░█░▀▄▀░█▀▀░█▀▄░█░░░█▀█░░█░
// ░▀▀▀░░▀░░▀▀▀░▀░▀░▀▀▀░▀░▀░░▀░
function createOverlay() {
const overlay = document.createElement('div');
overlay.innerHTML = `
[Fact]
public void Reset_ShouldRaiseCalculatorResetEvent_WhenInvoked()
{
// Arrange
using var monitoredCalculator = _calculator.Monitor();
// Act
_calculator.Reset();
// Assert
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 22:25
Rimworld output log published using HugsLib
Log uploaded on Wednesday, February 12, 2025, 6:25:13 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)
[1.5][KV] Save Storage, Outfit, Crafting, Drug, & Operation Settings (savestoragesettings.kv.rw.fishtmp)[ov:1.3.1.1]: SaveStorageSettings(1.0.0)
[CAT] Show Hair With Hats or Hide All Hats(cat2002.showhair): ShowHair(1.0.0)
[CAT] Show Hair With Hats or Hide All Hats_zh(cat2002.showhair.zh.hc): (no assemblies)
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created February 11, 2025 22:24
pw932597-p13969364
WARNING: Argument 'task' is not used in function-like macro
#78: FILE: arch/riscv/include/asm/usercfi.h:67:
+#define is_indir_lp_enabled(task) false
WARNING: Argument 'task' is not used in function-like macro
#80: FILE: arch/riscv/include/asm/usercfi.h:69:
+#define is_indir_lp_locked(task) false
WARNING: Argument 'task' is not used in function-like macro
#82: FILE: arch/riscv/include/asm/usercfi.h:71:
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 22:23
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 11:23:47 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)
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)
Combat Extended(CETeam.CombatExtended): CombatExtended(0.0.0)
Ambition of the Cosmic [Continued](Para0234.SNSAmbitionCosmic): Armorshield(1.0.0), InfiniteResearch(1.0.0)
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 22:23
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 11:23:34 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)[v:2.3.1.0][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)
Performance Fish(bs.performance): PerformanceFish(0.6.2)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
convert from build123 to fusion 360 api python script.
- All 2D and 3D objects in build123d have an align property that defaults to (Align.CENTER, Align.CENTER, Align.CENTER)
An alignment of Align.MIN in the X direction means that the 2d or 3d shape's leftmost boundary should be at the origin
- the following fusion 360 api functions are deprecated setAllExtent, setDistanceExtent, setOneSideToExtent, setTwoSidesDistanceExtent, setTwoSidesToExtent
- use a helper function to convert from build123 native units to fusion 360 native units
- do not create new component use the default one
- copy parameters, radius and diameters, and computed parameters verbatim into the top of the fusion 360 script(directly after the imports).
- In final messagebox, instead of printing dimensions,
in build123d you will find the volume of the part as a comment on the last line. do not calculate build123d volume.
@wilyJ80
wilyJ80 / init.lua
Created February 11, 2025 22:22
server neovim config
vim.o.tabstop = 4
vim.o.softtabstop = 4
vim.o.shiftwidth = 4
vim.opt.number = true
-- [[ Install `lazy.nvim` plugin manager ]]
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
if not (vim.uv or vim.loop).fs_stat(lazypath) then