This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
unclutter -idle 0.5 -root & | |
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /home/pi/.config/chromium/Default/Preferences | |
sed -i 's/"exit_type":"Crashed"/"exit_type":"Normal"/' /home/pi/.config/chromium/Default/Preferences | |
/usr/bin/chromium-browser --noerrdialogs --disable-infobars --kiosk http://127.0.0.1:6680/iris & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
#################################################################################### | |
MQTT PubSub implementation for Feather M0 | |
For information on configuration: | |
http://mjvo.github.io/tutorials/circuits/mqtt/ | |
External libraries required (available through Arduino Library Manager): | |
- WiFi101: https://www.arduino.cc/en/Reference/WiFi101 | |
- PubSub Client by Nick O'Leary: https://pubsubclient.knolleary.net/ | |
- arduino-timer by Michael Contreras: https://github.com/contrem/arduino-timer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example YAML configuration for the sidecar pattern. | |
# It defines a main application container which writes | |
# the current date to a log file every five seconds. | |
# The sidecar container is nginx serving that log file. | |
# (In practice, your sidecar is likely to be a log collection | |
# container that uploads to external storage.) | |
# To run: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
: ' Script that enables TLS for Docker service in Ubuntu 16.x | |
This script is intended to be run as root | |
It; | |
- Generates the keys | |
- Creates the daemon.json Docker config file |
Current version: 1.0.19 1.0.15 (as of 2018-12-10)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- THIS PRODUCT CONTAINS RESTRICTED MATERIALS OF IBM 5724-H88, 5724-J08, | |
5724-I63, 5655-W65, COPYRIGHT International Business Machines Corp., 2014 | |
All Rights Reserved * Licensed Materials - Property of IBM US Government | |
Users Restricted Rights - Use, duplication or disclosure restricted by GSA | |
ADP Schedule Contract with IBM Corp. --> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<licenses> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
############### | |
# SysV Init Information | |
# description: docker daemon. | |
### BEGIN INIT INFO | |
# Provides: me | |
# Required-Start: | |
# Required-Stop: | |
# Default-Start: 2 3 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /opt/ | |
yum -y install wget | |
curl -L -b "oraclelicense=a" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz -O | |
tar xzf jdk-8u131-linux-x64.tar.gz | |
cd /opt/jdk1.8.0_131/ | |
alternatives --install /usr/bin/java java /opt/jdk1.8.0_131/bin/java 2 | |
alternatives --config java | |
alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_131/bin/jar 2 | |
alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_131/bin/javac 2 | |
alternatives --set jar /opt/jdk1.8.0_131/bin/jar |

NewerOlder