Skip to content

Instantly share code, notes, and snippets.

@goldenratio
goldenratio / .eslintrc.js
Created February 6, 2025 22:28
eslint CHAD rules
module.exports = {
env: {
browser: true,
es6: true,
node: true
},
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module'
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 6, 2025 22:27
winpinator v0.1.2 - 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-1596741959-743918983-2523237570-1000</user>
<keys>
<key installerType="Msi" displayName="Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.42.34433" displayVersion="14.42.34433">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{382F1166-A409-4C5B-9B1E-85ED538B8291}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{382F1166-A409-4C5B-9B1E-85ED538B8291}]]></UninstallString>
-- 1. Посчитать возможную выручку за Видеокарты и ЦПУ (с учётом скидок на эти товары)
USE Product
SELECT *, (price-price*discount/100)*quantity AS [возможная выручка]
FROM Products
WHERE category IN ('GPU', 'CPU')
-- 2. Получить информацию о том, каких товаров вчера и сегодня доставили более 5 штук (getdate, dateadd)
SELECT id, name, category, date_of_delivery, quantity, producer, price
FROM Products
WHERE (date_of_delivery = CAST(GETDATE()-1 AS date) OR date_of_delivery = CAST(GETDATE() AS date)) AND quantity >= 5
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 6, 2025 22:26
Rimworld output log published using HugsLib
Log uploaded on Friday, February 7, 2025, 7:26:08 AM
Loaded mods:
「RimWorldModデータベース」ボタン(bluebird.openlink): OpenLink(0.1.0)
Custom Quest Framework(HaiLuan.CustomQuestFramework): QuestEditor_Library(1.0.0)
Dubs Mint Menus(Dubwise.DubsMintMenus): 0Harmony(2.3.2), DubsMintMenus(av:1.2.8852.28744,fv:1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(av:2.3.2,fv:2.3.3), HarmonyMod(2.3.1)
[Kit] Just A Flesh Wound(kittahkhan.justafleshwound): 0Harmony(av:2.3.2,fv:2.2.2), JustAFleshWound(1.0.0)
Core(Ludeon.RimWorld): (no assemblies)
Rimpedia(yrtwof.Rimpedia): Rimpedia(1.0.0)
ZeroCostImplants(NightKosh.ZeroCostImplants): (no assemblies)
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 6, 2025 22:25
sheepit-client v6.22092.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\sheepit-client\sheepit-client.nupkg" checksum="24E98310CE2591F722B9E6FB2B144817" />
<file path="C:\ProgramData\chocolatey\lib\sheepit-client\sheepit-client.nuspec" checksum="D8DEF3D0D53157C674F539DF5CCD9C11" />
<file path="C:\ProgramData\chocolatey\lib\sheepit-client\icons\sheepit-client.png" checksum="541616207BAC040E15129E03A0182B1A" />
<file path="C:\ProgramData\chocolatey\lib\sheepit-client\legal\LICENSE.txt" checksum="B234EE4D69F5FCE4486A80FDAF4A4263" />
<file path="C:\ProgramData\chocolatey\lib\sheepit-client\legal\VERIFICATION.txt" checksum="A24D9CE1EF0EBCA3D80262BC761D6D38" />
<file path="C:\ProgramData\chocolatey\lib\sheepit-client\tools\chocolateyInstall.ps1" checksum="ACA302468DA76E255866B5662F3E10AA" />
<file path="C:\ProgramData\chocolatey\lib\sheepit-client\
@lotsokluze
lotsokluze / gist:840acc5c1614ff9bc48c18f73bcb34f1
Created February 6, 2025 22:25
The correct config for Authentik & NGINX Proxy Manager 2-6-2025
# Increase buffer size for large headers
proxy_buffers 8 16k;
proxy_buffer_size 32k;
# Make sure not to redirect traffic to a port 4443
port_in_redirect off;
location / {
proxy_pass $forward_scheme://$server:$port;
proxy_set_header Host $host;
Pipeline still running ...
PipelineRun is still running: Tasks Completed: 25 (Failed: 0, Cancelled 0), Incomplete: 2, Skipped: 5
[set-github-started-label : post-comment] + EXTRA_ARGS=
[set-github-started-label : post-comment] + [[ ! -z operator-release-pipeline/started ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --add-labels operator-release-pipeline/started'
[set-github-started-label : post-comment] Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/certified-operators/pull/5154
[set-github-started-label : post-comment] + [[ ! -z pipeline/trigger-release ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-labels pipeline/trigger-release'
[set-github-started-label : post-comment] + [[ true == \t\r\u\e ]]
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-matching-namespace-labels'
@otix56
otix56 / gist:d0652c3215b910018f4f1279dec1741a
Last active February 6, 2025 22:26
Tomodachi Collection Patched
https://drive.google.com/file/d/1ZVpb_VhIcoeihEqfIqnQmXvbFrIZOrpa/view?usp=drivesdk
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 6, 2025 22:23
f1viewer v2.7.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\f1viewer\f1viewer.nupkg" checksum="9FB593358A34670F6E3CA9E7A92851DA" />
<file path="C:\ProgramData\chocolatey\lib\f1viewer\f1viewer.nuspec" checksum="F439592618A06139B4A0EBE33C15869C" />
<file path="C:\ProgramData\chocolatey\lib\f1viewer\f1viewer_2.7.0_windows_amd64.zip.txt" checksum="2B961CA6441D5B38448E4715834B0DE1" />
<file path="C:\ProgramData\chocolatey\lib\f1viewer\tools\chocolateyinstall.ps1" checksum="7F9270336EF5390C0F0539CF584D6C6F" />
<file path="C:\ProgramData\chocolatey\lib\f1viewer\tools\f1viewer.exe" checksum="8AC21F91E6D0A29792C7DBFA6B845EAA" />
<file path="C:\ProgramData\chocolatey\lib\f1viewer\tools\LICENSE" checksum="1EBBD3E34237AF26DA5DC08A4E440464" />
<file path="C:\ProgramData\chocolatey\lib\f1viewer\tools\README.md" checksum="3F258FCEA1C4FBCBFADC409
import pandas as pd
import tkinter as tk
from tkinter import filedialog, messagebox, ttk
import json
import time
import threading
class DataFluentDataLoader:
def __init__(self, root):