Skip to content

Instantly share code, notes, and snippets.

View nmreadelf's full-sized avatar
🛠️
Coding

nmreadelf nmreadelf

🛠️
Coding
  • Beijing
  • 12:36 (UTC +08:00)
View GitHub Profile
@nmreadelf
nmreadelf / how to install entware on ARM.md
Created November 15, 2018 01:43 — forked from dreamcat4/how to install entware on ARM.md
Install entware on ARM based router eg tomato / ddwrt / asus-merlin cfw
@nmreadelf
nmreadelf / lmdb.tcl
Created May 11, 2023 02:08 — forked from antirez/lmdb.tcl
LMDB -- First version of Redis written in Tcl
# LVDB - LLOOGG Memory DB
# Copyriht (C) 2009 Salvatore Sanfilippo <antirez@gmail.com>
# All Rights Reserved
# TODO
# - cron with cleanup of timedout clients, automatic dump
# - the dump should use array startsearch to write it line by line
# and may just use gets to read element by element and load the whole state.
# - 'help','stopserver','saveandstopserver','save','load','reset','keys' commands.
# - ttl with milliseconds resolution 'ttl a 1000'. Check ttl in dump!