Skip to content

Instantly share code, notes, and snippets.

View denovo's full-sized avatar

Pete Richardson denovo

  • M2A Media
  • London
View GitHub Profile
@denovo
denovo / conventional-commits.md
Created January 24, 2025 09:48 — forked from Zekfad/conventional-commits.md
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries
@denovo
denovo / encoding-video.md
Created February 21, 2018 11:22 — forked from glen-cheney/encoding-video.md
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@denovo
denovo / CSS for <sup> and <sub>
Created July 18, 2017 18:16 — forked from unruthless/CSS for <sup> and <sub>
CSS for <sub> and <sup>
sub, sup {
/* Specified in % so that the sup/sup is the
right size relative to the surrounding text */
font-size: 75%;
/* Zero out the line-height so that it doesn't
interfere with the positioning that follows */
line-height: 0;
/* Where the magic happens: makes all browsers position
@denovo
denovo / 0_reuse_code.js
Created September 30, 2013 08:49
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<section class="panel light-gray-bg">
<div class="content-wrapper">
<div class="row">
<ul class="blocks">
<li>
<div class="media-block region d1-d4 heading-top">
<h2 class="media-heading-top">
Media Heading
</h2>
<a href="#" title="Link title">