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
for /l %i in (1,1,254) do @ping 192.168.1.%i -n 1 -w 100 | find "Reply" |
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
$ping = new-object System.Net.NetworkInformation.Ping | |
$reply = $ping.send('127.0.0.1') | |
if ($reply.status -eq "Success"){ | |
[string]::Format("Reply from {0},time={1}",$reply.Address.ToString(),$reply.RoundtripTime) | |
}else{ | |
$z = [system.net.dns]::gethostaddresses($hostname)[0].ipaddresstostring | |
[string]::Format("FAIL,{0},{1}",$z,"***") | |
} |
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
----- BEGIN LICENSE ----- | |
Andrew Weber | |
Single User License | |
EA7E-855605 | |
813A03DD 5E4AD9E6 6C0EEB94 BC99798F | |
942194A6 02396E98 E62C9979 4BB979FE | |
91424C9D A45400BF F6747D88 2FB88078 | |
90F5CC94 1CDC92DC 8457107A F151657B | |
1D22E383 A997F016 42397640 33F41CFC |
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> | |
<title>SRINAR ELECTRONICS</title> | |
<!--css--> | |
<link href="css/bootstrap.css" rel="stylesheet"> | |
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" /> | |
<!--/css--> | |
<!-- for-mobile-apps --> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
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
@echo Avinash Ravi: https://github.com/Avinashachu007 | |
set /p no=Enter Last 3 digits the IP to Ping: | |
@echo pinging 192.168.1.%no% | |
ping 192.168.1.%no% -t |
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/bash | |
sudo apt-get install dolphin \ | |
&& sudo apt-get install kfinder \ | |
&& sudo apt-get install kde-baseapps\ | |
&& sudo apt-get install sytemsettings\ | |
&& sudo apt-get install exo-utils | |
#Copy and paste above command entirly in your Linux terminal | |
#While you have internet connection. This script will automate | |
#Complete installation of Kde Dolphin File manager in you linux system |
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
Number.prototype.toCurrency = function(){ // Prototype Added to Number property to convert Number into Currncy Object | |
return new Currency(this.valueOf()); | |
}; | |
function Currency(args){ //Important: Currency Object Constructor | |
this.value = args*Currency.prototype.multiple; | |
return this.value; | |
} | |
Currency.prototype.multiple = 1000; // Currency is always in paisa. If u want accuracy of two digit after decimal set it 100; For three digit accuracy set into 1000 | |
Currency.prototype.locale = 'en-IN'; // Currency should be Displayed in Indian Currency format '1,10,00,000'(Crores,Lakhs,Thousands) | |
Currency.prototype.currency = 'INR'; // Symbol shown before the amount |
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
/target/ | |
!.mvn/wrapper/maven-wrapper.jar | |
### STS ### | |
.apt_generated | |
.classpath | |
.factorypath | |
.project | |
.settings | |
.springBeans |
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
#Tomcat Access log | |
server.tomcat.basedir=/home/avinash/logs | |
server.tomcat.accesslog.enabled=true | |
server.tomcat.accesslog.pattern=%t %a "%r" %s (%D ms) | |
#Tomcat Thread | |
server.tomcat.threads.max=1000 // Maximum No. of thread can be created. Default 200 | |
server.tomcat.threads.min-spare=16 //Min no. of Threads(Or Strandby thread) | |
//Maximum no. of Connection allowed Beware if No. max thread is 1000 But Max connection is 300 then 300 requests will be | |
// processed concurretly remaning request will allocated to remaining threads after 300 is processed | |
server.tomcat.max-connections=300 |