From 97abd2e302ea5945fd8cba592497d56faf58dfaf Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 28 Aug 2017 23:51:51 +0800 Subject: [PATCH] Update some top pages --- Gemfile.lock | 242 ++++++++++++++++++++++++++++++++--------------- ansible.md | 3 + css-antialias.md | 19 ++-- ember.md | 4 + handlebars-js.md | 37 +++++--- homebrew.md | 18 +++- jekyll.md | 1 + react-router.md | 4 + vue.md | 5 + 9 files changed, 234 insertions(+), 99 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 5b748b61..27b3c09d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,124 +1,210 @@ GEM remote: https://rubygems.org/ specs: - RedCloth (4.2.9) - activesupport (4.2.5.1) + activesupport (4.2.8) i18n (~> 0.7) - json (~> 1.7, >= 1.7.7) minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - addressable (2.3.8) + addressable (2.5.2) + public_suffix (>= 2.0.2, < 4.0) coffee-script (2.4.1) coffee-script-source execjs - coffee-script-source (1.10.0) - colorator (0.1) - ethon (0.8.1) + coffee-script-source (1.12.2) + colorator (1.1.0) + ethon (0.10.1) ffi (>= 1.3.0) - execjs (2.6.0) - faraday (0.9.2) + execjs (2.7.0) + faraday (0.13.1) multipart-post (>= 1.2, < 3) - ffi (1.9.10) - gemoji (2.1.0) - github-pages (51) - RedCloth (= 4.2.9) - github-pages-health-check (= 1.0.1) - jekyll (= 3.0.3) + ffi (1.9.18) + forwardable-extended (2.6.0) + gemoji (3.0.0) + github-pages (156) + activesupport (= 4.2.8) + github-pages-health-check (= 1.3.5) + jekyll (= 3.5.2) + jekyll-avatar (= 0.4.2) jekyll-coffeescript (= 1.0.1) - jekyll-feed (= 0.4.0) - jekyll-gist (= 1.4.0) - jekyll-mentions (= 1.0.1) + jekyll-default-layout (= 0.1.4) + jekyll-feed (= 0.9.2) + jekyll-gist (= 1.4.1) + jekyll-github-metadata (= 2.8.0) + jekyll-mentions (= 1.2.0) + jekyll-optional-front-matter (= 0.2.0) jekyll-paginate (= 1.1.0) - jekyll-redirect-from (= 0.9.1) - jekyll-sass-converter (= 1.3.0) - jekyll-seo-tag (= 1.2.0) - jekyll-sitemap (= 0.10.0) - jekyll-textile-converter (= 0.1.0) - jemoji (= 0.5.1) - kramdown (= 1.9.0) - liquid (= 3.0.6) + jekyll-readme-index (= 0.1.0) + jekyll-redirect-from (= 0.12.1) + jekyll-relative-links (= 0.4.1) + jekyll-sass-converter (= 1.5.0) + jekyll-seo-tag (= 2.3.0) + jekyll-sitemap (= 1.0.0) + jekyll-swiss (= 0.4.0) + jekyll-theme-architect (= 0.1.0) + jekyll-theme-cayman (= 0.1.0) + jekyll-theme-dinky (= 0.1.0) + jekyll-theme-hacker (= 0.1.0) + jekyll-theme-leap-day (= 0.1.0) + jekyll-theme-merlot (= 0.1.0) + jekyll-theme-midnight (= 0.1.0) + jekyll-theme-minimal (= 0.1.0) + jekyll-theme-modernist (= 0.1.0) + jekyll-theme-primer (= 0.5.0) + jekyll-theme-slate (= 0.1.0) + jekyll-theme-tactile (= 0.1.0) + jekyll-theme-time-machine (= 0.1.0) + jekyll-titles-from-headings (= 0.4.0) + jemoji (= 0.8.0) + kramdown (= 1.13.2) + liquid (= 4.0.0) + listen (= 3.0.6) mercenary (~> 0.3) - rdiscount (= 2.1.8) - redcarpet (= 3.3.3) - rouge (= 1.10.1) + minima (= 2.1.1) + rouge (= 1.11.1) terminal-table (~> 1.4) - github-pages-health-check (1.0.1) + github-pages-health-check (1.3.5) addressable (~> 2.3) net-dns (~> 0.8) octokit (~> 4.0) - public_suffix (~> 1.4) + public_suffix (~> 2.0) typhoeus (~> 0.7) - html-pipeline (2.3.0) - activesupport (>= 2, < 5) + html-pipeline (2.7.0) + activesupport (>= 2) nokogiri (>= 1.4) - i18n (0.7.0) - jekyll (3.0.3) - colorator (~> 0.1) + i18n (0.8.6) + jekyll (3.5.2) + addressable (~> 2.4) + colorator (~> 1.0) jekyll-sass-converter (~> 1.0) jekyll-watch (~> 1.1) kramdown (~> 1.3) - liquid (~> 3.0) + liquid (~> 4.0) mercenary (~> 0.3.3) + pathutil (~> 0.9) rouge (~> 1.7) safe_yaml (~> 1.0) + jekyll-avatar (0.4.2) + jekyll (~> 3.0) jekyll-coffeescript (1.0.1) coffee-script (~> 2.2) - jekyll-feed (0.4.0) - jekyll-gist (1.4.0) + jekyll-default-layout (0.1.4) + jekyll (~> 3.0) + jekyll-feed (0.9.2) + jekyll (~> 3.3) + jekyll-gist (1.4.1) octokit (~> 4.2) - jekyll-mentions (1.0.1) + jekyll-github-metadata (2.8.0) + jekyll (~> 3.1) + octokit (~> 4.0, != 4.4.0) + jekyll-mentions (1.2.0) + activesupport (~> 4.0) html-pipeline (~> 2.3) jekyll (~> 3.0) + jekyll-optional-front-matter (0.2.0) + jekyll (~> 3.0) jekyll-paginate (1.1.0) - jekyll-redirect-from (0.9.1) - jekyll (>= 2.0) - jekyll-sass-converter (1.3.0) - sass (~> 3.2) - jekyll-seo-tag (1.2.0) - jekyll (>= 2.0) - jekyll-sitemap (0.10.0) - jekyll-textile-converter (0.1.0) - RedCloth (~> 4.0) - jekyll-watch (1.3.1) - listen (~> 3.0) - jemoji (0.5.1) - gemoji (~> 2.0) + jekyll-readme-index (0.1.0) + jekyll (~> 3.0) + jekyll-redirect-from (0.12.1) + jekyll (~> 3.3) + jekyll-relative-links (0.4.1) + jekyll (~> 3.3) + jekyll-sass-converter (1.5.0) + sass (~> 3.4) + jekyll-seo-tag (2.3.0) + jekyll (~> 3.3) + jekyll-sitemap (1.0.0) + jekyll (~> 3.3) + jekyll-swiss (0.4.0) + jekyll-theme-architect (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-cayman (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-dinky (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-hacker (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-leap-day (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-merlot (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-midnight (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-minimal (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-modernist (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-primer (0.5.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.2) + jekyll-theme-slate (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-tactile (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-theme-time-machine (0.1.0) + jekyll (~> 3.5) + jekyll-seo-tag (~> 2.0) + jekyll-titles-from-headings (0.4.0) + jekyll (~> 3.3) + jekyll-watch (1.5.0) + listen (~> 3.0, < 3.1) + jemoji (0.8.0) + activesupport (~> 4.0) + gemoji (~> 3.0) html-pipeline (~> 2.2) - jekyll (>= 2.0) - json (1.8.3) - kramdown (1.9.0) - liquid (3.0.6) + jekyll (>= 3.0) + kramdown (1.13.2) + liquid (4.0.0) listen (3.0.6) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9.7) - mercenary (0.3.5) - mini_portile2 (2.0.0) - minitest (5.8.4) + mercenary (0.3.6) + mini_portile2 (2.2.0) + minima (2.1.1) + jekyll (~> 3.3) + minitest (5.10.3) multipart-post (2.0.0) net-dns (0.8.0) - nokogiri (1.6.7.2) - mini_portile2 (~> 2.0.0.rc2) - octokit (4.2.0) - sawyer (~> 0.6.0, >= 0.5.3) - public_suffix (1.5.3) - rb-fsevent (0.9.7) - rb-inotify (0.9.7) - ffi (>= 0.5.0) - rdiscount (2.1.8) - redcarpet (3.3.3) - rouge (1.10.1) + nokogiri (1.8.0) + mini_portile2 (~> 2.2.0) + octokit (4.7.0) + sawyer (~> 0.8.0, >= 0.5.3) + pathutil (0.14.0) + forwardable-extended (~> 2.6) + public_suffix (2.0.5) + rb-fsevent (0.10.2) + rb-inotify (0.9.10) + ffi (>= 0.5.0, < 2) + rouge (1.11.1) safe_yaml (1.0.4) - sass (3.4.21) - sawyer (0.6.0) - addressable (~> 2.3.5) - faraday (~> 0.8, < 0.10) - terminal-table (1.5.2) - thread_safe (0.3.5) + sass (3.5.1) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + sawyer (0.8.1) + addressable (>= 2.3.5, < 2.6) + faraday (~> 0.8, < 1.0) + terminal-table (1.8.0) + unicode-display_width (~> 1.1, >= 1.1.1) + thread_safe (0.3.6) typhoeus (0.8.0) ethon (>= 0.8.0) - tzinfo (1.2.2) + tzinfo (1.2.3) thread_safe (~> 0.1) + unicode-display_width (1.3.0) PLATFORMS ruby diff --git a/ansible.md b/ansible.md index c9ab13fe..0d738824 100644 --- a/ansible.md +++ b/ansible.md @@ -3,6 +3,8 @@ title: Ansible category: Ansible --- +{% raw %} + ## Getting started ### Hosts @@ -94,3 +96,4 @@ category: Ansible * [Intro](http://www.ansibleworks.com/docs/intro_configuration.html) * [Modules](http://www.ansibleworks.com/docs/modules.html) +{% endraw %} diff --git a/css-antialias.md b/css-antialias.md index 0fb071c4..1ce39f45 100644 --- a/css-antialias.md +++ b/css-antialias.md @@ -1,21 +1,28 @@ --- title: CSS antialiasing category: CSS -layout: default-ad +layout: 2017/sheet --- - * { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - } +### Antialias +{: .-prime} + +```css +* { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +``` ### Support * Firefox 25+ on OSX * Webkits (Chrome, Safari, etc) -### References +## References +{: .-one-column} * [maxvoltar.com](http://maxvoltar.com/archive/-webkit-font-smoothing) * [maximilianhoffman.com](http://maximilianhoffmann.com/posts/better-font-rendering-on-osx) * [ilikekillnerds.com](http://ilikekillnerds.com/2010/12/a-solution-to-stop-font-face-fonts-looking-bold-on-mac-browsers/) +{: .-also-see} diff --git a/ember.md b/ember.md index c2c9250c..5df64d94 100644 --- a/ember.md +++ b/ember.md @@ -2,6 +2,8 @@ title: Ember.js --- +{% raw %} + ### Routes App.Router.map(function() { @@ -67,3 +69,5 @@ Actions: " + this.body + ""; - }); +```js +Handlebars.registerHelper('link_to', function() { + return "" + this.body + ""; +}) +``` - var context = { posts: [{url: "/hello-world", body: "Hello World!"}] }; - var source = "" +```js +var context = { posts: [{url: "/hello-world", body: "Hello World!"}] } +var source = "" +``` - var template = Handlebars.compile(source); - template(context); +```js +var template = Handlebars.compile(source) +template(context) +``` - // Would render: - // - // +Would render: + +```html + +``` + +{% endraw %} diff --git a/homebrew.md b/homebrew.md index 5b4323b4..219d9960 100644 --- a/homebrew.md +++ b/homebrew.md @@ -1,6 +1,6 @@ --- title: Homebrew -layout: default-ad +layout: 2017/sheet --- ### Commands @@ -15,11 +15,16 @@ layout: default-ad | `brew switch git 2.5.0` | Change versions | | --- | --- | | `brew list --versions git` | See what versions you have | + +### More package commands + +| Command | Description | +| --- | --- | | `brew info git` | List versions, caveats, etc | | `brew cleanup git` | Remove old versions | | `brew edit git` | Edit this formula | +| `brew cat git` | Print this formula | | `brew home git` | Open homepage | -{:.no-head.greycode} ### Global commands @@ -28,4 +33,11 @@ layout: default-ad | `brew update` | Update brew and cask | | `brew list` | List installed | | `brew outdated` | What's due for upgrades? | -{:.no-head.greycode} + +## Also see +{: .-one-column} + +* [Homebrew homepage](https://brew.sh/) _brew.sh_ +* [Homebrew docs](https://docs.brew.sh) _docs.brew.sh_ +* [Homebrew Cask](https://caskroom.github.io/) _caskroom.github.io_ +{: .-also-see} diff --git a/jekyll.md b/jekyll.md index 15f93852..8a37afaf 100644 --- a/jekyll.md +++ b/jekyll.md @@ -2,6 +2,7 @@ title: Jekyll jekyll_escape: true layout: 2017/sheet +tags: [Featured] --- {% raw %} diff --git a/react-router.md b/react-router.md index d2f5f56d..9bd0689c 100644 --- a/react-router.md +++ b/react-router.md @@ -4,6 +4,8 @@ category: React layout: default-ad --- +{% raw %} + ### Basic ```js @@ -112,3 +114,5 @@ this .makeHref('about') // return URL .goBack() ``` + +{% endraw %} diff --git a/vue.md b/vue.md index b1f31930..9ff24a02 100644 --- a/vue.md +++ b/vue.md @@ -3,6 +3,8 @@ title: Vue category: JavaScript libraries --- +{% raw %} + ### Lists ```html @@ -105,3 +107,6 @@ Also +``` + +{% endraw %}