Skip to content

Instantly share code, notes, and snippets.

@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created April 16, 2025 18:29
sandboxie-plus.install v1.15.11 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1096875390-2644834165-1530968899-1000</user>
<keys>
<key installerType="InnoSetup" displayName="Sandboxie-Plus v1.15.11" displayVersion="1.15.11">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Sandboxie-Plus_is1</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\Sandboxie-Plus\]]></InstallLocation>
<UninstallString><![CDATA["C:\Program Files\Sandboxie-Plus\unins000.exe" /SILENT]]></UninstallString>
@charset "UTF-8";
/***** Normalize.css *****/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
-webkit-text-size-adjust: 100%;
/***** DBEX Smoothing Out the Scroll *****/
scroll-behavior: smooth;
}
@choco-bot
choco-bot / Install.txt
Created April 16, 2025 18:29
fraps v3.5.99.20150108 - Failed - Package Tests Results
2025-04-16 17:44:55,274 5896 [DEBUG] - XmlConfiguration is now operational
2025-04-16 17:45:13,651 5896 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-04-16 17:45:13,927 5896 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-04-16 17:45:14,066 5896 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-04-16 17:45:14,199 5896 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-04-16 17:45:14,347 5896 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-04-16 17:45:14,587 5896 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-04-16 17:45:14,800 5896 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-04-16 17:45:14,994 5896 [DEBUG] - Adding new typ

25+ LPA Hiring in April 2025 | Google, Amazon, DE Shaw & More | 2026–2020 Batches

Summary:

In-Depth Video Analysis

Executive Summary

This comprehensive analysis examines 8 critical topics from this long-form video content:

  • Decoding Google's University Graduate Opportunities: A Comprehensive Guide for 2025 & 2026
import fs from "fs";
import path from "path";
import { createWriteStream } from "fs";
import { resolve, dirname } from "path";
import { fileURLToPath } from "url";
import PDFDocument from "pdfkit-table";
import axios from "axios";
import moment from "moment/moment.js";
export function createSkillAcquisitionBox(doc, skillData, options) {
@ehn77
ehn77 / morton_combined.js
Last active April 16, 2025 18:39
Top-Down Morton code BVH Tree construction + existing hit collision detection methods
// --- Helper Functions for Morton Code Generation ---
/**
* JavaScript implementation of count leading zeros (polyfills Math.clz32)
* @param {number} x - 32-bit unsigned integer
* @returns {number} Number of leading zeros
*/
function countLeadingZeros(x) {
// Use built-in if available
if (Math.clz32) return Math.clz32(x);
# ----------------------
# Git Aliases
# ----------------------
alias gaa='git add .'
alias gco='git checkout'
# alias gcm='git commit'
# python aliases
alias mvenv='python3 -m venv .venv'
alias avenv='source .venv/bin/activate'
---- Minecraft Crash Report ----
// My bad.
Time: 4/16/25 10:23 PM
Description: Rendering overlay
java.lang.IllegalStateException: Ingredient Filter has not been created yet.
at com.google.common.base.Preconditions.checkState(Preconditions.java:444) ~[guava-21.0.jar:?] {}
at mezz.jei.Internal.getIngredientFilter(Internal.java:94) ~[jei:7.8.0.1012] {re:classloading}
at mezz.jei.startup.JeiReloadListener.onResourceManagerReload(JeiReloadListener.java:31) ~[jei:7.8.0.1012] {re:classloading}
@zaffys
zaffys / k8s-pod-oom-prevent-02.md
Last active April 16, 2025 18:29
Prevent Pods from getting OOM

Architecture Design Decision: Proactive Memory-Based Graceful Shutdown for Kafka Streams Pods in OpenShift

Problem Statement

Pods running in an OpenShift Kubernetes environment process complex events using Kafka Streams and KTables, with state stores backed by RocksDB. Over time, these state stores consume increasing memory until the container exceeds its memory limit, crashes, and causes data loss. To mitigate this, we need a mechanism to detect impending memory exhaustion, trigger a graceful shutdown, and allow the pod to restart without data loss.

Key Requirements

  1. Proactive Memory Monitoring: Detect when memory usage approaches the container's limit.
  2. Graceful Shutdown: Safely terminate Kafka Streams operations to commit state and offsets.
  3. State Recovery: Ensure the pod resumes processing from the last committed state after restart.
  4. Automation: Minimize manual intervention and integrate with OpenShift/Kubernetes lifecycle management.
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created April 16, 2025 18:26
sandboxie.install v5.70.11 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1096875390-2644834165-1530968899-1000</user>
<keys>
<key installerType="Custom" displayName="Sandboxie 5.70.11 (64-bit)" displayVersion="5.70.11">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Sandboxie</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA["C:\Windows\Installer\SandboxieInstall64.exe" /remove /S]]></UninstallString>