This is a instruction to patch the usb infrared toy driver into lirc sources. Most of the work is done by Peter Kooiman
- Debian based OS (only tested on rapbian)
- root privileges
- USB Infrared Toy
| # /etc/lirc/hardware.conf | |
| # | |
| # Arguments which will be used when launching lircd | |
| LIRCD_ARGS="" | |
| #Don't start lircmd even if there seems to be a good config file | |
| #START_LIRCMD=false | |
| #Don't start irexec, even if a good config file seems to exist. | |
| #START_IREXEC=false |
This is a instruction to patch the usb infrared toy driver into lirc sources. Most of the work is done by Peter Kooiman
| // .... | |
| def compilerConfig = new CompilerConfiguration() | |
| compilerConfig.optimizationOptions.indy = true | |
| def shell = new GroovyShell(compilerConfig) |
| 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; |
| http { | |
| client_max_body_size 20M; | |
| upstream influxdb { | |
| server server1:8086; | |
| server server2:8086; | |
| } | |
| upstream relay { | |
| server server1:9096; | |
| server server2:9096; |
| #!groovy | |
| docker.image('cloudbees/java-build-tools:0.0.6').inside { | |
| checkout([$class: 'GitSCM', | |
| branches: [[name: '*/master']], | |
| extensions: [ | |
| /* [$class: 'UserIdentity', email: '[email protected]', name: 'Jenkins as a Service'], */ | |
| [$class: 'WipeWorkspace'], | |
| [$class: 'LocalBranch', localBranch: 'master']], | |
| userRemoteConfigs: [[credentialsId: 'github-credentials', url: 'https://github.com/cyrille-leclerc/my-spring-boot-app.git']]]) |
| #include "stdafx.h" | |
| // Example copied from https://msdn.microsoft.com/en-us/library/windows/desktop/aa372633(v=vs.85).aspx | |
| #include <windows.h> | |
| #include <stdio.h> | |
| #include <pdh.h> | |
| #include <pdhmsg.h> |
| # Mirror of the instructions available here: | |
| # http://www.lowefamily.com.au/2016/06/02/installing-ubiquiti-unifi-controller-5-on-raspberry-pi/ | |
| # | |
| # 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). |
| 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 ' |
| ## | |
| ## SNMP Input Plugin | |
| ## | |
| ## QNAP TS-431X | |
| ## | |
| [[inputs.snmp]] | |
| # List of agents to poll | |
| agents = [ "10.1.1.31" ] | |
| # Polling interval | |
| interval = "60s" |