open-index/open-npm huggingface dataset:
npm package: @pddstudio/docker-manifest
Description: Utilitty module for processing manifest.yml files
Author: Patrick Jung
Latest version: 0.0.8

# `docker-manifest`

> A small cli tool for `[automated]` handling of container stacks & multiple docker image publication.

## Introduction

The main purpose *(but not limited to)* of this tool is to minimize the workload for setting up automated multi-image build jobs on CI environments.

### Other Possibilities

Basically this tool serves functionality for the following purposes:

- pulling docker images from remote registries
- building docker images
- re-tagging images from remote registries.
- pushing images to remote registries.

No matter which problems this tool is going to solve - everything is done with a single & simple `manifest.yml` file.

Everything can be used either local or on CI environments.

## Installing `docker-manifest`

Make sure your environment satisfies the following requirements in order to install and use this tool:

- `A [node](https://nodejs.com) (v8 or greater) binary available in  your path`
- `A package manager for node, i.e[npm](https://npmjs.org/) or [yarn](yarnpkg.org)`
- `A valid docker[https://docker.com/] binary in your path`


### !!! ATTENTION !!!

This tool is **NOT** stable/ready for public usage yet!

You may *NOT* use this tool until reaching version `1.0.0`!

Use at your own risk!

---

Once all pre-requirements are met, you can install `docker-manifest` via:

```sh
# when using npm
npm i -g @pddstudio/docker-manifest

# when using yarn
yarn global add @pddstudio/docker-manifest

```

## Setup & Usage

To get started, create a `manifest.yml` file in your environment and provide *(at least)* a `name` for your project/stack and the basic actions for your image(s).

You can read the [Documentation](./ROADMAP.md) or the [Getting Started Guide](./ROADMAP.md) to get up and running.

For more inspiration you can dig through the collection of sample usages in the [examples](./examples/README.md) folder.

## Getting Help

```
// TODO
```

## Contributing

```
// TODO
```

## License

(c) 2018 - Patrick Jung <patrick.pddstudio@gmail.com> - [MIT License](./LICENSE)
npm package: @pddstudio/shelljs-plugin-bash-exec
Description: Add a .bashExec method to ShellJS
Author: Patrick Jung
Latest version: 0.0.1

# shelljs-plugin-inspect

