Aug 13, 2016 · 6 minute read · Comments
Intro Github the is the most widely used code repository around, one of the best features is that almost everything you can do to a code repository is exposed thru apis and events. In this article, we will investigate how to receive those events, parse them and act on them using the api. In another article (Part 2) we will investigate the Jenkins API and show how you can trigger a jenkins job after receiving an event from github and wait for a response to provide Github an actual status.
Read On →
Aug 9, 2016 · 2 minute read · Comments
Intro This week I needed to access an Orable DB from GO and so I embarked on a journey that lasted almost 2 days. Everywhere I looked the documentation on how to get this going was not very intuitive so once I actually got it going, I decided to write my own how-to in order not to forget it.
How-To Download Client files: instantclient-basic-macos.x64-12.1.0.2.0.zip instantclient-sdk-macos.x64-12.1.0.2.0.zip instantclient-sqlplus-macos.x64-12.1.0.2.0.zip unzip in one directory say: /Oracle (this will create the /Oracle/instantclient_12_1 directory) Create the oci8.
Read On →
Apr 24, 2016 · 4 minute read · Comments
<<< Part 3: Items and Tresure
Intro (Putting it all together) Welcome back to part 4 of Writing a Text Adventure in Go. In the last 3 parts we created individual systems to handle maps+events, combat, and items. In this part we will put it all together into one application that runs a Text Adventure from A to Z. In order to get this done we will create a project which will have several files to make the code more easily understood and in addition to this refactoring we will then make a few changes for the basic user interface.
Read On →
Apr 3, 2016 · 5 minute read · Comments
<<< Part 2: Combat Part 4: Putting it all together >>>
Intro (Items and Treasure) The last time I promised to merge all the code and create items that could be used in the text adventure, unfortunately I have to apologize because of my other current commitments I could only get some of that done. So in this installment I will show you how to create items that can be in a specific location and make some items dependant on the adventurer having other items on him/her to use them.
Read On →
Mar 29, 2016 · 4 minute read · Comments
Intro After the NPM problems that our friends in the NodeJS World experienced, I became more interested in how Go handled dependancies. If you have spent a bit of time in Go you no doubt will say: “Hey we just use the GOPATH and put it all in there, all’s well. I have also heard many times that people just create one GOPATH per project (I did this too). If you use One GOPATH like most of us do you may eventually encouter problems (i.
Read On →