Content formatting update (part 3) (#1967)
This commit is contained in:
parent
c8d1d57d9f
commit
ea5f9100f2
15
angularjs.md
15
angularjs.md
|
@ -1,7 +1,18 @@
|
|||
---
|
||||
title: Angular.js
|
||||
category: JavaScript libraries
|
||||
tags: [Archived]
|
||||
archived: This describes an older version of Angular.
|
||||
---
|
||||
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
* <https://github.com/angular/angular-seed>
|
||||
* <https://angularjs.org/>
|
||||
|
||||
### ng-app
|
||||
|
||||
```html
|
||||
<html ng-app="nameApp">
|
||||
```
|
||||
|
@ -88,7 +99,3 @@ In HTML will use `<name></name>` to render your template `<h1>Hello</h1>`
|
|||
})
|
||||
});
|
||||
```
|
||||
References:
|
||||
|
||||
* https://github.com/angular/angular-seed
|
||||
* https://angularjs.org/
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
---
|
||||
title: Applinks
|
||||
category: HTML
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### About
|
||||
|
||||
- <http://applinks.org/>
|
||||
|
||||
### Applinks
|
||||
|
||||
<meta property="al:ios:url" content="applinks://docs" />
|
||||
<meta property="al:ios:app_store_id" content="12345" />
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
---
|
||||
title: Bookshelf.js
|
||||
category: JavaScript libraries
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
Model
|
||||
-----
|
||||
|
||||
### Model
|
||||
```js
|
||||
Summary = bookshelf.Model.extend({
|
||||
tableName: 'summaries',
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
---
|
||||
title: Browsersync
|
||||
category: JavaScript libraries
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
```
|
||||
npm i -g browser-sync
|
||||
```
|
||||
{:.terminal}
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
`npm i -g browser-sync`
|
||||
|
||||
* [browsersync.io](https://browsersync.io)
|
||||
|
||||
### Start a server
|
||||
|
||||
|
@ -20,7 +23,3 @@ browser-sync start --server <path> --files='**/*.html, **/*.css'
|
|||
--port=N
|
||||
--proxy="http://127.0.0.1:3000"
|
||||
```
|
||||
|
||||
### Reference
|
||||
|
||||
* [browsersync.io](http://browsersync.io)
|
||||
|
|
|
@ -1,8 +1,20 @@
|
|||
---
|
||||
title: Browserify
|
||||
category: JavaScript libraries
|
||||
layout: 2017/sheet
|
||||
tags: [Archived]
|
||||
archived: Browserify has not been in active development.
|
||||
---
|
||||
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
Browserify is a bundler for JavaScript.
|
||||
|
||||
- <https://browserify.org/>
|
||||
|
||||
### Usage
|
||||
|
||||
browserify input.js
|
||||
-o output.js
|
||||
-t coffeeify
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Bundler
|
||||
category: Ruby
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### Commands
|
||||
|
|
|
@ -1,9 +1,18 @@
|
|||
---
|
||||
title: Divshot
|
||||
layout: 2017/sheet
|
||||
tags: [Archived]
|
||||
archived: Divshot is no longer in operation.
|
||||
---
|
||||
|
||||
## Getting started
|
||||
|
||||
### About
|
||||
|
||||
Divshot was a static hosting platform.
|
||||
|
||||
- <https://divshot.com/>
|
||||
|
||||
### Install divshot-cli
|
||||
|
||||
```
|
||||
|
|
4
do.md
4
do.md
|
@ -1,8 +1,12 @@
|
|||
---
|
||||
title: Do gem
|
||||
category: Ruby libraries
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
* [DAddYE/do](https://github.com/DAddYE/do)
|
||||
|
||||
### Connection
|
||||
|
|
1
emacs.md
1
emacs.md
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Emacs
|
||||
category: CLI
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### Movements
|
||||
|
|
3
ember.md
3
ember.md
|
@ -1,6 +1,9 @@
|
|||
---
|
||||
title: Ember.js
|
||||
category: JavaScript libraries
|
||||
layout: 2017/sheet
|
||||
tags: [Archived]
|
||||
archived: This sheet describes an older version of Ember.
|
||||
---
|
||||
|
||||
{% raw %}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Express.js
|
||||
category: JavaScript libraries
|
||||
layoute: 2017/sheet
|
||||
---
|
||||
|
||||
### Settings
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
---
|
||||
title: Google Analytics
|
||||
layout: 2017/sheet
|
||||
tags: [Archived]
|
||||
archived: This sheet describes an older version of Google Analytics (UA).
|
||||
---
|
||||
|
||||
### Pageview
|
||||
|
@ -27,5 +30,7 @@ title: Google Analytics
|
|||
|
||||
// Scope = 1 (visitor), 2 (session), 3 (page, default)
|
||||
|
||||
https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables
|
||||
https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
|
||||
### References
|
||||
|
||||
- <https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables>
|
||||
- <https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide>
|
||||
|
|
12
hledger.md
12
hledger.md
|
@ -1,18 +1,26 @@
|
|||
---
|
||||
title: Hledger
|
||||
category: Ledger
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
## Reporting
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
- <https://hledger.org>
|
||||
- <https://hledger.org/quickstart.html>
|
||||
|
||||
### Reporting
|
||||
|
||||
```
|
||||
hledger bal {query}
|
||||
hledger reg {query}
|
||||
```
|
||||
{:.large.terminal}
|
||||
|
||||
## Query
|
||||
|
||||
### Queries
|
||||
|
||||
Queries are used on all commands (`bal`, `reg`, etc). [(docs)](http://hledger.org/manual.html#queries)
|
||||
|
||||
```
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: iOS Provisioning Profiles
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### Types of profiles
|
||||
|
|
8
koa.md
8
koa.md
|
@ -1,8 +1,16 @@
|
|||
---
|
||||
title: Koa
|
||||
category: JavaScript libraries
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
Koa is a web framework for Node.js.
|
||||
|
||||
- <https://koajs.com/>
|
||||
|
||||
### Reference
|
||||
|
||||
```js
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
---
|
||||
title: Kramdown
|
||||
category: Markup
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
Kramdown is a Markdown parser in Ruby.
|
||||
|
||||
- <https://kramdown.gettalong.org/>
|
||||
|
||||
### Configuration
|
||||
|
||||
* `parse_block_html` - process kramdown syntax inside blocks
|
||||
|
|
1
linux.md
1
linux.md
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Linux
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### Read/Write/Execute a file
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
---
|
||||
title: Machinist
|
||||
category: Ruby libraries
|
||||
layout: 2017/sheet
|
||||
tags: [Archived]
|
||||
archived: Machinist has not been in active development since 2013.
|
||||
---
|
||||
|
||||
### About
|
||||
|
||||
Machinist is a fixture management library for Ruby.
|
||||
|
||||
- <https://github.com/notahat/machinist>
|
||||
|
||||
### Installing
|
||||
|
||||
# Gemfile
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
---
|
||||
title: Middleman 3
|
||||
category: JavaScript libraries
|
||||
layout: 2017/sheet
|
||||
tags: [Archived]
|
||||
archived: This guide is for Middleman v3.
|
||||
---
|
||||
|
||||
### About
|
||||
|
||||
**NB:** This is for Middleman 3, not Middleman 4+.
|
||||
|
||||
### Compass config
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Minitest
|
||||
category: Ruby
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### Usage
|
||||
|
|
1
mocha.md
1
mocha.md
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Mocha.js
|
||||
category: JavaScript libraries
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### BDD
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
---
|
||||
title: Modernizr
|
||||
category: JavaScript libraries
|
||||
layout: 2017/sheet
|
||||
tags: [Archived]
|
||||
archived: Modernizr is no longer in active development.
|
||||
---
|
||||
|
||||
### Script
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: fs
|
||||
category: Node.js
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### Reading
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: process
|
||||
category: Node.js
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### Streams
|
||||
|
|
10
nodejs.md
10
nodejs.md
|
@ -1,9 +1,15 @@
|
|||
---
|
||||
title: Node.js API
|
||||
category: Node.js
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
## Globals
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
- <https://nodejs.org>
|
||||
|
||||
### Globals
|
||||
|
||||
__filename
|
||||
__dirname
|
||||
|
@ -21,7 +27,7 @@ category: Node.js
|
|||
}
|
||||
});
|
||||
|
||||
## Snippets
|
||||
### Snippets
|
||||
|
||||
info = require('../package.json')
|
||||
info.version
|
||||
|
|
10
pacman.md
10
pacman.md
|
@ -2,13 +2,19 @@
|
|||
title: Pacman
|
||||
category: Linux
|
||||
updated: 2018-07-07
|
||||
intro: |
|
||||
Pacman is the package manager for Arch linux and its derivatives.
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
## Commands
|
||||
{: .-three-column}
|
||||
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
Pacman is the package manager for Arch Linux and its derivatives.
|
||||
|
||||
- <https://wiki.archlinux.org/title/pacman>
|
||||
|
||||
### Common commands
|
||||
|
||||
| Command | Description |
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
---
|
||||
title: Perl-pie
|
||||
category: Development
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
Use `perl` to search and replace across many files.
|
||||
|
||||
### Search and replace
|
||||
|
||||
```sh
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
---
|
||||
title: PlantUML
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
PlantUML is a markup language for creating diagrams.
|
||||
|
||||
- <https://plantuml.com/>
|
||||
|
||||
### Format
|
||||
|
||||
@startuml
|
||||
|
|
8
pry.md
8
pry.md
|
@ -1,8 +1,16 @@
|
|||
---
|
||||
title: Pry
|
||||
category: Ruby libraries
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
Pry is a runtime development console for Ruby.
|
||||
|
||||
- <https://github.com/pry/pry>
|
||||
|
||||
### cd
|
||||
|
||||
```
|
||||
|
|
11
qjs.md
11
qjs.md
|
@ -1,8 +1,15 @@
|
|||
---
|
||||
title: Q.js
|
||||
category: JavaScript libraries
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
* <https://github.com/kriskowal/q>
|
||||
* <https://github.com/kriskowal/q/wiki/API-Reference>
|
||||
|
||||
### Creating promises (Q.promise)
|
||||
|
||||
Q.promise (ok, fail) =>
|
||||
|
@ -69,7 +76,3 @@ category: JavaScript libraries
|
|||
|
||||
.catch (e) ->
|
||||
console.error "Oh well", e
|
||||
|
||||
### Reference
|
||||
|
||||
* https://github.com/kriskowal/q/wiki/API-Reference
|
||||
|
|
11
ractive.md
11
ractive.md
|
@ -1,10 +1,19 @@
|
|||
---
|
||||
title: Ractive.js
|
||||
category: JavaScript libraries
|
||||
vim: ft=javascript
|
||||
layout: 2017/sheet
|
||||
---
|
||||
|
||||
{% raw %}
|
||||
|
||||
### About
|
||||
{: .-intro}
|
||||
|
||||
Ractive is a UI library for JavaScript.
|
||||
|
||||
- <https://ractive.js.org/>
|
||||
- <https://ractivejs.org/>
|
||||
|
||||
### [Initialization](http://docs.ractivejs.org/latest/options)
|
||||
|
||||
new Ractive({
|
||||
|
|
Loading…
Reference in New Issue