Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
@roachhd
roachhd / README.md
Last active September 10, 2024 17:31
Feed.xml RSS for Jekyll blog on GitHub pages.

Jekyll RSS Feed Templates.

A few Liquid templates to use for rendering RSS feeds for your Jekyll blog. Featuring four kinds of feeds:

  • feed.xml — Renders the 10 most recent posts.
  • feed.category.xml — Only renders posts for a specific category. This example renders posts for a "miscellaneous" category.
  • feed.links.xml — Only contains posts that link to external websites noted by a link variable in the YAML Front Matter. Not a common Jekyll convention, but a good way to generating a linked list.
  • feed.articles.xml — Only showing articles that don't link to external sites; The opposite of feed.links.xml.
@roachhd
roachhd / Jekyll.md
Last active August 29, 2015 14:10
GitHub Pages Gem 💎 for Jekyll

Jekyll The main event. You'll want to create a file in your site's repository called Gemfile and add the line gem 'github-pages'. After that, simply run the command, bundle install and you're good to go. If you decided to skip step #2, you can still install Jekyll with the command gem install github-pages, but you may run into trouble down the line. Here’s an example of a Gemfile you can use (placed in the root directory of your repository):

source 'https://rubygems.org'
gem 'github-pages'
@roachhd
roachhd / ACTUAL-PROJECTS.md
Last active August 31, 2017 04:05
BADGES ❤ BADGES ❤ BADGES

######notepad Codeship Status for roachhd/Notepad

<a href="http://validator.w3.org/feed/check.cgi?url=http%3A//katieball.me//games/feed.xml"><img src="valid-rss-rogers.png" alt="[Valid RSS]" title="Validate my RSS feed" />RSS feed validation for /Games</a>

######Katieball.me/games RSS feed validation results Feed validation

######Markdown gitbook build status Build Status

@roachhd
roachhd / README.md
Created November 17, 2014 04:04
Anchors in Markdown, GitHub flavour, 😜

Anchors in Markdown

To create an anchor to a heading in github flavored markdown. Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading) so your link should look like so:

[create an anchor](#anchors-in-markdown)

@roachhd
roachhd / README.md
Last active August 29, 2015 14:09
💀 CSS only Skull 💀

#CSS only skull cute

@roachhd
roachhd / kramdown-quick-ref-syntax.md
Created November 14, 2014 11:17
Quick Ref: kramdown for Jekyll & GitHub Pages

Quick Reference

Below are examples of all available structural elements that can be used in a kramdown text. Since the kramdown syntax is a superset of the Markdown syntax, only a small part of the available syntax is not available in standard Markdown syntax. Note, that only the most basic syntax information is given. However, a link to the detailed syntax for each element is provided (which also details the differences to the standard Markdown syntax). The quick reference is for version <%= ::Kramdown::VERSION %> of the syntax documentation.

@roachhd
roachhd / index.html
Created November 12, 2014 13:40
Bootswatch API Demo // source http://jsbin.com/kujexi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bootswatch API Demo</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
<style id="jsbin-css">
body {
padding: 2em;
@roachhd
roachhd / book.json
Last active August 29, 2015 14:09
Quick Ref: GitBookIO ... awesome books via git and GitHub 👍 All the reference you'll ever need (not really, but to get you started) Nice boilerplate config & json too😊
#this sets up the plugin for the auto generated cover
{
"plugins": ["autocover"],
"pluginsConfig": {
"autocover": {
#Configuration for autocover - see cover-plugin-config.md
"title": "My Book",
"author": "Author",
"font": {
@roachhd
roachhd / Yeoman-Please-explain.md
Created November 11, 2014 13:45
Yeoman - Please Explain!

What's Yeoman?

Yeoman helps you kickstart new projects, prescribing best practices and tools to help you stay productive.

To do so, we provide a generator ecosystem. A generator is basically a plugin that can be run with the yo command to scaffold complete projects or useful parts.

Through our official Generators, we promote the "Yeoman workflow". This workflow is a robust and opinionated client-side stack, comprising tools and frameworks that can help developers quickly build beautiful web applications. We take care of providing everything needed to get started without any of the normal headaches associated with a manual setup.

With a modular architecture that can scale out of the box, we leverage the success and lessons learned from several open-source communities to ensure the stack developers use is as intelligent as possible.

@roachhd
roachhd / README.md
Last active August 29, 2015 14:09
grunty grunt stuff

#Get Grunting baby

Must have nodejs, grunt, npm, Not to mention you'll need to get grunt init

#####After that's done then start a grunting baby 😉

grunt-init gruntfile initializes a basic gruntfile. More details