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": [ "template": [
"---", "---",
"title: {basename|capitalize}", "title: {basename|capitalize}",
"category: Ruby",
"---" "---"
] ]
} }

View File

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

View File

@ -1,6 +1,6 @@
--- ---
title: Rails features title: Rails features
layout: default category: Ruby
--- ---
### [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: Rails form helpers
layout: default
hljs_languages: [haml] hljs_languages: [haml]
category: Ruby
--- ---
## Form builder ## Form builder

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
--- ---
title: Rails Models title: Rails Models
layout: default category: Ruby
--- ---
### [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
layout: default category: Ruby
--- ---
Generate a plugin Generate a plugin

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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