OSDN Git Service

Regular updates
authorErik <erikgronwal@users.osdn.me>
Tue, 1 Nov 2022 14:55:06 +0000 (23:55 +0900)
committerErik <erikgronwal@users.osdn.me>
Tue, 1 Nov 2022 14:55:06 +0000 (23:55 +0900)
29 files changed:
Gemfile.lock
_sass/2015/base/utils.sass
ansible-modules.md
appcache.md
awscli.md
capybara.md
css-flexbox.md
css-grid.md
docker-compose.md
docker.md
enzyme.md
gnupg.md
grep.md
heroku.md
html-microformats.md
jekyll.md
jest.md
jshint.md
lua.md
netlify.toml
nodejs-fs.md
npm.md
rails-migrations.md
rollup.md
ronn.md
sed.md
semver.md
travis.md
vim-diff.md

index 36c00e0..9eb711e 100644 (file)
@@ -1,20 +1,20 @@
 GEM
   remote: https://rubygems.org/
   specs:
-    activesupport (6.0.4.7)
+    activesupport (6.0.6)
       concurrent-ruby (~> 1.0, >= 1.0.2)
       i18n (>= 0.7, < 2)
       minitest (~> 5.1)
       tzinfo (~> 1.1)
       zeitwerk (~> 2.2, >= 2.2.2)
-    addressable (2.8.0)
-      public_suffix (>= 2.0.2, < 5.0)
+    addressable (2.8.1)
+      public_suffix (>= 2.0.2, < 6.0)
     coffee-script (2.4.1)
       coffee-script-source
       execjs
     coffee-script-source (1.11.1)
     colorator (1.1.0)
-    commonmarker (0.23.4)
+    commonmarker (0.23.6)
     concurrent-ruby (1.1.10)
     dnsruby (1.61.9)
       simpleidn (~> 0.1)
@@ -25,35 +25,16 @@ GEM
       ffi (>= 1.15.0)
     eventmachine (1.2.7)
     execjs (2.8.1)
-    faraday (1.10.0)
-      faraday-em_http (~> 1.0)
-      faraday-em_synchrony (~> 1.0)
-      faraday-excon (~> 1.1)
-      faraday-httpclient (~> 1.0)
-      faraday-multipart (~> 1.0)
-      faraday-net_http (~> 1.0)
-      faraday-net_http_persistent (~> 1.0)
-      faraday-patron (~> 1.0)
-      faraday-rack (~> 1.0)
-      faraday-retry (~> 1.0)
+    faraday (2.6.0)
+      faraday-net_http (>= 2.0, < 3.1)
       ruby2_keywords (>= 0.0.4)
-    faraday-em_http (1.0.0)
-    faraday-em_synchrony (1.0.0)
-    faraday-excon (1.1.0)
-    faraday-httpclient (1.0.1)
-    faraday-multipart (1.0.3)
-      multipart-post (>= 1.2, < 3)
-    faraday-net_http (1.0.1)
-    faraday-net_http_persistent (1.2.0)
-    faraday-patron (1.0.0)
-    faraday-rack (1.0.0)
-    faraday-retry (1.0.3)
+    faraday-net_http (3.0.1)
     ffi (1.15.5)
     forwardable-extended (2.6.0)
     gemoji (3.0.1)
-    github-pages (225)
+    github-pages (227)
       github-pages-health-check (= 1.17.9)
-      jekyll (= 3.9.0)
+      jekyll (= 3.9.2)
       jekyll-avatar (= 0.7.0)
       jekyll-coffeescript (= 1.1.1)
       jekyll-commonmark-ghpages (= 0.2.0)
@@ -88,12 +69,12 @@ GEM
       jekyll-theme-time-machine (= 0.2.0)
       jekyll-titles-from-headings (= 0.5.3)
       jemoji (= 0.12.0)
-      kramdown (= 2.3.1)
+      kramdown (= 2.3.2)
       kramdown-parser-gfm (= 1.1.0)
       liquid (= 4.0.3)
       mercenary (~> 0.3)
       minima (= 2.5.1)
-      nokogiri (>= 1.12.5, < 2.0)
+      nokogiri (>= 1.13.6, < 2.0)
       rouge (= 3.26.0)
       terminal-table (~> 1.4)
     github-pages-health-check (1.17.9)
@@ -102,13 +83,13 @@ GEM
       octokit (~> 4.0)
       public_suffix (>= 3.0, < 5.0)
       typhoeus (~> 1.3)
-    html-pipeline (2.14.0)
+    html-pipeline (2.14.3)
       activesupport (>= 2)
       nokogiri (>= 1.4)
     http_parser.rb (0.8.0)
     i18n (0.9.5)
       concurrent-ruby (~> 1.0)
-    jekyll (3.9.0)
+    jekyll (3.9.2)
       addressable (~> 2.4)
       colorator (~> 1.0)
       em-websocket (~> 0.5)
@@ -216,7 +197,7 @@ GEM
       gemoji (~> 3.0)
       html-pipeline (~> 2.2)
       jekyll (>= 3.0, < 5.0)
-    kramdown (2.3.1)
+    kramdown (2.3.2)
       rexml
     kramdown-parser-gfm (1.1.0)
       kramdown (~> 2.0)
@@ -229,18 +210,17 @@ GEM
       jekyll (>= 3.5, < 5.0)
       jekyll-feed (~> 0.9)
       jekyll-seo-tag (~> 2.1)
-    minitest (5.15.0)
-    multipart-post (2.1.1)
-    nokogiri (1.13.3-x86_64-linux)
+    minitest (5.16.3)
+    nokogiri (1.13.9-x86_64-linux)
       racc (~> 1.4)
-    octokit (4.22.0)
-      faraday (>= 0.9)
-      sawyer (~> 0.8.0, >= 0.5.3)
+    octokit (4.25.1)
+      faraday (>= 1, < 3)
+      sawyer (~> 0.9)
     pathutil (0.16.2)
       forwardable-extended (~> 2.6)
-    public_suffix (4.0.6)
+    public_suffix (4.0.7)
     racc (1.6.0)
-    rb-fsevent (0.11.1)
+    rb-fsevent (0.11.2)
     rb-inotify (0.10.1)
       ffi (~> 1.0)
     rexml (3.2.5)
@@ -253,9 +233,9 @@ GEM
     sass-listen (4.0.0)
       rb-fsevent (~> 0.9, >= 0.9.4)
       rb-inotify (~> 0.9, >= 0.9.7)
-    sawyer (0.8.2)
+    sawyer (0.9.2)
       addressable (>= 2.3.5)
-      faraday (> 0.8, < 2.0)
+      faraday (>= 0.17.3, < 3)
     simpleidn (0.2.1)
       unf (~> 0.1.4)
     terminal-table (1.8.0)
@@ -263,13 +243,13 @@ GEM
     thread_safe (0.3.6)
     typhoeus (1.4.0)
       ethon (>= 0.9.0)
-    tzinfo (1.2.9)
+    tzinfo (1.2.10)
       thread_safe (~> 0.1)
     unf (0.1.4)
       unf_ext
-    unf_ext (0.0.8.1)
+    unf_ext (0.0.8.2)
     unicode-display_width (1.8.0)
-    zeitwerk (2.5.4)
+    zeitwerk (2.6.3)
 
 PLATFORMS
   x86_64-linux
index 97373fb..b1df430 100644 (file)
@@ -9,7 +9,7 @@
   font-kerning: auto
 
   // 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"
   font-feature-settings: "kern", "liga", "dlig", "hlig", "cswh"
 
index ebf407d..1bfdb63 100644 (file)
@@ -97,7 +97,7 @@ Define your tasks in any of these formats. One-line format is preferred for shor
     bare: yes
 ```
 
-See: [git module](http://devdocs.io/ansible/git_module)
+See: [git module](https://devdocs.io/ansible/git_module)
 
 ### git_config
 
@@ -108,7 +108,7 @@ See: [git module](http://devdocs.io/ansible/git_module)
     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
 
@@ -122,7 +122,7 @@ See: [git_config module](http://devdocs.io/ansible/git_config_module)
     comment: "Git Version Control"
 ```
 
-See: [user module](http://devdocs.io/ansible/user_module)
+See: [user module](https://devdocs.io/ansible/user_module)
 
 ### service
 
@@ -133,7 +133,7 @@ See: [user module](http://devdocs.io/ansible/user_module)
     enabled: yes     # optional
 ```
 
-See: [service module](http://devdocs.io/ansible/service_module)
+See: [service module](https://devdocs.io/ansible/service_module)
 
 ## Shell
 
@@ -161,7 +161,7 @@ See: [service module](http://devdocs.io/ansible/service_module)
     echo "multiple lines"
 ```
 
-See: [shell module](http://devdocs.io/ansible/shell_module)
+See: [shell module](https://devdocs.io/ansible/shell_module)
 
 ### script
 
@@ -173,7 +173,7 @@ See: [shell module](http://devdocs.io/ansible/shell_module)
     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
 
@@ -192,7 +192,7 @@ See: [script module](http://devdocs.io/ansible/script_module)
     force: yes    # ln -nfs
 ```
 
-See: [file module](http://devdocs.io/ansible/file_module)
+See: [file module](https://devdocs.io/ansible/file_module)
 
 ### copy
 
@@ -208,7 +208,7 @@ See: [file module](http://devdocs.io/ansible/file_module)
     backup: yes
 ```
 
-See: [copy module](http://devdocs.io/ansible/copy_module)
+See: [copy module](https://devdocs.io/ansible/copy_module)
 
 ### template
 
@@ -224,7 +224,7 @@ See: [copy module](http://devdocs.io/ansible/copy_module)
     backup: yes
 ```
 
-See: [template module](http://devdocs.io/ansible/template_module)
+See: [template module](https://devdocs.io/ansible/template_module)
 
 ## Local actions
 
@@ -242,6 +242,6 @@ See: [template module](http://devdocs.io/ansible/template_module)
     msg: "Hello {{ var }}"
 ```
 
-See: [debug module](http://devdocs.io/ansible/debug_module)
+See: [debug module](https://devdocs.io/ansible/debug_module)
 {% endraw %}
 
index 7667664..9997a88 100644 (file)
@@ -11,7 +11,7 @@ CACHE MANIFEST
 # version
 
 CACHE:
-http://www.google.com/jsapi
+https://www.google.com/jsapi
 /assets/app.js
 /assets/bg.png
 
index d89912e..7a628bc 100644 (file)
--- a/awscli.md
+++ b/awscli.md
@@ -56,15 +56,15 @@ aws configure --profile project2
 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
 
-* <http://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.html>
+* <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html>
 
 ## Also see
 
 * [AWS CLI](https://aws.amazon.com/cli/)
-* [Documentation](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)
-* [All commands](http://docs.aws.amazon.com/cli/latest/reference/#available-services)
+* [Documentation](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)
+* [All commands](https://docs.aws.amazon.com/cli/latest/reference/#available-services)
index df5fad2..7f36939 100644 (file)
@@ -266,7 +266,7 @@ page.status_code == 200
 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
 
@@ -333,5 +333,5 @@ page.set_rack_session(foo: 'bar')
 ## See also
 {: .-one-column}
 
-- <http://rubydoc.info/github/jnicklas/capybara/Capybara/RSpecMatchers>
-- <http://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Matchers>
+- <https://rubydoc.info/github/jnicklas/capybara/Capybara/RSpecMatchers>
+- <https://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Matchers>
index 5b6bddf..6f65c68 100644 (file)
@@ -194,4 +194,4 @@ Vertically-center all items.
 {: .-one-column}
 
  * [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)
index 15bcb0d..393536a 100644 (file)
@@ -17,7 +17,6 @@ prism_languages: [css]
   /* Display properties */
   display: grid;
   display: inline-grid;
-  display: subgrid;
 ```
 
 ```css
@@ -26,8 +25,10 @@ prism_languages: [css]
   grid-template-columns: 25% 50% 25%; /* Percentage units */
   grid-template-columns: 1rem auto 1rem 2fr; /* Fill remaining widths with auto or fr units */
   grid-template-columns: repeat(12, 1fr); /* Repeat columns without needing to write them */
+  grid-template-columns: subgrid; /* Use column tracks defined on parent grid */
   
   grid-template-rows: 1rem 10% auto repeat(5, 10px); /* Mix any group, same rules work for rows */
+  grid-template-rows: subgrid; /* Use row tracks defined on parent grid */
 ```
 
 ```css
index a8ad22f..210fe1c 100644 (file)
@@ -133,6 +133,16 @@ web:
     - db
 ```
 
+```yaml
+  # make sure `db` is healty before starting
+  # and db-init completed without failure
+  depends_on:
+    db:
+      condition: service_healthy
+    db-init:
+      condition: service_completed_successfully
+```
+
 ### Other options
 
 ```yaml
@@ -196,6 +206,18 @@ services:
       - project_db_1:mysql
 ```
 
+### Healthcheck
+
+```yaml
+    # declare service healthy when `test` command succeed
+    healthcheck:
+      test: ["CMD", "curl", "-f", "http://localhost"]
+      interval: 1m30s
+      timeout: 10s
+      retries: 3
+      start_period: 40s
+```
+
 ### Hosts
 
 ```yaml
index eafad3f..f1c825c 100644 (file)
--- a/docker.md
+++ b/docker.md
@@ -186,4 +186,4 @@ Delete all the volumes
 Also see
 --------
 
- * [Getting Started](http://www.docker.io/gettingstarted/) _(docker.io)_
+ * [Getting Started](https://www.docker.io/gettingstarted/) _(docker.io)_
index b8339b9..d5919b7 100644 (file)
--- a/enzyme.md
+++ b/enzyme.md
@@ -18,7 +18,7 @@ keywords:
 ### Introduction
 {: .-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)_
 
@@ -41,8 +41,8 @@ wrap = mount(<MyComponent />)
 Shallow wrapping doesn't descend down to sub-components.
 A full mount also mounts sub-components.
 
-See: [Shallow rendering](http://airbnb.io/enzyme/docs/api/shallow.html),
-[Full rendering](http://airbnb.io/enzyme/docs/api/mount.html)
+See: [Shallow rendering](https://airbnb.io/enzyme/docs/api/shallow.html),
+[Full rendering](https://airbnb.io/enzyme/docs/api/mount.html)
 
 ### Debugging
 
@@ -52,7 +52,7 @@ console.log(wrap.debug())
 
 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
 {: .-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.
 
-See: [Installation](http://airbnb.io/enzyme/#installation)
+See: [Installation](https://airbnb.io/enzyme/#installation)
 
 ### Jest snapshots
 
@@ -229,7 +229,7 @@ wrap.getElements()    // → Array<ReactElement>
 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
 
index 8162a74..0ee1b8b 100644 (file)
--- a/gnupg.md
+++ b/gnupg.md
@@ -36,7 +36,7 @@ gpg --import key.asc
 Only merge updates for keys already in key-ring:
 
 ```bash
-gpg --import key.asc --merge-options merge-only
+gpg --import key.asc --import-options merge-only
 ```
 
 ### Managing your keyring
diff --git a/grep.md b/grep.md
index c9dc9b0..5d69f3e 100644 (file)
--- a/grep.md
+++ b/grep.md
@@ -86,7 +86,7 @@ grep -E "foo|oof" bar.txt
 
 # match anything that resembles a URL in
 # foo.txt and only print out the match
-grep -oE "https?:\/\/((\w+[_-]?)+\.?)+" foo.txt
+grep -oE "https?://((\w+[_-]?)+\.?)+" foo.txt
 
 # can also be used with pipes:
 # match any line that contains "export" in
index 726271e..f7e6bf4 100644 (file)
--- a/heroku.md
+++ b/heroku.md
@@ -6,7 +6,7 @@ updated: 2017-10-11
 description: |
   A one-page reference to common Heroku-CLI commands.
 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
index 8e6205a..ba0e731 100644 (file)
@@ -7,8 +7,8 @@ layout: 2017/sheet
 ### Author
 
 ``` html
-<span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person">
-  <a href="http://AUTHORPAGE" class="entry-author-link" itemprop="url" rel="author">
+<span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="https://schema.org/Person">
+  <a href="https://AUTHORPAGE" class="entry-author-link" itemprop="url" rel="author">
     <span class="entry-author-name" itemprop="name">AUTHORNAME</span>
   </a>
 </span>
index 68dcfa0..6d65834 100644 (file)
--- a/jekyll.md
+++ b/jekyll.md
@@ -35,7 +35,7 @@ END
 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)
 
 ### Directories
@@ -81,7 +81,7 @@ Hello! this is my post.
 {: data-line="1,2,3,4"}
 
 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
 
@@ -108,7 +108,7 @@ include: ['.htaccess']
 ```
 
 All config keys are optional.
-See: [Configuration](http://jekyllrb.com/docs/configuration/)
+See: [Configuration](https://jekyllrb.com/docs/configuration/)
 
 Markup
 ------
@@ -216,7 +216,7 @@ Markup
 | `{{ content }}` | HTML content (use in layouts) |
 | `{{ paginator }}` | Paginator |
 
-See: [Variables](http://jekyllrb.com/docs/variables/)
+See: [Variables](https://jekyllrb.com/docs/variables/)
 
 ### Site
 
@@ -358,7 +358,7 @@ Filters
 | ---                                | ---         |
 | `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)
 
@@ -407,7 +407,7 @@ paginate: 5
 paginate_path: "blog/:num"
 ```
 
-See: [Paginator](http://jekyllrb.com/docs/pagination/)
+See: [Paginator](https://jekyllrb.com/docs/pagination/)
 
 ### Numbers
 
@@ -446,13 +446,13 @@ See: [Paginator](http://jekyllrb.com/docs/pagination/)
 
     _posts/YEAR-MONTH-DAY-title.md
 
-See: [Blogging](http://jekyllrb.com/docs/posts/)
+See: [Blogging](https://jekyllrb.com/docs/posts/)
 
 ### Image paths
 
     ![My helpful screenshot]({{ site.url }}/assets/screenshot.jpg)
 
-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
 
@@ -460,7 +460,7 @@ See: [Image paths](http://jekyllrb.com/docs/posts/#including-images-and-resource
     jekyll build --drafts
 
 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
 
@@ -474,7 +474,7 @@ Hello, let's talk about cats. (···)
 ```
 
 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
 
@@ -509,7 +509,7 @@ Alternatively, you can put excerpts inline in your post by defining `excerpt_sep
     permalink: none   # /:categories/:title.html
     permalink: "/:title"
 
-See: [Permalinks](http://jekyllrb.com/docs/permalinks/)
+See: [Permalinks](https://jekyllrb.com/docs/permalinks/)
 
 ## More features
 
@@ -526,7 +526,7 @@ _data/members.yml
 {% endfor %}
 ```
 
-See: [Data](http://jekyllrb.com/docs/datafiles/)
+See: [Data](https://jekyllrb.com/docs/datafiles/)
 
 ### Collections
 
@@ -549,7 +549,7 @@ real_name: Anne Rice
 {% for author in site.authors %}
 ```
 
-See: [Collections](http://jekyllrb.com/docs/collections/)
+See: [Collections](https://jekyllrb.com/docs/collections/)
 
 ### Code highlighter
 
@@ -583,12 +583,12 @@ Also see
 --------
 {: .-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_
-* [Jekyll: templates](http://jekyllrb.com/docs/templates/) _jekyllrb.com_
-* [Liquid: output](http://docs.shopify.com/themes/liquid-basics/output) _shopify.com_
-* [Liquid: logic](http://docs.shopify.com/themes/liquid-basics/logic) _shopify.com_
-* [Liquid: filters](http://docs.shopify.com/themes/liquid-documentation/filters) _shopify.com_
+* [Jekyll: templates](https://jekyllrb.com/docs/templates/) _jekyllrb.com_
+* [Liquid: output](https://docs.shopify.com/themes/liquid-basics/output) _shopify.com_
+* [Liquid: logic](https://docs.shopify.com/themes/liquid-basics/logic) _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_
 {: .-also-see}
 
diff --git a/jest.md b/jest.md
index 3143aaf..b3b7c90 100644 (file)
--- a/jest.md
+++ b/jest.md
@@ -33,7 +33,7 @@ npm install --save-dev jest babel-jest
 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
 
@@ -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
 
@@ -58,7 +58,7 @@ describe('My work', () => {
 ```
 
 `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
 
@@ -72,7 +72,7 @@ beforeAll(() => { ... })
 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
 
@@ -81,7 +81,7 @@ describe.only(···)
 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
@@ -91,7 +91,7 @@ describe.skip(···)
 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
@@ -117,7 +117,7 @@ expect(value)
 ```
 
 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
 
@@ -218,7 +218,7 @@ test('works with async/await', async () => {
 {: data-line="2"}
 
 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
 
@@ -231,7 +231,7 @@ it('works', () => {
 {: data-line="3"}
 
 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
 
@@ -243,7 +243,7 @@ import renderer from 'react-test-renderer'
 ```jsx
 it('works', () => {
   const tree = renderer.create(
-    <Link page="http://www.facebook.com">Facebook</Link>
+    <Link page="https://www.facebook.com">Facebook</Link>
   ).toJSON()
 
   expect(tree).toMatchSnapshot()
@@ -252,7 +252,7 @@ it('works', () => {
 {: data-line="2,3,4"}
 
 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
 
@@ -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
 
@@ -282,7 +282,7 @@ const fn = jest.fn()
 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
 
@@ -319,7 +319,7 @@ Fn.mock.instances
 ```
 {: 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
 
@@ -336,7 +336,7 @@ fn.mock.calls[1][0]    // → 456
 ```
 {: 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
 
@@ -368,5 +368,5 @@ fn()    // → 2
 ## References
 {: .-one-column}
 
-- <http://facebook.github.io/jest/>
+- <https://facebook.github.io/jest/>
 {: .-also-see}
index c5d75bb..bb0ce8c 100644 (file)
--- a/jshint.md
+++ b/jshint.md
@@ -8,7 +8,7 @@ updated: 2017-09-12
 ### Relaxing
 
 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}
 
 ```js
@@ -70,7 +70,7 @@ process.env['name_here']
 ### Enforcing
 
 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}
 
 ```js
@@ -150,9 +150,9 @@ function() { ... }              // err: need "use strict"
 /* jshint jquery: true */  jQuery, $
 ```
 
-See: [Environments](http://www.jshint.com/docs/options/#environments)
+See: [Environments](https://www.jshint.com/docs/options/#environments)
 
 ### Also see
 
-* <http://www.jshint.com/docs/options/>
+* <https://www.jshint.com/docs/options/>
 * <https://gist.github.com/haschek/2595796>
diff --git a/lua.md b/lua.md
index bf4aea9..ab95424 100644 (file)
--- a/lua.md
+++ b/lua.md
@@ -296,5 +296,5 @@ title: Lua
 
 ## Reference
 
-  http://www.lua.org/pil/13.html
+  https://www.lua.org/pil/13.html
   http://lua-users.org/wiki/ObjectOrientedProgramming
index 1a05923..3ec7f1d 100644 (file)
@@ -1,7 +1,7 @@
 [build]
   command = "yarn build"
   publish = "_site/"
-  environment = { NODE_VERSION = "16.17.0", RUBY_VERSION = "2.7.5", PYTHON_VERSION = "3.8" }
+  environment = { NODE_VERSION = "18.12.0", RUBY_VERSION = "2.7.6", PYTHON_VERSION = "3.8" }
 
 [[redirects]]
   force = true
index 5b3e7b1..84d4f39 100644 (file)
@@ -52,4 +52,4 @@ category: Node.js
 
 ### References
 
-- http://nodejs.org/api/fs.html
+- https://nodejs.org/api/fs.html
diff --git a/npm.md b/npm.md
index 7f09701..16a0c32 100644 (file)
--- a/npm.md
+++ b/npm.md
@@ -61,6 +61,12 @@ updated: 2019-12-24
 | `npm update lodash` | Update a package           |
 
 
+### Removing
+
+| Command             | Description                        |
+| ---                 | ---                                |
+| `npm rm lodash`     | Remove package production packages |
+
 ### Misc features
 
 ```bash
index 557a3d9..b1b4392 100644 (file)
@@ -119,4 +119,4 @@ Use `ActiveRecord::Migration`.
 
 ### References
 
- * http://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatements/add_index
+ * https://apidock.com/rails/ActiveRecord/ConnectionAdapters/SchemaStatements/add_index
index 7ae1275..97fb48b 100644 (file)
--- a/rollup.md
+++ b/rollup.md
@@ -151,14 +151,14 @@ export default {
 #### Terminal
 
 ```bash
-npm install -D rollup-plugin-babel
+npm install -D @rollup/plugin-babel
 ```
 
 #### rollup.config.js
 
 ```js
 import resolve from '@rollup/plugin-node-resolve'
-import babel from 'rollup-plugin-babel'
+import babel from '@rollup/plugin-babel'
 
 export default {
   input: 'src/main.js',
diff --git a/ronn.md b/ronn.md
index a23d6fe..a336765 100644 (file)
--- a/ronn.md
+++ b/ronn.md
@@ -6,7 +6,7 @@ updated: 2017-10-15
 weight: -1
 prism_languages: [bash, ruby, json, markdown]
 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
@@ -110,8 +110,8 @@ markdown(7)
 #### URL links
 
 ```
-[URL link](http://github.com/rstacruz)
-<http://github.com>
+[URL link](https://github.com/rstacruz)
+<https://github.com>
 ```
 
 ## Frequently-used sections
@@ -174,7 +174,7 @@ markdown(7)
 | `7`     | Misc                                          |
 | `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
 
diff --git a/sed.md b/sed.md
index e4d0492..509e4d0 100644 (file)
--- a/sed.md
+++ b/sed.md
@@ -50,7 +50,7 @@ Print after a given line is found.
 ### Print everything except matching
 
 ```bash
-sed -n '/regex/d;'
+sed -n '/regex/!p'
 ```
 
 Print everything except lines matching regex. Useful for printing files with comments.
index 58a30e5..94c5984 100644 (file)
--- a/semver.md
+++ b/semver.md
@@ -92,5 +92,5 @@ When the left is partial (eg, `1.2`), missing pieces are assumed to be `0` (eg,
 ## References
 {: .-one-column}
 
- * <http://semver.org/>
+ * <https://semver.org/>
  * <https://docs.npmjs.com/misc/semver>
index 8ce0ea4..5939fb8 100644 (file)
--- a/travis.md
+++ b/travis.md
@@ -109,6 +109,6 @@ gemfile:
 
 ### References
 
-- http://about.travis-ci.org/docs/user/build-configuration/
-- http://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/build-configuration/
+- https://about.travis-ci.org/docs/user/languages/javascript-with-nodejs/
+- https://about.travis-ci.org/docs/user/languages/ruby/
index 4b073f1..69f9ef9 100644 (file)
@@ -5,7 +5,7 @@ layout: 2017/sheet
 updated: 2018-12-06
 weight: -10
 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
@@ -56,5 +56,5 @@ Also see
 --------
 
 - [Vim cheatsheet](https://vim.rtorr.com/) _(vim.rotrr.com)_
-- [Vim documentation](http://vimdoc.sourceforge.net/htmldoc/) _(vimdoc.sourceforge.net)_
-- [Interactive Vim tutorial](http://openvim.com/) _(openvim.com)_
+- [Vim documentation](https://vimdoc.sourceforge.net/htmldoc/) _(vimdoc.sourceforge.net)_
+- [Interactive Vim tutorial](https://openvim.com/) _(openvim.com)_