Arjun Thakur

Arjun Thakur

749 Articles Published

Articles by Arjun Thakur

Page 75 of 75

Python program to find the length of the largest consecutive 1's in Binary Representation of a given string.

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 497 Views

Given the number, find length of the longest consecutive 1's in its binary representation. Example Input: n = 15 Output: 4 The binary representation of 14 is 1111. Algorithm Step 1: input the number. Step 2: use one counter variable c=0. Step 3: Count the number of iterations to reach i = 0. Step 4: This operation reduces length of every sequence of 1s by one. Example code # Python program to find # length of the longest # consecutive 1s in # binary representation of a number. def maxlength(n): # ...

Read More

Use of Ionic as desktop web application with HTML5

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 302 Views

Ionic is an HTML5 Mobile App Development Framework targeted at building hybrid mobile apps. Think of Ionic as the front-end UI framework that handles all the look and feel and UI interactions your app needs to be compelling. Kind of like "Bootstrap for Native", but with the support for a broad range of common native mobile components, slick animations and a beautiful design. Ionic framework needs native wrapper to be able to run on mobile devicesIonic is built and tested for mobile only. Internet Explorer does not support all the features of Ionic. Use separate applications for desktop and mobile. However, you ...

Read More

Sum of all proper divisors of a natural number in java

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 562 Views

Following is the Java program which prints all the sum of all the divisors of a given number.

Read More

Role of CSS Filters

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 229 Views

Use CSS filters to add special effects to text, images and other aspects of a webpage without using images or other graphics. If you are developing your site for multi browsers, then it may not be a good idea to use CSS filters because there is a possibility that it would not give any advantage. Some CSS Filters include  Motion Blur, Chroma Filter, Flip Effect, etc.

Read More

CSS Grid Gaps

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 131 Views

The space as shown in the following figure, between rows and columns are called Grid Gaps

Read More

Maximum size of a <canvas> element in HTML

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 2K+ Views

 All web browsers limit the canvas element’s width, height, and area.For Google Chrome, the maximum allowable width and height are 32,767 pixels and the maximum allowable area is 268,435,456 pixels.For Firefox, the maximum allowable width and height are 32,767 pixels and the maximum allowable area is 472,907,776 pixels. For IE, the maximum allowable width and height are 8,192 pixels. For IE Mobile, the maximum allowable width and height are 4,096 pixels.

Read More

Play infinitely looping video on-load in HTML5

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 5K+ Views

The tag specifies video. Currently, there are 3 supported video formats for the element that are MP4, WebM, and Ogg. Autoplay is used to start the video when the video and page loads.The loop attribute is a boolean attribute. When present, it specifies that the video will start over again, every time it is finished.The loop attribute should do it. Your browser does not support the video element. If you have a problem with the loop attribute, listen to the videoEnd event. After that call the play() method when it fires.

Read More

2D transforms in CSS3

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 90 Views

2D transforms are used to re-change the element structure as translate, rotate, scale, and skew.The following table has contained common values that are used in 2D transformsS.NoValues & Description1matrix(n, n, n, n, n, n)Used to defines matrix transforms with six values2translate(x, y)Used to transforms the element along with x-axis and y-axis3translateX(n)Used to transforms the element along with x-axis4translateY(n)Used to transforms the element along with y-axis5scale(x, y)Used to change the width and height of element6scaleX(n)Used to change the width of element7scaleY(n)Used to change the height of element8rotate(angle)Used to rotate the element based on an angle9skewX(angle)Used to defines skew transforms along with ...

Read More

Changing Parameters on the screen in SAP

SAP
Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 461 Views

You can do this by going to Menu.Navigate to Goto->Text Elements->Selection Text

Read More
Showing 741–749 of 749 articles
« Prev 1 71 72 73 74 75 Next »
Advertisements