Samual Sam has Published 2492 Articles

How to Create 301 Redirection on Nginx and Apache

Samual Sam

Samual Sam

Updated on 28-Jan-2020 10:10:43

5K+ Views

In this article, we will learn how to redirect the URLs or Domain to another address. This can be done by using the HTTP Redirection. The URL redirection is a popular technique to point one domain address to another domain address which we can achieve on Apache and Nginx both.Redirecting ... Read More

How to keep audio playing while navigating through pages?

Samual Sam

Samual Sam

Updated on 28-Jan-2020 10:04:22

775 Views

To continue loading audio to play while you are navigating through pages, try the following:Use Ajax to load content History API’s pushState() can also be used to alter URL without page reload. History.js should be used for consistent behavior across multiple browsers.The pushState() has three parameters: State object For new entry created by ... Read More

How to download APK files from Google Play Store on Linux

Samual Sam

Samual Sam

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

4K+ 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 ... Read More

How to Find out Linux Version currently Installed on your Machine?

Samual Sam

Samual Sam

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

155 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 ... Read More

Polymer 1.0 dom-repeat should display index starting at 1 with HTML

Samual Sam

Samual Sam

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

104 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)}}Read More

Strange cursor placement in modal when using autofocus in Internet Explorer with HTML

Samual Sam

Samual Sam

Updated on 28-Jan-2020 08:29:35

78 Views

To solve this problem, use the following:.modal.fade {    transition:opacity .3s linear; }You can also solve it by forcing the modal to fade in without sliding.windowClass: 'modal fade in'

C# program to find common elements in three sorted arrays

Samual Sam

Samual Sam

Updated on 28-Jan-2020 08:13:58

190 Views

Firstly, initialize three sorted arrays −int []one = {20, 35, 57, 70}; int []two = {9, 35, 57, 70, 92}; int []three = {25, 35, 55, 57, 67, 70};To find common elements in the three-sorted arrays, iterate through the arrays using a while loop and check the first array with ... Read More

Which browsers support the HTML5 History API?

Samual Sam

Samual Sam

Updated on 27-Jan-2020 07:07:22

140 Views

The WebKit-based browsers and Firefox 4 mainly supports the HTML5 History API. However, now almost every modern browser supports it.Firefox 4+Google ChromeInternet Explorer 10+Safari 5+iOS 4

How to Setup Ansible on Ubuntu 16.04

Samual Sam

Samual Sam

Updated on 23-Jan-2020 09:52:21

268 Views

In this article, we will learn how to configure Ansible – an automation configuration management system. Anisble is a configuration management system which can control a large number of client machines with an easy administration, which can be automated from a central location.Anisble communicates over SSH tunnels and it doesn’t ... Read More

How to Configure and Install ownCloud on Ubuntu 16.04

Samual Sam

Samual Sam

Updated on 23-Jan-2020 09:50:32

301 Views

In this article, we will learn how to configure and install the ownCloud on Ubuntu 16.04. ownCloud is a file sharing server which permits the users to store the personal contents at a centralized storage or location just like Google Drive, Dropbox etc. The main difference is that ownCloud is ... Read More

Advertisements