text:
# apib2go

[![Build Status](https://travis-ci.org/nfisher/apib2go.svg?branch=master)](https://travis-ci.org/nfisher/apib2go)
[![Coverage Status](https://coveralls.io/repos/github/nfisher/apib2go/badge.svg?branch=master)](https://coveralls.io/github/nfisher/apib2go?branch=master)

## Core Principles

- Optional is represented by pointer.
- Required is represented by an instance. \*
- Numbers are represented as strings to avoid issues with precision.
- functions such as builders and other tooling can co-exist with the generated code as long as the user does not place it in the generated source code files.

\* I'm not really a fan of required fields. It limits schema evolution (protobuf3 dropped it entirely) so it'll be the last thing I focus on.

## Type Mapping

| APIB    | Go            | Notes                               |
| ------- | ------------- | ----------------------------------- |
| boolean | \*bool        |                                     |
| string  | \*string      |                                     |
| number  | \*string      | allow user to decide how to convert |
| array   | pointer slice |                                     |
| enum    | \*string      |                                     |
| object  | \*Object      |                                     |

## Example

fruits.apib
```
# Fruit API
Fruit distribution API.

## Data Structures

### Dimension
+ radius (number)
+ length (number)

### Produce

+ colour (string) - What colour is it?
+ dimesions (Dimension)
+ fruit (boolean) - Is it fruit?
```

Execution
```
apib2go -input fruit.apib -package fruit
```

Go
```
package fruit

import (
  "github.com/nfisher/apib2go/apib"
  . "github.com/nfisher/apib2go/primitives"
)

type Dimensions struct {
  Radius Number
  Length Number
}

type Produce struct {
  Colour     String
  Dimensions *Dimensions
  Fruit      Boolean
  Name       String
}

// Usage:

dim := &Dimension {
  Radius: apib.Int(3),
  Length: apib.Decimal("18.56"),
}

p := &Produce {
  Colour: apib.String("yellow"),
  Dimensions: dim,
  Fruit: apib.Boolean(true),
  Name: apib.String("banana"),
}
```

## Reference Material

- https://apiblueprint.org/documentation/specification.html
- https://apiblueprint.org/documentation/mson/specification.html


text:
# code-stream-guard

A Chat Bot for Live Coding Streamers

![Screenshot Example](https://github.com/longsteve/code-stream-guard/raw/master/assets/example.png "Screenshot Example")

# Aim

To provide a chat bot that will offer features to live code streamers, such
as those on livecoding.tv and the twitch.tv Creative channels.  Currently only
livecoding.tv is supported, using the XMPP chat connection.

# Features

1. Connect to livecoding.tv chat channels
1. Welcome new viewers in the chat
1. Provides a transparent stream overlay window for notifications
1. Displays a popup welcome avatar image for viewers joining
1. Displays a popup welcome avatar image for new followers including a shower of fireworks
1. Displays a popup animation when someone submits a rating
1. Provides the following chat bot commmands:
  * !help
  * !cloc - Count lines of code
  * !rate N - Rate the streamer between 0 and 100
1. Separate strings.json file for message customisation
1. Followers and ratings saved to json files between sessions

# TODO

1. Add timestamps so people entering and leaving chat can't spam the popup or welcome text
  * Decide on sensible defaults for repeat greeting and avatar popups
  * Add a timestamp to each !command, so they can't be spammed (especially rate)
1. Clean up the window setup from new, postion and transparency are awkward
1. Add sound effects
1. Add more chat commands
 * !spaces or !tabs
 * !vote
 * !joke
 * !fortune
1. Allow multiple front end connections (for indicator lights or other hardware)

# Inspiration

- https://github.com/LiveCodeMonkeys/lctvbot_module
- https://gist.github.com/powdahound/940969
- https://github.com/Cristy94/livecoding-chat-bot

# Usage

Currently, the code has only been tested on Mac OS.  It should run on Linux, but
I have had trouble with transparency on the front end UI window (from Node Webkit).

You will need to make your own config.json file, which you can go by copying
example-config.json and editing it.  You need to make sure the values are set
as described below.

```

$ npm install
$ cp example-config.json config.json

... Edit config.json with your details ...

$ ./run
```

This runs the bot using [NW.js](https://nwjs.io/ "NW.js Homepage"), see below for more details.

You can also use:

```
$ node app
```
but this will not open up the frontend UI window.  However, you can open a web browser pointing
to http://localhost:3000 in order to get the UI notifications.

# Node Webkit (NW.js) Integration

If run using the [Node Webkit](https://nwjs.io/ "NW.js Homepage") integration (./run), you should
get a window open up on screen, which loads the index.html page.  This window contains 2 areas
that are used to notify the streamer of people joining and leaving the chat channel, new
followers, and also new ratings using the !rate command.  By default, the window opens up without
transparency, in the middle of the screen.  It should be possible to move this window to somewhere
appropriate on the screen, or indeed offscreen to a second monitor then close the window.  Then
restart the app and the window will appear in the place it was left.

Once the window is in the correct place, you can edit the package.json file and set the
following values:

``` json
{
   "window": {
      "resizable": false,
      "frame": false,
      "transparent": true
   }
}
```

In order for the window to be transparent, you need to set this values.  Also, see
[this page](https://github.com/nwjs/nw.js/wiki/Transparency) for more details.

Once the window is transparent, and off to one side or a second monitor, you can
add it to your stream using OBS Window Capture source.  Being transparent, you
can put it where you like and the animations will appear when something happens.

# config.json

``` json
{
   "livecoding.tv": {
      "domain": "chat.livecoding.tv",
      "channel": "longsteve",
      "nickname"<EMAIL_ADDRESS>      "password": "PASSWORD",
      "chatname": "Tim",
      "owner": "Steve",
      "followers-feed-url": "https://www.livecoding.tv/rss/longsteve/followers/?key=FEEDKEY",
      "cloc-command": "cloc --exclude-dir=node_modules,frameworks --exclude-lang=CMake --progress-rate=0 --csv --quiet /Users/USERNAME/Projects/PROJECT"
   }
}
```
* **domain** needs to be left as *chat.livecoding.tv*
* **channel** is the channel that the bot will join. This is normally going to be the username (without @livecoding.tv) of the streamer. I've used *test* before, and I think my bot joined the channel of a livecoding.tv user called *test*!
* **nickname** is the full @livecoding.tv username of the user the bot is going to log in as.  You need to create a proper user to identify to the chat service as.
* **password** is the password of the chat bot user identified by *nickname*.  Note this is not the password of the streamer.
* **chatname** is the name by which the bot refers to itself in it's message strings. For example, the default greeting when it joins a channel is "Hi everyone. I'm {name} the chat bot", and {name} gets replaced with the *chatname* config value.
* **owner** is the name by which the chat bot refers to the channel owner.  eg. "{name}'s new rating is 100%"
* **followers-feed-url** is the url that can be used to get all the channel owner (streamers) followers. You get this by going to your **Follows** profile page when logged into livecoding.tv and clicking on the RSS icon.  The bot uses this value to check for new followers.
* **cloc-command** is run when someone enters **!cloc** in the chat window.  It needs to be formated like the example, because the code in cloc.js uses the csv format.    The example ignores node_modules/ and frameworks/ folders to speed up the command, you just need to put in an appropriate project folder.  Also make sure cloc is installed.

license: MIT

repository: LongSteve/code-stream-guard

branch_name: refs/heads/master

extension: md

license_type: permissive

repo_name: LongSteve/code-stream-guard


text:
# @voxpelli/eslint-config

[![npm version](https://img.shields.io/npm/v/@voxpelli/eslint-config.svg?style=flat)](https://www.npmjs.com/package/@voxpelli/eslint-config)
[![npm downloads](https://img.shields.io/npm/dm/@voxpelli/eslint-config.svg?style=flat)](https://www.npmjs.com/package/@voxpelli/eslint-config)
[![`js-semistandard-style`](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg)](https://github.com/voxpelli/eslint-config)
[![Follow @voxpelli@mastodon.social](https://img.shields.io/mastodon/follow/109247025527949675?domain=https%3A%2F%2Fmastodon.social&style=social)](https://mastodon.social/@voxpelli)

My personal ESLint config which extends [standard](https://standardjs.com/) / [semistandard](https://github.com/standard/semistandard) with a couple of extra checks that I find helpful in my projects.

Includes the semistandard rules directly rather than relying on [eslint-config-semistandard](https://github.com/standard/eslint-config-semistandard), as that package isn't always trailing the main [eslint-config-standard](https://github.com/standard/eslint-config-standard) package.

This package follows [semantic versioning](https://semver.org/). Tightening of any checks is a breaking change, therefore that will only happen in major releases. Minor and patch releases will only include relaxation of rules or fixing of minor obvious oversights.

## Can I use this in my own project?

Absolutely, go ahead! I maintain this project as if multiple people are using it. Be sure to give me feedback and if you like it, give me a ping and say so, would make my day 😄

## Usage

### Install

Be sure to install the correct versions of peer dependencies that this module requires, else you will likely get an incorrect rule setup.

To easily install all correct peer dependencies, you can use [`install-peerdeps`](https://www.npmjs.com/package/install-peerdeps):

```bash
install-peerdeps --dev @voxpelli/eslint-config
```

### Configure

Add an `.eslintrc`, or other [ESLint configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files), that extends this config:

```
{
  "extends": "@voxpelli",
  "root": true
}
```

### Configure, ESM

Instead of simply extending `@voxpelli` you can extend `@voxpelli/eslint-config/esm` and get a version of the rules that enforces ESM best practices as well.

###

## How does this differ from pure [standard](https://standardjs.com/)?

* :stop_sign: = changed to `error` level
* :warning: = changed to `warn` level
* :mute: = deactivated
* :wrench: = changed config
* :grimacing: = will not pass vanilla [standard](https://standardjs.com/) linting

### :wrench: Changed [standard](https://standardjs.com/) rules

* :wrench::warning::grimacing: [`comma-dangle`](https://eslint.org/docs/rules/comma-dangle) – *changed* – prefer dangling commas in everything but functions + is it set to `warn` rather than `error` as I gradually move to this setup
* :mute: [`dot-notation`](https://eslint.org/docs/rules/dot-notation) – *deactivated* – clashes with the [`noPropertyAccessFromIndexSignature`](https://www.typescriptlang.org/tsconfig#noPropertyAccessFromIndexSignature) check in TypeScript, [which I use](https://github.com/voxpelli/tsconfig/blob/e0d0360f280d407ad25806381624c672f66e2653/base.json#L23)
* :wrench::grimacing: [`no-multi-spaces`](https://eslint.org/docs/rules/no-multi-spaces) – *changed* – sets `ignoreEOLComments` to `true`, can be useful for more readable comments across multiple lines and I see no real downsides to it (Incompatible with standard)
* :wrench: [`no-unused-vars`](https://eslint.org/docs/rules/no-unused-vars) – *changed* – sets `"args": "all", "argsIgnorePattern": "^_",` because I personally don't feel limited by [Express error handlers](https://github.com/standard/standard/issues/419#issuecomment-718186130) + wants to stay in sync with TypeScript `noUnusedParameters`
* :wrench::grimacing: [`semi`](https://eslint.org/docs/rules/semi) and [`no-extra-semi`](https://eslint.org/docs/rules/no-extra-semi) – *changed* – adopts the semicolons setup from [semistandard](https://github.com/standard/semistandard)  (Incompatible with plain standard, compatible with semistandard)
* :wrench::warning: [`n/no-deprecated-api`](https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/no-deprecated-api.md) – *changed* – changed to `warn` instead of `error` as often it's not an urgent thing to fix

### :heavy_plus_sign: Added ESLint core rules

* :warning: [`func-style`](https://eslint.org/docs/rules/func-style) – disallows function declarations, good to be consistent with how functions are declared
* :warning: [`no-console`](https://eslint.org/docs/rules/no-console) – warns on existence of `console.log` and similar, as they are mostly used for debugging and should not be committed
* :stop_sign: [`no-constant-binary-expression`](https://eslint.org/docs/rules/no-constant-binary-expression) – errors when binary expressions are detected to constantly evaluate a specific way
* :stop_sign: [`no-nonoctal-decimal-escape`](https://eslint.org/docs/rules/no-nonoctal-decimal-escape) – there's no reason not to ban it
* :stop_sign: [`no-unsafe-optional-chaining`](https://eslint.org/docs/rules/no-unsafe-optional-chaining) – enforces one to be careful with `.?` and not use it in ways that can inadvertently cause errors or `NaN` results
* :warning: [`no-warning-comments`](https://eslint.org/docs/rules/no-warning-comments) – warns of the existence of `FIXME` comments, as they should always be fixed before pushing
* :stop_sign: [`object-shorthand`](https://eslint.org/docs/rules/object-shorthand) – requires the use of object shorthands for properties, more tidy
* :stop_sign: [`quote-props`](https://eslint.org/docs/rules/quote-props) – requires properties to be quoted when needed but otherwise disallows it

### :package: Added ESLint rule package

* [`plugin:n/recommended`](https://github.com/eslint-community/eslint-plugin-n#-rules)
* [`plugin:security/recommended`](https://github.com/eslint-community/eslint-plugin-security#rules)
* [`plugin:mocha/recommended`](https://github.com/lo1tuma/eslint-plugin-mocha#rules)
* [`plugin:unicorn/recommended`](https://github.com/sindresorhus/eslint-plugin-unicorn#rules)
* [`plugin:promise/recommended`](https://github.com/eslint-community/eslint-plugin-promise#rules)
* [`plugin:jsdoc/recommended`](https://github.com/eslint-community/eslint-plugin-promise#rules)

#### :wrench: Overrides of added ESLint rule packages

* :mute: [`jsdoc/check-types`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md) – *deactivated* – to improve use with [types in js](https://github.com/voxpelli/types-in-js).
* :mute: [`jsdoc/no-undefined-types`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md) – *deactivated* – to improve use with [types in js](https://github.com/voxpelli/types-in-js).
* :mute: [`jsdoc/require-jsdoc`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md) – *deactivated* – to improve use with [types in js](https://github.com/voxpelli/types-in-js).
* :mute: [`jsdoc/require-param-description`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-description.md) – *deactivated* – to improve use with [types in js](https://github.com/voxpelli/types-in-js).
* :mute: [`jsdoc/require-property-description`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-description.md) – *deactivated* – to improve use with [types in js](https://github.com/voxpelli/types-in-js).
* :mute: [`jsdoc/require-returns-description`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md) – *deactivated* – to improve use with [types in js](https://github.com/voxpelli/types-in-js).
* :mute: [`jsdoc/require-yields`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md) – *deactivated* – to improve use with [types in js](https://github.com/voxpelli/types-in-js).
* :wrench: [`jsdoc/tag-lines`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md) – *changed* – to enforce an empty line between description and tags, but disallow them elsewhere.
* :mute: [`jsdoc/valid-types`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md) – *deactivated* – to improve use with [types in js](https://github.com/voxpelli/types-in-js).

* :mute: [`mocha/no-mocha-arrows`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-mocha-arrows.md) – *deactivated* – while [Mocha discourages arrow functions](https://mochajs.org/#arrow-functions) I find it more readable to use them + I find it safe when type checking ones test files as then the type checking will notify one when one tries to do a `this.setTimeout()` or similar in an arrow function where there is no such local context

* :mute: [`n/no-process-exit`](https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/no-process-exit.md) – *deactivated* – added by `plugin:n/recommended`, but deactivated in favor of [`unicorn/no-process-exit`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-process-exit.md)

* :mute: [`security/detect-object-injection`](https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-object-injection.md) – *deactivated* – causes too many false errors
* :mute: [`security/detect-unsafe-regex`](https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-unsafe-regex.md) – *deactivated* – at least early on wasn't very stable

* :wrench: [`unicorn/catch-error-name`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/catch-error-name.md) – *changed* – I prefer `err` over `error` as I find `error`to be a far too similar name to the built in `Error` class
* :mute: [`unicorn/explicit-length-check`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/explicit-length-check.md) – *deactivated* – I don't see an issue with `if (string.length)` instead of `if (string.length !== 0)`
* :warning: [`unicorn/unicorn/no-await-expression-member`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/unicorn/no-await-expression-member.md) – *changed* – eg. useful in chai tests
* :warning: [`unicorn/unicorn/no-negated-condition`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/unicorn/no-negated-condition.md) – *deactivated* – turned off, there are valid cases for this, so it simply gets noisy
* :mute: [`unicorn/numeric-separators-style`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/numeric-separators-style.md) – *deactivated* – currently not enough good support for this in engines
* :warning: [`unicorn/prefer-add-event-listener`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-add-event-listener.md) – *changed* – set to `warn` instead of `error`
* :warning: [`unicorn/prefer-event-target`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules//prefer-event-target.md) – *changed* – set to `warn` instead of `error`
* :mute: [`unicorn/prefer-module`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-module.md) – *deactivated*  – only useful when you know you're targetting ESM
* :warning: [`unicorn/prefer-spread`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-spread.md) – *changed* – set to `warn` instead of `error`
* :warning: [`unicorn/prefer-string-replace-all`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-string-replace-all.md) – *changed* – set to `warn` instead of `error`
* :mute: [`unicorn/prevent-abbreviations`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prevent-abbreviations.md) – *deactivated* – same as `unicorn/catch-error-name`, I prefer an abbreviated `err` over a non-abbreviated `error`because the latter is too similar to `Error` for my taste
* :wrench: [`unicorn/switch-case-braces`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/switch-case-braces.md) – *changed* – I prefer to avoid braces in `case` statements rather than enforcing them

### :heavy_plus_sign: Additional standalone ESLint rules

* :warning: [`es-x/no-exponential-operators`](https://eslint-community.github.io/eslint-plugin-es-x/rules/no-exponential-operators.html) – disallows the use of the `**` operator, as that's in most cases a mistake and one really meant to write `*`

* :warning: [`import/no-deprecated`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-deprecated.md) – disallows the use of explicitly deprecated code (code marked with `@deprecated`)
* :stop_sign: [`import/no-order`](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-order.md) – enforces a specific ordering of imports

* :warning: [`n/prefer-global/console`](https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/prefer-global/console.md)
* :warning: [`n/prefer-promises/fs`](https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/prefer-promises/fs.md)
* :warning: [`n/no-process-env`](https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/no-process-env.md)
* :stop_sign: [`n/no-sync`](https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/no-sync.md)

* :stop_sign: [`promise/prefer-await-to-then`](https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-then.md)

* :stop_sign: [`sort-destructure-keys/sort-destructure-keys`](https://github.com/mthadley/eslint-plugin-sort-destructure-keys)

## Extended ESM config

By extending `@voxpelli/eslint-config/esm` instead of `@voxpelli` you will get these differences:

#### :wrench: Overrides of rules

* :warning: [`func-style`](https://eslint.org/docs/rules/func-style) – enforces function declarations whenever an arrow function isn't used. Better to do `export function foo () {` than `export const foo = function () {`
* :stop_sign: [`unicorn/prefer-module`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-module.md) – *changed* – restored to its `plugin:unicorn/recommended` value of `error`

## Alternatives

* [`eslint-config-rainbow`](https://github.com/rainbow-me/eslint-config-rainbow) by [@bcomnes](https://github.com/bcomnes)
* [`semistandard`](https://github.com/standard/semistandard)
* [`standard`](https://standardjs.com/)

## See also

* [`voxpelli/ghatemplates`](https://github.com/voxpelli/ghatemplates) – the templates I use with [`ghat`](https://github.com/fregante/ghat) to update GitHub Actions in my projects
* [`voxpelli/renovate-config-voxpelli`](https://github.com/voxpelli/renovate-config-voxpelli) – the shareable [Renovate setup](https://docs.renovatebot.com/config-presets/) I use in my projects
* [`voxpelli/tsconfig`](https://github.com/voxpelli/tsconfig) – the shareable `tsconfig.json` setup I use in my projects

repository: voxpelli/eslint-config

branch_name: refs/heads/main

gha_language: JavaScript

gha_license_id: MIT

repo_name: voxpelli/eslint-config


text:
# SiamFC - PyTorch

> Highlights of this update:
> - Higher scores with more stable training performance.
> - Faster training (~11 minutes to train one epoch on GOT-10k on a single GPU).
> - Added MIT LICENSE.
> - Organized code.
> - Uploaded pretrained weights. ([Google Drive](https://drive.google.com/file/d/1UdxuBQ1qtisoWYFZxLgMFJ9mJtGVw6n4/view?usp=sharing) or [Baidu Yun](https://pan.baidu.com/s/1MTVXylPrSqpqmVD4iBwbpg) (password: wbek))

A clean PyTorch implementation of SiamFC tracker described in paper [Fully-Convolutional Siamese Networks for Object Tracking](https://www.robots.ox.ac.uk/~luca/siamese-fc.html). The code is evaluated on 7 tracking datasets ([OTB (2013/2015)](http://cvlab.hanyang.ac.kr/tracker_benchmark/index.html), [VOT (2018)](http://votchallenge.net), [DTB70](https://github.com/flyers/drone-tracking), [TColor128](http://www.dabi.temple.edu/~hbling/data/TColor-128/TColor-128.html), [NfS](http://ci2cv.net/nfs/index.html) and [UAV123](https://ivul.kaust.edu.sa/Pages/pub-benchmark-simulator-uav.aspx)), using the [GOT-10k toolkit](https://github.com/got-10k/toolkit).

## Performance (the scores are not updated yet)

### GOT-10k

| Dataset | AO    | SR0.50 | SR0.75 |
|:------- |:-----:|:-----------------:|:-----------------:|
| GOT-10k | 0.355 | 0.390             | 0.118             |

The scores are comparable with state-of-the-art results on [GOT-10k leaderboard](http://got-10k.aitestunion.com/leaderboard).

### OTB / UAV123 / DTB70 / TColor128 / NfS

| Dataset       | Success Score    | Precision Score |
|:-----------   |:----------------:|:----------------:|
| OTB2013       | 0.589            | 0.781            |
| OTB2015       | 0.578            | 0.765            |
| UAV123        | 0.523            | 0.731            |
| UAV20L        | 0.423            | 0.572            |
| DTB70         | 0.493            | 0.731            |
| TColor128     | 0.510            | 0.691            |
| NfS (30 fps)  | -                | -                |
| NfS (240 fps) | 0.520            | 0.624            |

### VOT2018

| Dataset       | Accuracy    | Robustness (unnormalized) |
|:-----------   |:-----------:|:-------------------------:|
| VOT2018       | 0.502       | 37.25                     |

## Installation

Install Anaconda, then install dependencies:

```bash
# install PyTorch >= 1.0
conda install pytorch torchvision cudatoolkit=9.0 -c pytorch
# intall OpenCV using menpo channel (otherwise the read data could be inaccurate)
conda install -c menpo opencv
# install GOT-10k toolkit
pip install got10k
```

[GOT-10k toolkit](https://github.com/got-10k/toolkit) is a visual tracking toolkit that implements evaluation metrics and tracking pipelines for 9 popular tracking datasets.

## Training the tracker

1. Setup the training dataset in `tools/train.py`. Default is the GOT-10k dataset located at `~/data/GOT-10k`.

2. Run:

```
python tools/train.py
```

## Evaluate the tracker

1. Setup the tracking dataset in `tools/test.py`. Default is the OTB dataset located at `~/data/OTB`.

2. Setup the checkpoint path of your pretrained model. Default is `pretrained/siamfc_alexnet_e50.pth`.

3. Run:

```
python tools/test.py
```

## Running the demo

1. Setup the sequence path in `tools/demo.py`. Default is `~/data/OTB/Crossing`.

2. Setup the checkpoint path of your pretrained model. Default is `pretrained/siamfc_alexnet_e50.pth`.

3. Run:

```
python tools/demo.py
```

repository: qianlinjun/siamfc-pytorch-video

repo_name: qianlinjun/siamfc-pytorch-video


text:
---
title: OI Countdown
ref: countdown
teaser: Notifies you after a specified amount of time
redirect_from: /en/countdown/
---
Launch arbitrary applications or shortcut at the end of a countdown.

Features:
 * Set a countdown by specifying duration or date.
 * Be notified by vibration or selectable sound.
 * Start an unlimited number of named timers simultaneously.

Set a timer, give it a name, and specify ringtone and vibration for the notification.

gha_language: SCSS


text:
# Indents & Reformat #

## Markdown ##

Rewrap has two settings for indentation:
- reformat: false (default): The indentation for each paragraph is
  preserved.
- reformat: true: Each paragraph's indent is "fixed" or reformatted.

> language: "markdown"

This example compares reformat off (left) and on (right)

    ·First          ¦      ->      ·First paragraph¦    -or-    First paragraph ¦
     paragraph      ¦                              ¦                            ¦
                    ¦              ···Second       ¦            Second paragraph¦
    ···Second paragraph            ···paragraph    ¦                            ¦
                    ¦                              ¦            * Item 1        ¦
    ·*  Item 1      ¦              ·*  Item 1      ¦            * Item 2        ¦
    ···* Item 2     ¦              ···* Item 2     ¦            ··* Subitem 2.1 ¦
    ······* Subitem 2.1            ······* Subitem ¦                            ¦
                    ¦                      2.1     ¦                Para 2      ¦
            ·Para 2 ¦                              ¦                            ¦
                    ¦                      ·Para 2 ¦                            ¦

Indented code blocks, where indented more than 4 spaces, are reduced to a
4-space indent.

    ······Indented code    ->      ······Indented code   -or-    ····Indented code
    ·······block    ¦              ·······block    ¦             ·····block      ¦

With fenced code blocks, like normal paragraphs, any indent is removed from the
lines with ```. Relative indents of the content are preserved.

    ··```         ¦      ->      ··```         ¦     -or-     ```           ¦
       Fenced     ¦                 Fenced     ¦               Fenced       ¦
        code block¦                  code block¦                code block  ¦
    ···```        ¦              ···```        ¦              ```           ¦

    ··```         ¦      ->      ··```         ¦     -or-     ```           ¦

With list items, the whitespace between the bullet marker and the
item content is reduced to 1 space. The bullet markers for sub-items are
lined-up with this content.

> language: "markdown", reformat: true

    ·*··Item       ¦      ->      *·Item
    ······* Subitem¦              ··* Subitem

However this can cause undesired alignment in the case of numbered items (this
could maybe be fixed in the future).

    9) Item 9   ¦      ->      9)·Item 9
    10) Item 10 ¦              10) Item 10

Also one thing to bear in mind, is that some things are always corrected even when
reformat is off. One example is list items where the second line is indented
less than the first. These will always be moved up to the same indent.

> language: "markdown", reformat: false

    *·Line one.      ¦      ->      * Line one. Line ¦
    Line two.        ¦                two.           ¦
                     ¦                               ¦
    ··Line one.      ¦              ··Line one. Line ¦
    ·Line two.       ¦                two.           ¦

## Comments ##

This is still under consideration. With `reformat` on, the basic indent after
all comment markers will be reduced to 1 space.

> language: "csharp", reformat: true

    //   a ¦     ->      // a   ¦

### Block comments ###

With block comments, the defaults for reformatting are 1 space after the marker
on the first line, and no indent for following lines.

> language: "xml"

    <!--a b  ¦       ->      <!--a b c¦    -or-    <!-- a b ¦
        c d -->                  d -->¦            c d -->  ¦

repository: AlxAce/Rewrap

repo_name: AlxAce/Rewrap


text:
# πορφύρεος, α, ον.

<!-- Status: S2=NeedsReview -->
<!-- Lexica used for edits: BDAG, FFM, LN, A-S -->

## Word data

* Strongs: G42100.

* Alternate spellings:

, , contr., [-οῦς, -ᾶ, -οῦν]()

* Principle Parts:

* Part of speech:

[Adjective ascriptive](http://ugg.readthedocs.io/en/latest/adjective_ascriptive.html),
[Adjective used substantively as a Noun](http://ugg.readthedocs.io/en/latest
/noun_substantive_adj.html).

* Instances in the New Testament: 4.

* All Scriptures cited: Yes

## Etymology:

[πορφύρα]()),

* LXX/Hebrew glosses:

* Time Period/Ancient Authors:

* Related words:

* Antonyms for all senses

* Synonyms for all senses:

## Senses:

### Sense  1.0:

#### Definition:

purple

#### Glosses:

purple

#### Explanation:

#### Citations:

purple: [Jo 19:2](Jhn 19:2), [5](Jhn 19:5); as subst., [πορφυροῦν]() (sc. [ἱμάτιον]()), [Re 17:4](Rev 17:4) [18:6](Rev 18:6).†

repository: mandolyte/uw-obsidian

repo_name: mandolyte/uw-obsidian


text:
# factory-muffin-definition

[![Integrate](https://github.com/ergebnis/factory-muffin-definition/workflows/Integrate/badge.svg?branch=main)](https://github.com/ergebnis/factory-muffin-definition/actions)
[![Prune](https://github.com/ergebnis/factory-muffin-definition/workflows/Prune/badge.svg?branch=main)](https://github.com/ergebnis/factory-muffin-definition/actions)
[![Release](https://github.com/ergebnis/factory-muffin-definition/workflows/Release/badge.svg?branch=main)](https://github.com/ergebnis/factory-muffin-definition/actions)
[![Renew](https://github.com/ergebnis/factory-muffin-definition/workflows/Renew/badge.svg?branch=main)](https://github.com/ergebnis/factory-muffin-definition/actions)

[![Code Coverage](https://codecov.io/gh/ergebnis/factory-muffin-definition/branch/main/graph/badge.svg)](https://codecov.io/gh/ergebnis/factory-muffin-definition)
[![Type Coverage](https://shepherd.dev/github/ergebnis/factory-muffin-definition/coverage.svg)](https://shepherd.dev/github/ergebnis/factory-muffin-definition)

[![Latest Stable Version](https://poser.pugx.org/ergebnis/factory-muffin-definition/v/stable)](https://packagist.org/packages/ergebnis/factory-muffin-definition)
[![Total Downloads](https://poser.pugx.org/ergebnis/factory-muffin-definition/downloads)](https://packagist.org/packages/ergebnis/factory-muffin-definition)

Provides an interface for, and an easy way to find and register entity definitions for [`league/factory-muffin`](https://github.com/thephpleague/factory-muffin), inspired by [`ergebnis/factory-girl-definition`](https://github.com/ergebnis/factory-girl-definition).

## Installation

Run

```sh
$ composer require --dev ergebnis/factory-muffin-definition
```

## Usage

### Create Definitions

Implement the `Definition` interface and use the instance of `League\FactoryMuffin\FactoryMuffin`
that is passed in into `accept()` to define entities:

```php
<?php

namespace Foo\Bar\Test\Fixture\Entity;

use Ergebnis\FactoryMuffin\Definition\Definition;
use Foo\Bar\Entity;
use League\FactoryMuffin\FactoryMuffin;

final class UserDefinition implements Definition
{
    public function accept(FactoryMuffin $factoryMuffin): void
    {
        $factoryMuffin->define(Entity\User::class)->setDefinitions([
            // ...
        ]);
    }
}
```

:bulb: Any number of entities can be defined within a definition.
However, it's probably a good idea to create a definition for each entity.

### Register Definitions

Lazily instantiate an instance of `League\FactoryMuffin\FactoryMuffin`
and use `Definitions` to find definitions and register them with the factory:

```php
<?php

namespace Foo\Bar\Test\Integration;

use Ergebnis\FactoryMuffin\Definition\Definitions;
use League\FactoryMuffin\FactoryMuffin;
use League\FactoryMuffin\Stores;
use PHPUnit\Framework;

abstract class AbstractIntegrationTestCase extends Framework\TestCase
{
    final protected function factoryMuffin(): FactoryMuffin
    {
        static $factoryMuffin = null;

        if (null === $factoryMuffin) {
            $factoryMuffin = new FactoryMuffin(new Stores\ModelStore('save'));

            Definitions::in(__DIR__ . '/../Fixture')->registerWith($factoryMuffin);
        }

        return $factoryMuffin;
    }
}
```

## Contributing

Please have a look at [`CONTRIBUTING.md`](.github/CONTRIBUTING.md).

## Code of Conduct

Please have a look at [`CODE_OF_CONDUCT.md`](https://github.com/ergebnis/.github/blob/main/CODE_OF_CONDUCT.md).

## License

This package is licensed using the MIT License.

Please have a look at [`LICENSE.md`](LICENSE.md).

## Curious what I am building?

:mailbox_with_mail: [Subscribe to my list](https://localheinz.com/projects/), and I will occasionally send you an email to let you know what I am working on.

repository: ergebnis/factory-muffin-definition

gha_language: PHP

repo_name: ergebnis/factory-muffin-definition


text:
# K9 - Rust Testing Library

[![Crates.io][crates-badge]][crates-url]
[![Docs.rs][docs-badge]][docs-url]

[crates-badge]: https://img.shields.io/crates/v/k9.svg
[crates-url]: https://crates.io/crates/k9
[docs-badge]: https://docs.rs/k9/badge.svg
[docs-url]: https://docs.rs/k9

![k9_header](https://user-images.githubusercontent.com/940133/83342567-ae492c00-a2b6-11ea-8ccd-bb3e67df21f9.jpg)


text:
MC-Limit
========

Minecraft Limiter (mc-limit) launches Minecraft in offline mode
and automatically terminates the game after it has been played for
a pre-determined amount of time.

## Requirements

* Minecraft (http://minecraft.net/download)
* Java VM (http://java.com/download)
* Ruby 1.9.x (http://ruby-lang.org/en/downloads)

## How to install it

Run `gem install mc-limit`.

## How to configure it

The utility uses environment variables for its configuration.

### Default time limit

Set the `DEFAULT_MC_LIMIT` variable to equal the default number of
minutes of Minecraft play to allow per day.  If the variable is not
set, the default time limit will be 30 minutes.

### Remaining time file

Set the `MC_LIMIT_FILE` variable to the full pathname of the file
that is used to store the remaining play time between runs.  If the
variable is not set, the default file is:

- Windows: `%APPDATA%\.mc-limit\remaining.yml`
- Others: `$HOME/.mc-limit/remaining.yml`

### Admin password

Set the `MC_LIMIT_ADMIN_PASSWORD` variable to be the plain text
password required in order to run the administration tool.  If this
variable is not set, the administration tool will not run.

### Game command

Set the `MC_LIMIT_COMMAND` variable to the complete command line
used to launch Minecraft.

## How to run it

Run "mc-limit" to launch Minecraft.  I recommend creating a desktop
shortcut to make it easier to run.

### Administration tool

Run "mc-limit-admin" to launch the administration tool.  This tool
can be used to add or subtract minutes from today's limit.

## Security

This utility is by no means hacker-proof.  Any curious child (or
adult) who is literate and moderately skilled with computers is
capable of discovering how to defeat the time limit.  I consider it
a challenge for my kids.

## To-Do List

* Make it portable
* Display a timer while Minecraft is running that shows how much play
  time is left.
* Improve security.

repository: tjensen/mc-limit

repo_name: tjensen/mc-limit


text:
# Install Nginx
I choose to use nginx over apache as the configuration settings feel more comfortable to me. The performance is great too I cannot tell much regarding real numbers as the pages are not heavily visited.

### Let's go
Simply lets install nginx:
`aptitude install nginx`

If you want to have GEOIP based access and denies install the following packages, wget is required for downloading the latest GEOIP database:
`aptitude install geoip-database libgeoip1 apache2-utils`

It is good to refresh the GEOIP database after the installation.
So lets backup the existing database:
```shell
cd /usr/share/GeoIP
mv GeoIP.dat GeoIP.dat_bak
wget https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz --no-check-certificate
gunzip GeoIP.dat.gz
```

I've put some scripts on Github which I use for general settings, e.g. SSL protocols and ciphers.. the next few steps describe the downloading and using them.

Create the global directory:
`mkdir -p /etc/nginx/global`

Download the scripts from github:
- GEOIP settings
`wget https://raw.githubusercontent.com/blacs30/installation-scripts/master/configs/geoip_settings.conf --no-check-certificate -O /etc/nginx/global/geoip_settings.conf`
- global restrictions e.g. for favicon and robots file
`wget https://raw.githubusercontent.com/blacs30/installation-scripts/master/configs/restrictions.conf --no-check-certificate -O /etc/nginx/global/restrictions.conf`
- SSL settings
`wget https://raw.githubusercontent.com/blacs30/installation-scripts/master/configs/secure_ssl.conf --no-check-certificate -O /etc/nginx/global/secure_ssl.conf`
- wordpress configuration
`wget https://raw.githubusercontent.com/blacs30/installation-scripts/master/configs/wordpress.conf --no-check-certificate -O /etc/nginx/global/wordpress.conf`

I remove the default site normally and then create my own but this step is optional:
`rm -rf /etc/nginx/sites-enabled/default`

Now adjust the nginx.conf, these settings vary depending on the machine and the requirements for the things you're going to host. You can find some information how to optimize the settings here [www.if-not-true-then-false.com](https://www.if-not-true-then-false.com/2011/nginx-and-php-fpm-configuration-and-optimizing-tips-and-tricks/).

In the file `/etc/nginx/nginx.conf` set:
- `worker_processes 4`
- `worker_connections 1024`
- `server_tokens off`

Add the file include `geoip_settings.conf` into the global http configuration of the `nginx.conf`:
- `include /etc/nginx/global/geoip_settings.conf`

## VHOST configuration
I have saved the following templates here on github:
- big_oc (Big size pool for e.g. Owncloud/Nextcloud)
- middle_oc (Middle sized pool for e.g. Owncloud/Nextcloud )
- big_wp (Big size pool for e.g. Wordpress )
- middle (Middle sized pool for e.g. Wordpress and other sites)
- small (Small sized, on demand, pool, for e.g. administrative pages or lower traffic pages )

Here is an working example for the phphmyadmin installation, per default I always use SSL, it's free and not really that difficult anymore. Some settings have to be adjust (hostname, path to root, certs, etc...):

```
upstream phpmyadmin {
server unix:///run/php/phpmyadmin.sock;
}

server {
listen 		80;
server_name     mydomain.com;
location / {
return 301 https://\$server_name\$request_uri;
}
}

server {
listen 					443 ssl http2;
listen          [::]:443 ssl http2;
server_name    	mydomain.com;
root   					/var/www/html;
access_log     	/var/log/nginx/phpmyadmin-access.log;
error_log      	/var/log/nginx/phpmyadmin-error.log warn;

ssl    									on;
ssl_certificate        	/etc/ssl/my_ssl.crt;
ssl_certificate_key    	/etc/ssl/my_ssl.key;
ssl_dhparam             /etc/ssl/my_dhparams.pem;

index                   index.php;

include                 global/secure_ssl.conf;
include                 global/restrictions.conf;
client_header_timeout   3m;

# Configure GEOIP access before enabling this setting
# if (\$allow_visit = no) { return 403 };

# Make sure files with the following extensions do not get loaded by nginx because nginx would display the source code, and these files can contain PASSWORDS!
location ~* \.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|\.php_ {
deny all;
}

location ~*  \.(jpg|jpeg|png|gif|css|js|ico)$ {
expires max;
log_not_found off;
}

location ~ \.php$ {
try_files \$uri =404;
include /etc/nginx/fastcgi_params;
fastcgi_pass phpmyadmin;
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
}

location /phpmyadmin {
auth_basic                    "Restricted";
auth_basic_user_file          /etc/nginx/.phpmyadmin;
index                         index.php index.html index.htm;

location ~ ^/phpmyadmin/(.+\.php)\$ {
try_files           \$uri =404;
fastcgi_param       HTTPS on;
fastcgi_pass        phpmyadmin;
fastcgi_index       index.php;
fastcgi_param       SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
include             fastcgi_params;
charset             utf8;
client_max_body_size  64m; #change this if ur export is bigger than 64mb.
client_body_buffer_size 128k;
}

location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
}
}

location /phpMyAdmin {
rewrite ^/* /phpmyadmin last;
}
}
```


text:
# symfony-deploy
The deploy of web application based on Symfony Standard Edition using Ansible playbook.

## Deploy
For deploy to local machine use:

``` bash
$ ansible-playbook ansible/deploy.yml -i ansible/hosts.ini -l local -kK
```

## Config
There is example of `Nginx` config, which automatically enable maintnance mode when custom `maintnance.html` file exists in root dir:

``` ApacheConf
server {
    listen  80;
    server_name example.local;
    root /var/www/example.local;

    location / {
        # try to serve file directly, fallback to app.php
        try_files $uri /app.php$is_args$args;
    }

    # DEV
    # This rule should only be placed on your development environment
    # In production, don't include this and don't deploy app_dev.php or config.php
    location ~ ^/(app_dev|config)\.php(/|$) {
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_split_path_info ^(.+\.php)(/.*)$;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param HTTPS off;
    }

    # PROD
    location ~ ^/app\.php(/|$) {
        if (-f $document_root/maintenance.html) {
            return 503;
        }

        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_split_path_info ^(.+\.php)(/.*)$;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param HTTPS off;
        # Prevents URIs that include the front controller. This will 404:
        # http://domain.tld/app.php/some-path
        # Remove the internal directive to allow URIs like this
        #internal;
    }

    error_page 503 @maintenance;
    location @maintenance {
        rewrite ^(.*)$ /maintenance.html break;
    }

    error_log /var/log/nginx/example.local.error.log;
    access_log /var/log/nginx/example.local.access.log;
}
```

or with `Apache` config:
``` ApacheConf
<VirtualHost *:80>
    ServerName example.local
    ServerAlias www.example.local
    ServerAdmin<EMAIL_ADDRESS>
    DirectoryIndex maintenance.html app.php
    DocumentRoot /var/www/example.local/web
    <Directory /var/www/example.local/web>
        AllowOverride None
        Order Allow,Deny
        Allow from All

        <IfModule mod_rewrite.c>
            Options -MultiViews
            RewriteEngine On

            # maintenance mode support
            RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
            RewriteCond %{REQUEST_FILENAME} !maintenance.html
            RewriteCond %{REQUEST_FILENAME} app.php
            RewriteRule ^.*$ maintenance.html [R=503,L]

            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^(.*)$ app.php [QSA,L]
        </IfModule>
    </Directory>

    # uncomment the following lines if you install assets as symlinks
    # or run into problems when compiling LESS/Sass/CoffeScript assets
    # <Directory /var/www/example.local>
    #     Options FollowSymlinks
    # </Directory>

    ErrorDocument 503 /maintenance.html
    ErrorLog /var/log/apache2/example.local.error.log
    CustomLog /var/log/apache2/example.local.access.log combined
</VirtualHost>
```

> **NOTE:** The maintenance mode work only for `prod` environment by default. If you want to enable it for `dev` - resolve it manually in config file base on work example for `prod`.

repository: LapaLabs/symfony-deploy

repo_name: LapaLabs/symfony-deploy


text:
---
layout: base
title:  'Statistics of INTJ in UD_English-Atis'
udver: '2'
---

## Treebank Statistics: UD_English-Atis: POS Tags: `INTJ`

There are 8 `INTJ` lemmas (1%), 8 `INTJ` types (1%) and 390 `INTJ` tokens (1%).
Out of 14 observed tags, the rank of `INTJ` is: 11 in number of lemmas, 11 in number of types and 13 in number of tokens.

The 10 most frequent `INTJ` lemmas: please, okay, hi, yes, hello, oh, sure, thank

The 10 most frequent `INTJ` types:  please, okay, hi, yes, hello, oh, sure, thanks

The 10 most frequent ambiguous lemmas: please (<tt>INTJ</tt> 329, <tt>VERB</tt> 14), hi (<tt>INTJ</tt> 8, <tt>NOUN</tt> 1), sure (<tt>ADJ</tt> 1, <tt>INTJ</tt> 1), thank (<tt>VERB</tt> 8, <tt>INTJ</tt> 1)

The 10 most frequent ambiguous types:  please (<tt>INTJ</tt> 329, <tt>VERB</tt> 14), hi (<tt>INTJ</tt> 8, <tt>NOUN</tt> 1), sure (<tt>ADJ</tt> 1, <tt>INTJ</tt> 1)

* please
  * <tt>INTJ</tt> 329: please list the rental car information in pittsburgh
  * <tt>VERB</tt> 14: philadelphia to san francisco with one stop in dallas please
* hi
  * <tt>INTJ</tt> 8: hi i want a round trip ticket to dallas
  * <tt>NOUN</tt> 1: hi i 'm calling from boston i 'd like to make a flight to either orlando or los angeles
* sure
  * <tt>ADJ</tt> 1: sure i 'd like to determine what aircraft are use on july seventh leaving from boston and arriving in atlanta on july seventh
  * <tt>INTJ</tt> 1: sure i want to go from philadelphia to dallas

## Morphology

The form / lemma ratio of `INTJ` is 1.000000 (the average of all parts of speech is 1.143493).

The 1st highest number of forms (1) was observed with the lemma “hello”: hello.

The 2nd highest number of forms (1) was observed with the lemma “hi”: hi.

The 3rd highest number of forms (1) was observed with the lemma “oh”: oh.

`INTJ` does not occur with any features.

## Relations

`INTJ` nodes are attached to their parents using 1 different relations: <tt>discourse</tt> (390; 100% instances)

Parents of `INTJ` nodes belong to 6 different parts of speech: <tt>VERB</tt> (351; 90% instances), <tt>NOUN</tt> (17; 4% instances), <tt>ADP</tt> (9; 2% instances), <tt>PROPN</tt> (6; 2% instances), <tt>ADJ</tt> (5; 1% instances), <tt>PRON</tt> (2; 1% instances)

389 (100%) `INTJ` nodes are leaves.

1 (0%) `INTJ` nodes have one child.

The highest child degree of a `INTJ` node is 1.

Children of `INTJ` nodes are attached using 1 different relations: <tt>conj</tt> (1; 100% instances)

Children of `INTJ` nodes belong to 1 different parts of speech: <tt>ADV</tt> (1; 100% instances)

repository: UniversalDependencies/docs

branch_name: refs/heads/pages-source

gha_language: HTML

repo_name: UniversalDependencies/docs


text:
# Burly

A friendly WordPress framework written for designers to create, clients to edit, and the world to see.

## Features

* Never type `<?php echo what_was_that_fucntion ?>` again.
* Give more to your clients than just a WordPress content editor.
* Don't compromise on your design to make your content editable.

## Installation

Use the Burly [Quickstart](http://burly.io/docs/quickstart.html) to get up and running.

## Changelog

See [releases](https://github.com/elbongurk/burly/releases) for a complete list of changes.

repository: elbongurk/burly

repo_name: elbongurk/burly


text:
---
title:  "Invited Talk at Bath University"
date:   2020-06-30 00:00:00 +0100
categories: news
photo: "https://upload.wikimedia.org/wikipedia/en/thumb/c/ca/University_of_Bath_logo.svg/1920px-University_of_Bath_logo.svg.png"
---

Was invited to give a talk on my most recent paper Computational Investigation of Copper Phosphides as Conversion Anodes for Lithium-Ion Batteries in the group of Kit McColl at the University of Bath


text:
# Introduction

The purpose of the library is to provide a modular system for browser's JavaScript.
The de facto standard of JavaScript modules is CommonJS.
The library focused on it.

Modules that are not linked to specific resources (browser DOM model, server file system and etc)
can equally work on node.js, axy.define and other CommonJS compatible systems.

Node.js modules that linked to specific resources may work in browser partly due to emulation of the environment.

## Environment and compatibility with Node.js

The library provides [the virtual file system](files.md) similar to POSIX file systems.

The library implemented [Node.js module system](https://nodejs.org/api/modules.html#modules_all_together).
Full search for `node_modules`, `package.json`, extensions, core modules, relative paths and etc.

Reproduced internal mechanisms.
For example, `module.constructor._extensions` is loaders for extensions.
Can define a custom loader.
`module.constructor._cache` is a cache of the loaded modules.
Removing a module from here leads to reload.

Partially implemented [core modules](core.md) and [global variables](globals.md).
Implemented of minimally sufficient features for the environment.
The full implementation can be performed with the help of [plugins](plugins.md).

## Assembling

You can directly write an axy-module that will immediately work in a browser.
Or write a CommonJS module and convert it to the axy-module.

See [assembling section](assembling.md).

repository: axyjs/axy-define

repo_name: axyjs/axy-define


text:
# Unmaintained

This package is unmaintained. If you want to take over maintainance, please open an probleem and I'll try to transfer the repository to you soon.

# tree-view-git-branch package

Quickly switch git branches from the tree view.

![screenshot](https://raw.githubusercontent.com/olmokramer/atom-tree-view-git-branch/master/screencast.gif)

## Planned features

* [ ] Better error messages, e.g. reason why checkout failed
* [ ] Create/delete branches
* [ ] Auto-update branches
* [ ] Manage remote branches
* [ ] Manage tags
* [ ] Merge branches
* [ ] Add/reset changed files
* [ ] Commit/push/pull

If you can think of another feature, feel free to submit it in an issue over at the repo.

[MIT](LICENSE.md) © Olmo Kramer

repository: olmokramer/atom-tree-view-git-branch

repo_name: olmokramer/atom-tree-view-git-branch


text:
# Native Docker UI using Electron

** Note: This is a prototype and a work in progress**

## Known limitations/bugs

## Development

### Download Node.js & Electron dependencies
````
cd electron
npm install
bower install
```

### Compile Scala.js

```
export SBT_OPTS="-Xmx1G"
sbt electron/fullOptJS
```

### Run the Electron UI
```
cd electron
npm start
```

### Package the native app for Mac

```
cd electron
npm run-script package-mac
npm run-script dmg
```

###Package Native app for Windows
Require Wine
brew install wine
brew install mono

```
cd electron
npm run-script package-exe
npm run-script create-installer-win
```

##Package Native app for Linux
```
cd electron
brew install fakeroot dpkg
npm run-script package-linux
npm run-script create-installer-debian
```

repository: felixgborrego/simple-docker-ui

gha_language: Scala

repo_name: felixgborrego/simple-docker-ui


text:
# Upgrade from 3.8.13 to 3.8.14

Updating from 3.8.13 to 3.8.14 doesn't have any impacts. Please read the apropriate UPGRADE-3.8.x files for updates lower as [3.8.13](UPGRADE-3.8.13.md) to this version.

repository: techdivision/import-cli-simple

repo_name: techdivision/import-cli-simple


text:
# AMX VOLUME CONTROL LIBRARY

amx-lib-volume

This library contains the code to set up and manipulate volume controls from within an AMX Netlinx project.

*THIS IS A THIRD-PARTY LIBRARY AND IS NOT AFFILIATED WITH THE AMX ORGANIZATION*

## Overview

[TOC]

## Download

**Git Users:**

https://github.com/amclain/amx-lib-volume

**Mercurial Users:**

https://bitbucket.org/amclain/amx-lib-volume

**Zip File:**

Both sites above offer a feature to download the source code as a zip file.
Any stable release, as well as the current development snapshot can be downloaded.

## Issues, Bugs, Feature Requests

Any bugs and feature requests should be reported on the GitHub issue tracker:

https://github.com/amclain/amx-lib-volume/issues

**Pull requests are preferred via GitHub.**

Mercurial users can use [Hg-Git](http://hg-git.github.io/) to interact with
GitHub repositories.

## Snake Case Wrapper

A wrapper that converts the library functions to snake case is available
as `amx-lib-volume-sc.axi`. When using this file, be sure to add the base
library `amx-lib-volume.axi` to the workspace.

## Usage

### Conventions

`VOL_` prefixes all library constants, and `vol` prefixes all library functions. `volArray` prefixes any functions that operate on an array of structure `volume`.

Constants are snake case (underscores separate words) with all uppercase letters.

Function names are camel case with the first letter being lowercase. If using the
snake case wrapper file, then all function names are snake case with all lowercase
characters.

Volume levels have a native resolution of 16 bits (integer). The `...AsByte` functions can be applied to convert these levels to 8 bit (char) values.

### Volume Control Structure

All of the data for a volume control is stored in the `volume` structure. These variables
are considered private and therefore it is ***not*** recommended to access them directly.
Instead, helper functions are provided to perform operations on the structure.

``` c
struct volume
{
    integer lvl;    // Volume level.
    char mute;      // Mute status (VOL_MUTED | VOL_UNMUTED).
    integer max;    // Max volume level limit.  Assumed full-on ($FFFF) if not set.
    integer min;    // Min volume level limit.  Assumed full-off ($0000) if not set.
    integer step;   // Amount to raise/lower the volume level when incremented or
                    // decremented.
    char dim;             // Level dim status (VOL_DIM_ON | VOL_DIM_OFF).
    integer dimAmount;    // Amount to reduce the level when dim is on.
}
```

### Constants

In order to make it easier to distinguish a control's mute state when reading code, the constants `VOL_MUTED` and `VOL_UNMUTED` are defined.

``` c
// Volume control mute states.
VOL_UNMUTED	= 0;
VOL_MUTED	= 1;
```

Likewise, the same applies to the level dim state.

``` c
// Volume control dim states.
VOL_DIM_OFF	= 0;
VOL_DIM_ON	= 1;
```

Some of the functions in the volume control library return a status message of type `sinteger`.  These codes are mapped to the following constants, with failures being negative numbers.

``` c
// Function return messages.
VOL_SUCCESS		=  0;	// Operation succeded.
VOL_FAILED		= -1;	// Generic operation failure.
VOL_LIMITED		= -2;	// Input value was limited and may not have reached its
                        // specified value.
VOL_PARAM_NOT_SET	= -3;	// Parameter was not set.
VOL_OUT_OF_BOUNDS	= -4;	// Index boundry exceeded.
```

### Functions

#### Including The Library

To include the volume control library, place the include statement just before the `DEFINE_DEVICE` section.

``` c
// Include the volume control library.
#include 'amx-lib-volume'

(***********************************************************)
(*          DEVICE NUMBER DEFINITIONS GO BELOW             *)
(***********************************************************)
DEFINE_DEVICE
```

#### Initializing A Control

First, define a variable of type `volume` to act as a volume control.

``` c
(***********************************************************)
(*               VARIABLE DEFINITIONS GO BELOW             *)
(***********************************************************)
DEFINE_VARIABLE

volume mic1; // Define a volume control.
```

Call the helper function `volInit()` to initialize the control with a level, mute state, min limit, max limit, and number of steps between the min and max limits.  The min, max, and step parameters can be set to `0` if they're not needed.

``` c
(***********************************************************)
(*                STARTUP CODE GOES BELOW                  *)
(***********************************************************)
DEFINE_START

volInit(mic1, 0, VOL_UNMUTED, 10000, 20000, 5); // Initialize the volume control.
```

Note that although the volume level `0` is passed, the min limit will be applied, resulting in an actual initialization level of `10,000`.

#### Initializing An Array Of Controls

Initializing an array of volume controls is just as easy as initializing a single control, as the library contains functions to operate on arrays.  Volume control arrays can be used to group devices, link channels, create zones, etc.

First, define an array of type `volume`.

``` c
(***********************************************************)
(*               VARIABLE DEFINITIONS GO BELOW             *)
(***********************************************************)
DEFINE_VARIABLE

// Define a volume control array for the input devices.
volume inputs[8];
```

Call the helper function `volArrayInit()` to initialize all controls in the array with a level, mute state, min limit, max limit, and number of steps.  The min, max, and step parameters can be set to `0` if they're not needed.

``` c
(***********************************************************)
(*                STARTUP CODE GOES BELOW                  *)
(***********************************************************)
DEFINE_START

// Initialize the array of volume controls.
volArrayInit(inputs, 0, VOL_UNMUTED, 10000, 20000, 5);
```

All eight volume controls in the array are now ready for use!

#### Getting Volume Levels

To read the level of a volume control, use `volGetLevel()` or `volGetLevelAsByte()`.  The function takes min/max limits into account.

``` c
level = volGetLevel(mic1); // Saves the volume level of mic 1 to "level".
```

If you want to get the level while taking the mute state into account, use the funtion `volGetLevelPostMute()`. This can be used for updating an audio DSP without having to manage its mute control.

``` c
level = volGetLevelPostMute(mic1); // Returns the volume level if unmuted,
                                   // or 0 if muted.
```

The `...AsByte` functions provide an easy way to scale values down to a range of 0-255, which is convenient for updating bar graphs on touch panels.

``` c
send_level dvTouchPanel, LEVEL_MIC_1, volGetLevelAsByte(mic1);
```

#### Setting Volume Levels

Setting a volume level is performed by calling `volSetLevel()` or `volSetLevelAsByte()`.  This function takes into account min/max limits, but *does not* affect mute status.  This means volume levels can be adjusted while a channel is muted, and the change will be heard once the channel is unmuted.

``` c
volSetLevel(mic1, 15000); // Set the volume of mic 1 to 15,000.
```

Volume levels for all of the controls in an array can also be set by calling `volArraySetLevel()` or `volArraySetLevelAsByte()`.  This is helpful if you have an array representing linked channels.

``` c
volArraySetLevel(inputs, 15000); // Set all levels in the input array to 15,000
```

#### Incrementing Levels

"Hey Bob, my mic needs to be louder!  Set the volume to fifteen thousand!"
"That's still not loud enough!  Try twenty thousand!"
"It's too loud now!  Set it to nineteen thousand!"
"Almost there!  How about nineteen thousand and one?  That's it!  Keep it at nineteen thousand and one!"

Ok, so end-users aren't going to be setting volume levels by entering 16-bit integer values.  That's where the `volIncrement()` and `volDecrement()` functions come into play.  These functions can be called when a UI control is pressed.

Let's back up for a second.  Remember the last parameter when initializing a volume control array?

``` c
volInit(mic1, 0, VOL_UNMUTED, 10000, 20000, 5);
```

The `5` specifies that there are five steps between the min and max limits, which in this example is a step value of `2000`.  The step value is the amount that `volIncrement()` and `volDecrement()` increase or decrease a control's volume based on its current level.  Here's an example.

``` text
Mic 1 starting level: 10,000

Remember, the min value 10,000 overrides the level 0 passed during
initialization.

STEP    VOL LEVEL
 5 ---- 20,000    MAX
   |  |
 4 ---- 18,000
   |  |
 3 ---- 16,000
   |  |
 2 ---- 14,000
   |  |
 1 ---- 12,000
   |  |
 0 ---- 10,000    MIN    <-- CURRENT LEVEL

/********************************************************/

volIncrement(mic1); // Increment mic 1's volume by 1 step.

/********************************************************/

Mic 1 level: 12,000

STEP    VOL LEVEL
 5 ---- 20,000    MAX
   |  |
 4 ---- 18,000
   |  |
 3 ---- 16,000
   |  |
 2 ---- 14,000
   |  |
 1 ---- 12,000    <-- CURRENT LEVEL
   |XX|
 0 ---- 10,000    MIN
```

After initialization, a control's step value can be set two ways:
1. `volSetStep()` sets the volume level amount to increase or decrease when incremented, or
2. `volSetNumberOfSteps()` sets the number of steps between the min and max limits.

``` c
volSetStep(mic1, 2000);     // Level will increase by 2,000 each time
                            // volIncrement() is called.

/*  OR  */

volSetNumberOfSteps(mic1, 5);   // volIncrement() can be called 5 times before
                                // the max limit is reached.
```

#### Ramping

Volume ramping can be achieved by calling `volIncrement()` and `volDecrement()` from `PUSH` and `HOLD` events. The higher the number of steps, the smoother the level will appear to ramp.

``` c
(***********************************************************)
(*              VARIABLE DEFINITIONS GO BELOW              *)
(***********************************************************)

DEFINE_VARIABLE
volume mic1;

(***********************************************************)
(*                 STARTUP CODE GOES BELOW                 *)
(***********************************************************)

DEFINE_START
volInit(mic1, 0, VOL_UNMUTED, 0, 100, 50);

(***********************************************************)
(*                   THE EVENTS GO BELOW                   *)
(***********************************************************)

DEFINE_EVENT
BUTTON_EVENT[dvTouchPanel, BTN_VOLUME_UP]
{
    PUSH:
    {
        volIncrement(mic1);
    }

    HOLD[.5, REPEAT]:
    {
        volIncrement(mic1);
    }
}
```

#### Examples

Example projects are packaged with the source code.

repository: amclain/amx-lib-redis

repo_name: amclain/amx-lib-redis


text:
### Term 1 Terminal Project using Ruby

# Here4U

Here4U is a terminal application written in Ruby which helps Coder Academy students cope with the ~~inhumane~~ stresses provided by the fast track course.

## Table of Contents
- [Here4U](#here4u)
  - [Table of Contents](#table-of-contents)
  - [Motivation & Inspiration](#motivation--inspiration)
  - [Build Process](#build-process)
  - [Features](#features)
  - [Technical](#technical)
  - [Setup](#setup)
  - [Screenshots](#screenshots)
  - [Authors](#authors)
  - [License](#license)
  - [Master Repository](#master-repository)
  - [References](#references)

## Motivation & Inspiration

The idea for this application came to Ryan after his experience of the first week of this course. He was feeling quite overwhelmed with everything and his stress levels were at an all time high. He eventually imploded by the end of the week and lost all confidence in himself. But through talking with friends, family and peers he was able to forget his worries, reframe his thinking and remember the reasons why he decided to do this course.

## Build Process

Our primary aim was to create an application that would provide a set of activities to the user based on how they were feeling at the time. The activities would help the user to reset their mind and feel positive emotions. The program would also store a set of journal entries and create a text file to keep for self reflection.

We really set our focus on the experience of the app. It was really important to us that the user felt like they were talking to someone real. We tried to convey this through the language we used and the way the information was presented, in order to build comfort and familiarity with the user. We also randomized the time it took to print each character and the time between each line to simulate computer sentience or the feeling that someone was typing to the user in real time.

## Features

1. Provides an activity path based on how the user is feeling.
2. Activities include a breathing exercise, an affirmation exercise and a random joke generator.
3. After every activity is completed, it asks the user a question designed to elicit positive emotions.
4. A list of the user's journal entries is provided at the end of the program for their own self reflection.

 - Extra features we wanted to implement:
    1. A physical exercise activity
    2. An imagery exercise that plays an audio file while running
    3. More paths for the user if they were feeling a 7-8 or 9-10 on the scale

## Technical

* Written in Ruby
* GEMS used:
  * colorize
  * colorized_string
  * date

Initially we cared more for the experiential component of the app at the expense of an organised control flow. However this made the source code very disorganised.

The implementaion of a class and class functions, as well as a module, allowed us to structure the code in a way that was more presentable and readable. We found that the output was also more efficient once the code was refactored.

Dealing with the if/else conditionals was also easier when we used Ruby case statements.

## Setup

Install gems via terminal, set require and then run main.rb

```
gem install colorize

require_relative 'tools'
require 'colorize'
require 'colorized_string'
require 'date'

ruby main.rb
```

## Screenshots

## Authors

* **Ivan Donato** - Coder Academy Cohort M0119

* **Rommel Ryan Rico** - Coder Academy Cohort M0119

## License

This project is licensed under the Ruby License - see the [LICENSE.txt](https://www.ruby-lang.org/en/about/license.txt) file for details

## Master Repository

https://github.com/rommelryanrico/terminal-app

## References

* Affirmations:
https://biglifejournal.com/blogs/blog/growth-mindset-statements-affirmations-classroom-home

* Jokes:
https://thenextweb.com/shareables/2009/10/17/376-oneliners-internet/

license: Ruby

repository: rommelryanrico/terminal-app

gha_language: Ruby

repo_name: rommelryanrico/terminal-app


text:
# What is Qoncrete

Qoncrete is a customizable data analytics tool that allows users to collect, store, organize, analyze, predict, and visualize data

## Key Points

 * Built and optimized to process massive amounts of data in real-time
 * Multi tenant platform that can run on public and private clouds (on-premises)
 * Enables real-time programmatic data-driven decisions
 * Allows creation of custom (white label) analytics
 * See [use cases](use-cases.md)


text:
---
title: Vivliostyle Theme D&D 5e PHB
author: oldgeese
---

# Vivliostyle Theme D&D 5e PHB
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

小学校に居る時分学校の二階から飛び降りて一週間ほど腰を抜かした事がある。なぜそんな無闇をしたと聞く人があるかも知れぬ。別段深い理由でもない。新築の二階から首を出していたら、同級生の一人が冗談に、いくら威張っても、そこから飛び降りる事は出来まい。弱虫やーい。と囃したからである。小使に負ぶさって帰って来た時、おやじが大きな眼をして二階ぐらいから飛び降りて腰を抜かす奴があるかと云ったから、この次は抜かさずに飛んで見せますと答えた。（青空文庫より）

## Unordered List
* **a horizontal rule before a ul** will give it the style of unordered list without a bullet.

---
* **a horizontal rule before a ul** will give it the style of unordered list without a bullet.

### Images
![placeholder](https://placehold.jp/100x100.png)

## Class A Features
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

> ##### Time to Drop Knowledge
> Use notes to point out some interesting information.
>
> **Tables and lists** both work within a note.

##### Time to Drop Knowledge
Use notes to point out some interesting information.

**Tables and lists** both work within a note.

:::classTable

##### The Notary
| Level | Proficiency Bonus | Features | Sixgun Poisoner|
|:---:|:---:|:---|:---:|
| 1st | +2 | Gunpowder Torturer | +1 |
| 2nd | +2 | Pharmaceutical Gunslinger | +2 |
| 3rd | +2 | Gunslinger Corruptor | +2 |
| 4th | +2 | Ability Score Improvement, Demonic Anthropology | +3 |
| 5th | +3 | Torque Interfacer | +4 |
| 6th | +3 | Ability Score Improvement, Mathematical Pharmacist | +4 |
| 7th | +3 | Sixgun Poisoner | +4 |
| 8th | +3 | Ability Score Improvement, Spiritual Biochemistry | +4 |
| 9th | +4 | ─ | +4 |
| 10th | +4 | Consecrated Biochemistry | +4 |
| 11th | +4 | Torque Interfacer | +4 |
| 12th | +4 | Ability Score Improvement, Ritual Astronomy | +4 |
| 13th | +5 | Plasma Outlaw | +4 |
| 14th | +5 | Ability Score Improvement, Plasma Outlaw | +5 |
| 15th | +5 | Civil Alchemy | +6 |
| 16th | +5 | Ability Score Improvement, Spell Analyst | +6 |
| 17th | +6 | ─ | +6 |
| 18th | +6 | Exo Interfacer | +6 |
| 19th | +6 | Ability Score Improvement, Police Cultist | +6 |
| 20th | +6 | Nuclear Illusionism | +6 |

:::

#### Hit Points
---
- ***Hit Dice:*** 1d12 per level
- **Hit Points at 1st Level:** 12 + your Constitution modifier
- **Hit Points at Higher Levels:** 1d12 (or 7) + your Constitution modifier per level after 1st

#### Proficiencies
---
- **Armor:** Light armor
- **Weapons:** Rubber Chicken, Simple weapons
- **Tools:** None

---
- **Saving Throws:** Strength, Charisma
- **Skills:** Choose two from Performance, Animal Handling, Acrobatics , Perception, History, Persuasion

#### Equipment
You start with the following equipment, in addition to the equipment granted by your background:
- *(a)* a martial weapon and a shield or *(b)* two martial weapons
- *(a)* five javelins or *(b)* any simple melee weapon
- a cherished lost sock

##### The Fancyman
| Level | Proficiency Bonus | Features | Cantrips Known | Spells Known | 1st | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th | 9th |
|:---:|:---:|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| 1st | +2 | ─ | 3 | 1 | 2 | — | — | — | — | — | — | — | — |
| 2nd | +2 | Astrological Botany | 3 | 2 | 3 | — | — | — | — | — | — | — | — |
| 3rd | +2 | Phased Linguist | 3 | 3 | 3 | — | — | — | — | — | — | — | — |
| 4th | +2 | Ability Score Improvement, Ritual Astronomy | 3 | 3 | 4 | 1 | — | — | — | — | — | — | — |
| 5th | +3 | Torque Interfacer | 3 | 3 | 4 | 3 | — | — | — | — | — | — | — |
| 6th | +3 | Ability Score Improvement, Exo Interfacer | 4 | 3 | 4 | 3 | — | — | — | — | — | — | — |
| 7th | +3 | Ritual Astronomy | 5 | 3 | 4 | 3 | 2 | — | — | — | — | — | — |
| 8th | +3 | Ability Score Improvement, Plasma Outlaw | 6 | 4 | 4 | 3 | 3 | 1 | — | — | — | — | — |
| 9th | +4 | Hermetic Geography | 6 | 4 | 4 | 3 | 3 | 3 | — | — | — | — | — |
| 10th | +4 | Consecrated Biochemistry | 7 | 4 | 4 | 3 | 3 | 3 | 2 | — | — | — | — |
| 11th | +4 | ─ | 8 | 5 | 4 | 3 | 3 | 3 | 3 | 1 | — | — | — |
| 12th | +4 | Ability Score Improvement, Police Necromancer | 9 | 5 | 4 | 3 | 3 | 3 | 3 | 1 | — | — | — |
| 13th | +5 | Immunological Incantations | 9 | 6 | 4 | 3 | 3 | 3 | 3 | 2 | — | — | — |
| 14th | +5 | Ability Score Improvement, Biochemical Sorcery | 9 | 6 | 4 | 3 | 3 | 3 | 3 | 2 | 1 | — | — |
| 15th | +5 | Statistical Occultism | 9 | 7 | 4 | 3 | 3 | 3 | 3 | 2 | 1 | — | — |
| 16th | +5 | Ability Score Improvement, Plasma Outlaw | 9 | 8 | 4 | 3 | 3 | 3 | 3 | 2 | 2 | 1 | — |
| 17th | +6 | Seismological Divination | 10 | 9 | 4 | 3 | 3 | 3 | 3 | 2 | 2 | 1 | 1 |
| 18th | +6 | ─ | 10 | 10 | 4 | 3 | 3 | 3 | 3 | 2 | 2 | 1 | 1 |
| 19th | +6 | Ability Score Improvement, Spiritual Biochemistry | 11 | 11 | 4 | 3 | 3 | 3 | 3 | 2 | 2 | 1 | 1 |
| 20th | +6 | Mathematical Pharmacist | 11 | 11 | 4 | 3 | 3 | 3 | 3 | 2 | 2 | 1 | 1 |

### Normal Tables

##### Cookie Tastiness
| Tastiness | Cookie Type |
|:----:|:-------------|
| -5  | Raisin |
| 8th  | Chocolate Chip |
| 11th | 2 or lower |
| 14th | 3 or lower |
| 17th | 4 or lower |

| d10 | Damage Type |
|:---:|:------------|
|  1  | Acid        |
|  2  | Cold        |
|  3  | Fire        |
|  4  | Force       |
|  5  | Lightning   |

| d10 | Damage Type |
|:---:|:------------|
|  6  | Necrotic    |
|  7  | Poison      |
|  8  | Psychic     |
|  9  | Radiant     |
|  10 | Thunder     |

##### Wide Table
| Level | Proficiency Bonus | Features | Cantrips Known | Spells Known | 1st | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th | 9th |
|:---:|:---:|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| 1st | +2 | ─ | 3 | 1 | 2 | — | — | — | — | — | — | — | — |
| 2nd | +2 | Astrological Botany | 3 | 2 | 3 | — | — | — | — | — | — | — | — |
| 3rd | +2 | Phased Linguist | 3 | 3 | 3 | — | — | — | — | — | — | — | — |
| 4th | +2 | Ability Score Improvement, Ritual Astronomy | 3 | 3 | 4 | 1 | — | — | — | — | — | — | — |
| 5th | +3 | Torque Interfacer | 3 | 3 | 4 | 3 | — | — | — | — | — | — | — |

# Spell

:::spellList

### Wizard Spells

##### Cantrips (0 Level)
- Moonlight Rush
- Arcane Storm
- Solar Salvo
- Meteor
- Disrupt Magic
- Ring of Magic Disruption
- Aura of Control
- Indignation of Immortality
- Rage of Vulnerability
- Anger of Heat

##### 2nd Level
- Energy Eruption
- Starfire Flash
- Mystic Typhoon
- Misery
- Flood
- Blast of the Earth
- Flare of Spirits
- Dedication of the Sun
- Void of Fire
- Ferocity of Life

##### 3rd Level
- Dragon Tempest
- Blazing Volley
- Air Blast
- Frostbite
- Alter Time
- Seal of Static Shock
- Rain of Light
- Ejection of Hysteria
- Imitation of Doom
- Purification of the Mind

##### 4th Level
- Arcane-fire Eruption
- Moonlight Storm
- Dragon Storm
- Wipe Out
- Siphon
- Ring of Nature
- Spellshield of Exhaustion
- Expulsion of the Nether
- Protection of Faith
- Duplication of Poison

##### 5th Level
- Lava Assault
- Molten Arrow
- Lava Spike
- Silence
- Tornado
- Beam of Inversion
- Blast of Control
- Distraction of the Mind
- Exploitation of Phantoms
- Devastation of Doom

##### 6th Level
- Lava Volley
- Runic Burn
- Magma Volley
- Fire Armor
- Sunburn
- Conjuration of Storms
- Conjuration of Negation
- Dedication of Dragons
- Illusion Spell
- Vision of Phantoms

##### 7th Level
- Lava Orb
- Elemental Assault
- Runic Missiles
- Manifest
- Absolution
- Wave of Deep Healing
- Wave of Obliteration
- Distortion of Venom
- Victory Burst
- Alteration of Logic

##### 8th Level
- Chaos Nova
- Wind Orb
- Moonlight Frenzy
- Mirage
- Condone
- Blast of Demonic Rage
- Gift of Nature's Wrath
- Perversion of Hysteria
- Delusion of Knowledge
- Carnage of Time

##### 9th Level
- Nether Missiles
- Esoteric Blitz
- Soul Typhoon
- Annihilate
- Comet
- Flare of Ecstasy
- Charm of Demonic Anger
- Extortion of Control
- Devastation of Seals
- Dedication of Venom

:::

#### Sample Spell
*1st-level divination*

---
- **Casting Time:** 1 action
- **Range:** 60 feet
- **Components:** V, M (sample material)
- **Duration:** Until dispelled

Lorem ipsum dolor sit amet, consectet...

# Monster

:::monster

## Vortexfiend

*Large beast, neutral ignorant*

---

- **Armor Class** 16
- **Hit Points** 79(1d4 + 5)
- **Speed** 19ft.

---

|STR|DEX|CON|INT|WIS|CHA|
|:---:|:---:|:---:|:---:|:---:|:---:|
|9 (+0)|7 (-1)|4 (-3)|20 (+5)|4 (-3)|17 (+4)|

---

- **Condition Immunities** weak-kneed
- **Senses** passive Perception 18
- **Languages** None
- **Challenge** 3 (8240 XP)

---

***Feature1 特徴1.*** Lorem ipsum dolor sit amet, consectetur adipiscing elit,

***Feature1 特徴2.*** Lorem ipsum dolor sit amet, consectetur adipiscing elit,

### Actions
***Action1.*** *Melee Weapon Attack:* +4 to hit, reach 5ft., one target. *Hit* 5 (1d6 + 2)

:::


text:
MobileDetectBundle
=============

Symfony 4.3.x-5.0.x bundle for detect mobile devices, manage mobile view and redirect to the mobile and tablet version. Forked from [suncat/MobileDetectBundle](https://github.com/suncat2000/MobileDetectBundle/)

Introduction
------------

This Bundle use [Mobile_Detect](https://github.com/serbanghita/Mobile-Detect) class and provides the following features:

* Detect the various mobile devices by Name, OS, browser User-Agent
* Manages site views for the various mobile devices (`mobile`, `tablet`, `full`)
* Redirects to mobile and tablet sites

## Documentation

The bulk of the documentation is stored in the `Resources/doc/index.md` file in this bundle:

[Read the Documentation for master](https://github.com/DennisOluoch/MobileDetectBundle/blob/master/Resources/doc/index.md)

## License

This bundle is under the MIT license. See the complete license in the bundle:

    Resources/meta/LICENSE

## Credits

Orginal Authors

- [suncat2000](https://github.com/suncat2000), [HenriVesala](https://github.com/HenriVesala), [netmikey](https://github.com/netmikey) and [all contributors](https://github.com/suncat2000/MobileDetectBundle/graphs/contributors)

-[Me](https://github.com/DennisOluoch)

repository: DennisOluoch/MobileDetectBundle

repo_name: DennisOluoch/MobileDetectBundle


text:
# braindead-json-api
Very straightforward JSON serving server.

Created to work offline when API server is not available. Just put your JSON response files in `./db` folder and do `npm start`.

## Installation

This app  requires node v7.6.0 or higher for ES2015 and async function support.
```bash
$ npm install -g braindead-json-api
```

## Usage

```bash
$ bja -h

  Usage: bja [options] <dir>

  Braindead Json Api

  Options:

    -h, --help                        output usage information
    -V, --version                     output the version number
    -p, --port [port]                 Port to listen
    -a, --ip [ip]                     IP address to listen
    -P, --prefix [prefix]             Prefix for api
    -l, --log                         Log HTTP requests
    --update-method [updateMethod]    HTTP method for partial update
    --replace-method [replaceMethod]  HTTP method for replace
    -R, --routes [routes]             Custom HTTP routes

```

`<dir>` should contain folders and json files. For example, if the content of your `<dir>` looks like this:

```
dir
├── cats
│   └── 53.json
└── cats.json
```

With the default config you will have following endpoints:

- `GET /cats` - will return the content of `<dir>/cats.json`
- `GET /cats/53` - will return the content of `<dir>/cats/53.json`

### Update and replace methods

By default the HTTP method used to update the document is `PATCH` and for the full replace with the request is `PUT`.
You can change them by specifying `--update-method` and `--replace-method` arguments accordinglyy.

### Custom routes

If you want to provide custom routes which cannot be mapped to the folder structure you can provide `json` or `js` file
which will export an array with the following structure:

- Each array item describes one route
- Route has the following structure:

```js
{
    route: <route path>,
    method: <route method (GET, POST, PUT, etc),
    response: <path to the response json file without .json extension>,
    statusCode: <status code, 200 by default>
}
```

An example of route:

```js
{
    route: '/auth/login/',
    method: 'POST',
    response: '_custom/login',
    statusCode: 200
}
```

Response JSON file is relative to the specified `<dir>`. In this case the response file should be located in
`<dir>/_custom/login.json`

### Disclaimer

I thing you understand that you *SHOULD NOT USE THIS ON PRODUCTION BY ALL MEANS*.

## License

MIT


text:
@page guides/contributing/project-organization Project Organization
@parent guides/contribute 0

@description Learn about how CanJS is organized.

@body

The first thing to know about `CanJS` is that its code is split across dozens of different
repositories.  All but one of these are __library__ repositories like
[canjs/can-event](https://github.com/canjs/can-event) and [canjs/can-define](https://github.com/canjs/can-define).  These all work the same way.
The [canjs/canjs](https://github.com/canjs/canjs) __framework__ repository works slightly
differently.  The vast majority of code changes happen in one of the __library__
repositories.

If you don’t know which repository you need to work on,
[join our Slack](https://www.bitovi.com/community/slack) and ask us in the [#canjs channel](https://bitovi-community.slack.com/messages/CFC22NZ8A).

## File organization and responsibilities

Most __library__ repositories share a similar structure.  Understanding it can help
you figure out what code needs to be changed.  The following outline shows the
directory structure of a nonexistent `can-example` repository:

```
├── .editorconfig           — Configures editors for this project
├── .gitignore              — Tells git to ignore certain files
├── .jshintrc               — Configures JSHint
├── .npmignore              — Tells npm publish to ignore certain files
├── .travis.yml             — Travis CI configuration
├── build.js                — Build script to export code in other formats
├── can-example.js          — Main module code
├── package.json            — Configuration of package and dev scripts
├── readme.md               — Automatically generated readme
├── docs/                   — Documentation source
|   ├── can-example.md      — Package or module documentation
├── node_modules/           — Node dependency installation folder
├── test/                   — Test files
|   ├── can-example-test.js — Main test file
|   ├── test.html           — Main test page
```

Generally speaking, the most important files are:

 - the main module —  `can-example.js`
 - the main test module — `test/can-example-test.js`
 - the test page — `test/test.html`

To fix a bug or make a new feature, add a test in the main test module, update code in the main module, and then verify the tests are passing by running
the test page.

Some modules have multiple modules, test modules, and test pages.  These modules are
commonly organized as __modlets__ where each folder will have its own main module, test module,
and test page:

```
├── a-module/            — Module’s modlet folder
|   ├── a-module.js      — The module
|   ├── a-module-test.js — The module’s tests
|   ├── test.html        — A test page that runs just the module’s tests
```

## Priority, Tags, and Complexity

The [core team](https://donejs.com/About.html#team) reviews issues
and assigns them a _p0_ to _p4_ label corresponding to the following priorities:

- [p0](https://github.com/search?q=org%3Acanjs+label%3Ap0+is%3Aopen+sort%3Areactions-%2B1-desc) - An issue that will preempt any other issues currently being worked on.
- [p1](https://github.com/search?q=org%3Acanjs+label%3Ap1+is%3Aopen+sort%3Areactions-%2B1-desc) - A critical feature or bug that needs to be fixed to keep CanJS’s high degree of quality.
- [p2](https://github.com/search?q=org%3Acanjs+label%3Ap2+is%3Aopen+sort%3Areactions-%2B1-desc) - A feature or bug that is less likely to be encountered, but something we intend to get to.
- [p3](https://github.com/search?q=org%3Acanjs+label%3Ap3+is%3Aopen+sort%3Areactions-%2B1-desc) - A nice to have. The OS team might get to it, but it’s helpful if the community assists.
- [p4](https://github.com/search?q=org%3Acanjs+label%3Ap4+is%3Aopen+sort%3Areactions-%2B1-desc) - A nice to have that the OS team will accept, but will be unlikely to prioritize any effort towards.

There are several ways to influence these priorities:

 - Offer to pair with a contributor on a solution.
 - Write a good test.
 - Come to a DoneJS Contributors meeting and make your case.
 - Get others from other organizations to 👍 the issue.
 - Make your case on [Slack](https://www.bitovi.com/community/slack) with a contributor or in the issue.
 - You can always hire [Bitovi](https://www.bitovi.com) or a contributor to make the change.

repository: steeleprice/canjs

repo_name: steeleprice/canjs


text:
# Uniformity

Generates an Engine for any external service you're using in a Ruby on Rails application.

This way the service is completely encapsulated and separate from the main application. The rigid Rails Engine structure makes it easy to add things, because everything is in the right place.

## Why I made this

Great use cases are:

* Postal code validation
* Weather information
* Interfaces for microservices
* Payment flow for ecommerce

The engine should contain all your code specific to the service. Now your main application is free of an untold number of implicit dependencies. Instead, it has just one: the engine that neatly sits inside the application's folder. Ditch the service by ditching _only_ the engine. Never wonder where any change in relation to the service should go.

The beauty of this approach is that the engine behaves just a regular Rails application, with all the familiar folders for models, controllers, views, jobs, etcetera. The generated engine is namespaced so that it never clashes with any official Gem provided by the service. It also follows best practices so you don't have to.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'uniformity', group: :development
```

And then execute:

    $ bundle

## Usage

Imagine you want to use the fictional external service `Space Babies`. Run this command:

```
rails generate uniformity:engine space_babies
```

It generates a shiny new Rails Engine in the `engines` directory and hooks it up to the main app. Put all the code pertaining to this service in the engine. Use any Rails design pattern you need. A few empty classes using the correct namespace are generated for you as a starting point.

### Included in the engine

The engine makes the following things available:

* Routes into the engine, mounted in your main routes
* Controllers to respond to those routed requests
* Models and views as well, all namespaced under the engine
* Assets like CSS and JavaScript via the asset pipeline
* Jobs for background workers
* Mailers if you need to send mail
* Serializers for e.g. XML representations of models
* Rake tasks, also properly namespaced
* Flexible configuration class to store things like API keys
* Full localization support, also namespaced

Only built-in functionality is used; the engine does not rely
on any gem besides stock Rails.

### Dependencies

If the code inside the generated engine depends on a gem, put those in the engine's `gemspec` and not in your main app. Make sure your main app has just the one dependency on the engine. By requiring the engine, its dependencies are automatically required as well.

After generatin', you can remove Uniformity from your Gemfile if you want. The generated engine has no dependencies whatsoever, outside from Rails. There is no harm in leaving Uniformity enabled either, since it has no run-time code.

## Contributing

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/spacebabies/uniformity/blob/master/CODE_OF_CONDUCT.md).

Bug reports and pull requests are welcome on GitHub at https://github.com/spacebabies/uniformity.

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

repository: spacebabies/uniformity

repo_name: spacebabies/uniformity


text:
# parentnode-skin-default

This is the default skin (a bundle of css, js, and graphics) for websites made with the parentNode tools: Manipulator, Janitor, Templator, and Detector.

Install this package into `theme/www/assets` of your parentNode project.

www.parentnode.dk