[![Travis](https://img.shields.io/travis/nfischer/shelljs-plugin-inspect/master.svg?style=flat-square&label=unix)](https://travis-ci.org/nfischer/shelljs-plugin-inspect)
[![AppVeyor](https://img.shields.io/appveyor/ci/shelljs/shelljs-plugin-inspect/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/shelljs/shelljs-plugin-inspect/branch/master)
[![npm](https://img.shields.io/npm/v/shelljs-plugin-inspect.svg?style=flat-square)](https://www.npmjs.com/package/shelljs-plugin-inspect)
[![shelljs-plugin](https://img.shields.io/badge/shelljs-plugin-brightgreen.svg?style=flat-square)](https://github.com/shelljs/shelljs/wiki/Using-ShellJS-Plugins)

A [ShellJS](https://github.com/shelljs/shelljs) plugin to add `.inspect()`
methods for REPL use.

## Installation

```bash
$ npm install --save shelljs
$ npm install --save shelljs-plugin-inspect
```

## Usage

Use this plugin in a Node REPL like so:

Without this plugin:

```javascript
> shell.cat('file1.txt'); // Yuck!
{ [String: 'These are the file contents\nAnd they\'re printed out nicely!\n']
  stdout:'These are the file contents\nAnd they\'re printed out nicely!\n',
  stderr: null,
  code: 0,
  cat: [Function: bound ],
  head: [Function: bound ],
  tail: [Function: bound ],
  to: [Function: bound ],
  toEnd: [Function: bound ],
  sed: [Function: bound ],
  sort: [Function: bound ],
  uniq: [Function: bound ],
  grep: [Function: bound ],
  exec: [Function: bound ] }
```

After:

```
> require('shelljs-plugin-inspect');
> shell.cat('file.txt');
These are the file contents
And they're printed out nicely!

> shell.ls();
file.txt
otherfile.txt
...

> shell.pwd();
path/to/current/directory
```

## Writing ShellJS plugins

If you're interested in taking a look at the current state of the ShellJS plugin
API, take a look at [index.js](index.js). This has helpful comments explaining
the necessary boilerplate for writing a plugin. For an example usage of the
plugin, take a look at [test/test.js](test/test.js).
npm package: @pddstudio/webhook-events-gitlab
Description: Updating Readme once reaching a state to be ready for public usage. Yet only a WIP.
Author: Patrick Jung
Latest version: 0.0.1

## Webhook Events: GitLab

Updating Readme once reaching a state to be ready for public usage.
Yet only a WIP.

### License

```
 (c) 2018 MIT Licensed by Patrick Jung <patrick.pddstudio@gmail.com>
```
npm package: @pdehne/mithril-scroll-restoration
Description: Scroll restoration for MithrilJS
Latest version: 0.1.3

# mithril-scroll-restoration

Scroll restoration for MithrilJS.

## Integration

Install the npm package:

```
$ npm install @pdehne/mithril-scroll-restoration
```

In your top level JavaScript file import mithril-scroll-restoration and initialize it:

```
import { initScrollRestoration, ScrollRestoration } from "@pdehne/mithril-scroll-restoration";
...
initScrollRestoration(m);
m.route(document.body, "/", Routes);
```

Wrap your top level component in the provided ScrollRestoration component, for example:

```
const Layout = {
  view: vnode => m(ScrollRestoration, [
      m(NavBar),
      vnode.children,
      m(Footer)
  ])
}
```

## Example

See example.html / example.js / example.css for a working example. To run the example clone this repository, open a terminal, cd to the top level folder of the repository and run `npm install` followed by `npm start`.
npm package: @pdenchev/react-native-audio-record
Description: Audio record buffers for React Native
Author: Vinay
Latest version: 0.1.4


# react-native-audio-record
Audio record buffers for iOS and Android.

## Install
```
yarn add react-native-audio-record
react-native link react-native-audio-record
```

## Usage
```js
import AudioRecord from 'react-native-audio-record';

const options = {
  sampleRate: 16000,  // default 44100
  channels: 1,        // 1 or 2, default 1
  bitsPerSample: 16,  // 8 or 16, default 16
  audioSource: 6,     // android only (see below)
  wavFile: 'test.wav' // default 'audio.wav'
};

AudioRecord.init(options);

AudioRecord.start();

AudioRecord.stop();
// or to get the wav file path
audioFile = await AudioRecord.stop();

AudioRecord.on('data', data => {
  // base64-encoded audio data chunks
});
```

For `audioSource` use one of the constant values from [here](https://developer.android.com/reference/android/media/MediaRecorder.AudioSource). Default value is 6 (`VOICE_RECOGNITION`).

Use 3rd-party module like [buffer](https://www.npmjs.com/package/buffer) to decode base64 data. Example -
```js
// yarn add buffer
import { Buffer } from 'buffer';
chunk = Buffer.from(data, 'base64');
```
Don't forget to add microphone permission in your app.

## Example
`Example` folder contain sample apps for recording (using this module) and playback (using 3rd party modules)
- `App1.js` - uses [react-native-sound](https://github.com/zmxv/react-native-sound) for playback and pause
- `App2.js` - uses [react-native-video](https://github.com/react-native-community/react-native-video) for playback, pause and report progress
- `App3.js` - uses [react-native-audio-player-recorder](https://github.com/Shinetechchina/react-native-audio-player-recorder) for playback, pause and report progress

## Credits/References
I'm not a native app developer. Most of the code is taken from online resources.
- iOS [Audio Queues](https://developer.apple.com/library/content/documentation/MusicAudio/Conceptual/AudioQueueProgrammingGuide)
- Android [AudioRecord](https://developer.android.com/reference/android/media/AudioRecord.html)
- [cordova-plugin-audioinput](https://github.com/edimuj/cordova-plugin-audioinput)
- [react-native-recording](https://github.com/qiuxiang/react-native-recording)
- [SpeakHere](https://github.com/shaojiankui/SpeakHere)
- [ringdroid](https://github.com/google/ringdroid)