Content formatting update (part 3) (#1967)

This commit is contained in:
Rico Sta. Cruz 2023-03-14 12:52:21 +11:00 committed by GitHub
parent c8d1d57d9f
commit ea5f9100f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
33 changed files with 170 additions and 25 deletions

View File

@ -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/

View File

@ -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" />

View File

@ -1,11 +1,13 @@
---
title: Bookshelf.js
category: JavaScript libraries
layout: 2017/sheet
---
Model
-----
### Model
```js
Summary = bookshelf.Model.extend({
tableName: 'summaries',

View File

@ -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)

View File

@ -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

View File

@ -1,6 +1,7 @@
---
title: Bundler
category: Ruby
layout: 2017/sheet
---
### Commands

View File

@ -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
View File

@ -1,8 +1,12 @@
---
title: Do gem
category: Ruby libraries
layout: 2017/sheet
---
### About
{: .-intro}
* [DAddYE/do](https://github.com/DAddYE/do)
### Connection

View File

@ -1,6 +1,7 @@
---
title: Emacs
category: CLI
layout: 2017/sheet
---
### Movements

View File

@ -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 %}

View File

@ -1,6 +1,7 @@
---
title: Express.js
category: JavaScript libraries
layoute: 2017/sheet
---
### Settings

View File

@ -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>

View File

@ -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)
```

View File

@ -1,5 +1,6 @@
---
title: iOS Provisioning Profiles
layout: 2017/sheet
---
### Types of profiles

8
koa.md
View File

@ -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

View File

@ -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

View File

@ -1,5 +1,6 @@
---
title: Less.js
layout: 2017/sheet
---
### Functions

View File

@ -1,5 +1,6 @@
---
title: Linux
layout: 2017/sheet
---
### Read/Write/Execute a file

View 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

View File

@ -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

View File

@ -1,6 +1,7 @@
---
title: Minitest
category: Ruby
layout: 2017/sheet
---
### Usage

View File

@ -1,6 +1,7 @@
---
title: Mocha.js
category: JavaScript libraries
layout: 2017/sheet
---
### BDD

View File

@ -1,6 +1,9 @@
---
title: Modernizr
category: JavaScript libraries
layout: 2017/sheet
tags: [Archived]
archived: Modernizr is no longer in active development.
---
### Script

View File

@ -1,6 +1,7 @@
---
title: fs
category: Node.js
layout: 2017/sheet
---
### Reading

View File

@ -1,6 +1,7 @@
---
title: process
category: Node.js
layout: 2017/sheet
---
### Streams

View File

@ -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

View File

@ -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 |

View File

@ -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

View File

@ -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
View File

@ -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
View File

@ -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

View File

@ -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({

View File

@ -5,6 +5,7 @@ layout: 2017/sheet
tags: [Archived]
intro: |
[weinre](https://www.npmjs.com/package/weinre) is a remote Web inspector. Note that it has been deprecated since 2016.
archived: Weinre has been deprecated since 2016.
---
### Usage