Sponsored Content
Top Forums Programming Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App Post 303044466 by Neo on Saturday 22nd of February 2020 08:45:18 AM
Old 02-22-2020
Update:

Have retired my quick, public COVID-19 dashboard (per above).

I primarily use the stats from WorldOMeters for COVID-19 updates:

Code:
https://www.worldometers.info/coronavirus/

I am currently doing a lot with Node-RED and MQTT, mostly in the area of (1) command and control of remote servers and applications, (2) testing ESP devices (ESP32, ESP8266, (3) testing the Arduino UNO, and (4) monitoring a number of remote linux servers.

Will probably take a break from "making and coding" a put together a few Node-RED / MQTT videos soon.
This User Gave Thanks to Neo For This Post:
 

5 More Discussions You Might Find Interesting

1. Solaris

luminis app

The guys at SunGard want to charge a lot of $$$$ for installing Luminis and we are trying to see if this can be done without them. Their installation guide provided page #53 ( http://www.luminis.nocccd.edu/documents/Luminis%20IV/lp40000in.pdf ) doesn't really tell you much. All they say is that... (4 Replies)
Discussion started by: ceci1
4 Replies

2. Solaris

Problem with /app

Hi folks, i have a problem with my /app directory on solaris 10.It is mounted under rpool root and sometimes it increase dimension bringing root out of space.I want to mount /app under different position, maybe under secondary hardisk for which i have created a mount point with zfs pool...How... (10 Replies)
Discussion started by: mattpunk
10 Replies

3. OS X (Apple)

Can a ios app be developed on a windows or ipad?

hi, i want to start developing an ios app that can be used on iphone and ipad. can anyone guide me how to start? i saw that it can be developed only on a mac system.. but i dont have a mac system. i have an ipad 4 and a laptop with windows os? can i use one of these to start developing ios app??... (4 Replies)
Discussion started by: Little
4 Replies

4. Programming

Arduino Project: iPhone to HM-10 BLE to NB-IoT Shield to NB-IoT Network to Internet to Linux Server

This post describes a "work in progress" project I started today. Here is the High Level Overview: Currently, this project sits on my desk as an Arduino UNO (on the bottom), an NB-IoT Shield (sandwiched in the middle), a Sensor Shield (on top) with a HM-10 BLE Module (in the little... (13 Replies)
Discussion started by: Neo
13 Replies

5. Programming

Wuhan Coronavirus Status for China - Rapid Prototype Blynk App with ESP8266

Here is a rapid prototype app I just put together which might be of interest to some people. Basically, I have parsed the data from a Chinese web site which is tracking the Wuhan coronavirus, and cache that data every minute via a local cron file and make a simple API available to a Blink app. ... (6 Replies)
Discussion started by: Neo
6 Replies
SDL::App(3)						User Contributed Perl Documentation					       SDL::App(3)

NAME
SDL::App - a SDL perl extension SYNOPSIS
use SDL; use SDL::Event; use SDL::App; my $app = new SDL::App ( -title => 'Application Title', -width => 640, -height => 480, -depth => 32 ); This is the manual way of doing things my $event = new SDL::Event; # create a new event $event->pump(); $event->poll(); while ($event->wait()) { my $type = $event->type(); # get event type print $type; exit if $type == SDL_QUIT; } An alternative to the manual Event processing is the L<SDL::App::loop> . DESCRIPTION
SDL::App controls the root window of the of your SDL based application. It extends the SDL::Surface class, and provides an interface to the window manager oriented functions. METHODS
new "SDL::App::new" initializes the SDL, creates a new screen, and initializes some of the window manager properties. "SDL::App::new" takes a series of named parameters: o -title o -icon_title o -icon o -width o -height o -depth o -flags o -resizeable title "SDL::App::title" takes 0, 1, or 2 arguments. It returns the current application window title. If one parameter is passed, both the window title and icon title will be set to its value. If two parameters are passed the window title will be set to the first, and the icon title to the second. delay "SDL::App::delay" takes 1 argument, and will sleep the application for that many ms. ticks "SDL::App::ticks" returns the number of ms since the application began. error "SDL::App::error" returns the last error message set by the SDL. resize "SDL::App::resize" takes a new height and width of the application if the application was originally created with the -resizable option. fullscreen "SDL::App::fullscreen" toggles the application in and out of fullscreen mode. iconify "SDL::App::iconify" iconifies the applicaiton window. grab_input "SDL::App::grab_input" can be used to change the input focus behavior of the application. It takes one argument, which should be one of the following: o SDL_GRAB_QUERY o SDL_GRAB_ON o SDL_GRAB_OFF loop "SDL::App::loop" is a simple event loop method which takes a reference to a hash of event handler subroutines. The keys of the hash must be SDL event types such as SDL_QUIT(), SDL_KEYDOWN(), and the like. The event method recieves as its parameter the event object used in the loop. Example: my $app = new SDL::App -title => "test.app", -width => 800, -height => 600, -depth => 32; my %actions = ( SDL_QUIT() => sub { exit(0); }, SDL_KEYDOWN() => sub { print "Key Pressed" }, ); $app->loop(\%actions); sync "SDL::App::sync" encapsulates the various methods of syncronizing the screen with the current video buffer. "SDL::App::sync" will do a fullscreen update, using the double buffer or OpenGL buffer if applicable. This is prefered to calling flip on the application window. attribute ( attr, [value] ) "SDL::App::attribute" allows one to set and get GL attributes. By passing a value in addition to the attribute selector, the value will be set. "SDL:::App::attribute" always returns the current value of the given attribute, or croaks on failure. AUTHOR
David J. Goehrig Kartik Thakore SEE ALSO
perl SDL::Surface SDL::Event SDL::OpenGL perl v5.12.1 2010-07-05 SDL::App(3)
All times are GMT -4. The time now is 06:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy