Add categories

This commit is contained in:
Rico Sta. Cruz 2015-11-24 10:57:56 +11:00
parent a50e37b656
commit 95835808d0
19 changed files with 18 additions and 16 deletions

View File

@ -4,6 +4,7 @@
"template": [
"---",
"title: {basename|capitalize}",
"category: Ruby",
"---"
]
}

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
---
title: Rails gems
layout: default
category: Ruby
---
### Rico's preferred rails gems
@ -22,5 +22,3 @@ Prod:
gem 'bourbon'
gem 'neat'
gem 'turbolinks'
gem 'nkss_rails'
gem 'jquery-turbolinks'

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
---
title: Rake
layout: default
category: Ruby
---
### Basic syntax

View File

@ -1,6 +1,6 @@
---
title: Rdoc
layout: default
category: Ruby
---
### Basic RDoc format

View File

@ -1,5 +1,6 @@
---
title: React-router
category: JavaScript
---
### Basic

View File

@ -1,5 +1,6 @@
---
title: React.js
category: JavaScript
---
{%raw%}

View File

@ -1,5 +1,6 @@
---
title: Redux
category: JavaScript
---
### Stores

View File

@ -1,6 +1,5 @@
---
title: Regexp
layout: default
---
(?P<named_match>...)