Skip to content

Instantly share code, notes, and snippets.

<head>
<script type="text/javascript" src="script.js"> </script>
</head>
<body>
<h1> Welcome To Programming </h1>
</body>
https://github.com/ethereum/go-ethereum/wiki/geth
https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options
npm install -g yo
npm install -g generator-webapp
npm install -g gulp
npm install -g bower
installation of prerequisities on windows
1. chocolatey
Git for Windows
choco install git -y
2. Visual Studio Code
choco install visualstudiocode -y
3. Docker
# Create Business Network
yo hyperledger-composer
# Create Business Network archive
composer archive create --sourceType dir --sourceName . -a dist/test.bna
#Take a look at cards
composer card list
variable "accesskey" {
type = "string"
}
variable "secretkey" {
type = "string"
}
variable "private_key_path" {
type ="string"
@shaikkhajaibrahim
shaikkhajaibrahim / stress
Created November 3, 2018 03:10
Stress Installation
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo rpm -ivh epel-release-latest-7.noarch.rpm
sudo yum update -y
sudo yum install stress -y
3 linux machines => Ubuntu 16
1 => Ansible control sever
enable password based authentication
(/etc/ssh/sshd_config )
service sshd restart
user => ansible => adduser
visudo
install ansible
$location = "CentralUs"
$resgName = "networkfromps"
# Create a resource group
$networkresg = New-AzureRmResourceGroup -Name $resgName -Location $location
# create a network
$network = New-AzureRmVirtualNetwork -Name ntier -Location $location -AddressPrefix "10.26.0.0/16" -ResourceGroupName $resgName
# creating Web subnet
$webSubnet = Add-AzureRmVirtualNetworkSubnetConfig -Name "Web" -AddressPrefix "10.26.0.0/24" -VirtualNetwork $network
# Create Business Subnet
$businessSubnet = Add-AzureRmVirtualNetworkSubnetConfig -Name "Business" -AddressPrefix "10.26.1.0/24" -VirtualNetwork $network
https://s3-us-west-2.amazonaws.com/qt-s3-new-testing/gameoflife.war
sudo apt-get install tomcat7
sudo service tocmat7 restart
wget https://s3-us-west-2.amazonaws.com/qt-s3-new-testing/gameoflife.war
into /var/lib/tomcat7/gameoflife.war