Skip to content

Instantly share code, notes, and snippets.

View st1vms's full-sized avatar
😎

Stefano Raneri st1vms

😎
View GitHub Profile
@st1vms
st1vms / !Loading Spinner HTML & CSS
Last active November 9, 2025 12:13
Loading Spinner HTML & CSS
Loading Spinner HTML & CSS
@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 / !Expand Sisal Sport Rows
Last active December 30, 2025 23:45
Order Sisal Sports rows by minutes (Bookmarklet)
javascript: (function () {const rows = document.querySelectorAll(".tipster-theme > div > div .icon-Arrow-Down");rows.forEach((e) => { e.click(); });})();
@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 / 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