Categories

This commit is contained in:
Rico Sta. Cruz 2015-11-24 15:30:17 +11:00
parent bef362e228
commit 8cc346449f
10 changed files with 22 additions and 9 deletions

View File

@ -1,6 +1,6 @@
--- ---
title: Git branches title: Git branches
layout: default category: Git
--- ---
# create a new branch # create a new branch

View File

@ -1,6 +1,6 @@
--- ---
title: Git extras title: Git extras
layout: default category: Git
--- ---
### Git-flow ### Git-flow

View File

@ -1,6 +1,6 @@
--- ---
title: Git log format string title: Git log format string
layout: default category: Git
--- ---
git log --pretty="format: ..." git log --pretty="format: ..."

View File

@ -1,5 +1,6 @@
--- ---
title: git log title: git log
category: Git
--- ---
### Revision ranges ### Revision ranges

View File

@ -1,5 +1,6 @@
--- ---
title: Git revisions title: Git revisions
category: Git
--- ---
### Commits ### Commits

2
git.md
View File

@ -1,6 +1,6 @@
--- ---
title: Git tricks title: Git tricks
layout: default category: Git
--- ---
## Refs ## Refs

View File

@ -1,6 +1,6 @@
--- ---
title: GitHub title: GitHub
layout: default category: Git
--- ---
### URLs ### URLs

3
pry.md
View File

@ -1,7 +1,6 @@
--- ---
title: Pry title: Pry
layout: default category: Ruby
--- ---
### cd ### cd

View File

@ -1,6 +1,6 @@
--- ---
title: Rspec-rails title: Rspec-rails
layout: default category: Ruby
--- ---
### Spec tasks ### Spec tasks
@ -140,3 +140,15 @@ be_routable
have_http_status(500) have_http_status(500)
have_http_status(:created) have_http_status(:created)
``` ```
### Time helpers
```
travel_to Time.new(2014, 11, 14, 01, 04, 44)
...
travel_back
travel_to Time.new(2014, 11, 14, 01, 04, 44) do
...
end
```

View File

@ -1,6 +1,6 @@
--- ---
title: RSpec title: RSpec
layout: default category: Ruby
--- ---
### Invoking tests ### Invoking tests