text:
# Warning! This is fork from original addon for make it usable.

# Transmission addon for Hass.io

The torrent client for Hass.io with OpenVPN support.

![Logo](transmission/logo.png?raw=true "Logo")

## Installation

The installation of this add-on is pretty straightforward and not different in
comparison to installing any other Hass.io add-on.

1. Add https://github.com/OXOTH1K/hassio-addon-transmission.git to your Hass.io instance as a repository.
1. Install the "Transmission" add-on.
1. Start the "Transmission" add-on.
1. Check the logs of the "Tranmission" to see if everything went well.
1. Open the web-ui

## Configuration

**Note**: _Remember to restart the add-on when the configuration is changed._

Transmission add-on configuration:

```json
{
  "log_level": "info",
  "authentication_required": false,
  "username": "",
  "password": "",
  "openvpn_enabled": false,
  "openvpn_config": "",
  "openvpn_username": "",
  "openvpn_password": ""
}
```

### Option: `log_level`

The `log_level` option controls the level of log output by the addon and can
be changed to be more or less verbose, which might be useful when you are
dealing with an unknown issue. Possible values are:

- `trace`: Show every detail, like all called internal functions.
- `debug`: Shows detailed debug information.
- `info`: Normal (usually) interesting events.
- `warning`: Exceptional occurrences that are not errors.
- `error`:  Runtime errors that do not require immediate action.
- `fatal`: Something went terribly wrong. Add-on becomes unusable.

Please note that each level automatically includes log messages from a
more severe level, e.g., `debug` also shows `info` messages. By default,
the `log_level` is set to `info`, which is the recommended setting unless
you are troubleshooting.

### Option: `authentication_required`

This option can be used to password protect the web-ui.

### Option: `username`

The username for authentication.

### Option: `password`

The password for authentication.

### Option: `openvpn_enabled`

Enable OpenVPN to anonymize your torrent activity.

### Option: `openvpn_config`

The name of .ovpn file. You should put it in `/config/openvpn`.

### Option: `openvpn_username`

Your OpenVPN username.

### Option: `openvpn_password`

Your OpenVPN password.

## Embedding into Home Assistant

This addon supports ingress, thus it can simply be integrated into Home Assistant without having to forward any additional ports.
Here is an example configuration:

```yaml
transmission:
  host: f6fddefc-transmission
  monitored_conditions:
    - download_speed
    - upload_speed
    - active_torrents
```

If you want, you can add an icon to the sidebar by toggling *Show in Sidebar* as well.

## Changelog & Releases

