update some links from http to https where supported (#1647)
This commit is contained in:
parent
b7f08ce1e6
commit
71a0a6582a
|
@ -9,7 +9,7 @@
|
||||||
font-kerning: auto
|
font-kerning: auto
|
||||||
|
|
||||||
// opentype options: kerning, ligatures, horiz ligatures, discretionary ligatures, contextual swash
|
// opentype options: kerning, ligatures, horiz ligatures, discretionary ligatures, contextual swash
|
||||||
// http://en.wikipedia.org/wiki/List_of_typographic_features
|
// https://en.wikipedia.org/wiki/List_of_typographic_features
|
||||||
-webkit-font-feature-settings: "kern", "liga", "dlig", "hlig", "cswh"
|
-webkit-font-feature-settings: "kern", "liga", "dlig", "hlig", "cswh"
|
||||||
font-feature-settings: "kern", "liga", "dlig", "hlig", "cswh"
|
font-feature-settings: "kern", "liga", "dlig", "hlig", "cswh"
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,7 @@ Define your tasks in any of these formats. One-line format is preferred for shor
|
||||||
bare: yes
|
bare: yes
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [git module](http://devdocs.io/ansible/git_module)
|
See: [git module](https://devdocs.io/ansible/git_module)
|
||||||
|
|
||||||
### git_config
|
### git_config
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ See: [git module](http://devdocs.io/ansible/git_module)
|
||||||
value: hi@example.com
|
value: hi@example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [git_config module](http://devdocs.io/ansible/git_config_module)
|
See: [git_config module](https://devdocs.io/ansible/git_config_module)
|
||||||
|
|
||||||
### user
|
### user
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ See: [git_config module](http://devdocs.io/ansible/git_config_module)
|
||||||
comment: "Git Version Control"
|
comment: "Git Version Control"
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [user module](http://devdocs.io/ansible/user_module)
|
See: [user module](https://devdocs.io/ansible/user_module)
|
||||||
|
|
||||||
### service
|
### service
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ See: [user module](http://devdocs.io/ansible/user_module)
|
||||||
enabled: yes # optional
|
enabled: yes # optional
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [service module](http://devdocs.io/ansible/service_module)
|
See: [service module](https://devdocs.io/ansible/service_module)
|
||||||
|
|
||||||
## Shell
|
## Shell
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ See: [service module](http://devdocs.io/ansible/service_module)
|
||||||
echo "multiple lines"
|
echo "multiple lines"
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [shell module](http://devdocs.io/ansible/shell_module)
|
See: [shell module](https://devdocs.io/ansible/shell_module)
|
||||||
|
|
||||||
### script
|
### script
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ See: [shell module](http://devdocs.io/ansible/shell_module)
|
||||||
chdir: /path # cd here before running
|
chdir: /path # cd here before running
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [script module](http://devdocs.io/ansible/script_module)
|
See: [script module](https://devdocs.io/ansible/script_module)
|
||||||
|
|
||||||
## Files
|
## Files
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@ See: [script module](http://devdocs.io/ansible/script_module)
|
||||||
force: yes # ln -nfs
|
force: yes # ln -nfs
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [file module](http://devdocs.io/ansible/file_module)
|
See: [file module](https://devdocs.io/ansible/file_module)
|
||||||
|
|
||||||
### copy
|
### copy
|
||||||
|
|
||||||
|
@ -208,7 +208,7 @@ See: [file module](http://devdocs.io/ansible/file_module)
|
||||||
backup: yes
|
backup: yes
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [copy module](http://devdocs.io/ansible/copy_module)
|
See: [copy module](https://devdocs.io/ansible/copy_module)
|
||||||
|
|
||||||
### template
|
### template
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@ See: [copy module](http://devdocs.io/ansible/copy_module)
|
||||||
backup: yes
|
backup: yes
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [template module](http://devdocs.io/ansible/template_module)
|
See: [template module](https://devdocs.io/ansible/template_module)
|
||||||
|
|
||||||
## Local actions
|
## Local actions
|
||||||
|
|
||||||
|
@ -242,6 +242,6 @@ See: [template module](http://devdocs.io/ansible/template_module)
|
||||||
msg: "Hello {{ var }}"
|
msg: "Hello {{ var }}"
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [debug module](http://devdocs.io/ansible/debug_module)
|
See: [debug module](https://devdocs.io/ansible/debug_module)
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ CACHE MANIFEST
|
||||||
# version
|
# version
|
||||||
|
|
||||||
CACHE:
|
CACHE:
|
||||||
http://www.google.com/jsapi
|
https://www.google.com/jsapi
|
||||||
/assets/app.js
|
/assets/app.js
|
||||||
/assets/bg.png
|
/assets/bg.png
|
||||||
|
|
||||||
|
|
10
awscli.md
10
awscli.md
|
@ -56,15 +56,15 @@ aws configure --profile project2
|
||||||
eb config
|
eb config
|
||||||
```
|
```
|
||||||
|
|
||||||
See: <http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html>
|
See: <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html>
|
||||||
|
|
||||||
## ebextensions
|
## ebextensions
|
||||||
|
|
||||||
* <http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers.html>
|
* <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers.html>
|
||||||
* <http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html>
|
* <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html>
|
||||||
|
|
||||||
## Also see
|
## Also see
|
||||||
|
|
||||||
* [AWS CLI](https://aws.amazon.com/cli/)
|
* [AWS CLI](https://aws.amazon.com/cli/)
|
||||||
* [Documentation](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)
|
* [Documentation](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)
|
||||||
* [All commands](http://docs.aws.amazon.com/cli/latest/reference/#available-services)
|
* [All commands](https://docs.aws.amazon.com/cli/latest/reference/#available-services)
|
||||||
|
|
|
@ -266,7 +266,7 @@ page.status_code == 200
|
||||||
page.response_headers
|
page.response_headers
|
||||||
```
|
```
|
||||||
|
|
||||||
See: <http://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Session>
|
See: <https://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Session>
|
||||||
|
|
||||||
### Poltergeist
|
### Poltergeist
|
||||||
|
|
||||||
|
@ -333,5 +333,5 @@ page.set_rack_session(foo: 'bar')
|
||||||
## See also
|
## See also
|
||||||
{: .-one-column}
|
{: .-one-column}
|
||||||
|
|
||||||
- <http://rubydoc.info/github/jnicklas/capybara/Capybara/RSpecMatchers>
|
- <https://rubydoc.info/github/jnicklas/capybara/Capybara/RSpecMatchers>
|
||||||
- <http://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Matchers>
|
- <https://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Matchers>
|
||||||
|
|
|
@ -194,4 +194,4 @@ Vertically-center all items.
|
||||||
{: .-one-column}
|
{: .-one-column}
|
||||||
|
|
||||||
* [MDN: Using CSS flexbox](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes)
|
* [MDN: Using CSS flexbox](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes)
|
||||||
* [Ultimate flexbox cheatsheet](http://www.sketchingwithcss.com/samplechapter/cheatsheet.html)
|
* [Ultimate flexbox cheatsheet](https://www.sketchingwithcss.com/samplechapter/cheatsheet.html)
|
||||||
|
|
|
@ -186,4 +186,4 @@ Delete all the volumes
|
||||||
Also see
|
Also see
|
||||||
--------
|
--------
|
||||||
|
|
||||||
* [Getting Started](http://www.docker.io/gettingstarted/) _(docker.io)_
|
* [Getting Started](https://www.docker.io/gettingstarted/) _(docker.io)_
|
||||||
|
|
12
enzyme.md
12
enzyme.md
|
@ -18,7 +18,7 @@ keywords:
|
||||||
### Introduction
|
### Introduction
|
||||||
{: .-intro}
|
{: .-intro}
|
||||||
|
|
||||||
[Enzyme](http://airbnb.io/enzyme) lets you write unit tests for React components. This guide covers Enzyme 3.x.
|
[Enzyme](https://airbnb.io/enzyme) lets you write unit tests for React components. This guide covers Enzyme 3.x.
|
||||||
|
|
||||||
- [Enzyme website](https://enzymejs.github.io/enzyme/) _(enzymejs.github.io)_
|
- [Enzyme website](https://enzymejs.github.io/enzyme/) _(enzymejs.github.io)_
|
||||||
|
|
||||||
|
@ -41,8 +41,8 @@ wrap = mount(<MyComponent />)
|
||||||
Shallow wrapping doesn't descend down to sub-components.
|
Shallow wrapping doesn't descend down to sub-components.
|
||||||
A full mount also mounts sub-components.
|
A full mount also mounts sub-components.
|
||||||
|
|
||||||
See: [Shallow rendering](http://airbnb.io/enzyme/docs/api/shallow.html),
|
See: [Shallow rendering](https://airbnb.io/enzyme/docs/api/shallow.html),
|
||||||
[Full rendering](http://airbnb.io/enzyme/docs/api/mount.html)
|
[Full rendering](https://airbnb.io/enzyme/docs/api/mount.html)
|
||||||
|
|
||||||
### Debugging
|
### Debugging
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ console.log(wrap.debug())
|
||||||
|
|
||||||
Shows HTML for debugging purposes.
|
Shows HTML for debugging purposes.
|
||||||
|
|
||||||
See: [debug()](http://airbnb.io/enzyme/docs/api/ReactWrapper/debug.html)
|
See: [debug()](https://airbnb.io/enzyme/docs/api/ReactWrapper/debug.html)
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
{: .-three-column}
|
{: .-three-column}
|
||||||
|
@ -173,7 +173,7 @@ Enzyme.configure({ adapter: new Adapter() })
|
||||||
|
|
||||||
This configures Enzyme for React v16, and Jest to automatically configure Enzyme for you. There are other adapters in Enzyme's installation instructions.
|
This configures Enzyme for React v16, and Jest to automatically configure Enzyme for you. There are other adapters in Enzyme's installation instructions.
|
||||||
|
|
||||||
See: [Installation](http://airbnb.io/enzyme/#installation)
|
See: [Installation](https://airbnb.io/enzyme/#installation)
|
||||||
|
|
||||||
### Jest snapshots
|
### Jest snapshots
|
||||||
|
|
||||||
|
@ -229,7 +229,7 @@ wrap.getElements() // → Array<ReactElement>
|
||||||
wrap.getDOMNode() // → DOMComponent
|
wrap.getDOMNode() // → DOMComponent
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [Full rendering API](http://airbnb.io/enzyme/docs/api/mount.html)
|
See: [Full rendering API](https://airbnb.io/enzyme/docs/api/mount.html)
|
||||||
|
|
||||||
### Actions
|
### Actions
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ updated: 2017-10-11
|
||||||
description: |
|
description: |
|
||||||
A one-page reference to common Heroku-CLI commands.
|
A one-page reference to common Heroku-CLI commands.
|
||||||
intro: |
|
intro: |
|
||||||
[Heroku](http://heroku.com/) is a web hosting platform supporting many languages, and this guide is a reference to Heroku's [command-line interface](http://heroku.com/).
|
[Heroku](https://heroku.com/) is a web hosting platform supporting many languages, and this guide is a reference to Heroku's [command-line interface](https://heroku.com/).
|
||||||
---
|
---
|
||||||
|
|
||||||
### `create` - Create an app
|
### `create` - Create an app
|
||||||
|
|
|
@ -7,8 +7,8 @@ layout: 2017/sheet
|
||||||
### Author
|
### Author
|
||||||
|
|
||||||
``` html
|
``` html
|
||||||
<span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person">
|
<span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="https://schema.org/Person">
|
||||||
<a href="http://AUTHORPAGE" class="entry-author-link" itemprop="url" rel="author">
|
<a href="https://AUTHORPAGE" class="entry-author-link" itemprop="url" rel="author">
|
||||||
<span class="entry-author-name" itemprop="name">AUTHORNAME</span>
|
<span class="entry-author-name" itemprop="name">AUTHORNAME</span>
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
|
36
jekyll.md
36
jekyll.md
|
@ -35,7 +35,7 @@ END
|
||||||
bundle exec jekyll serve
|
bundle exec jekyll serve
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [Jekyll quickstart](http://jekyllrb.com/docs/quickstart/)<br>
|
See: [Jekyll quickstart](https://jekyllrb.com/docs/quickstart/)<br>
|
||||||
See: [github/pages-gem](https://github.com/github/pages-gem)
|
See: [github/pages-gem](https://github.com/github/pages-gem)
|
||||||
|
|
||||||
### Directories
|
### Directories
|
||||||
|
@ -81,7 +81,7 @@ Hello! this is my post.
|
||||||
{: data-line="1,2,3,4"}
|
{: data-line="1,2,3,4"}
|
||||||
|
|
||||||
Attach metadata to a page by adding them on top of the page, delimited by `---`.
|
Attach metadata to a page by adding them on top of the page, delimited by `---`.
|
||||||
See: [Front-matter](http://jekyllrb.com/docs/frontmatter/)
|
See: [Front-matter](https://jekyllrb.com/docs/frontmatter/)
|
||||||
|
|
||||||
### Other frontmatter stuff
|
### Other frontmatter stuff
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ include: ['.htaccess']
|
||||||
```
|
```
|
||||||
|
|
||||||
All config keys are optional.
|
All config keys are optional.
|
||||||
See: [Configuration](http://jekyllrb.com/docs/configuration/)
|
See: [Configuration](https://jekyllrb.com/docs/configuration/)
|
||||||
|
|
||||||
Markup
|
Markup
|
||||||
------
|
------
|
||||||
|
@ -216,7 +216,7 @@ Markup
|
||||||
| `{{ content }}` | HTML content (use in layouts) |
|
| `{{ content }}` | HTML content (use in layouts) |
|
||||||
| `{{ paginator }}` | Paginator |
|
| `{{ paginator }}` | Paginator |
|
||||||
|
|
||||||
See: [Variables](http://jekyllrb.com/docs/variables/)
|
See: [Variables](https://jekyllrb.com/docs/variables/)
|
||||||
|
|
||||||
### Site
|
### Site
|
||||||
|
|
||||||
|
@ -358,7 +358,7 @@ Filters
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| `slice:` _-3, 3_ | |
|
| `slice:` _-3, 3_ | |
|
||||||
|
|
||||||
See: [String filters](http://docs.shopify.com/themes/liquid-documentation/filters)
|
See: [String filters](https://docs.shopify.com/themes/liquid-documentation/filters)
|
||||||
|
|
||||||
### String filters (Jekyll-only)
|
### String filters (Jekyll-only)
|
||||||
|
|
||||||
|
@ -407,7 +407,7 @@ paginate: 5
|
||||||
paginate_path: "blog/:num"
|
paginate_path: "blog/:num"
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [Paginator](http://jekyllrb.com/docs/pagination/)
|
See: [Paginator](https://jekyllrb.com/docs/pagination/)
|
||||||
|
|
||||||
### Numbers
|
### Numbers
|
||||||
|
|
||||||
|
@ -446,13 +446,13 @@ See: [Paginator](http://jekyllrb.com/docs/pagination/)
|
||||||
|
|
||||||
_posts/YEAR-MONTH-DAY-title.md
|
_posts/YEAR-MONTH-DAY-title.md
|
||||||
|
|
||||||
See: [Blogging](http://jekyllrb.com/docs/posts/)
|
See: [Blogging](https://jekyllrb.com/docs/posts/)
|
||||||
|
|
||||||
### Image paths
|
### Image paths
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
See: [Image paths](http://jekyllrb.com/docs/posts/#including-images-and-resources)
|
See: [Image paths](https://jekyllrb.com/docs/posts/#including-images-and-resources)
|
||||||
|
|
||||||
### Drafts
|
### Drafts
|
||||||
|
|
||||||
|
@ -460,7 +460,7 @@ See: [Image paths](http://jekyllrb.com/docs/posts/#including-images-and-resource
|
||||||
jekyll build --drafts
|
jekyll build --drafts
|
||||||
|
|
||||||
Posts in `_drafts` only show up in development, but not production.
|
Posts in `_drafts` only show up in development, but not production.
|
||||||
See: [Drafts](http://jekyllrb.com/docs/drafts/)
|
See: [Drafts](https://jekyllrb.com/docs/drafts/)
|
||||||
|
|
||||||
### Defining excerpts
|
### Defining excerpts
|
||||||
|
|
||||||
|
@ -474,7 +474,7 @@ Hello, let's talk about cats. (···)
|
||||||
```
|
```
|
||||||
|
|
||||||
Put a key `excerpt` in the frontmatter.
|
Put a key `excerpt` in the frontmatter.
|
||||||
See: [Excerpts](http://jekyllrb.com/docs/posts/#post-excerpts)
|
See: [Excerpts](https://jekyllrb.com/docs/posts/#post-excerpts)
|
||||||
|
|
||||||
### Displaying excerpts
|
### Displaying excerpts
|
||||||
|
|
||||||
|
@ -509,7 +509,7 @@ Alternatively, you can put excerpts inline in your post by defining `excerpt_sep
|
||||||
permalink: none # /:categories/:title.html
|
permalink: none # /:categories/:title.html
|
||||||
permalink: "/:title"
|
permalink: "/:title"
|
||||||
|
|
||||||
See: [Permalinks](http://jekyllrb.com/docs/permalinks/)
|
See: [Permalinks](https://jekyllrb.com/docs/permalinks/)
|
||||||
|
|
||||||
## More features
|
## More features
|
||||||
|
|
||||||
|
@ -526,7 +526,7 @@ _data/members.yml
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [Data](http://jekyllrb.com/docs/datafiles/)
|
See: [Data](https://jekyllrb.com/docs/datafiles/)
|
||||||
|
|
||||||
### Collections
|
### Collections
|
||||||
|
|
||||||
|
@ -549,7 +549,7 @@ real_name: Anne Rice
|
||||||
{% for author in site.authors %}
|
{% for author in site.authors %}
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [Collections](http://jekyllrb.com/docs/collections/)
|
See: [Collections](https://jekyllrb.com/docs/collections/)
|
||||||
|
|
||||||
### Code highlighter
|
### Code highlighter
|
||||||
|
|
||||||
|
@ -583,12 +583,12 @@ Also see
|
||||||
--------
|
--------
|
||||||
{: .-one-column}
|
{: .-one-column}
|
||||||
|
|
||||||
* [Jekyll docs](http://jekyllrb.com/docs/home/) _jekyllrb.com_
|
* [Jekyll docs](https://jekyllrb.com/docs/home/) _jekyllrb.com_
|
||||||
* [CloudCannon Jekyll cheatsheet](https://learn.cloudcannon.com/jekyll-cheat-sheet/) _cloudcannon.com_
|
* [CloudCannon Jekyll cheatsheet](https://learn.cloudcannon.com/jekyll-cheat-sheet/) _cloudcannon.com_
|
||||||
* [Jekyll: templates](http://jekyllrb.com/docs/templates/) _jekyllrb.com_
|
* [Jekyll: templates](https://jekyllrb.com/docs/templates/) _jekyllrb.com_
|
||||||
* [Liquid: output](http://docs.shopify.com/themes/liquid-basics/output) _shopify.com_
|
* [Liquid: output](https://docs.shopify.com/themes/liquid-basics/output) _shopify.com_
|
||||||
* [Liquid: logic](http://docs.shopify.com/themes/liquid-basics/logic) _shopify.com_
|
* [Liquid: logic](https://docs.shopify.com/themes/liquid-basics/logic) _shopify.com_
|
||||||
* [Liquid: filters](http://docs.shopify.com/themes/liquid-documentation/filters) _shopify.com_
|
* [Liquid: filters](https://docs.shopify.com/themes/liquid-documentation/filters) _shopify.com_
|
||||||
* [Liquid for designers](https://github.com/Shopify/liquid/wiki/Liquid-for-Designers) _github.com/Shopify_
|
* [Liquid for designers](https://github.com/Shopify/liquid/wiki/Liquid-for-Designers) _github.com/Shopify_
|
||||||
{: .-also-see}
|
{: .-also-see}
|
||||||
|
|
||||||
|
|
32
jest.md
32
jest.md
|
@ -33,7 +33,7 @@ npm install --save-dev jest babel-jest
|
||||||
npm test -- --watch
|
npm test -- --watch
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [Getting started](http://facebook.github.io/jest/docs/en/getting-started.html)
|
See: [Getting started](https://facebook.github.io/jest/docs/en/getting-started.html)
|
||||||
|
|
||||||
### Writing tests
|
### Writing tests
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ describe('My work', () => {
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [describe()](http://facebook.github.io/jest/docs/en/api.html#describename-fn), [test()](http://facebook.github.io/jest/docs/en/api.html#testname-fn), [expect()](http://facebook.github.io/jest/docs/en/expect.html#content)
|
See: [describe()](https://facebook.github.io/jest/docs/en/api.html#describename-fn), [test()](https://facebook.github.io/jest/docs/en/api.html#testname-fn), [expect()](https://facebook.github.io/jest/docs/en/expect.html#content)
|
||||||
|
|
||||||
### BDD syntax
|
### BDD syntax
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ describe('My work', () => {
|
||||||
```
|
```
|
||||||
|
|
||||||
`it` is an alias for `test`.
|
`it` is an alias for `test`.
|
||||||
See: [test()](http://facebook.github.io/jest/docs/en/api.html#testname-fn)
|
See: [test()](https://facebook.github.io/jest/docs/en/api.html#testname-fn)
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ beforeAll(() => { ... })
|
||||||
afterAll(() => { ... })
|
afterAll(() => { ... })
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [afterAll() and more](http://facebook.github.io/jest/docs/en/api.html#afterallfn)
|
See: [afterAll() and more](https://facebook.github.io/jest/docs/en/api.html#afterallfn)
|
||||||
|
|
||||||
### Focusing tests
|
### Focusing tests
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ describe.only(···)
|
||||||
it.only(···) // alias: fit()
|
it.only(···) // alias: fit()
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [test.only](http://facebook.github.io/jest/docs/en/api.html#testonlyname-fn)
|
See: [test.only](https://facebook.github.io/jest/docs/en/api.html#testonlyname-fn)
|
||||||
|
|
||||||
|
|
||||||
### Skipping tests
|
### Skipping tests
|
||||||
|
@ -91,7 +91,7 @@ describe.skip(···)
|
||||||
it.skip(···) // alias: xit()
|
it.skip(···) // alias: xit()
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [test.skip](http://facebook.github.io/jest/docs/en/api.html#testskipname-fn)
|
See: [test.skip](https://facebook.github.io/jest/docs/en/api.html#testskipname-fn)
|
||||||
|
|
||||||
|
|
||||||
### Optional flags
|
### Optional flags
|
||||||
|
@ -117,7 +117,7 @@ expect(value)
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that `toEqual` is a deep equality check.
|
Note that `toEqual` is a deep equality check.
|
||||||
See: [expect()](http://facebook.github.io/jest/docs/en/expect.html#expectvalue)
|
See: [expect()](https://facebook.github.io/jest/docs/en/expect.html#expectvalue)
|
||||||
|
|
||||||
### Snapshots
|
### Snapshots
|
||||||
|
|
||||||
|
@ -218,7 +218,7 @@ test('works with async/await', async () => {
|
||||||
{: data-line="2"}
|
{: data-line="2"}
|
||||||
|
|
||||||
Return promises, or use async/await.
|
Return promises, or use async/await.
|
||||||
See: [Async tutorial](http://facebook.github.io/jest/docs/en/tutorial-async.html)
|
See: [Async tutorial](https://facebook.github.io/jest/docs/en/tutorial-async.html)
|
||||||
|
|
||||||
### Snapshots
|
### Snapshots
|
||||||
|
|
||||||
|
@ -231,7 +231,7 @@ it('works', () => {
|
||||||
{: data-line="3"}
|
{: data-line="3"}
|
||||||
|
|
||||||
First run creates a snapshot. Subsequent runs match the saved snapshot.
|
First run creates a snapshot. Subsequent runs match the saved snapshot.
|
||||||
See: [Snapshot testing](http://facebook.github.io/jest/docs/en/snapshot-testing.html)
|
See: [Snapshot testing](https://facebook.github.io/jest/docs/en/snapshot-testing.html)
|
||||||
|
|
||||||
### React test renderer
|
### React test renderer
|
||||||
|
|
||||||
|
@ -243,7 +243,7 @@ import renderer from 'react-test-renderer'
|
||||||
```jsx
|
```jsx
|
||||||
it('works', () => {
|
it('works', () => {
|
||||||
const tree = renderer.create(
|
const tree = renderer.create(
|
||||||
<Link page="http://www.facebook.com">Facebook</Link>
|
<Link page="https://www.facebook.com">Facebook</Link>
|
||||||
).toJSON()
|
).toJSON()
|
||||||
|
|
||||||
expect(tree).toMatchSnapshot()
|
expect(tree).toMatchSnapshot()
|
||||||
|
@ -252,7 +252,7 @@ it('works', () => {
|
||||||
{: data-line="2,3,4"}
|
{: data-line="2,3,4"}
|
||||||
|
|
||||||
React's test renderer can be used for Jest snapshots.
|
React's test renderer can be used for Jest snapshots.
|
||||||
See: [Snapshot test](http://facebook.github.io/jest/docs/en/tutorial-react-native.html#snapshot-test)
|
See: [Snapshot test](https://facebook.github.io/jest/docs/en/tutorial-react-native.html#snapshot-test)
|
||||||
|
|
||||||
### Timers
|
### Timers
|
||||||
|
|
||||||
|
@ -268,7 +268,7 @@ it('works', () => {
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [Timer Mocks](http://facebook.github.io/jest/docs/en/timer-mocks.html)
|
See: [Timer Mocks](https://facebook.github.io/jest/docs/en/timer-mocks.html)
|
||||||
|
|
||||||
## Mock functions
|
## Mock functions
|
||||||
|
|
||||||
|
@ -282,7 +282,7 @@ const fn = jest.fn()
|
||||||
const fn = jest.fn(n => n * n)
|
const fn = jest.fn(n => n * n)
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [Mock functions](http://facebook.github.io/jest/docs/en/mock-functions.html#using-a-mock-function)
|
See: [Mock functions](https://facebook.github.io/jest/docs/en/mock-functions.html#using-a-mock-function)
|
||||||
|
|
||||||
### Assertions
|
### Assertions
|
||||||
|
|
||||||
|
@ -319,7 +319,7 @@ Fn.mock.instances
|
||||||
```
|
```
|
||||||
{: data-line="1"}
|
{: data-line="1"}
|
||||||
|
|
||||||
See: [.mock property](http://facebook.github.io/jest/docs/en/mock-functions.html#mock-property)
|
See: [.mock property](https://facebook.github.io/jest/docs/en/mock-functions.html#mock-property)
|
||||||
|
|
||||||
### Calls
|
### Calls
|
||||||
|
|
||||||
|
@ -336,7 +336,7 @@ fn.mock.calls[1][0] // → 456
|
||||||
```
|
```
|
||||||
{: data-line="1,2,3"}
|
{: data-line="1,2,3"}
|
||||||
|
|
||||||
See: [.mock property](http://facebook.github.io/jest/docs/en/mock-functions.html#mock-property)
|
See: [.mock property](https://facebook.github.io/jest/docs/en/mock-functions.html#mock-property)
|
||||||
|
|
||||||
### Return values
|
### Return values
|
||||||
|
|
||||||
|
@ -368,5 +368,5 @@ fn() // → 2
|
||||||
## References
|
## References
|
||||||
{: .-one-column}
|
{: .-one-column}
|
||||||
|
|
||||||
- <http://facebook.github.io/jest/>
|
- <https://facebook.github.io/jest/>
|
||||||
{: .-also-see}
|
{: .-also-see}
|
||||||
|
|
|
@ -8,7 +8,7 @@ updated: 2017-09-12
|
||||||
### Relaxing
|
### Relaxing
|
||||||
|
|
||||||
Enable these options to *not* throw errors in these conditions.
|
Enable these options to *not* throw errors in these conditions.
|
||||||
See: [Relaxing](http://www.jshint.com/docs/options/#relaxing-options)
|
See: [Relaxing](https://www.jshint.com/docs/options/#relaxing-options)
|
||||||
{: .-setup}
|
{: .-setup}
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
@ -70,7 +70,7 @@ process.env['name_here']
|
||||||
### Enforcing
|
### Enforcing
|
||||||
|
|
||||||
Enable these options to catch more errors.
|
Enable these options to catch more errors.
|
||||||
See: [Enforcing](http://www.jshint.com/docs/options/#enforcing-options)
|
See: [Enforcing](https://www.jshint.com/docs/options/#enforcing-options)
|
||||||
{: .-setup}
|
{: .-setup}
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
@ -150,9 +150,9 @@ function() { ... } // err: need "use strict"
|
||||||
/* jshint jquery: true */ jQuery, $
|
/* jshint jquery: true */ jQuery, $
|
||||||
```
|
```
|
||||||
|
|
||||||
See: [Environments](http://www.jshint.com/docs/options/#environments)
|
See: [Environments](https://www.jshint.com/docs/options/#environments)
|
||||||
|
|
||||||
### Also see
|
### Also see
|
||||||
|
|
||||||
* <http://www.jshint.com/docs/options/>
|
* <https://www.jshint.com/docs/options/>
|
||||||
* <https://gist.github.com/haschek/2595796>
|
* <https://gist.github.com/haschek/2595796>
|
||||||
|
|
2
lua.md
2
lua.md
|
@ -296,5 +296,5 @@ title: Lua
|
||||||
|
|
||||||
## Reference
|
## Reference
|
||||||
|
|
||||||
http://www.lua.org/pil/13.html
|
https://www.lua.org/pil/13.html
|
||||||
http://lua-users.org/wiki/ObjectOrientedProgramming
|
http://lua-users.org/wiki/ObjectOrientedProgramming
|
||||||
|
|
|
@ -52,4 +52,4 @@ category: Node.js
|
||||||
|
|
||||||
### References
|
### References
|
||||||
|
|
||||||
- http://nodejs.org/api/fs.html
|
- https://nodejs.org/api/fs.html
|
||||||
|
|
|
@ -119,4 +119,4 @@ Use `ActiveRecord::Migration`.
|
||||||
|
|
||||||
### References
|
### References
|
||||||
|
|
||||||
* http://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatements/add_index
|
* https://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatements/add_index
|
||||||
|
|
8
ronn.md
8
ronn.md
|
@ -6,7 +6,7 @@ updated: 2017-10-15
|
||||||
weight: -1
|
weight: -1
|
||||||
prism_languages: [bash, ruby, json, markdown]
|
prism_languages: [bash, ruby, json, markdown]
|
||||||
intro: |
|
intro: |
|
||||||
Ronn generates Man pages. See [ronn(1)](http://rtomayko.github.io/ronn/ronn.1.html), [ronn-format(7)](http://rtomayko.github.com/ronn/ronn-format.7.html). Also see it on GitHub: [rtomayko/ronn](https://github.com/rtomayko/ronn).
|
Ronn generates Man pages. See [ronn(1)](https://rtomayko.github.io/ronn/ronn.1.html), [ronn-format(7)](https://rtomayko.github.com/ronn/ronn-format.7.html). Also see it on GitHub: [rtomayko/ronn](httpss://github.com/rtomayko/ronn).
|
||||||
---
|
---
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
@ -110,8 +110,8 @@ markdown(7)
|
||||||
#### URL links
|
#### URL links
|
||||||
|
|
||||||
```
|
```
|
||||||
[URL link](http://github.com/rstacruz)
|
[URL link](https://github.com/rstacruz)
|
||||||
<http://github.com>
|
<https://github.com>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Frequently-used sections
|
## Frequently-used sections
|
||||||
|
@ -174,7 +174,7 @@ markdown(7)
|
||||||
| `7` | Misc |
|
| `7` | Misc |
|
||||||
| `8` | System administration commands and procedures |
|
| `8` | System administration commands and procedures |
|
||||||
|
|
||||||
See [Man page sections](http://www.december.com/unix/ref/mansec.html) (december.com).
|
See [Man page sections](https://www.december.com/unix/ref/mansec.html) (december.com).
|
||||||
|
|
||||||
## Using with npm
|
## Using with npm
|
||||||
|
|
||||||
|
|
|
@ -92,5 +92,5 @@ When the left is partial (eg, `1.2`), missing pieces are assumed to be `0` (eg,
|
||||||
## References
|
## References
|
||||||
{: .-one-column}
|
{: .-one-column}
|
||||||
|
|
||||||
* <http://semver.org/>
|
* <https://semver.org/>
|
||||||
* <https://docs.npmjs.com/misc/semver>
|
* <https://docs.npmjs.com/misc/semver>
|
||||||
|
|
|
@ -109,6 +109,6 @@ gemfile:
|
||||||
|
|
||||||
### References
|
### References
|
||||||
|
|
||||||
- http://about.travis-ci.org/docs/user/build-configuration/
|
- https://about.travis-ci.org/docs/user/build-configuration/
|
||||||
- http://about.travis-ci.org/docs/user/languages/javascript-with-nodejs/
|
- https://about.travis-ci.org/docs/user/languages/javascript-with-nodejs/
|
||||||
- http://about.travis-ci.org/docs/user/languages/ruby/
|
- https://about.travis-ci.org/docs/user/languages/ruby/
|
||||||
|
|
|
@ -5,7 +5,7 @@ layout: 2017/sheet
|
||||||
updated: 2018-12-06
|
updated: 2018-12-06
|
||||||
weight: -10
|
weight: -10
|
||||||
intro: |
|
intro: |
|
||||||
[Vim](http://www.vim.org/) is a very efficient text editor. This reference was made for Vim 8.0.
|
[Vim](https://www.vim.org/) is a very efficient text editor. This reference was made for Vim 8.0.
|
||||||
---
|
---
|
||||||
|
|
||||||
Getting started
|
Getting started
|
||||||
|
@ -56,5 +56,5 @@ Also see
|
||||||
--------
|
--------
|
||||||
|
|
||||||
- [Vim cheatsheet](https://vim.rtorr.com/) _(vim.rotrr.com)_
|
- [Vim cheatsheet](https://vim.rtorr.com/) _(vim.rotrr.com)_
|
||||||
- [Vim documentation](http://vimdoc.sourceforge.net/htmldoc/) _(vimdoc.sourceforge.net)_
|
- [Vim documentation](https://vimdoc.sourceforge.net/htmldoc/) _(vimdoc.sourceforge.net)_
|
||||||
- [Interactive Vim tutorial](http://openvim.com/) _(openvim.com)_
|
- [Interactive Vim tutorial](https://openvim.com/) _(openvim.com)_
|
||||||
|
|
Loading…
Reference in New Issue