Skip to content

Instantly share code, notes, and snippets.

View GarthDB's full-sized avatar
🕸️
never updating status

Garth Braithwaite GarthDB

🕸️
never updating status
View GitHub Profile
### Keybase proof
I hereby claim:
* I am garthdb on github.
* I am garthdb (https://keybase.io/garthdb) on keybase.
* I have a public key whose fingerprint is F268 F8AD 4EB3 6667 7A5E 6A77 E5B8 7DFF F559 AFA6
To claim this, I am signing this object:
@GarthDB
GarthDB / gist:54035d5f4abd7ceb9d57
Created October 22, 2014 19:46
Open Source Needs Design Notes

#Open Source Needs Design

1. Question

  • Show of hands
    • Designers
    • Developers
  • Core contributors to an open source project?
    • Any projects have designers?
@GarthDB
GarthDB / sass-bg-prism.svg
Created January 6, 2015 20:59
sass-bg-prism
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@GarthDB
GarthDB / _config.yml
Last active August 29, 2015 14:14
Optimize Jekyll
permalink: /:categories/:title/
highlighter: pygments
url: http://designopen.org
name: Open Source Design
excerpt_separator: <!--more-->
markdown: kramdown
exclude: [vendor]
sass:
sass_dir: _sass
style: compressed
@GarthDB
GarthDB / main.scss
Created February 3, 2015 23:08
Design Open main.scss
@import "normalize";
@import "fonts";
@import "mixins";
@import "base";
@import "type";
@import "article";
@import "header";
@import "footer";
@import "video";
@GarthDB
GarthDB / scssify.html
Created February 3, 2015 23:45
Scssify and inline external Scss
<head>
<style type="text/css">
{% capture include_to_scssify %}
{% include style.scss %}
{% endcapture %}
{{ include_to_scssify | scssify }}
</style>
</head>
@GarthDB
GarthDB / default.html
Created February 4, 2015 00:00
Compress layout frontmatter
---
layout: compress
---
@GarthDB
GarthDB / .travis.yml
Created February 11, 2015 23:06
Design Open .travis.yml
language: ruby
rvm:
- 2.1
script: bundle exec rake test
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
@GarthDB
GarthDB / Rakefile
Created February 11, 2015 23:19
Travis Rakefile
require 'html/proofer'
# rake test
desc "build and test website"
task :test do
sh "bundle exec jekyll build"
HTML::Proofer.new("./_site", {:href_ignore=> ['http://localhost:4000'], :verbose => true}).run
end
@GarthDB
GarthDB / Gemfile
Last active August 29, 2015 14:15
Design Open Gemfile
source 'https://rubygems.org'
gem 'github-pages'
# Test the build
group :test do
gem 'rake'
gem 'html-proofer'
end