Brunei Geek Meet : APIs

Continuing on from webhooks of the last meetup we covered APIs in this December’s meetup before breaking into chatting about setting up a developer environment after trying to go through setting up GRPC on a XAMPP VM (unsuccessfully 😢)

Slides at https://slides.com/thewheat/apis

Presentation notes

  • APIs
  • Authorization / Authentication via
    • Simple API keys / Access Tokens
    • More complicated but more flexible Oauth
Oauth flow via https://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2

Hour of Code, APIs and Hack Night

Friday, Dec 14, 2018, 6:30 PM

iCentre
Block B28, Simpang 32-37, Kampung Anggerek Desa, Jalan Berakas Bandar Seri Begawan, BN

7 Geeks Went

It’s the final month of the year and let’s have a night of chatter and code! Last week was the Hour of Code https://hourofcode.com so anybody wanting to learn to code is more than welcome to come and ask questions or if you want to go through any Hour of Code exercises we’ll be available to help guide you through and help you learn! If you’re wanti…

Check out this Meetup →

Advertisement

Brunei Geek Meet : Webhooking around

This month we held the meetup at iCentre thanks to the folks at DARe!

Topic of the month was webhooks with and some interesting links for the night

For the #fixBruneiWebsites session, I took a look at the Telbru website that I mentioned in this tweet having weird horizontal scroll behaviour

That seemed to be fixed with a max-width: 100% definition. Full write up of investigation and ways to check and fix it to come soon!

We saw a couple of new facings and a couple old ones but it was a great time! On to next month as we finish end off the year! 🚀

Webhooking around

Friday, Nov 23, 2018, 6:15 PM

iCentre
Block B28, Simpang 32-37, Kampung Anggerek Desa, Jalan Berakas Bandar Seri Begawan, BN

13 Geeks Went

