Sunday, January 29, 2017

How to use Git Client to Trace Commit History

Git is good to keep track of your code changes, especially if you do commit every time you proceed each step when you do Test-Driven Development (TDD). Moreover, you can share to others on how did you do TDD step-by-step with explanation in the commit message.

Before starting with Git, get yourself familiar with it first from this blog: Learn Git within 7 Minutes and Play Around with It. Or you can follow steps below on how you can use Git client to track code changes.

Saturday, January 21, 2017

A Few Exercises for You to Practice Test-Driven Development (TDD)

From the TDD training class I attended last December, there were workshops with interesting exercises which I think it would be useful for everyone who new to TDD to practice or want explore the feeling of TDD.

There a lot of Kata for you to practice TDD out there. But if you don't know which one to start with here you can take these as your first 3 exercises. Good luck and enjoy TDD!

Sunday, January 8, 2017

Setting up SAP ABAP/BW/HANA 7.50 Platform in Microsoft Azure

This blog post is available on Medium. Click here to see this story on Medium.

If you want to have fully-functional SAP platform to try out ABAP, BW, HANA DB, SAPUI5, etc., this guide will show you how to setup SAP NetWeaver AS ABAP and SAP BW 7.5 SP01 on SAP HANA SP10 [Developer Edition] on the Azure. (AWS option is also available)

Before you start, make sure you have a Microsoft Azure account with an active subscription. Please note that the SAP platform is free to try with 90-day license but you have to pay the cloud for using their resource. If you have a MSDN Pro/Enterprise subscription, you are able to claim Azure free credit $ from this page.

Once you have Azure ID and subscription, then you are good to go:

Saturday, January 7, 2017

Two Versions of ABAP Syntax Highlighting in Notepad++

This blog post is available on Medium. Click here to view this story on Medium.

It was quite confusing for me before I figured out that the User Defined Language (UDL) in Notepad++ have 2 different versions i.e. v1 and v2 which are not compatible with each other as well as the UDL XML file used for import/export.

In Notepad++, there is a feature which you can define your own language for syntax highlighting i.e. User Defined Language (UDL). UDL can be exported and imported with XML file. There are a bunch of UDL files available here (include 2 files for ABAP) so you don't need to define everything by yourself.

However, there are two versions of UDL and they are not compatible with each other. So before import a new UDL file, you should check the version first. Here is how to check:

Wednesday, January 4, 2017

Tuesday, January 3, 2017

How-To Backup and Restore Your Jenkins Data Volume in Docker

Refer to the instructions on this page, you can normally use command docker commit to create your own image from your container and even publish it to Docker Hub so everyone else can reuse your image.

However, Jenkins images declares the jenkins home directory (/var/jenkins_home) as a volume (See reference) so you cannot use the command docker commit to create the image as your changes made to Jenkins won't go with the image. You have to make a backup of your data volume instead (refer instructions on this page).

Here are the instructions to backup your Jenkins data from your Jenkins container (recently created from this blog), and how-to restore it:

Monday, January 2, 2017

Learn Git within 7 Minutes and Play Around with It

Yesterday, I watched a VDO on about Git for beginner and I found it is really interesting especially for those who new to Git (like me! 😅). The video is from CodingDojo.

Here is the infographic published on their page.

So let's play around with it! But first thing to do is to install Git client from here. Once installed then you are ready to play.

Sunday, January 1, 2017

Architecting for Continuous Delivery - Jez Humble - Summary

I got a link to this video from Nont just before the Christmas weekend and watched it a few days ago.

Jez is the author of Continuous Delivery and Lean Enterprise. In this video, he talked about Architecting for Continuous Delivery in DevOps Enterprise Summit on 20 Oct 2015.

He brought the DevOps topic to another level so DevOps is not just how to make continuous integration and continuous delivery but it also involves changes in organizational culture and system architecture to support such process.

Here are what I captured from the video: