Skip to content

Instantly share code, notes, and snippets.

View borisBelloc's full-sized avatar
🎯
Focusing

Boris BELLOC borisBelloc

🎯
Focusing
View GitHub Profile
@borisBelloc
borisBelloc / FrontendFrameworksPopularity.md
Created May 30, 2023 08:28 — forked from tkrotoff/FrontendFrameworksPopularity.md
Front-end frameworks popularity (React, Vue, Angular and Svelte)

Findings: React is by far the most popular front-end framework/library (and continues to grow faster). In addition, React is more loved and "wanted" than most front-end frameworks (although it is more used: satisfaction tends to decrease with popularity).

Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.

Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979

Stack Overflow trends

https://insights.stackoverflow.com/trends?tags=reactjs%2Cvue.js%2Cangular%2Csvelte%2Cangularjs%2Cvuejs3

@borisBelloc
borisBelloc / get-form-validation-errors.ts
Created February 8, 2021 15:26 — forked from JohannesHoppe/get-form-validation-errors.ts
Get all validation errors for Angular FormGroup
import { FormGroup, ValidationErrors } from '@angular/forms';
export function getFormValidationErrors(form: FormGroup) {
const result = [];
Object.keys(form.controls).forEach(key => {
const controlErrors: ValidationErrors = form.get(key).errors;
if (controlErrors) {
Object.keys(controlErrors).forEach(keyError => {
@borisBelloc
borisBelloc / bootstrap4_checker.css
Last active June 14, 2020 14:00
Easy way to check bootstrap 4 col, row, container position
[class*="container"] {
// border: 1px solid coral;
}
[class*="row"] {
// border: 1px solid red;
}
[class*="col-"] {
// border: 1px solid yellow;
@borisBelloc
borisBelloc / snippet.html
Last active September 26, 2019 08:50
my HTML snippet to make fast POC/Template (Bootstrap4/jQuery/Popper)
<!DOCTYPE html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='author' content='Boris Belloc'>
<link rel='shortcut icon' type='image/png' href='url' />
<!-- CDN BOOTSTRAP 4.0 -->
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' integrity='sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T' crossorigin='anonymous'>
@borisBelloc
borisBelloc / auto-reload-script.html
Created November 13, 2018 19:51
Javascript auto-refresh page (html / JS)
<!DOCTYPE html>
<head>
<title>POC : Auto-reload script</title>
</head>
<body>
<!--
Add this script into your html page;
inside the <body> </body>