Happy November everybody! A night of talks and webhooks. We have a spot over at iCentre and if you haven’t checked out their recent renovation works it is now quite a cosy area! Agenda ———– [6:15] Mingle or get some food from Kontena Park [6:30] Intro [6:35] Webhooks: automate your life and work (and possibly even build a business from them?…

Check out this Meetup →

Intro slides for the night which include upcoming tech related events happening in Brunei!

Brunei Geek Meet #4 (12th September 2014)

Thanks to Tru-Synergy for hosting Brunei Geek Meet #4 and thanks for all those who attended! It was a much better turn out than I expected and hope for more meetups to come!

Open Source Involvements: Experience in working on the OpenMRS CPM open source project

thewheat.github.io/presentation-open-source-involvements

  • People Management is essential
    • there is a need to manage expectations
  • High barriers of entry => great killer of enthusiasm
  • Reproducible developer environments
  • Documentation
  • Project Management: list of things to work on
  • Communicate
  • Code
  • It takes time
    • commit 4 – 8 meetups to see where you can contribute
    • nothing is too small
  • Places to contribute
    • OpenHatch is a non-profit dedicated to matching prospective free software contributors with communities, tools, and education. openhatch.org
    • CodeTriage: receive a different open issue in your inbox every day. codetriage.com

Testing: TDD, BDD, WTH?

thewheat.github.io/presentation-testing-tdd-bdd-wth

  • TDD: Test Driven Development (Red, Green, Refactor)
    1. Write test (watch test fail in test suite: Red)
    2. Write code (to make test pass: Green
    3. Refactor
  • BDD: Behaviour Driven Development
    • Focuses on clear understanding of software behavior from stakeholders
    • Focuses on why code should be created: thinking “from the outside in”
      1. Given [initial context]
      2. when [event occurs]
      3. then [ensure some outcomes]
  • Unit Tests
    • Testing core unit of works
    • Isolated: no interaction with other systems (e.g. databases, web services)
  • Integration Tests
    • Test the integration between 2 different “units” / systems (e.g. your core system and the database / web service)
    • Database interaction: test database or in-memory databses (H2 / SQLite)
  • Functional Tests

Long overdue Brunei Geek Meet: 12th September 2014

(Note: Due to conflicting schedules we had to postpone to 12th September from the initial date of 9th)

As I’ll be in the country this coming week, I’ve scheduled a long over due Brunei Geek Meet and hope to share my experiences working on an Open Source project namely the OpenMRS CPM that is hosted weekly by ThoughtWorks.

We’re happy to have Tru Synergy hosting our meetup and hope to see any interested developers / project managers / tech enthusiasts there! The event is free and you can RSVP here.

Agenda: 7pm – 830pm

  • 7:00 – 7:10: Intro
  • 7:10 – 7:40: Talk #1: Open Source Involvements: Experiences from the Trenches of an Open Source Project
  • 7:40 – 8:10: Talk #2: Testing: TDD BDD WTH?
  • 8:10 – 8:30: Discussions
  • 8:30 onwards: Discussions at the bar! (I mean some coffee place)

Open Source Involvements: Experiences from the Trenches of an Open Source Project

Tim will share his experience working on an OpenMRS module for the pass 8 months and discuss ways to get open source projects off the ground, what to expect and how to contribute to them. We can also discuss community projects for Brunei

Testing: TDD BDD WTH?

Testing is a key part in the development life cycle and can provide assurance that your code is doing what it is meant to do. We’ll explore some basics of testing referencing the OpenMRS module in the first talk

RSVP for the Brunei Geek Meet Tuesday 9th September: 7pm – 830pm

Hope to see you there!

Promises and E2E Testing with Protractor – AngularJS Melbourne – 5th August 2014

angular

Event page | Meetup page

Promises

End to End (E2E) testing of JavaScript with JavaScript (Protractor JS)

  • Braiden Judd @pragmaticyclist
  • Slides
  • ProtractorJS Github
  • Similar syntax to Selenium
  • Navigate:
    • browser.get(‘/#/blogs’)
    • browser.refresh()
  • Selecting:
    • element() : single element / first element
    • element.all() : returns an array
    • Examples
      • browser.driver.findElement(by.id(‘ok’)).click();
      • browser.driver.findElement(by.binding(‘blog.title’)).getText();
      • browser.driver.findElement(by.model(‘password’)).sendKeys(‘password’);
      • browser.driver.findElement.all(by.repeater(‘blog in blogs’)).get(0).getText();
  • Events
    • click() : click the element (e.g. button)
    • sendKeys() : type into a text box

Melbourne AWS User Group – 30th July 2014

aws activateEvent page link / Meetup group

AWS Activate

  • From the folks at Amazon
  • AWS Activate
    • Website
    • A program to provide resources to startups: from free tier usage, labs, webinars, support and AWS credit
    • Self-Starter Package: for any startups
    • Portfolio Package: for startups in select accelerators or seed funds. Will be ‘audited’ by Amazon and will be given much better benefits vs Self-Start Package

Cloud Computing in Africa

  • From Thomas Shaw, the tech man behind
  • Providing unique perspectives with regards to security, reliability, scalability of AWS especially compared to local hosting.

Microservices

Other

  • Kestral
    • AWS management console for the iPhone
    • In development by Rob Amos @bok_

 

Introduction to Chef Meetup – 28th July 2014

28th July 2014 – Introduction to Chef held at Sacon Group for the Chef Meetup group

Chef and Chef DK: The Chef Development Kit

chef and chefdk

  • by Michael Ducy (@mfdii), a Global Partner Evangelist at Chef
  • PDF slides
  • Chef essentially enables the “infrastructure as code” devops movement
    • Versionable, testable, and repeatable as application code
    • Relies on reusable definitions known as recipes to automate infrastructure tasks
    • Recipes use building blocks called resources (e.g. file / template / package)
    • Recipes are stored in cookbooks
    • A cookbook is the fundamental unit of configuration and policy distribution
    • Chef server stores your recipes as well as other configuration data
    • Chef client is installed on each node in your network
    • Chef client periodically polls the Chef server for new configurations and applies if necessary
  • Chef DK
    • A component of Chef to enable organizations to develop internal best practices for Cookbook development and testing
    • A curated set of open source tools for Cookbook development
    • Download at http://downloads.getchef.com/chef-dk
  • Tools
    • chef – a new command to make development easier
    • Berkshelf – automatically resolve cookbook dependencies
    • Test Kitchen – framework for integration testing
    • ChefSpec – unit testing of Chef cookbooks
    • Food Critic – linting tool for Chef cookbooks
    • Standard Chef tools – knife, chef-zero, ohai, chef-client
  • Other Links

Kumolus

kumolus

MelbDjango Hackfest – 24th July 2014

24th July 2014 MelbDjango Hackfest held at Common Code and hosted by Curtis Maloney for the MelbDjango Meetup group.

Mostly being newbies and with some people interested in testing, Curtis started off showcasing his new Django Classy Settings before covering some topics on testing and other miscellany

TAkeaways / Links from the night