Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
| [{"id":"c423a506.3c0cd8","type":"ui_tab","z":"64e4f956.f03c88","name":"Home","icon":"dashboard","order":"1"},{"id":"d1393eeb.9957b","type":"mqtt-broker","z":"64e4f956.f03c88","broker":"things.online","port":"1883","clientid":"node-red-macbook","usetls":false,"verifyservercert":true,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willRetain":null,"willPayload":"","birthTopic":"","birthQos":"1","birthRetain":null,"birthPayload":""},{"id":"782571e8.03d01","type":"mqtt in","z":"64e4f956.f03c88","name":"Color Temperature","topic":"tinkerforge/bricklet/color/+/color_temperature","broker":"d1393eeb.9957b","x":126,"y":687,"wires":[["7b8b60b8.09b3c","4a3d71ea.5f8e1"]]},{"id":"7b8b60b8.09b3c","type":"debug","z":"64e4f956.f03c88","name":"","active":true,"console":"false","complete":"false","x":303,"y":792,"wires":[]},{"id":"4a3d71ea.5f8e1","type":"json","z":"64e4f956.f03c88","name":"","x":329,"y":618,"wires":[["8456cef2.8a168"]]},{"id":"1a9f8175.0f143f","type":"ui_gauge","z":"64e4f95 |
| // https://raw.githubusercontent.com/akra/node_redis_counter/master/index.js | |
| var redis = require('redis'); | |
| var client = redis.createClient(6379, 'redis'); | |
| client.on('connect', function() { | |
| console.log('connected'); | |
| }); | |
| var loop = function() { | |
| client.incr('counter', function (err, reply) { |
| // https://create.arduino.cc/projecthub/TheGadgetBoy/wi-fi-jamming-device-based-on-esp8266-48d6f0 | |
| /* | |
| Before you make this jammer, take a look at the local law enforcement before use and also use this device at your own risk !!! | |
| After I did some research about the Espressif microcontroller ESP8266, I found that Espressif has written a | |
| wifi_send_pkt_freedom() | |
| function that just sends out whatever packet I’d like to the network. | |
| It also turns out that the ESP8266 will enter monitor mode, where it listens to all WiFi traffic regardless of the MAC address that it’s directed toward. |
| http://www.instructables.com/id/How-to-make-wearable-display/ | |
| http://www.instructables.com/id/15-Cool-OLED-Display-Projects/ | |
| https://www.instructables.com/tag/type-id/category-/keyword-oled/ | |
| Essentials: Make the wearable stuff around the cheap eletronics, 2 weeks battery for 6-10 oled characters |
Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
| # 1. Certs with Let's encrypt (automation with ACME) | |
| # 2. Provide certs to mosquitt and Test: | |
| # http://rockingdlabs.dunmire.org/exercises-experiments/ssl-client-certs-to-secure-mqtt | |
| listener 8883 | |
| cafile /etc/letsencrypt/live/example.com/chain-ca.pem | |
| certfile /etc/letsencrypt/live/example.com/cert.pem | |
| keyfile /etc/letsencrypt/live/example.com/privkey.pem | |
| # 3. Test with Client Certificate | |
| # 4. Test with Pre-Shared Keys alternative |
| # fixed: http://jpmens.net/2013/09/01/installing-mosquitto-on-a-raspberry-pi/ | |
| # ref: https://mosquitto.org/2013/01/mosquitto-debian-repository/ | |
| # to get newer versions 1.4.+ | |
| wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key | |
| sudo apt-key add mosquitto-repo.gpg.key | |
| cd /etc/apt/sources.list.d/ | |
| sudo wget http://repo.mosquitto.org/debian/mosquitto-jessie.list |
| docker rmi `docker images -aq` | |
| https://github.com/ePages-de/epizza/blob/ref/gradle-plugins/src/main/groovy/epizza/gradle/DockerConventionPlugin.groovy | |
| https://github.com/spotify/docker-gc | |
| https://github.com/chadoe/docker-cleanup-volumes | |
| https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/ |
| Every year and every new MacOS version the same: | |
| masses of people posting about problems with the serial connection discussing solution that do not work in general. | |
| This is my way with MacOS El Captain (10.11.6) and Arduino 1.8.2 ;-) | |
| (yes, versions are important, because the solution may not work with any other) | |
| (no, Do NOT try the "FTDI" solution, it does not work anymore in this case) | |
| Problem: |
| PORT=1099; PID=`lsof -i tcp:$PORT | tail -1 | tr -s ' ' | cut -d\ -f2`; echo "Process-ID for Port $PORT is: $PID"; ps aux | grep $PID |