Skip to content

Instantly share code, notes, and snippets.

@Jipok
Jipok / j-click.js
Created August 2, 2025 08:26
j-click.js
document.addEventListener('alpine:init', () => {
let isGlobalListenerAttached = false;
const globalJClickHandler = (event) => {
let target = event.target;
const clickedElement = target.closest('[j-click]');
if (!clickedElement) {
return;
}
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created August 2, 2025 08:26
Rimworld output log published using HugsLib
Log uploaded on Saturday, August 2, 2025, 4:26:25 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.6), HarmonyMod(2.3.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:12.0.0]: 0Harmony(av:2.3.6,fv:1.2.0.1), HugsLib(av:1.0.0,fv:12.0.0)
EdB Prepare Carefully(EdB.PrepareCarefully)[mv:1.6.1]: EdBPrepareCarefully(av:1.1.1,fv:1.6.1)
EdB Prepare Carefully - 精心准备 - 简&繁中文汉化(CNCG779.PrepareCarefully.cn)[mv:1.6.1]: (no assemblies)
@schromp
schromp / acme.nix
Created August 2, 2025 08:25
acme clan service
{
_class = "clan.service";
manifest.name = "acme";
roles.default = {
interface = {lib, ...}: {
options = {
domains = lib.mkOption {
type = lib.types.listOf lib.types.str;
description = "List of domains to obtain certificates for";
};
cmake_minimum_required(VERSION 3.16)
project(SpicyGamesEngine VERSION 1.0.0)
# Configuration C++
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
# Configuration pour différents compilateurs
if(MSVC)
@griffeth-barker
griffeth-barker / New-ShortenedUri.ps1
Created August 2, 2025 08:24
Generate a shortened Uri using TinyURL
function New-ShortenedUri {
<#
.SYNOPSIS
Genereates a shortened Uri.
.DESCRIPTION
Genereates a shorted Uri based on the provided Uri using the TinyUrl service.
.PARAMETER Uri
A mandatory Uri to be shortened.
.PARAMETER CopyToClipboard
An optional switch that copies the shortened Uri to the clipboard if specified.
#
# /etc/fstab
# Created by anaconda on Fri Sep 27 04:39:12 2024
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
@Vocaned
Vocaned / no_originaldate.ptsp
Created August 2, 2025 08:23
Picard tagger scripts
$set(date,%originaldate%)
$delete(originaldate)
public function index()
{
$produk = Produk::all();
return view('produk.index', compact('produk'));
}
public function store(Request $request)
{
$request->validate([
'nama' => 'required',
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@lvanasse
lvanasse / ci-risc-v-01.log
Created August 2, 2025 08:21
[risc-v-01] CI Log for nuttx @ 163bf0a906e23fe4e564a38258d41b1663ed2675 / nuttx-apps @ 7506c026fa9ba3ab77403bd2b6a9969fe6b6bc2a
fpu.c:57:8: warning: #warning "FPU test not built; Only available in the flat build (CONFIG_BUILD_FLAT)" [-Wcpp]
Script started on 2025-08-02 08:08:48+00:00 [COMMAND="/home/ludovic/nuttx-release/run-job.sh risc-v-01" <not executed on terminal>]
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh
+ job=risc-v-01
+ neofetch
.-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssssdMMMNysssso.