Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@router.post("/run") | |
async def run_script(request: Request, cmd_req: CommandRequest): | |
"""Queue, acquire semaphore slot and execute standalone script.""" | |
gpu_mgmt = request.app.state.gpu_management | |
try: | |
gpu_mgmt.queue.put_nowait(cmd_req.command) | |
except asyncio.QueueFull: | |
raise HTTPException( | |
status_code=status.HTTP_429_TOO_MANY_REQUESTS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <winnt.h> | |
#include <winternl.h> | |
#include <intrin.h> | |
#include <iostream> | |
#include <bitset> | |
#ifdef _WIN64 | |
PPEB peb = (PPEB)__readgsqword(0x60); | |
#else | |
PPEB peb = (PPEB)__readfsdword(0x30) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /// script | |
# dependencies = [ | |
# "marvin", | |
# ] | |
# /// | |
import os | |
import sys | |
import argparse | |
from pydantic import BaseModel, Field |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.37", | |
"benchmark" : "benchmarks.DestinationsBench.chess960", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 3, | |
"jvm" : "/opt/java/openjdk/bin/java", | |
"jvmArgs" : [ | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.37", | |
"benchmark" : "benchmarks.DestinationsBench.chess960", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 3, | |
"jvm" : "/opt/java/openjdk/bin/java", | |
"jvmArgs" : [ | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Log uploaded on Tuesday, February 11, 2025, 12:17:40 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) | |
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies) | |
EdB Prepare Carefully(EdB.PrepareCarefully)[mv:1.5.12]: EdBPrepareCarefully(av:1.1.1,fv:1.5.12) | |
Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): 0ModSettingsFramework(1.0.0), 0MultiplayerAPI(av:0.3.0,fv:0.3.0), 0PrepatcherAPI(1.1.1), ExplosiveTrailsEffect(1.0.7140.31563), GraphicCustomization(1.0.0), HeavyWeapons(1.0.0), KCSG(av:1.1.2,fv:24.3.27), MVCF(2.0.0.1), NoCamShakeExplosions(1.0.0), OPToxic(1.0.0), Outposts(av:3.0.0,fv:1.0.0), PipeSystem(av:1.0.1,fv:22.7.29), RecipeInheritance(1.0.1), RRO(1.0.0), SmokingGun(1.0.0), VanillaStorytellersExpanded(1.0.0), VanillaWeaponsExpandedLaser(0.0.0), VFECore(av:1.1.7,f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? | |
#59: | |
new file mode 100644 | |
total: 0 errors, 1 warnings, 0 checks, 134 lines checked | |
NOTE: For some of the reported defects, checkpatch may be able to | |
mechanically convert to the typical style using --fix or --fix-inplace. | |
Commit 7048e66826c2 ("riscv: Optimize crct10dif with zbc extension") has style problems, please review. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Redirect to /build/tmp.RGY7RJxGpI and /build/tmp.ye8yvod6Zt | |
Tree base: | |
6b46e067bcd0 ("Adding CI files") | |
Building the whole tree with the patch | |
error: | |
real 12m23.623s | |
user 468m22.989s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ksh | |
# Help message | |
usage() { | |
echo "Usage: $0 [-s screen] [-l] [-h]" | |
echo " -s screen Select screen number (0, 1, 2, etc.)" | |
echo " -l List available screens" | |
echo " -h Show this help message" | |
exit 1 | |
} |