Anvi Jain has Published 634 Articles

How to draw sine waves with HTML5 SVG?

Anvi Jain

Anvi Jain

Updated on 16-Dec-2021 10:30:46

569 Views

To draw sine waves with SVG, use the following that closely approximates half of a sine wave. I have used a cubic-bezier approximation. Use the element.Example           SVG                     HTML5 SVG Sine Waves                           Output

C++ Program to Implement the RSA Algorithm

Anvi Jain

Anvi Jain

Updated on 17-May-2021 06:43:38

13K+ Views

RSA is an asymmetric cryptography algorithm which works on two keys-public key and private key.AlgorithmsBegin    1. Choose two prime numbers p and q.    2. Compute n = p*q.    3. Calculate phi = (p-1) * (q-1).    4. Choose an integer e such that 1 < e < ... Read More

Achieve Responsiveness for background image with CSS

Anvi Jain

Anvi Jain

Updated on 04-Jul-2020 06:10:57

105 Views

You can try to run the following code to achieve responsiveness for background image with CSS −ExampleLive Demo                          div {             width: 100%;             height: ... Read More

ORDERBY word in MySQL?

Anvi Jain

Anvi Jain

Updated on 03-Jul-2020 12:01:47

78 Views

To order by word in MySQL, you need to use ORDER BY FIELD(). Let us first create a table −mysql> create table DemoTable (    StudentId int NOT NULL AUTO_INCREMENT PRIMARY KEY,    StudentFirstName varchar(20),    StudentFavouriteSubject varchar(100) ); Query OK, 0 rows affected (0.52 sec)Insert some records in the ... Read More

Create a transition effect on hover pagination with CSS

Anvi Jain

Anvi Jain

Updated on 03-Jul-2020 08:06:04

350 Views

To create a transition effect on hover pagination, use the transition property.ExampleYou can try to run the following code to add transition effect −Live Demo                    .demo {             display: inline-block;         ... Read More

Build Horizontal Navigation Bar with Inline List Items in CSS

Anvi Jain

Anvi Jain

Updated on 02-Jul-2020 14:04:12

624 Views

Use Inline List Items to build a horizontal navigation bar. Set the elements as inline.ExampleYou can try to run the following code to create horizontal navigation bar:Live Demo                    ul {             list-style-type: none; ... Read More

How can I send mail from an iPhone application?

Anvi Jain

Anvi Jain

Updated on 30-Jun-2020 05:25:17

106 Views

To send an email from our application we'll need to use URL Schemes and some action on event of which the email will be sent. We can not actually send email from the application, unless it is an mailing application and we use MessageUI framework of iOS, but we can ... Read More

How to create a WebView in iOS/iPhone?

Anvi Jain

Anvi Jain

Updated on 30-Jun-2020 05:24:12

419 Views

To create a web view in iOS we'll use Webkit framework of iOS. Previously UIWebView was used to create web views but that has been deprecated now.We'll use WebKit View in this project.Create a new project and from object library drag and drop webKit View to the ViewController.Give constraints as ... Read More

Applications of 8212 in mode 0

Anvi Jain

Anvi Jain

Updated on 30-Jun-2020 05:18:41

167 Views

We use Intel 8212 in variety of applications. Let us discuss applications of 8212 in Mode 0It acts as buffer which is gatedBus driver which is Bi-directionalFor Interrupting the input portTo supply of eight instructions based on RST.Intel 8212 as gated buffer: A weak logic signal is converted to a ... Read More

How to use set the priority for a thread in android?

Anvi Jain

Anvi Jain

Updated on 29-Jun-2020 14:57:41

520 Views

Before getting into an example, we should know what thread is. A thread is a lightweight sub-process, it going to do background operations without interrupt to ui. This example demonstrate about How to use set the priority for a thread in android.Step 1 − Create a new project in Android ... Read More

Advertisements