Skip to content

Instantly share code, notes, and snippets.

View alessandrogambin's full-sized avatar
🚀
Always going beyond the known

Alessandro Gambin da Silva alessandrogambin

🚀
Always going beyond the known
View GitHub Profile

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@alessandrogambin
alessandrogambin / app.js
Last active November 4, 2019 07:27 — forked from JanainaLudwig/app.js
Frontend reCAPTCHA v3 integration with Laravel (improved with action for current pages instead only page's forms)
require('./bootstrap');
const grecaptchaKeyMeta = document.querySelector("meta[name='grecaptcha-key']");
const grecaptchaKey = grecaptchaKeyMeta.getAttribute('content');
const grecaptchaPageMeta = document.querySelector("meta[name='grecaptcha-page']");
const grecaptchaPage = grecaptchaKeyMeta.getAttribute('content');
grecaptcha.ready(function() {
// Action for the page