-
Get a list of all installed openwrt packages containing 'libremap'.
opkg list-installed | grep libremap | awk '{ print $1 }' | tr '\n' ' '
-
pretty plots in matplotlib with mpltools:
from mpltools import style
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy | |
from krypy import linsys | |
m = 10 | |
n = 5 | |
A = numpy.random.rand(m, m) | |
A = A + A.T | |
B = numpy.random.rand(n, m) | |
Z = numpy.zeros((n, n)) | |
tau = 1e-4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config defaults | |
option syn_flood '1' | |
option input 'ACCEPT' | |
option output 'ACCEPT' | |
option forward 'REJECT' | |
config zone | |
option name 'lan' | |
option network 'lan' | |
option input 'ACCEPT' |
NewerOlder