text:
# Configuration

Tendermint Core can be configured via a TOML file in
`$TMHOME/config/config.toml`. Some of these parameters can be overridden by
command-line flags. For most users, the options in the `##### main base configuration options #####` are intended to be modified while
config options further below are intended for advance power users.

## Options

The default configuration file create by `tendermint init` has all
the parameters set with their default values. It will look something
like the file below, however, double check by inspecting the
`config.toml` created with your version of `tendermint` installed:

```
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml

##### main base config options #####

# TCP or UNIX socket address of the ABCI application,
# or the name of an ABCI application compiled in with the Tendermint binary
proxy_app = "tcp://<IP_ADDRESS>:26658"

# A custom human readable name for this node
moniker = "anonymous"

# If this node is many blocks behind the tip of the chain, FastSync
# allows them to catchup quickly by downloading blocks in parallel
# and verifying their commits
fast_sync = true

# Database backend: leveldb | memdb | cleveldb
db_backend = "leveldb"

# Database directory
db_dir = "data"

# Output level for logging
log_level = "state:info,*:error"

##### additional base config options #####

# The ID of the chain to join (should be signed with every transaction and vote)
chain_id = ""

# Path to the JSON file containing the initial validator set and other meta data
genesis_file = "genesis.json"

# Path to the JSON file containing the private key to use as a validator in the consensus protocol
priv_validator_file = "priv_validator.json"

# Mechanism to connect to the ABCI application: socket | grpc
abci = "socket"

# TCP or UNIX socket address for the profiling server to listen on
prof_laddr = ""

# If true, query the ABCI app on connecting to a new peer
# so the app can decide if we should keep the connection or not
filter_peers = false

##### advanced configuration options #####

##### rpc server configuration options #####
[rpc]

# TCP or UNIX socket address for the RPC server to listen on
laddr = "tcp://<IP_ADDRESS>:26657"

# TCP or UNIX socket address for the gRPC server to listen on
# NOTE: This server only supports /broadcast_tx_commit
grpc_laddr = ""

# Maximum number of simultaneous connections.
# Does not include RPC (HTTP&WebSocket) connections. See max_open_connections
# If you want to accept more significant number than the default, make sure
# you increase your OS limits.
# 0 - unlimited.
# Should be < {ulimit -Sn} - {MaxNumInboundPeers} - {MaxNumOutboundPeers} - {N of wal, db and other open files}
# 1024 - 40 - 10 - 50 = 924 = ~900
grpc_max_open_connections = 900

# Activate unsafe RPC commands like /dial_seeds and /unsafe_flush_mempool
unsafe = false

# Maximum number of simultaneous connections (including WebSocket).
# Does not include gRPC connections. See grpc_max_open_connections
# If you want to accept more significant number than the default, make sure
# you increase your OS limits.
# 0 - unlimited.
# Should be < {ulimit -Sn} - {MaxNumInboundPeers} - {MaxNumOutboundPeers} - {N of wal, db and other open files}
# 1024 - 40 - 10 - 50 = 924 = ~900
max_open_connections = 900

##### peer to peer configuration options #####
[p2p]

# Address to listen for incoming connections
laddr = "tcp://<IP_ADDRESS>:26656"

# Comma separated list of seed nodes to connect to
seeds = ""

# Comma separated list of nodes to keep persistent connections to
persistent_peers = ""

# UPNP port forwarding
upnp = false

# Path to address book
addr_book_file = "addrbook.json"

# Set true for strict address routability rules
# Set false for private or local networks
addr_book_strict = true

# Time to wait before flushing messages out on the connection, in ms
flush_throttle_timeout = 100

# Maximum number of inbound peers
max_num_inbound_peers = 40

# Maximum number of outbound peers to connect to, excluding persistent peers
max_num_outbound_peers = 10

# Maximum size of a message packet payload, in bytes
max_packet_msg_payload_size = 1024

# Rate at which packets can be sent, in bytes/second
send_rate = 5120000

# Rate at which packets can be received, in bytes/second
recv_rate = 5120000

# Set true to enable the peer-exchange reactor
pex = true

# Seed mode, in which node constantly crawls the network and looks for
# peers. If another node asks it for addresses, it responds and disconnects.
#
# Does not work if the peer-exchange reactor is disabled.
seed_mode = false

# Comma separated list of peer IDs to keep private (will not be gossiped to other peers)
private_peer_ids = ""

##### mempool configuration options #####
[mempool]

recheck = true
recheck_empty = true
broadcast = true
wal_dir = "data/mempool.wal"

# size of the mempool
size = 100000

# size of the cache (used to filter transactions we saw earlier)
cache_size = 100000

##### consensus configuration options #####
[consensus]

wal_file = "data/cs.wal/wal"

# All timeouts are in milliseconds
timeout_propose = 3000
timeout_propose_delta = 500
timeout_prevote = 1000
timeout_prevote_delta = 500
timeout_precommit = 1000
timeout_precommit_delta = 500
timeout_commit = 1000

# Make progress as soon as we have all the precommits (as if TimeoutCommit = 0)
skip_timeout_commit = false

# EmptyBlocks mode and possible interval between empty blocks in seconds
create_empty_blocks = true
create_empty_blocks_interval = 0

# Reactor sleep duration parameters are in milliseconds
peer_gossip_sleep_duration = 100
peer_query_maj23_sleep_duration = 2000

##### transactions indexer configuration options #####
[tx_index]

# What indexer to use for transactions
#
# Options:
#   1) "null"
#   2) "kv" (default) - the simplest possible indexer, backed by key-value storage (defaults to levelDB; see DBBackend).
indexer = "kv"

# Comma-separated list of tags to index (by default the only tag is "tx.hash")
#
# You can also index transactions by height by adding "tx.height" tag here.
#
# It's recommended to index only a subset of tags due to possible memory
# bloat. This is, of course, depends on the indexer's DB and the volume of
# transactions.
index_tags = ""

# When set to true, tells indexer to index all tags (predefined tags:
# "tx.hash", "tx.height" and all tags from DeliverTx responses).
#
# Note this may be not desirable (see the comment above). IndexTags has a
# precedence over IndexAllTags (i.e. when given both, IndexTags will be
# indexed).
index_all_tags = false

##### instrumentation configuration options #####
[instrumentation]

# When true, Prometheus metrics are served under /metrics on
# PrometheusListenAddr.
# Check out the documentation for the list of available metrics.
prometheus = false

# Address to listen for Prometheus collector(s) connections
prometheus_listen_addr = ":26660"

# Maximum number of simultaneous connections.
# If you want to accept a more significant number than the default, make sure
# you increase your OS limits.
# 0 - unlimited.
max_open_connections = 3
```

repository: Alex-duzhichao/tendermint

repo_name: Alex-duzhichao/tendermint


text:
# dockerfiles

A place for some handy dockerfiles.

## Youtube-dl

Based on python:3.7-alpine .

Repository with youtube-dl installed. Can run youtube-dl's file format conversions as well, for example to write subtitles into the video file using ffmpeg:

youtube-dl https://www.youtube.com/watch?v=0QRO3gKj3qw --write-sub --convert-subtitles srt -v

repository: kpm/dockerfiles

branch_name: refs/heads/master

extension: md

license_type: permissive

repo_name: kpm/dockerfiles


text:
---
title: ElegantPaper
pre: "<b>3. </b>"
weight: 3
---

ElegantPaper is designed for writing a working paper, especially for economics students. This template is based on the standard LaTeX `article` class, which means you can pass the arguments of article class to it (`a4paper`, `12pt` and etc.). It supports different engines, You can choose either `PDFLaTeX` or `XeLaTeX` .

The goal of this template is to make the writing process easier and more comfortable. You can get rid of all the worries about the format. Just enjoy it! If you have any questions, suggestions or bug reports, you can create issues, pull requests or email us at<EMAIL_ADDRESS>
This work is released under the LaTeX Project Public License, v1.3c or later.

license: MIT

gha_license_id: MIT


text:
This repository contains scripts and instructions for the installation
of the DES Y3 Galaxy Cluster Cosmology software.

The install-y3gcc.sh script should be executed, not sourced. Make
sure to read the top of the script, and to modify the value used
for Y3GCC_DIR to something appropriate for your use.

The scripts setup-y3gcc-cvmfs.sh and setup-y3gcc-macos.sh are to
be sourced, not executed. Again, make sure to read the top of the
script, and to modify the value of Y3GCC_DIR to match what you
used for the installation script.


