Skip to content

Instantly share code, notes, and snippets.

@Natetronn
Natetronn / leds.startup
Last active September 16, 2023 19:24
Netgear r6700v3 LEDS Startup Script
#!/bin/sh
#
for i in 1 7 8 9 12 13 ; do gpio enable $i ; done
for i in 10 11 ; do gpio disable $i ; done
# note: et didn't exists on my device, I therefore turn on jffs support and uploaded a copy to /tmp using scp and finally moved it to /jffs
# if et exists on your device, by running et directly in cli, you can remove the /jffs/ prefix from the following commands
#
# /jffs/et robowr 0x0 0x18 0x1ff
@uschille
uschille / lb-walking.c
Last active February 5, 2024 21:12
A simple efficient 3D lattice Boltzmann code employing the collide-stream-collide scheme.
/***********************************************************************
*
* lb-walking.c
*
* Copyright (c) 2009-2014 Ulf D. Schiller <ulf@lattice-boltzmann.de>
* All rights reserved.
*
* Please cite the following publications when using this code:
*
* U. D. Schiller