Skip to content

Instantly share code, notes, and snippets.

@jarno-vos
jarno-vos / force-ssl-enabled.php
Created March 13, 2025 11:14
force-ssl-enabled.php
<?php
defined('ABSPATH') or die();
add_action('plugins_loaded', 'force_rsssl_ssl_option');
function force_rsssl_ssl_option() {
if (function_exists('rsssl_update_option')) {
rsssl_update_option('ssl_enabled', true);
}
}
@exaland
exaland / tailwindcss_npmerr
Created March 13, 2025 11:14
npx tailwindcss init -p npm ERR! could not determine executable to run
Fix with this Command
$ npm install -D tailwindcss@3 postcss autoprefixer
$ npx tailwindcss init -p
Вопрос 1 Вопрос 2
A c
A c
A a
A b
B c
A a
A c
B b
A c
@choco-bot
choco-bot / FilesSnapshot.xml
Created March 13, 2025 11:13
mongodb.portable v6.0.21-rc1 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\mongodb.portable\mongodb-windows-x86_64-6.0.21-rc1.zip.txt" checksum="915809A22D9A8460B82F7BEB8C3D12D6" />
<file path="C:\ProgramData\chocolatey\lib\mongodb.portable\mongodb.portable.nupkg" checksum="4C43644F5E652C91BDA57226120FA226" />
<file path="C:\ProgramData\chocolatey\lib\mongodb.portable\mongodb.portable.nuspec" checksum="BA38EC0B119E13B732394F7AF58375F7" />
<file path="C:\ProgramData\chocolatey\lib\mongodb.portable\tools\chocolateyInstall.ps1" checksum="8A5EF9A1341A727F4A69F2FBAD542ED3" />
<file path="C:\ProgramData\chocolatey\lib\mongodb.portable\tools\chocolateyUninstall.ps1" checksum="3389582CECB50DF73AECC3B2EBD3515B" />
<file path="C:\ProgramData\chocolatey\lib\mongodb.portable\tools\Uninstall-ChocolateyPath.psm1" checksum="44368804BE2AAF1365B879238CB50C42" />
<
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created March 13, 2025 11:13
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Thursday, March 13, 2025, 12:12: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.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Realistic Planets Continued(zvq.RealisticPlanetsContinued): Realistic_Planets_Continued(1.0.8904.5342)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Blindsight - Unified(SpenceZILLA.BlindsightUnified): BlindsightUnified(1.0.0)
https://docs.google.com/forms/d/e/1FAIpQLSeE2dHsfsoy9RsAzS0xR-h3du8CtfYFeK5cdp4zT9QTt7h3bw/viewform?usp=pp_url&entry.1416456068=L%E1%BA%A7n%20%C4%91%E1%BA%A7u%20ti%C3%AAn&entry.1456973619=Du%20l%E1%BB%8Bch%20-%20ngh%E1%BB%89%20d%C6%B0%E1%BB%A1ng&entry.1457887929=B%E1%BA%A1n%20b%C3%A8%20-%20%C4%90%E1%BB%93ng%20nghi%E1%BB%87p&entry.963169437=Nh%C3%A0%20h%C3%A0ng%2FQu%E1%BA%A7y%20Bar&entry.963169437=Ph%C3%B2ng%20t%E1%BA%ADp%20Gym&entry.963169437=H%E1%BB%93%20b%C6%A1i&entry.963169437=D%E1%BB%8Bch%20v%E1%BB%A5%20gi%E1%BA%B7t%20l%C3%A0&entry.963169437=D%E1%BB%8Bch%20v%E1%BB%A5%20%C4%91%C6%B0a%20%C4%91%C3%B3n%20s%C3%A2n%20bay&entry.875633456=H%C3%A0ng%20ng%C3%A0y&entry.1243169586=4&entry.1476900039=4&entry.485915937=4&entry.814797853=4&entry.1348845500=5&entry.829305273=5&entry.34207681=5&pageHistory=0,1,2,3
https://docs.google.com/forms/d/e/1FAIpQLSeE2dHsfsoy9RsAzS0xR-h3du8CtfYFeK5cdp4zT9QTt7h3bw/viewform?usp=pp_url&entry.1416456068=4-5%20l%E1%BA%A7n&entry.1456973619=Kh%C3%A1c&entry.1457887929=Gia%20%C4%91%C3%ACnh&
@tehybel
tehybel / StableDiffusionXLLoRAModelLoader.py
Created March 13, 2025 11:12
Enabling tiled decode for SDXL in OneTrainer
# ... some lines from this file are left out ...
def load(
self,
model_type: ModelType,
model_names: ModelNames,
weight_dtypes: ModelWeightDtypes,
) -> StableDiffusionXLModel | None:
base_model_loader = StableDiffusionXLModelLoader()
lora_model_loader = StableDiffusionXLLoRALoader()
embedding_loader = StableDiffusionXLEmbeddingLoader()
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],
https://docs.google.com/forms/d/e/1FAIpQLSfjpxgN7YzapkuIx08fjTNgZcxBd0kv6kxtj7MbimBFDip67w/viewform?usp=pp_url&entry.1484138189=Tr%C3%AAn&entry.121682481=Mobile&entry.157793273=C%C3%B3&entry.267934656=Kh%C3%B4ng&entry.549814315=T%C3%ACm%20tr%E1%BA%ADn%20%C4%91%E1%BA%A5u&entry.1306610310=H%E1%BB%87%20th%E1%BB%91ng%20gi%E1%BA%A3i%20%C4%91%E1%BA%A5u&entry.265400379=Kh%C3%B4ng&entry.1341543129=10&entry.160580779=Kh%C3%B4ng&entry.528895588=Kh%C3%B4ng&entry.1832775166=10&entry.828962514=C%C3%B3&entry.134355125=Game%20%C4%91a%20d%E1%BA%A1ng&entry.591215025=8&entry.1915247020=Th%E1%BA%BB%20ng%C3%A2n%20h%C3%A0ng&entry.205099306=9&pageHistory=0,1,2,3
https://docs.google.com/forms/d/e/1FAIpQLSfjpxgN7YzapkuIx08fjTNgZcxBd0kv6kxtj7MbimBFDip67w/viewform?usp=pp_url&entry.1484138189=18%20-%2024&entry.121682481=Mobile&entry.157793273=Ch%C6%B0a%20quy%E1%BA%BFt%20%C4%91%E1%BB%8Bnh&entry.267934656=Kh%C3%B4ng&entry.549814315=K%E1%BA%BFt%20n%E1%BB%91i%20b%E1%BA%A1n%20b%C3%A8&entry.1306610310=%C4%90%E1%BB%95i%20th%C6%B0%E1%BB%9Fng&e
@sahalali
sahalali / footlight-import-events-by-ids.sparql
Last active March 13, 2025 11:17
Sparql query to fetch events from artsdata by id
PREFIX schema: <http://schema.org/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT {
?event_adid a ?event_type .
?event_adid schema:name ?name ;
schema:description ?description ;
schema:location ?place_coalesced ;
schema:startDate ?startDate ;
schema:endDate ?endDate ;