Skip to content

Instantly share code, notes, and snippets.

##
## SNMP Input Plugin
##
## QNAP TS-431X
##
[[inputs.snmp]]
# List of agents to poll
agents = [ "10.1.1.31" ]
# Polling interval
interval = "60s"
@Kaweechelchen
Kaweechelchen / nginx-unificontroller.conf
Created August 8, 2018 21:07 — forked from vidia/nginx-unificontroller.conf
Example, working, NGINX config for proxying to Unifi Controller software and using letsencrypt. Includes websocket fix.
# I had a bit of trouble getting my unifi controller (hosted offsite) to use a proxy/letsencrypt. So here are the fruits of my labor.
# The unifi default port is 8443 running on localhost.
# License: CC0 (Public Domain)
server {
# SSL configuration
#
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
@Kaweechelchen
Kaweechelchen / keybase.md
Last active April 7, 2018 06:42
keybase.md

Keybase proof

I hereby claim:

  • I am kaweechelchen on github.
  • I am kaweechelchen (https://keybase.io/kaweechelchen) on keybase.
  • I have a public key ASBPPyzA0EEMQ47FPYsZwgiGuQ7GfRe908LbHwImIYsi1Qo

To claim this, I am signing this object:

@Kaweechelchen
Kaweechelchen / info.md
Last active April 9, 2017 15:18
Kinepolis
{
"basePath": "\/en\/",
"pathPrefix": "",
"ajaxPageState": {
"theme": "kinepolis_zen",
"theme_token": "A5qAOgj-36U7RiptsLNZtmyyVmPtqEKE7a_J5nFUey4",
"jquery_version": "1.8",
"css": {
"modules\/system\/system.base.css": 1,
"modules\/system\/system.menus.css": 1,
<IfModule mod_proxy.c>
ProxyPass /.well-known/acme-challenge !
</IfModule>
Alias /.well-known/acme-challenge /var/www/letsencrypt/.well-known/acme-challenge
<Directory "/var/www/letsencrypt/.well-known/acme-challenge">
Options None
AllowOverride None
Require all granted
AddDefaultCharset off
sudo su
mkdir /mnt/timecapsule
echo "//timeCapsuleIp/Data /mnt/toshiba cifs user= timecapsuleUsername,pass= timecapsuleUserPassword,rw,uid=1000,iocharset=utf8,sec=ntlm 0 0" >> /etc/fstab
@Kaweechelchen
Kaweechelchen / tmux-cheatsheet.markdown
Created December 27, 2016 08:29 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@Kaweechelchen
Kaweechelchen / README.md
Created December 27, 2016 08:28 — forked from edds/README.md
Socket.IO example to stream tweets on a topic

A simple example to create a websocket server and stream tweets about a pre-defined subject to the page.

Installation

$ npm install socket.io, twitter

Run

$ node ./app.js
@Kaweechelchen
Kaweechelchen / locale.lb
Last active October 3, 2016 13:12
OpenOV LB translations
var Locale = {}
Locale.dateFormat = 'dd-mm-yy';
Locale.timeFormat = 'hh:mm';
Locale.dateAriaLabel = 'Datum, benotzt "CTRL" an d\'Feil-tasten fir ze navigéieren, "Enter" fir ze validéieren';
Locale.loading = "Lued...";
Locale.edit = "Trajet änneren";
Locale.plan = "Trajet plangen";
Locale.geocoderInput = "Gare, Bushaltestell oder Adress";
Locale.startpointEmpty = "Kee Start ausgewielt";
@Kaweechelchen
Kaweechelchen / delays.md
Last active May 18, 2016 12:03
Train delays