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
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.
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:
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\.
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:
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:
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.
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.