Prepare for the Future of Flash, Flex, and HTML5 Development

Lakshmi Srinivas
Updated on 28-Jan-2020 10:01:21

117 Views

In future, in the same like today, if any user still wants to use Flash they will have to enable Flash manually.HTML5 and Flex is the future.HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG). The latest versions of Apple Safari, Google Chrome, Mozilla Firefox, and Opera all support many HTML5 features and Internet Explorer 11.0 will also support HTML5 functionality.The mobile web browsers that come pre-installed on iPhones, iPads, and Android phones all have excellent support for HTML5. Flexbox (flexible box) is a layout mode of CSS3. Using this mode, ... Read More

Download APK Files from Google Play Store on Linux

Samual Sam
Updated on 28-Jan-2020 10:01:00

5K+ Views

Do you know how to download APK (Android packaging kit) files from Google Play store on Linux? One of the easiest way is to install APK on Android mobile for downloading APK files from Google Play Store to Hard Disk and install them on the Android device manually.There are several ways to download APK file(s) on Linux. One of the most used ways is via an open-source Linux software called GooglePlayDownloader. It works on python based GUI. It enables you to search and download APK files from Google play store. This article gives information about, how to install GooglePlayDownloader and ... Read More

Find Business Days Between Two Dates in MySQL

Jennifer Nicholas
Updated on 28-Jan-2020 10:00:44

850 Views

With the help of DATEDIFF(expr1, expr2) we can find the business days between two specified dates.For example, if we want to find business days between ‘2017-05-27’ and ‘2017-05-23’ then following would be MySQL query −mysql> Select DATEDIFF('2017-05-27','2017-05-23') AS 'Total Business Days'; +----------------------+ | Total Business Days  | +----------------------+ | 4                    | +----------------------+ 1 row in set (0.00 sec)

MySQL VARCHAR Data Type Byte Usage

vanithasree
Updated on 28-Jan-2020 09:29:04

180 Views

As we know that in MySQL, VARCHAR values are stored as a 1-byte or 2-byte length prefix plus data. This length prefix points out the number of bytes in the value of data. The data value itself will decide that when VARCHAR data type will use 1-byte and when 2-byte prefix length.A column uses 1-byte length if values require no more than 255 bytes.A column uses 2-byte length if values may require more than 255 bytes.

Find Out Linux Version Installed on Your Machine

Samual Sam
Updated on 28-Jan-2020 09:28:19

293 Views

Are you new to Linux/Ubuntu? Do you know, which version of Ubuntu/Linux is currently installed on your machine? If you are in a dilemma, then this article explains you about how to find out Linux version currently installed on your machine.Method 1Use the following command to find Ubuntu version as shown below −$cat /etc/*-releaseThe sample output should be like this –DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS" NAME="Ubuntu" VERSION="16.04.1 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.1 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" UBUNTU_CODENAME=xenialTo get the kernel information about Linux machine, use the following command as shown below −$ hostnamectlSample output should be ... Read More

Why We Cannot Use MySQL DATE Data Type with Time Value

seetha
Updated on 28-Jan-2020 09:23:21

126 Views

The default format for MySQL DATE data type is “YYYY-MM-DD” and in this format, there is no possibility to store the time value. Hence, we can say that we cannot use DATE data type along with time value.As we can see in the following example MySQL returns only date value even on using time along with the date.mysql> select DATE("2017-09-25 09:34:21"); +-----------------------------------+ | DATE("2017-09-25 09:34:21")       | +-----------------------------------+ | 2017-09-25                        | +-----------------------------------+ 1 row in set (0.04 sec)However, in DATETIME and TIMESTAMP date data types we can use the time to date.

Search a Record by Date in MySQL Table

Prabhas
Updated on 28-Jan-2020 09:22:39

1K+ Views

Suppose we have a table ‘Order123’ having ProductName, Quantity and OrderDate columns as follows −mysql> Select * from Order123; +-------------+----------+------------+ | ProductName | Quantity | OrderDate  | +-------------+----------+------------+ | A           | 100      | 2017-05-25 | | B           | 105      | 2017-05-25 | | C           | 55       | 2017-05-25 | | D           | 250      | 2017-05-26 | | E           | 500      | 2017-05-26 | | ... Read More

HTML5 JS Storage Event Handler

Jennifer Nicholas
Updated on 28-Jan-2020 09:21:54

326 Views

Storage event handlers only fire if the storage event triggered by another window. You can try to run the following code:// event handler window.addEventListener('storage', storageEventHandlerFunc, false); function storageEventHandlerFunc(evt) {    alert("Storage event called key: " + event.key );    switch(event.key){       case 'one':       case 'two': batteryDCMeter(); break;       case 'extPowerOn': rechargeBattery(); break;    } } sessionStorage.setItem("someKey", "someValue");

Does Position Absolute Conflict with Flexbox

karthikeya Boyini
Updated on 28-Jan-2020 09:21:30

289 Views

Absolutely positioning will not conflict with flex containers. You need to set the parent width and values as well:.parent {    display: flex;    justify-content: center;    position: absolute;    width:100% }The following is the HTML:    text

Polymer 1.0 dom-repeat Display Index Starting at 1 with HTML

Samual Sam
Updated on 28-Jan-2020 09:20:46

180 Views

Polymer.js is a JavaScript library created by Google that allows reusing the HTML elements for building applications with components.To achieve this index, you need to set the index as:{{displayIndex(index)}}The displayIndex would be:function (index) {    return index + 1; }Let us see it in an example:Subject {{displayIndex(index)}}

Advertisements