Skip to content

Instantly share code, notes, and snippets.

Mini-Projets en HTML, CSS et JavaScript

📌 1. To-Do List Interactive (Tableaux & DOM)

Objectif : Créer une liste de tâches avec possibilité d'ajouter et de supprimer des éléments.

🔸 Notions abordées

  • Tableaux (stockage des tâches)
  • Événements (click, keyup)
  • Manipulation du DOM (createElement, appendChild, removeChild)
@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,
@c0sette
c0sette / pe_main.cpp
Created February 11, 2025 17:20
Read PEB format with format of WinDBG
#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)
# /// script
# dependencies = [
# "marvin",
# ]
# ///
import os
import sys
import argparse
from pydantic import BaseModel, Field
[
{
"jmhVersion" : "1.37",
"benchmark" : "benchmarks.DestinationsBench.chess960",
"mode" : "thrpt",
"threads" : 1,
"forks" : 3,
"jvm" : "/opt/java/openjdk/bin/java",
"jvmArgs" : [
],
[
{
"jmhVersion" : "1.37",
"benchmark" : "benchmarks.DestinationsBench.chess960",
"mode" : "thrpt",
"threads" : 1,
"forks" : 3,
"jvm" : "/opt/java/openjdk/bin/java",
"jvmArgs" : [
],
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 17:17
Rimworld output log published using HugsLib
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
@linux-riscv-bot
linux-riscv-bot / checkpatch-WARNING
Created February 11, 2025 17:17
pw932795-p13970207
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.
@NewIntakes
NewIntakes / School of Post Basic Critical Care Nursing, University of Abuja Teaching Hospital, Abuja 2025-2026 Admission form is still ongoing. Call (+2347049730321) (DR MRS Veronica) for More Information on how to apply and Admission Assistance. Also Forms into
Created February 11, 2025 17:17
School of Post Basic Critical Care Nursing, University of Abuja Teaching Hospital, Abuja 2025-2026 Admission form is still ongoing. Call (+2347049730321) (DR MRS Veronica) for More Information on how to apply and Admission Assistance. Also Forms into other programmes are now available. Contact the school Admin — 07049730321 for more inquiries. T…
School of Post Basic Critical Care Nursing, University of Abuja Teaching Hospital, Abuja 2025-2026 Admission form is still ongoing. Call (+2347049730321) (DR MRS Veronica) for More Information on how to apply and Admission Assistance. Also Forms into other programmes are now available. Contact the school Admin — 07049730321 for more inquiries. The School Authority requires all candidates applying for admission into any of its courses to possess Five (5) O’ Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
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