Skip to content

Instantly share code, notes, and snippets.

@mekicha
mekicha / layout.pug
Last active December 10, 2023 16:59
Add bootstrap and font awesome libraries to a pug project. Add this to your layout.pug file in the views directory, generated by running `express --view=pug`
doctype html
html
head
title= title
link(rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'
integrity='sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u' crossorigin='anonymous')
link(rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css')
@heycarsten
heycarsten / jazzy-cap.md
Last active August 21, 2017 19:05
Dramatically clean up and jazzify your Capistrano output.

Jazzy Capistrano Output

screenshot

Place the contents below in a file at config/deploy/ext/jazzy.rb:

# coding: utf-8
unless ENV['UNJAZZY']
  STDOUT.sync