text:
[![CircleCI](https://circleci.com/gh/boxheed/gradle-layout-plugin/tree/master.svg?style=shield)](https://circleci.com/gh/boxheed/gradle-layout-plugin/tree/master)

# Gradle Layout Plugin
A Gradle plugin providing the ability to specify the folder and file layout of the project, optionally including the contents of file.

# Usage
```
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        //The layout plugin.
        classpath 'com.fizzpod:gradle-layout-plugin:0+'
    }
}

apply plugin: 'com.fizzpod.layout'

layout {
    // Create an empty file
    file 'filename1.txt'
    // Create an empty file in subfolders
    file 'folder1/folder1_1/filename2.txt'
    // Create a file in a subfolder with some content
    file ('folder1/folder1_1/filename3.txt') {
        "I am some content"
    }
    // Create a file in a subfolder with a multiline content
    file ('folder1/folder1_1/filename4.txt') {
        """I am some content
Split over
multiple lines"""
    }
    path 'folder2/folder2_1'
}

```

# Tasks
The plugin exposes a single task `createLayout` which creates the specified layout. If a file exists it will not overwrite it.

repository: boxheed/gradle-layout-plugin

gha_language: Groovy

repo_name: boxheed/gradle-layout-plugin


text:
## SA1518

  TypeName
  SA1518UseLineEndingsCorrectlyAtEndOfFile

  CheckId
  SA1518

  Category
  Layout Rules

## Cause

The line endings at the end of a file do not match the settings for the project.

## Rule description

To improve the layout of the code, StyleCop requires line endings to be consistent at the end of files. The specific
requirements for a project may be configured using **stylecop.json**. See [Configuration.md](Configuration.md) for more
information.

The specific settings is one of the following:

* Allow (default): Files are allowed to end with a single newline character, but it is not required
* Require: Files are required to end with a single newline character
* Omit: Files may not end with a newline character

## How to fix violations

To fix a violation of this rule, update the line endings at the end of the file to match the settings for the current
project.

## How to suppress violations

```csharp
[SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1518:CodeMustNotContainBlankLinesAtEndOfFile", Justification = "Reviewed.")]
```

```csharp
#pragma warning disable SA1518 // CodeMustNotContainBlankLinesAtEndOfFile
#pragma warning restore SA1518 // CodeMustNotContainBlankLinesAtEndOfFile
```

repository: AraHaan/StyleCopAnalyzers

gha_language: C#

repo_name: AraHaan/StyleCopAnalyzers


text:
# Panel

[![Maven Central](https://img.shields.io/maven-central/v/net.skyscanner.backpack/backpack-android)](https://search.maven.org/artifact/net.skyscanner.backpack/backpack-android)
[![Class reference](https://img.shields.io/badge/Class%20reference-Android-blue)](https://backpack.github.io/android/Backpack/net.skyscanner.backpack.panel)
[![Source code](https://img.shields.io/badge/Source%20code-GitHub-lightgrey)](https://github.com/Skyscanner/backpack-android/tree/main/Backpack/src/main/java/net/skyscanner/backpack/panel)

## All

| Day | Night |
| --- | --- |
|  |  |

## Installation

Backpack Android is available through [Maven Central](https://search.maven.org/artifact/net.skyscanner.backpack/backpack-android). Check the main [Readme](https://github.com/skyscanner/backpack-android#installation) for a complete installation guide.

## Usage

The Panel component can be used in both XML and Kotlin

Example of a padded panel in XML

```xml
<net.skyscanner.backpack.panel.BpkPanel
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:padding="true">

    <TextView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="panel message" />
</net.skyscanner.backpack.panel.BpkPanel>
```

Example of a padded panel in Kotlin

```Kotlin
import net.skyscanner.backpack.panel.BpkPanel

BpkPanel(context).apply {
   padding = true
}
```

repository: Skyscanner/backpack-android

branch_name: refs/heads/main

gha_language: Kotlin

repo_name: Skyscanner/backpack-android


text:
# NoSQL_FitnessTracker

## Description

Unit 17 NoSQL Homework: Workout Tracker:

This is a Workout Tracker App created with a `MongoDB ` database and `Mongoose schema`, which handles routes with `Express`. The user can log multiple exercises in a workout on a given day as well as track the name, type, weight, sets, reps, and duration of each exercise.

App deployed on Heroku: [nosql-fitnezz-trakker](https://fitnezz-trakker.herokuapp.com/)

Repository on GitHub: [NoSQL_FitnessTracker](https://github.com/rdevans87/NoSQL_FitnessTracker)

## Table of Contents
* [User Story](#user-story)
* [Business Context](#business-context)
* [Mock Up](#mock-up)
* [Installation](#installation)
* [Usage](#usage)
* [Features](#features)
* [Resources](#resources)
* [Submitted For Review](#submitted-for-review)
* [Questions](#questions)
* [License](#license)

## User Story

```
As a user, I want to be able to view create and track daily workouts. I want to be able to log multiple exercises in a workout on a given day. I should also be able to track the name, type, weight, sets, reps, and duration of exercise. If the exercise is a cardio exercise, I should be able to track my distance traveled.
 ```
## Business Context

A consumer will reach their fitness goals more quickly when they track their workout progress.

## Mock-Up

The following screenshots demonstrate the apps functionality:

## Installation

`Node.Js` must be installed to run this application.

You'll need to set up a `MongoDB Atlas` account and connect a database to your application.

Fork or clone repository and open application.

From the command line:

run `npm init -y` to create `package.json`

`npm i` for package manager and `node_modules`

`npm i mongoose` to create path to Mongo database.

`npm i express` for web framework for node.js

`npm i morgan`  for request logger middleware.

## Usage

From the the terminal,

Run `node seeders/seed` to import the initial data set.

Run `node server` to establish a connection with `Mongo Atlas`.

Use`http://localhost:3000/` to run this application in your browser.

Users can start a new exercise routine or continue with an existing workout.

The [Features](#features) of this application are described in the next section and listed as part of the acceptance criteria for this assignment.

Save time and skip installation! For greater accessibility and ease of use, check out the deployed application on Heroku:

Visit this link: [Fitness Tracker](https://fitnezz-trakker.herokuapp.com/)

For more information on deploying with MongoDB Atlas and Heroku, please visit the [resources](#resources) section.

## Features

When the page loads, users are given the option to create a new workout or continue with their last workout.

This app includes the following features:

* Add exercises to the most recent workout plan.

* Add new exercises to a new workout plan.

* View the combined weight of multiple exercises from the past seven workouts on the `stats` page.

* View the total duration of each workout from the past seven  workouts on the `stats` page.

## Resources

[Heroku](https://www.heroku.com/) cloud-application platform

[MongoDB](https://www.mongodb.com/cloud/atlas/) NoSQL document database composed of field and value pairs.

[NodeJS](https://nodejs.org/en/) open-source, cross-platform, back-end JavaScript runtime environment.

[Mongoose](https://www.npmjs.com/package/mongoose)a MongoDB object modeling tool designed to work in an asynchronous environment. Mongoose supports both promises and callbacks.

[Express](https://www.npmjs.com/package/express) a node.js web application framework known as middleware for API creation.

[Morgan](https://www.npmjs.com/package/morgan) HTTP request logger middleware for node.js

[MongoDB documentation on the $addFields](https://docs.mongodb.com/manual/reference/operator/aggregation/addFields/) aggregate function to dynamically add up and return the total duration for each workout.
[MongoDB documentation on the $sum operator](https://docs.mongodb.com/manual/reference/operator/aggregation/sum/)

[Mongoose documentation on aggregate functions](https://mongoosejs.com/docs/api.html#aggregate_Aggregate) to learn how it can be accomplished.

[Deploy with Heroku and MongoDB Atlas](./assets/MongoAtlas-Deploy.md)

[Set Up MongoDB Atlas](./assets/MongoAtlas-Setup.md)

## Submitted For Review

* The URL to the deployed application.

* The URL to the GitHub repository.

## Questions

[GitHub Profile](https://github.com/rdevans87)

## License

[MIT LICENSE](LICENSE)


text:
## Additional data downloads
* Bokmål skip gram vectors http://vectors.nlpl.eu/repository/11/104.zip
* Norsk aviskorpus fra https://www.nb.no/sprakbanken og med den direkte lenken http://www.nb.no/sbfil/tekst/norsk_aviskorpus.zip
## Evaluation results
* Model: Skip-gram word2vec + Binary classifier
* Skewed data: 15-25% positives of the overall words
* Classifier: SVM (gaussian & linear krnls) and linear regression checked; the best score gives SVM gaussian kernel
* Words sampled by uniform dstrb

### Example (gamma=1e-2)
```
        Evaluation (test-set)
              precision    recall  f1-score   support

            0       0.96      0.97      0.97      1082
            1       0.89      0.87      0.88       321

    micro avg       0.95      0.95      0.95      1403

        Evaluation vs. training word number: 702 / 6309
        New eval words vs. total eval words: 171 / 702 (24.36%)
        1-new eval words vs. 1-total eval words: 26 / 169 (15.38%)

        Predicted vs. planned: 148 / 169 (87.57%)
        Predicted vs. planned (new words only): 5 / 26 (19.23%)
            + 14 words by virtue of generalisation
```

 Learning curve. Click to see the image

 Word embeddings approximation with PCA. Click to see the image

### Example (gamma=1e9)
```
        Evaluation (test-set)
              precision    recall  f1-score   support

            0       0.97      1.00      0.98       966
            1       1.00      0.93      0.96       465

    micro avg       0.98      0.98      0.98      1431

        Evaluation vs. training word number: 716 / 6437
        New eval words vs. total eval words: 27 / 716 (3.77%)
        1-new eval words vs. 1-total eval words: 6 / 224 (2.68%)

        Predicted vs. planned: 218 / 224 (97.32%)
        Predicted vs. planned (new words only): 0 / 6 (nan%)
            + 0 words by virtue of generalisation
```

 Learning curve. Click to see the image

 Word embeddings approximation with PCA. Click to see the image

## Summary
Bigger values of gamma produce better learning curve, but worse prediction of neighboring words (generalisation) which was the ultimate goal. Thus chosen hyper-parameters of SVM gaussian krnl:
* C = 10
* gamma = 1e-2

repository: erithion/vocabulary-predict

repo_name: erithion/vocabulary-predict


text:
[![discord](https://img.shields.io/discord/730998659008823296.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/mhj3Zsv)
[![ci-build-status](https://img.shields.io/github/workflow/status/moonstar-x/discord-free-games-notifier/CI?logo=github)](https://github.com/moonstar-x/discord-free-games-notifier)
[![open-issues-count](https://img.shields.io/github/issues-raw/moonstar-x/discord-free-games-notifier?logo=github)](https://github.com/moonstar-x/discord-free-games-notifier)
[![docker-image-size](https://img.shields.io/docker/image-size/moonstarx/discord-free-games-notifier?logo=docker)](https://hub.docker.com/repository/docker/moonstarx/discord-free-games-notifier)
[![docker-pulls](https://img.shields.io/docker/pulls/moonstarx/discord-free-games-notifier?logo=docker)](https://hub.docker.com/repository/docker/moonstarx/discord-free-games-notifier)

# Discord Free Games Notifier

A Discord bot that will notify when free games on Steam or Epic Games come out. The bot will fetch offers from Steam and Epic Games every 30 minutes and will send a notification message to the set channel once a new offer is found.

## Requirements

To self-host this bot, you'll need the following:

* [git](https://git-scm.com/)
* [node.js](https://nodejs.org/en/) (Version 12 or higher is required.)

## Installation

In order to self-host this bot, first you'll need to clone this repository.

```text
git clone https://github.com/moonstar-x/discord-free-games-notifier.git
```

Once cloned, proceed to install the dependencies:

```text
npm ci --only=prod
```

Or, if you prefer to install everything including `devDependencies`, you may run:

```text
npm install
```

After you have [configured](#configuration) your bot, you can run it with:

```text
npm start
```

## Configuration

There are two ways to configure the bot, one with a `settings.json` file inside the `config` folder or with environment variables.

Here's a table with the available options you may configure:

| Environment Variable              | JSON Property               | Required                    | Type               | Description                                                                                |
|-----------------------------------|-----------------------------|-----------------------------|--------------------|----------------------------------------------------------------------------------------------------------------------------|
| DISCORD_TOKEN                     | `token`                     | Yes.                        | `string`           | The bot's token.                                                                                |
| DISCORD_PREFIX                    | `prefix`                    | No. (Defaults to: `$`)      | `string`           | The bot's prefix. Used for the commands.                                                                                |
| DISCORD_OWNER_ID                  | `owner_id`                  | No. (Defaults to: `null`)   | `string` or `null` | The ID of the bot's owner.                                                                                |
| DISCORD_OWNER_REPORTING           | `owner_reporting`           | No. (Defaults to: `false`)  | `boolean`          | Whether the bot should send error reports to the owner via DM when a command errors.                                       |
| DISCORD_PRESENCE_REFRESH_INTERVAL | `presence_refresh_interval` | No. (Defaults to: `900000`) | `number` or `null` | The time interval in ms in which the bot updates its presence. If set to `null` the presence auto update will be disabled. |

> **Note on `Required`**: A required settings HAS to be in the JSON or environment variables.
>
> **Note on `Default`**: If a setting is missing from the JSON or environment variables, the default value takes place.
>
> * To see how to find the IDs for users or channels, you can check out [this guide](<https://github.com/moonstar-x/discord-downtime-notifier/wiki/Getting-User,-Channel-and-Server-IDs>).
> * If you don't have a Discord token yet, you can see a guide on how to get one [here](<https://github.com/moonstar-x/discord-downtime-notifier/wiki/Getting-a-Discord-Bot-Token>).

### Using the Config File

Inside the `config` folder you will see a file named `settings.json.example`, rename it to `settings.json` and replace all the properties with your own values.

Your file should look like this:

```json
{
  "token": "YOUR_DISCORD_TOKEN",
  "prefix": "!",
  "owner_id": "YOUR_USER_ID",
  "owner_reporting": false,
  "presence_refresh_interval": 900000
}
```

## Usage

You can start the bot by running:

```text
npm start
```

You'll need to configure which channel should be used for the bot to send notifications. To do this, run the command:

```text
n!setchannel <channel_mention>
```

> Replace `n!` with your actual bot prefix and `<channel_mention>` with the mention of the channel you wish to set.
>
> Make sure that the channel you're setting is viewable by the bot and that you have the `MANAGE_CHANNELS` permission.

## Commands

The following commands are available:

| Command                          | Aliases     | Description                                                                                |
|----------------------------------|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `n!help`                         | `n!h`       | Receive a message with the available commands.                                                                                |
| `n!setchannel <channel_mention>` | `n!channel` | Set the channel that should be used for the bot to send the automatic game offer announcements. The user issuing this command must have the `MANAGE_CHANNELS` permission.                                             |
| `n!disable`                      |             | Disable the automatic game offer announcements on this server. You can still use the `n!offers` command. The user issuing this command must have the `MANAGE_CHANNELS` permission.                                    |
| `n!offers <provider>`            |             | Get a list of current available offers. Replace `<provider>` with **epic** for Epic Games Store offers or **steam** for Steam offers. You can omit this argument to receive all offers from all providers supported.  |

## Docker Support

You can use the bot through Docker.

### Volumes

You may use the following volumes:

| Volume          | Description                                                                                |
|-----------------|------------------------------------------------------------------------------------------------------------------------------|
| /opt/app/config | Volume where the config file is located. Generally not necessary since you can configure the bot with environment variables. |
| /opt/app/data   | Volume where the data folder is located. Here you can find the sqlite database file. Required to set up.                     |

### Environment Variables

You can configure the bot using environment variables. To do so, check out [configuration](#configuration) for a full list of what environment variables are used.

### Starting the Container

Starting the bot's container can be done by running:

```text
docker run -it -e DISCORD_TOKEN="YOUR DISCORD TOKEN" -v "/local/folder/for/data":"/opt/app/data" moonstarx/discord-free-games-notifier:latest
```

## Add this bot to your server

You can add this bot to your server by clicking in the image below:

[![Add this bot to your server](https://i.imgur.com/SVAwPTU.png)](https://discord.com/oauth2/authorize?client_id=795561965954269205&scope=bot&permissions=2048)

> The prefix for this bot is `n!`

## Author

This bot was made by [moonstar-x](https://github.com/moonstar-x).


text:
---
scapolite:
    class: group
    version: '0.51'
id: services
id_namespace: org.ssgproject.RHEL-8
title: Services
description: <see below>
contents:
  - class: group_ref
    idref: routing
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Network Routing
  - class: group_ref
    idref: apt
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: APT service configuration
  - class: group_ref
    idref: dns
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: DNS Server
  - class: group_ref
    idref: dhcp
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: DHCP
  - class: group_ref
    idref: base
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Base Services
  - class: group_ref
    idref: obsolete
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Obsolete Services
  - class: group_ref
    idref: sssd
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: System Security Services Daemon
  - class: group_ref
    idref: http
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Web Server
  - class: group_ref
    idref: xwindows
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: X Window System
  - class: group_ref
    idref: docker
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Docker Service
  - class: group_ref
    idref: ssh
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: SSH Server
  - class: group_ref
    idref: snmp
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: SNMP Server
  - class: group_ref
    idref: mail
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Mail Server Software
  - class: group_ref
    idref: ftp
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: FTP Server
  - class: group_ref
    idref: ntp
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Network Time Protocol
  - class: group_ref
    idref: proxy
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Proxy Server
  - class: group_ref
    idref: avahi
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Avahi Server
  - class: group_ref
    idref: ldap
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: LDAP
  - class: group_ref
    idref: printing
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Print Support
  - class: group_ref
    idref: smb
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Samba(SMB) Microsoft Windows File Sharing Server
  - class: group_ref
    idref: cron_and_at
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Cron and At Daemons
  - class: group_ref
    idref: deprecated
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: Deprecated services
  - class: group_ref
    idref: nfs_and_rpc
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: NFS and RPC
  - class: group_ref
    idref: imap
    idref_namespace: org.ssgproject.RHEL-8
    ref_comment: IMAP and POP3 Server
---

## /description

The
best protection against vulnerable software is running less software.
This section describes how to review the software which Red Hat
Enterprise Linux 8 installs on a system and disable software which is
not needed. It then enumerates the software packages installed on a
default Red Hat Enterprise Linux 8 system and provides guidance about
which ones can be safely disabled.

Red Hat Enterprise Linux 8 provides a convenient minimal install option
that essentially installs the bare necessities for a functional system.
When building Red Hat Enterprise Linux 8 systems, it is highly
recommended to select the minimal packages and then build up the system
from there.


text:
Voxalia
-------

**Voxalia, a game about blocks and such.**

Built using OpenTK (a C# binding of OpenGL for the 3D rendering), BEPUphysics (a capable pure-C# physics engine), and FreneticScript (powerful and adaptive game modding).

Also used libraries:

- Open.NAT (automated port forwarding)
- Opus (network-ready voice compression)
- csogg/csvorbis (.ogg audio file handling)
- LiteDB (save file compression)
- FreneticDataSyntax (used for FreneticScript data handling and some files in Voxalia's save structure)
- lz4net (general data compression)

## Windows Install Notes

- Requires OpenAL (Run `oalinst.exe` from the assets repo)
- Requires reasonably up to date graphics drivers
- Requires a 64-bit system
- Windows build is primarily tested on Windows 10 with latest NVidia drivers.

## Linux Install Notes

- Requires mono.
- Requires LibOpus.
- Requires fully up to date non-Intel graphics drivers (Must support OpenGL 4.3).
- Requires "espeak" program/package. Must be a valid "espeak" executable in path.
- Requires a 64-bit system.
- Linux build is primarily tested on Ubuntu 16.04 with latest NVidia drivers.

## Mac Install Notes

- Should be similar to Linux requirements...
- ??? (Untested!)

## Compiling

- Open the .sln in Microsoft Visual Studio 2015
- Switch the configuration to Release|x64
- Build -> Build Solution!

## Playing

- Please CONTACT US if you wish to play the game at this time.
	- The game is not publicly available to play currently!

## Also Included

- ModelToVMDConvertor -> converts any given model format (via AssImp) to VMD, the model format used by Voxalia.
- SkeletalAnimationExtractor -> converts .dae animated models to reusable anim files.
- VoxaliaServerSamplePlugin -> a sample of a C# powered plugin for the Voxalia server.

### Licensing pre-note:

- This is an open source project, provided entirely freely, for everyone to use and contribute to.
- If you make any changes that could benefit the community as a whole, please contribute upstream.
- Also, please do not claim or sell the game (or any substantial portion of it) as your own.
	- You are, of course, still free to include small snippets of code from this game in your own projects.

### The short of the license is:

- You can do basically whatever you want (within reason), except you may not hold any developer liable for what you do with the software.

### The long version of the license follows:

The MIT License (MIT)

Copyright (c) 2016 FreneticXYZ

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.

----

----

![YourKit](https://www.yourkit.com/images/yklogo.png)

The FreneticXYZ team uses YourKit .NET Profiler to improve performance. We'd like to thank them for their amazing tool and recommend them to all .NET developers!

YourKit supports open source projects with its full-featured .NET Profiler.
YourKit, LLC is the creator of [YourKit .NET Profiler](https://www.yourkit.com/.net/profiler/index.jsp)
and [YourKit Java Profiler](https://www.yourkit.com/java/profiler/index.jsp)
innovative and intelligent tools for profiling .NET and Java applications.


text:
# Frequently Asked Questions

## Common issues

The application is very young, it is not unlikely that you encounter problems
with it.

Here are the common reported problems and their status.

### On Windows, I have no output in the console

When run in `cmd.exe`, the application does not print anything. Even `scrcpy
--help` have no output. We don't know why yet.

However, if you run the very same `scrcpy.exe` from
[MSYS2](https://www.msys2.org/) (`mingw64`), then it correctly prints output.

### On Windows, when I start the application, nothing happens

The previous problem does not help to get a clue about the cause.

The most common is your device not being detected by `adb`, or is unauthorized.
Check everything is ok by calling:

    adb devices

Windows may need some [drivers] to detect your device.

[drivers]: https://developer.android.com/studio/run/oem-usb.html

If you still encounter problems, please see [issue 9].

[issue 9]: https://github.com/Genymobile/scrcpy/issues/9

### The application does not work over `adb connect`

If the device is connected using `adb connect`, then you'll get this error:

    error: more than one device/emulator
    ERROR: "adb reverse" returned with value 1

We plan to support it in future versions. See [issue 5].

[issue 5]: https://github.com/Genymobile/scrcpy/issues/5

### Mouse clicks do not work

On many LG devices, [mouse clicks do not work][issue 18]. We're [working][pr27]
on it.

[issue 18]: https://github.com/Genymobile/scrcpy/issues/18
[pr27]: https://github.com/Genymobile/scrcpy/pull/27

### I get a black screen for some applications like Silence

This is expected, they requested to protect the screen.

In [Silence], you can disable it in settings → Privacy → Screen security.

[silence]: https://f-droid.org/en/packages/org.smssecure.smssecure/

See [issue 36].

[issue 36]: https://github.com/Genymobile/scrcpy/issues/36

### Mouse clicks at wrong location

On MacOS, with HiDPI support and multiple screens, input location are wrongly
scaled. See [issue 15].

[issue 15]: https://github.com/Genymobile/scrcpy/issues/15

A workaround is to build with HiDPI support disabled:

```bash
meson x --buildtype release -Dhidpi_support=false
```

However, the video will be displayed at lower resolution.

repository: bradparks/scrcpy

repo_name: bradparks/scrcpy


text:
# Graph Contrastive Learning with Augmentations

PyTorch implementation for [Graph Contrastive Learning with Augmentations](https://arxiv.org/abs/2010.13902) [[poster]](https://yyou1996.github.io/files/neurips2020_graphcl_poster.pdf) [[appendix]](https://yyou1996.github.io/files/neurips2020_graphcl_supplement.pdf)

Yuning You\*, Tianlong Chen\*, Yongduo Sui, Ting Chen, Zhangyang Wang, Yang Shen

In NeurIPS 2020.

## Overview

In this repository, we develop contrastive learning with augmentations for GNN pre-training (GraphCL, Figure 1) to address the challenge of data heterogeneity in graphs.
Systematic study is performed as shown in Figure 2, to assess the performance of contrasting different augmentations on various types of datasets.

![](./graphcl.png)

![](./augmentations.png)

## Experiments

* [The Role of Data Augmentation](https://github.com/Shen-Lab/GraphCL/tree/master/semisupervised_TU#exploring-the-role-of-data-augmentation-in-graphcl)
* Semi-supervised learning [[TU Datasets]](https://github.com/Shen-Lab/GraphCL/tree/master/semisupervised_TU#graphcl-with-sampled-augmentations) [[MNIST and CIFAR10]](https://github.com/Shen-Lab/GraphCL/tree/master/semisupervised_MNIST_CIFAR10)
* Unsupervised representation learning [[TU Datasets]](https://github.com/Shen-Lab/GraphCL/tree/master/unsupervised_TU) [[Cora and Citeseer]](https://github.com/Shen-Lab/GraphCL/tree/master/unsupervised_Cora_Citeseer)
* Transfer learning [[MoleculeNet and PPI]](https://github.com/Shen-Lab/GraphCL/tree/master/transferLearning_MoleculeNet_PPI)
* Adversarial robustness [[Component Graphs]](https://github.com/Shen-Lab/GraphCL/tree/master/adversarialRobustness_Component)

## Citation

If you use this code for you research, please cite our paper.

```
@inproceedings{You2020GraphCL,
 author = {You, Yuning and Chen, Tianlong and Sui, Yongduo and Chen, Ting and Wang, Zhangyang and Shen, Yang},
 booktitle = {Advances in Neural Information Processing Systems},
 editor = {H. Larochelle and M. Ranzato and R. Hadsell and M. F. Balcan and H. Lin},
 pages = {5812--5823},
 publisher = {Curran Associates, Inc.},
 title = {Graph Contrastive Learning with Augmentations},
 url = {https://proceedings.neurips.cc/paper/2020/file/3fe230348e9a12c13120749e3f9fa4cd-Paper.pdf},
 volume = {33},
 year = {2020}
}
```


text:
# trackerapp
 IoT Tracker App (uses Kivy, PythonForAndroid, Device Cloud)

## Features
For Local device (app) user:
1. Allow the user to start/ stop the tracking.
2. Geocode the home address to obtain coordinates from GoogleMap APIs.
3. Send notifications to cloud for device location (HOME, AWAY, MEASURING).
4. Get the GPS location and calculate the remaining distance from home address.
5. Send periodic notifications to cloud to track the movement.

For Remote cloud user:
1. Allow a remote user to start/ stop the tracking.
2. Configure the recipient phone number to send an SMS notification of tracking status.
3. Configure the home civic address or latitude/ longitude to track the device location.
4. Configure the access key for external services. e.g. Google Map service.
5. Configure the GPS settings on the device - interval, distance resolution.

## Getting Started
App tracks the mobile device (typically an IoT device connected to cloud services). The app is pre-configured with the following:
1. Recipient cell number (would be notified when App starts; device is home or away).
2. Latitude and Longitude values of the home address.
3. Google App Key for MapService - used to map the address to the lat/lng markers.

[App can be configured remotely from the cloud at runtime]

### Pre-requisites
The config files required by the App:
1. "iot-tracker.cfg" - IoT Device Cloud configuration
2. "app.cfg" - Recipient, home address configuration

## Installing

## Build tools

Note: App uses Python3.6 and needs some modifications to the Kivy VM from buildozer team to compile. One of the issues is to get SSL working with Crystax NDK - thanks to the P4A team for fixing it. However, at this time the fix is not available in the P4A master.

In order to create a release version follow the instructions at:
https://github.com/kivy/kivy/wiki/Creating-a-Release-APK

## Screenshots

Application starts up:

Device at home:

Device is away:

Device is approaching or leaving the home:

repository: userlabs/trackerapp

repo_name: userlabs/trackerapp


text:
---
tags: "legacy"
template: article
comments: true
author: Alex Foxleigh
title: "2017 Goals"
date: "2017-01-27"
bgPos: right
---

Each year, once the dust of the last year has settled. I like to set myself some goals, sometimes I even remember to put them down in a post such as this one. Whilst these goals may not be that interesting to other people, I find that committing them in this way makes me more accountable and makes me more likely to work towards achieving my goals.

So without further ado:

<!-- end -->

## 1 Reach 200lbs

Next year, I’m getting married and right now I’m pretty overweight. Regular readers of my blog (do I have any of those? Hi Mum!) will know that my weight is something I have been battling with for many years and at one point, I even started a YouTube challenge where I did a juice fast for a while.

2016 was a pretty landmark year for my health, I discovered that I loved the outdoors and more importantly, I discovered that my life didn’t end or even change much at all once I gave up fizzy drinks. In the past I’ve managed to cut down on my sugar intake by limiting myself to only having it at the weekends but I’ve never managed to give up an entire section of sugary treats and anyone who knows me, knows that fizzy drinks were like crack to me. I’ve now not had a single fizzy drink since October last year (actually, that’s a lie, I drank a mouthful of coke about 2 weeks ago to see if I thought it would taste different – it did, far too sweet for me now!).

My body has started to respond to this and my weight is slowly coming down, at this moment I am around 245lbs (last August I was 256lbs!). I’m hoping that my new, healthier lifestyle will mean that I don’t have to worry about yo-yoing (something that happens to me on a pretty much annual basis) but, just to make sure that I stay on a downward trajectory. I’m going to start doing some more exercise, I’ll be joining my local archery club when they re-open in a few months, I’m going to start hiking more regularly (which I love doing anyway so that shouldn’t be too hard and I am looking for a parkour class that is convenient for me to get to. If I can convince my fiancée to come with me, I also plan to start an MMA class soon).

## 2 Save £15k

The year hasn’t gotten to a great start for this one, I’m not going to lie. Thanks to an unplanned move and a hefty tax bill, my finances are pretty low at the moment, however thanks to YNAB and a bit of will-power, I am pretty sure I can bounce back by the start of March. Once this happens I plan to open an investment portfolio and work out some ways to add extra income streams to my balance sheet. I already have some cash savings (Thanks Dad!) but I’m not including that in my goal as that would be cheating.

## 3 Buy a house

Realistically, this ain’t gonna happen this year. There is no way we’re going to get a deposit together, plus as I mentioned earlier, we’ve just moved so we’ve got a 1 year rental contract anyway. However it’s still definitely a goal and you never know, perhaps I’ll get a fantastic book deal, perhaps I’ll find some buried treasure or maybe one of my income stream ideas pays of big time.

Maybe we’ll just carry on obsessively looking at RightMove and sighing for a bit longer.

## 4 Get married

Four years ago I hit the jackpot when one of my incredibly attractive, intelligent and lovely friends told me she had feelings for me, last week, I asked her to marry me, so now we’ve got a wedding to arrange!

Again, this isn’t gonna happen this year as we’ve got a lot to plan and a lot to save up for, however we still need to do the planning and the saving so this is a valid goal.

## 5 Publish a book

I’m currently writing two books, one is a novel that I’ve been working on for years (very slowly) and one is a political non-fiction book which I’ve actually finished and am now working on re-drafting.

Pretty soon I suspect it will be at a state where I can start trying to get it published. As I’ve never done this before, I have no idea how successful I’ll be and from what I’ve heard, this process is more frustrating and time-consuming than actually writing the damn book, so wish me luck!

At the end of the year, I’ll make another post to review these goals and we’ll see how I’ve done!

gha_language: JavaScript


text:
# Microsoft Graph Starter project for Android
This is the starter project used by the Android walkthrough in the [Microsoft Graph documentation](http://graph.microsoft.io).

This project has the following features already configured so you can focus on the code:

* Basic Android Studio project structure
* Dependency on required libraries
* Basic UI
* Internet permissions for the app
* Intent filter required for MainActivity

## Copyright
Copyright (c) 2016 Microsoft. All rights reserved.

repository: OfficeGSX/android-java-connect-sample

repo_name: OfficeGSX/android-java-connect-sample


text:
#Feedr

## Want to contribute?

Great!  Take a look at the CONTRIBUTING.md file for details on how to contribute

## License

Feedr is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

repository: jlaswell/feedr

repo_name: jlaswell/feedr


text:
---
rank: 3
related_endpoints: []
related_guides: []
related_pages: []
required_guides: []
related_resources: []
alias_paths:
  - /docs/build-a-box-skill
  - /page/box-skills-kit
  - /docs/creating-a-box-skill-using-the-box-skills-kit-node-sdk-and-serverless
---

# Box Skills Kit

The Box Skills Kit is a Node wrapper that is designed to abstract many of the
common complex operations required during the Box Skills development process.

These complex operation abstractions include:

* Interpreting and extracting relevant data from the notification payload sent
from Box.
* Making authenticated calls using the downscoped tokens in the
[Skills event payload](guide://skills/handle/payload) to download the file
stored in Box.
* Simplifying the operations around storing metadata back to the file stored in
Box.

For a complete overview of the Node Box Skills kit, see the
[GitHub documentation][github-skills-kit].

[github-skills-kit]: https://github.com/box/box-skills-kit-nodejs/tree/master/skills-kit-library


text:
# MultiMediaProject 2a CheckWata

CheckWata is a webproject, where you get the worldwide water consumption and allows you to check your own one. Moreover you get some tipps to decrease your water consumption.

## Team
Clemens Gasser

Elias Cia

Martina Neureiter


text:
# PhotoHolic-
An mini-social-networking-site, photo-posting site built using NodeJS and MySQL database.

A video demonstrating the app can be found [here](https://youtu.be/IGPC2egnrCg) (Preferably at 2X)

## Installation-Requirements
```
Node
MySQL
MySQL Workbench (A matter of prefernce and ease)
```

## To become a Photoholic:
```
clone this repository
Run the SQL scripts provided in MySQLDatabase folder on your own MYSQL CLI or Workbench to create your copy of the database
Change the credentials - name and password of the database- in app.js and all the other .js files refactored into the routes directory
'npm install' to install all dependencies
nodemon app.js
```
Open your favorite browser and browse to ```localhost:3000/``` to get the hang of Photoholicism

This Project was made collectively by
[Rahmeen Habib](https://www.github.com/rahmeen14) and [Akshita Aggarwal](https://www.github.com/akshitaag) as a part of Database Management System End-Semester Project for the Second Semester, 2017 at Netaji Subhas Institute of Technology.

gha_language: HTML


text:
# Dynamic Ingest Examples

Example scripts and code for creating Dynamic Ingest jobs in various languages

Notes
1. This script runs on Python 2.x - it will not run on Python 3.x without modifications
2. The script assumes that the video source file will be in the same directory as the script.To upload videos from a different directory, you will need to modify the script

gha_language: Java


text:
# Node File Trace

[![Build Status](https://circleci.com/gh/zeit/node-file-trace.svg?&style=shield)](https://circleci.com/gh/zeit/workflows/node-file-trace)
[![codecov](https://codecov.io/gh/zeit/node-file-trace/branch/master/graph/badge.svg)](https://codecov.io/gh/zeit/node-file-trace)

Node file tracer used in now-node to determine exactly which files (including from node_modules) are necessary for the application runtime.

## Usage

### Installation
```bash
npm i @zeit/node-file-trace
```

### Usage

Provide the list of source files as input:

```js
const nodeFileTrace = require('@zeit/node-file-trace');
const files = ['./src/main.js', './src/second.js'];
const { fileList } = await nodeFileTrace(files);
```

The list of files will include all `node_modules` modules and assets that may be needed by the application code.

### Options

#### Base

The base path for the file list - all files will be provided as relative to this base.

By default the `process.cwd()` is used:

```js
const { fileList } = await nodeFileTrace(files, {
  base: process.cwd()
}
```

Any files below the `base` are ignored in the listing and analysis.

#### Ignore

Custom ignores can be provided to skip file inclusion (and consequently analysis of the file for references in turn as well).

```js
const { fileList } = await nodeFileTrace(files, {
  ignore: ['./node_modules/pkg/file.js']
});
```

Ignore will also accept a function or globs.

Note that the path provided to ignore is relative to `base`.

#### Reasons

To get the underlying reasons for individual files being included, a `reasons` object is also provided by the output:

```js
const { fileList, reasons } = await nodeFileTrace(files);
```

The `reasons` output will then be an object of the following form:

```js
{
  [file: string]: {
    type: 'dependency' | 'asset' | 'sharedlib',
    ignored: true | false,
    parents: string[]
  }
}
```

`reasons` also includes files that were ignored as `ignored: true`, with their `ignoreReason`.

Every file is included because it is referenced by another file. The `parents` list will contain the list of all files that caused this file to be included.

repository: tylerc/node-file-trace

repo_name: tylerc/node-file-trace


text:
# Fingerprinty
Fingerprinty is a library providing its users with various kinds of machine fingerprints. The library is .NET Standard and works with Windows and Linux albeit to a different extent.

Fingerprinty is available from NuGet.org: [![NuGet version (Fingerprinty)](https://img.shields.io/nuget/v/Fingerprinty.svg?style=flat-square)](https://www.nuget.org/packages/Fingerprinty/)

## Supported Fingerprint Providers
|Fingerprint Provider|Description|Supported Platforms|
|---|---|---|
|`AllMacAddressesFingerprintProvider`|Provides fingerprint based on all MAC addresses of all network cards on the machine.|Windows and Linux|
|`MachineNameFingerprintProvider`|Provides fingerprint based on the machine name. |Windows and Linux|
|`DriveFingerprintProvider`|Provides fingerprint based on serial number of disk on which C drive is located.|Windows|
|`AllDrivesFingerprintProvider`|Provides fingerprint based on serial numbers of all installed hard drives.|Windows|
|`WindowsProductIdFingerprintProvider`|Provides fingerprint based on Windows ProductId.| Windows|
|`ProcessorIdFingerprintProvider`|Provides fingerprint based on all processors ids. For single CPU it is based on single id, the CPU cores' number is not relevant.|Windows|
|`MotherboardFingerprintProvider`|Provides fingerprint based on motherboard's serial.|Windows|

## Fingerprint Format
The default fingerprint format is matching `[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}` regex. For example `a035-1234-acda-09df`.
This format can be overriden by providing custom implementations of `FingerprintFactory` and `Fingerprint` classes.

## DI Support
Fingerprinty is DI container agnostic. You can register the `FingerprintProviderFactory` as singleton (the class is stateless) or use `FingerprintProviderFactory.Default` property to access a static instance.
Each `FingerprintProvider` has a public constructor and they can be registered separately in the containter of your choice.

# Examples
## Get Fingerprint of Current Machine
```csharp
var provider = FingerprintProviderFactory.Default.CreateMachineNameProvider();
var fingerprint = provider.Get();
var fingerprintText = fingerprint.ToString(); //e.g. adc2-2387-d2a0-022c
```

## Check Supported Platforms
```csharp
var provider = FingerprintProviderFactory.Default.CreateAllMacAddressesProvider();
var supportedPlatforms = provider.SupportedPlatforms; //SupportedPlatforms.Linux | SupportedPlatforms.Windows
```

## Custom Fingerprint Format
If you would like to provide a custom fingerprint format you need to override two classes `FingerprintFactory` and `Fingerprint`.
```csharp
public class CustomFingerprintFactory : FingerprintFactory
{
  public override Fingerprint Create(byte[] bytes)
  {
    //custom code goes here
  }

  //the Fingerprint Create(string text) will by default call the byte[] version internally. It's however possible to override this method as well
}
```
In the `Fingerprint` class there is protected constructor which accepts a `string` and a `Func<string, bool>` which validates the first argument. Use it in the custom implementations. For example:
```csharp
public class AlwaysValidFingerprint : Fingerprint
{
  public AlwaysValidFingerprint(string value) : base(value, x => true)
  {
  }
}
```
Each `FingerprintProvider` accepts instance of `FingerprintFactory` in its constructor.
```csharp
var provider = new MachineNameFingerprintProvider(CreateSha512FingerprintFactory());
```

# Build Status
![CI](https://github.com/melchiork/Fingerprinty/workflows/CI/badge.svg)
![Create NuGet package](https://github.com/melchiork/Fingerprinty/workflows/Create%20NuGet%20package/badge.svg)


text:
# Scala.js typings for winston

Typings are for version 3.8.2

## Library description:
A logger for just about everything.

|                    |                 |
| ------------------ | :-------------: |
| Full name          | winston |
| Keywords           | winston, logger, logging, logs, sysadmin, bunyan, pino, loglevel, tools, json, stream |
| # releases         | 12 |
| # dependents       | 0.0 |
| # downloads        | 3.7547732666666664E7 |
| # stars            | 19899.0 |

## Links
- [Homepage](https://github.com/winstonjs/winston#readme)
- [Bugs](https://github.com/winstonjs/winston/issues)
- [Repository](https://github.com/winstonjs/winston)
- [Npm](https://www.npmjs.com/package/winston)

## Note
This library has been generated from typescript code from first party type definitions.

Provided with :purple_heart: from [ScalablyTyped](https://github.com/oyvindberg/ScalablyTyped)

## Usage
See [the main readme](../../readme.md) for instructions.

repository: ScalablyTyped/Distribution

repo_name: ScalablyTyped/Distribution


text:
# Hysterangium violaceum E. Horak, 1964 SPECIES

#### Status
SYNONYM

#### According to
The Catalogue of Life, 3rd January 2011

#### Published in
Sydowia 17: 198 (1964)

#### Original name
Hysterangium violaceum E. Horak, 1964

### Remarks
null

repository: mdoering/backbone

path: /life/Fungi/Basidiomycota/Agaricomycetes/Hysterangiales/Gallaceaceae/Hallingea/Hallingea violacea/ Syn. Hysterangium violaceum/README.md

repo_name: mdoering/backbone


text:
The 4th component is automatically expanded to 1.0 when it is absent.

That is to say, if you pass a 3-dimensional vertex attribute pointer to a 4-dimensional vector, GL will fill-in W with 1.0 for you. I always go with this route, it avoids having to explicitly write vec4 (...) when doing matrix multiplication on the position and it also avoids wasting memory storing the 4th component.

This works for 2D coordinates too, by the way. A 2D coordinate passed to a vec4 attribute becomes vec4 (x, y, 0.0, 1.0). The general rule is this: all missing components are replaced with 0.0 except for W, which is replaced with 1.0.

https://stackoverflow.com/questions/18935203/shader-position-vec4-or-vec3

repository: JuwanXu/fugo

repo_name: JuwanXu/fugo


text:
# nixos-update-status

This is a simple program to print the current system update status on NixOS. It is primarily meant to be used with toolbars like polybar and awesome.

If your system is fully updated, it will by default print out "synced", and "unsynced ($)" if it's outdated (where the $ represents how many channel bumps have been missed).

If you care about keeping track of every missed channel bump, the program will need to be ran at least once every 4 hours.

# Building

## NixOS Users

There is a package definition [here](https://github.com/Acizza/nixos-config/blob/desktop/overlays/pkgs/nixos-update-status.nix) that can be used to build the program. Alternatively, you can run `nix-shell` and then `cargo build --release` in the project directory to build it manually. The compiled binary will be located in the `target/release/` folder.

## Manually

This project requires the following dependencies:

* A recent stable version of Rust
* pkg-config

In most cases, pkg-config should already be installed. If your distribution does not provide a recent version of Rust, you can obtain the latest version [here](https://rustup.rs/).

Once the dependencies are installed, you can build the project simply by running `cargo build --release` in the project directory. Once compilation is complete, you will find the compiled binary in the `target/release/` folder. None of the other files in that directory need to be kept.

# Usage

The only required argument for the program is which NixOS channel to use. You can see which channel(s) your system is currently following by running `nix-channel --list`, and see all channels by viewing https://status.nixos.org. Only one channel can be followed by the program at a time, and supplying a different one will overwrite the number of missed updates.

For example, the following command would launch the program and track the `nixos-unstable-small` channel:
`nixos-update-status nixos-unstable-small`.

## Custom Messages

You can change what message to display when the system is synced or unsynced with the following flags:

| Flag | Description |
| ---- | ----------- |
| `-s` | The message to display when the system is synced to the desired channel. |
| `-u` | The message to display when the system is out of sync with the desired channel. All instances of `$` will be replaced with the number of missed updates. |

For example:

`nixos-update-status nixos-unstable-small -s "The system is synced!" -u "Out of sync by $ update(s)!"`

repository: Acizza/nixos-update-status

repo_name: Acizza/nixos-update-status


text:
---
uid: GoodUnitTests
---

# Good Unit Tests

A basic unit test:

* is automated
* is repeatable
* does not depend on the environment
* does not depend on other unit tests
* does not depend on external data
* does not have side effects

A good unit test:

* asserts the results of your code
* tests a single unit of work
* covers all the paths of the code you want to test
* cleans up after itself

A better unit test:

* tests and asserts edge cases and different ranges of data
* runs fast
* is well-factored
* reveals intention
* is short

## A Basic Unit Test

These traits should exist in all unit tests. Any unit test that is missing any of these traits can be considered a bad unit test and should be fixed.

### Is Automated

You get this one for free when using a unit test framework, obviously. However, it still should be said that it's necessary to automate unit tests. Doing "manual developer testing" does not count as unit testing, and when you find yourself doing this you should consider writing an automated unit test instead.

### Is Repeatable

You need to be able to run a unit test over and over again, obtaining the same results every time. A unit test that produces random results each time it is run is not a useful unit test.

### Does not Depend on the Environment

This means it shouldn't rely on environment variables, use specific hardware, rely on the file system or external services, require specific accounts or any other environmental aspect that would prevent the unit test from being run by anyone on any machine.

### Does not Depend on Other Unit Tests

Each unit test needs to be executable in isolation. This allows individual tests to be run instead of requiring the entire suite to be run, as well as ensures changes to the suite don't cause false failures.

### Does not Depend on External Data

It's important that unit tests be entirely self contained. This trait doesn't mean you can't have data driven unit tests, rather it means the data needs to be a part of the test, and not obtained from some external source.

### Does not Have Side Effects

 A unit test with side effects is not likely to be repeatable and may well interfere with other tests.

## A Good Unit Test

These traits elevate a test from basic status to being considered good unit tests.

### Asserts the Results of Your Code

In other words, they test the observable behavior of your code, rather than test the code's implementation. A good unit test simply tests that for a given input you obtain a given output. Note, however, that by input and output we are not limiting ourselves to method parameters and return values. If it's vital that some method creates a specific log message, that is a an output that can (and should) be tested.

### Tests a Single Unit of Work

A good unit test should not test multiple things at the same time. This means more than just testing for a single result, but rather means what's being tested should be tested in isolation. For instance, if testing the behavior of adding an item to a shopping cart object, the test should isolate that object from any persistence object that may be used to store the item on disk. These are unit tests, not integration tests.

### Covers all the Paths of Code You Want to Test

In other words, you have high code coverage. However, it should be noted that the arbitrary goal of having 100% code coverage in order to ensure quality is a fallacy. You can have 100% coverage and still have numerous bugs, while conversely you can have 50% coverage and have reasonable coverage with no bugs. You should know when your tests are sufficient without the need for arbitrary coverage water marks.

### Cleans Up After Itself

If the test makes any changes that could be observable from other tests, or from another run of this test, then those changes should be rolled back before the test finishes.

## A Better Unit Test

Really good unit tests go even further and exhibit the following traits.

### Tests and Asserts Edge Cases and Different Ranges of Data

Most errors occur at the boundaries. Good unit tests will test for usage with null values for reference types and minimum and maximum values for comparable types.

### Runs Fast

A general rule of thumb for fast is less than 100 ms, but the faster the better. Tests are not generally run in isolation, but rather run as a part of a test suite. A test that takes a second might not seem like a big deal, but since most test suites will grow to be in the thousands it doesn't take much for these slower tests to result in test runs that take far too long to be useful, and are likely to lead developers to remove the tests are stopped testing entirely.

### Is Well-Factored

This means the test is highly readable and doesn't hide information. Note, however, that test code is different from production code and some factorings that would be appropriate in production code are not appropriate in test code. Everything relevant to the test needs to be clearly visible within the test method and not factored out to other methods or abstractions. Non-relevant but necessary code can (and should) be factored out, however.

### Reveals Intention

Good unit tests make it obvious what the test is doing and why it exists. This is important for the developers who have to fix a failing test after a regression is introduced during a refactoring of the production code. Further, unit tests should also be a form of documentation, and thus need to be revealing.

### Is Short

A unit test should be less than a dozen lines of code, and the fewer lines of code the better. Longer tests are likely less revealing and are much harder to maintain.

repository: wekempf/testify

repo_name: wekempf/testify


text:
*Items* can be assigned to groups. A group is an *Item* of type "Group".

Group Items can derive their own state from their member Items. To derive a state the Group Item must be constructed using a base Item type and a Group function. When calculating the state, Group functions recursively traverse the Group's members and also take members of subgroups into account. If a subgroup however defines a state on its own (having base Item & Group function set) traversal stops and the state of the subgroup member is taken.

Group functions may take arguments.

For example the function "All state S1 ⊶ S1" takes two arguments (two states).
If the first argument is ON and the second OFF,
the group will appear as ON if all of its switch-based members are ON otherwise it will be OFF.

See also the [Documentation on Items](https://www.openhab.org/docs/concepts/items.html#derive-group-state-from-member-items).

repository: Schnilz/paperui-ng

repo_name: Schnilz/paperui-ng


text:
# Sublime Contrib Golinters

`sublimelinter-contrib-golinters` provides an interface to both `golint`, and `gometalint` that is compatible with SublimeLinter. Unlike other linters, this one does not prefer one, or the other, and is compatible with both of the linters, all you need to do is adjust the command, and win.

## Help
### `go mod` (`GO111MODULE`)?

If you are using `go mod` you will need to create a wrapper, because of the way that SublimeLinter works.  It would seem that the `env` option doesn't work that well from settings, and we are unable to easily set the env.  Your wrapper should just wrap like below (typically I put this file in `~/.bin/subl-golint`)

```bash
#!/bin/bash
export GO111MODULE=auto
"$@"
```

Then in your settings do

```json
{
  "linters": {
    "golint": {
      "executable": "/Users/user/.bin/subl-golint",
      "args": [
        "gometalinter",

        "--fast",
        "--vendor",
        "--disable-all",
        "--tests",

        "--enable=gosec",
        "--enable=golint",
        "--enable=errcheck",
        "--enable=ineffassign",
        "--enable=vetshadow",
        "--enable=goconst",
        "--enable=gocyclo",
        "--enable=deadcode",
        "--enable=safesql",
        "--enable=vet"
      ]
    }
  }
}
```

***Notice how "gometalinter" is the first argument.  This should always be the case when replacing the exectuable, (in that it should be `golint`, or `gometalinter` so that we can send `--include` with the path of the file, or append the file. We will also remove that argument so that you don't have to account for it in your wrapper... or executable.****


text:
# youtube-uploader

A NodeJS library that uploads videos to youtube account

- The method accepts a properties param, a success callback, and failure callback. the properties param is an object the can consist of the following:

| Property       | Description                                                                |
|----------------|----------------------------------------------------------------------------|
| CLIENT_ID*     | provided in google cloud console                                           |
| CLIENT_SECRET* | provided in google cloud console                                           |
| REDIRECT_URL*  | The redirect URL you provided in google cloud console after consent screen |
| accessToken*   | from GCP oAuth2                                                            |
| refreshToken*  | from GCP oAuth2                                                            |
| title*         | The title of the video                                                     |
| media*         | readable Video stream                                                      |
| description    | The Description of the video                                               |
| privacyStatus  | the value can be either 'public' or 'private' video                        |

# Example
    const accessToken="put accessToken here"
    const refreshToken="put refreshToken here"
    const media = fs.createReadStream("test.mp4")
    const REDIRECT_URL="REDIRECT_URL here"
    const CLIENT_ID="put CLIENT_ID here"
    const CLIENT_SECRET="put CLIENT_SECRET here"
    const title="test"
    const description=""

    youtubeUploader(
        {
        description,
        title,
        accessToken,
        refreshToken,
        CLIENT_ID,
        CLIENT_SECRET,
        REDIRECT_URL,
        media,
        },
        onSuccess,
        onError)

- For more information on how to get the client secret and id visit the following links:
    - https://developers.google.com/identity/protocols/oauth2
    - https://developers.google.com/youtube/v3/quickstart/js

repository: suhaibkhater/youtube-uploader

repo_name: suhaibkhater/youtube-uploader


text:
## owrap

Javascript object wrapper that makes handling deeply nested field configurations easy.

### Tests
```bash
npm test
```

### Usage
Say you have an object
```javascript
{
  _id: "AnId",
  field1: {
    $ref: "AnotherObject",
    data: "AnotherId"
  }
  field2: {
    $type: "virtual",
    fn: function(){
      return this.field1;
    }
  }
}
```
We can define control fields for any number of fields in an object, but parsing and interpreting these
control fields ad-hoc can get messy. Instead, we can use a configured instance of owrap to easily resolve
these objects.  Owrap searches and resolves deeply nested fields too.

```javascript
oWrap = require("owrap")();

//tell oWrap to always run a
oWrap.on('field:_id', function(field) {
  console.log("Doing something with", field);
  return "SomeOtherVal";
});

//if it's a control field, the whole object value is passed to the function.
oWrap.on('control:$type', function(obj) {
  if(obj.$type == 'virtual') {
    //do something

  } else {
    //do something else
  }
  return "someOtherValue";
});

//we can even load events on more granular control types
oWrap.on('control:$type:virtual', function(obj) {
  //do some operation on only virtual types
  return "someOtherValue";
});
```
now if we have some object let's wrap it and resolve.
```javascript
var obj = {/* some object with control fields */};

var transformedObj = oWrap.resolve(obj);
```

repository: classdojo/owrap

repo_name: classdojo/owrap


text:
# My Porfolio

A repo that contains javascript hidden bugs which are to be found and fix using the web developer tools

## Screenshots

## Built With

- HTML
- CSS

## Demo

https://wuyepabdul.github.io/microverse-porfolio/
## Getting Started

Clone the project

```bash
  git clone https://github.com/wuyepabdul/microverse-porfolio
```

Go to the project directory

```bash
  cd hello-microverse
```

Run the project

```bash
  Right click and choose Open file in browser or live server

```

## Authors

- GitHub:[@Wuyep Abdul](https://www.github.com/wuyepabdul)
- GitHub: [@ifnotlily](https://github.com/ifnotlily)

## License

This project is [MIT](https://choosealicense.com/licenses/mit/) licensed

repository: wuyepabdul/bugs-hide-seek

repo_name: wuyepabdul/bugs-hide-seek


text:
---
hrs_structure:
  division: '1'
  volume: '7'
  title: '20'
  chapter: 350E
  section: '350E-5'
type: hrs_section
tags:
  - Government
menu:
  hrs:
    identifier: HRS_0350E-0005
    parent: HRS0350E
    name: 350E-5 Entering agreements with other states
weight: 24025
title: Entering agreements with other states
full_title: 350E-5 Entering agreements with other states
---
**[§350E-5] Entering agreements with other states.** The officers and agencies of this State and its subdivisions having authority to place children may enter into agreements with appropriate officers or agencies of or in other party states pursuant to paragraph (b) of Article V of the Interstate Compact on the Placement of Children. Any such agreement which contains a financial commitment or imposes a financial obligation on this State or subdivision or agency thereof shall not be binding unless it has the approval in writing of the director of finance in the case of the State and of the chief local fiscal officer in the case of a subdivision of the State. [L 1985, c 132, pt of §1]

repository: SamMade/BlueAndKrabby

repo_name: SamMade/BlueAndKrabby


text:
# PyHavamal

The [Hávamál](https://en.wikipedia.org/wiki/H%C3%A1vam%C3%A1l) is an Old Norse poem in which each stanza is a saying. The topics range from proper feast decorum to dealing with sorcerers. PyHavamal provides easy access to the text of a [translation by Henry Adams Bellows](https://en.wikisource.org/wiki/Poetic_Edda/H%C3%A1vam%C3%A1l).

# Installation

Use `pip install pyhavamal`.

# Use

There are 165 stanzas in the Bellows translation numbered 1-165.

- `all()` returns a list of all stanzas. Pass `numbered=True` to return a dict of numbered stanzas.
- `find_by_number(n)` returns stanza n (where n is the stanza number and not zero-based).
- `random()` returns a random stanza.
- `range_by_number(a, b)` returns a list of stanzas from a to b inclusive (where a and b are stanza numbers and not zero-based).

# License

[MIT License](LICENSE)

repository: equinlan/pyhavamal

repo_name: equinlan/pyhavamal


text:
# SYNOPSIS

🏗 Prebuilt version of `node-canvas` (2.6.0) for use with AWS Lambda (Amazon Linux AMI support).

## USAGE

Install this node module in the root of your Lamba function's directory.

```sh
git clone https://github.com/joemccann/node-canvas-prebuilt-for-lambda.git
```

In the root of your Lambda function's directory, you need to replace the local version of `node-canvas` with the Amazon Linux AMI supported version.

First, create the directory in the rare case it doesn't exist.

```sh
mkdir -p /path/to/your/lambda/node_modules/canvas/build/Release/
```

Copy over the local version of `node-canvas`

```sh
cp -r /path/to/your/lambda/node_modules/node-canvas-prebuilt-for-lambda/ /path/to/your/lambda/node_modules/canvas/
```

The prebuilt binary is now in place.

> NOTE: If you see some missing dependencies upon deploying, just `npm install` them.

## DEPLOYMENT

No matter how you deploy your Lambda function, whether with AWS CLI or some other tool, you will need to include the `node_modules/canvas` in the zip file.

For example, if your lambda function is in the file `index.js` you will need to zip your `index.js` and `node_modules/` into the zip file itself. This will bloat your Lambda but _c'est la vie_.

```sh
zip -r function.zip index.js node_modules/
```

Now, deploy it the first time or update the code depending on if you are updating to a new versio of the lambda itself.

To create for the first time:

```sh
aws lambda create-function --function-name my-function \
--zip-file fileb://function.zip --handler index.handler --runtime nodejs10.x \
--role arn:aws:iam::1337:role/Lambdas
```

To update the Lambda going forward:

```sh
aws lambda update-function-code --function-name my-function \
--zip-file fileb://function.zip
```

> NOTE: You will need to create a Lambda CLI approved role to create and update Lambda functions. If you haven't already, go here to create the role: [Create Lambda CLI role](https://docs.aws.amazon.com/lambda/latest/dg/with-userapp.html#with-userapp-walkthrough-custom-events-create-iam-role)

Test it by invoking the function:

```sh
aws lambda invoke --function-name my-function output | cat output
```

You should see something like:

`"<img src="\"data:image/png;base64,asdfadsfasdfadsfadsfads......\"" />"`

## SUPPORT

To do this yourself, `npm i canvas@next` on your Amazon Linux AMI EC2 server, then zip that entire `node_modules` directoy into a file named `node-canvas.zip`, download, and unzip here:

```sh
unzip -r node-canvas.zip
```

> NOTE: This requires an additional download due to a [bug](https://github.com/Automattic/node-canvas/issues/1448) in Lambda's version of Linux.

```sh
wget https://github.com/jwerre/node-canvas-lambda/raw/master/canvas-lib64-layer.zip
```

These files should be unzipped in the `node_modules/canvas/build/Release/` folder.

```sh
unzip canvas-lib64-layer.zip
mv lib/* node_modules/canvas/build/Release/
```

Read more here: [node-canvas-layer](https://github.com/jwerre/node-canvas-lambda)

> This repo only supports Node.js version `10.15`, the most recent version of Node.js that is officially supported by AWS Lambda.

## LICENSE

MIT


text:
# Caffe instalation

Caffe is a deep learning framework made with expression, speed, and modularity in mind. It is developed by the Berkeley Vision and Learning Center (BVLC) and by community contributors. Yangqing Jia created the project during his PhD at UC Berkeley. Caffe is released under the [BSD 2-Clause license](https://github.com/BVLC/caffe/blob/master/LICENSE).

## 1. General dependencies
```bash
> sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
> sudo apt-get install --no-install-recommends libboost-all-dev
> sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev
```
## 2. Download caffe

Create a directory where you would like to install caffe. For all future reference, this will be called the <caffe-home>
From inside the **<caffe-home>** directory, execute the following commands :
```bash
> mkdir Caffe_Folder; cd Caffe_Folder
> git clone https://github.com/BVLC/caffe.git
> cd caffe
> cp Makefile.config.example Makefile.config
```
## 3. Install Open-BLAS

BLAS, Low levels routines for performing common linear algebra operations such as vector addition, scalar multiplication, dot products, linear combinations and matrix multiplications. They are de facto standard low-level routines for linear algebra libraries. These routines have binding for both C and Fortran.
```bash
> sudo apt-get install libopenblas-dev

> cd src
> git clone https://github.com/xianyi/OpenBLAS
> cd OpenBLAS
> make FC=gfortran
> sudo make PREFIX=/opt/openblas install
```
Finally, you have to let your system know about these new libraries.
Add a file to /etc/ld.so.conf.d/ called openblas.conf, containing the path to your new libraries (/opt/openblas/lib):

```bash
> sudo echo "/usr/local/lib" > /etc/ld.so.conf.d/openblas.conf
> sudo ldconfig.
```

## 4. Install OpenCV

OpenCV has C++, C, Python and Java interfaces and supports Windows, Linux, Mac OS, iOS and Android. OpenCV was designed for computational efficiency and with a strong focus on real-time applications. Written in optimized C/C++, the library can take advantage of multi-core processing

```bash
[compiler] > sudo apt-get install build-essential
[required] > sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
[optional] > sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev

[compiler] > sudo apt-get install build-essential
[required] > sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
[optional] > sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev

> cd ..
```

Download latest release from: [http://opencv.org/downloads.html]

```bash
> cd opencv
> mkdir release
> cd release
> cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
> make
> sudo make install
> sudo echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv.conf
> sudo ldconfig
```
**If** after installing it, got this error: *libdc1394 error: Failed to initialize libdc1394*, run
```bash
> sudo ln /dev/null /dev/raw1394
```

At this point you should be able to *import cv2* when run `python` in the terminal, with no errors.

## 5. Install Boost

Boost provides free peer-reviewed portable C++ source libraries.

*It was previoulsy installed*

## 6. Setting caffe

In the ~/caffe folder, edit *Makefile.config*. Here it is importante set options since we do not want to use GPU (*We do not have one :(*). Uncomment the line **`CPU_ONLY := 1`**. It is most probably at line 8. As we are using *OpenBLAS*, it requires to modify line 38, and put **`BLAS := open`**. Be aware of python path and dir, also matlab path if needed.
```bash
> make all
> make test
> make runtest
> make pycaffe
> make distribute
```
If matlab-caffe is needed, run `make matcaffe` instead of `make pycaffe`

### Note

**If** got this error when run *make all*:
```bash
> CXX/LD -o .build_release/tools/upgrade_net_proto_binary.bin
> .build_release/lib/libcaffe.so: referencia a `cv::imread(cv::String const&, int)'
```
Add these commands to *Makefile* at line 174 LIBRARIES += glog...
```bash
> opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs
```
Then:
> `make clean`

Try again.

## 7. Add PYTHON path

```bash
> echo export PYTHONPATH=~/path/to/caffe/python:$PYTHONPATH >> ~/.bashrc
```
At this point you should be able to *import caffe*, when run `python` in the terminal, with no errors.

### Note
**If** got this error after `import caffe`: *ImportError: No module named skimage.io*

Try next:

* ``` sudo apt-get install python-pip ```
* [optional] Download Anaconda from [https://www.continuum.io/downloads]
* [Optional] Locate Anaconda and run `bash Anaconda-2.3.0-Linux-x86_64.sh` (Or any version released at this moment)
* ``` sudo apt-get install libatlas-base-dev gfortran ```
* ``` sudo pip install scipy (Takes a couple of minutes) ```
* ``` sudo pip install scikit-image ```
* ``` [Optional] sudo pip install pandas ```

**Now you should be able to import caffe**

## 8. Install ipython and notebook

###   8.1. Download the GoogLeNet model and clone the deepdream GitHub repository.

```bash
> cd ~/Caffe_Folder
> wget http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel
> mv bvlc_googlenet.caffemodel caffe/models/bvlc_googlenet
> git clone https://github.com/google/deepdream.git
```

###   8.2. Install the dependencies

```bash
> sudo pip install protobuf
> sudo apt-get install ipython
> sudo apt-get install ipython-notebook
> sudo pip install jupyter
```

###   8.3. Run the IPython Notebook

Now, inside *deepdream* folder run on terminal:
**`ipython notebook`**

then click on `dream.ipynb` and you will see an example.

repository: marc-gorriz/caffe-installation

repo_name: marc-gorriz/caffe-installation


text:
# Contributing

First of all, thank you for contributing to Meilisearch! The goal of this document is to provide everything you need to know in order to contribute to Meilisearch and its different integrations.

- [Assumptions](#assumptions)
- [How to Contribute](#how-to-contribute)
- [Development Workflow](#development-workflow)
- [Git Guidelines](#git-guidelines)
- [Release Process (for internal team only)](#release-process-for-internal-team-only)

## Assumptions

1. **You're familiar with [GitHub](https://github.com) and the [Pull Request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests) (PR) workflow.**
2. **You've read the Meilisearch [documentation](https://www.meilisearch.com/docs) and the [README](/README.md).**
3. **You know about the [Meilisearch community](https://discord.com/invite/meilisearch). Please use this for help.**

## How to Contribute

1. Make sure that the contribution you want to make is explained or detailed in a GitHub issue! Find an [existing issue](https://github.com/meilisearch/meilisearch-js/issues/) or [open a new one](https://github.com/meilisearch/meilisearch-js/issues/new).
2. Once done, [fork the meilisearch-js repository](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) in your own GitHub account. Ask a maintainer if you want your issue to be checked before making a PR.
3. [Create a new Git branch](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-and-deleting-branches-within-your-repository).
4. Review the [Development Workflow](#development-workflow) section that describes the steps to maintain the repository.
5. Make the changes on your branch.
6. [Submit the branch as a PR](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork) pointing to the `main` branch of the main meilisearch-js repository. A maintainer should comment and/or review your Pull Request within a few days. Although depending on the circumstances, it may take longer.

 We do not enforce a naming convention for the PRs, but **please use something descriptive of your changes**, having in mind that the title of your PR will be automatically added to the next [release changelog](https://github.com/meilisearch/meilisearch-js/releases/).

## Development Workflow

### Requirements

To run this project, you will need:

- Node.js >= v14 and node <= 18
- Yarn

### Setup

You can set up your local environment natively or using `docker`, check out the [`docker-compose.yml`](/docker-compose.yml).

Example of running all the checks with docker:
```bash
docker-compose run --rm package bash -c "yarn install && yarn test && yarn lint"
```

To install dependencies:

```bash
yarn --dev
```

### Tests and Linter

Each PR should pass the tests and the linter to be accepted.

```bash
# Tests
curl -L https://install.meilisearch.com | sh # download Meilisearch
./meilisearch --master-key=masterKey --no-analytics # run Meilisearch
yarn test
# Linter
yarn style
# Linter with fixing
yarn style:fix
# Build the project
yarn build
```

## Git Guidelines

### Git Branches

All changes must be made in a branch and submitted as PR.
We do not enforce any branch naming style, but please use something descriptive of your changes.

### Git Commits

As minimal requirements, your commit message should:
- be capitalized
- not finish by a dot or any other punctuation character (!,?)
- start with a verb so that we can read your commit message this way: "This commit will ...", where "..." is the commit message.
  e.g.: "Fix the home page button" or "Add more tests for create_index method"

We don't follow any other convention, but if you want to use one, we recommend [this one](https://chris.beams.io/posts/git-commit/).

### GitHub Pull Requests

Some notes on GitHub PRs:

- [Convert your PR as a draft](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/changing-the-stage-of-a-pull-request) if your changes are a work in progress: no one will review it until you pass your PR as ready for review.

  The draft PR can be very useful if you want to show that you are working on something and make your work visible.
- The branch related to the PR must be **up-to-date with `main`** before merging. Fortunately, this project [integrates a bot](https://github.com/meilisearch/integration-guides/blob/main/resources/bors.md) to automatically enforce this requirement without the PR author having to do it manually.
- All PRs must be reviewed and approved by at least one maintainer.
- The PR title should be accurate and descriptive of the changes. The title of the PR will be indeed automatically added to the next [release changelogs](https://github.com/meilisearch/meilisearch-js/releases/).

## Release Process (for the internal team only)

Meilisearch tools follow the [Semantic Versioning Convention](https://semver.org/).

### Automation to Rebase and Merge the PRs

This project integrates a bot that helps us manage pull requests merging.

_[Read more about this](https://github.com/meilisearch/integration-guides/blob/main/resources/bors.md)._

### Automated Changelogs

This project integrates a tool to create automated changelogs.

_[Read more about this](https://github.com/meilisearch/integration-guides/blob/main/resources/release-drafter.md)._

### How to Publish the Release

⚠ Before doing anything, make sure you got through the guide about [Releasing an Integration](https://github.com/meilisearch/integration-guides/blob/main/resources/integration-release.md).

#### Version update

Make a PR modifying the following files with the right version:

[`package.json`](/package.json):
```javascript
"version": "X.X.X",
```

[`src/package-version`](/src/package-version.ts)
```javascript
export const PACKAGE_VERSION = 'X.X.X'
```

#### Github publish

Once the changes are merged on `main`, you can publish the current draft release via the [GitHub interface](https://github.com/meilisearch/meilisearch-js/releases): on this page, click on `Edit` (related to the draft release) > update the description (be sure you apply [these recommendations](https://github.com/meilisearch/integration-guides/blob/main/resources/integration-release.md#writting-the-release-description)) > when you are ready, click on `Publish release`.

GitHub Actions will be triggered and push the package to [npm](https://www.npmjs.com/package/meilisearch).

#### Release a `beta` Version

This package is able to create multiple types of betas:
- A standard package beta, working on the latest version of Meilisearch.
- A beta implementing the changes of a rc version of Meilisearch.
- A beta implementing a specific feature `prototype` of Meilisearch.

Here are the steps to release a beta version of this package depending on its type:

1. Create a new branch containing the changes with the correct name format following these rules:
    - `package beta`: create a branch `beta/xx-xx` with the context of your beta.
      Example: `beta/refactor`.
    - Meilisearch `pre-release beta`: create a branch originating from `bump-meilisearch-v*.*.*` named `pre-release-beta/v*.*.*`.

      Example: `pre-release-beta/v0.30.0`
    - Meilisearch `prototype beta`: create a branch `prototype-beta/xx-xx`. Where `xxx` has the same name as the docker image containing the prototype.
        Example: If the [docker image](https://hub.docker.com/r/getmeili/meilisearch/tags) is named: `prototype-multi-search-0`, the branch should be named: `prototype-beta/prototype-multi-search`

2. [Update the version](#version-update) following the correct format (X are numbers):
    - package and prototype beta: `X.X.X-***.X`
      example: `0.2.0-new-feature.0`
    - pre-release beta: `X.X.X-vX.X.X-pre-release.X`
      example: `0.2.0-v0.30.0-pre-release.0`

3. Commit and push your code to the newly created branch (step 1).

4. Go to the [GitHub interface for releasing](https://github.com/meilisearch/meilisearch-js/releases): on this page, click on `Draft a new release`.

5. Create a GitHub pre-release:
  - Fill the description with the detailed changelogs
  - Fill the title with `vX.X.X-beta.0`
  - Fill the tag with `vX.X.X-beta.0`
  - ⚠ Select the `vX.X.X-beta.0` branch and NOT `main`
  - ⚠ Click on the "This is a pre-release" checkbox
  - Click on "Publish release"

Thank you again for reading this through. We can not wait to begin to work with you if you make your way through this contributing guide ❤

repository: meilisearch/meilisearch-js

gha_language: TypeScript

repo_name: meilisearch/meilisearch-js


text:
# ADMB Quick Start MacOS

*ADMB-12.3*
*Released March 7, 2021*

Describe downloading, installing and using ADMB from binary release for MacOS.

---

**Prerequisite** — [Apple Developer Tools (XCode)](https://developer.apple.com/xcode/) must be installed.

Quick Start
-----------

1. **Download**

   Download zip file [admb-12.3-macos.zip](https://github.com/admb-project/admb/releases/download/admb-12.3/admb-12.3-macos.zip).

2. **Install**

   Open a Terminal, then use the command below to extract contents of zip file to **~/admb/**.

   ```
   [~]$ unzip admb-12.3-macos.zip
   ```

3. **Use** ADMB

   In the **Terminal** window, use the steps below to build and run the simple example.

   Change to simple example directory.

   ```
   [~]$ cd ~/admb/examples/admb/simple
   ```

   Build simple example.

   ```
   [~/admb/examples/admb/simple/]$ ~/admb/admb simple.tpl
   ```

   Run simple example.

   ```
   [~/admb/examples/admb/simple/]$ ./simple
   ```

   Read [manuals](http://www.admb-project.org/docs/manuals/) for more information.

---
For help and support, contact<EMAIL_ADDRESS>

repository: Cole-Monnahan-NOAA/admb

gha_license_id: NOASSERTION

repo_name: Cole-Monnahan-NOAA/admb


text:
.. raw:: html

urllib3 is a powerful, *sanity-friendly* HTTP client for Python. Much of the
Python ecosystem already uses urllib3 and you should too.
urllib3 brings many critical features that are missing from the Python
standard libraries:

- Thread safety.
- Connection pooling.
- Client-side SSL/TLS verification.
- File uploads with multipart encoding.
- Helpers for retrying requests and dealing with HTTP redirects.
- Support for gzip, deflate, and brotli encoding.
- Proxy support for HTTP and SOCKS.
- 100% test coverage.

urllib3 is powerful and easy to use::

    >>> import urllib3
    >>> http = urllib3.PoolManager()
    >>> r = http.request('GET', 'http://httpbin.org/robots.txt')
    >>> r.status
    200
    >>> r.data
    'User-agent: *\nDisallow: /deny\n'

Installing
----------

urllib3 can be installed with `pip <https://pip.pypa.io>`_::

    $ pip install urllib3

Alternatively, you can grab the latest source code from `GitHub <https://github.com/urllib3/urllib3>`_::

    $ git clone git://github.com/urllib3/urllib3.git
    $ python setup.py install

Documentation
-------------

urllib3 has usage and reference documentation at `urllib3.readthedocs.io <https://urllib3.readthedocs.io>`_.

Contributing
------------

urllib3 happily accepts contributions. Please see our
`contributing documentation <https://urllib3.readthedocs.io/en/latest/contributing.html>`_
for some tips on getting started.

Security Disclosures
--------------------

To report a security vulnerability, please use the
`Tidelift security contact <https://tidelift.com/security>`_.
Tidelift will coordinate the fix and disclosure with maintainers.

Maintainers
-----------

- `@sethmlarson <https://github.com/sethmlarson>`_ (Seth M. Larson)
- `@pquentin <https://github.com/pquentin>`_ (Quentin Pradet)
- `@theacodes <https://github.com/theacodes>`_ (Thea Flowers)
- `@haikuginger <https://github.com/haikuginger>`_ (Jess Shapiro)
- `@lukasa <https://github.com/lukasa>`_ (Cory Benfield)
- `@sigmavirus24 <https://github.com/sigmavirus24>`_ (Ian Stapleton Cordasco)
- `@shazow <https://github.com/shazow>`_ (Andrey Petrov)

👋

Sponsorship
-----------

.. |tideliftlogo| image:: https://nedbatchelder.com/pix/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png
   :width: 75
   :alt: Tidelift

.. list-table::
   :widths: 10 100

   * - |tideliftlogo|
     - Professional support for urllib3 is available as part of the `Tidelift
       Subscription`_.  Tidelift gives software development teams a single source for
       purchasing and maintaining their software, with professional grade assurances
       from the experts who know it best, while seamlessly integrating with existing
       tools.

.. _Tidelift Subscription: https://tidelift.com/subscription/pkg/pypi-urllib3?utm_source=pypi-urllib3&utm_medium=referral&utm_campaign=readme

If your company benefits from this library, please consider `sponsoring its
development <https://urllib3.readthedocs.io/en/latest/contributing.html#sponsorship-project-grants>`_.

Sponsors include:

- Abbott (2018-2019), sponsored `@sethmlarson <https://github.com/sethmlarson>`_'s work on urllib3.
- Google Cloud Platform (2018-2019), sponsored `@theacodes <https://github.com/theacodes>`_'s work on urllib3.
- Akamai (2017-2018), sponsored `@haikuginger <https://github.com/haikuginger>`_'s work on urllib3
- Hewlett Packard Enterprise (2016-2017), sponsored `@Lukasa’s <https://github.com/Lukasa>`_ work on urllib3.

extension: rst