Posts

Showing posts from October, 2017

A successful Git branching model

Image
Branching workflow using topic and integration branch We will be covering the branching workflow with a simple example. Say for instance, you are currently working on a new feature on the current branch. Suddenly, somebody finds a bug in the production and you are now tasked to fix that bug, parallel to working on the new feature earlier. Before starting on the bug fix, you would want to create a new branch based off the integration branch. This new branch will isolate the bug fix from the new feature that you were working on. When you ready to release the bug fix, merge the bug fix topic branch into the integration branch. Once that is done, you can proceed to switch back to your original feature branch and continue working on the new feature. On your feature branch, you will notice that commit "X", which is the bug fix commit, is needed in order for you to continue implementing the new feature. In other words, you will have to synchronize your current...

JSONPlaceholder

Image
JSONPlaceholder is a free online REST service that you can use whenever you need some fake data. It's great for tutorials, faking a server, sharing code examples, ... Example Run this code in a console or from anywhere (CORS and JSONP supported). var root = 'https://jsonplaceholder.typicode.com' ; $.ajax({ url: root + '/posts/1' , method: 'GET' }).then( function (data) { console .log(data); }); Response example {   " userId ": 1 ,   " id ": 1 ,   " title ": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit" ,   " body ": "quia et suscipit suscipit recusandae consequuntur expedita et cum reprehenderit molestiae ut ut quas totam nostrum rerum est autem sunt rem eveniet architecto" } Resources Inspired by common use cases. /posts 10...

RSA

Image
RSA Key Generator RSA Key Generator RSA  ( Rivest–Shamir–Adleman ) is one of the first practical  public-key cryptosystems  and is widely used for secure data transmission. Key Size 512 bit 512 bit 1024 bit 2048 bit 4096 bit Generate New Keys Generated in 24 ms Private Key Public Key RSA Encryption Test Text to encrypt: This is a test! Encrypt / Decrypt Encrypted: