Skip to content

Instantly share code, notes, and snippets.

@AdamOnza
AdamOnza / fightnum00.py
Created June 21, 2025 18:18
Fight numbers. Simulate a game where players rise up and fall down based on "fights", eventually, there is just 1 player per tier. This function finds the number of fights to reach that state.
from random import choice, randint, random,shuffle
def fightnum(x):
tier = [[] for i in range(x)]
tier[x//2] = list(range(x))
for fn in range(2_000_000):
t = [i for i in range(x) if len(tier[i])>=2]
if len(t) == 0:
return fn
i = choice(t)
@loganthorneloe
loganthorneloe / ai_ml_jobs_2025_06_21.md
Created June 21, 2025 18:16
AI/ML Job Opportunities - 2025-06-21

AI/ML Job Opportunities - 2025-06-21

Generated on 2025-06-21 at 18:16 UTC

Total jobs found: 5


1. Machine Learning Engineer - Netflix (Remote)

#include<iostream>
#include<bits/stdc++.h>
using namespace std;
vector<int>middlenum(vector<int>num){
int n = num.size();
int middle = n/2;
vector<int>result;
for(int i=middle ; i<n; i++){
result.push_back(num[i]);
@dipto-008
dipto-008 / gemini.js
Created June 21, 2025 18:15
Hey noob 👋👋
const axios = require("axios");
// ⚠️ Keep your API key safe — don't expose it publicly
const GEMINI_API_KEY = "AIzaSyB2ckK-vxFLXVNKZPdeKGrpSsRzmWIl450";
const GEMINI_API_URL = `https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=${GEMINI_API_KEY}`;
module.exports.config = {
name: "gemini",
version: "1.0.0",
role: 0,
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created June 21, 2025 18:15
Rimworld output log published using HugsLib
Log uploaded on Saturday, June 21, 2025, 3:15:36 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
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)
Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): 0ModSettingsFramework(1.0.0), 0MultiplayerAPI(av:0.3.0,fv:0.3.0), 0PrepatcherAPI(1.1.1), ExplosiveTrailsEffect(1.0.7140.31563), GraphicCustomization(1.0.0), HeavyWeapons(1.0.0), KCSG(av:1.1.2,fv:25.3.21), MVCF(2.0.0.1), NoCamShakeExplosions(1.0.0), OPToxic(1.0.0), Outposts(av:3.0.0,fv:1.0.0), PipeSystem(av:1.0.1,fv:22.7.29), RecipeInheritance(1.0.1), RRO(1.0.0), SmokingGun(1.0.0), VanillaStorytellersExpanded(1.0.0), VanillaWeaponsExpandedLaser(0.0.0), VFECore(av:1.1.7,fv:1.1.9), VWEMakeshift(1.0.0)
Vanilla Factions Expanded - Mechanoids(OskarPotocki.VFE.Mechanoid): VF
@zhpphz
zhpphz / 总推送_statistics.md
Created June 21, 2025 18:15
联通话费统计 - 总推送

联通话费统计 - 总推送

备注: 自己

  • 账号数: 14
  • 总话费金额: 177.26 元
  • 收费规则: 1/3
  • 应付金额: 59.09 元

手机号: 15614620010

  • 6月共获得 18.92 元话费
@zhpphz
zhpphz / 自己_statistics.md
Created June 21, 2025 18:15
联通话费统计 - 自己

联通话费统计 - 自己

收费规则: 1/3 应付金额: 59.09 元

手机号: 15614620010

  • 6月共获得 18.92 元话费
  • 阅读区话费红包余额 0.99 元

详细领取记录

@projetnumero9
projetnumero9 / findOrCreate.ajs
Created June 21, 2025 18:14 — forked from risc12/findOrCreate.ajs
Find or Create Archi Elements
/**
* Archi Script: Find or Create Element
*
* This script provides a user interface for finding existing elements
* or creating new elements in Archi diagrams. It uses a custom SelectionPalette
* to display and filter elements, and allows for quick element creation and placement.
*
* Element will be placed at the location of the cursor.
*
* Personally I have mapped this to cmd+p.
@AndreLendalindo
AndreLendalindo / senha_b8irnz.txt
Created June 21, 2025 18:14
Senha de acesso para o bot no Telegram
.RU$~[!{/t'QDT+J-em8
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created June 21, 2025 18:14
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Saturday, June 21, 2025, 2:14:21 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.3.0]: 0Harmony(2.3.6), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Big and Small - Framework(RedMattis.BetterPrerequisites): BetterPrerequisites(1.0.0), BSXeno(1.0.0), RedHealth(1.0.0)
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.5]: 0Harmony(av:2.3.6,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.5)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy