Skip to content

Instantly share code, notes, and snippets.

@Sumanth077
Sumanth077 / test_model.py
Created October 13, 2025 10:11
Test the locally running model via Python SDK.
from clarifai.client import Model
model = Model("https://clarifai.com/your-username/local-runner-app/models/local-runner-model")
response = model.predict(prompt="Explain retrieval-augmented generation.")
print(response)
"""
Functions for generating spline weights.
Usage:
This modules functions each take curve parameters and output control point weights. The weights are generated using
a modified version of de Boor's algorithm. These weights can be used to create a weighted sum to find a point or
tangent on a spline.
While these functions are written for usage in Autodesk Maya, they don't actually have any Maya-specific libraries.
Additionally none of these functions actually care about the data type of provided control points. This way these
@Darkcrai86
Darkcrai86 / 13-10-25-nuovo-malware-stealit-attacco-ai-sistemi-windows-t.md
Created October 13, 2025 10:10
Analisi della vulnerabilità: New Stealit Malware Attacking Windows Systems Abuses Node.js Extensions

Nuovo Malware Stealit: Attacco ai Sistemi Windows Tramite Estensioni Node.js

Autore: Redazione Cyber Monitor
Ultimo aggiornamento: 13 October 2025
Categoria: Threat Monitor – Exploited Vulnerabilities
TLP: GREEN

Introduzione

Il malware Stealit rappresenta una minaccia emergente per i sistemi Windows, sfruttando le estensioni di Node.js per infiltrarsi. Questa nuova forma di attacco sottolinea l'importanza di monitorare e aggiornare costantemente le difese contro le minacce informatiche più avanzate.

@SumukhP-dev
SumukhP-dev / README.md
Created October 13, 2025 10:10 — forked from JacobFV/README.md
huggingface_to_s3

Hugging Face Repository to S3 Transfer Script

This Python script allows you to transfer files from a Hugging Face repository to an Amazon S3 bucket. It iterates over all the files in the specified repository, downloads them one at a time, and uploads them to the designated S3 bucket.

Prerequisites

Before running the script, ensure that you have the following:

  • choose the aws linux ami with 10kIOPS and IO2 storage. make sure you can https out and ssh in
@Sumanth077
Sumanth077 / start_local_runner.sh
Created October 13, 2025 10:09
Start your Local Runner to serve the model via public API.
clarifai model local-runner
@Ged2323
Ged2323 / gist:73d3c9e3caa8cbd4398a0f8028e22d26
Created October 13, 2025 10:09
PostSocial Terms of Service
PostSocial Terms of Service
Last updated: October 13, 2025
PostSocial by MindsetMotion allows users to connect their social media accounts to manage and publish content.
By using this app, you agree to:
• Only upload media you have the rights to share.
• Comply with the TikTok Platform and Developer Terms.
• Not misuse the app for spam, automation abuse, or illegal content.
MindsetMotion does not collect or sell user data. TikTok authentication and posting occur directly through TikTok’s secure APIs.

Complete Guide to Partnerships in the Netherlands

Dutch partnership contract

Partnerships in the Netherlands power everything from small consultancies to big investment ventures. It sounds simple and flexible, but there is a catch. Dutch partnerships expose every partner to joint and several liability, which can put your personal assets at risk if anything goes wrong. Most people think of partnerships as safe collaborations, but in the Netherlands, understanding the fine print can be the difference between growth and unexpected financial trouble.

Key Takeaways

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created October 13, 2025 10:09
Rimworld output log published using HugsLib
Log uploaded on Monday, October 13, 2025, 6:09:19 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2)
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)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:12.0.0]: 0Harmony(av:2.4.1,fv:1.2.0.1), HugsLib(av:1.0.0,fv:12.0.0)
@Sumanth077
Sumanth077 / install_dependencies.sh
Created October 13, 2025 10:08
Install required Python packages for the model.
pip install -r requirements.txt
@thanhyds1998
thanhyds1998 / categorical
Created October 13, 2025 10:07
Create new categorical variable
# Method 1: case_when()
umaru = umaru %>% mutate(depression = case_when(BECK < 10 ~ 1,
BECK < 19 ~ 2,
BECK < 30 ~ 3,
BECK >= 30 ~ 4))
Method 2: Avec case_when() + between() (lisible)
library(dplyr)
umaru <- umaru %>%
mutate(
depression = case_when(