Archive

Archive for September, 2020

How I Structure Go Packages

September 28, 2020 Leave a comment
Categories: Interesting

Microservices in golang

September 25, 2020 Leave a comment

This is a ten part series on writing microservices in Golang. Making use of protobuf and gRPC as the underlying transport protocol. Why? Because it took me a long time to figure this out and settle on a solution that was clear and concise, and I wanted to share what I’d learnt about creating, testing and deploying microservices end-to-end with others new to the scene.

https://ewanvalentine.io/microservices-in-golang-part-1/

Source:
https://weekly.statuscode.com/

Categories: Interesting

Git Internals – Learn Git by Building Your Own Git

September 24, 2020 Leave a comment

ugit: DIY Git in Python
Welcome aboard! We’re going to implement Git in Python to learn more about how Git works on the inside.

This tutorial is different from most Git internals tutorials because we’re not going to talk about Git only with words but also with code! We’re going to write in Python as we go.

This is not a tutorial on using Git! To follow along I advise that you have working knowledge of Git. If you’re a newcomer to Git, this tutorial is probably not the best place to start your Git journey. I suggest coming back here after you’ve used Git a bit and you’re comfortable with making commits, branching, merging, pushing and pulling.

https://www.leshenko.net/p/ugit/

Source:
https://weekly.statuscode.com/

Categories: Interesting

Form Handling in Flask

September 9, 2020 Leave a comment

Forms are an essential part of any web application but unfortunately working with them is quite difficult. It all starts with the client, first, you have to validate the data on client side, then on the server. If that’s not enough, you have take care of all the security concerns like CSRF, XSS, SQL Injection and so on. All in all, that’s a lot of work. Fortunately, we have an excellent library called WTForms to do the heavy lifting for us. Before we learn more about WTForms, the following section gives you a little tour on how you can go about handling forms in Flask without using any library or package.

https://overiq.com/flask-101/form-handling-in-flask/

Categories: flask, Interesting

Securing containers by breaking in

September 4, 2020 Leave a comment

Liran Tal, Lead Developer Advocate at Snyk, discusses best practices for container security and shows how to protect the Docker image by building up a pipeline and development workflow with security testing in mind.
This webinar was run in cooperation with DoiT international and moderated by Spencer Paul, Director of Sales at DoiT.

Git rebasing: What is it and how can you use it?

September 3, 2020 Leave a comment

I’ve talked before about how the history of a codebase is as important as the codebase itself. Rebase is the tool that can make the single biggest impact to achieving this. Prior knowledge of the fundamental concepts of source control is crucial to understanding this post.

Remember, even though you can use Rebase for the following (and maybe more) cases, it remains best practice to commit early and often:

* Edit/rework a commit in the history
* Add a commit into the history of a change set (or branch)
* Remove a commit from the history of a change set (or branch)
* Split a commit into several commits
* Combine a series of commits into one commit
* Re-order commits

https://blog.scottlogic.com/2020/01/09/git-rebasing.html

Categories: Interesting

Conventional Comments

September 2, 2020 Leave a comment
Categories: Interesting