Thursday, February 23, 2017

Moved! Please follow my new stories on Medium at pacroy.com

I have fallen in love with Medium.com due to its simplicity and clean design. The feature that I love is that you can highlight any texts on articles for later reference and those highlights are even shared to other readers.

I usually make highlights the article or stories I read to capture key points and interesting ideas/quotes which I can come back and refresh those ideas later. In Medium, it even can display the list of your highlights and bookmarked articles so you can come back and see them all easily without clicking into each article.

Please follow my new stories and articles on Medium.
All blog posts here in Blogspot have been imported into my Medium.


😊😊😊😊😊😊😊😊😊😊😊😊😊😊

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: