Update some top pages

This commit is contained in:
Rico Sta. Cruz 2017-08-28 23:51:51 +08:00
parent e35bd81bcf
commit 97abd2e302
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
9 changed files with 234 additions and 99 deletions

View File

@ -1,124 +1,210 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
RedCloth (4.2.9) activesupport (4.2.8)
activesupport (4.2.5.1)
i18n (~> 0.7) i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1) minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4) thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1) 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 (2.4.1)
coffee-script-source coffee-script-source
execjs execjs
coffee-script-source (1.10.0) coffee-script-source (1.12.2)
colorator (0.1) colorator (1.1.0)
ethon (0.8.1) ethon (0.10.1)
ffi (>= 1.3.0) ffi (>= 1.3.0)
execjs (2.6.0) execjs (2.7.0)
faraday (0.9.2) faraday (0.13.1)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ffi (1.9.10) ffi (1.9.18)
gemoji (2.1.0) forwardable-extended (2.6.0)
github-pages (51) gemoji (3.0.0)
RedCloth (= 4.2.9) github-pages (156)
github-pages-health-check (= 1.0.1) activesupport (= 4.2.8)
jekyll (= 3.0.3) github-pages-health-check (= 1.3.5)
jekyll (= 3.5.2)
jekyll-avatar (= 0.4.2)
jekyll-coffeescript (= 1.0.1) jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.4.0) jekyll-default-layout (= 0.1.4)
jekyll-gist (= 1.4.0) jekyll-feed (= 0.9.2)
jekyll-mentions (= 1.0.1) 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-paginate (= 1.1.0)
jekyll-redirect-from (= 0.9.1) jekyll-readme-index (= 0.1.0)
jekyll-sass-converter (= 1.3.0) jekyll-redirect-from (= 0.12.1)
jekyll-seo-tag (= 1.2.0) jekyll-relative-links (= 0.4.1)
jekyll-sitemap (= 0.10.0) jekyll-sass-converter (= 1.5.0)
jekyll-textile-converter (= 0.1.0) jekyll-seo-tag (= 2.3.0)
jemoji (= 0.5.1) jekyll-sitemap (= 1.0.0)
kramdown (= 1.9.0) jekyll-swiss (= 0.4.0)
liquid (= 3.0.6) 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) mercenary (~> 0.3)
rdiscount (= 2.1.8) minima (= 2.1.1)
redcarpet (= 3.3.3) rouge (= 1.11.1)
rouge (= 1.10.1)
terminal-table (~> 1.4) terminal-table (~> 1.4)
github-pages-health-check (1.0.1) github-pages-health-check (1.3.5)
addressable (~> 2.3) addressable (~> 2.3)
net-dns (~> 0.8) net-dns (~> 0.8)
octokit (~> 4.0) octokit (~> 4.0)
public_suffix (~> 1.4) public_suffix (~> 2.0)
typhoeus (~> 0.7) typhoeus (~> 0.7)
html-pipeline (2.3.0) html-pipeline (2.7.0)
activesupport (>= 2, < 5) activesupport (>= 2)
nokogiri (>= 1.4) nokogiri (>= 1.4)
i18n (0.7.0) i18n (0.8.6)
jekyll (3.0.3) jekyll (3.5.2)
colorator (~> 0.1) addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0) jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1) jekyll-watch (~> 1.1)
kramdown (~> 1.3) kramdown (~> 1.3)
liquid (~> 3.0) liquid (~> 4.0)
mercenary (~> 0.3.3) mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 1.7) rouge (~> 1.7)
safe_yaml (~> 1.0) safe_yaml (~> 1.0)
jekyll-avatar (0.4.2)
jekyll (~> 3.0)
jekyll-coffeescript (1.0.1) jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2) coffee-script (~> 2.2)
jekyll-feed (0.4.0) jekyll-default-layout (0.1.4)
jekyll-gist (1.4.0) jekyll (~> 3.0)
jekyll-feed (0.9.2)
jekyll (~> 3.3)
jekyll-gist (1.4.1)
octokit (~> 4.2) 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) html-pipeline (~> 2.3)
jekyll (~> 3.0) jekyll (~> 3.0)
jekyll-optional-front-matter (0.2.0)
jekyll (~> 3.0)
jekyll-paginate (1.1.0) jekyll-paginate (1.1.0)
jekyll-redirect-from (0.9.1) jekyll-readme-index (0.1.0)
jekyll (>= 2.0) jekyll (~> 3.0)
jekyll-sass-converter (1.3.0) jekyll-redirect-from (0.12.1)
sass (~> 3.2) jekyll (~> 3.3)
jekyll-seo-tag (1.2.0) jekyll-relative-links (0.4.1)
jekyll (>= 2.0) jekyll (~> 3.3)
jekyll-sitemap (0.10.0) jekyll-sass-converter (1.5.0)
jekyll-textile-converter (0.1.0) sass (~> 3.4)
RedCloth (~> 4.0) jekyll-seo-tag (2.3.0)
jekyll-watch (1.3.1) jekyll (~> 3.3)
listen (~> 3.0) jekyll-sitemap (1.0.0)
jemoji (0.5.1) jekyll (~> 3.3)
gemoji (~> 2.0) 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) html-pipeline (~> 2.2)
jekyll (>= 2.0) jekyll (>= 3.0)
json (1.8.3) kramdown (1.13.2)
kramdown (1.9.0) liquid (4.0.0)
liquid (3.0.6)
listen (3.0.6) listen (3.0.6)
rb-fsevent (>= 0.9.3) rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7) rb-inotify (>= 0.9.7)
mercenary (0.3.5) mercenary (0.3.6)
mini_portile2 (2.0.0) mini_portile2 (2.2.0)
minitest (5.8.4) minima (2.1.1)
jekyll (~> 3.3)
minitest (5.10.3)
multipart-post (2.0.0) multipart-post (2.0.0)
net-dns (0.8.0) net-dns (0.8.0)
nokogiri (1.6.7.2) nokogiri (1.8.0)
mini_portile2 (~> 2.0.0.rc2) mini_portile2 (~> 2.2.0)
octokit (4.2.0) octokit (4.7.0)
sawyer (~> 0.6.0, >= 0.5.3) sawyer (~> 0.8.0, >= 0.5.3)
public_suffix (1.5.3) pathutil (0.14.0)
rb-fsevent (0.9.7) forwardable-extended (~> 2.6)
rb-inotify (0.9.7) public_suffix (2.0.5)
ffi (>= 0.5.0) rb-fsevent (0.10.2)
rdiscount (2.1.8) rb-inotify (0.9.10)
redcarpet (3.3.3) ffi (>= 0.5.0, < 2)
rouge (1.10.1) rouge (1.11.1)
safe_yaml (1.0.4) safe_yaml (1.0.4)
sass (3.4.21) sass (3.5.1)
sawyer (0.6.0) sass-listen (~> 4.0.0)
addressable (~> 2.3.5) sass-listen (4.0.0)
faraday (~> 0.8, < 0.10) rb-fsevent (~> 0.9, >= 0.9.4)
terminal-table (1.5.2) rb-inotify (~> 0.9, >= 0.9.7)
thread_safe (0.3.5) 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) typhoeus (0.8.0)
ethon (>= 0.8.0) ethon (>= 0.8.0)
tzinfo (1.2.2) tzinfo (1.2.3)
thread_safe (~> 0.1) thread_safe (~> 0.1)
unicode-display_width (1.3.0)
PLATFORMS PLATFORMS
ruby ruby

View File

@ -3,6 +3,8 @@ title: Ansible
category: Ansible category: Ansible
--- ---
{% raw %}
## Getting started ## Getting started
### Hosts ### Hosts
@ -94,3 +96,4 @@ category: Ansible
* [Intro](http://www.ansibleworks.com/docs/intro_configuration.html) * [Intro](http://www.ansibleworks.com/docs/intro_configuration.html)
* [Modules](http://www.ansibleworks.com/docs/modules.html) * [Modules](http://www.ansibleworks.com/docs/modules.html)
{% endraw %}

View File

@ -1,21 +1,28 @@
--- ---
title: CSS antialiasing title: CSS antialiasing
category: CSS category: CSS
layout: default-ad layout: 2017/sheet
--- ---
* { ### Antialias
-webkit-font-smoothing: antialiased; {: .-prime}
-moz-osx-font-smoothing: grayscale;
} ```css
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
```
### Support ### Support
* Firefox 25+ on OSX * Firefox 25+ on OSX
* Webkits (Chrome, Safari, etc) * Webkits (Chrome, Safari, etc)
### References ## References
{: .-one-column}
* [maxvoltar.com](http://maxvoltar.com/archive/-webkit-font-smoothing) * [maxvoltar.com](http://maxvoltar.com/archive/-webkit-font-smoothing)
* [maximilianhoffman.com](http://maximilianhoffmann.com/posts/better-font-rendering-on-osx) * [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/) * [ilikekillnerds.com](http://ilikekillnerds.com/2010/12/a-solution-to-stop-font-face-fonts-looking-bold-on-mac-browsers/)
{: .-also-see}

View File

@ -2,6 +2,8 @@
title: Ember.js title: Ember.js
--- ---
{% raw %}
### Routes ### Routes
App.Router.map(function() { App.Router.map(function() {
@ -67,3 +69,5 @@ Actions:
<button {{action invite emailAddresses}}>Invite></button> <button {{action invite emailAddresses}}>Invite></button>
<a href="#" {{action set "isEditingContacts" true target="view"}} <a href="#" {{action set "isEditingContacts" true target="view"}}
{% endraw %}

View File

@ -1,22 +1,35 @@
--- ---
title: Handlebars.js title: Handlebars.js
category: JavaScript libraries category: JavaScript libraries
layout: 2017/sheet
--- ---
{% raw %}
### Helpers ### Helpers
Handlebars.registerHelper('link_to', function() { ```js
return "<a href='" + this.url + "'>" + this.body + "</a>"; Handlebars.registerHelper('link_to', function() {
}); return "<a href='" + this.url + "'>" + this.body + "</a>";
})
```
var context = { posts: [{url: "/hello-world", body: "Hello World!"}] }; ```js
var source = "<ul>{{#posts}}<li>{{{link_to}}}</li>{{/posts}}</ul>" var context = { posts: [{url: "/hello-world", body: "Hello World!"}] }
var source = "<ul>{{#posts}}<li>{{{link_to}}}</li>{{/posts}}</ul>"
```
var template = Handlebars.compile(source); ```js
template(context); var template = Handlebars.compile(source)
template(context)
```
// Would render: Would render:
//
// <ul> ```html
// <li><a href='/hello-world'>Hello World!</a></li> <ul>
// </ul> <li><a href='/hello-world'>Hello World!</a></li>
</ul>
```
{% endraw %}

View File

@ -1,6 +1,6 @@
--- ---
title: Homebrew title: Homebrew
layout: default-ad layout: 2017/sheet
--- ---
### Commands ### Commands
@ -15,11 +15,16 @@ layout: default-ad
| `brew switch git 2.5.0` | Change versions | | `brew switch git 2.5.0` | Change versions |
| --- | --- | | --- | --- |
| `brew list --versions git` | See what versions you have | | `brew list --versions git` | See what versions you have |
### More package commands
| Command | Description |
| --- | --- |
| `brew info git` | List versions, caveats, etc | | `brew info git` | List versions, caveats, etc |
| `brew cleanup git` | Remove old versions | | `brew cleanup git` | Remove old versions |
| `brew edit git` | Edit this formula | | `brew edit git` | Edit this formula |
| `brew cat git` | Print this formula |
| `brew home git` | Open homepage | | `brew home git` | Open homepage |
{:.no-head.greycode}
### Global commands ### Global commands
@ -28,4 +33,11 @@ layout: default-ad
| `brew update` | Update brew and cask | | `brew update` | Update brew and cask |
| `brew list` | List installed | | `brew list` | List installed |
| `brew outdated` | What's due for upgrades? | | `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}

View File

@ -2,6 +2,7 @@
title: Jekyll title: Jekyll
jekyll_escape: true jekyll_escape: true
layout: 2017/sheet layout: 2017/sheet
tags: [Featured]
--- ---
{% raw %} {% raw %}

View File

@ -4,6 +4,8 @@ category: React
layout: default-ad layout: default-ad
--- ---
{% raw %}
### Basic ### Basic
```js ```js
@ -112,3 +114,5 @@ this
.makeHref('about') // return URL .makeHref('about') // return URL
.goBack() .goBack()
``` ```
{% endraw %}

5
vue.md
View File

@ -3,6 +3,8 @@ title: Vue
category: JavaScript libraries category: JavaScript libraries
--- ---
{% raw %}
### Lists ### Lists
```html ```html
@ -105,3 +107,6 @@ Also
<template lang='jade'> <template lang='jade'>
h1(class='red') {{msg}} h1(class='red') {{msg}}
</template> </template>
```
{% endraw %}