Skip to content

Instantly share code, notes, and snippets.

This cheatsheet combines the most important commands, changes, and best practices for RouterOS v7, focusing on differences from v6. Content is organized by functional area for easy reference.

RouterOS v7 Cheat Sheet

I. General System & Updates

  • Check RouterOS Version:
    /system resource print
    
@Tornamic
Tornamic / Ragdoll_c.cpp
Created February 17, 2025 21:28
leaked Ragdoll_c, adapted for `gta-reversed`
///////////////////////////////////////////////////////////////////////////////
//
// FILE: "Ragdoll_c.cpp"
// BY : Tornamic, Mark Nicholson
// FOR : GTA:SA Community
// ON : 07 Oct 2003 - 16 Feb 2024
// WHAT: Routines to handle ragdoll physics
//
///////////////////////////////////////////////////////////////////////////////
@jboner
jboner / latency.txt
Last active December 16, 2025 15:19
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD
@Klerith
Klerith / instalaciones-react.md
Last active December 16, 2025 15:17
Instalaciones para el curso de React de cero a experto
{
"apiVersion": "dashboard.grafana.app/v2beta1",
"kind": "Dashboard",
"metadata": {
"name": "claude-code-metrics",
"generation": 12,
"creationTimestamp": "2025-12-10T13:33:56Z",
"labels": {},
"annotations": {}
},
@pesterhazy
pesterhazy / building-sync-systems.md
Last active December 16, 2025 15:12
Building an offline realtime sync engine

So you want to write a sync system for a web app with offline and realtime support? Good luck. You might find the following resources useful.

Overview articles

# from bulmenisaurus on Python Discord
# this prints hello
print(
""
.encode("utf_8_sig")
.decode("mac_croatian")
.encode("037")
.decode("maclatin2")

How to Implement a Wago Terminal

First find out if what you are implementing is a Module OR an actual subdevice. For example: Wago's 750-354 is an EtherCAT-Coupler, which is an actual subdevice with pdo-mappings,coe,eeprom etc.

Implementation for a Module

Step 1:

Add the Module Identification of the Module that you are trying to add, as a productId to this match statement and set if it has tx and or rx capabilities correctly (VERY IMPORTANT)

@SomajitDey
SomajitDey / WSL2-Windows_port-forward.md
Last active December 16, 2025 15:06
How to forward WSL2 port to Windows port and vice versa
@hctilg
hctilg / colors.sh
Last active December 16, 2025 15:10
Colors & ClearScreen Ascii code in bash Script
#!/usr/bin/env bash
clear_screen () {
echo -en '\033[2J\033[u'
}
# Reset
Color_rst='\033[0m' # Text Reset
# Regular Colors