Skip to content

Instantly share code, notes, and snippets.

View johngerome's full-sized avatar
👋
Hi

0x4e32 johngerome

👋
Hi
View GitHub Profile
@johngerome
johngerome / commit-conventions.md
Created May 11, 2025 13:24
conventional commits guide

Conventional Commits Guide

Introduction

Conventional commits provide a consistent way to structure commit messages, which helps with automation, release notes generation, and understanding the history of a project. The format adheres to the following structure:

<type>(<scope>): <message>
[
{
"name":"New South Wales",
"abbreviation":"NSW"
},
{
"name":"Victoria",
"abbreviation":"VIC"
},
{
@johngerome
johngerome / cache-fonts.js
Created February 13, 2017 02:10
non-blocking fonts by caching it.
// to encode a font into Base64 use this tool https://www.npmjs.com/package/font-store
(function (window, document) {
'use strict';
var isModernBrowser = (
'querySelector' in document &&
'localStorage' in window &&
'addEventListener' in window
),
key = 'font',
```
ERROR: Error installing compass:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.1.0/gems/ffi-1.9.10/ext/ffi_c
/usr/bin/ruby2.1 -r ./siteconf20151118-18985-1l1bsx7.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
@johngerome
johngerome / SassMeister-input-HTML.html
Last active August 29, 2015 14:06
CLEANER WAY ON EXTENDING MULTIPLE PLACEHOLDERS (a.k.a Silent Classes) : Generated by SassMeister.com.
<div class="btn-default">Default</div>
<div class="btn-default--flat">Flat</div>
<div class="btn-default--circle">Circle</div>