When we are going to implement the validation module on the Vue.js web applications, we can use the following vuejs validation package https://monterail.github.io/vuelidate/ This is so cool vue validation library you can use easily.
A Complete Guide to Grid
CSS Grid Layout is the most powerful layout system available in CSS. It is a 2-dimensional system, meaning it can handle both columns and rows, unlike flexbox which is largely a 1-dimensional system. You work with Grid Layout by applying CSS rules both to a parent element (which becomes the Grid Container) and to that …
The npm audit command submits a description of the dependencies configured in your package.
Run a security audit SYNOPSIS§ EXAMPLES§ Scan your project for vulnerabilities and automatically install any compatible updates to vulnerable dependencies: Run audit fix without modifying node_modules, but still updating the pkglock: Skip updating devDependencies: Have audit fix install semver-major updates to toplevel dependencies, not just semver-compatible ones: Do a dry run to get an idea of what audit fix will do, and also output install …
Store functions in localStorage
We can only store string data to localStorage and sometimes we need to store methods and invoke later. In order to do this, Javascript provides functionality to stringify methods. Here is an example function. const func = function sum(a, b) { return a + b; } func.toString() returns a string like function sum(a, b) { …
php-cs-fixer
This package make the code style align in php. You can use this with code editors like php or git shell script. The PHP Coding Standards Fixer (PHP CS Fixer) tool fixes your code to follow standards; whether you want to follow PHP coding standards as defined in the PSR-1, PSR-2, etc., or other community …
git rebase -i
This git command make several commits group into 1 commit. git rebase -i HEAD~n You can remove n commits into 1 single or m other commits. After typing the above command, hit enter. Put pick in front of commits which you want to remain. Put squash in front of commits which you want to break. …
Mobile Browser Inspection
We can inspect mobile safari browser as we do on desktop browsers.When we connect mobile device to Mac PC, mobile safari browser appears in desktop safari browser.Then we can inspect mobile browser using our desktop browser – check css, attributes and set break point, etc.Note: This is only available for safari browser
Responsive Table Issue in BootStrap 4
When you use the css class table-responsive in bootstrap4, table will not be full width. This is bootstrap4 issue. To fix this, you need to use table-responsive class in the parent div tag https://stackoverflow.com/questions/41747667/bootstrap-4-responsive-tables-wont-take-up-100-width
YOPmail : Disposable and Free email address
YOPmail’s free, quick and feature rich service guards you against spam, phishing and other online abuses. Protect your actual email, instead use YOPmail’s disposable one to sign-up wherever you want. YOPmail creates temporary inboxes of your choice instantaneously. http://www.yopmail.com/en/ The benefit is that if anyone compromises the address or utilities it in connection with email …
League/Fractal
Fractal provides a presentation and transformation layer for complex data output, the like found in RESTful APIs, and works really well with JSON. Think of this as a view layer for your JSON/YAML/etc. Goals Create a “barrier” between source data and output, so schema changes do not affect users Systematic type-casting of data, to avoid foreach()ing …