Categorize even more pages

This commit is contained in:
Rico Sta. Cruz 2015-11-24 16:02:17 +11:00
parent 0195460667
commit a9236bfe5a
97 changed files with 120 additions and 46 deletions

View File

@ -13,7 +13,7 @@ html_class: home
{% if page.category == category %} {% if page.category == category %}
<a href="{{base}}{{ page.url }}"> <a href="{{base}}{{ page.url }}">
<span class='title'>{{ page.title }}</span> <span class='title'>{{ page.title }}</span>
<span class='date'>{{ page.url }}</span> <span class='date'>{{ page.url | remove: '.html' | remove: '/' }}</span>
</a> </a>
{% endif %} {% endif %}
{% endfor %} {% endfor %}

View File

@ -38,14 +38,20 @@ analytics:
id: "UA-20473929-1" id: "UA-20473929-1"
category_names: category_names:
- Ruby
- Ansible - Ansible
- Git
- Apps - Apps
- JavaScript - CLI
- Node.js
- HTML
- CSS - CSS
- Command line - Command line
- Devops
- Git
- HTML
- JavaScript
- JavaScript libraries
- Markup
- Node.js
- Rails
- Ruby
- Ruby libraries
- VIM - VIM
- Others - Others

View File

@ -1,5 +1,5 @@
--- ---
title: Ansible - Getting started title: Getting started
category: Ansible category: Ansible
--- ---

View File

@ -1,6 +1,6 @@
--- ---
title: Arel title: Arel
category: Ruby category: Rails
--- ---
### Tables ### Tables

View File

