This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="de"> | |
<head> | |
<title>Verticlly Center Text</title> | |
<style> | |
.centre-text { | |
display: table; | |
height: 100px; | |
width: 100%; | |
text-align: center; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="de"> | |
<head> | |
<title>Verticlly Center Text</title> | |
<style> | |
html, body { | |
height: 100%; | |
margin: 0; | |
padding: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!----------------------------------------------- | |
Author: Qaidjohar | |
Date Created: Nov 7 2016 | |
Logical Comment: Leisure Activity | |
------------------------------------------------> | |
<html> | |
<head> | |
<title>Mario</title> | |
<style type="text/css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class LinkedList { | |
static Node First =new Node(); | |
static Node current,last; | |
public static void main(String args[]){ | |
Scanner sc = new Scanner(System.in); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class VigenereCipher { | |
public static void main(String args[]){ | |
Scanner sc = new Scanner(System.in); | |
String plainText; | |
int i,j,p; | |
String key; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ConsoleOutputColorChangeDemo { | |
public static final String RESET = "\u001B[0m"; | |
public static final String BLACK = "\u001B[30m"; | |
public static final String RED = "\u001B[31m"; | |
public static final String GREEN = "\u001B[32m"; | |
public static final String YELLOW = "\u001B[33m"; | |
public static final String BLUE = "\u001B[34m"; | |
public static final String PURPLE = "\u001B[35m"; | |
public static final String CYAN = "\u001B[36m"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Properties; | |
import javax.mail.*; | |
import javax.mail.internet.*; | |
class Mailer{ | |
public static void send(String from,String password,String to,String sub,String msg){ | |
//Get properties object | |
Properties props = new Properties(); | |
props.put("mail.smtp.host", "smtp.gmail.com"); | |
props.put("mail.smtp.socketFactory.port", "465"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class FindDuplicateInArray { | |
public static void main(String args[]){ | |
Scanner sc = new Scanner(System.in); | |
System.out.println("Enter the No of elements: "); | |
int size =sc.nextInt(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package interviewbitProgramming; | |
import java.util.ArrayList; | |
import java.util.Scanner; | |
public class MinStepsInInfiniteGrid { | |
public static void main(String args[]){ | |
System.out.println("Enter the No of Points: "); |