==== main.rs ====
mod functions;
mod interpolated;
mod vec2;
use crate::{functions::TransitionFunction, interpolated::Interpolated, vec2::Vec2};
use std::time::Duration;
fn main() {
==== main.rs ====
mod functions;
mod interpolated;
mod vec2;
use crate::{functions::TransitionFunction, interpolated::Interpolated, vec2::Vec2};
use std::time::Duration;
fn main() {
// ==UserScript== | |
// @name Auto-Retry (DS Style) | |
// @namespace http://tampermonkey.net/ | |
// @version 0.5 | |
// @description Automatically click the retry button when DS message blocks show "The server is busy. Please try again later." or "Thought for 0 seconds". Uses a cooldown so that repeated clicks occur if the error persists. | |
// @author Staninna | |
// @match https://chat.deepseek.com/* | |
// @grant none | |
// ==/UserScript== |
This protocol provides a modular, secure, and real‑time communication mechanism for multiplayer turn‑based games. Its design enables rapid setup for both simple games (e.g., Tic Tac Toe) and complex games (e.g., Chess). Key features include:
Dynamic (“Rolling”) Topics:
Topics are computed dynamically for each game round using a cryptographic hash function on a round number and a secret seed. The seed disclosure is controlled—initially only its hash is published, and it is revealed later in a server‑controlled manner. This prevents outsiders from predicting or preempting game channels.
Ephemeral (Per‑Game) Keys:
PREPARATION:
RAID PROCESS PER CITY:
#!/bin/bash | |
JINA_CONFIG_DIR="$HOME/.config/jina" | |
JINA_STATS_FILE="$JINA_CONFIG_DIR/stats.json" | |
JINA_CACHE_FILE="$JINA_CONFIG_DIR/cache.json" | |
CACHE_TTL=3600 # Cache validity in seconds (1 hour) | |
declare -A JINA_KEY_USAGE | |
setup_directories() { | |
mkdir -p "$JINA_CONFIG_DIR" |
#!/bin/bash | |
####################### | |
# Jina CLI Tool | |
# Save as ~/.local/bin/jina-cli.sh | |
####################### | |
####################### | |
# Configuration | |
####################### |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Hello World with Slides and Interaction</title> | |
</head> | |
<body> |
// This version works on this version of the site <https://github.com/oldmartijntje/playtime/tree/c67261f1f53570cf737f0711bcae66c112e17155> | |
class Encryptor { | |
stringToAsciiList(str) { | |
const asciiList = []; | |
for (let i = 0; i < str.length; i++) { | |
const asciiValue = str.charCodeAt(i); | |
asciiList.push(asciiValue); | |
} | |
return asciiList; |