Skip to content

Instantly share code, notes, and snippets.

View fliiiix's full-sized avatar
🎩
This is the year of ipv6 and python3!

Felix fliiiix

🎩
This is the year of ipv6 and python3!
View GitHub Profile
{
"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 April 10, 2018 11:52
HP 1810-24G Switch (J9450A) grafana dashboard
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@fliiiix
fliiiix / telegraf.conf
Created March 27, 2018 17:09
HP 1810-24G Switch (J9450A) telegraf snmp config
[[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 20:03
my freebsd pkg list
# basic tools
editors/vim-console
devel/git
sysutils/tmux
sysutils/iocage
# wifi controller
net-mgmt/unifi5
# windows shares
@fliiiix
fliiiix / help_me.txt.md
Created August 23, 2017 16:01
iocage broken?

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          
#!/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 August 6, 2017 15:14
OCR on Nextcloud 12 with Freebsd

pkglist for poudriere

# nextcloud
www/nginx
www/php70-opcache
devel/php70-pcntl
databases/pecl-redis
www/nextcloud
# nextcould OCR
#!/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 April 23, 2017 14:00
My personal podcast feedlist (can be used with https://github.com/fliiiix/cron-podcast)
# 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
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>LEEt subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="DevOps" title="DevOps">
<outline type="rss" text="Ryan D Lane" title="Ryan D Lane" xmlUrl="http://ryandlane.com/blog/feed/" htmlUrl="http://ryandlane.com/blog"/>
</outline>