@ -1,5 +1,6 @@
--- ---
title: bluebird.js title: bluebird.js
category: JavaScript libraries
--- ---
Also see the [promise cheatsheet](promise.html) and [Bluebird.js API](https://github.com/petkaantonov/bluebird/blob/master/API.md) (github.com). Also see the [promise cheatsheet](promise.html) and [Bluebird.js API](https://github.com/petkaantonov/bluebird/blob/master/API.md) (github.com).

View File

@ -1,5 +1,6 @@
--- ---
title: Bookshelf.js title: Bookshelf.js
category: JavaScript libraries
--- ---
Model Model

View File

@ -1,5 +1,6 @@
--- ---
title: Bower API title: Bower API
category: JavaScript libraries
--- ---
require('bower').config require('bower').config

View File

@ -1,5 +1,6 @@
--- ---
title: Browsersync title: Browsersync
category: JavaScript libraries
--- ---
``` ```

View File

@ -1,5 +1,6 @@
--- ---
title: Browserify title: Browserify
category: JavaScript libraries
--- ---
browserify input.js browserify input.js

View File

@ -1,5 +1,6 @@
--- ---
title: Brunch title: Brunch
category: JavaScript libraries
--- ---
## Paths ## Paths

View File

@ -1,5 +1,6 @@
--- ---
title: Canvas title: Canvas
category: JavaScript
--- ---
### Getting the context ### Getting the context

View File

@ -1,5 +1,6 @@
--- ---
title: Chef title: Chef
category: Devops
--- ---
### Install ### Install

View File

@ -1,5 +1,6 @@
--- ---
title: Chunky PNG title: Chunky PNG
category: Ruby libraries
--- ---
### Loading ### Loading

1
co.md
View File

@ -1,5 +1,6 @@
--- ---
title: co title: co
category: JavaScript libraries
--- ---
[co]: https://github.com/tj/co [co]: https://github.com/tj/co

View File

@ -1,5 +1,6 @@
--- ---
title: Cron title: Cron
category: CLI
--- ---
### Format ### Format

View File

@ -1,6 +1,6 @@
--- ---
title: Curl title: Curl
category: Command line category: CLI
--- ---
Options: Options:

View File

@ -1,5 +1,6 @@
--- ---
title: Deis title: Deis
category: Devops
--- ---
### Deploy ### Deploy

View File

@ -1,5 +1,6 @@
--- ---
title: Docker on OSX title: Docker on OSX
category: Devops
--- ---
You'll need these: You'll need these:

View File

@ -1,5 +1,6 @@
--- ---
title: docker title: Docker CLI
category: Devops
--- ---
Manage images Manage images

View File

@ -1,5 +1,6 @@
--- ---
title: Dockerfile title: Dockerfile
category: Devops
--- ---
### Inheritance ### Inheritance

1
ec2.md
View File

@ -1,5 +1,6 @@
--- ---
title: EC2 API tools title: EC2 API tools
category: Devops
--- ---
### Install ### Install

View File

@ -1,5 +1,6 @@
--- ---
title: Email title: Email
category: HTML
--- ---
### Avoid these ### Avoid these

3
es6.md
View File

@ -1,5 +1,6 @@
--- ---
title: ES6 title: ES2015
category: JavaScript
--- ---
## Stable in io.js ## Stable in io.js

View File

@ -1,5 +1,6 @@
--- ---
title: eslint title: eslint
category: JavaScript libraries
--- ---
```js ```js

View File

@ -1,5 +1,6 @@
--- ---
title: expect.js title: expect.js
category: JavaScript libraries
--- ---
```js ```js

View File

@ -1,5 +1,6 @@
--- ---
title: Express.js title: Express.js
category: JavaScript libraries
--- ---
### Settings ### Settings

View File

@ -1,5 +1,6 @@
--- ---
title: FactoryGirl title: FactoryGirl
category: Ruby libraries
--- ---
### Paths ### Paths

View File

@ -1,5 +1,6 @@
--- ---
title: FFaker title: FFaker
category: Ruby libraries
--- ---
# gem install ffaker # gem install ffaker

View File

@ -1,6 +1,6 @@
--- ---
title: Find title: Find
category: Command line category: CLI
--- ---
### Usage ### Usage

View File

@ -1,5 +1,6 @@
--- ---
title: Fish shell title: Fish shell
category: CLI
--- ---
## Function ## Function

View File

@ -1,5 +1,6 @@
--- ---
title: Flashlight title: Flashlight
category: Apps
--- ---
* add Dinner with Pancho 5 pm tomorrow * add Dinner with Pancho 5 pm tomorrow

View File

@ -1,5 +1,6 @@
--- ---
title: Gremlins.js title: Gremlins.js
category: JavaScript libraries
--- ---
### Example ### Example

View File

@ -1,6 +1,6 @@
--- ---
title: Gulp title: Gulp
category: JavaScript category: JavaScript libraries
--- ---
* gulp-ruby-sass * gulp-ruby-sass

View File

@ -1,6 +1,6 @@
--- ---
title: Handlebars.js title: Handlebars.js
category: JavaScript category: JavaScript libraries
--- ---
### Helpers ### Helpers

View File

@ -1,6 +1,6 @@
--- ---
title: Harvey.js title: Harvey.js
category: JavaScript category: JavaScript libraries
--- ---
### Usage ### Usage

View File

@ -1,5 +1,6 @@
--- ---
title: HTML/CSS title: HTML/CSS
category: HTML
--- ---
### CSS - Selectors ### CSS - Selectors

View File

@ -1,5 +1,6 @@
--- ---
title: "HTML: input tag" title: Input tag
category: HTML
--- ---
<input ... <input ...

View File

@ -1,5 +1,6 @@
--- ---
title: "HTML: meta tags" title: Meta tags
category: HTML
--- ---
```html ```html

View File

@ -1,5 +1,6 @@
--- ---
title: "HTML: microformats" title: Microformats
category: HTML
--- ---
### Author ### Author

View File

@ -1,5 +1,6 @@
--- ---
title: HTML title: HTML
category: HTML
--- ---
### Head stuff ### Head stuff

View File

@ -1,5 +1,6 @@
--- ---
title: Immutable.js title: Immutable.js
category: JavaScript libraries
--- ---
```js ```js

View File

@ -1,5 +1,6 @@
--- ---
title: Jasmine title: Jasmine
category: JavaScript libraries
--- ---
describe("A suite", function() { describe("A suite", function() {

View File

@ -1,6 +1,6 @@
--- ---
title: jQuery CDN title: jQuery CDN
category: JavaScript category: JavaScript libraries
--- ---
### Google jQuery ### Google jQuery

View File

@ -1,6 +1,6 @@
--- ---
title: jQuery title: jQuery
category: JavaScript category: JavaScript libraries
--- ---
### Traversing ### Traversing

View File

@ -1,5 +1,6 @@
--- ---
title: Kramdown title: Kramdown
category: Markup
--- ---
### Configuration ### Configuration

View File

@ -1,5 +1,6 @@
--- ---
title: Machinist title: Machinist
category: Ruby libraries
--- ---
### Installing ### Installing

View File

@ -1,5 +1,6 @@
--- ---
title: Markdown title: Markdown
category: Markup
--- ---
### Headers ### Headers

View File

@ -1,5 +1,6 @@
--- ---
title: Metalsmith title: Metalsmith
category: JavaScript libraries
--- ---
### [metalsmith-templates](https://www.npmjs.com/package/metalsmith-templates) ### [metalsmith-templates](https://www.npmjs.com/package/metalsmith-templates)

View File

@ -1,5 +1,6 @@
--- ---
title: Middleman 3 title: Middleman 3
category: JavaScript libraries
--- ---
**NB:** This is for Middleman 3, not Middleman 4+. **NB:** This is for Middleman 3, not Middleman 4+.

View File

@ -1,5 +1,6 @@
--- ---
title: minimist title: minimist
category: JavaScript libraries
--- ---
```js ```js

View File

@ -1,5 +1,6 @@
--- ---
title: Minitest title: Minitest
category: Ruby
--- ---
### Usage ### Usage

View File

@ -1,5 +1,6 @@
--- ---
title: Mocha blanket title: Mocha blanket
category: JavaScript libraries
--- ---
Use [blanket] for easy coverage reporting. Use [blanket] for easy coverage reporting.

View File

@ -1,5 +1,6 @@
--- ---
title: Mocha HTML title: Mocha HTML
category: JavaScript libraries
--- ---
This is a mocha template that loads js/css from cdn. This is a mocha template that loads js/css from cdn.

View File

@ -1,5 +1,6 @@
--- ---
title: Mocha.js - TDD interface title: Mocha.js TDD interface
category: JavaScript libraries
--- ---
### TDD ### TDD

View File

@ -1,5 +1,6 @@
--- ---
title: Mocha.js title: Mocha.js
category: JavaScript libraries
--- ---
### BDD ### BDD

View File

@ -1,5 +1,6 @@
--- ---
title: Modella title: Modella
category: JavaScript libraries
--- ---
### Basic ### Basic

View File

@ -1,5 +1,6 @@
--- ---
title: Modernizr title: Modernizr
category: JavaScript libraries
--- ---
### Script ### Script

View File

@ -1,5 +1,6 @@
--- ---
title: Moment.js title: Moment.js
category: JavaScript libraries
--- ---
### Formatting ### Formatting

View File

@ -1,5 +1,6 @@
--- ---
title: ncftp title: ncftp
category: CLI
--- ---
Bookmarking Bookmarking

View File

@ -1,5 +1,6 @@
--- ---
title: Nock title: Nock
category: JavaScript libraries
--- ---
### Nock ### Nock

View File

@ -1,6 +1,6 @@
--- ---
title: Nopt title: Nopt
category: JavaScript category: JavaScript libraries
--- ---
```js ```js

View File

@ -1,5 +1,6 @@
--- ---
title: Package.json title: Package.json
category: Node.js
--- ---
### Basic ### Basic

2
pry.md
View File

@ -1,6 +1,6 @@
--- ---
title: Pry title: Pry
category: Ruby category: Ruby libraries
--- ---
### cd ### cd

View File

@ -1,5 +1,6 @@
--- ---
title: PSD.rb title: PSD.rb
category: Ruby libraries
--- ---
### Opening ### Opening

1
qjs.md
View File

@ -1,5 +1,6 @@
--- ---
title: Q.js title: Q.js
category: JavaScript libraries
--- ---
### Creating promises (Q.promise) ### Creating promises (Q.promise)

View File

@ -1,5 +1,6 @@
--- ---
title: Ractive.js title: Ractive.js
category: JavaScript libraries
vim: ft=javascript vim: ft=javascript
--- ---

View File

@ -1,6 +1,6 @@
--- ---
title: Rails Controllers title: Controllers
category: Ruby category: Rails
--- ---
### Common stuff ### Common stuff

View File

@ -1,6 +1,6 @@
--- ---
title: Rails features title: Rails features
category: Ruby category: Rails
--- ---
### [Page caching](https://github.com/rails/actionpack-page_caching) ### [Page caching](https://github.com/rails/actionpack-page_caching)

View File

@ -1,7 +1,7 @@
--- ---
title: Rails form helpers title: Form helpers
hljs_languages: [haml] hljs_languages: [haml]
category: Ruby category: Rails
--- ---
## Form builder ## Form builder

View File

@ -1,6 +1,6 @@
--- ---
title: Rails gems title: Rails gems
category: Ruby category: Rails
--- ---
### Rico's preferred rails gems ### Rico's preferred rails gems

View File

@ -1,6 +1,6 @@
--- ---
title: Rails helpers title: Helpers
category: Ruby category: Rails
--- ---
### Date ### Date

View File

@ -1,6 +1,6 @@
--- ---
title: Rails i18n title: i18n
category: Ruby category: Rails
--- ---
```rb ```rb

View File

@ -1,6 +1,6 @@
--- ---
title: Rails migrations title: Migrations
category: Ruby category: Rails
--- ---
### Automatically make migrations ### Automatically make migrations

View File

@ -1,6 +1,6 @@
--- ---
title: Rails Models title: Models
category: Ruby category: Rails
--- ---
### [Query methods](http://devdocs.io/rails/activerecord/querymethods#method-i-order) ### [Query methods](http://devdocs.io/rails/activerecord/querymethods#method-i-order)

View File

@ -1,6 +1,6 @@
--- ---
title: Rails plugins title: Rails plugins
category: Ruby category: Rails
--- ---
Generate a plugin Generate a plugin

View File

@ -1,6 +1,6 @@
--- ---
title: Rails routes title: Routes
category: Ruby category: Rails
--- ---
### Multiple resources ### Multiple resources

View File

@ -1,6 +1,6 @@
--- ---
title: Rails tricks title: Rails tricks
category: Ruby category: Rails
--- ---
in config/environments/development.rb: in config/environments/development.rb:

View File

@ -1,6 +1,6 @@
--- ---
title: Rails title: Rails
category: Ruby category: Rails
--- ---
Helpers Helpers

1
rst.md
View File

@ -1,5 +1,6 @@
--- ---
title: ReStructuredText title: ReStructuredText
category: Markup
--- ---
### Comments ### Comments

View File

@ -1,5 +1,6 @@
--- ---
title: Ruby title: Ruby
category: Ruby
--- ---
* `$!` - latest error message * `$!` - latest error message

View File

@ -1,5 +1,6 @@
--- ---
title: Ruby 2.1 title: Ruby 2.1
category: Ruby
--- ---
### Named arguments with defaults ### Named arguments with defaults

View File

@ -1,5 +1,6 @@
--- ---
title: Rubygems title: Rubygems
category: Ruby
--- ---
gem build *.gemspec # Build a gem gem build *.gemspec # Build a gem

1
sed.md
View File

@ -1,5 +1,6 @@
--- ---
title: Sed title: Sed
category: CLI
--- ---
### OSX Caveat ### OSX Caveat

View File

@ -1,5 +1,6 @@
--- ---
title: Sequel title: Sequel
category: Ruby libraries
--- ---
### Open a database ### Open a database

View File

@ -1,5 +1,6 @@
--- ---
title: Sequelize title: Sequelize
category: Ruby libraries
--- ---
### API ### API

View File

@ -1,5 +1,6 @@
--- ---
title: "Shell: named pipes" title: "Shell: named pipes"
category: CLI
--- ---
```sh ```sh

1
sh.md
View File

@ -1,5 +1,6 @@
--- ---
title: Bash scripting title: Bash scripting
category: CLI
--- ---
### Pattern substitution ### Pattern substitution

View File

@ -1,5 +1,6 @@
--- ---
title: Shell.js title: Shell.js
category: JavaScript libraries
--- ---
### Require ### Require

View File

@ -1,5 +1,6 @@
--- ---
title: Sinon-chai title: Sinon-chai
category: JavaScript libraries
--- ---
* [Sinon-chai](https://github.com/domenic/sinon-chai) * [Sinon-chai](https://github.com/domenic/sinon-chai)

View File

@ -1,5 +1,6 @@
--- ---
title: Sinon title: Sinon
category: JavaScript libraries
--- ---
### Creating spies ### Creating spies

View File

@ -1,6 +1,6 @@
--- ---
title: Slim title: Slim
category: Ruby category: Ruby libraries
--- ---
```slim ```slim

View File

@ -1,6 +1,6 @@
--- ---
title: Superagent title: Superagent
category: JavaScript category: JavaScript libraries
--- ---
### Result ### Result

View File

@ -1,5 +1,6 @@
--- ---
title: Textile title: Textile
category: Markup
--- ---
### Pre blocks ### Pre blocks

View File

@ -1,5 +1,6 @@
--- ---
title: Tomdoc title: Tomdoc
category: Markup
--- ---
``` ```

View File

@ -1,6 +1,6 @@
--- ---
title: Underscore-string title: Underscore-string
category: JavaScript category: JavaScript libraries
--- ---
### Usage ### Usage

View File

@ -1,6 +1,6 @@
--- ---
title: Vows title: Vows
category: JavaScript category: JavaScript libraries
--- ---
* [Vowsjs.org](http://vowsjs.org/) * [Vowsjs.org](http://vowsjs.org/)

1
zsh.md
View File

@ -1,5 +1,6 @@
--- ---
title: Zsh title: Zsh
category: CLI
--- ---
### Stuff ### Stuff