text:
### [0.33.1](https://github.com/nuxt-community/composition-api/compare/0.33.0...0.33.1) (2022-08-01)

### Bug Fixes

* lower node engine requirement ([3b91919](https://github.com/nuxt-community/composition-api/commit/3b919195f89b0a591d6c6ac5698c1b397fbde697)), closes [#662](https://github.com/nuxt-community/composition-api/issues/662)

## [0.33.0](https://github.com/nuxt-community/composition-api/compare/0.32.0...0.33.0) (2022-07-08)

### ⚠ BREAKING CHANGES

* upgrade `defu` and other dev-dependencies
* Some of the API and behaviour differ between Vue 2.7 and `@vue/composition-api`. In addition, there are some composition utilites that are no longer exported from `@nuxtjs/composition-api`, such as `defineAsyncComponent`, `warn`, etc.

Please read https://blog.vuejs.org/posts/vue-2-7-naruto.html for the announcement and more information.

### Features

* use vue 2.7 composition api ([#645](https://github.com/nuxt-community/composition-api/issues/645)) ([ae9307a](https://github.com/nuxt-community/composition-api/commit/ae9307aec6b8f0b5c333f39238ea7339aa8fa411)), closes [#644](https://github.com/nuxt-community/composition-api/issues/644) [#643](https://github.com/nuxt-community/composition-api/issues/643) [#593](https://github.com/nuxt-community/composition-api/issues/593)

### Miscellaneous Chores

* upgrade `defu` and other dev-dependencies ([1cbce73](https://github.com/nuxt-community/composition-api/commit/1cbce731e807fe6331f6c0f701206806f7ccac7d))

## [0.32.0](https://github.com/nuxt-community/composition-api/compare/0.31.0...0.32.0) (2022-02-22)

## [0.31.0](https://github.com/nuxt-community/composition-api/compare/0.30.0...0.31.0) (2021-11-30)

## [0.30.0](https://github.com/nuxt-community/composition-api/compare/0.29.3...0.30.0) (2021-11-05)

### Bug Fixes

* resolve all aliases ([#578](https://github.com/nuxt-community/composition-api/issues/578)) ([d2c7516](https://github.com/nuxt-community/composition-api/commit/d2c7516ebb6478d0628e85c6f2201f86cd7b1abf))
* use `.mjs` version of `@vue/compoisition-api` ([#577](https://github.com/nuxt-community/composition-api/issues/577)) ([f49884b](https://github.com/nuxt-community/composition-api/commit/f49884b6dbe34869de88b56c2c6ef01d609d8556))

### [0.29.3](https://github.com/nuxt-community/composition-api/compare/0.29.2...0.29.3) (2021-10-11)

### Bug Fixes

* correctly proxify functions within ssrRef ([#561](https://github.com/nuxt-community/composition-api/issues/561)) ([016ff0a](https://github.com/nuxt-community/composition-api/commit/016ff0aaf115af9208969a4d12becfbdde307204))
* skip setting values that are unchanged in useFetch ([#552](https://github.com/nuxt-community/composition-api/issues/552)) ([484b061](https://github.com/nuxt-community/composition-api/commit/484b061162549a75da37a7ffe833affb03e285c3))

### [0.29.2](https://github.com/nuxt-community/composition-api/compare/0.29.1...0.29.2) (2021-09-21)

### Features

* add new exports from `@vue/composition-api` ([6d0ebd0](https://github.com/nuxt-community/composition-api/commit/6d0ebd09af7dbf12a4a8cf87d7aedd5cdfcdedb9))

### [0.29.1](https://github.com/nuxt-community/composition-api/compare/0.29.0...0.29.1) (2021-09-21)

## [0.29.0](https://github.com/nuxt-community/composition-api/compare/0.28.0...0.29.0) (2021-09-08)

## [0.28.0](https://github.com/nuxt-community/composition-api/compare/0.27.0...0.28.0) (2021-09-04)

### Features

* enable `script setup` syntax ([#542](https://github.com/nuxt-community/composition-api/issues/542)) ([8bfadeb](https://github.com/nuxt-community/composition-api/commit/8bfadeb9c7355e7fa8d4ac0892f3259570a380b4))

### Bug Fixes

* preserve reactive objects on `useFetch` hydration ([#541](https://github.com/nuxt-community/composition-api/issues/541)) ([4c3e734](https://github.com/nuxt-community/composition-api/commit/4c3e73426c4bc78127bca5393b05be4fec65f369))

## [0.27.0](https://github.com/nuxt-community/composition-api/compare/0.26.0...0.27.0) (2021-08-20)

## [0.26.0](https://github.com/nuxt-community/composition-api/compare/0.25.2...0.26.0) (2021-07-28)

### Bug Fixes

* resolve to single vue instance ([#525](https://github.com/nuxt-community/composition-api/issues/525)) ([33171bf](https://github.com/nuxt-community/composition-api/commit/33171bfd4966ad18532c4e343571f567b9f1d31b))

### [0.25.2](https://github.com/nuxt-community/composition-api/compare/0.25.1...0.25.2) (2021-07-27)

### Bug Fixes

* allow setting ssrRef within `onGlobalSetup` ([#523](https://github.com/nuxt-community/composition-api/issues/523)) ([320c409](https://github.com/nuxt-community/composition-api/commit/320c4098a5e0b071ed464b65aed1851e763755f7))

### [0.25.1](https://github.com/nuxt-community/composition-api/compare/0.25.0...0.25.1) (2021-07-22)

## [0.25.0](https://github.com/nuxt-community/composition-api/compare/0.24.7...0.25.0) (2021-07-21)

### Bug Fixes

* `@vue/composition-api` submodule resolution ([#517](https://github.com/nuxt-community/composition-api/issues/517)) ([bb76b53](https://github.com/nuxt-community/composition-api/commit/bb76b5379a1362e8fcb90ea40340f8aeef3c057a))

### [0.24.7](https://github.com/nuxt-community/composition-api/compare/0.24.6...0.24.7) (2021-07-12)

### [0.24.6](https://github.com/nuxt-community/composition-api/compare/0.24.5...0.24.6) (2021-07-02)

### [0.24.5](https://github.com/nuxt-community/composition-api/compare/0.24.4...0.24.5) (2021-06-24)

### [0.24.4](https://github.com/nuxt-community/composition-api/compare/0.24.3...0.24.4) (2021-06-07)

### [0.24.3](https://github.com/nuxt-community/composition-api/compare/0.24.2...0.24.3) (2021-06-02)

### Bug Fixes

* use `webpack:config` to add entry for better nuxt/storybook compatibility ([#495](https://github.com/nuxt-community/composition-api/issues/495)) ([1b07abe](https://github.com/nuxt-community/composition-api/commit/1b07abeada072da79c1f0105d73389b799f4f8e1)), closes [#494](https://github.com/nuxt-community/composition-api/issues/494)

### [0.24.2](https://github.com/nuxt-community/composition-api/compare/list...0.24.2) (2021-05-28)

### [0.24.1](https://github.com/nuxt-community/composition-api/compare/0.24.0...0.24.1) (2021-05-28)

### Bug Fixes

* alias `@nuxtjs/composition-api` to esm library ([5d30325](https://github.com/nuxt-community/composition-api/commit/5d303252fc45da6add8827d745e0ca69d3c8f8c5)), closes [#488](https://github.com/nuxt-community/composition-api/issues/488)

## [0.24.0](https://github.com/nuxt-community/composition-api/compare/0.23.4...0.24.0) (2021-05-21)

### ⚠ BREAKING CHANGES

* package exports have been moved

* see https://github.com/nuxt-community/composition-api/pull/480 for context and further changes to come
* output `.mjs` files for runtime templates
* (outside of Nuxt) only auto-registers plugin if NODE_ENV == 'test'

### Bug Fixes

* add meta plugin after other modules ([#481](https://github.com/nuxt-community/composition-api/issues/481)) ([86ed34e](https://github.com/nuxt-community/composition-api/commit/86ed34ee95640fc9c1039f5ec70c60d7797275fa))
* rework composition API registration ([#484](https://github.com/nuxt-community/composition-api/issues/484)) ([1e423c3](https://github.com/nuxt-community/composition-api/commit/1e423c3783ba2aa70b38a536366623cf8b181515)), closes [#476](https://github.com/nuxt-community/composition-api/issues/476) [#479](https://github.com/nuxt-community/composition-api/issues/479)

### Build System

* move `globals` and `register` to runtime directory ([842a724](https://github.com/nuxt-community/composition-api/commit/842a724ccaa26e6e7812f6d6ac7cce4ef49de506))
* output `.mjs` files for runtime templates ([23afd5a](https://github.com/nuxt-community/composition-api/commit/23afd5acb00326753da23dea3583bc08fb086e29))

### [0.23.4](https://github.com/nuxt-community/composition-api/compare/0.23.3...0.23.4) (2021-04-28)

### [0.23.3](https://github.com/nuxt-community/composition-api/compare/0.23.2...0.23.3) (2021-04-24)

### Bug Fixes

* alias module so we can access `process.server` in vite node build ([#462](https://github.com/nuxt-community/composition-api/issues/462)) ([7c997c5](https://github.com/nuxt-community/composition-api/commit/7c997c5701e9d5b23af313de44df0d95655daa6a))
* correctly generate vite sourcemap ([cf4f438](https://github.com/nuxt-community/composition-api/commit/cf4f4389b0955874cfe87360326c484b82abb50b))
* export default from register entry ([#461](https://github.com/nuxt-community/composition-api/issues/461)) ([e491722](https://github.com/nuxt-community/composition-api/commit/e491722656a548ffe262aab49bd4471a5318a587))

### [0.23.2](https://github.com/nuxt-community/composition-api/compare/0.23.1...0.23.2) (2021-04-19)

### Bug Fixes

* register composition api before middleware ([9d4165a](https://github.com/nuxt-community/composition-api/commit/9d4165a3511ffeb2cf1e0584a303565b41b0f968)), closes [#457](https://github.com/nuxt-community/composition-api/issues/457)

### [0.23.1](https://github.com/nuxt-community/composition-api/compare/0.23.0...0.23.1) (2021-04-14)

### Bug Fixes

* use reactive rather than `Vue.observable` in `useFetch` ([385bb73](https://github.com/nuxt-community/composition-api/commit/385bb73bab6cfbc06e4567fe3e314d1b6888f830)), closes [#455](https://github.com/nuxt-community/composition-api/issues/455)

## [0.23.0](https://github.com/nuxt-community/composition-api/compare/0.22.4...0.23.0) (2021-04-12)

### ⚠ BREAKING CHANGES

* `@nuxtjs/composition-api/module` is now how the module should be imported in `nuxt.config`

* There is no longer a need to amend `moduleNameMapper` in your jest.config - you should remove any entry for `@nuxtjs/composition-api` there. When used outside a Nuxt context, the module will 'auto-mock' and use https://github.com/nuxt-community/composition-api/blob/be94d4f4e1321565864dd3d3d5e850f7cabf6ca9/src/globals.ts instead of live Nuxt configuration.

* `@nuxtjs/composition-api/babel` has been renamed to `@nuxtjs/composition-api/dist/babel-plugin`.

* `@vue/composition-api` is no longer transpiled by default. You should consider adding it to `build.transpile`, but note that you may also need to add any other libraries that also use `@vue/composition-api`.

* You should ensure you haven't named any layout '0' as this will conflict with how this package is registering the Vue Composition API.

* `defineNuxtConfig`, `defineNuxtModule` and `defineNuxtServerMiddleware` have been removed. You can create your own helper with the following code:
   ```ts
   import { Module, ServerMiddleware, NuxtConfig } from '@nuxt/types'

   export const defineNuxtModule = <T extends Record<string, unknown>>(module: Module<T>) => module
   export const defineNuxtServerMiddleware = (serverMiddleware: ServerMiddleware) => serverMiddleware
   export const defineNuxtConfig = (config: NuxtConfig) => config
   ```

### Bug Fixes

* register the composition api in a template file ([#433](https://github.com/nuxt-community/composition-api/issues/433)) ([8cc21ce](https://github.com/nuxt-community/composition-api/commit/8cc21ce2de08fbb12d0561c9bbd5c76ecfa32e08)), closes [#415](https://github.com/nuxt-community/composition-api/issues/415) [#391](https://github.com/nuxt-community/composition-api/issues/391)
* return `from` rather than `redirectedFrom` from `useContext` ([a159d87](https://github.com/nuxt-community/composition-api/commit/a159d8781a0eef9071af05bbf1092061b8b653e2)), closes [#444](https://github.com/nuxt-community/composition-api/issues/444)

### Code Refactoring

* change how library is imported ([#418](https://github.com/nuxt-community/composition-api/issues/418)) ([5bb1a72](https://github.com/nuxt-community/composition-api/commit/5bb1a72669f97ba964dd3968f76627472c502dca))
  - fixed an issue with `nuxt-vite` compatbility
* significant packaging changes ([#438](https://github.com/nuxt-community/composition-api/issues/438)) ([ddc9c0f](https://github.com/nuxt-community/composition-api/commit/ddc9c0f9ba8281931da817b3d106d0a45a2b4cf9))
  - The ESM version of the library is now `.mjs` (but we polyfill support for this and other `.mjs` files in webpack 4).
  - This library is now located within `node_modules` rather than being templated, with a limited template for the config.

### [0.22.4](https://github.com/nuxt-community/composition-api/compare/0.22.3...0.22.4) (2021-03-23)

### Bug Fixes

* prevent resolution errors on old node versions ([df3e2fd](https://github.com/nuxt-community/composition-api/commit/df3e2fd78996fe5608668dacf30de5901ea59c72))

### [0.22.3](https://github.com/nuxt-community/composition-api/compare/0.22.2...0.22.3) (2021-03-20)

### Bug Fixes

* ensure that injected plugin is inserted first ([5cd13bc](https://github.com/nuxt-community/composition-api/commit/5cd13bc1813d7a8a67f41c7014a46cbbbbd2e3ff)), closes [#406](https://github.com/nuxt-community/composition-api/issues/406)

### [0.22.2](https://github.com/nuxt-community/composition-api/compare/0.22.1...0.22.2) (2021-03-20)

### [0.22.1](https://github.com/nuxt-community/composition-api/compare/0.22.0...0.22.1) (2021-03-11)

## [0.22.0](https://github.com/nuxt-community/composition-api/compare/0.21.0...0.22.0) (2021-03-05)

### Features

* experimental vite support ([#387](https://github.com/nuxt-community/composition-api/issues/387)) ([e47805d](https://github.com/nuxt-community/composition-api/commit/e47805daab03543c81bf4f3efa72e6ef81dd799f))

### Bug Fixes

* transpile `@vue/composition-api` ([#391](https://github.com/nuxt-community/composition-api/issues/391)) ([7e6334f](https://github.com/nuxt-community/composition-api/commit/7e6334f2aad339fb74819681b72fa8783090fd22))

## [0.21.0](https://github.com/nuxt-community/composition-api/compare/0.20.2...0.21.0) (2021-03-03)

### Features

* upgrade @vue/composition-api to rc3 ([d4faf1d](https://github.com/nuxt-community/composition-api/commit/d4faf1defa5e9882676922dda4086f38a766b794))

### Bug Fixes

* build on Windows ([#377](https://github.com/nuxt-community/composition-api/issues/377)) ([f80ad03](https://github.com/nuxt-community/composition-api/commit/f80ad0308918662d52de559cdae660565c056683))
* use `upath` in more places for better windows support ([#388](https://github.com/nuxt-community/composition-api/issues/388)) ([fcd61db](https://github.com/nuxt-community/composition-api/commit/fcd61dbc00b658a7fd90a37be64fd155a9621941))
* use es module import as much as possible ([f7269b5](https://github.com/nuxt-community/composition-api/commit/f7269b55f47ccf34dcff83e1d57d99a6822ec9c3)), closes [#334](https://github.com/nuxt-community/composition-api/issues/334)

### [0.20.2](https://github.com/nuxt-community/composition-api/compare/0.20.1...0.20.2) (2021-02-18)

### Features

* add new exports from composition-api ([#380](https://github.com/nuxt-community/composition-api/issues/380)) ([9cd5e93](https://github.com/nuxt-community/composition-api/commit/9cd5e93aa39015b3e95fc29d55ae6e452411e1bd))

### Bug Fixes

* allow `ssrRef` in globalSetup ([fcf91a7](https://github.com/nuxt-community/composition-api/commit/fcf91a73b9195dde075b72d816fc8f71f52b3465)), closes [#379](https://github.com/nuxt-community/composition-api/issues/379)

### [0.20.1](https://github.com/nuxt-community/composition-api/compare/0.20.0...0.20.1) (2021-02-15)

### Bug Fixes

* always return $fetch and $fetchState ([e0a9cf4](https://github.com/nuxt-community/composition-api/commit/e0a9cf4842ae558396bda40f60bb0919224f958c)), closes [#372](https://github.com/nuxt-community/composition-api/issues/372)

## [0.20.0](https://github.com/nuxt-community/composition-api/compare/0.19.1...0.20.0) (2021-02-14)

### ⚠ BREAKING CHANGES

* split out types and imports

### Features

* add `defineNuxtConfig` helper ([6484e97](https://github.com/nuxt-community/composition-api/commit/6484e97aca55bdfa14dd2633c8e2146358b186e6))
* add `useRoute`, `useRouter` and `useStore` wrapper functions ([80e6c08](https://github.com/nuxt-community/composition-api/commit/80e6c084528f8b513e5711643b7703804534a6ed))
* add `wrapProperty` helper information ([bc0e091](https://github.com/nuxt-community/composition-api/commit/bc0e091554e2e5a9e9001c1f030e53483c641953))
* do some very dodgy things to improve dx ([0998d66](https://github.com/nuxt-community/composition-api/commit/0998d66e7dba9dd3251d779bbca4110243e3fb77)), closes [#334](https://github.com/nuxt-community/composition-api/issues/334)
* fetch improvements ([#366](https://github.com/nuxt-community/composition-api/issues/366)) ([d4bdbfb](https://github.com/nuxt-community/composition-api/commit/d4bdbfbae5c9dfe7314542e10a1b956c0aff0089)), closes [#364](https://github.com/nuxt-community/composition-api/issues/364) [nuxt/nuxt.js#8781](https://github.com/nuxt/nuxt.js/issues/8781) [#292](https://github.com/nuxt-community/composition-api/issues/292)

### Bug Fixes

* correct `static-json` path with custom router base or cdnURL ([fca527e](https://github.com/nuxt-community/composition-api/commit/fca527e539a28df89adfd0866b83849253cbf14e)), closes [#351](https://github.com/nuxt-community/composition-api/issues/351)
* create `static-json` folder before dev/build ([27e2ffa](https://github.com/nuxt-community/composition-api/commit/27e2ffac50f9199ababec628b1cb50702838986c)), closes [#337](https://github.com/nuxt-community/composition-api/issues/337)
* ensure `defineNuxtConfig` is accessible within config file ([06500ab](https://github.com/nuxt-community/composition-api/commit/06500ab07581b40f4f754b7ec486d3f283f643cf))
* split out types and imports ([cc81ad6](https://github.com/nuxt-community/composition-api/commit/cc81ad61c50bca4d966604e110ef77331bc83f3a)), closes [#334](https://github.com/nuxt-community/composition-api/issues/334)
* type issues with new wrapper functions ([fb2aa09](https://github.com/nuxt-community/composition-api/commit/fb2aa0906991cb2d63cc1a292e02c5bc400b6a81))
* use es module version of entrypoint in build ([72e753a](https://github.com/nuxt-community/composition-api/commit/72e753a29edf35e86c0e26469b1a66a9f679a40c))

### [0.19.1](https://github.com/nuxt-community/composition-api/compare/0.19.0...0.19.1) (2021-02-04)

### Bug Fixes

* set `useFetch` delay to 0 by default ([#362](https://github.com/nuxt-community/composition-api/issues/362)) ([33b9790](https://github.com/nuxt-community/composition-api/commit/33b979043356f3406766389b61ee32002f68127d))

## [0.19.0](https://github.com/nuxt-community/composition-api/compare/0.18.1...0.19.0) (2021-01-25)

### Features

* add compositionAPI flag in jsx babel configuration ([#304](https://github.com/nuxt-community/composition-api/issues/304)) ([fec4218](https://github.com/nuxt-community/composition-api/commit/fec4218aa623f31556dad776c7af936abbaf87b8))

### Bug Fixes

* don't import core-js polyfill in server build ([#353](https://github.com/nuxt-community/composition-api/issues/353)) ([2755d6b](https://github.com/nuxt-community/composition-api/commit/2755d6beeec2cfb4d28ba7e300362286e38876d9))
* revert `siroc` to fix windows error ([#356](https://github.com/nuxt-community/composition-api/issues/356)) ([acdf18d](https://github.com/nuxt-community/composition-api/commit/acdf18ddccc015d8ce531631ddaea62dfb12efd0))

### [0.18.1](https://github.com/nuxt-community/composition-api/compare/0.18.0...0.18.1) (2021-01-14)

## [0.18.0](https://github.com/nuxt-community/composition-api/compare/0.17.0...0.18.0) (2021-01-08)

### ⚠ BREAKING CHANGES

* upgrade `@vue/composition-api`

### Miscellaneous Chores

* upgrade `@vue/composition-api` ([a8fa46d](https://github.com/nuxt-community/composition-api/commit/a8fa46d74d00d84ee0055dc444b07aa0ad2dbbdf))

## [0.17.0](https://github.com/nuxt-community/composition-api/compare/0.16.4...0.17.0) (2020-12-12)

### Features

* upgrade to vca beta 21 (adds `readonly`) ([9277489](https://github.com/nuxt-community/composition-api/commit/92774896b27548352de75344ce319d1d899718e2))

### Bug Fixes

* ensure `ssrRef` doesn't share state across requests when used in `setup()` ([#310](https://github.com/nuxt-community/composition-api/issues/310)) ([61a3b55](https://github.com/nuxt-community/composition-api/commit/61a3b550afa1ffbeb285aad69c0cba62234da9be))

### [0.16.4](https://github.com/nuxt-community/composition-api/compare/0.16.3...0.16.4) (2020-11-25)

### Bug Fixes

* completely disable support for global `useMeta` if `@nuxtjs/pwa` detected ([5dc5e34](https://github.com/nuxt-community/composition-api/commit/5dc5e345500f437bb4332cee541dfe4af59e8254))

### [0.16.3](https://github.com/nuxt-community/composition-api/compare/0.16.2...0.16.3) (2020-11-25)

### Features

* respect explicitly set `build.corejs` version in `nuxt.config` ([b1603cb](https://github.com/nuxt-community/composition-api/commit/b1603cbbcca3aa99f7fffc2f408011c42861912e))

### [0.16.2](https://github.com/nuxt-community/composition-api/compare/0.16.1...0.16.2) (2020-11-25)

### Bug Fixes

* ensure meta plugin is loaded last ([c5c7299](https://github.com/nuxt-community/composition-api/commit/c5c72997f755b51b5d0d08e4807581df1f0c919c))

### [0.16.1](https://github.com/nuxt-community/composition-api/compare/0.16.0...0.16.1) (2020-11-25)

### Bug Fixes

* register meta plugin after other plugins ([87535eb](https://github.com/nuxt-community/composition-api/commit/87535eb5301d6640f91c8ea6fe621df096213418)), closes [#307](https://github.com/nuxt-community/composition-api/issues/307)

## [0.16.0](https://github.com/nuxt-community/composition-api/compare/0.15.1...0.16.0) (2020-11-24)

### Features

* allow accessing meta properties in `onGlobalSetup` ([15cf20e](https://github.com/nuxt-community/composition-api/commit/15cf20ece6d49e4067f8d648b626c373e76129c0)), closes [#305](https://github.com/nuxt-community/composition-api/issues/305)

### Bug Fixes

* **docs:** update lockfile ([952259b](https://github.com/nuxt-community/composition-api/commit/952259b04cb560e36731c68644f654ac83777e0d))

### [0.15.1](https://github.com/nuxt-community/composition-api/compare/0.15.0...0.15.1) (2020-11-17)

## [0.15.0](https://github.com/nuxt-community/composition-api/compare/0.13.5...0.15.0) (2020-11-09)

### Features

* add new export from upstream (`del`) ([4845254](https://github.com/nuxt-community/composition-api/commit/4845254b6fa25427ffcae459fec29d1596c78c97))

### Bug Fixes

* address TS bug ([e87d610](https://github.com/nuxt-community/composition-api/commit/e87d6108722df76446bc6eb041c00a0592ac4c18))
* use globalNuxt in full static mode ([1479665](https://github.com/nuxt-community/composition-api/commit/14796657f53d35134c6898a6e2aa9ab2640ee49c))

## [0.14.0](https://github.com/nuxt-community/composition-api/compare/0.13.5...0.14.0) (2020-11-02)

### Features

* add new export from upstream (`del`) ([4845254](https://github.com/nuxt-community/composition-api/commit/4845254b6fa25427ffcae459fec29d1596c78c97))

### [0.13.5](https://github.com/nuxt-community/composition-api/compare/0.13.4...0.13.5) (2020-10-17)

### [0.13.4](https://github.com/nuxt-community/composition-api/compare/0.13.3...0.13.4) (2020-10-16)

### Features

* add `reqRef` and `ssrReqRef` for refs to be reset per-request ([b6f327c](https://github.com/nuxt-community/composition-api/commit/b6f327ca55f1cd48f6b39c257b487a7d25a15f59))

### [0.13.3](https://github.com/nuxt-community/composition-api/compare/0.13.2...0.13.3) (2020-10-15)

### Bug Fixes

* fallback to instance for nuxt context ([d40c07b](https://github.com/nuxt-community/composition-api/commit/d40c07b7edf8190c8556866e418ee32100f5991a)), closes [#264](https://github.com/nuxt-community/composition-api/issues/264)

### [0.13.2](https://github.com/nuxt-community/composition-api/compare/0.13.1...0.13.2) (2020-10-15)

### Bug Fixes

* reinitialise global setup callbacks on each request ([7816afe](https://github.com/nuxt-community/composition-api/commit/7816afe9ca46e3118ba18be34a88240d986ec75f)), closes [#270](https://github.com/nuxt-community/composition-api/issues/270)

### [0.13.1](https://github.com/nuxt-community/composition-api/compare/0.13.0...0.13.1) (2020-10-14)

### Bug Fixes

* prevent `useMeta` from sharing state in ssr ([#268](https://github.com/nuxt-community/composition-api/issues/268)) ([e54cefe](https://github.com/nuxt-community/composition-api/commit/e54cefe61c28fbdb5956dc8ecf53e313567da1ee))

## [0.13.0](https://github.com/nuxt-community/composition-api/compare/0.12.6...0.13.0) (2020-10-12)

### Features

* allow computed properties within `useMeta` ([#255](https://github.com/nuxt-community/composition-api/issues/255)) ([7152ed4](https://github.com/nuxt-community/composition-api/commit/7152ed42785585507c26c7df6deced7c6e16f590))

### Bug Fixes

* use `siroc` to build ([79106c2](https://github.com/nuxt-community/composition-api/commit/79106c22a9da153c720251aef1dc3b7c66acb300)), closes [#259](https://github.com/nuxt-community/composition-api/issues/259)

### [0.12.6](https://github.com/nuxt-community/composition-api/compare/0.12.5...0.12.6) (2020-10-10)

### [0.12.5](https://github.com/nuxt-community/composition-api/compare/0.12.4...0.12.5) (2020-09-18)

### [0.12.4](https://github.com/nuxt-community/composition-api/compare/0.12.3...0.12.4) (2020-09-16)

### Bug Fixes

* remove `markReactive` export ([#239](https://github.com/nuxt-community/composition-api/issues/239)) ([d455d0f](https://github.com/nuxt-community/composition-api/commit/d455d0f87e5a798403ffb7bb0263f4e30de0c4ce)), closes [#238](https://github.com/nuxt-community/composition-api/issues/238)

### [0.12.3](https://github.com/nuxt-community/composition-api/compare/0.12.2...0.12.3) (2020-08-26)

### Bug Fixes

* load nuxt edge utils if available ([#219](https://github.com/nuxt-community/composition-api/issues/219)) ([563bb3c](https://github.com/nuxt-community/composition-api/commit/563bb3c33fb7bfc9d5a57353b006c8cc8f268eb0))
* overwrite titleTemplate with undefined ([#220](https://github.com/nuxt-community/composition-api/issues/220)) ([dc6f253](https://github.com/nuxt-community/composition-api/commit/dc6f25360554aab4cb29ec8d0f021939c5660168))

### [0.12.2](https://github.com/nuxt-community/composition-api/compare/0.12.1...0.12.2) (2020-08-18)

### Bug Fixes

* use `Promise.resolve()` to cover all possible promise cases ([#211](https://github.com/nuxt-community/composition-api/issues/211)) ([6d10312](https://github.com/nuxt-community/composition-api/commit/6d10312f65cefb219c00bbceb946d3547abc25f4)), closes [#210](https://github.com/nuxt-community/composition-api/issues/210)

### [0.12.1](https://github.com/nuxt-community/composition-api/compare/0.12.0...0.12.1) (2020-08-16)

## [0.12.0](https://github.com/nuxt-community/composition-api/compare/0.11.0...0.12.0) (2020-08-09)

### Features

* add new exports from `@vue/composition-api` ([5bbcfd7](https://github.com/nuxt-community/composition-api/commit/5bbcfd75e241e3aa97d07ea87595b171019eec4c))

## [0.11.0](https://github.com/nuxt-community/composition-api/compare/0.10.6...0.11.0) (2020-07-27)

### Features

* add nuxt helpers ([#160](https://github.com/nuxt-community/composition-api/issues/160)) ([8a9885e](https://github.com/nuxt-community/composition-api/commit/8a9885e5a78dc3c07c38134e45887185be7d6139))

### [0.10.6](https://github.com/nuxt-community/composition-api/compare/0.10.5...0.10.6) (2020-07-14)

### Bug Fixes

* add support for windows ([#140](https://github.com/nuxt-community/composition-api/issues/140)) ([c39773f](https://github.com/nuxt-community/composition-api/commit/c39773fcff157169e2c7761ca7bbd229bf089331))
* correctly check for `isFullStatic` ([db87441](https://github.com/nuxt-community/composition-api/commit/db874411b9195d2d90fa1710fb9f4065a0fb153c))

### [0.10.5](https://github.com/nuxt-community/composition-api/compare/0.10.4...0.10.5) (2020-07-09)

### Bug Fixes

* create `static-json` dir at correct point in generate lifecycle ([2d4e10b](https://github.com/nuxt-community/composition-api/commit/2d4e10b645f982034a0e69a2d3ba338af9c0a255))
* test for nuxt instance before loading static ([43d5ee6](https://github.com/nuxt-community/composition-api/commit/43d5ee6a18482b981365d3e1669146e96420fcae)), closes [#143](https://github.com/nuxt-community/composition-api/issues/143)

### [0.10.4](https://github.com/nuxt-community/composition-api/compare/0.10.3...0.10.4) (2020-07-09)

### Bug Fixes

* revert to custom ssr fetch handling ([6cde3df](https://github.com/nuxt-community/composition-api/commit/6cde3dfe4555f5bee6a2944d79715c4a705da496)), closes [#133](https://github.com/nuxt-community/composition-api/issues/133) [#141](https://github.com/nuxt-community/composition-api/issues/141) [#143](https://github.com/nuxt-community/composition-api/issues/143)

### [0.10.3](https://github.com/nuxt-community/composition-api/compare/0.10.2...0.10.3) (2020-07-01)

### Bug Fixes

* check static path exists before copying files ([9f1bdc7](https://github.com/nuxt-community/composition-api/commit/9f1bdc7026336e018bec1f6b7d4b63713c451897))

### [0.10.2](https://github.com/nuxt-community/composition-api/compare/0.10.1...0.10.2) (2020-06-25)

### Bug Fixes

* remove `console.log` ([0b1d5a8](https://github.com/nuxt-community/composition-api/commit/0b1d5a8872760f28e4e7deb030cc6640b1b611cd))

### [0.10.1](https://github.com/nuxt-community/composition-api/compare/0.10.0...0.10.1) (2020-06-25)

### Features

* export `nextTick` from `@vue/composition-api` ([df68e0a](https://github.com/nuxt-community/composition-api/commit/df68e0a3788dbfca3d3f400465228daf3d202851))

## [0.10.0](https://github.com/nuxt-community/composition-api/compare/0.9.3...0.10.0) (2020-06-25)

### ⚠ BREAKING CHANGES

* requires nuxt 2.13+ for `useFetch`

### Features

* support static target for `useFetch` ([74205b5](https://github.com/nuxt-community/composition-api/commit/74205b5198e46f43f77601a9c786b49b1e6e9dc1)), closes [#127](https://github.com/nuxt-community/composition-api/issues/127)

### Bug Fixes

* handle preexisting babel plugins function ([c5c338f](https://github.com/nuxt-community/composition-api/commit/c5c338f1675a05264ce3481e8469ad24d2fe44d8))
* specify type for inline function ([694f21b](https://github.com/nuxt-community/composition-api/commit/694f21bbfea097ea2409f70c8a9a8f700143b97f))
* write static files synchronously ([eb91a5f](https://github.com/nuxt-community/composition-api/commit/eb91a5f5d85f98b6bd5a425aab28c151183abe0b))

### [0.9.3](https://github.com/nuxt-community/composition-api/compare/0.9.2...0.9.3) (2020-06-13)

### Features

* add `ssrPromise` functionality ([461939d](https://github.com/nuxt-community/composition-api/commit/461939da38b0386c95b328ae49a10d2e57536aad)), closes [#115](https://github.com/nuxt-community/composition-api/issues/115)

### [0.9.2](https://github.com/nuxt-community/composition-api/compare/0.9.1...0.9.2) (2020-06-13)

### Features

* provide access to global `setup()` function ([7fd70d9](https://github.com/nuxt-community/composition-api/commit/7fd70d9ccb4687a3a20aceeb24a3295d53875146)), closes [#104](https://github.com/nuxt-community/composition-api/issues/104) [#111](https://github.com/nuxt-community/composition-api/issues/111)

### Bug Fixes

* remove duplicate static path definition ([48b9afb](https://github.com/nuxt-community/composition-api/commit/48b9afbe0531ffa90090c67d69d8fc65f02fa868))

### Performance Improvements

* remove unnecessary spread ([2300a93](https://github.com/nuxt-community/composition-api/commit/2300a93d79e826526645d732f57bf9712f59e52e))

### [0.9.1](https://github.com/nuxt-community/composition-api/compare/0.9.0...0.9.1) (2020-06-11)

## [0.9.0](https://github.com/nuxt-community/composition-api/compare/0.8.2...0.9.0) (2020-06-10)

### ⚠ BREAKING CHANGES

* There are a number of breaking changes in the latest upstream composition-api. See https://github.com/vuejs/composition-api/releases/tag/v0.6.0 for details.

### Features

* upgrade to `@vue/composition-api` v0.6.1 ([3d0bdc6](https://github.com/nuxt-community/composition-api/commit/3d0bdc62b509e0e95896ff8da79f12feaf0fb60b))

### [0.8.2](https://github.com/nuxt-community/composition-api/compare/0.8.1...0.8.2) (2020-06-04)

### Bug Fixes

* regression if `ssrRef` is used outside setup (in dev) ([f2beecd](https://github.com/nuxt-community/composition-api/commit/f2beecd38396a1942a52aceb55cc516eb9de37b7))

### [0.8.1](https://github.com/nuxt-community/composition-api/compare/0.8.0...0.8.1) (2020-06-02)

### Bug Fixes

* re-run `ssrRef` factory functions on hot module reload ([282b8d2](https://github.com/nuxt-community/composition-api/commit/282b8d273cf049d9015d29ee8dc60f2ff0478248)), closes [#88](https://github.com/nuxt-community/composition-api/issues/88)

## [0.8.0](https://github.com/nuxt-community/composition-api/compare/0.7.5...0.8.0) (2020-05-30)

### Features

* add `useStatic` helper to inline results of API calls ([#79](https://github.com/nuxt-community/composition-api/issues/79)) ([460b615](https://github.com/nuxt-community/composition-api/commit/460b6152c93f678781a79a628a16894ca7795a02))

### [0.7.5](https://github.com/nuxt-community/composition-api/compare/0.7.4...0.7.5) (2020-05-30)

### Bug Fixes

* allow extension of `useContext` return type ([24d7586](https://github.com/nuxt-community/composition-api/commit/24d75865be7d6226aafd871cae7f2346bef021e1)), closes [#84](https://github.com/nuxt-community/composition-api/issues/84)

### [0.7.4](https://github.com/nuxt-community/composition-api/compare/0.7.3...0.7.4) (2020-05-28)

### Bug Fixes

* transpile buildModule ([2d5388d](https://github.com/nuxt-community/composition-api/commit/2d5388de3433d157a71393cc121fd34ed1398dad)), closes [#80](https://github.com/nuxt-community/composition-api/issues/80)

### [0.7.3](https://github.com/nuxt-community/composition-api/compare/0.7.2...0.7.3) (2020-05-27)

### Bug Fixes

* `useMeta` refs should be reactive ([#81](https://github.com/nuxt-community/composition-api/issues/81)) ([74cb5ef](https://github.com/nuxt-community/composition-api/commit/74cb5ef4b5b1e896bd64af3b9fb43ddb636f5894))

### [0.7.2](https://github.com/nuxt-community/composition-api/compare/0.7.1...0.7.2) (2020-05-27)

### Bug Fixes

* allow custom `globalContext` and `globalNuxt` ([#80](https://github.com/nuxt-community/composition-api/issues/80)) ([8b8d7eb](https://github.com/nuxt-community/composition-api/commit/8b8d7eb73a70fedfff630709fc03f6958a8d4961))
* reduce chance of `$fetch`/`$fetchState` collision ([534dc43](https://github.com/nuxt-community/composition-api/commit/534dc432af43934d079b1cb0a4c8231e27053f6e)), closes [#74](https://github.com/nuxt-community/composition-api/issues/74)
* sanitise ssrRefs ([fcb4a9d](https://github.com/nuxt-community/composition-api/commit/fcb4a9daca955b9537c6996f1de798b7eae6f94a))

### [0.7.1](https://github.com/nuxt-community/composition-api/compare/0.7.0...0.7.1) (2020-05-19)

### Bug Fixes

* register composition api before layouts ([93024a8](https://github.com/nuxt-community/composition-api/commit/93024a827af853c061ff70429a835ebc7df52786)), closes [#64](https://github.com/nuxt-community/composition-api/issues/64) [#65](https://github.com/nuxt-community/composition-api/issues/65)

## [0.7.0](https://github.com/nuxt-community/composition-api/compare/0.6.3...0.7.0) (2020-05-14)

### ⚠ BREAKING CHANGES

* `route`, `query`, `from` and `params` are now returned as refs from `useContext`, which was probably what you wanted anyway.

### Bug Fixes

* make route-related context reactive ([91292c8](https://github.com/nuxt-community/composition-api/commit/91292c8cb2d3cc2954ca67514ac59ab006f3ae73))

### [0.6.3](https://github.com/nuxt-community/composition-api/compare/0.6.2...0.6.3) (2020-05-11)

### Features

* create shallowSsrRef ([#49](https://github.com/nuxt-community/composition-api/issues/49)) ([5ef0f6c](https://github.com/nuxt-community/composition-api/commit/5ef0f6c8d6597e38b7396fdad9ef087eb4194eb6))

### [0.6.2](https://github.com/nuxt-community/composition-api/compare/0.6.1...0.6.2) (2020-05-11)

### Features

* use appropriate core-js polyfill for ie11 ([5281e66](https://github.com/nuxt-community/composition-api/commit/5281e66b1e77d762056909a2157ddbc72253fc71))

### Bug Fixes

* insert composition api plugin before others ([2ef608b](https://github.com/nuxt-community/composition-api/commit/2ef608b456fe945b47661d82af337dcd20c390c5))
* reduce meta type definitions ([fa9efa3](https://github.com/nuxt-community/composition-api/commit/fa9efa37c8eadd71c523a7cdbe0e574e210f4f8b))
* revert data sanitisation ([1a4bbed](https://github.com/nuxt-community/composition-api/commit/1a4bbed5025b9f1deb8294d568cf419d27b99a5e))
* sanitise `ssrRef` data ([d86fdb2](https://github.com/nuxt-community/composition-api/commit/d86fdb2ec6b00f437fe2c1786133b18fffe78a3b))

### [0.6.1](https://github.com/nuxt-community/composition-api/compare/0.6.0...0.6.1) (2020-05-10)

### Features

* allow `ssrRef` to work outside of setup ([#46](https://github.com/nuxt-community/composition-api/issues/46)) ([6a67c05](https://github.com/nuxt-community/composition-api/commit/6a67c05537f87254d2dcb0c95dd43c4747431a5f))

### Bug Fixes

* improve default values for `useMeta` ([f3024e1](https://github.com/nuxt-community/composition-api/commit/f3024e1e79a01a2d9714b4549bd6d6966b2ef260))

## [0.6.0](https://github.com/nuxt-community/composition-api/compare/0.5.0...0.6.0) (2020-05-09)

### ⚠ BREAKING CHANGES

* `useHead()` no longer exists and instead `useMeta` can be used directly within `setup`, as long as a minimal `head: {}` is defined in the component options.

_Note_: Work has already begun on composable hooks for `vue-meta` that will mean we don't need to define a minimal `head` object: see [here](5d0eb1ab60ce476ed8a97e97d4d409e74284df9b).

### Features

* allow automatic injection of `head()` into components ([#43](https://github.com/nuxt-community/composition-api/issues/43)) ([f1bda39](https://github.com/nuxt-community/composition-api/commit/f1bda396ea096e42dff645df3275b5d4d288ac73)), closes [#41](https://github.com/nuxt-community/composition-api/issues/41)
* return `$fetch` and `$fetchState` from `useFetch` ([c45177f](https://github.com/nuxt-community/composition-api/commit/c45177f341c57fd40136aaac8e0c55e97c4edd4a))

## [0.5.0](https://github.com/nuxt-community/composition-api/compare/0.4.1...0.5.0) (2020-05-08)

### Features

* add `useAsync` and improve `ssrRef` ([#28](https://github.com/nuxt-community/composition-api/issues/28)) ([31c9729](https://github.com/nuxt-community/composition-api/commit/31c9729885e290415dddc3e33a36b4912c29feb8))

### Bug Fixes

* address cross-request state pollution ([b7248c7](https://github.com/nuxt-community/composition-api/commit/b7248c7bf87a7815180629247ccc65f235746565))
* remove no-setup `ssrRefs` until solution ([707fb25](https://github.com/nuxt-community/composition-api/commit/707fb25ee4243d28b4a43eb8e41b4eac37134492))

### Performance Improvements

* improve memory usage ([e3f7221](https://github.com/nuxt-community/composition-api/commit/e3f722187793dfab1dcb0d99e70261b574ceb97c))

### [0.4.1](https://github.com/nuxt-community/composition-api/compare/0.4.0...0.4.1) (2020-05-08)

### Bug Fixes

* hotfix so ssrRefs work in production ([7c15c92](https://github.com/nuxt-community/composition-api/commit/7c15c928530f417b3c0ff25c2b0c1f852ac017a7)), closes [#28](https://github.com/nuxt-community/composition-api/issues/28)

## [0.4.0](https://github.com/nuxt-community/composition-api/compare/0.3.2...0.4.0) (2020-05-08)

### ⚠ BREAKING CHANGES

* `withContext` is now deprecated

### Features

* add `useContext` helper function ([9752a61](https://github.com/nuxt-community/composition-api/commit/9752a6124fa545f172bbfbe27dc1e6ef849510a7)), closes [#29](https://github.com/nuxt-community/composition-api/issues/29)
* add composition api helper to interact with `head()` ([#35](https://github.com/nuxt-community/composition-api/issues/35)) ([b7467e2](https://github.com/nuxt-community/composition-api/commit/b7467e2075b61ce7bd23a66d96f9c4e8d124e4f5))

### Bug Fixes

* correctly type `ssrRef` with factory function ([7b734ac](https://github.com/nuxt-community/composition-api/commit/7b734ac038cde3fbf967b89a39e2f57844f046e1))
* make `useContext` API available ([#39](https://github.com/nuxt-community/composition-api/issues/39)) ([dc4f028](https://github.com/nuxt-community/composition-api/commit/dc4f028a2adcc5ee9d663ee9fe2217dd891a7fdf))

### [0.3.2](https://github.com/nuxt-community/composition-api/compare/0.3.1...0.3.2) (2020-05-04)

### Bug Fixes

* purge non-stringifiable values from ssrRefs ([ac199b1](https://github.com/nuxt-community/composition-api/commit/ac199b18b722774ef1b50936565cafcbc8689e1a))

### [0.3.1](https://github.com/nuxt-community/composition-api/compare/0.3.0...0.3.1) (2020-05-04)

### Bug Fixes

* set `ssrContext` through plugin ([3ba85f5](https://github.com/nuxt-community/composition-api/commit/3ba85f5fc65dcc9e1e121db2a72fbd13e0cd6565))
* use own `onServerPrefetch` for `useFetch` ([60e23dd](https://github.com/nuxt-community/composition-api/commit/60e23dd4930156ff9b3c3025478aa53b02003a86))

## [0.3.0](https://github.com/nuxt-community/composition-api/compare/0.2.3...0.3.0) (2020-05-04)

### Features

* add `ssrRef` capability for automatic SSR support ([#23](https://github.com/nuxt-community/composition-api/issues/23)) ([f27fae8](https://github.com/nuxt-community/composition-api/commit/f27fae886836428410e607ce77d9c066b6596f22))

### Reverts

* Revert "docs: remove live demo link (Now is rate-limiting deploy)" ([bbd8661](https://github.com/nuxt-community/composition-api/commit/bbd86618310d897ca041015c0a39248a6ddaef69))

### [0.2.3](https://github.com/danielroe/nuxt-composition-api/compare/0.2.2...0.2.3) (2020-05-01)

### Bug Fixes

* respect `fetchOnServer` option ([368f33d](https://github.com/danielroe/nuxt-composition-api/commit/368f33d08a0391392bad50b075282902af0ee4cb))

### [0.2.2](https://github.com/danielroe/nuxt-composition-api/compare/0.2.1...0.2.2) (2020-04-30)

### Bug Fixes

* correctly match `$fetch` and `$fetchState` features ([e2d0442](https://github.com/danielroe/nuxt-composition-api/commit/e2d0442190055608e56eab83316acc08dfb17c4b))

### [0.2.1](https://github.com/danielroe/nuxt-composition-api/compare/0.2.0...0.2.1) (2020-04-30)

### Bug Fixes

* require `@vue/composition-api` ([f81182e](https://github.com/danielroe/nuxt-composition-api/commit/f81182e6cdc0b03b5f1f72885cc022aa20f01b36))

## [0.2.0](https://github.com/danielroe/nuxt-composition-api/compare/0.1.5...0.2.0) (2020-04-30)

### Features

* enable this to be used as a nuxt module ([#13](https://github.com/danielroe/nuxt-composition-api/issues/13)) ([9c5dee7](https://github.com/danielroe/nuxt-composition-api/commit/9c5dee79b10a4b6699c8bbaf54d4a12317f2a08a))

### [0.1.5](https://github.com/danielroe/nuxt-composition-api/compare/0.1.4...0.1.5) (2020-04-29)

### Bug Fixes

* disable browser build ([849edee](https://github.com/danielroe/nuxt-composition-api/commit/849edee610ee536e2755999f878e669019deb363))

### [0.1.4](https://github.com/danielroe/nuxt-composition-api/compare/0.1.3...0.1.4) (2020-04-29)

### [0.1.3](https://github.com/danielroe/nuxt-composition-api/compare/0.1.2...0.1.3) (2020-04-28)

### Bug Fixes

* set $fetchState if nonexistent ([d94c40e](https://github.com/danielroe/nuxt-composition-api/commit/d94c40eb8b581bd9f1ab888310985966c7126643))

### [0.1.2](https://github.com/danielroe/nuxt-composition-api/compare/0.1.1...0.1.2) (2020-04-27)

### ⚠ BREAKING CHANGES

* `onFetch` can now be accessed using `useFetch`

### Code Refactoring

* rename onFetch to useFetch ([3647769](https://github.com/danielroe/nuxt-composition-api/commit/3647769b8db96f8dcc0463ea4a820eb712ef97ca))

### 0.1.1 (2020-04-27)

### Features

* add withContext hook ([179f0e1](https://github.com/danielroe/nuxt-composition-api/commit/179f0e1ab7b0d67499c1814c0101fd7037b66490))

repository: nuxt-community/composition-api

repo_name: nuxt-community/composition-api


text:
---
id: 871
title: How to create replication between two MySQL instances
date: 2010-12-16T11:19:41+00:00
##author: biliards
layout: post
guid: http://ittips.pandle.net/?p=871
permalink: /2010/12/16/how-to-create-replication-between-two-mysql-instances/
aktt_notify_twitter:
  - 'no'
categories:
  - configure
tags:
  - configure
  - howto
  - mysql
---
It is important create a mysql user into each instance that it could exec only replication actions, in mysql shell:
> `create user replica@localhost;`

`grant replication slave on *.* to replica@localhost identified by 'replicapassword';`

Minimal configuration file (/etc/my.cnf) of each mysql instance is:
**master**
> [mysqld]

server-id=1

log-bin=/var/log/mysql/binlog.log

expire_logs_days=10

max_binlog_size=100M

datadir=/var/lib/mysql/data

socket=/var/lib/mysql/mysql.sock

innodb_flush_log_at_trx_commit=1

sync_binlog=1

**slave**
> [mysqld]

server-id=2

master-host=ip.server.master

master-port=3306

master-user=replica

master-password=replicapassword

log-bin=/var/log/mysql/binlog.log

expire_logs_days=10

max_binlog_size=100M

datadir=/var/lib/mysql/data

socket=/var/lib/mysql/mysql.sock

innodb_flush_log_at_trx_commit=1

sync_binlog=1

relay-log-index=slave-relay-bin.index

relay-log=slave-relay-bin

Last step is initializing and starting replication. In mysql shell:
**master**
> `reset master;`

**slave**
> `change master to master_host='ip.server.master',`

`master_user='replica',`

`master_password='replicapassword',`

`master_port=3306;`

If you want resetting replication:
**master**
> `reset master;`

**slave**
> `stop slave;`

`reset slave;`

`start slave;`

If you want show which it is binary file and position:
> `show master status;`

`show slave status;`

Reference: [mysql.com](http://dev.mysql.com/doc/refman/5.0/en/replication-howto.html)

license: MIT

repository: bilardi/notes

branch_name: refs/heads/master

extension: md

license_type: permissive

repo_name: bilardi/notes


text:
# Git recipes

## Remove untracked files

`git clean` removes untracked files from the working tree. `git clean -n` (`--dry-run`) shows a preview of the effect, and `git clean -f` (`--force`) actually deletes them. Use `-d` to delete folders as well.

## Bring in changes from another branch

`git merge --squash my-feature` brings in changes from the `my-feature` branch onto the current branch, without committing them.

repository: georgerobescu/toolbox

repo_name: georgerobescu/toolbox


text:
# Concurrency Control for Distributed Applications

This is a concurrency library that is built primary for files but extendible to any kind of shared data objects.
This enables multiple distributed applications to work on shared data without worrying about concurrency issues and without any communication overhead.
Multithreaded concurrency issues within same application is resolved through local locks and consistency of data from remote set of applications is ensured by db-based locking mechanism.

branch_name: refs/heads/main


text:
## Original Publication
Papakostas, Michalis, et al. "Physical fatigue detection through EMG wearables and subjective user reports: a machine learning approach towards adaptive rehabilitation." Proceedings of the 12th ACM International Conference on PErvasive Technologies Related to Assistive Environments. ACM, 2019.
#### Bibtec
@inproceedings{papakostas2019physical,
  title={Physical fatigue detection through EMG wearables and subjective user reports: a machine learning approach towards adaptive rehabilitation},
  author={Papakostas, Michalis and Kanal, Varun and Abujelala, Maher and Tsiakas, Konstantinos and Makedon, Fillia},
  booktitle={Proceedings of the 12th ACM International Conference on PErvasive Technologies Related to Assistive Environments},
  pages={475--481},
  year={2019},
  organization={ACM}
}

# EMG_Fatigue_Monitoring
Dependencies:

[pyAudioAnalysis](https://github.com/tyiannak/pyAudioAnalysis)

[Keras](https://keras.io/) - optional for CNN classification

### Run to train & evaluate:
```
python FatigueMonitoring
```
 Edit the code under the main function to run different evaluation scenarios

 Processed Dataset used for this study available in the repo

 Original Dataset available at: https://www.dropbox.com/s/daj4du1ra5zo821/Fatigue%20Data.zip?dl=0

### Data format

1. experiment_comparison folder contains temporal evaluations in the format : c1:timestamp c2:ground_truth c3:predicted

2. Study1_medfilt11_EMG folder contains the processed EMG measurments by a median filter with window size  of 11 samples

3. original_labels_Study1 folder contains the labels provided by the human subjects: 0=NO_FATIGUE, 1=FATIGUE

4. original_times_Study1 folder contains the timestamps of each EEG measurment

5. For questions in the code check the comments

6. Dataset file format: <user_id>_<exercise_id>_<repetition_id>

## Original Publication
Papakostas, Michalis, et al. "Physical fatigue detection through EMG wearables and subjective user reports: a machine learning approach towards adaptive rehabilitation." Proceedings of the 12th ACM International Conference on PErvasive Technologies Related to Assistive Environments. ACM, 2019.
#### Bibtec
@inproceedings{papakostas2019physical,
  title={Physical fatigue detection through EMG wearables and subjective user reports: a machine learning approach towards adaptive rehabilitation},
  author={Papakostas, Michalis and Kanal, Varun and Abujelala, Maher and Tsiakas, Konstantinos and Makedon, Fillia},
  booktitle={Proceedings of the 12th ACM International Conference on PErvasive Technologies Related to Assistive Environments},
  pages={475--481},
  year={2019},
  organization={ACM}
}


text:
Checks a corner case with type checking involving destructuring binds.

The binds were causing some sequences of lets to be unnecessarily
recursive.

```ucm:hide
.> builtins.merge
```

```unison
unique ability Nate where
  nate: (Boolean, Nat)
  antiNate: ()

sneezy: (Nat -> {d} a) -> '{Nate,d} a
sneezy dee _ =
  (_,_) = nate
  antiNate
  dee 1
```

repository: unisonweb/unison

branch_name: refs/heads/trunk

gha_language: Haskell

gha_license_id: NOASSERTION

repo_name: unisonweb/unison


text:
# Skeleton-Test

[![Author][ico-author]][link-author]
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
[![Quality Score][ico-code-quality]][link-code-quality]
[![StyleCI][ico-styleci]][link-styleci]
[![Total Downloads][ico-downloads]][link-downloads]
[![Gratipay][ico-gratipay]][link-gratipay]

[![SensioLabsInsight][ico-sensiolabs]][link-sensiolabs]

**@TODO 1:** Replace the following placeholders with their actual values in all concerned files:

- ```:package_name```
- ```:package_capital_name```
- ```:package_namespace```
- ```:package_description```

**@TODO 2:** Enable the following services for the current package:

- [Packagist](https://packagist.org/packages/submit)
- [TravisCI](https://travis-ci.org/profile/cerbero90)
- [ScrutinizerCI](https://scrutinizer-ci.com/g/new)
- [StyleCI](https://styleci.io/account)
- [SensioLabs Insight](https://insight.sensiolabs.com/projects/new)

**@TODO 3:** Now that StyleCI and SensioLabs are enabled, replace their placeholders with the actual values in all concerned files:

- ```:styleci_repo```
- ```:sensiolabs_project```

**@TODO 4:** Delete all the above notes, including this one.

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what
PSRs you support to avoid any confusion with users and contributors.

## Install

Via Composer

``` bash
$ composer require cerbero/Skeleton-Test
```

## Usage

``` php
$skeleton = new League\Skeleton();
echo $skeleton->echoPhrase('Hello, League!');
```

## Change log

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

## Testing

``` bash
$ composer test
```

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

## Security

If you discover any security related issues, please email<EMAIL_ADDRESS>instead of using the issue tracker.

## Credits

- [Andrea Marco Sartori][link-author]
- [All Contributors][link-contributors]

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

[ico-author]: http://img.shields.io/badge/author-@cerbero90-blue.svg?style=flat-square
[ico-version]: https://img.shields.io/packagist/v/cerbero/Skeleton-Test.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/cerbero90/Skeleton-Test/master.svg?style=flat-square
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/cerbero90/skeleton-test.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/cerbero90/skeleton-test.svg?style=flat-square
[ico-styleci]: https://styleci.io/repos/55344918/shield
[ico-downloads]: https://img.shields.io/packagist/dt/cerbero/Skeleton-Test.svg?style=flat-square
[ico-gratipay]: https://img.shields.io/gratipay/cerbero.svg?style=flat-square
[ico-sensiolabs]: https://insight.sensiolabs.com/projects/8fcc7791-11a3-4064-a58a-698b03e37839/big.png

[link-author]: https://twitter.com/cerbero90
[link-packagist]: https://packagist.org/packages/cerbero/skeleton-test
[link-travis]: https://travis-ci.org/cerbero90/Skeleton-Test
[link-scrutinizer]: https://scrutinizer-ci.com/g/cerbero90/skeleton-test/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/cerbero90/skeleton-test
[link-styleci]: https://styleci.io/repos/55344918
[link-downloads]: https://packagist.org/packages/cerbero/skeleton-test
[link-gratipay]: https://gratipay.com/cerbero
[link-sensiolabs]: https://insight.sensiolabs.com/projects/8fcc7791-11a3-4064-a58a-698b03e37839
[link-contributors]: ../../contributors

gha_language: PHP


text:
# Weatherly

This is a weathe app that will intuitively give you the weather for any location on the globe. It provides the curent weather, a 7 hour forecast and a 10 day forceast for the seleceted location and updates when the page is refreshed through an api call to weather undergound. Your location will persist upon refresh in local storage.

>If you would lke to check it out you can clone this repo npm install and npm start.

## Contributors:

>Ben Porter

>john Boudreaux

![weatherly](https://user-images.githubusercontent.com/20631355/37002018-8d5eaa84-2085-11e8-8f87-573017b23108.gif)

![wireframe_main](https://user-images.githubusercontent.com/26842728/30650344-e3136c9a-9ddf-11e7-9087-9192c825a894.jpg)

![wireframe_welcome](https://user-images.githubusercontent.com/26842728/30650413-0973ac4c-9de0-11e7-91b9-be0748f36992.jpg)

repository: johnmboudreaux/Weatherly-App

repo_name: johnmboudreaux/Weatherly-App


text:
# Quick Start

## Installation

Install Tango,

```go
go get github.com/lunny/tango
```

A classic example of Tango is below:

```go
package main

import (
    "errors"
    "github.com/lunny/tango"
)

type Action struct {
    tango.JSON
}

func (Action) Get() interface{} {
    if true {
        return map[string]string{
            "say": "Hello tango!",
        }
    }
    return errors.New("something error")
}

func main() {
    t := tango.Classic()
    t.Get("/", new(Action))
    t.Run()
}
```

And then you can visit `http://localhost:8000` on your web browser, you will get a json result.
```
{"say":"Hello tango!"}
```

If you change the code above from `true` to `false`, you will get another result.
```
{"err":"something error"}
```

Because this code has embbeded `tango.JSON`, so the return value could be converted to json automatically.

## Usage

`Tango` object is the beginning of all the things. Generally, just call ```tango.Classic()```, you will create a Tango object. For example:

```Go
func main() {
    t := tango.Classic()
    t.Use(...)
    t.Get(...)
    t.Run()
}
```

Of course, you can give a custom Log, default outpu is os.StdOut,

```Go
import "github.com/lunny/log"

l := log.New(out, "[tango] ", log.Ldefault())
l.SetOutputLevel(log.Ldebug)
t := tango.Classic(l)
```

Logger is an interface, so you can use your self log component.

You also can call `New` to custom tango. For example for a static web server:

```Go
func main() {
   t := tango.New(tango.Static(tango.StaticOptions{Prefix:"public"}))
   t.Run()
}
```
Then, you can visit your `./public` directory files via web browser.

Also, tango provide `NewWithLog`.

* `NewWithLog(Logger, ...tango.Handler)`

repository: go-tango/manual-en-US

repo_name: go-tango/manual-en-US


text:
# mangi-script
Ubuntu Shell Script to setup Development Environment

I have created this script to setup development environment after fresh installation of Ubuntu. This will install following development environments and tools for you:

- Node.js
- NVM
- NPM
- Nodemon
- MongoDB
- Forever
- git
- grunt
- bower
- vim
- Maven
- Loopback
- curl
- python
- jre/jdk
- gimp
- zip unzip and rar tools
- filezilla
- tlp
- erlang
- xpad sticky notes
- cpu checker
- kvm acceleration
- Calibre Ebook Reader (I often use it to read programming books :)
- Dict - Ubuntu Dictionary Database and Client (CLI based)

It would demand yes/no inputs on terminal from user therefore it is not fully automated for now.

# Execution

Download the .sh file in the repository and make it executable

`chmod a+x my_ubuntu_setup.sh`

Execute the script now:

`sh my_ubuntu_setup.sh`

For any contributions, feel free to make a pull request.

# License

MIT License

Copyright (c) 2017 Sojharo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

repository: augustoerico/mangi-script

gha_license_id: MIT

repo_name: augustoerico/mangi-script


text:
# go-marshaler

This utility module currently decodes a map of values into a go struct. You
could use this for converting "flat" wire formats (for example, from an SQL
database or HTTP response into go structures.

## UnmarshalStruct

The simple method is to use "UnmarshalStruct" to perform the transformation. For example,

```go
package main

import (
  marshaler "github.com/djthorpe/go-marshaler"
)

func main() {
  var dest struct {
    A int     `test:"a"`
    B float32 `test:"b"`
    C []int   `test:"c"`
  }
  src := map[string]interface{}{
    "a": int(10),
    "b": float32(3.1415),
    "c": []int{ 1, 2, 3 },
  }
  if err := marshaler.UnmarshalStruct(src, &dest, "test", nil); err != nil {
    panic(err)
  }
  fmt.Println(dest)
}
```

Will output `map[string]interface{}{ a: 10, b: 3.1415, c: [ 1, 2, 3 ] }`. You can define
a custom scalar decoding function which can transform a source value into a destination type.
Pass this custom function as the last argument to `UnmarshalStruct`. For example,

```go
func CustomTransformer(src reflect.Value, dest reflect.Type) (reflect.Value,error) {
  if dest != /* type I am interested in transforming to */ {
		return reflect.ValueOf(nil), nil
	}
  // Return type if it's already converted
  if src.Type() == dest {
		return v, nil
	}
  // Do transformation here to dest type, return error if the
  // source cannot be transformed....
}
```

Your function should return an invalid value to skip the transformation, and an error
if you want to return an error out of the `UnmarshalStruct` function.

## Decode

Decoding can also be performed as follows:

```go
package main

import (
  marshaler "github.com/djthorpe/go-marshaler"
)

func main() {
  var dest struct {
    A int       `test:"a"`
    B float32   `test:"b"`
    C []int     `test:"c"`
    D time.Time `test:"d"`
  }
  src := map[string]interface{}{
    "a": int(10),
    "b": float32(3.1415),
    "c": []int{ 1, 2, 3 },
    "d": "2016-01-01T00:00:00Z",
  }

  dec := marshaler.NewDecoder("test",marshaler.ConvertTime)

  if err := dec.Decode(src, &dest); err != nil {
    panic(err)
  }
  fmt.Println(dest)
}
```

The `NewDecoder` method takes one or more custom functions which can be used for decoding
fields. In this example, the `ConvertTime` decoder will convert a string into a `time.Time`
structure. All the custom functions provided are:

  * `marshaler.ConvertTime` Converts strings formatted as RFC3339 into `time.Time`. Empty
    strings are converted into zero-time.

repository: djthorpe/go-marshaler

repo_name: djthorpe/go-marshaler


text:
[[src]](https://github.com/ghc/ghc/tree/master/compiler/typecheck/TcTypeable.hs)

(c) The University of Glasgow 2006
(c) The GRASP/AQUA Project, Glasgow University, 1992-1999

### Note: Grand plan for Typeable

The overall plan is this:

1. Generate a binding for each module p:M
   (done in TcTypeable by mkModIdBindings)
       M.$trModule :: GHC.Types.Module
       M.$trModule = Module "p" "M"
   ("tr" is short for "type representation"; see GHC.Types)

   We might want to add the filename too.
   This can be used for the lightweight stack-tracing stuff too

   Record the Name M.$trModule in the tcg_tr_module field of TcGblEnv

2. Generate a binding for every data type declaration T in module M,
       M.$tcT :: GHC.Types.TyCon
       M.$tcT = TyCon ...fingerprint info...
                      $trModule
                      "T"
                      0#
                      kind_rep

### Note: Representing TyCon kinds: KindRep

   We define (in TyCon)

        type TyConRepName = Name

### Note: Handling never-exported TyThings under Backpack

3. Record the TyConRepName in T's TyCon, including for promoted
   data and type constructors, and kinds like * and #.

   The TyConRepName is not an "implicit Id".  It's more like a record
   selector: the TyCon knows its name but you have to go to the
   interface file to find its type, value, etc

4. Solve Typeable constraints.  This is done by a custom Typeable solver,
   currently in TcInteract, that use M.$tcT so solve (Typeable T).

There are many wrinkles:

* The timing of when we produce this bindings is rather important: they must be
  defined after the rest of the module has been typechecked since we need to be
  able to lookup Module and TyCon in the type environment and we may be
  currently compiling GHC.Types (where they are defined).

* GHC.Prim doesn't have any associated object code, so we need to put the
  representations for types defined in this module elsewhere. We chose this
  place to be GHC.Types. TcTypeable.mkPrimTypeableBinds is responsible for
  injecting the bindings for the GHC.Prim representions when compiling
  GHC.Types.

* TyCon.tyConRepModOcc is responsible for determining where to find
  the representation binding for a given type. This is where we handle
  the special case for GHC.Prim.

### Note: Runtime representation of modules and tycons

* The KindReps can unfortunately get quite large. Moreover, the simplifier will
  float out various pieces of them, resulting in numerous top-level bindings.
  Consequently we mark the KindRep bindings as noinline, ensuring that the
  float-outs don't make it into the interface file. This is important since
  there is generally little benefit to inlining KindReps and they would
  otherwise strongly affect compiler performance.

* In general there are lots of things of kind *, * -> *, and * -> * -> *. To
  reduce the number of bindings we need to produce, we generate their KindReps
  once in GHC.Types. These are referred to as "built-in" KindReps below.

* Even though KindReps aren't inlined, this scheme still has more of an effect on
  compilation time than I'd like. This is especially true in the case of
  families of type constructors (e.g. tuples and unboxed sums). The problem is
  particularly bad in the case of sums, since each arity-N tycon brings with it
  N promoted datacons, each with a KindRep whose size also scales with N.
  Consequently we currently simply don't allow sums to be Typeable.

  In general we might consider moving some or all of this generation logic back
  to the solver since the performance hit we take in doing this at
  type-definition time is non-trivial and Typeable isn't very widely used. This
  is discussed in #13261.

# Building top-level binding for $trModule

# Building type-representation bindings

### Note: Representing TyCon kinds: KindRep

One of the operations supported by Typeable is typeRepKind,

    typeRepKind :: TypeRep (a :: k) -> TypeRep k

Implementing this is a bit tricky for poly-kinded types like

    data Proxy (a :: k) :: Type
    -- Proxy :: forall k. k -> Type

The TypeRep encoding of `Proxy Type Int` looks like this:

    $tcProxy :: GHC.Types.TyCon
    $trInt   :: TypeRep Int
    TrType   :: TypeRep Type

    $trProxyType :: TypeRep (Proxy Type :: Type -> Type)
    $trProxyType = TrTyCon $tcProxy
                           [TrType]  -- kind variable instantiation
                           (tyConKind $tcProxy [TrType]) -- The TypeRep of
                                                         -- Type -> Type

    $trProxy :: TypeRep (Proxy Type Int)
    $trProxy = TrApp $trProxyType $trInt TrType

    $tkProxy :: GHC.Types.KindRep
    $tkProxy = KindRepFun (KindRepVar 0)
                          (KindRepTyConApp (KindRepTYPE LiftedRep) [])

Note how $trProxyType cannot use 'TrApp', because TypeRep cannot represent
polymorphic types.  So instead

 * $trProxyType uses 'TrTyCon' to apply Proxy to (the representations)
   of all its kind arguments. We can't represent a tycon that is
   applied to only some of its kind arguments.

 * In $tcProxy, the GHC.Types.TyCon structure for Proxy, we store a
   GHC.Types.KindRep, which represents the polymorphic kind of Proxy
       Proxy :: forall k. k->Type

 * A KindRep is just a recipe that we can instantiate with the
   argument kinds, using Data.Typeable.Internal.tyConKind and
   store in the relevant 'TypeRep' constructor.

   Data.Typeable.Internal.typeRepKind looks up the stored kinds.

 * In a KindRep, the kind variables are represented by 0-indexed
   de Bruijn numbers:

    type KindBndr = Int   -- de Bruijn index

    data KindRep = KindRepTyConApp TyCon [KindRep]
                 | KindRepVar !KindBndr
                 | KindRepApp KindRep KindRep
                 | KindRepFun KindRep KindRep
                 ...

repository: gitter-badger/ghc-compiler-notes

repo_name: gitter-badger/ghc-compiler-notes


text:
![](https://img.shields.io/badge/Microverse-blueviolet)

# To Do list

> To Do List is a website that helps you manage your tasks and projects, You can add Tasks to existing projects, create new projects, delete projects, modify or delete your tasks for a particular project.

![screen](https://user-images.githubusercontent.com/57562869/125509482-060712bf-5482-4058-8706-37bae6d952df.png)

## Live Demo
[See live](https://moise10r.github.io/Todo-task-List/dist/)

## Built With

- Javascript
- CSS
- Html

## Getting Started

**To get the local copy of the project up and running you will need to run the following commands on your terminal:**

`git clone https://github.com/moise10r/Todo-task-List.git`

To install all the available dependecies run:
`npm install`

To run this application locally :
`npm run start:Dev`
And then open your browser on the port 3000

## Authors

👤 NGANULO RUSHANIKA Moise

- GitHub: [@githubhandle](https://github.com/moise10r)
- Twitter: [@twitterhandle](https://twitter.com/MRushanika)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/nganulo-rushanika-mo%C3%AFse-626139197/)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/moise10r/Awesome_Book/issues).

## Show your support

Give a ⭐ if you like this project!❤❤❤

gha_language: JavaScript


text:
# wled-cmd
Simple command line interface for WLED devices

# requirements
There are only 2 tools called by this script:
curl
xmllint
- Fedora: dnf install libxml2
- Ubuntu: apt-get install libxml2-utils

# usage
```
./wled-cmd <IP_ADDRESS> on
./wled-cmd <IP_ADDRESS> brightness 128
./wled-cmd <IP_ADDRESS> cycle (this one cycles through a list of effects in the script)
./wled-cmd <IP_ADDRESS> fx 68
./wled-cmd <IP_ADDRESS> status
./wled-cmd <IP_ADDRESS> off
```

repository: mplinuxgeek/wled-cmd

gha_language: Shell

repo_name: mplinuxgeek/wled-cmd


text:
# vagrant
Vagrantfile for quick deployment of Angel apps into Ubuntu 16.04 VM's.

Find the `angel-dart` box on the Vagrant site:
https://app.vagrantup.com/thosakwe/boxes/angel-dart

## Usage
From the command line:

```bash
vagrant init thosakwe/angel-dart
vagrant up
```

Or, within an existing `Vagrantfile`:

```ruby
Vagrant.configure("2") do |config|
  config.vm.box = "thosakwe/angel-dart"
end
```

## Features
This box includes:
* Dart
* `nginx` - reverse proxies your app, also serves static files
* `systemd` configuration; starts your app as a daemon

Note that no database is included; the choice is yours.
See the `angel-dart-mongodb` and `angel-dart-postgresql` boxes.

repository: angel-dart/vagrant

repo_name: angel-dart/vagrant


text:
# my-rule

## Rule details

❌ Examples of **incorrect** code:
```js
var x = '1.23';
```

## Resources

* [Documentation source](/docs/my-rule.md)

repository: raineorshine/eslint-docgen

repo_name: raineorshine/eslint-docgen


text:
# Pipedrive.ActivityObjectFragment

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**dueDate** | **Date** | The due date of the activity. Format: YYYY-MM-DD | [optional]
**dueTime** | **String** | The due time of the activity in UTC. Format: HH:MM | [optional]
**duration** | **String** | The duration of the activity. Format: HH:MM | [optional]
**dealId** | **Number** | The ID of the deal this activity is associated with | [optional]
**leadId** | **String** | The ID of the lead in the UUID format this activity is associated with | [optional]
**personId** | **Number** | The ID of the person this activity is associated with | [optional]
**projectId** | **Number** | The ID of the project this activity is associated with | [optional]
**orgId** | **Number** | The ID of the organization this activity is associated with | [optional]
**location** | **String** | The address of the activity. Pipedrive will automatically check if the location matches a geo-location on Google maps. | [optional]
**publicDescription** | **String** | Additional details about the activity that is synced to your external calendar. Unlike the note added to the activity, the description is publicly visible to any guests added to the activity. | [optional]

repository: pipedrive/client-nodejs

repo_name: pipedrive/client-nodejs


text:
# AirPodsPro-Motion-Sampler

Code Examples of CMHeadphoneMotionManager in CoreMotion.

## Requirements
 - Xcode: 12.0+
 - iOS  : 14.0+
 - iPhone, iPad
 - AirPods Pro

## How To Build
Open ```AirPodsProMotion.xcodeproj``` on Xcode12 or later, then connect your iPhone or iPad to build it.

## Contents

 |   Infomation View  |  Rotate the Cube
 By Head Motion  | Table scrolling
 By Head Motion  |  Export motion data to CSV |
 | ---- | ---- | ---- | ---- |
 |   ![](README_resources/info.gif)　 |  ![](README_resources/move.gif) 　 | 　![](README_resources/table.gif)　 | 　![](README_resources/export.gif)　 |

- infomation View
Displays the information (```CMDeviceMotion```) obtained from AirPodsPro.

- Rotate the Cube By Head Motion
The cube rotates in sync with the orientation of the face.

- Tabel scrolling By Head Motion
Move the face up and down to scroll the TableView.
We don't use any hands at all.

- Export motion data to CSV
Export the motion data acquired from AirpodsPro as a CSV file.
You can check the data by using a ```file App```.

## Reference
 - [Apple Developer Documentation](https://developer.apple.com/documentation/coremotion/cmheadphonemotionmanager)

## Author
 Yoshio Tsukuda
 - [HP](https://tukuyo.net/)
 - [Twitter](https://twitter.com/tukutuku_tukuyo)

repository: shroominic/AirPodsPro-Motion-Sampler

repo_name: shroominic/AirPodsPro-Motion-Sampler


text:
# Arcade Physics

QICI engine currently uses Arcade as physical system, and made some optimization for better performance.

## Enable Arcade Physics

Arcade Physics has been integrated in QICI editor as a built-in plugin. To enable the plugin, just open PluginManager panel through menu Plugins->PluginManager, and check the Arcade Physics option.
![](images/import_arcade.png)

## RigidBody

Adding a RigidBody component to an object will put its motion under the control of Arcade physics system, such as gravity, collision, drag etc.
Notice: Only UIImage and Sprite can attach RigidBody component currently.
Notice: We made some restrictions in the use of RigidBody, just comply to these two points:
* Rotation set to rigidbody and it's parent node is not allowed.
* Movement applied to rigidbody's parent node is not allowed.

![](images/rigidbody.png)

### mass
The mass of the rigibody, when two rigidbodies collide their mass is used in the calculation to determine the exchange of velocity.

````javascript
    var rigidbody = self.sprite1.getScript("qc.arcade.RigidBody");

    // set mass of the rigidbody
    rigidbody1.mass = 100;
````

### moves
Whether allow the physics system to move this rigidbody.
````javascript
    // allow physics system to control the position of rigidbody
    rigidbody.moves = true;
````

### immovable
Whether this rigidbody will not receive any impacts from other rigidbodies.
````javascript
    rigidbody.immovable = true;
````

### collideWorldBounds
Should the rigidbody collide with the world bounds? A RigidBody can be set to collide against the World bounds automatically and rebound back into the world if this is set to true. Otherwise it will leave the World.

````javascript
    rigidbody.collideWorldBounds = true;
````

### allowGravity
Allow this rigidbody to be influenced by gravity?

### gravity
The local gravity setting of the rigidbody. Defaults to x: 0, y: 0

````javascript
    // set influenced by gravity
    rigidbody.allowGravity = true;

    // set local gravity to (x:0, y:200)
    rigidbody.gravity.x = 0;
    rigidbody.gravity.y = 200;
````

### bounce
The elasticity of the rigidbody when colliding, bounce.x/y = 1 means full rebound, bounce.x/y = 0.5 means 50% rebound velocity.

````javascript
    // 50% rebound when colliding
    rigidbody.bounce.x = 0.5;
    rigidbody.bounce.y = 0.5;
````

### velocity
Velocity of the rigidbody.

### acceleration
The rate of change of the velocity.

### drag
The drag applied to the motion of the rigidbody.

````javascript
    rigidbody.velocity.x = 100;
    rigidbody.velocity.y = 50;

    rigidbody.acceleration.x = 10;
    rigidbody.acceleration.y = 5;

    rigidbody.drag.x = 5;
    rigidbody.drag.y = 5;
````

### allowRotation
Allow this rigidbody to be rotated?

### angularVelocity
The rotation speed of the rigidbody. Measured in radians per second.

### angularAcceleration
The rate of change of the angular velocity.

### angularDrag
The drag applied to the rotation of the rigidbody.

````javascript
    // allow the rigidbody to rotate
    rigidbody.allowRotation = true;

    // set angular speed
    rigidbody.angularVelocity = 20;

    // set angular acceleration when rotation
    rigidbody.angularAcceleration = 5;

    // set drag when rotation
    rigidbody.angularDrag = 1;
````

### checkCollision
Which directions collision is processed for this rigidbody.
````javascript
    rigidbody.checkCollision.up = true;
    rigidbody.checkCollision.down = true;
    rigidbody.checkCollision.left = true;
    rigidbody.checkCollision.right = true;
````

### ccdIterations
Number of discrete points for continuous collision detection, used to prevent fast moving objects from passing through other objects without detecting collisions. Higher ccdIterations value means better physical collision, however the greater performance overhead.

## Video
<video controls="controls" src="../video/plugin_arcade.mp4"></video>

## API
[RigidBody API](http://docs.qiciengine.com/api/officialplugins/arcade/RigidBody.html)

## Demo
[AccelerateToPoint](http://engine.qiciengine.com/demo/ArcadePhysics/arcade_AccelerateToPoint/index.html)
[AngleBetween](http://engine.qiciengine.com/demo/ArcadePhysics/arcade_AngleBetween/index.html)
[AngularAcceleration](http://engine.qiciengine.com/demo/ArcadePhysics/arcade_AngularAcceleration/index.html)
[AngularVelocity](http://engine.qiciengine.com/demo/ArcadePhysics/arcade_AngularVelocity/index.html)
[AsteroidsMovement](http://engine.qiciengine.com/demo/ArcadePhysics/arcade_AsteroidsMovement/index.html)
[BodyEnable](http://engine.qiciengine.com/demo/ArcadePhysics/arcade_BodyEnable/index.html)
[BodyScale](http://engine.qiciengine.com/demo/ArcadePhysics/arcade_BodyScale/index.html)
[BounceAcceleration](http://engine.qiciengine.com/demo/ArcadePhysics/arcade_BounceAcceleration/index.html)
[BounceKnock](http://engine.qiciengine.com/demo/ArcadePhysics/arcade_BounceKnock/index.html)
[OnCallback](http://engine.qiciengine.com/demo/ArcadePhysics/arcade_OnCallback/index.html)

repository: tangjiemian/qiciengine-documentation

repo_name: tangjiemian/qiciengine-documentation


text:
---
title: Starlette
description: A Starlette app with a simple JSON response
tags:
  - python
  - starlette
---

# Python Starlette Example

This is a [Starlette](https://www.starlette.io/) app that serves a simple JSON response.

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new?template=https%3A%2F%2Fgithub.com%2Frailwayapp%2Fexamples%2Ftree%2Fmaster%2Fexamples%2Fstarlette)

## ✨ Features

- Python
- Starlette

## 💁♀ How to use

- Build the docker image `docker build -t railway .`
- Start the container `docker run -d --name railway-test -p 80:80 railway`
- For auto restart in development `docker run -d -p 80:80 -v $(pwd):/app railway /start-reload.sh`

Note: Advance users may refer to [this](https://github.com/tiangolo/uvicorn-gunicorn-starlette-docker)

repository: PantheraRed/starters

repo_name: PantheraRed/starters


text:
Script scheduler

A project based on agenda to run periodic and triggered jobs.
Motivation for the project was to create something that would allow programmers full scripting control while the only thing that needs to be added is an extra typescript alghoritm to the jobs folder (not completely true, the file needs to be added to ioc config).

Features:
- Typescript (Typings, Async/Await etc.)
- Code quality check with TSLint
- Dependency injection with InversifyJS
- Unit testing / Code coverage with Mocha,Chai and Istanbul
- Visual Studio Code tasks and debugging

I personally use this project because I like to have more control then I have with OSIsoft Asset Framework Analytics.
To be able to mimic some of the functionality I use agenda to be able to run "periodic analyses". I also added the ability to perform "triggered analyses" with the use of a WebSocket channel.
For data access I added a typescript PIWebAPI client with typings (2016R2+) to the project. Although this can be used directly, an injectable service was added handling some basic functions.

Requirements:
Current version of Node.js (https://nodejs.org/en/) and make sure you have latest version of npm and add node.js folder to System Variables Path so that you can execute "node" from command prompt (for example C:\Program Files\nodejs\)
Current version of MongoDB (https://www.mongodb.com/download-center#community) and add bin directory to System Variable Path so that you can execute "mongod" from command prompt (for example "C:\Program Files\MongoDB\Server\3.4\bin")
Current version of Visual Studio Code (https://code.visualstudio.com/)

Installation:
Download project from github.
Open folder in Visual Studio Code.
Ctrl+ to open integrated terminal
Execute "npm install" to install all required node modules in node_modules folder
Execute "npm run-script build" to build the project or Ctrl + Shift + B
Execute "mongod" in one terminal
Execute "npm start" in other terminal or click on launch debugger and set breakpoints F5

ToDo readme file:

[![Build Status](https://travis-ci.org/{{github-user-name}}/{{github-app-name}}.svg?branch=master)](https://travis-ci.org/{{github-user-name}}/{{github-app-name}}.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/{{github-user-name}}/{{github-app-name}}/badge.svg?branch=master)](https://coveralls.io/github/{{github-user-name}}/{{github-app-name}}?branch=master)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)

## Setting travis and coveralls badges
1. Sign in to [travis](https://travis-ci.org/) and activate the build for your project.
2. Sign in to [coveralls](https://coveralls.io/) and activate the build for your project.
3. Replace {{github-user-name}}/{{github-app-name}} with your repo details like: "ospatil/generator-node-typescript".

repository: DaveGold/ScriptScheduler

repo_name: DaveGold/ScriptScheduler


text:
*"You can't have a negative base."* Well, why not? Let's analyse what we mean by base. Given a base-**r** system, the column **p** places from the right (starting from zero), which contains the digit **n**, has the value **n**×**r**^(**p**). The binary columns 1, 2, 4, 8, 16, ... is the same as 2^(0), 2^(1), 2^(2), 2^(3), 2^(4). Nothing stops you from using a negative base with this system, except perhaps the understanding of the concept and practicality of its usage.

Let's imagine base -10 (negadecimal). Here, the place values for each column are now 1, -10, 100, -1000 and so on. Therefore, the negadecimal number 7211:

    -Thousands    Hundreds    -Tens    Units
        7            2           1       1
     (-7000)   +   (200)   +   (-10) +  (1) = -6809

Is equivalent to -6809 in standard decimal.

Your challenge is, given a negative base and a value, convert it to the representation in the corresponding positive base, and vice versa.

# Input and Output Description

## Challenge Input

You will accept two numbers: **r** and **n**. **n** is a number in base **r**. For example:

    -4 1302201

This input means 1302201 in base -4.

## Challenge Output

Print the value of the input number in the corresponding opposite-signed base, for example, for the input above:

    32201

As 1302201 in base -4 equals 32201 in base 4.

# Sample Inputs and Outputs

Input: `-10 12345678` (convert from base -10 to base 10)
Output: `-8264462`

Input:`-7 4021553`
Output: `4016423`

Similarly, if the given base is *positive*, convert back to the corresponding negative base.

Input: `7 4016423` (convert from base 7 to base -7)
Output: `4021553`

Input: `6 -3014515`
Output: `13155121`

## Extension (Hard)

Extend your program to support imaginary bases. Imaginary bases can represent any complex number. The principle is the same; for example, base 4*i* can be used to represent complex numbers much the same way as a cartesian representation like a+b*i*.
If you have forgotten the principles of imaginary numbers, re-read the challenge description for [The Complex Number](/r/dailyprogrammer/comments/2nr6c4/) - you might want to re-use some code from that challenge anyway.

# Notes

Try and do both the main challenge and extension without looking for the conversion algorithms on the internet. This is part of the challenge!

path: /Intermediate Challenges/Challenge #198 [Intermediate] Base-Negative Numbers/challenge_text.md

gha_language: Python


text:
# retry

[![Build Status](https://travis-ci.com/martinezdelariva/retry.svg?branch=master)](https://travis-ci.com/martinezdelariva/retry)

The missing command line tool to execute the same command several times.

```bash
$ retry --max 4 curl --head --url https://www.google.com
      RealTime SystemTime   UserTime    Success      Error
  1  179.184ms   11.438ms   29.477ms       true
  2  170.156ms    9.122ms   28.621ms       true
  3   170.78ms    8.465ms   27.948ms       true
  4  166.297ms    8.264ms   24.533ms       true
```

## Install

##### Use executable (recommended)

Download at [releases](https://github.com/martinezdelariva/retry/releases)

##### Homebrew (macOS)

To add the tap and install in one command:

`brew install martinezdelariva/retry/retry`

##### Compile on your own

1. Download or clone the repo.
2. Build executable `make build`

Executable is placed at `bin/retry`

## Usage

```bash
$ retry [options] <command> [args...]
```

Options:

- `--max 1`: maximum number of command execution.
- `--sleep 2s`: sleep time between single execution.
- `--timeout 15s`: limits the time duration of total retries.
- `--concurrency 1`: maximum number of concurrent executions.

Type `retry --help` for a complete description and default values.

## TODO

- Exponential back off between execution.
- Stop execution of first success.

repository: martinezdelariva/retry

gha_language: Go

repo_name: martinezdelariva/retry