We're looking to add a column to the table user
called admin
(boolean
) in an existing database.
migrations
var createThumb = function(fileObj, readStream, writeStream) { | |
// Transform the image into a 10x10px thumbnail | |
gm(readStream, fileObj.name()).resize('10', '10').stream().pipe(writeStream); | |
}; | |
var createWeb = function(fileObj, readStream, writeStream) { | |
// Transform the image into a 10x10px thumbnail | |
gm(readStream, fileObj.name()).resize('320', '180').stream().pipe(writeStream); | |
}; | |
var convertToPng = function(fileObj) { | |
return { |
Jekyll, GitHub's static site generator, and Bootstrap were used to create Whispernote's GitHub Project Page. This document shows how.
I wanted a stylish "brand" page for my project, and I wanted to reuse the README file I had created without a lot of copy/pasting. GitHub's Jekyll allowed me to essentially embed the file as a partial. What I got was really an enhanced README file (thanks to some jQuery and Bootstrap), which is exactly what I wanted.
license: gpl-3.0 |