Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
@roachhd
roachhd / .scss-lint.yml
Created December 11, 2014 10:55
.scss-lint.yml ✔
linters:
BorderZero:
enabled: true
CapitalizationInSelector:
enabled: true
ColorKeyword:
enabled: true
@roachhd
roachhd / README.md
Created December 8, 2014 23:09
Games on GitHub

Games on GitHub

Below is a list of open source games and game-related projects that can be found on GitHub - old school text adventures, educational games, 8-bit platform games, browser-based games, indie games, GameJam projects, add-ons/maps/hacks/plugins for commercial games, libraries, frameworks, engines, you name it.

Contributing

If you'd like to add a repository to the list, please create an Issue, or fork this repository and submit a pull request.

Help: MarkDown Help, Markdown Cheatsheet

@roachhd
roachhd / README.md
Last active November 1, 2023 00:50
JEKYLL TIPS 💎. list of posts with excerpt - description or content.

#JEKYLL TIPS 💎.

List of posts with excerpt, description or full post content.

List of posts with except

<ul>
  {% for post in site.posts %}
    <li>
@roachhd
roachhd / .travis.yml
Created December 3, 2014 13:11
Travis.yml basic for github pages ruby gem
language: ruby
script: "bundle exec jekyll build"
# whitelist
branches:
only:
- gh-pages
@roachhd
roachhd / README.md
Last active August 29, 2015 14:10
Jekyll - Quick post word count anx readinv time

Jekyll Word count and reading time

If less than 10 words on the page it wont show the word count.

{% capture words %}
  {{ page.content | number_of_words | minus: 10 }}
{% endcapture %}
{% unless words contains "-" %}
 {{ words | plus: 10 | append: " words" }}
@roachhd
roachhd / README.md
Last active September 26, 2019 21:55
Jekyll - Get a list of PAGES in a given Category -not posts- for

on _config.yml add your index of categories:

categories: [bacon, dogs, cows, mull, stink]

on your page.md inside the front matter add one or more of the categories available in the _config.yml

---
@roachhd
roachhd / README.md
Created November 29, 2014 17:45
GitHub Pages Ruby Gem

GitHub Pages Ruby Gem

A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Jekyll environment in sync with GitHub Pages.

Gem Version Build Status

Usage

Run the following command:

@roachhd
roachhd / README.md
Last active August 29, 2015 14:10
Quotes I like a bit.

Quotes i like.

Don't compare yourself with anyone in this world. If you do so, you are... ~ Bill Gates


>“Gratitude is the inward feeling of kindness received. Thankfulness is the natural impulse to express that feeling. Thanksgiving is the following of that impulse.”

@roachhd
roachhd / README.md
Last active August 29, 2015 14:10
FLATSOC TESTS: INCLUDE MULTIPLE MD FILES IN ONE INDEX.HTML

Multiple markdown files to FlatDoc

fix adds support for Flatdoc.file([ 'file1.md', 'file2.md' ]) for now.

all cleaned & approved for use 😉

Flatdoc.file = function(locations) {
        function loadData(locations, response, callback) {
          if (locations.length === 0) callback(null, response);
          else $.get(locations.shift()).done(function (data) {