Skip to content

Instantly share code, notes, and snippets.

@openpanzer
openpanzer / openpanzer-save.json
Last active February 11, 2025 22:40
Madrid Offensive-6
{"scenario":{"name":"Madrid Offensive","maxTurns":30,"date":"1938-12-23T05:00:00.000Z","atmosferic":0,"latitude":1,"ground":0,"turnsPerDay":4,"dayTurn":2,"reinforcements":{"5":[{"row":17,"col":4,"unit":{"eqid":290,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"hasOverstrength":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":10,"facing":0,"flag":26,"destroyed":false,"transport":null,"carrier":0,"moveLeft":3,"ammo":5,"fuel":0,"hasAnimation":false,"hits":0,"experience":0,"entrenchment":0,"entrenchTicks":0,"leader":-1},"turn":"5","id":3}],"7":[{"row":17,"col":4,"unit":{"eqid":288,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"hasOverstrength":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":10,"facing":0,"flag":26,"destroyed":false,"transport":null,"carrier":0,"moveLeft":3,"ammo":5,"fuel":0,"hasAnimation":false,"hits":0,"experience":200,"e
@abudayah
abudayah / Babun.terminal
Last active February 11, 2025 22:19
My Mac terminal theme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BackgroundBlur</key>
<real>0.0</real>
<key>BackgroundColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGmCwwXHR4lVSRudWxs1Q0ODxAR
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 22:16
Rimworld output log published using HugsLib
Log uploaded on Wednesday, February 12, 2025, 1:16:07 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)
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 Pawn Control(VouLT.BetterPawnControl)[ov:2.7.6]: BetterPawnControl(2.7.4)
Achtung!(brrainz.achtung)[mv:3.9.5.0]: Achtung(3.9.5), CrossPromotion(1.1.2), ModFeatures(1.2.6)
@dev21138
dev21138 / System Design.md
Created February 11, 2025 22:15 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
curl --location 'https://collection.consumer-internal.gopuff.com/graphql' \
--header 'X-GP-Point-Of-Sale: US' \
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data '{"query":"{\n collections(keys:[\"txvxyrdV\"], locationIds:\"335,1629\", pageContextType:COLLECTION_PAGE, pageContextCollectionId:\"txe0Kwob\") {\n id\n totalProductCount\n inStockProductCount\n products(filter:{pageSize:30}) {\n totalCount\n nextPageToken\n items {\n id\n adIndex\n adTrackingId\n }\n userFilters {\n displayType\n key\n label\n multiSelect\n sections {\n choices {\n icon\n key\n label\n state\n }\n key\n label\n }\n
@ajhodges
ajhodges / validator.go
Created February 11, 2025 22:13
ERC-6492 Validator
package main
import (
"bytes"
"context"
"errors"
"fmt"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
Models GPT-4o mini SmolLM2-360M-Instruct SmolLM2-135M-Instruct
Accuracy 100.00 % 40.00 % 98.67 %
Precision 100.00 % 35.71 % 100.00 %
Recall 100.00 % 100.00 % 96.00 %
ROUGE Precision 54.73 % 46.96 % 65.48 %
ROUGE Recall 50.55 % 41.42 % 75.90 %
@will-hill
will-hill / polars_cudf.ipynb
Created February 11, 2025 22:12
Polars_cuDF.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AleksandarHaralanov
AleksandarHaralanov / DiscordWebhook.java
Created February 11, 2025 22:12 — forked from k3kdude/DiscordWebhook.java
Java DiscordWebhook class to easily execute Discord Webhooks
import javax.net.ssl.HttpsURLConnection;
import java.awt.Color;
import java.io.IOException;
import java.io.OutputStream;
import java.lang.reflect.Array;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@BlowerPot
BlowerPot / readme.txt
Created February 11, 2025 22:12
Demolite (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html