Skip to content

Instantly share code, notes, and snippets.

View anikey-m's full-sized avatar

Andrey Ovchinnikov anikey-m

  • Izhevsk, Russia
View GitHub Profile

Datto Alto 3 Info

Datto is an American cybersecurity and data backup company. There are a variety of NUC-style Mini-PCs floating around on the upcycle market.

Many of these are BIOS password locked, the default password is R@str.

Per neko-noire on reddit, these units are rebrand of the AsRock Beebox-S Series (Kaby Lake), so you can flash the BIOS on them.

https://www.asrock.com/nettop/Intel/Beebox-S%20Series%20(Kaby%20Lake)/#BIOS

@hlissner
hlissner / replace.sh
Last active September 11, 2023 10:14
Bulk search & replace with ag (the_silver_searcher)
# ag <https://github.com/ggreer/the_silver_searcher>
# usage: ag-replace.sh [search] [replace]
# caveats: will choke if either arguments contain a forward slash
# notes: will back up changed files to *.bak files
ag -0 -l $1 | xargs -0 perl -pi.bak -e "s/$1/$2/g"
# or if you prefer sed's regex syntax:
ag -0 -l $1 | xargs -0 sed -ri.bak -e "s/$1/$2/g"
@jboner
jboner / latency.txt
Last active June 25, 2024 12:58
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