Skip to content

Instantly share code, notes, and snippets.

View app.json
[
{
"name" : "my_private_network",
"script" : "app.js",
"log_date_format" : "YYYY-MM-DD HH:mm Z",
"merge_logs" : false,
"watch" : false,
"max_restarts" : 10,
"exec_interpreter" : "node",
"exec_mode" : "fork_mode",
@jhennin
jhennin / custom_genesis_file.json
Last active Oct 3, 2017
Genesis file for private blockchain.
View custom_genesis_file.json
{
"config": {
"chainId": 15,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
},
"difficulty": "400000",
"gasLimit": "2100000",
"alloc": {
@jhennin
jhennin / create_rg.ps1
Last active Jul 27, 2017
Azure Automation: Leveraging Runbooks
View create_rg.ps1
param (
[Parameter(Mandatory=$true)]
[string]
$environment
)
$Conn = Get-AutomationConnection -Name AzureRunAsConnection
Add-AzureRMAccount -ServicePrincipal -Tenant $Conn.TenantID `
-ApplicationId $Conn.ApplicationID -CertificateThumbprint $Conn.CertificateThumbprint
You can’t perform that action at this time.