I hereby claim:
- I am josef81 on github.
- I am josef81 (https://keybase.io/josef81) on keybase.
- I have a public key ASD4g57sef2cTfPPNMomncYzYtCMq_vaHliFOLaK-9jJkQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| On a previous post I described how to make mosquitto debian packages. This turned out to be a bit problematic, so I’ve now put up an experimental debian repository for mosquitto. It includes packages for the i386, amd64, armel and raspberry pi (raspbian armhf ) architectures. | |
| It’s worth repeating that this is experimental – there are package changes that haven’t been vetted by a Debian developer so it’s possible something will break. I’ve tested myself and had no problems so far. | |
| To use the new repository you should first import the repository package signing key: | |
| wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key | |
| sudo apt-key add mosquitto-repo.gpg.key | |
| Then make the repository available to apt: |
| /* | |
| * ESP8266 Web server with Web Socket to control an LED. | |
| * | |
| * The web server keeps all clients' LED status up to date and any client may | |
| * turn the LED on or off. | |
| * | |
| * For example, clientA connects and turns the LED on. This changes the word | |
| * "LED" on the web page to the color red. When clientB connects, the word | |
| * "LED" will be red since the server knows the LED is on. When clientB turns | |
| * the LED off, the word LED changes color to black on clientA and clientB web |
| // ########## Updated Code to get current METAR conditions over SSL from official NOAA xml feed ########### | |
| //START OF MODIFIED CODE | |
| else{ | |
| // url updated to reflect official NOAA METAR data site: https://aviationweather.gov/metar. (see notice: http://www.nws.noaa.gov/om/notification/scn16-16wngccb.htm) | |
| $urlMETAR = "https://aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&stationString=".strtoupper($ICAO); | |
| // get raw METAR data in xml format. | |
| $metarXMLData = curlMain($urlMETAR,3); | |
| // parse METAR XML string using SimpleXML (which is included in PHP base install) | |
| $metarXMLDataString = simplexml_load_string($metarXMLData); |
| 1) remove the following packages : xrdp, vnc4server, tightvncserver | |
| sudo apt-get remove xrdp vnc4server tightvncserver | |
| 2) install tightvncserver followed by xrdp: | |
| sudo apt-get install tightvncserver | |
| sudo apt-get install xrdp | |
| 3) Restart. | |
| Cursor Setup: | |
| 1. Create the file ".xsessionrc" in the home directory ("/home/pi"). Note the dot at the beginning of the file name: | |
| • cd ~ |
| Raspbian Jessie with PIXEL | |
| Image with PIXEL desktop based on Debian Jessie | |
| Version: September 2016 | |
| Release date: 2016-09-23 | |
| Kernel version: 4.4 | |
| My instructions: | |
| Open terminal and update the repositories: |