Skip to content

Instantly share code, notes, and snippets.

View maurerle's full-sized avatar

Florian Maurer maurerle

View GitHub Profile
@maurerle
maurerle / setup.sh
Last active April 5, 2025 14:36 — forked from giannello/setup.sh
Install fprintd-tod with support for Broadcom readers on Debian testing
#!/usr/bin/env sh
####################################################################
### ____ _____ ____ ___ _ _ _ ___ _ _ _ __ __ ###
### | _ \| ____| __ )_ _| / \ | \ | | / _ \| \ | | | \ \ / / ###
### | | | | _| | _ \| | / _ \ | \| | | | | | \| | | \ V / ###
### | |_| | |___| |_) | | / ___ \| |\ | | |_| | |\ | |___| | ###
### |____/|_____|____/___/_/ \_\_| \_| \___/|_| \_|_____|_| ###
####################################################################
####### _ _ ___ _ _ ____ _ _ _ _ _____ _ _ ########
@maurerle
maurerle / cat_examples.md
Created March 15, 2024 15:02 — forked from masfernandez/cat_examples.md
cat file without comments

Cat files without comments! only relevant information from config files will be shown

  • PHP ini files (linnes commented with ;):
cat php.ini | egrep -v "^\s*(;|$)"
  • Apache, Nginx conf files (lines commented with #):
@maurerle
maurerle / migrate.lua
Last active March 13, 2024 12:36 — forked from DasSkelett/migrate.lua
FFULM Migration Script - rev2
#!/usr/bin/lua
-- Install at /lib/setup-mode/rc.d/S14-migrate (chmod +x)
local site = require 'gluon.site'
local uci = require('simple-uci').cursor()
local util = require 'gluon.util'
local pretty_hostname = require 'pretty_hostname'