Developer blog

Java in Windows: Hello World

Hello World in Java This article will run through the installation of Java JDK, and the creation of the traditional “Hello World” program in Java. These steps are for Windows 10 Pro 64-bit. Install Java JDK Download the latest Jave SE JDK from Oracle. I’m using version jdk-8u121-windows-x64. Run the installation. You can accept all the defaults, or review them and change as needed. I installed to a custom directory C:\Dev\Java\.

Hugo Shortcodes

Today I want to share my first glance at Hugo Shortcodes. Previously I have installed Hugo and everything is working nicely, but content authoring is where I’ll spend most of my time with Hugo, so understanding the formatting options is important. This article will introduce two simple examples of formatting and arranging content in Hugo. The traditional CSS approach We can use CSS as we would in any site:

Ethereum: Creating a Block Explorer with React (Part 2)

Listing Recent Blocks in React This article continues the development of an Ethereum block explorer built in React. I’ll continue right from where I left off in part one, so get ready. I hope you enjoy it. Previously… Check out these previous articles which describe setting up the dev environment and the first part of the app: Ethereum: Creating a Block Explorer with React (Part 1) Ethereum: Deploying to a Private Blockchain Ethereum: Setting up a development environment Getting started Change directory into the project folder blockexp and start the development server:

Ethereum: Creating a Block Explorer with React (Part 1)

Create a basic React app This is the first article in a mini-series that will step through building a simple Ethereum block explorer using React and web3. This first article covers creating and configuring the basic React app ‘skeleton’, while later articles will build out the functionality. React is a JavaScript library for building user interfaces created by the folk at Facebook. Read more about it here: https://facebook.github.io/react/. These steps we documented against Ubuntu 16.

Install Nodejs on Windows

In this article we will get started using Node.js, a JavaScript runtime built on Chrome’s V8 JavaScript engine. We’ll also use the Node Package Manager (npm) to install a popular module called Express. I’m using Windows 10 Pro x64 for these steps. Install Node.js First step is to download the Windows installer from the official website https://nodejs.org/ I’ve got version v7.6.0 Current Run the installer and follow the prompts.

Ethereum: EthExplorer block explorer

In this article I’ll walk through installing EthExplorer, a block explorer for Ethereum, in Ubuntu. For these steps, I’m running my Ubuntu instance in VirtualBox on a Windows 10 host. We’ll be following on from where we left off in the last article, Ethereum: Deploying to a Private Blockchain. There’s a few different open-source block explorer options available for Ethereum, including etherparty EthExplorer and it’s cousin, carsenk: https://github.com/etherparty/explorer https://github.

Ethereum: Deploy on a Private Blockchain

truffle, geth, and private blockchains A brief introduction to deploying smart contracts on a private blockchain with truffle and geth. Previously we went through setting up an Ethereum development environment with truffle and testrpc, and deploying a simple smart contract written in Solidity. Now we will take it a step further using truffle and geth to deploy a smart contract on a private blockchain. First, we will use geth to start a single node running locally on Ubuntu, then we’ll use truffle to deploy our smart contract.

Atom: Using remote-sync in Windows 10

1. Install remote-sync package (local) We can use the remote-sync package to connect to an Ubuntu remote server via SCP/SFTP or FTP. Read more about remote-sync here: https://atom.io/packages/remote-sync Open Atom and select File > Settings > Install In the Search Packages text box, type remote-sync and hit enter. Then click Install from the search results. 2. Configure remote-sync (local) For this step we will assume that Atom is being used locally to modify a project folder hosted on a remote server (e.

Ethereum: Intro to Smart Contracts with Solidity and Truffle

‘Hello World’ Smart Contract with Truffle & testrpc Previously we setup an ethereum dev environment with truffle and ethereumjs-testrpc. This article will step through using truffle to create a basic hello world smart contract in Solidity, and deploying it locally with ethereumjs-testrpc. First, create a new directory to work from. In Ubuntu type: mkdir helloworld cd helloworld Then run truffle init to create a new app truffle init This creates some new folders and files:

Atom: Using remote-atom in Windows 10

Today we will go through installing the hackable text editor Atom on Windows 10. Then we’ll install and configure the remote-atom package, which will allow us to edit files stored on a remote Ubuntu server. For these steps I’m using Ubuntu 16 on VirtualBox (remote), all running on a Windows 10 host (local), as described in this previous article. remote-atom uses rmate and SSH port forward to transfer files. Note that rmate does not support opening an entire directory, which is a feature lots of people find useful in Atom.