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
| # Publishing a static app on Nostr (nsite) | |
| > This file is the brief for an agent. If you are about to publish a web app, | |
| > a SPA, or any static site on Nostr, read all of it before you start. It tells | |
| > you what an nsite is, which apps can be published as-is, the checklist every | |
| > app must pass, and the exact commands to get it online. It is written from a | |
| > real deployment: a WebGPU SPA (an AI image upscaler, ~70 MB across 41 files) | |
| > published with nsite-clay and served at | |
| > https://npub1zg0q8fgl8a5j3e9e6c8yyrkmhn7k6ww0t92ga5c39n5ppwwmrlfq8y4xlj.nsite.lol/ |
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
| { | |
| "id": "a770-wan22-5b-flf-320", | |
| "revision": 0, | |
| "last_node_id": 14, | |
| "last_link_id": 14, | |
| "nodes": [ | |
| { | |
| "id": 1, | |
| "type": "UNETLoader", | |
| "pos": [ |
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
| {"id":"minimax-h3-turbo-gguf-a770-16gb-v2","revision":0,"last_node_id":12,"last_link_id":13,"nodes":[ | |
| {"id":1,"type":"UnetLoaderGGUFAdvanced","pos":[520,-420],"size":[410,170],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[1]}],"title":"Turbo GGUF Q3_K_M — 8.72 GB","properties":{"cnr_id":"comfyui-gguf-loader","ver":"1.0.1","Node name for S&R":"UnetLoaderGGUFAdvanced"},"widgets_values":["minimax_h3_fl2va_turbo_Q3_K_M.gguf","target","float16",true]}, | |
| {"id":2,"type":"CCTechClipProjLoader","pos":[20,-420],"size":[430,150],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[2,3]}],"title":"Qwen3-VL 4B + MiniMax-H3 ClipProj","properties":{"cnr_id":"comfyui-gguf-loader","ver":"1.0.1","Node name for S&R":"CCTechClipProjLoader"},"widgets_values":["qwen3vl_4b_fp8_scaled.safetensors","auto","mmh3-4b-ClipProj-v3-mlp.safetensors"]}, | |
| {"id":3,"type":"CCTechDualVAELoader","pos":[980,-420],"size":[430,135],"flags":{},"order":2,"mode":0,"input |
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
| { | |
| "id": "minimax-h3-turbo-flf-gguf-a770-16gb-v1", | |
| "revision": 0, | |
| "last_node_id": 14, | |
| "last_link_id": 16, | |
| "nodes": [ | |
| { | |
| "id": 1, | |
| "type": "UnetLoaderGGUFAdvanced", | |
| "pos": [20, -420], |
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
| <!DOCTYPE html> | |
| <html lang="it"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Calendario 2026 - Personalizzabile</title> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&family=Roboto:wght@400;700;900&display=swap'); | |
| :root { | |
| /* Variabili modificabili via JS */ |
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
| from diffusers import AutoPipelineForText2Image, DPMSolverMultistepScheduler, AutoencoderKL | |
| import torch | |
| import intel_extension_for_pytorch as ipex | |
| # Initialize LoRA model and weights | |
| #lora_model_id = "Linaqruf/style-enhancer-xl-lora" | |
| #lora_filename = "style-enhancer-xl.safetensors" | |
| #FOR REAL PHOTO AND ART |
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
| If you have Raspberry 2 (V1.1): Broadcom BCM2836 ARMv7 Quad Core 32bit Processor, running at 900MHz. | |
| ./configure CFLAGS="-Ofast -mtune=cortex-a7 -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -ffast-math" CXXFLAGS="-Ofast -mtune=cortex-a7 -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -ffast-math" | |
| If you have Raspberry 3 | |
| ./configure CFLAGS="-Ofast -mtune=cortex-a53 -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mneon-for-64bits -ffast-math" CXXFLAGS="-Ofast -mtune=cortex-a53 -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mneon-for-64bits -ffast-math" | |
| Launch the "make" command to force the code to compile always |
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
| function remove_personal_options(){ | |
| echo '<script type="text/javascript">jQuery(document).ready(function($) { | |
| $(\'form#your-profile > h2:first\').remove(); // remove the "Personal Options" title | |
| $(\'form#your-profile tr.user-rich-editing-wrap\').remove(); // remove the "Visual Editor" field | |
| $(\'form#your-profile tr.user-admin-color-wrap\').remove(); // remove the "Admin Color Scheme" field | |
| $(\'form#your-profile tr.user-comment-shortcuts-wrap\').remove(); // remove the "Keyboard Shortcuts" field |
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
| /* How to add additional field in user profile add-edit in wordpress start */ | |
| add_action( 'show_user_profile', 'custom_user_fields' ); | |
| add_action( 'edit_user_profile', 'custom_user_fields' ); | |
| add_action( "user_new_form", "custom_user_fields" ); | |
| function custom_user_fields( $user ) | |
| { | |
| $user_fb_link = get_the_author_meta( 'user_fb_link', $user->ID); | |
| $user_gender = get_the_author_meta( 'user_gender', $user->ID); | |
| ?> | |
| <h3><?php _e("Custom User information", "blank"); ?></h3> |
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
| <?php | |
| /* | |
| Plugin Name: Simplify Post Edit List | |
| Description: Show only the author's posts in the edit list | |
| Version: 0.1 | |
| License: GPL | |
| Author: Sarah Gooding | |
| */ | |
| function mypo_parse_query_useronly( $wp_query ) { |
NewerOlder