package com.java.difference;
import java.math.BigInteger;
import java.util.Random;
import java.util.Scanner;
/**
* Difference between large random numbers.
*/
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> | |
<head> | |
<meta charset=utf-8 /> | |
<title>Round-Cornered Square</title> | |
<style type="text/css"> | |
.polygon { | |
margin: 5px 0 5px 20px; | |
width: 150px; | |
height: 150px; |
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> | |
<head> | |
<script> | |
function today() | |
{ | |
var day = new Date(); | |
var dayNames = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", | |
"Thursday", "Friday", "Saturday"); | |
var x = document.getElementById("myDay"); |
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
#!/bin/sh | |
####################################################### | |
# UNIX TREE # | |
# Version: 2.3 # | |
# File: ~/apps/tree/tree.sh # | |
# # | |
# Displays Structure of Directory Hierarchy # | |
# ------------------------------------------------- # | |
# This tiny script uses "ls", "grep", and "sed" # | |
# in a single command to show the nesting of # |
Clone existing repository
git clone <link to repository>
Changes in working directory
git status -s
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
/** | |
* A class to illustrate the use of Apache Commens Net FTP connection. | |
* | |
* @author Kranthi Lakum | |
*/ | |
public class FileTransfer | |
{ | |
private static FTPClient theFtpClient = new FTPClient(); | |
private static int theCode; | |
private static Logger myLogger = LoggerFactory.getLogger(FileTransfer.class); |
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
/** | |
* An implementation of a {@link Rule} overriding {@link TestWatcher} methods. | |
* A class only to be used for logging test cases activities. | |
* | |
* @author Kranthi Lakum | |
* | |
*/ | |
public class TestWatch extends TestWatcher | |
{ | |
// SLF4J Logger instance for this class. |
NewerOlder