Developer blog

PHP: Enabling cURL in Windows

Recently I was working with some PHP code that made use of cURL, and found it wasn’t enabled on my Windows server. The error was similar to this: Fatal error: Call to undefined function curl_init() The good news is that PHP libcurl is bundled in the Windows PHP installation by default. It just has to be enabled. What is PHP cURL? The official PHP documentation describes the libcurl libarary as

Windows 10: Convert m4a audio files

Converting m4a files in Windows 10 Recently I had to work with an audio file that was formatted as an m4a, which is normally fine in Windows 10, but the particular software I was using had other ideas. The simplest solution seemed to be converting it to a wav. After a quick web search, I found a great free tool - foobar2000. The website describes the software as advanced freeware audio player for the Windows platform.

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

Displaying Block Info in React This article continues the development of an Ethereum block explorer built in React. In part two we built a page that uses web3 to display a list of recent blocks. This third part of the series will continue the development and build a page to display details of an individual block. Previously… Check out these previous articles which describe setting up the dev environment and creating the first parts of the app:

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. In a previous article I described how to install Hugo. 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: traditional CSS, and Hugo shortcodes. The traditional CSS approach We can use CSS in Hugo sites 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.