Skip to content

Instantly share code, notes, and snippets.

View st1vms's full-sized avatar
😎

Stefano Raneri st1vms

😎
View GitHub Profile
@st1vms
st1vms / !Simple Binance Scanner
Last active September 12, 2025 14:44
Simple Binance Scanner
Simple Binance Scanner
@st1vms
st1vms / oco.html
Last active September 16, 2025 14:39
OCO Sell Order Calculator
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OCO Sell Order Calculator</title>
<style>
body {
font-family: Arial, sans-serif;
@st1vms
st1vms / !Order Sisal Sport rows
Last active September 7, 2025 15:49
Order Sisal Sports rows by minutes (Bookmarklet)
javascript:(function(){const c=document.querySelector('.tipster-theme div');const i=Array.from(c.children);const t=[];const p=[];i.forEach((e,n)=>{const x=e.querySelector('.FR-Livescore__timeDescription');if(x){const m=x.textContent.trim().match(/^(\d+)'/);if(m){t.push({item:e,minutes:parseInt(m[1],10)});p.push(n);}}});t.sort((a,b)=>b.minutes-a.minutes);p.forEach((n,e)=>{c.insertBefore(t[e].item,c.children[n]);});})();
@st1vms
st1vms / sports_arbitrage.html
Created September 7, 2025 15:07
Sports Betting Arbitrage Calculator (JS)
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<title>Arbitrage Calculator</title>
<style>
body {
font-family: Arial, sans-serif;
padding: 20px;
@st1vms
st1vms / !!Upgrade all outdated Python packages at once
Last active August 14, 2025 09:22
Upgrade all outdated Python packages at once
Upgrade all outdated Python packages at once
@st1vms
st1vms / estimate_frequency.py
Last active July 31, 2025 13:41
Frequency estimation
import pyaudio
import numpy as np
import scipy.signal
import time
import sounddevice as sd
RATE = 44100
CHUNK = 2048
DURATION = 10 # seconds to record
@st1vms
st1vms / !Flush DNS Cache on Boot (Windows)
Last active July 26, 2025 12:26
Flush DNS Cache on Boot (Windows)
Flush DNS Cache on Boot (Windows)
@st1vms
st1vms / !Disable DoSvc
Last active August 14, 2025 09:18
Disable Windows Delivery Optimization service (DoSvc)
Script to create a task that disables and stops the Windows DoSvc service on startup
@st1vms
st1vms / pwsh_telemetry_removal.txt
Last active June 24, 2025 21:32
Removing Telemetry from Powershell
[System.Environment]::SetEnvironmentVariable("POWERSHELL_TELEMETRY_OPTOUT", "1", "User")
Set-PSReadLineOption -PredictionSource None
@st1vms
st1vms / watch.bat
Last active June 24, 2025 21:09
Linux "watch" command equivalent for Windows
@ECHO OFF
IF "%~1"=="" (
ECHO Usage: %~nx0 seconds command [args...]
GOTO :EOF
)
SET "WAIT=%~1"
SHIFT