URL and Link repository

Monday, February 6, 2017

Saturday, January 7, 2017

Testing Firebase Cloud Messaging

After putting all the pieces together from resources on the internet like SimplifiedCoding, I am unable to consistently send messages to the app through the Firebase Console notification feature. The message is not always displayed on the device but appears to have been sent through Firebase.

Maybe this is the problem, maybe not.

"FCM usually delivers messages immediately after they are sent. However, this might not always be possible. For example, if the platform is Android, the device could be turned off, offline, or otherwise unavailable. FCM might intentionally delay messages to prevent an app from consuming excessive resources and negatively affecting battery life. When this happens, FCM stores the message and delivers it as soon as it's feasible. While this is fine in most cases, there are some apps for which a late message might as well never be delivered. For example, if the message is an incoming call or video chat notification, it is meaningful only for a short period of time before the call is terminated. Or if the message is an invitation to an event, it is useless if received after the event has ended. You can use the time_to_live parameter, supported in both HTTP and XMPP requests, to specify the maximum lifespan of a message. The value of this parameter must be a duration from 0 to 2,419,200 seconds, and it corresponds to the maximum period of time for which FCM stores and attempts to deliver the message. Requests that don't contain this field default to the maximum period of four weeks. Here are some possible uses for this feature: Video chat incoming calls Expiring invitation events Calendar events Another advantage of specifying the lifespan of a message is that FCM never throttles messages with a time_to_live (TTL) value of 0 seconds. In other words, FCM guarantees best effort for messages that must be delivered "now or never." Keep in mind that a time_to_live value of 0 means messages that can't be delivered immediately are discarded. However, because such messages are never stored, this provides the best latency for sending notification messages."

Friday, December 9, 2016

Root the Samsung Galaxy Tab A6 (2016) SM-T280

Follow these instructions precisely. Root Samsung Galaxy Tab A SM-T280

The process involves using Odin to install TWRP (Team Win Recovery Program) and then using TWRP to flash SuperUser and a SM-T280 boot image.

Wednesday, November 30, 2016

Microsoft Outlook Live and Adding a Hotmail account

outlook.live.com serves as an e-mail client on the cloud. Therefore, one should be able to add multiple e-mail accounts under a single outlook.live.com sign in.

This is not simple when one of your emails is a Hotmail account, because when you login to your hotmail.com account, the host switches to outlook.live.com.

Now how are your going to be logged in two outlook.live.com accounts at the same time in the same browser window/tab?

You are not.

But then how to you add the emails from your Hotmail account to your Outlook.live.com account open in the browser?

Google it; however, all the documentation on-line is incorrect and inconsistent including Microsoft's own instructions.

After experimenting with various IMAP and POP server configurations, this is what worked.

Thursday, November 17, 2016

CSS for 3 Divs Side by Side and Centered

//  Create a centered wrap block that holds 3 blocks aligned horizontally
.wrap{
text-align: center;
margin: 0 auto;
padding: 5px;   
}
.left{
display:inline-block;
vertical-align:top;
margin: 10px;
color: white;
padding: 5px;
opacity:0.60;
filter:alpha(opacity=60);
border-radius: 10px;
background:#037DAE
}
.center{
display:inline-block;
vertical-align:top;
opacity:0.60;
filter:alpha(opacity=60);
color: white;
background:#037DAE;
padding: 5px;
margin: 10px;
border-radius: 10px; 
}
.right{
display:inline-block;
vertical-align:top;
color: white;
margin: 10px;
padding: 5px;
opacity:0.60;
filter:alpha(opacity=60);
border-radius: 10px;
background:#037DAE
}
The above CSS renders this site: dfx.dataforge1.com

Sunday, November 13, 2016

Acer Iconia W3-810 drivers

The latest Windows 10 update on subject device messed up the sound.
Rather than rollback the update, I downloaded and installed drivers from
Real Acer Drivers