The format of the log is based on
[Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

Releases are based on [Semantic Versioning](http://semver.org/spec/v2.0.0.html), and use the format
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
based on the following:

- ``MAJOR``: Incompatible or major changes.
- ``MINOR``: Backwards-compatible new features and enhancements.
- ``PATCH``: Backwards-compatible bugfixes and package updates.

## License

MIT License

Copyright (c) 2018 Pierrick Rouxel

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.


text:
{% data src="fcq.clean.json" %}
{% enddata %}

# Report

As a class, we brainstormed and came up with a long list of further questions we
can ask based on the FCQ data. Out of these questions, our team chose to tackle on
the following questions. Each member on our team is reponsible for one question

## What is the ranking of Departments within the College of Engineering & Applied Sciences, based on average course rating and average instructor rating? (by Kevin)

{% lodash %}

/* First filter by college, then group by department */
var departments =
_.groupBy(
	_.filter(data, {'CrsPBAColl': 'EN'}),
	'CrsPBADept')

/* Then collect course and instructor ratings for each depatment, ignoring null ratings. */
var course_ratings =
_.mapValues(departments,
	function(d) {
		return _.filter(
			_.pluck(d, 'AvgCourse'),
			function(rating) {return rating != null}
		)
	}
)

var instructor_ratings =
_.mapValues(departments,
	function(d) {
		return _.filter(
			_.pluck(d, 'AvgInstructor'),
			function(rating) {return rating != null}
		)
	}
)

/* Next, calculate average rating per department */
var avg_course_ratings =
_.mapValues(course_ratings,
	function(c) {return _.sum(c)/c.length}
)
var avg_instructor_ratings =
_.mapValues(instructor_ratings,
	function(c) {return _.sum(c)/c.length}
)

/* Finally convert object to array type and sort by ratings */
var sorted_avg_course_ratings =
_.sortByOrder(
	_.pairs(avg_course_ratings),
	function(c) {return c[1]},
	'desc'
)
var sorted_avg_instructor_ratings =
_.sortByOrder(
	_.pairs(avg_instructor_ratings),
	function(c) {return c[1]},
	'desc'
)

return [sorted_avg_course_ratings, sorted_avg_instructor_ratings]

{% endlodash %}

Average Course Ratings

{% for course in result[0] %}

        {{course[0]}}
        {{course[1]}}

{% endfor %}

Average Instructor Ratings

{% for course in result[1] %}

        {{course[0]}}
        {{course[1]}}

{% endfor %}

## How does retention compare across departments? (by Zach)

{% lodash %}

/* Group by department, then calculate the average withdrawel rate */
var grps = _.groupBy(data, 'CrsPBADept')
var result =_.mapValues(grps, function(d){
    return _.sum(_.pluck(d, 'PCT.WDRAW'))/d.length
})

/* Convert object to array and sort by withdrawal rate */
result = _.sortByOrder(_.pairs(result),function(d){return d[1]},'desc')
return result

{% endlodash %}

Average Course Withdrawal Rate

{% for department in result %}

        {{department[0]}}
        {{department[1]}}

{% endfor %}

## What is the distribution of instructor type (e.g., Lecturer, Assistant Professor, Instructor) across departments? (by Karen)

{% lodash %}
/* First group by department */
var departments = _.groupBy(data, 'CrsPBADept')

/* Then collect titles for all classes in each department */
var titles = _.mapValues(departments, function(d) {
	return _.pluck(_.flatten(_.pluck(d, 'Instructors')), 'title')
})

/* Finally, compute length for each title */
var grps = _.mapValues(titles, function(d) {
	return _.mapValues(_.groupBy(d, function(title) {return title}), 'length')
})

return grps
{% endlodash %}

{% for dept, titles in result %}

{{dept}}

	{% for title, count in titles %}

        {{title}}
        {{count}}

	{% endfor %}

{% endfor %}

## What class has the highest GPA with the least amount of time spent each week? (by John)

{% lodash %}

/* First, extract all courses with the easiest work load */
var courses = _.groupBy(data, 'Workload.Hrs_Wk')['0-3']

/* Then, find those which have a 4.0 grade, remove duplicates and sort. */
return easy_As = _.unique(_.pluck(_.filter(courses, {'AVG_GRD': 4.0}), 'CourseTitle')).sort()

{% endlodash %}

Easy A Courses

{% for course in result %}

        {{course}}

{% endfor %}

## Which course level has the lowest retention? (by Andrew)

{% lodash %}

/* Group by level, then calculate average course withdrawal rate for each level */
var grps = _.groupBy(data, 'Level')
var result =_.mapValues(grps, function(d){
    return _.sum(_.pluck(d, 'PCT.WDRAW'))/d.length
})

/* Convert object to array and sort by withdrawal rate */
result = _.sortByOrder(_.pairs(result),function(d){return d[1]},'desc')
return result

{% endlodash %}

Average Course Withdrawal Rate

{% for level in result %}

        {{level[0]}}
        {{level[1]}}

{% endfor %}

license: MIT

repository: kjblakemore/book

branch_name: refs/heads/master

extension: md

license_type: permissive

repo_name: kjblakemore/book


text:
# fuzz-js
fuzz-js is a typo tolerant fuzzy search that sorts strings based on their edit distance.
Check out a live demo along with an explanation on how it works here!
https://david-wu.github.io/assets/fuzz-js

![](fuzzDemoSmall.gif)

## Setup
 `npm install --save fuzz-js`

## Usage
```
import { Fuzz } from 'fuzz-js';

const users = [
  { name: 'Allen' },
  { name: 'Maggie' },
  { name: 'Margret' },
  ...
];

Fuzz.filter(users, 'mggi');
  // -> [ { name: "Maggie" } ]

```

## Advanced Usage
Fuzz.search allows passing in options that configure the matching behavior
This allows for custom styled strings, match scores, and subject keys
`Fuzz.search(inputData: any[], searchQuery: string, options: SearchOptions);`

Here's the full interface for the SearchOptions.
```
interface SearchOptions {

    // The keys within your objects to fuzzy search against
    // The default behavior is to search all keys
    subjectKeys: string[] = [];

    // Case sensitive when trying to match
    isCaseSensitive: boolean = false;

    // The lowest score to filter.
    // The scale scale is 0 to 1 (0 being a complete mismatch)
    filterThreshold: number = 0.4;

    // Returns all results, useful if you're just interested in the score
    // Equivalent to "filterThreshold = 0"
    skipFilter: boolean = false;

    // Returns results without sorting them first
    skipSort: boolean = false;

    // The styled string will look something like this "here is some <b>matched</b> text"
    // These determine the tags that surround the matched text
    startDecorator: string = '<b>';
    endDecorator: string = '</b>';
  }
```

Here's an example that only searches the "occupation" key, and changes the default string decorators to italics.

```
import { Fuzz } from 'fuzz-js';

const users = [
  { name: 'Allen', occupation: 'therapist' },
  { name: 'Maggie', occupation: 'musician' },
  { name: 'Margret', occupation: 'magician' },
];
const options = {
  subjectKeys: ['occupation'],
  startDecorator: '<i>',
  endDecorator: '</i>',
};
const results = Fuzz.search(users, 'maggi', options);
  /**
   *
   *  [
   *    {
   *      "original": { "name": "Margret", "occupation": "magician" },
   *      "key": "occupation",
   *      "subject": "magician",
   *      "query": "maggi",
   *      "editDistance": 108,
   *      "score": 0.7874015748031495,
   *      "matchRanges": [[0, 3]],
   *      "styledString": "<i>magi</i>cian"
   *    }
   *  ]
   */
```

## Feedback
If you find a bug, or would like a feature, please feel free to open a [github issue](https://github.com/david-wu/fuzz/issues)

repository: david-wu/fuzz

gha_language: TypeScript

gha_license_id: MIT

repo_name: david-wu/fuzz


text:
---
title: Brainhack Pittsburgh
event: Brainhack Pittsburgh
event_url: https://pitt-brainhack.github.io/DeBurghing2020/

location: Somewhere on the planet
address:
  street:
  city:
  region:
  postcode:
  country:

summary: "The Pittsburgh BrianHack with an exciting talks and tutorials on machine learning, deconfounding and tutorials on HPC!"
abstract: " "

# Talk start and end times.
#   End time can optionally be hidden by prefixing the line with `#`.
date: "2020-11-30T13:00:00Z"
date_end: "2020-12-13T15:00:00Z"
all_day: true

# Schedule page publish date (NOT event date).
publishDate: "2020-10-01T00:00:00Z"

authors: []
tags: []

# Is this a featured talk? (true/false)
featured: false

image:
  caption: 'Image credit: [**Brainhack Pittsburgh**]( https://pitt-brainhack.github.io/DeBurghing2020/)'
  focal_point: center

links:
- icon: globe
  icon_pack: fas
  name: Website
  url:  https://pitt-brainhack.github.io/DeBurghing2020/
- icon: twitter
  icon_pack: fab
  name: Follow
  url:  https://twitter.com/DeBurghing

- icon: mattermost
  icon_pack: custom
  name: Mattermost Channel
  url: https://mattermost.brainhack.org/brainhack/channels/brainhack-pitt

# Projects (optional).
#   Associate this post with one or more of your projects.
#   Simply enter your project's folder or file name without extension.
#   E.g. `projects = ["internal-project"]` references `content/project/deep-learning/index.md`.
#   Otherwise, set `projects = []`.
projects:
# - project_84

# Enable math on this page?
math: true
---
[The Open MINDS Lab](openmindslab.com)) @ Pitt organizes an amazing and week long Pittsburgh BrianHack event which includes
exciting talks and tutorials on machine learning, deconfounding and tutorials on HPC!
Join our event by filling our
[registration form](https://docs.google.com/forms/d/e/1FAIpQLSeA0jMyn3OU_x_ezRR7-eaoxV6YvehpbEAD3V5PZoeWD7zlsw/viewform?usp=send_form)


text:
# A SchemaFW Case Study

The Schema Framework makes it easy to develop a basic CRUD (**C**reate, **R**ead,
**U**pdate, and **D**elete) application, and not much more difficult to extend
the basics.

This case study is intended to introduce you to how the CRUD interactions are
prepared.  The interactions will be presented in order of increasing dependency,
with the first **r**ead interaction being almost completely self-contained,
and the following interactions making provisions for actions available in the
context of the interaction.

The interactions will work with a single table, _ContactList_.  The table
definition for _ContactList_ is as follows:

~~~sql
SET storage_engine=InnoDB;
CREATE TABLE IF NOT EXISTS ContactList
(
   id    INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
   fname VARCHAR(32),
   lname VARCHAR(32),
   phone VARCHAR(25)
);
~~~

The final section contains continguous listings of the MySQL table definitions,
the procedures code, and the SRM file.  Use these listings as boilerplate for
new applications.

- [A Read Interaction](CSReadInteraction.md)
- [A List Interaction](CSListInteraction.md)
- [A Create Interaction](CSCreateInteraction.md)
- [An Update Interaction](CSUpdateInteraction.md)
- [A Delete Interaction](CSDeleteInteraction.md)

Go to [L-CRUD Files Listings](LCRUDInteractions.md) to see the entire application.

repository: venkatarajasekhar/schemafw

repo_name: venkatarajasekhar/schemafw


text:
---
title: "EV7: Day 5: Sundsvall to Hassela"
excerpt: "50 km - 620 hm"
categories:
  - EuroVelo7
tags:
  - Sweden
  - Höga Kusten
  - Vindskydd
---
We did not get much sleep last night... Our vindskydd roof was leaking and the strong wind blew the rain right into our shelter. Thus our tent was wet in the morning.
Furthermore, a couple of teenagers who went for a midnight swim in the rain kept us awake.
So we were not very excited about cycling in the rain. Even more so since we knew that we were now about leave the coast for good and the next considerable village - Hassela - was 50 km and about 600 hm away.
However, it had stipped raining and the weather prognosis promised only little more rain and even some sunshine for the afternoon.

As we reached Hassela, we were soaked, tired and hungry. Therefore we decided to stay in the local hostel (Vandrarhem). It's a very nice place that we happen to have all to ourselves. We were able to do or laundry and dry our stuff in a special drying wardrobe thing.
We did get to see the sun later. But given the violent rain showers throughout afternoon, it was a wise decision to stay in...

## Photos

{% include photos day="5" no="3" %}

## Route

{% include komoot id="85647098" %}


text:
---
layout: post
title: Updated HPE Reference Configuration for Docker CaaS on HPE Synergy
author: gabrielmcg
---

Vesrsion 2 of the HPE Reference Configuration for Docker Containers as a Service on HPE Synergy Composable Infrastructure
has just been published.

See <http://h20195.www2.hpe.com/V2/GetDocument.aspx?docname=a00047301enw>

Version 2.0 of the solution provides support for Kubernetes via Docker EE 2.0, while monitoring of Kubernetes clusters is
provided by updated versions of Splunk and Sysdig. For more details on what is new in this release, see the release notes
at <https://github.com/HewlettPackard/Docker-Synergy/blob/master/ops/ReleaseNotes20.md>.

More Reference Architectures and Reference Configurations can be found in the [RA Library](http://www.hpe.com/info/ra)

repository: gabrielmcg/Docker-Synergy

repo_name: gabrielmcg/Docker-Synergy


text:
# cri-o Usage Transfer

This document outlines useful information for ops and dev transfer as it relates to infrastructure that utilizes cri-o.

## Operational Transfer

## Abstract

The `crio` daemon is intended to provide the [CRI](https://github.com/kubernetes/community/blob/master/contributors/devel/container-runtime-interface.md) socket needed for Kubernetes to use for automating deployment, scaling, and management of containerized applications (See the document for [configuring kubernetes to use cri-o](./kubernetes.md) for more information on that).
Therefore the `crioctl` command line is a client that interfaces to the same grpc socket as the kubernetes daemon would, for talking to the `crio` daemon.
In many ways `crioctl` is only as feature rich as the Kubernetes CRI requires.
There are additional tools e.g. `kpod` and [`buildah`](https://github.com/projectatomic/buildah) that provide a feature rich set of commands for all operational needs in a Kubernetes environment.

## System Tools

Many traditional tools will still be useful, such as `pstree`, `nsenter` and `lsns`.
As well as some systemd helpers like `systemd-cgls` and `systemd-cgtop` are still just as applicable.

## Equivalents

For many troubleshooting and information collection steps, there may be an existing pattern.
Following provides equivalent with cri-o tools for gathering information or jumping into containers, for operational use.

| Existing Step | CRI-O (and friends) |
| :---: | :---: |
| `docker exec` | [`crioctl ctr exec`](./docs/crio.8.md) |
| `docker info` | [`kpod info`](./docs/kpod-info.1.md)  |
| `docker inspect` | [`kpod inspect`](./docs/kpod-inspect.1.md)       |
| `docker logs` | [`kpod logs`](./docs/kpod-logs.1.md)                 |
| `docker ps` | [`crioctl ctr list`](./docs/crio.8.md) or [`runc list`](https://github.com/opencontainers/runc/blob/master/man/runc-list.8.md) |
| `docker stats` | [`kpod stats`](./docs/kpod-stats.1.md) or `crioctl ctr status`|

If you were already using steps like `kubectl exec` (or `oc exec` on OpenShift), they will continue to function the same way.

## Development Transfer

There are other equivalents for these tools

| Existing Step | CRI-O (and friends) |
| :---: | :---: |
| `docker build`  | [`buildah bud`](https://github.com/projectatomic/buildah/blob/master/docs/buildah-bud.md) |
| `docker cp`     | [`kpod mount`](./docs/kpod-cp.1.md)       |
| `docker diff`   | [`kpod diff`](./docs/kpod-diff.1.md)      |
| `docker export` | [`kpod export`](./docs/kpod-export.1.md)  |
| `docker history`| [`kpod history`](./docs/kpod-history.1.md)|
| `docker images` | [`kpod images`](./docs/kpod-images.1.md)  |
| `docker load`   | [`kpod load`](./docs/kpod-load.1.md)      |
| `docker ps`     | [`kpod ps`](./docs/kpod-ps.1.md)          |
| `docker pull`   | [`kpod pull`](./docs/kpod-pull.1.md)      |
| `docker push`   | [`kpod push`](./docs/kpod-push.1.md)      |
| `docker rename` | [`kpod rename`](./docs/kpod-rename.1.md)  |
| `docker rm`     | [`kpod rm`](./docs/kpod-rm.1.md)          |
| `docker rmi`    | [`kpod rmi`](./docs/kpod-rmi.1.md)        |
| `docker save`   | [`kpod save`](./docs/kpod-save.1.md)      |
| `docker tag`    | [`kpod tag`](./docs/kpod-tag.1.md)        |
| `docker version`| [`kpod version`](./docs/kpod-version.1.md)|

repository: radanalyticsio/oshinko-cli

gha_language: Go

repo_name: radanalyticsio/oshinko-cli


text:
# VCard
A basic card component that offers 2 slots to use:
1. Card Body
2. Card Footer

```html
<v-card heading="Card Header">
 <div slot="body">Card Body<p>Some content for the body you your card</p></div>
 <div slot="footer">Card Footer</div>
</v-card>
```

## Props

- `heading` ***String***

  The text for the heading

## Slots
- `body`

  Use this slot to for the card body, which is the middle area

- `footer`

  Use this slot to for the card footer

repository: davidroyer/vuedocs-boilerplate

repo_name: davidroyer/vuedocs-boilerplate


text:
# C++ Streams

## What this repo is

In this repo I tried to copy the functionality of Java's streams. Mostly for my own purposes.

## Note

Since I wrote it for my own purposes, it's basically a dumbed down version of what Java has and this doesn't use lazy evaluation like Java's so it's probably a lot slower.
Other than these, I tried keeping it similar to Java's.

## stream_stdfunction

Behaves exactly the same as stream.hpp but uses `std::function` objects as parameters instead of function pointers. You can't use both in the same project because I named the two classes the same, however this shouldn't cause any problems. I don't think anyone would use the two in the same project.

## Documentation

stream.hpp
stream_stdfunction.hpp

### Constructors

#### Stream()

An empty constructor.

#### Stream(const std::vector< T > &vector)

Initializes the stream with the given vector.

#### bool allMatch(bool (*predicate)(T))

Checks if all elements match the predicate.

*predicate* - The predicate to test all the elements

**return** -  returns whether all elements match the predicate

#### bool anyMatch(bool (*predicate)(T))

Checks if any element matches the predicate.

*predicate* - The predicate to test all elements

**return** -  Whether any element matches the predicate

#### long count()

Returns how many elements the stream contains

**return** - Number of elements in the stream

#### Stream< T > distinct()

Returns a new `Stream` object containing only the distinct elements of the originals.
That means no duplicate values in the streams.

**return** - The new `Stream` object with distinct values

#### Stream< T > filter(bool (*predicate)(T))

Returns a new `Stream` object containing only the elements matching the predicate

*predicate* - The predicate to test all elements

**return** - The new `Stream` object with filtered values

#### void forEach(void (*action)(T))

Applies *action* to all elements.

*action* - The action to apply to all elements

#### Stream map(U (*mapper)(T))

Maps all elements using *mapper*

*mapper* - The mapper function to use

**return** - The new `Stream` object with the mapped values

##### NOTE

It doesn't work with lambda functions as of now. However, if you pass a named function to it, it works.

#### T max()

Returns the maximum element of the stream

**return** - The maximum value of the stream

#### T min()

Returns the minimum element of the stream

**return** - The minimum value of the stream

#### bool noneMatch(bool (*predicate)(T))

Checks if no element matches the predicate.

*predicate* - The predicate to test all elements

**return** -  Whether no element matches the predicate

#### static Stream< T > of(std::vector< T > v)

Constructs a stream of the given vector.

**return** - The scream constructed of the given vector

#### Stream< T > sorted()

Sorts the elements of the stream using the `<` operator.

**return** - The new `Stream` object with sorted elements

#### Stream< T > sorted(bool (*comparator)(T, T))

Sorts the elements of the stream using the comparator.

**return** - The new `Stream` object with sorted elements

#### std::vector< T > toVector()

Converts the stream to `std::vector`.

**return** - The `std::vector` with all the elements of the stream

### Constructors

#### Stream()

An empty constructor.

#### Stream(const std::vector< T > &vector)

Initializes the stream with the given vector.

#### bool allMatch(std::function<bool(T)> predicate)

Checks if all elements match the predicate.

*predicate* - The predicate to test all the elements

**return** -  returns whether all elements match the predicate

#### bool anyMatch(std::function<bool(T)> predicate)

Checks if any element matches the predicate.

*predicate* - The predicate to test all elements

**return** -  Whether any element matches the predicate

#### long count()

Returns how many elements the stream contains

**return** - Number of elements in the stream

#### Stream< T > distinct()

Returns a new `Stream` object containing only the distinct elements of the originals.
That means no duplicate values in the streams.

**return** - The new `Stream` object with distinct values

#### Stream< T > filter(std::function< bool(T) > predicate)

Returns a new `Stream` object containing only the elements matching the predicate

*predicate* - The predicate to test all elements

**return** - The new `Stream` object with filtered values

#### void forEach(std::function< void(T) > action)

Applies *action* to all elements.

*action* - The action to apply to all elements

#### Stream map(std::function< U(T) > mapper)

Maps all elements using *mapper*

*mapper* - The mapper function to use

**return** - The new `Stream` object with the mapped values

#### T max()

Returns the maximum element of the stream

**return** - The maximum value of the stream

#### T min()

Returns the minimum element of the stream

**return** - The minimum value of the stream

#### bool noneMatch(std::function<bool(T)> predicate)

Checks if no element matches the predicate.

*predicate* - The predicate to test all elements

**return** -  Whether no element matches the predicate

#### static Stream< T > of(std::vector< T > v)

Constructs a stream of the given vector.

**return** - The scream constructed of the given vector

#### Stream< T > sorted()

Sorts the elements of the stream using the `<` operator.

**return** - The new `Stream` object with sorted elements

#### Stream< T > sorted(std::function<bool(T, T)> comparator)

Sorts the elements of the stream using the comparator.

**return** - The new `Stream` object with sorted elements

#### std::vector< T > toVector()

Converts the stream to `std::vector`.

**return** - The `std::vector` with all the elements of the stream

repository: petrusjt/cpp-stream

repo_name: petrusjt/cpp-stream


text:
# react-portfolio

 ![react_portfolio](./src/images/portfolio.png)

## Heroku Deploymet:
My react portfolio is also deployed in heroku. Please click this link to view the  [Deployed App](https://hidden-earth-19570.herokuapp.com/) in heroku.

  ## Table of Contents
  * [Technologies Used](#technologies)
  * [Installation](#installation)
  * [Contributing](#contributing)
  * [License](#license)

  ## Technologies
    HTML, CSS, React, JavaScript, Node, Express

  ## Contributing

  Binaya Luitel

  ## License

  MIT License

branch_name: refs/heads/main


text:
# scmlib
Library of cases for the Single Column Model

Scripts to run the E3SM Single Column Model (SCM)
Description of each case can be found at https://github.com/E3SM-Project/scmlib/wiki/E3SM-Single-Column-Model-Case-Library

Scripts are maintained on a regular basis. Should you encounter problems, open a Gitissue on this repo.

repository: huangynj/scmlib

repo_name: huangynj/scmlib


text:
# Docker for A.I. Researcher

![Docker Build Status](https://img.shields.io/docker/build/eungbean/deepo)
![Docker Automated build](https://img.shields.io/docker/automated/eungbean/deepo)
![Docker Pulls](https://img.shields.io/docker/pulls/eungbean/deepo)
![GitHub](https://img.shields.io/github/license/eungbean/Docker-for-AI-Researcher)

**"Docker for A.I. Researcher"** is a series of Shell script that
_ allows you to quickly set up your deep learning research environment
_ supports almost [all commonly used deep learning frameworks](https://github.com/eungbean/Docker-for-AI-Researcher#Available-tags) with GPU acceleration (CUDA and cuDNN included)
_ supports the next-generation web-based user interface IDE, [Jupyter-lab](https://jupyterlab.readthedocs.io/en/stable/)
_ supports remote work with laptop OUTSIDE of the lab
 \* includes fancy terminal setup with oh-my-zsh.

# Demo

[Jupyterlab Docker: Try it on Binder](https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master?urlpath=lab/tree/demo)

---
# 1. Requirements

- Nvidia GPU Driver Installation
- 10 minuites
---
# 2. Quick Start
### step 1. clone the repository

```sh
sudo apt-get install git
git clone https://github.com/eungbean/Docker-for-AI-Researcher
cd Docker-for-AI-Researcher
```

---
### Setp 2. Set your arguments

```sh
./SETTING.sh
```

* Set your SSH Password to `SETUP_DOCKER_VSCODE='root'`
* To install VScode Containier, You need to set `SETUP_DOCKER_VSCODE=true` in `SETTINGS.sh`.

- You need to configure variables with `# Required` tag.
- Boolean (ex: `true`) are not supported. Use strings instead. (ex: `\'true\'`)
- Followings are some examples.

```sh
##############################
SET_1_TERMINAL_SETTING='false'
SET_2_DOCKER_INSTALL='false'
SET_3_VSCODE_CONTAINER_BUILD='true'
SET_4_VSCODE_CONTAINER_RUN='true'
SET_5_SETTING_ALIAS='false'
##############################

# DOCKER-VSCODE SETTING
SETUP_DOCKER_VSCODE='true'   #REQUIRED
VS_PASSWORD='root'         #REQUIRED
...
```

---

### Step 3. BOOM!

```sh
./INSTALL.sh
```

that's it. all set!
Grab some coffee for 10 minuites!

---

### Step 4. Post Installation

#### 1) Send ssh key to container
```sh
ssh-copy-id -i ~/.ssh/id_rsa -p 10022<EMAIL_ADDRESS>```

#### 2) Get inside docker container
* with ssh
```sh
ssh -p 10022<EMAIL_ADDRESS>```

Initial ssh id/pw is `root/root`.

* docker exec
```sh
docker exec -it ${CONTAINER_NAME} /usr/bin/zsh
```

#### 3) Change ssh password
```
(inside docker container)
passwd
```
You have to set your own password.

#### 4) Run `code-server` on background.
```sh
(inside docker container)
nohup code-server --bind-addr <IP_ADDRESS>:8080 . &!
```

Now if you access http://your.ip.add.ress:18080, you should see code-server!
Check the config file at `SETTINGS.sh` for the password.

### Step 5. Let's use it!

- VScode Container
  **VSCODE**: `http://your.ip.addr.ess:18080`
  **Tensorboard**: `http://your.ip.addr.ess:16006`
  **SSH**: `ssh -p 10022<EMAIL_ADDRESS>
Without any configuration, initial password is `root`.

- Jupyter Container
  **Jupyter**: `http://your.ip.addr.ess:28000`
  **Tensorboard**: `http://your.ip.addr.ess:26006`
  **SSH**: `ssh -p 20022<EMAIL_ADDRESS>
Without any configuration, initial password is `root`.

---
# 3. More Detailed..

#### `1-terminal_setting.sh`

```sh
sudo sh ./01-terminal-setting.sh
```

Install following packages..

- Open SSH
- Terminal tools
  - zsh
  - oh-my-zsh
  - zsh-syntax-highlighting
  - zsh-autosuggestions
  - neovim
  - spacevim
  - powerline font
- GPU Monitoring tools
  - gpustat
  - glances
- git

---

#### `2-docker_setup.sh`

```sh
sudo sh ./02-docker-setup.sh
```

> Install followings..

- [Docker-ce](https://docs.docker.com/install/linux/docker-ce/ubuntu)
- [nvidia-docker](https://github.com/NVIDIA/nvidia-docker)

If the installation is done, the message will be displayed.

```sh
Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
...
```

---

#### `3-build_docker_jupyter.sh` / `3-build_docker_vscode.sh`

I strongly recommend to use [ufoym/deepo](https://github.com/ufoym/deepo) image from scratch.
This image supports almost all commonly used deep learning frameworks.

```sh
sudo docker pull ufoym/deepo:all-jupyter
```

---

In addition to ufoym/deepo image, I made my own docker image called [eungbean/deepo:lab]().
This image includes more useful packages to start with.
It will reduce your time to set up initial research environment.
Trust me, you'll happy with it.

```sh
sudo docker pull ufoym/deepo:all-jupyter
```

---

#### `4-run_docker_jupyter.sh` / `4-run_docker_vscode.sh`

deploy your container.

---

#### `5-setting_alias.sh`

Setup some aliases for convinience.

repository: hmjeon/Docker-for-AI-Researcher

repo_name: hmjeon/Docker-for-AI-Researcher


text:
# Raspi2GarageOpenerVideo
Raspberry Pi Garage Door Opener With Streaming Video of Door Status

Also found at https://www.instructables.com/id/Raspberry-Pi-Garage-Door-Opener-with-streaming-vid/

Best viewed in RAW.  Somehow it only formats properly in RAW.

I have borrowed from @ https://www.instructables.com/id/Raspberry-Pi-Garage-Door-Opener
updated or changed the process

Raspbery Pi2 or Pi3
Wifi or Ethernet - Hardwired recommended
Raspberry Pi Camera v1
Relay Board
Case that is mountable
Magnetic reed switch
wire for Mag Sensor
jumpers
One of the big clunky RF Garage Door remotes

===============================================================================================
Step 1>>>   Gather Software images

Download Rasbian Jessie Lite @ https://www.raspberrypi.org/downloads/raspbian/
Unzip the IMG
Use Etcher or some SDCARD imaging software for the IMG @ https://etcher.io/
Open the boot directory on the SDCARD and make a "ssh" file so SSH will work
Place card back in Raspbarry Pi2 or 3
Turn on

If not wired then you need to get Wifi working so I recommend doing wired then get WiFi working
once you can SSH in, otherwise you would have to drag a Monitor,mouse,keyboard out and hook it up.

===============================================================================================
Step 2>>>   Get Wifi working if needed.
@ https://www.instructables.com/id/Raspberry-Pi-Garage-Door-Opener

================================================================================================
Step 3>>>   Install Software

ssh to your pi
$ sudo raspi-config
#1 change the password from default
#2 change hostname
#3 Boot options
  B2 yes
#4 Localisation .....
  I1 , I2, I3
#5 Interface options
  P1 enable Pi camera
#7 Advanced
  A1 expand file system
#8 Update tool to latest version
  Finish
  Reboot

Update Raspbian and its packages
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo reboot

Info @ http://wiringpi.com/download-and-install/

To install…

First check that wiringPi is not already installed. In a terminal, run:

$ gpio -v
If you get something, then you have it already installed. The next step is to work out if it’s installed via a standard package or from source. If you installed it from source, then you know what you’re doing – carry on – but if it’s installed as a package, you will need to remove the package first. To do this:

$ sudo apt-get purge wiringpi
$ hash -r
Then carry on.

If you do not have GIT installed, then under any of the Debian releases (e.g. Raspbian), you can install it with:

$ sudo apt-get install git-core
If you get any errors here, make sure your Pi is up to date with the latest versions of Raspbian: (this is a good idea to do regularly, anyway)

$ sudo apt-get update
$ sudo apt-get upgrade
To obtain WiringPi using GIT:

$ cd
$ git clone git://git.drogon.net/wiringPi
If you have already used the clone operation for the first time, then

$ cd ~/wiringPi
$ git pull origin
Will fetch an updated version then you can re-run the build script below.

To build/install there is a new simplified script:

$ cd ~/wiringPi
$ ./build
The new build script will compile and install it all for you – it does use the sudo command at one point, so you may wish to inspect the script before running it.

Test wiringPi’s installation

run the gpio command to check the installation:

$ gpio -v
$ gpio readall
That should give you some confidence that it’s working OK.

Once Wiring Pi is installed, you will want to install Apache and PHP via these commands:

$ sudo apt-get update
$ sudo apt-get install apache2 php5 libapache2-mod-php5

Once this is done, you will have a working webserver! To verify that, just type in your pi's ip adress in a browser. You should see Apache's default website which says "It Works!".

===============================================================================================================\
Step 4>>>>   Upload the Garage Opener Website
(the indicators at the top of the page send gpio changes to webpage without refresh)

Any OS
Download files from Github https://github.com/paulpoco/Raspi2GarageOpenerVideo/tree/master/var/www
Download Filezilla. Using Putty or another ssh terminal:

  ssh pi@[YOUR PI'S IP ADDRESS]
$ sudo chown -R pi:root /var/www
$ sudo cd /var/www/html
$ sudo rm index.html
$ sudo cd ..
$ sudo rmdir html
After this step the webpage will not work until a later step.

Start filezilla from non Raspi. Log into the raspberry pi with these credentials:
Host: sftp://[YOUR PI'S IP ADDRESS]
Username: pi
Password: xxxxxxxx
Copy using Filezilla file in /var/www and /var/www/css and /var/www/js to place the files in /var/www as the root folder for the webserver on Raspi
Edit index.php, away.php, send_door_status.php, send_door_status_away.php as needed

Some Technical Notes (for those interested):
The website uses jQuery to post to itself (via AJAX) when a user clicks on the big button.  Quartarian did this so that if you refresh the page it doesn't trigger your garage to open.

If your using an iPhone (or the latest dev version of Chrome on Android) and add this website to your home screen, it should work like an app without the browser chrome. (It will still only work when your on your home wifi though :-P )  There is a way to get it to work outside your home network with the away.php file.

=============================================================================================================
Step 5>>>>    Wire the Circuit to the Pi!

Assumption is a Raspberry Pi2 or Pi3 with 40 pin header is used.

RF Garage Door soldered accross button <===============> [Relay1] <===> Normally open terminals
                                                         [Relay] GND <---------------> Ground[Raspi2] pin 06
                                                         [Relay] IN1 <----> GPIO17(GPIO_GEN0)[Raspi2] pin 11 out
                                                         [Relay] VCC <-----------> DCPower 5V[Raspi2] pin 02
                                                         [MagSW] <--------> GPIO27(GPIO_GEN2)[Raspi2] pin 13 in
                                                         [MagSW] <-------------------> Ground[Raspi2] pin 14
                                                         [ PIR ] 5V <------------> DCPower 5V[Raspi2] pin 04
                                                         [ PIR ] GND <---------------> Ground[Raspi2] pin 20
                                                         [ PIR ] Out <----> GPIO22(GPIO_GEN3)[Raspi2] pin 15

===================================================================================================================
Step 6>>>>    Create a Startup Service

This step is important.
Most relays including the one I purchased, operate like this - when the signal is ON the circuit stays off. When the signal is OFF then the circuit is on. So what happens if your pi looses power? Well most relays have a safety mechanism that keeps the circuit OFF when there is no power at all. The problem that occurs happens between when the pi (and subsequently the relay) gets its power back but before the pi has finished booting to turn the signal ON which is need to keep the circuit off. You could wake up in the morning with your garage open and potentially a few new friends!

After some experimenting, I found a simply work around. I found out that my relay doesn't actually initialize until the GPIO pin mode is set via this command: gpio mode 0 out. Furthermore, I found out that it you set the GPIO pin to ON (gpio write 0 1)before you set the GPIO mode, the relay will stay off once initialized.

GPIO mode 2 in and then set up pullup.

To make this initialization run at boot, I created a start-up script.

$ sudo nano /etc/init.d/garagerelay

Then paste this script:
--------------------------------------------------------------------------------------------------
#!/bin/bash
# /etc/init.d/garagerelay

# Carry out specific functions when asked to by the system
case "$1" in
start)
echo "Starting Relay"
# Turn 0 on which keeps relay off
/usr/local/bin/gpio write 0 1
#Start Gpio 0 or 17 in BCM out mode
/usr/local/bin/gpio mode 0 out
#Start Gpio 2 or 27 in BCM in mode with pull up
/usr/local/bin/gpio mode 2 in
/usr/local/bin/gpio mode 2 up
;;
stop)
echo "Stopping gpio"
;;
*)
echo "Usage: /etc/init.d/garagerelay {start|stop}"
exit 1
;;
esac

exit 0
---------------------------------------------------------------------------------------------------------------
https://github.com/paulpoco/Raspi2GarageOpenerVideo/blob/master/etc/init.d/garagerelay

Make the file executable:
$ sudo chmod 777 /etc/init.d/garagerelay

Now tell your pi to run this script at boot:
$ sudo update-rc.d -f garagerelay start 4
(Note: You can safely ignore the "missing LSB tags" warning.)

=====================================================================================================
Step 7>>>>     Get the Camera Working on Raspbian Jessie

Ok here is the proper way to get the camera working:

Install motion to get dependecies.

$ sudo apt-get install motion
$ sudo apt-get install libjpeg62

Create a directory in your home called mmal

$ cd ~/
$ mkdir mmal
$ cd mmal

Download @maya fork of dozencrow’s motion program that works with Rasbian Jessie

$ wget https://www.dropbox.com/s/6ruqgv1h65zufr6/motion-mmal-lowflyerUK-20151114.tar.gz

$ sudo apt-get install -y libjpeg-dev libavformat56 libavformat-dev libavcodec56 libavcodec-dev libavutil54 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev

$ tar -zxvf motion-mmal-lowflyerUK-20151114.tar.gz

$ ./motion -c motion-mmalcam-both.conf

It should work now when you goto RaspiIP:8081

CTRL-C to quit

Edit the config file and make changes

$ nano motion-mmalcam-both.conf

target_dir /home/pi/mmal/m-video
output_pictures off
framerate 100

===============================================================================================================
Step 8>>>>   Make Your Webpage More Secure

In order to create the file that will store the passwords needed to access our restricted content, we will use a utility called htpasswd. This is found in the apache2-utils package. This was installed in Step 1.

$ sudo htpasswd -c /etc/apache2/.htpasswd pi

(You will be asked to supply and confirm a password for the user)

New password:
Re-type new password:
Adding password for user pi

If we view the contents of the file, we can see the username and the encrypted password for each record:

$ cat /etc/apache2/.htpasswd

pi:$xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/

Configuring Access Control within the Virtual Host Definition
Begin by opening up the virtual host file that you wish to add a restriction to. For our example, we'll be using the 000-default.conf file that holds the default virtual host installed through Raspbian's apache package:

$ sudo nano /etc/apache2/sites-enabled/000-default.conf

Inside, with the comments stripped, the file should look similar to this:

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

We will change the directory from /var/www/html to /var/www and add the directory section to make the site password protected.  Will at a later date make it https.

Authentication is done on a per-directory basis. To set up authentication, you will need to target the directory you wish to restrict with a block. In our example, we'll restrict the entire document root, but you can modify this listing to only target a specific directory within the web space. Within this directory block, specify that we wish to set up Basic authentication. For the AuthName, choose a realm name that will be displayed to the user when prompting for credentials. Use the AuthUserFile directive to point Apache to the password file we created. Finally, we will require a valid-user to access this resource, which means anyone who can verify their identity with a password will be allowed in:

https://github.com/paulpoco/Raspi2GarageOpenerVideo/blob/master/etc/apache2/sites-enabled/000-default.conf

<VirtualHost *:80>
        # The ServerName directive sets the request scheme, hostname and port that
        # the server uses to identify itself. This is used when creating
        # redirection URLs. In the context of virtual hosts, the ServerName
        # specifies what hostname must appear in the request's Host: header to
        # match this virtual host. For the default virtual host (this file) this
        # value is not decisive as it is used as a last resort host regardless.
        # However, you must set it for any further virtual host explicitly.
        #ServerName www.example.com

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        <Directory "/var/www">
                AuthType Basic
                AuthName "Restricted Content"
                AuthUserFile /etc/apache2/.htpasswd
                Require valid-user
        </Directory>

        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with "a2disconf".
        #Include conf-available/serve-cgi-bin.conf
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

Crtl o
Crtl x

Save and close the file when you are finished. Restart Apache to implement your password policy:

$ sudo service apache2 restart

The directory you specified should now be password protected.

====================================================================================================
Step 9>>>>    Make Motion Start at Boot

$ sudo nano /etc/init.d/cam_motion

Then paste the blob below:
------------------------------------------------------------------------------------------------------
# /etc/init.d/cam_motion

# Carry out specific functions when asked to by the system
case "$1" in
start)
echo "Starting Camera Motion"
nohup /home/pi/mmal/motion -n -c /home/pi/mmal/motion-mmalcam-both.conf 1>/dev/null 2>&1 ;;

stop)
echo "Stopping Camera Motion"
killall motion
;;
*)
echo "Usage: /etc/init.d/cam_motion {start|stop}"
exit 1
;;
esac

exit 0
-----------------------------------------------------------------------------------------------------
https://github.com/paulpoco/Raspi2GarageOpenerVideo/blob/master/etc/init.d/cam_motion

crtl o to save
crtl x to exit

Make it executable

$ sudo chmod 777 /etc/init.d/cam_motion

Make it start at boot

$ sudo update-rc.d -f cam_motion start 4

Reboot

====================================================================================================
Step 10>>>>   Bring Up on Web Browser Once You Setup Your Router Port Forwarding

Got one of those SmartPi cases for Pi and Camera that has Lego as a cover. Attached relay board to back of case with zap straps.

I put the magnetic switch at the top of the garage door and used some cat5 cable I had to bring it back to the Pi. Cut some jumpers in have and soldered to the cat5 one pair. Wrapped the extra pairs back.

Found really simple fix for Away and Home.

Edit away.php to be like

In your router:
Port Forward Wan port xxxx1 to Lan 80 of RaspiIP
Port Forward Wan port xxxx2 to Lan 8081 of RaspiIP

Now in your Browser at home or your cellphone:
At home use http://RaspiIP this will default to port 80 and index.php
When Away use http://YourDdnsAddress:xxxx1/away.php

=============================================================================================================
Step 11>>>>   Add the PIR

$ cd ~/
$ mkdir PirFrontDoor
$ cd PirFrontDoor
Python & sh Programs to /home/pi/PirFrontDoor/
from https://github.com/paulpoco/Raspi2GarageOpenerVideo/tree/master/home/pi/PirFrontDoor
frontdoor.py
launcher.sh
$ sudo apt-get install python-pip
$ chmod +x frontdoor.py
$ chmod 755 launcher.sh
$ mkdir logs
$ sudo crontab -e
# m h  dom mon dow   command
@reboot sh /home/pi/PirFrontDoor/launcher.sh >/home/pi/PirFrontDoor/logs/cronlog 2>&1

=============================================================================================================
Step 12>>>>   Final Result: Garage Control/monitor

I soldered a pair of wires across the back of the circuit board of a RF Garage opener. Put wires behind the bigger button as there already was a slot in the plastic. Putting the relay directly to the 2 wires between wall and ceiling unit just caused the wall unit to reset. Now the relay is the same as putting the visor remote.

=============================================================================================================
Also found at https://www.instructables.com/id/Raspberry-Pi-Garage-Door-Opener-with-streaming-vid/


text:
# Changelog

## [2.5.1](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/compare/v2.5.0...v2.5.1) (2023-06-14)

### Bug Fixes

* Updated the get-transcript-info.R file and its dependencies ([#73](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/issues/73)) ([e44d424](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/commit/e44d424aede76e5443f194dd42154256e0826241))

## [2.5.0](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/compare/v2.4.3...v2.5.0) (2023-05-13)

### Features

* Support for 3-prime RNA sequencing  ([#62](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/issues/62)) ([c06c573](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/commit/c06c57369ea50a5e6f5f0d63a40c0ef7ae33c362))

### Bug Fixes

* fix report labels ([#72](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/issues/72)) ([76c7fd9](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/commit/76c7fd93a59a5f7ffae2add8b63159733a7b6c5e))

## [2.4.3](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/compare/v2.4.2...v2.4.3) (2023-02-06)

### Bug Fixes

* Feature/update cutadapt wrapper ([#67](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/issues/67)) ([29d7967](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/commit/29d7967fac57dfdd4a8acd61d75016d8d83b5a46))

## [2.4.2](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/compare/v2.4.1...v2.4.2) (2022-12-02)

### Bug Fixes

* fix gene-level p-value adjustment (use Benjamini-Hochberg instead of Bonferroni-Holm) ([#64](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/issues/64)) ([6ea1682](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/commit/6ea1682d20b0dccd021d93359f53c3fcec9c869d))

## [2.4.1](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/compare/v2.4.0...v2.4.1) (2022-11-04)

### Bug Fixes

* channel order for bioconductor package download ([f57044a](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/commit/f57044a4a1a571fcf21ce7881b32f82a3fd09265))
* correct default value for representative_transcripts and check for existence of path ([#59](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/issues/59)) ([a85b268](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/commit/a85b268699c74f4076d68158adfe3e3717826bbf))
* fix channel order under strict priorities ([bdbfb10](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/commit/bdbfb103e0298b2cbee6f99802236d794d0f4797))
* fix default minimum p-value in fgsea ([#61](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/issues/61)) ([a6a857d](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/commit/a6a857dff26d39dc16d98c93351cf5a903f15120))
* for some rules, omit software env when caching ([#63](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/issues/63)) ([1d2e3a9](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/commit/1d2e3a9515701645207b57532e7045e94b3b5f3b))

## [2.4.0](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/compare/v2.3.2...v2.4.0) (2022-03-29)

### Features

* adapt to fgsea updates, configure fgsea precision by minimum achievable p-value ([dcd77ca](https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth/commit/dcd77ca90ead1213acd0c293d500c18c0e579222))

gha_language: Python


text:
# Plantify 🍃

IOT based home monitoring system for plants

## Setup

1. Clone the repository
2. Create `.env` file in the project root

```
PORT = 3000
MONGODB = mongodb://localhost/plantify
JWT_SECRET = plantifyRGIT
```

3. Run the application

```bash
npm i
npm run dev
```
4. Check `routes` folder for API endpoints and `controllers` folder for the data format.

repository: dishankoza/Plantify

repo_name: dishankoza/Plantify


text:
Release
=======

This document describes the necessary steps for developers to create a release:

1. Update `CHANGELOG.md`, `cmake/packaging/deb/changelog` & `cmake/packaging/rpm/changelog`
2. Update `.version` with semantic version: `x.x.x`
3. Update `README.md` with semantic version `x.x.x` in commits badge
4. Merge `develop` into `master`
5. Create and push git tag and commits `git tag x.x.x`
6. Create binary packages (.rpm / .deb / .zip) with `make package && sh ./cmake/packaging/windows/generate_binaries.sh`
7. Upload packages to the [release page](https://github.com/stlink-org/stlink/releases) of this project
8. Merge `master` into `develop`
9. Update GitHub security policy (/SECURITY.md)

repository: stlink-org/stlink

branch_name: refs/heads/develop

gha_language: C

repo_name: stlink-org/stlink


text:
A simple ping-pong service implementation that that integrates ringpop to forward requests between nodes.

Note: this file can be [cram][3]-executed using `make test-examples`. That's why some of the example outputs below are a bit unusual.

# Running the example

All commands are relative to this directory:

    $ cd ${TESTDIR}  # examples/ping-thrift

(optional, the files are already included) Generate the thrift code:

    $ thrift-gen --generateThrift --outputDir gen-go --inputFile ping.thrift

Build the example binary:

    $ go build

Start a custer of 5 nodes using [tick-cluster][1]:

    $ tick-cluster.js --interface=<IP_ADDRESS> -n 5 ping-thrift &> tick-cluster.log &
    $ sleep 5

Lookup the node `my_key` key belongs to using [tcurl][2]:

    $ tcurl ringpop -P hosts.json /admin/lookup '{"key": "my_key"}'
    {"ok":true,"head":null,"body":{"dest":"<IP_ADDRESS>:300?"},"headers":{"as":"json"},"trace":"*"} (glob)

Call the `PingPongService::Ping` endpoint (multiple times) and see the request being forwarded. Each request is sent to a random node in the cluster because of the `-P hosts.json` argument--but is always handled by the node owning the key. This can be seen in the `from` field of the response:

    $ tcurl pingchannel -P hosts.json --thrift ./ping.thrift PingPongService::Ping '{"request": {"key": "my_key"}}'
    {"ok":true,"head":{},"body":{"message":"Hello, world!","from_":"<IP_ADDRESS>:300?","pheader":""},"headers":{"as":"thrift"},"trace":"*"} (glob)

Optionally, set the `p` header. This value will be forwarded together with the request body to the node owning the key. Its value is returned in the response body in the `pheader` field:

    $ tcurl pingchannel -P hosts.json --thrift ./ping.thrift PingPongService::Ping '{"request": {"key": "my_key"}}' --headers '{"p": "my_header"}'
    {"ok":true,"head":{},"body":{"message":"Hello, world!","from_":"<IP_ADDRESS>:300?","pheader":"my_header"},"headers":{"as":"thrift"},"trace":"*"} (glob)

    $ kill %1

[1]:https://github.com/uber/ringpop-common/
[2]:https://github.com/uber/tcurl
[3]:https://pypi.python.org/pypi/cram

repository: temporalio/ringpop-go

repo_name: temporalio/ringpop-go


text:
# Video-Highlights-Detection

In this repo, Video Highlight Detection (VHD) are talked about.

[**Baidu_VH**](http://ai.baidu.com/broad/introduction) is the first large-scale dataset about VHD, main experiments are based on it.

Proposed codes :
- [x] prepare
- [ ] main experiments
- - [x] non-deep models
- - [ ] deep models
- [ ] ablations
- [ ] TBA

-----
Tips:

Non-deep models now have achieved 42% mAP (IoU ranges from 0.5 to 0.95 on BaiduVH dataset, each gap is 0.05)on the validtion set.
more information about non-deep, please refer to the 'non-deep' directory.
Performance on deep models is going to be proposed later.

### Result records:

- Thumos14, Temporal Actionness Grouping. mAP = 0.309

This is implemented by modified version of xiong's TAG. The experimental report/ relevant paper will propose soon.

- Baidu VHD [preliminary stage](https://www.kesci.com/apps/home/competition/5a41bca63bf3464aab731a31/leaderboard):mAP = 33.9%

Note that we only take xgb+lr yet(non-deep), and only 1% training data is used. We will refresh our result soon, by replacing xgb+lr with a mlp slightly and using full training set.

repository: qijiezhao/Video-Highlight-Detection

repo_name: qijiezhao/Video-Highlight-Detection


text:
# Disentangled Imputed Video autoEncoder (DIVE)

The following code is an implementation for Scenario 3 in the experiments of the paper:
"Learning Disentangled Representations of Video with Missing Data"

Missing data poses significant challenges while learning representations of video sequences.
We present DIVE, a deep generative model that imputes and predicts future video frames in the presence of missing data.
Specifically, DIVE contributes by:
- Introducing a missingness latent variable,
- Disentangles the hidden video representations into static and dynamic appearance, pose, and missingness factors for each object and
- Imputing each object trajectory where data is missing.
This is done in an end-to-end training fashion and with using only self-supervision, by leveraging a VAE framework.

## Demo

### Deformed and Missing-Data Moving MNIST

We prepare the code to be trained and tested for scenario 3 of the experiments for Moving MNIST which includes:
- Out-of-scene (fully occluded) digits for 1 time-step
- Varying appearance following an elastic transformation, which is reduced linearly in time from very severe (alpha = 100) to inexistent.
All arguments are set by default for this scenario, but they can be changed at the users convenience. To better understand them, use the help command "-h" or refer to the "config.py" file.
For this experiment, missing labels are set to be soft.

A qualitative example of the expected results after 600 epochs (about 100k iterations) is:
<img src="example_image_varying_MNIST.png" width="800px"/>

After setting up the environment, we can train and test the code with:
```
cd DIVE/
python3 train.py
```
and
```
python3 eval.py
```
To view the results (while training in this case), execute the following commands:
```
cd tensorboard/ckpt/moving_mnist/dive/
tensorboard --logdir train_log --port 6006
```

## Installation
This codebase is trained and tested with Python 3.6+, Pytorch 1.2.0+ and Cuda 10.0+. We use tensorboardX 2.0. for visualization purposes.
We make use of [Pyro](http://pyro.ai/) 0.2 as our framework for probabilitstic programming. To better understand our model, we encourage the reader to browse their [Examples and Tutorials](https://pyro.ai/examples/).

### Moving MNIST
Download MNIST dataset from by running:
```
cd DIVE
mkdir moving_mnist
cd moving_mnist
wget http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
```
For this demo we can't provide our fixed test set. Instead we use an on-the-fly generated set for testing.

## Citations
This code uses as its skeleton the available implementation for Decompositional Disentangled Predictive Auto-Encoder ([DDPAE](https://github.com/jthsieh/DDPAE-video-prediction)), as well as many of its functions, while it is built on Pyro.

repository: ArmandCom/DIVE

repo_name: ArmandCom/DIVE