Skip to content

Instantly share code, notes, and snippets.

Solution Scientist

Oskar bullshit

Solution Scientist
Block or report user

Report or block bullshit

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 qnap.telegraf.conf
## SNMP Input Plugin
## QNAP TS-431X
# List of agents to poll
agents = [ "" ]
# Polling interval
interval = "60s"
bullshit / nginx.conf
Created Oct 15, 2018 — forked from morhekil/nginx.conf
Full request/response body logging in nginx
View nginx.conf
http {
log_format bodylog '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" $request_time '
'<"$request_body" >"$resp_body"';
lua_need_request_body on;
set $resp_body "";
body_filter_by_lua '
bullshit /
Created Dec 6, 2017 — forked from bwbaugh/
Installing Ubiquiti UniFi Controller 5 on Raspberry Pi.
# Mirror of the instructions available here:
# These commands CANNOT be run in a script.
# They're just for reference.
# Install on Raspbian Jessie, or upgrade from Wheezy.
# Make sure all packages are upgraded (update && upgrade).
bullshit / PHDTest.cpp
Last active Jun 6, 2017
Telegraf ISSUE 1827
View PHDTest.cpp
#include "stdafx.h"
// Example copied from
#include <windows.h>
#include <stdio.h>
#include <pdh.h>
#include <pdhmsg.h>
bullshit / jenkins-pipeline.groovy
Created Dec 1, 2016 — forked from cyrille-leclerc/jenkins-pipeline.groovy
Jenkins Pipeline Script for maven-release-plugin
View jenkins-pipeline.groovy
docker.image('cloudbees/java-build-tools:0.0.6').inside {
checkout([$class: 'GitSCM',
branches: [[name: '*/master']],
extensions: [
/* [$class: 'UserIdentity', email: '', name: 'Jenkins as a Service'], */
[$class: 'WipeWorkspace'],
[$class: 'LocalBranch', localBranch: 'master']],
userRemoteConfigs: [[credentialsId: 'github-credentials', url: '']]])
bullshit / influxdb.conf
Created Nov 18, 2016 — forked from adithyabenny/influxdb.conf
Nginx config for InfluxDB HA
View influxdb.conf
http {
client_max_body_size 20M;
upstream influxdb {
server server1:8086;
server server2:8086;
upstream relay {
server server1:9096;
server server2:9096;
bullshit / nginx.conf
Created Jun 3, 2016 — forked from phpdude/nginx.conf
Nginx image filter + caching of results.
View nginx.conf
location /resize {
alias /tmp/nginx/resize;
set $width 150;
set $height 100;
set $dimens "";
if ($uri ~* "^/resize_(\d+)x(\d+)/(.*)" ) {
set $width $1;
set $height $2;
set $image_path $3;
bullshit / UsesGroovyShell.groovy
Created Dec 28, 2015 — forked from itzg/UsesGroovyShell.groovy
Enabling Groovy invokedynamic ("indy") support in a Gradle build
View UsesGroovyShell.groovy
// ....
def compilerConfig = new CompilerConfiguration()
compilerConfig.optimizationOptions.indy = true
def shell = new GroovyShell(compilerConfig)
bullshit /
Last active Jan 29, 2020
LIRC patch instruction/how-to for USB Infrared Toy from Dangerous Prototypes

LIRC patch instruction/how-to for USB Infrared Toy from Dangerous Prototypes

This is a instruction to patch the usb infrared toy driver into lirc sources. Most of the work is done by Peter Kooiman


View hardware.conf
# /etc/lirc/hardware.conf
# Arguments which will be used when launching lircd
#Don't start lircmd even if there seems to be a good config file
#Don't start irexec, even if a good config file seems to exist.
You can’t perform that action at this time.