
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Rishi Rathor has Published 142 Articles

Rishi Rathor
1K+ Views
setTimeout() function setTimeout( function, duration) − This function calls function after duration milliseconds from now. This goes for one execution. Let’s see an example − It waits for 2000 milliseconds, and then runs the callback function alert(‘Hello’) − setTimeout(function() { alert('Hello');}, 2000); setInterval() function setInterval(function, duration) − This function ... Read More

Rishi Rathor
218 Views
Use the justify-content property with value center to align the flex-items to the center.ExampleYou can try to run the following code to implement the center value −Live Demo .mycontainer { display: flex; ... Read More

Rishi Rathor
134 Views
Use the justify-content property with value space-around to add space near the lines.ExampleYou can try to run the following code to implement the space-around value −Live Demo .mycontainer { display: flex; ... Read More

Rishi Rathor
5K+ Views
To set the button width, use the CSS width property.ExampleYou can try to run the following code to set the width of a button −Live Demo .btn { background-color: yellow; ... Read More

Rishi Rathor
2K+ Views
Sometimes we need to test our iOS app with multiple cases and we may not have physical device all the time. For example if we need to see if image upload is working correctly but we do not have an actual iPhone then we may need to add more images ... Read More

Rishi Rathor
309 Views
The below fig shows clearly how 8212 works in the mode 0Fig: 8212 working in mode 0We use this mode generally when we want 8212 to function like an input port. An input device gets connected to DI7-0, and the microprocessor employed here receives the information on DOs ranging from ... Read More

Rishi Rathor
1K+ Views
In this program we will see how to exchange the content of DE and HL pair.Problem StatementWrite 8085 Assembly language program to swap the content of HL and DE register pair.DiscussionThis process is very simple, 8085 has XCHG instruction. This instruction swaps DE and HL pair content. We are storing ... Read More

Rishi Rathor
1K+ Views
In this program we will see how to add the digits of an 8-bit number.Problem StatementWrite 8085 Assembly language program to add the digits of an 8-bit number stored in memory location 8000H.DiscussionTo get the digits of an 8-bit number, we can use the masking operation. At first we will ... Read More

Rishi Rathor
4K+ Views
To change the background color of a button in iOS application we need to access the property ‘ backgroundColor’ of the UIButton. We can do this in two ways, programmatically and using the storyboard.Method 1 − Using the storyboard editorAdd a button on your storyboard, select it Go to it’s ... Read More

Rishi Rathor
1K+ Views
To detect a shake gesture in iOS UIKit provides three different methods, let’s see them one by one.Method 1 − When the shake gesture begins.override func motionBegan(_ motion: UIEvent.EventSubtype, with event: UIEvent?) { // code you want to implement }Method 2 − When the shake gesture ends.override func motionEnded(_ motion: ... Read More