Skip to content

Instantly share code, notes, and snippets.

🎩
This is the year of ipv6 and python3!

Felix fliiiix

🎩
This is the year of ipv6 and python3!
Block or report user

Report or block fliiiix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View etc-modprobe.d-hid_apple.conf
options hid_apple fnmode=2
options hid_apple swap_opt_cmd=1
View backup-status.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@fliiiix
fliiiix / hp1810-24g-dash.json
Created Apr 10, 2018
HP 1810-24G Switch (J9450A) grafana dashboard
View hp1810-24g-dash.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@fliiiix
fliiiix / telegraf.conf
Created Mar 27, 2018
HP 1810-24G Switch (J9450A) telegraf snmp config
View telegraf.conf
[[inputs.snmp]]
agents = [ "atlas.l33t.network:161" ]
community = "l33tsnmp"
[[inputs.snmp.field]]
name = "hostname"
oid = "SNMPv2-MIB::sysName.0"
is_tag = true
# Port 01
[[inputs.snmp.field]]
@fliiiix
fliiiix / pkglist
Last active May 19, 2018
my freebsd pkg list
View pkglist
# basic tools
editors/vim-console
devel/git
sysutils/tmux
sysutils/iocage
# wifi controller
net-mgmt/unifi5
# windows shares
View help_me.txt.md

The iocage list command displays all jails as not running and truncates the names. Also I can not use any name for commands like console, start and many more only the uuid works.

$ iocage --version
0.9.9.1 08/01/2017
[root@titan:/home/l33tname]$ iocage list          
View OCR worker service file
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: OCR worker
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
@fliiiix
fliiiix / notes.md
Last active Aug 6, 2017
OCR on Nextcloud 12 with Freebsd
View notes.md

pkglist for poudriere

# nextcloud
www/nginx
www/php70-opcache
devel/php70-pcntl
databases/pecl-redis
www/nextcloud
# nextcould OCR
View gist:69e64a28948a9f51f300ab7d893b753c
#!/bin/sh
cert_location="/usr/local/etc/letsencrypt.sh/certs/l33t.name/"
deploy_location="/usr/local/etc/nginx/ssl/"
su -m _letsencrypt -c 'zsh /usr/local/bin/letsencrypt.sh --cron'
cp -L "${cert_location}privkey.pem" "${deploy_location}privkey.pem"
cp -L "${cert_location}fullchain.pem" "${deploy_location}chain.pem"
chmod -R 644 "${deploy_location}"
@fliiiix
fliiiix / feedlist.conf
Last active Apr 23, 2017
My personal podcast feedlist (can be used with https://github.com/fliiiix/cron-podcast)
View feedlist.conf
# talk
http://feeds.feedburner.com/DieWrintheit
http://feeds.feedburner.com/WrintRealitaetsabgleich
# talk tech
http://blog.binaergewitter.de/podcast_feed/all/mp3/atom.xml
http://feeds.feedburner.com/BsdNowMp3
# hardstyle
http://podcast.q-dance.nl/audio/musicfeed.xml
You can’t perform that action at this time.