This article answers the question – what is Docker? Specifically, what is Docker to a developer? Why we would use it?
This article answers the question – what is Docker? Specifically, what is Docker to a developer? Why we would use it?
This tutorial covers a MapBox API Upload uploading GeoJSON data to MapBox using Node.js and MapBox’s mapbox-sdk-js.
In this second part on Amazon’s API Gateway, we walk through step by step, how to create a simple API Gateway endpoint using Amazon Lambda via Node.js to return simple JSON data.
The first part in a multi part series covering building an API with Amazon’s API Gateway.
This first article covers what features a platform should have to build high quality, future proof, scalable APIs on, relating back to how Amazon’s API Gateway covers our requirements. To be specific, this article will not cover best practices for building a great REST service. That is a large topic in itself.
This is Part 3 of the Git tutorial. To see the rest, click here
Git tracks its history using a tree structure behind the scenes. Each entry in the tree is uniquely identified with a SHA hash. When playing with Git you may have seen something like:
What you are looking at is a stack of commits where the SHA hash uniquely identifies each commit. It can be thought of as a unique identifier like a primary key in a database.
Try the following to see some commits in your repository.
git log --oneline
The oldest is at the bottom and the newest at the top. What is not obvious is that the child item has a pointer to its parent(s). In the above scenario each child has one parent and it looks just like a list. Note: In the diagram below we are using alphabet letters instead of SHA hashes.
A commit can have one or more parents. When the commit has two or more parents it is essentially a merge where we have taken content from A and B and made C.
When we download a Git repository we can think of it being almost two separate items. First there are all the files in your project as then there is as an index that tracks the Sha references and which files they each relate to. This index is called the reflog. Not only does it contain these Sha references, it also can contain Tags (which are human-readable labels applied to a single Sha reference) and pointers that identify the Sha reference of each branch in the repository.
I highly recommend this book on Git as it goes really deep into how Git works and is well written.
© 2019 Sebastian Patten
Theme by Anders Noren — Up ↑