Archive

Archive for August, 2018

100% Stateless with JWT (JSON Web Token) by Hubert Sablonnière

August 31, 2018 Leave a comment

In our modern REST architectures, the session cookies of old are getting stale and crusty. It’s time to unbox JSON Web Tokens : a new approach, simpler, 100% stateless and easily scalable.

No more server side session storage. No more session replication across the cluster. Best of all, navigating multiple layers of APIs with only a single connection is much easier.

In this talk, you will discover the inner workings of JWTs. You will see how to handle a client session properly between a browser and a server. We will explore other usages and wrap up with pros and cons.

Hubert Sablonnière
I’m a curious and passionnate Web developer. I’m specialized in HTML, CSS and JavaScript but I also use server side technologies like NodeJS, PHP, Java, Neo4j, Docker…

With OpenDevise I help clients to move their trainings and conference talks to the next level.

My motivation : “To push the technology far enough to find new ways to improve user’s experiences.”

[DUK-7522]

Categories: Interesting Tags:

The Fullstack Tutorial for GraphQL

August 30, 2018 Leave a comment

The free and open-source tutorial to learn all around GraphQL to go from zero to production.

https://www.howtographql.com

Categories: Interesting

FOSS Software Alternative to Popular Proprietary Software

August 29, 2018 Leave a comment
Categories: Interesting

Multiple git user profiles

August 28, 2018 Leave a comment

Problem:
How to have two git user profiles on one machine?

Solution:
From stackoverflow.

Global config ~/.gitconfig

[user]
name = John Doe
email = john@doe.tld

[includeIf “gitdir:~/work/”]
path = ~/work/.gitconfig

Work specific config ~/work/.gitconfig

[user]
email = john.doe@company.tld
name = Nickname # If you do not want to use John Doe

Source:
https://stackoverflow.com/questions/4220416/can-i-specify-multiple-users-for-myself-in-gitconfig

Categories: git

Introduction to Digital Certificates.

August 27, 2018 Leave a comment

This tutorial starts with a review of Symmetric and Asymmetric (PKI) Encryption. It discusses self signed certificates and how an SSL certificate is used in a Client-Server web communication session.

Categories: Interesting Tags: ,

How to write secure code in Python

August 26, 2018 Leave a comment

Since the beginning of the digital age, information has become one of the most valuable resources in the world. Personal information, bank data, logins and passwords – all of this, on one hand, makes life a lot easier in many aspects, and on the other, can be used by attackers to commit actions which will have negative consequences for the owner of this information.

Of course, in order to get hold of this information, you first need to find the vulnerabilities in the software that will allow you to steal important information by interfering with the correct execution of the program. In this article, we’ll look at vulnerabilities that the Python developer have to avoid when creating the software, and also give recommendations for writing secure code.

https://py.checkio.org/blog/how-to-write-secure-code-in-python/

Categories: python

Fantasy Name Generator

August 23, 2018 Leave a comment

To generate some Klingon names instead of using John and Jane Doe.

http://www.fantasynamegenerators.com/star-trek-klingon-names.php

Categories: funny