If… | Then… |
---|---|
Variable is mutable and used inside the effect | ➜ Add it as a key. |
Variable changes often but shouldn’t restart the effect | ➜ Wrap with rememberUpdatedState and omit from keys. |
Variable comes from remember { … } without keys |
➜ It’s stable → no need to pass as key. |
You pass a constant key (Unit , true ) |
➜ Effect runs once per call-site → double-check this is intended. |
Discover gists
This file contains hidden or 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 Saturday, June 14, 2025, 9:17:47 PM | |
Loaded mods: | |
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0) | |
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1) | |
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210) | |
Core(Ludeon.RimWorld): (no assemblies) | |
Performance Fish(bs.performance): PerformanceFish(0.6.2) | |
Royalty(Ludeon.RimWorld.Royalty): (no assemblies) | |
Ideology(Ludeon.RimWorld.Ideology): (no assemblies) | |
Biotech(Ludeon.RimWorld.Biotech): (no assemblies) |
This file contains hidden or 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/bash | |
# ---------------------------------------------- | |
# For study only ! A usage éducatif uniquement ! | |
# ---------------------------------------------- | |
# UserManagementScript | |
# Fonction : Gestion des utilisateurs avec menu | |
# Auteur : Michael Mordefroy | |
# Date : 2025-06-14 | |
# Version : 1.0 | |
# ---------------------------------------------- |
This file contains hidden or 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
2025-06-14 13:16:23,012 5320 [DEBUG] - XmlConfiguration is now operational | |
2025-06-14 13:16:23,185 5320 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-06-14 13:16:23,199 5320 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-06-14 13:16:23,199 5320 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-06-14 13:16:23,216 5320 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco' | |
2025-06-14 13:16:23,216 5320 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-06-14 13:16:23,216 5320 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco' | |
2025-06-14 13:16:23,231 5320 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-06-14 13:16:23,231 5320 [DEBUG] - Adding new typ |
This file contains hidden or 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
javascript:Xrm.Page.ui.controls.forEach( c=> c.setDisabled(false)) | |
javascript:Xrm.Page.ui.controls.forEach( c=> c.setVisible(true)) | |
javascript:Xrm.Page.ui.controls.forEach( c=> c.setLabel(c.getName())) |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
2025-06-14 13:11:52,271 5312 [DEBUG] - XmlConfiguration is now operational | |
2025-06-14 13:11:52,413 5312 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-06-14 13:11:52,429 5312 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-06-14 13:11:52,429 5312 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-06-14 13:11:52,443 5312 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco' | |
2025-06-14 13:11:52,443 5312 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-06-14 13:11:52,459 5312 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco' | |
2025-06-14 13:11:52,475 5312 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco' |
This file contains hidden or 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
{ | |
"name": "X content creator", | |
"nodes": [ | |
{ | |
"parameters": {}, | |
"id": "0a9e4e4a-7b5b-4f7e-9d6a-1c2b3a4b5c6d", | |
"name": "When chat message received", | |
"type": "n8n-nodes-base.trigger", | |
"typeVersion": 1, | |
"position": [ |
This file contains hidden or 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 Saturday, June 14, 2025, 9:14:16 PM | |
Loaded mods: | |
Core(Ludeon.RimWorld): (no assemblies) | |
[L] House Maid Nukos 1.5(HouseMaidNukos1.5bysaltbabe): MaidNukos(1.0.0) | |
======开局-人物编辑======(humblecoder.beginning.pawneditor): (no assemblies) | |
Allow Tool(UnlimitedHugs.AllowTool): (no assemblies) | |
Allow Tool Fixed Patch(seekiworksmod.no16)[mv:1.1.0.1]: No.016 Allow Tool Fixed Patch(1.1.0.1) | |
AutoFoldingTable 自动折叠桌(Ereko.FoldingTable): FoldingTable(1.0.0) | |
Blueprints - Forked(Fluffy.Blueprints.fork): (no assemblies) | |
Designator Shapes(Merthsoft.DesignatorShapes): (no assemblies) |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
using UdonSharp; | |
using UnityEngine; | |
using VRC.SDKBase; | |
using VRC.Udon; | |
using System; | |
using UnityEngine.UI; | |
using TMPro; | |
using VRC.Udon.Common; |
This file contains hidden or 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/bash | |
# Estimate number of 5-hour activity windows using file creation and modification times | |
# Get username automatically | |
user_name=$(whoami) | |
echo "Welcome, $user_name!" | |
# Prompt for start and end dates | |
read -p "Enter start date (YYYYMMDD, default: 20250601): " start_date_input | |
read -p "Enter end date (YYYYMMDD, default: now): " end_date_input |
NewerOlder