Jwt auth libraries have one issue. Jwt tokens are base64 encoded and easily decoded so user information like user id, expiration date can be exposed to others.In order to prevent this, Node.js provides a Npm package called crypto. The token generated by crypto package is not decoded.https://nodejs.org/api/crypto.html
Migration in Truffle Framework
There is a default migration script (1_initial_migration.js) in truffle. This migration script is important and if it is removed, truffle can not work. https://truffleframework.com/ https://github.com/trufflesuite/truffle
Introduction About Chatbro
A messenger for your website Synchronized with the Telegram group chat ChatBro is a simple and useful web messenger that can be linked to Telegram and VK. It let your visitors communicate from mobile devices. Design ChatBro in a web constructor to fit your site. Google indexes the history of messages and you will get …
A/B testing
A/B testing is comparing two versions of a web page to see which one performs better. You compare two web pages by showing the two variants (let’s call them A and B) to similar visitors at the same time. The one that gives a better conversion rate, wins!
Trigger in mySql
A trigger is a named database object that is associated with a table, and that activates when a particular event occurs for the table. Some uses for triggers are to perform checks of values to be inserted into a table or to perform calculations on values involved in an update. A trigger is defined to …
Introduction about Netlify
Build, deploy, and managemodern web projects An all-in-one workflow that combines global deployment, continuous integration, and automatic HTTPS. And that’s just the beginning. Go beyond static Nail the fundamentals with rock-solid deployment Deploy to a redundant network of servers with built‑in continuous integration and HTTPS. Add dynamic functionality with built‑in applications Manage user identity, HTML forms, and even …
zencorder
It is a PHP library which provides video processing functionalities(similiar to ffmpeg) You can encode videos by this library. For example: Imagine you are going to extract thumbnails and create a preview when uploading a video on your php project. In the case, you can use this library https://github.com/zencoder/zencoder-php
bignumber.js
bignumber.js is a Javascript library which handles mathematical operations between big numbers (numbers which exceeds the range of current primitive number data types) In Javascript float operation is not absolutely accurate. For example, the result of 0.2 * 0.3 is 0.0599999999…, instead of 0.6. This is acceptable for normal mathematical operations but in crypto space, …
Laravel Polymorphic Relationships
A polymorphic relationship allows the target model to belong to more than one type of model using a single association. One To One (Polymorphic) Table Structure A one-to-one polymorphic relation is similar to a simple one-to-one relation; however, the target model can belong to more than one type of model on a single association. For …
jquery.scrollbar
It is a Javascript library to display customized scrollbar on the browser.Instead of customizing the default scrollbar’s styling, it hides the default scrollbar and generate a new scrollbar using html elements.https://github.com/gromo/jquery.scrollbar