Skip to content

Instantly share code, notes, and snippets.

Avinash Avinashachu007

  • Chennai, India
Block or report user

Report or block Avinashachu007

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Avinashachu007 / .gitignore
Created Nov 27, 2018
Gitignore for Java,maven,Eclipse,Spring
View .gitignore
### STS ###
Avinashachu007 / indianCurrency.js
Last active Feb 22, 2017
A library to handle Currencies in JavaScript. By default, It will handle Indian Currency. Change 'Currency.prototype.locale' & 'Currency.prototype.currency' to Handle whatever currency of your wish
View indianCurrency.js
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
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
View PingLocal_IP_Address_in_CMD.bat
@echo Avinash Ravi:
set /p no=Enter Last 3 digits the IP to Ping:
@echo pinging 192.168.1.%no%
ping 192.168.1.%no% -t
Avinashachu007 / index.html
Created May 17, 2016
HTML5 basic template
View index.html
<!DOCTYPE html>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
View Sublime text 3 License
----- BEGIN LICENSE -----
Andrew Weber
Single User License
813A03DD 5E4AD9E6 6C0EEB94 BC99798F
942194A6 02396E98 E62C9979 4BB979FE
91424C9D A45400BF F6747D88 2FB88078
90F5CC94 1CDC92DC 8457107A F151657B
1D22E383 A997F016 42397640 33F41CFC
View powershell-ping-singleIP
$ping = new-object System.Net.NetworkInformation.Ping
$reply = $ping.send('')
if ($reply.status -eq "Success"){
[string]::Format("Reply from {0},time={1}",$reply.Address.ToString(),$reply.RoundtripTime)
$z = []::gethostaddresses($hostname)[0].ipaddresstostring
View ping all.cmd
for /l %i in (1,1,254) do @ping 192.168.1.%i -n 1 -w 100 | find "Reply"
You can’t perform that action at this time.