text:
# google-vision-React-firebase
This is a photography management site that makes use of machine learning tools to recognize and classify the images taken.
## Modules involved
* Nodejs API
* Heroku - hosting Node.js (I got sick of trying to get the CORS working locally and chose the lazy route to host the API)
* React
* Firebase
* Google Vision

## Node API
This holds the code that interacts with google Vision
## Heroku
Hosts our API
## Google Vision
This perfoms the bulk of the AI function, all we do is send an image and extract the first label that's been returned then save this response as the "event in the image" (ceremony).
## React
This is our Frontend - made use of material-ui
## Firebase and FireStore.
This holds our image and event.

**PS: your google account needs to be attached to a credit card for you to be able to use google vision.**
# Check out how it runs.
https://youtu.be/nhww7k0ricU

repository: DAN-BIWOTT/google-vision-React-firebase

repo_name: DAN-BIWOTT/google-vision-React-firebase


text:
---
title: "Chinese Faith Baptist Church 中诚浸信会"
sidebar:
  - title: "Website"
    text: "[chinesefaith.org](http://www.chinesefaith.org/)"
---

![]({{ site.url }}/assets/images/communities/faithbaptist.jpg)

## Mission

Chinese Faith Baptist Church (CFBC) was organized in June 1989, to serve the spiritual needs of the English and Cantonese population in the Portland metro area.

The church first met at the basement of a founding member in north Portland. A month later, Evangel Baptist Church was willing to be the host and implement the vision of having two churches in one building. The relationship between the two churches has been pleasant and God-honoring.

CFBC was welcomed into the fellowship of the CBNorthwest in March 1990. Worship services were conducted in English with consecutive (line-by-line) Cantonese interpretation. In the following years the church adopted the mission of disciple-making, defined its values, refined its structure and reached out to the community and beyond through various ministry programs and events. Fellowship groups and small groups were launched to meet the needs of increased attendance. In 2009, we moved into our current location in Lake Oswego.

## Contact Us

Phone:<PHONE_NUMBER>

Email<EMAIL_ADDRESS>
Address: 1595 Greentree Rd, Lake Oswego, OR 97034, USA

license: MIT

branch_name: refs/heads/main

extension: md

license_type: permissive


text:
# HackerTray

[![HackerTray on PyPi](https://pypip.in/v/hackertray/badge.png)](https://pypi.python.org/pypi/hackertray/)
[![HackerTray on PyPi](https://pypip.in/d/hackertray/badge.png)](https://pypi.python.org/pypi/hackertray/)
[![Build Status](https://travis-ci.org/captn3m0/hackertray.png)](https://travis-ci.org/captn3m0/hackertray) [![Coverage Status](https://coveralls.io/repos/github/captn3m0/hackertray/badge.svg?branch=master)](https://coveralls.io/github/captn3m0/hackertray?branch=master)

HackerTray is a simple [Hacker News](https://news.ycombinator.com/) Linux application
that lets you view top HN stories in your System Tray. It uses appindicator where available,
but provides a Gtk StatusIcon fallback in case AppIndicator is not available.

The inspiration for this came from [Hacker Bar](http://hackerbarapp.com), which is Mac-only.

## Screenshot

![HackerTray Screenshot in elementaryOS](http://i.imgur.com/63l3qXV.png)

## Installation

HackerTray is distributed as a python package. Do the following to install:

```sh
sudo pip install hackertray
OR
sudo easy_install hackertray
OR
#Download Source and cd to it
sudo python setup.py install
```

After that, you can run `hackertray` from anywhere and it will run. You can
now add it to your OS dependent session autostart method. In Ubuntu, you can
access it via:

1.  System > Preferences > Sessions
    (OR)
2.  System > Preferences > Startup Applications

depending on your Ubuntu Version. Or put it in `~/.config/openbox/autostart`
if you are running OpenBox. [Here](http://imgur.com/mnhIzDK) is how the
configuration should look like in Ubuntu and its derivatives.

### Upgrade

The latest stable version is [![the one on PyPi](https://pypip.in/v/hackertray/badge.png)](https://pypi.python.org/pypi/hackertray/)

You can check which version you have installed with `hackertray --version`.

To upgrade, run `pip install -U hackertray`. In some cases (Ubuntu), you might
need to clear the pip cache before upgrading:

`sudo rm -rf /tmp/pip-build-root/hackertray`

HackerTray will automatically check the latest version on startup, and inform you if there is an update available.

## Options

HackerTray accepts its various options via the command line. Run `hackertray -h` to see all options. Currently the following switches are supported:

1.  `-c`: Enables comments support. Clicking on links will also open the comments page on HN. Can be switched off via the UI, but the setting is not remembered.
2.  `--chrome PROFILE-PATH`: Specifying a profile path to a chrome directory will make HackerTray read the Chrome History file to mark links as read. Links are checked once every 5 minutes, which is when the History file is copied (to override the lock in case Chrome is open), searched using sqlite and deleted. This feature is still experimental.
3.  `--firefox PROFILE-PATH`: Specify path to a firefox profile directory. HackerTray will read your firefox history from this profile, and use it to mark links as read. Pass `auto` as PROFILE-PATH to automatically read the default profile and use that.
4. `--reverse` (or `-r`). Switches the order for the elements in the menu, so Quit is at top. Use this if your system bar is at the bottom of the screen.

Note that the `--chrome` and `--firefox` options are independent, and can be used together. However, they cannot be specified multiple times (so reading from 2 chrome profiles is not possible).

### Google Chrome Profile Path

Where your Profile is stored depends on [which version of chrome you are using](https://chromium.googlesource.com/chromium/src.git/+/62.0.3202.58/docs/user_data_dir.md#linux):

- [Chrome Stable] `~/.config/google-chrome/Default`
- [Chrome Beta] `~/.config/google-chrome-beta/Default`
- [Chrome Dev] `~/.config/google-chrome-unstable/Default`
- [Chromium] `~/.config/chromium/Default`

Replace `Default` with `Profile 1`, `Profile 2` or so on if you use multiple profiles on Chrome. Note that the `--chrome` option accepts a `PROFILE-PATH`, not the History file itself. Also note that sometimes `~` might not be set, so you might need to use the complete path (such as `/home/nemo/.config/google-chrome/Default/`).

### Firefox Profile Path

The default firefox profile path is `~/.mozilla/firefox/*.default`, where `*` denotes a random 8 digit string. You can also read `~/.mozilla/firefox/profiles.ini` to get a list of profiles. Alternatively, just pass `auto` and HackerTray will pick the default profile automatically.

## Features

1.  Minimalist Approach to HN
2.  Opens links in your default browser
3.  Remembers which links you opened, even if you opened them outside of HackerTray
4.  Shows Points/Comment count in a simple format
5.  Reads your Google Chrome/Firefox History file to determine which links you've already read (even if you may not have opened them via HackerTray)

### Troubleshooting

If the app indicator fails to show in Ubuntu versions, consider installing
python-appindicator with

`sudo apt-get install python-appindicator`

Note that appindicator is no longer supported in non-Ubuntu distros, because it only works on Python2.

### Development

To develop on hackertray, or to test out experimental versions, do the following:

-   Clone the project
-   Run `(sudo) python setup.py develop` in the hackertray root directory
-   Run `hackertray` with the required command line options from anywhere.

## Analytics

On every launch, a request is made to `https://pypi.python.org/pypi/hackertray/json` to check the latest version.

**No more tracking**. All data every collected for this project has been deleted. You can see [the wiki](https://github.com/captn3m0/hackertray/wiki/Analytics) for what all was collected earlier (Version `< 4.0.0`).

## Credits

-   Mark Rickert for [Hacker Bar](http://hackerbarapp.com/) (No longer active)
-   [Giridaran Manivannan](https://github.com/ace03uec) for troubleshooting instructions.
-   [@cheeaun](https://github.com/cheeaun) for the [Unofficial Hacker News API](https://github.com/cheeaun/node-hnapi/)

## Licence

Licenced under the [MIT Licence](https://nemo.mit-license.org/). See the LICENSE file for complete license text.

branch_name: refs/heads/master

gha_language: Python


text:
# Analysis of so6 air traffic file

Analysis of air traffic files (so6 format) with Python/pandas

The notebook shows how to load the traffic file as a pandas dataframe, and how to rapidly get:
* the number of flights in the so6 file
* the number of segments per flight
* the length of flights & the longest flight
* the top 10 aircraft types used
* the top 5 origin & destination airports
* the number of flights from one airport to another
* the most frequent city pairs
* the possible destinations from a given airport

## Built With

* [pandas](https://pandas.pydata.org/) - Python Data Analysis Library

## Authors

* **Thomas Dubot**

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details


text:
Uniform Resource Identifier (URI) and Uniform Resource Locator (URL)
====================================================================

This library implements URI and URL specification and URI Templates, based on [RFC3986](https://tools.ietf.org/html/rfc3986)
and [RFC6570](https://tools.ietf.org/html/rfc6570) _(depends on external lib)_.

![PHP 7.0](https://img.shields.io/badge/PHP-7.0-8C9CB6.svg?style=flat)
[![Build Status](https://travis-ci.org/madkom/uri.svg?branch=master)](https://travis-ci.org/madkom/uri)
[![Latest Stable Version](https://poser.pugx.org/madkom/uri/v/stable)](https://packagist.org/packages/madkom/uri)
[![Total Downloads](https://poser.pugx.org/madkom/uri/downloads)](https://packagist.org/packages/madkom/uri)
[![License](https://poser.pugx.org/madkom/uri/license)](https://packagist.org/packages/madkom/uri)
[![Coverage Status](https://coveralls.io/repos/github/madkom/uri/badge.svg?branch=master)](https://coveralls.io/github/madkom/uri?branch=master)
[![Code Climate](https://codeclimate.com/github/madkom/uri/badges/gpa.svg)](https://codeclimate.com/github/madkom/uri)
[![Issue Count](https://codeclimate.com/github/madkom/uri/badges/issue_count.svg)](https://codeclimate.com/github/madkom/uri)

---

## Features

This library can create objects like:

* **Uri** [RFC3986](https://tools.ietf.org/html/rfc3986) - includes wide abstraction with: **Scheme**, **Authority**, **Path**, **Query**, **Fragment**
* **UriReference** [RFC3986](https://tools.ietf.org/html/rfc3986) - can be resolved with valid **Uri** _(eg. `$resolvedUri = $uriReference->resolve($uri);`)_
* **UriTemplate** [RFC6570](https://tools.ietf.org/html/rfc6570) - produces **Uri** or **UriReference** objects _(depends on template)_

## Installation

Install with Composer

```
composer require madkom/uri
```

## Requirements

This library requires *PHP* in `~7` version.
At this point this library depends on another own library [madkom/collection](https://packagist.org/packages/madkom/collection) and some external packages:

1. [rize/uri-template](https://packagist.org/packages/rize/uri-template): for UriTemplate impl
2. [true/punycode](https://packagist.org/packages/true/punycode): for IDNA domain names conversion

## Usage

Parsing url string:

```php
use Madkom\Uri\UriFactory;
use Madkom\Uri\Uri;

$factory = new UriFactory();

/** @var Uri $uri */
$uri = $factory->createUri('http://user:pass@host.tld/some/path?and=query&param=2#fragment');

$uri->getScheme(); // Instance of \Madkom\Uri\Scheme\Http
$uri->getAuthority(); // Instance of \Madkom\Uri\Authority
$uri->getPath(); // Instance of \Madkom\Uri\Path
$uri->getQuery(); // Instance of \Madkom\Uri\Query
```

> **TODO** Missing fragment impl yet.

Parsing and resolving UriReference:

```php
use Madkom\Uri\UriFactory;
use Madkom\Uri\Uri;
use Madkom\Uri\UriReference;

$factory = new UriFactory();

/** @var Uri $uri */
$uri = $factory->createUri('http://user:pass@host.tld/some/path?and=query&param=2#fragment');

/** @var UriReference $uriReference */
$uriReference = $factory->createUriReference('../another/path?and=different');
(string)$uriReference->resolveUri($uri); // http://user:pass@host.tld/some/another/path?and=different
```

Parsing isbn uri:

```php
use Madkom\Uri\UriFactory;
use Madkom\Uri\Uri;

$factory = new UriFactory();

/** @var Uri $uri */
$uri = $factory->createUri('isbn:978-83-283-0525-0'); // Instance of \Madkom\Uri\Uri

$uri->getScheme(); // Instance of \Madkom\Uri\Scheme\Custom
$uri->getAuthority(); // NULL
$uri->getPath(); // Instance of \Madkom\Uri\Path with "978-83-283-0525-0"
$uri->getQuery(); // Instance of \Madkom\Uri\Query which is empty
```

Creating URI object:

```php
use Madkom\Uri\Uri;
use Madkom\Uri\Scheme\Https;
use Madkom\Uri\Authority;
use Madkom\Uri\Authority\Host\IPv6;
use Madkom\Uri\Authority\UserInfo;
use Madkom\Uri\Path;
use Madkom\Uri\Query;
use Madkom\Uri\Query\Parameter;

/** @var Uri $uri */
$uri = new Uri(
    new Https(),
    new Authority(
        new IPv6('::1'),
        443,
        new UserInfo('user', 'pass')
    ),
    new Path([
        'some',
        'path'
    ]),
    new Query([
        new Parameter('name', 'value')
    ])
);

$uri->toString(); // https://user:pass@[::1]:443/some/path?name=value
(string)$uri; // same as above
```

## TODO

* [x] Implement Uri to string conversion
* [x] Implement fragment component
* [x] Replace IRI library with RFC Regex in `\Madkom\Uri\Parser`
* [x] Implement additional parsing modes in `\Madkom\Uri\Parser\Query` for various languages _(parameter duplicate problem)_
* [ ] Implement normalization
* [x] Implement UriReference based on *RFC3986*

## License

The MIT License (MIT)

Copyright (c) 2016 Madkom S.A.

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

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

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

repository: madkom/uri

repo_name: madkom/uri


text:
# PopularMovies
Allows users to access movie details, ratings and trailers for popular, the latest and favorite movies.  Multiscreen Android App using Conten Provider, Adapter, AsyncTaskLoader and Recycler views for performance.
## Why This Project
As the Popularity of Movies grow, so is the interest in knowing their ratings, popularity, reviews and not the least trailers. This project does all that in a very simplified way.
In this Project, you wil be able to:
* View the movies based on their Polpularity or Ratings.
* You can save them as your favorites and can directly view all your favorite movies.
* View the reviews as well as trailers of the movie selected.
## Getting Started
My app uses [this](https://www.themoviedb.org/documentation/api) API to retrieve movies. You have to put your own API key in order to build the app. Kindly provide it in app/build.gradle
### Application Preview
![Application Preview](MoviesApp.gif)

repository: sumitasharma/PopularMovies

repo_name: sumitasharma/PopularMovies


text:
# Selinux issue

## Short version:

If you are running SELinux and have errors then copy the
[polcy file](sameersbn-docker-nginx.te) to a to the docker host, and then
 run these commands:

```
checkmodule -M -m -o sameersbn-docker-nginx.mod sameersbn-docker-nginx.te
semodule_package -o sameersbn-docker-nginx.pp -m sameersbn-docker-nginx.mod
sudo semodule -i sameersbn-docker-nginx.pp
```

## Explanation:

The nginx module `ngx_pagespeed` doesn't play well with current implementions
of SELinux policies for docker.  The Pagespeed module tries to call `mmap()`
 on
`/dev/zero` to
create a volitile (anonymous) shared memory segment.  In non-containerized
situations this isn't a problem becuse the host is labeled in such away that
allows the "execute" permission on `/dev/zero`.  ("execute" permission is
required for mmap)

The error generated by `ngx_pagespeed` looks like this:

```
nginx: [error] [ngx_pagespeed <IP_ADDRESS>-7423] Unable to create SHM segment [1]globalstatistics, mmap failed with errno=13.
nginx: [warn] [ngx_pagespeed <IP_ADDRESS>-7423] Problem during shared memory setup; statistics functionality unavailable.
nginx: [error] [ngx_pagespeed <IP_ADDRESS>-7423] Unable to create SHM segment [1]dummy_hostname:-1statistics, mmap failed with errno=13.
nginx: [warn] [ngx_pagespeed <IP_ADDRESS>-7423] Problem during shared memory setup; statistics functionality unavailable.
nginx: [error] [ngx_pagespeed <IP_ADDRESS>-7423] Unable to create SHM segment [1]pagespeed_default_shm/metadata_cache, mmap failed with errno=13.
nginx: [error] [ngx_pagespeed <IP_ADDRESS>-7423] SharedMemCache: can't create segment pagespeed_default_shm/metadata_cache of size 52445184
nginx: [error] [ngx_pagespeed <IP_ADDRESS>-7423] Unable to create SHM segment [1]/named_locks, mmap failed with errno=13.
nginx: [error] [ngx_pagespeed <IP_ADDRESS>-7423] Unable to create memory segment for locks.
```

repository: alexandervantrijffel/docker-nginx

gha_language: Shell

gha_license_id: MIT

repo_name: alexandervantrijffel/docker-nginx


text:
# react-360-view
- A Simple and Beautiful 360° Product Viewer built on React.js

### [Click here for Vue version](https://github.com/rajeevgade/vue-360)

## Demo

![Preview](https://www.techsolate.com/vue-360-viewer/demo.gif)

[Demo](https://react-360.vercel.app/) | [Documentation](https://rajeevgade.github.io/react-360)

[Example](https://github.com/rajeevgade/react-360/blob/master/src/App.js)

## Features

- 360° View
- Zoom
- Pan
- Autoplay (Loops)
- Full Screen Mode
- Spin Direction
- Image Caching
- Mobile Responsive (Under works)
- Touch Events (Under works)

## Installation
```
npm install react-360-view
```

## Config

```
import ThreeSixty from 'react-360-view'
```

## Example

```
<ThreeSixty
    amount={36}
    imagePath="https://scaleflex.cloudimg.io/width/600/q35/https://scaleflex.ultrafast.io/https://scaleflex.airstore.io/demo/chair-360-36"
    fileName="chair_{index}.jpg?v1"
/>
```
### Adding a Header
```
<div class="v360-header text-light bg-dark">
    <span class="v360-header-title">36 Images - Autoplay (1 loop) - Reverse Spin</span>
    <span class="v360-header-description"></span>
</div>
```

### Icons
- The icons used in the demo are from fontawesome. Add the following in your header to display the icons.
```
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" rel="stylesheet" type="text/css">
```

## Props

| Name | Type | Description | Required | Default Value |
| --- | --- | --- | --- | --- |
| amount | Number | Number of images | Yes |
| imagePath | String | Path to your image | Yes |
| fileName | String | File name format | Yes |
| spinReverse | Boolean | Reverse Spin | Optional | false |
| autoplay | Number | Autoplay your images | Optional | 24 |
| loop | Number | Number of loops you want to autoplay | Optional | 1 |
| boxShadow | Boolean | Apply Box Shadow Background | Optional | false |
| buttonClass | String | Apply Styling to Buttons | Optional (light/dark) | light |
| paddingIndex | Boolean | Apply Leading Zero to Image Index | Optional | false |

## Buttons

(In order from left to right)

- Play/Pause
- Zoom In
- Zoom Out
- Pan / 360° Mode
- Move Left
- Move Right
- Reset Position

## Roadmap

- Hotspots
- Lazyloading
- Custom CSS Classes
- Custom Buttons
- And a few more ...

## Credits

- [vue](https://reactjs.org/)
- [core-js](https://github.com/zloirock/core-js)
- [Cloud Image](https://www.cloudimage.io/)


text:
# Regex tutorial:
## There three methods that relate to Regex:
1. Basic method:

Anchors — ^ and $ which matches the first and last and the middle strings.

```
^The        matches any string that starts with The -> Try it!
end$        matches a string that ends with end
^The end$   exact string match (starts and ends with The end)
roar        matches any string that has the text roar in it
```
2. Intermediate topics:
operator is very useful when we need to extract information from strings or data using your preferred programming language. Any multiple occurrences captured by several groups will be exposed in the form of a classical array: we will access their values specifying using an index on the result of the match.
If we choose to put a name to the groups (using (?<foo>...)) we will be able to retrieve the group values using the match result like a dictionary where the keys will be the name of each group.

3. Advanced topics:
```
\babc\b  performs a "whole words only" search -> Try it!
\b represents an anchor like caret (it is similar to $ and ^) matching positions where one side is a word character (like \w) and the other side is not a word character (for instance it may be the beginning of the string or a space character).
```
It comes with its negation, \B. This matches all positions where \b doesn’t match and could be if we want to find a search pattern fully surrounded by word characters.
________________
# Grid;
grid is so important and comfortable to deal with in order to divide the bage and make the element inside look perfect. We have a lot of grid commands that related to columns and row, we can divid the bage into fraction using ```grid-template-culomns: then the number of fractions that you want to divide. The same pattren to row.
_______
# Responsive Layouts with CSS Grid:
Resposive layout used in order to make the bage that you made flexiable, i mean when you zoom in or zoom out, the bage by using 'Resposive layout' will transform automatically. Resposive layout works along side with Css Grid, as we should to make the bage as columns and rows by using Grid and using ```@media``` of responsive layout.

repository: Momayaz/Reading-Notes

repo_name: Momayaz/Reading-Notes


text:
# ![Virtuin Logo](https://s3.amazonaws.com/virtuin-static-images/icon_white_64x64.png) Virtuin Test Dispatcher

## Overview

Virtuin Test Dispatcher is used to **start**, **stop**, and **monitor** collection of tests running
inside a Docker Compose environment.

## Build

```bash
yarn run prepublish
```

## Installation

For local install:
```bash
yarn add @samtec-ash/virtuintestdispatcher
```
For global install:
```bash
yarn global add @samtec-ash/virtuintestdispatcher --prefix /usr/local
```

## Usage

### Events

* **collection-log** - General log info of collection *(string)*
* **collection-stdout** - Std out from collection processes *(string)*
* **collection-stderr** - Std error from collection processes *(string)*
* **test-status** - Status object *(Error, TestStatus)*
* **test-log** - General log info of active test *(string)*
* **test-stdout** - Std out from collection process *(string)*
* **test-stderr** - Std error from test process *(string)*
* **error** - General runtime errors *(Error)*

### As CLI

Based on the supplied collection definitions, the following will spin up the docker compose environment and run all tests defined in the sequence.
```bash
virtuintestdispatcher --verbose=0 /path/to/collection.json
```

### As Package

```javascript
import {
  VirtuinTestDispatcher
} from '@samtec-hub/virtuintestdispatcher';

const collection = {
	collectionName: 'collectionName',
	collectionTag: '10.0.0'
};
const testConfig = {
	dut: {},
	station: {},
	test: {}
};

const dispatcherStatusUpdate = (err, status) => {
	if (err) {
		console.log(`Status error ${err.message}`);
	} else if (status) {
		console.log(status);
	}
}

dispatcher = new VirtuinTestDispatcher(
  'DebugStation',
  'localhost',
  verbosity=2
);

dispatcher.on('collection-log', (msg) => {
	console.log(`collection-log: ${msg}`);
});
dispatcher.on('test-log', (msg) => {
	console.log(`test-log: ${msg}`);
});
dispatcher.on('test-status', dispatcherStatusUpdate);

await dispatcher.autologin('docker-user', 'docker-pass');
const response = await dispatcher.up(collection);
if (response.success) {
	await dispatcher.startTest(testConfig);
}
```

## API

The autogenerated API can be accessed in following mediums:
* [HTML](./docs/index.html)
* [API MD](./docs/api.md)

## Publishing

New versions are published to [npmjs.com](https://www.npmjs.com).
BitBucket Pipelines is used to build, test, stage, & deploy. Refer to the [pipeline configuration](https://bitbucket.org/samteccmd/virtuintestdispatcher/src/master/bitbucket-pipelines.yml).

## Contributing

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://bitbucket.org/samteccmd/virtuintestdispatcher/commits/).

## Authors

* **Adam Page**

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

repository: cpsamtec/virtuin

gha_language: JavaScript

repo_name: cpsamtec/virtuin


text:
# MHConnect
Mental Health Connect - HackDavis 2020 - Full Stack Project with React Front-end, Firebase backend.

https://devpost.com/software/mental-health-connect-mhconnect

In America, it’s estimated that 1 out of 5 adults experience mental illness each year,  the rate of depression among teens has increased over 60% in the last 10 years, suicide is now the second leading cause of death of those between 10-34, and federal data estimates 40-70 million Americans to experience depression & less than 50% seek help..

Coming from Asian immigrant families, we all grew up around a negative stigma among mental health, like it doesn't exist; we were all told “if you’re feeling sad, just drink more water and sleep early.” The statistics are there so we need to be the change we want to see in the world and start taking mental health seriously. We believed the best option for mental illness was the same as a physical illness -- seeking professional help.

While the rate of mental illness is rising, there are even more barriers for those who are seeking  help. In the U.S., 51% of counties do not have a psychiatrist. Also, recently revealed strategies suggest that insurance companies intentionally keep their customers away from getting help which tactics such as not keeping accurate records of psychiatrist, in one study only 26/100 numbers were legit psychiatrist offices. These are insurance referrals have been coined “Ghost Networks”.

#How to use:
$git clone https://github.com/EricGip/MHConnect
$cd ./MHConnect/hackathon3/
$npm install
$npm start

repository: EricGip/MHConnect

repo_name: EricGip/MHConnect


text:
karathy
=======

An enhanced version of [dorothy](http://github.com/cloudhead/dorothy), a wonderful template for [toto](http://cloudhead.io/toto), the blogging engine.

Sprinkled some [karakuri](http://github.com/5v3n/karakuri) magic atop of dorothy, enabling you to

- tag your posts
- use seo friendly page titles
- use the disqus comment counter

Using [blueprintcss](http://blueprintcss.org) we're ready for cross some browser action.

Please be aware that you need to enter your disqus id in the `config.ru` in order to make the comments & comment counter work. And mind to use your bit.ly api credentials in the corresponding line in `templates/pages/articles` to automagically shorten your URLs for social sharing purpose.

Enjoy!

[Sven Kräuter | 5v3n](http://5v3n.com/about)


text:
# JavaScript: Functions, methods, and objects

### Browsers require very detailed instructions about what we want them to do. Therefore, complex scripts can run to hundreds (even thousands) of lines. Programmers use functions, methods, and objects to organize their code.

### Functions let you group a series of statements together to perform a specific task. If different parts of a script repeat the same task, you can reuse the function (rather than repeating the same set of statements).
### the statements in a function are not always executed when a page loads, so functions also offer a way to store the steps needed to achieve a task. The script can then ask the function to perform all of those steps as and when they are required.
### If you are going to ask the function to perform its task later, you need to give your function a name. That name should describe the task it is performing. When you ask it to perform its task, it is known as calling the function.
### Parameters : Pieces of information passed to a function.
### When you write a function and you expect it to provide you with an answer, the response is
### known as a return value.
### Declaring a function
### Function  sayhello() {
### Document.write(‘hello’);
### }
### Function : function keyword
### sayhello() : function name
### { Document.write(‘hello’);} : (between curly braces) code block
### Calling functions (duckett book js page 91)
### Declaring a function that needs information (duckett book js page 92)
### Calling a function that needs information and the difference between arguments , parameters and values (duckett book js page 93)
### Getting a single and multiple values out of a function (page 94 & 95)


text:
---
title: PAYE Tax Optimisation
author: Matt McCorry
date: 2023-01-31
tags: Tax,PAYE,Umbrella Company,IR35
---

# Optimising Tax as a Salaried Employee

## Problem

The is much information as to how one can minimise tax due when working via a limited company, but there is limited information available on how to optimise as a salaried employee, e.g. full-time, fixed contract or umbrella.

I am to show some ideas that can be used in order to reduce tax liability, whilst paying what is due.

## Available Tools

The tools available to an employee to flex income are limited. They consist of salary sacrifice, pension and a few smaller options, and part-time working.

## Income Tax

Income tax is levied based mostly on annual earned income. The tax rates and bands can move slightly, but there are 4 generally accepted tax bands: 0%, 20%, 40% and 45%. This view is slightly misleading, as earnings at the top of the 40% tax band reduces the 0% tax amount, causing an effective [60% tax band](https://www.theprivateoffice.com/news/60pc-tax-trap) plus National Insurance, but we will come back to NI later.

So our tax bands for the 2023/2024 year are:

- 0% £0 to £12,570
- 20% £12,571 to £50,270
- 40% £50,271 to £100,000
- 60% £100,000 to £125,140
- 45% £125,141 and up

Note that the tax rate increases, then decreases again. Normally, one would expect that the minimal tax would be due by taking the same salary every year, avoiding unnecessary incursions into a higher tax band. However, due to the increasing and decreasing tax rate, this theory no longer applies at these higher income levels.

We can experiment using two scenarios: one where the person is paid £120,000 (plus £20,000 pension sacrifice) a year for 4 years, and the other where the person uses an oscillating salary of £100,000 plus £20,000 pension, £140,000 plus £0 pension, repeating for the 4 years. Average salary is £120,000 in both scenarios, but there is a different in post tax salary in the year 2022/2023:

| Method      | Calculation                         | Total       | Average Per Year |
| ----------- | ----------------------------------- | ----------- | ---------------- |
| Equal       | 4 \* £73,310.13 =                   | £293,240.52 | **£73,310.13**   |
| Oscillating | 2 \* £83,628.52 + 2 \* £65,960.13 = | £299,177.30 | **£74,794.32**   |

The difference between the two schemes is Oscillating winning by £1,484.19 a year on average. This is a simplified example, it makes no account of annual increases, changes to bands, changes to rates, or anything else, but it does demonstrate that it is possible to reduce taxation by being aware of inconsistencies within the bands.

## National Insurance

National Insurance is done on weekly income rather than annual income, however due to payroll constraints you will normally see if levied on a monthly level.

Employee NI Bands:

- 0% £0-£1048
- 12% £1,048.01 to £4,189
- 2% Over £4,189

The structure of a reducing tax has appeared again. As we have seen, an efficient way to navigate this is to oscillate the salary around the high tax rate band.

We can achieve this again using pension sacrifice, and loading it heavily into certain months to allow the pension contribution to reduce tax due in the 12% band.

Imagine an employee earns £66,000 a year, £5,500 a month.  Salary portion of the pay is £54,000.

What if the employee was to squeeze these contributions into as few months as possible? What if the employee sacrificed £4,000 each month for 3 months, leaving them taking home £1,500 (roughly minimum wage)? This would allow the employee to access 12% NI savings for a portion of their contributions.

| Method   | Calculation                  | NI Due        | Notes                                                  |
| -------- | ---------------------------- | ------------- | ------------------------------------------------------ |
| Equal    | 12 \* £426.37 =              | **£5,116.48** | 12 months of £54,000 a year                            |
| Variable | 9 \* £458.87 + 3 \* £59.96 = | **£4,309.71** | 9 months of £66,000 a year, 3 months of £18,000 a year |

The variable provides a saving of **£806.77** for the year

Again this scenario is simplified, often employees will have a monthly salary sacrifice to get a match from their employer, but this method is possible with additional contributions. The employer's NI dues are unaffected as they are a flat 12%. This should not affect the year's pension contribution as we are earning enough, but I would check to be on the safe side. Doing this may also have some negative consequences, it will interfere with your income tax calculations, as payroll will be expecting your annual salary to be higher than it is. Try to avoid taking the low salary at the end of the tax year, as it will be harder to correct. If you change your pension too frequently, it may upset the payroll workers, but it depends on how automated they are.

This method becomes less efficient the higher the monthly income, as the employee must sacrifice more income at 2% in order to reach the 12% slice.

Higher income, £140k/year, £20k pension sacrifice contribution
| Method | Calculation | NI Due | Notes |
| --- | ---|---|---|
| Equal | 12 \* £605.12 =| **£7,261.48** | 12 months of £120,000 a year|
|Variable | 10 \* £659.29 + 2 \* £82.04 =| **£6,756.98** | 10 months of £140,000 a year, 2 months of £20,000 a year|

## Summing Up

This is a subject I have not seen discussed elsewhere. I think I have proved that it is possible to work with the tax rules to reduce liabilities. Whilst they are not huge reductions, they are an improvement. [Royal London](https://adviser.royallondon.com/technical-central/pensions/contributions-and-tax-relief/60-tax-relief-on-pension-contributions/) suggest that after the employer's NI reimbursement, the tax relief rate can reach 67%, plus monthly NI structuring could allow that number to get closer to 70%.

gha_language: TypeScript


text:
# before-build-webpack

[Webpack](http://webpack.github.io/) plugin that gives ability to add callback
before build.

## Installation

```
npm install --save-dev before-build-webpack
```

## Usage

In config file:

``` javascript
var WebpackBeforeBuildPlugin = require('before-build-webpack');

// ...
  module: {
    plugins: [
      new WebpackBeforeBuildPlugin(function(compiler, callback) {

        // Do whatever you want...

        callback(); //don't call it if you do want to stop compilation
      }),
    ]
  },
// ...
```

repository: Slynchy/before-build-webpack

repo_name: Slynchy/before-build-webpack


text:
### This package is deprecated, you can browse this new project [XPath](https://github.com/antchfx/xpath).

Selector
======
A golang package lets you extract data from HTML/XML documents use XPath selectors,inspire by .NET XPath library.

`NOTES: Some of XPath syntax features not supported yet, so please read the supported XPath syntax list before using.`

[Examples](https://github.com/zhengchun/selector/blob/master/main/main.go)

Supported XPath syntax
======
### Basic Path Expression

| Expression     | examples                                 |
| :-------------:| :------------------------                |
| nodename       | author bookstore                         |
| //             | //author //bookstore bookstore//book  	|
| /              | /author bookstore/book   	            |
| .              | . //a/. .//title                         |
| ..             | ..  //a/..                               |
| *              | * //author/* */*                         |
| @              | //@lang title[@*]  //title[@lang]        |

### Predicates

| Expression     | examples                                 |
| :-------------:| :------------------------                |
| @              | //title[@lang='en']  //*[@src]           |
| [ ]            | //book[1]                                |
| last()         | //book[last()]                           |
| position()     | //book[position()=1]                     |
| [num]          | //book[1]  /book[3]                      |

### Functions & Operations
| Expression     | examples                                 |
| :-------------:| :------------------------                |
| |              | //node | //node                          |
| +              | 6 + 4                                    |
| -              | 6 - 4                                    |
| *              | 6 * 4                                    |
| div            | 8 div 4                                  |
| =              | price=9.80                               |
| !=             | price!=9.80                              |
| <              | price < 9.80                             |
| <=             | price <= 9.80                            |
| >              | price > 9.80                             |
| >=             | price >= 9.80                            |
| or             | price = 9.80 or price = 9.70             |
| and            | price > 9.00 and price < 9.90            |
| mod            | 5 mod 2                                  |


text:
---
layout: build_log_post
title:  "Outboard Aileron False Spar"
hours: 2.1
date:   2022-01-23 12:00:00 -0600
categories: [Carbon Cub Build, Wings, Left Wing]
tags: [false spar]
---

Another friend, Alex, came by today to help me with the rest of the outboard aileron false spar installation. This was a pretty straightforward repeat of the inner portion that just required some careful checking to make sure the gap between the outer hanger and the aileron remained correct.

To this end, we started by once again checking this distance and making sure that the false spar was clamped in position on both ends really well. We then removed the aileron and used the false spar fixture from the inboard section to ensure that the spacing from the false spar to the rear spar was correct at rib #9 (where the inboard and outboard sections overlap).

Luckily, this looked perfect so I went ahead and match drilled the holes there and inserted clecos. We then performed this same procedure for ribs 10 and 11 (11 needed to be pulled out slightly to touch the fixture but it was easy other than that).

While we probably could have just checked again to make sure that the outboard edge of the false spar was flush with the outboard edge of the outboard aileron hanger (the position we had clamped it in per the manual), we decided to pull the rivets for the holes we had just drilled and re-mount the aileron to verify once again that the gap between it and the hanger was correct.

![Desktop View](/assets/img/posts/2022/2022-01-23-outboard-aileron-false-spar/false-spar-rivets.jpg)
_The false spar with the rivets pulled_

With the aileron back on we were able to determine that it was indeed in the right place. I then match drilled the top and bottom holes from the aileron false spar into the outboard hanger. With clecos placed in these I was able to use the angle drill to drill the last two holes on the curved part of the hanger/false spar. These holes came out fine but I once again had some trouble with the bit walking so I think I need to practice with the angle drill on some scrap a bit more.

After that we removed the aileron and pulled the top and bottom rivets in the outboard aileron hanger. Craig currently has the offset hand puller which is the only thing preventing me from pulling the last two rivets there but that will at least be quick the next time I have it.

Finally, we returned to the 3 tail ribs that didn't have main ribs attached to them and drilled/riveted them in place. This almost finished up section 23[^section-23-ref] of the manual. All I have left to do (other than the 3 rivets across the two aileron hangers) is finish installing the center aileron hanger bracket.

![Desktop View](/assets/img/posts/2022/2022-01-23-outboard-aileron-false-spar/aileron-in-place.jpg)
_The aileron in place with the mostly riveted false spar_

<iframe width="560" height="315" src="https://www.youtube.com/embed/sdxV9WMkBSU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

[^section-23-ref]: Wing Manual (Extended Fuel), CCEX-004 Rev. 2.02, Pages 106-125

extension: markdown


text:
# Deputies App

The Deputies App is an open source app that consumes the public data of brazilian's
deputies. Using the open source [GraphQL API](https://github.com/matheusrocha89/graphql-camara-deputados)
we can consume the data and display on the app.

### Reason

This project started as a hackweek project, I already made the GraphQL API so I just want to consume
the data and make a easy access to this data for the people and the app seems to be a good solution.

### Stack

The app is made in React Native and uses the Apollo GraphQL Client to connect to the server and
consume the data.

## Dependencies

To run this project you need to have the open GraphQL API running locally in your machine,
so go the [project page](https://github.com/matheusrocha89/graphql-camara-deputados) and check the
documentation to see how to run the server locally.

## How to run

### Env files

The environment variables of the project are configured in some env files, we use `react-native-config`
to manage them.

On the root of the file there is a `.env.example` file with the variable that you need to set.

The project works with 3 different env files, each one for a specific enviroment:

  - `.env.dev` = Development environment
  - `.env.staging` = Staging environment
  - `.env.production` = Production environment

Important note is, if you are running the server locally you just need to set the `GRAPHQL_URI` variable like this:

```
GRAPHQL_URI=http://localhost:4000/graphql
```

This will work on iOS because it's a simulator, but with Android emulator because like the name says
it's an emulator, your URI should point to your machine IP not localhost, because localhost is the
Android Emulator and not your machine, so for android running the server locally you should do this:

```
GRAPHQL_URI=http://<IP_ADDRESS>:4000/graphql
```

Remember that every time that you change the environment variables values you should build the app again.

### Running

First clone the project, after that install the dependencies:

```
yarn
```

After the dependencies were installed you can run the app on iOS simulator, Android Emulator or iOS and Android device.

There are some scripts that react native configured by itself to make it easier to run:

```
yarn ios // run iOS device or Simulator
```

```
yarn android-dev // run on Android device or Simulator in development mode
```

You can find more commands on `scripts` session of the `package.json` file.

To know more how to run a React Native app in devices, emulators and simulators you can read more about on these links:
 - [Running on device](https://facebook.github.io/react-native/docs/running-on-device)
 - [Running on iOS Simulator](https://facebook.github.io/react-native/docs/running-on-simulator-ios).

## Contribution

Here you can see our [contribution guideline](https://github.com/matheusrocha89/deputies/blob/master/CONTRIBUTING.md)


text:
# Deep Graph Infomax

```
@inproceedings{dgi_iclr19,
title={Deep Graph Infomax},
author={Petar Veli{\v{c}}kovi{\'{c}} and
        William Fedus and
        William L. Hamilton and
        Pietro Li{\'{o}} and
        Yoshua Bengio and
        R Devon Hjelm},
booktitle={International Conference on Learning Representations (ICLR)},
year={2019}
}
```

links
- [arXiv](https://arxiv.org/abs/1809.10341)
- [openreview](https://openreview.net/forum?id=rklz9iAcKQ)
- [code](https://github.com/PetarV-/DGI)

gha_language: Jupyter Notebook


text:
---
layout: character
type: character
image: images/characters/goblin.PNG
pdf : pdfs/character/fylthia_character.pdf
title: Fylthia Manyshivs
# All dates must be YYYY-MM-DD format!
date: 2019-11-14

level: 3
race: Goblin
class: Monk
alignment: Neutral Evil

labels:
  - DnD 5E
  - In-Game
---

# Backstory
Originally Flythia's parents set sail to get away from all the goblin fighting. She wanted to fight real enemies, not bicker amongst their own kind. As far as she was concerned, goblin loot was goblin loot - no matter who had claim to it.

She grew up on the ship "Searipper" and while she enjoyed the skirmishing battles and the celebrating after, she longed for a life on the land. Every time they stopped at a port, it seemed so exciting. There was drinking! music! people selling all kinds of stuff, especially on the side alleys. It seemed a much better life.

Finally, at age 8, she became a grown woman and her parents had no longer any sway in her decision. She took off in the night at the next port stop and ran as fast as her small legs could carry her.
A few miles out, she found a hunting party of the Shagaan Band. She instantly clicked with them, and so she spent the time putting her pirating experience into practise - on land!

After a full year of travel, they finally returned back to the main encampment, and Flythia was delighted to see other goblins of all sizes and types. She made some good friends there, and even better enemies.

The recent raids on the goblin villages have rudely intruded on her daily goblin life, and she wants to protect it. And grab all their money while she's at it.


text:
---
layout: default
title: assertElementCount(xml,xpath,count)
parent: xml
tags: command xml
comments: true
---

### Description
This command is used to assert the number of total elements that comes under given xpath in the given xml file.

### Parameters
- **xml** - the XML content or file
- **xpath** - the xpath that describes the target element(s)
- **count** - the expected number of elements matching the specified `xpath`

### Example
The below xml file has 7 child elements with name 'Shift' under parent element 'Timecard'

![](image/assertElementCount_01.png)

**Script**:

![](image/assertElementCount_02.png)

**Output**:

![](image/assertElementCount_03.png)

### See Also
- [`assertElementNotPresent(xml,xpath)`](assertElementNotPresent(xml,xpath))

repository: nexiality/documentation

repo_name: nexiality/documentation


text:
# Binder

**Binder** is a tool for automatic generation of Python bindings for C++11 projects using [Pybind11](https://github.com/pybind/pybind11) and [Clang LibTooling](http://clang.llvm.org/docs/LibTooling.html) libraries.  That is, Binder, takes a C++ project and compiles it into objects and functions that are all usable within Python.  Binder is different from prior tools in that it handles special features new in C++11.

[![Documentation Status](https://readthedocs.org/projects/cppbinder/badge/?version=latest)](http://cppbinder.readthedocs.org/en/latest/?badge=latest)
![](https://github.com/RosettaCommons/binder/workflows/build/badge.svg)

Reference documentation is provided at
[http://cppbinder.readthedocs.org/en/latest](http://cppbinder.readthedocs.org/en/latest).
A PDF version of the manual is available
[here](https://media.readthedocs.org/pdf/cppbinder/latest/cppbinder.pdf).

repository: RosettaCommons/binder

repo_name: RosettaCommons/binder


text:
# WebPrototypingTool Docs

Docs are based on the [Eleventy](https://www.11ty.dev/docs/) static site generator.

## Commands

Run locally at [http://localhost:8080/](http://localhost:8080/)

```
npm run start-docs
```

Build docs only production

```
npm run build-docs
```

Build docs and marketing site for production

```
npm run build:all
```

Deploy all

```
npm run deploy
```

## Pages

Name your pages and folders (collection of pages) starting with a number for organization purposes such as `2-recipes.md`. The first page in a folder should be called `0-index.md`

## Metadata

At the top of each page we define the metadata which tells [Eleventy](https://www.11ty.dev/docs/) how to render this page.

```
---
title: Code Components
date: Last Modified
permalink: /components/code-components/index.html
toc: true
eleventyNavigation:
  key: code
  title: Code Components
  parent: components
  order: 4
---

```

| Name                      | Description                                            |
| ------------------------- | ------------------------------------------------------ |
| title                     | Text content                                           |
| date                      | `Last Modified` Shows the last time the doc was edited |
| permalink                 | Path to page (/docs/ is added automatically)           |
| goLink                    | Adds a go link under the title                         |
| toc                       | Enable the table of contents on a specific page        |
| eleventyNavigation        | Allows this page to show up in navigation              |
| eleventyNavigation.key    | Unique id of this page, used for nesting               |
| eleventyNavigation.title  | Title in the nav                                       |
| eleventyNavigation.parent | Parent key for nesting                                 |
| eleventyNavigation.order  | Order within a folder for this page                    |

The page order via `eleventyNavigation.order` should match the file name with the exception of `0-index.md` which should match the oder of the folder its created inside. For example:

- **Folder:** `2-components`
- **Index File:** `0-index.md`
  - **eleventyNavigation.order:** `2`

## Static Assets

Place static assets in `/docs/static/img/`

## URLs

Use absolute paths when linking to other pages. When built for production `/docs/` will be pre-pended to the url automatically:

```md
[starter projects](/components/code-components/starter-projects)
```

All section headers defined with `# Headers` automatically get an id which can be referenced in the following way:

```md
[sample projects](#samples)
```

or a header on a different page:

```md
[samples](/components/code-components/starter-projects/#samples)
```

## Custom Markdown Tags

### Callouts

Used to display an alert banner on a page in either green or yellow

```
::: callout
This is a yellow callout
:::

::: callout-green
This is a green callout
:::
```

### Video

To add an auto playing video to the page use the following format.

```md
@[video](/static/img/components/code/code-comp.webm)
```

Converts to...

```md
<video src="/static/img/components/code/code-comp.webm" loop="" autoplay="" muted="">
```

I recommend keeping video files under 2mb and using `webm` format.

Automator script for converting a `.mov` file to a `.webm`:

```bash
export PATH=/usr/local/bin:$PATH

folder=$(dirname $@)
out=$(basename $@ .mov)

ffmpeg -v warning -i "$@" -c:v libvpx-vp9 -minrate 300k -b:v 600k -maxrate 2500k  "$folder/$out.webm"
```

### Images

```md
![](/static/img/some-image.png)
```

Markdown supports adding custom html to a page. However, if you do this you'll need to make some adjustments for images and video coming from this site. Otherwise it wont load when built for production.

```md
<!-- Don't do this -->
<img src="/static/img/some-image.png">
<!-- Do this instead -->
<img src="{{'/static/img/some-image.png' | url}}">
```

The url pipe will add the `/doc/` path prefix when built for production, this is handled automatically if you use standard markdown images

### Embedded WebPrototypingTool pages

Embeding an iframe to show a WebPrototypingTool project or video can be done using the following tag:

```md
@[embed](https://google.com)
```

By default the embeded content is fixed to a `16/9` aspect ratio. to modify that ratio append the `[ratio]` tag then the desired value

```md
@[embed](https://google.com[ratio]16/8)
```

this is equivalent to the following:

```html
<div style="--aspect-ratio:16/9;">
  <iframe src="https://google.com" allowfullscreen></iframe>
</div>
```

repository: glued/web-prototyping-tool

repo_name: glued/web-prototyping-tool


text:
# Indirect Stochastic Gradient Compression
This page contains the latest version of Indirect Stochastic Gradient Quantization (ISGQ) for efficient compression in distributed deep learning. For more information, please visit:

* [**Manual**](https://afshinabdi.github.io/DistributedTraining-ISGQ/)
* [**Conference Paper**](https://www.aaai.org/Papers/AAAI/2020GB/AAAI-AbdiA.8325.pdf)

repository: afshinabdi/DistributedTraining-ISGQ

repo_name: afshinabdi/DistributedTraining-ISGQ


text:
# Project 8: An Autonomous RC Car
### *RC_car + Raspberry Pi + Sensors + Tensorflow*

↓Getting camera working

![](https://github.com/michiganhackers/Project-8/blob/master/photos/1.gif)

↓Collecting data for training

![](https://github.com/michiganhackers/Project-8/blob/master/photos/2.gif)

↓Verifying model trained (simple lane-following)

![](https://github.com/michiganhackers/Project-8/blob/master/photos/3.gif)

↓Responding to a stop sign (details of this feature are found in "donkeycar/parts/stop_detection.py")

![](https://github.com/michiganhackers/Project-8/blob/master/photos/4.gif)


text:
# Logger

A versatile and fully customizable logger for c++ applications.

### Features

- optional file logging
- pre-defined log profiles for easy configuration
- fully customizable log string (logstamp, pid, loglevel, custom elements)
- nine different loglevels
- detailed documentation and examples

### Repo structure

The repo is structured as follows:

log

   |_ bin/             ...binary files

   |_ doc/            ...documentation

   |_ inc/              ...header files

   |_ proj/           ...build files

   |_ src/              ...source files

### Compilation and Usage

To compile, move into proj/ and call

make lib to build just the library.

make examples to build the examples

make doc to build the documentation

or make all to build everything.

All compile units can subsequently be found in bin/ while the documentation can be found in doc/

In order to use the CPPLogger in your application, simply compile with the library.

Just include the log.h headerfile in your application and link to the library libcpplogging.a during compilation.

repository: einKnie/Logger

repo_name: einKnie/Logger


text:
# Rust Actix & Postgres API
Simple Todo Backend Application made with Rust and Actix for performance benefits [source](https://www.techempower.com/benchmarks/).

## Installation

You need to install cargo package available for your system.

### Database

Run docker-compose (in background):

```bash
docker-compose up -d
```

Command to populate postgres db:

```bash
psql -h <IP_ADDRESS> -p 5432 -U rust rust < database.sql
```

## Usage

### Running development version in command line

```bash
cargo run
```

### Building for production

```bash
cargo build --release
```

## Performance benchmarks

Homepage:
```bash
ab -n 10000 -k -c 30 -q http://localhost:8080/
```

Todos page (includes postgres reads):

```bash
ab -n 10000 -k -c 30 -q http://localhost:8080/todos
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)

repository: pbajno/rust-actix-api

repo_name: pbajno/rust-actix-api


text:
**Question:** Sometimes we want explanations (we're puzzled, curious, aware that we might not understand something). Other times it doesn't occur to us that an explanation is required. What distinguishes those situations?

**Claim:** Salience of some counterfactual alternative to reality is necessary for this kind of curiosity.

Here's a quote about the counterfactual difference making notion that I'm currently modeling:

> Let {Si} be an exhaustive set of mutually exclusive possible states of the system of which S∗ is a member... . Degrees of explanatory power are relevant to the force with which the explanation resolves the puzzlement: why S∗ rather than something else? (Skyrms [1980], pp. 140–1)

**Claim:** Categories matter in the formulation of counterfactual alternatives.

> I ... want to suggest ... that the real source of the need for explanation ... can ... be traced to our awareness that other things of this kind ... have different masses, so in order to understand why the tau has the particular mass it does rather than another mass that -- as an instance of this kind -- it might have had, we need to know what it is that differentiates the tau from other elementary particles. More briefly, we want to know what the difference between the tau’s mass and the masses of the other elementary particles depends on.

> the possibilities that are relevant to us are ... often tied to our sense of what sort of capacities a thing has, relative to the kind of thing it is

**Definition:** Grimm introduces a notion of **proto-understanding**, the sorts of possibilities or "foils" (to facts) that are live w.r.t. a situation. In our case, this is analogous to the prior we're using to counterfactualize over.

## more notes

What counterfactuals should you consider?
Is this the information content conveyed by "because"?

repository: erindb/explanations-reboot

repo_name: erindb/explanations-reboot


text:
### [CVE-2020-0240](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0240)
![](https://img.shields.io/static/v1?label=Product&message=Android&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Remote%20code%20execution&color=brighgreen)

### Description

In NewFixedDoubleArray of factory.cc, there is a possible out of bounds write due to an integer overflow. This could lead to remote code execution with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-10Android ID: A-150706594

### POC

#### Reference
No PoCs from references.

#### Github
- https://github.com/ShaikUsaf/external_v8_AOSP10_r33_CVE-2020-0240
- https://github.com/nomi-sec/PoC-in-GitHub
- https://github.com/wrlu/Vulnerabilities

repository: trickest/cve

gha_language: HTML

repo_name: trickest/cve


text:
arduino-workshop
================

These are Example Arduino Sketches for the Workshop
["Programming Arduino"](http://drblinken.github.io/bentos/arduino.html) @ 29C3 and ["Programming Arduino"](http://drblinken.github.io/bentos/arduino-if2013.html) @ Informatica Feminale 2013

- BoardTest runs some animations on the 12LED-Shields to test the pin configuration provided in pins.h

- DiceLibrary provides a scaffold for the Dice Exercise

- games contains two 12-pixel games programmed by Julius Seltenheim (they require a shield with two buttons)

repository: drblinken/arduino-workshop

repo_name: drblinken/arduino-workshop


text:
# SmartInvoice

Invoicing application built with Laravel 4.2.6 and Bootstrap 3.2.0

## Table of contents

 - [Requirements](#requirements)
 - [Installation](#installation)
 - [Copyright and license](#license)

##Requirements

	PHP >= 5.4.0
	MCrypt PHP Extension

##  Installation

### Step 1: Get the code

#### Option 1: Git Clone

git clone https://github.com/mladjom/smartinvoice.git

#### Option 2: Download the repository

 https://github.com/mladjom/smartinvoice/archive/master.zip

### Step 2: Use Composer to install dependencies

    cd smartinvoice
    composer install

- [Composer Introduction](https://getcomposer.org/doc/00-intro.md)

### Step 3: Configure Environments

### Step 4: Configure Database

### Step 5: Configure Mailer

### Step 6: Populate Database

Run these commands to create and populate Users table:

	php artisan migrate
	php artisan db:seed

### Step 8: Make sure app/storage is writable by your web server.

If permissions are set correctly:

    chmod -R 775 app/storage

Should work, if not try

    chmod -R 777 app/storage

### Step 9: Assets management

SmartInvoice uses node, bower and grunt to manage assets.

Run these commands

    npm install
    bower install
    grunt

- Unfamiliar with `npm`? Don't have node installed? That's a-okay. npm stands for [node packaged modules](http://npmjs.org/) and is a way to manage development dependencies through node.js. [Download and install node.js](http://nodejs.org/download/) before proceeding.
- Install [Bower](http://bower.io): `npm install -g bower`.
- [Install Grunt](http://gruntjs.com/getting-started) globally.

##### Build - `grunt`
Run `grunt` to run all tasks locally and copy and compile the CSS and JavaScript into `/assets`. **Uses [Copy] (https://github.com/gruntjs/grunt-contrib-copy), [Less](http://lesscss.org/) and [UglifyJS](http://lisperator.net/uglifyjs/).**

### License

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

repository: noikiy/smartinvoice

repo_name: noikiy/smartinvoice


text:
# Relational programming

## Links

- [guanxi](https://github.com/ekmett/guanxi) - Exploration of relational programming in Haskell.
- [hs-logic](https://github.com/smichal/hs-logic) - Simple library for Haskell that allows relational programming.

repository: izzydavid/knowledge

repo_name: izzydavid/knowledge


text:
---

layout: exemplar

exemplar-title: "Claim Personal Independence Payment (PIP)"
exemplar-number: 13

exemplar-blog-url: "https://dwpdigital.blog.gov.uk/"

department: "Department
for Work &
Pensions"
department-url: "https://www.gov.uk/government/organisations/department-for-work-pensions"

permanent-secretary: "Robert Devereux"
digital-leader: "Kevin Cunnington"

homepage-intro: |
    If you’re applying for financial help from government for living with disabilities there’ll be a simple digital service for you to use

detail-page-intro: |
    Supporting 2 million people with an easy way to claim Personal Independence Payment online

status: "Alpha"
status-strapline: "Discovery phase complete with work on the alpha under way. Further work on the Personal Independence Payment exemplar will be linked to the delivery of [managed reassessment](https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/180964/pip-reassessments-and-impacts.pdf) for claimants that begins in October 2015."

successes: |
  - Successful discovery phase

challenges: |
  - A final plan for a new digital service at the Department for Work and Pensions is still to be agreed

digital-strategy-statement: |
    …an opportunity to work with disability organisations to redesign business processes and facilitate a move to digital… working closely with GDS to develop an online service, learning the lessons from a controlled launch, with the intention of bringing this in as soon as possible after the launch of PIP.

digital-strategy-source: |
    From the '[Department for Work & Pensions digital strategy](https://www.gov.uk/government/publications/dwp-digital-strategy)' – December 2012

scope-of-exemplar: |
    Personal Independence Payment (PIP) was introduced in April 2013 for people aged 16 to 64 to help with the extra costs of long-term ill-health or disability. Users can make a claim over the telephone or through the post and may need to attend a face-to-face consultation with a health professional to assess how much support they need.

    We’re now building an in-depth understanding of user needs to see which parts of the PIP process might best be delivered through digital channels.

status-discovery:
  - copy      : "Completed: Discovery --- Sep 2013"
    complete  : true

status-alpha:
  - copy      : "Completed: Start alpha build --- Mar 2015"
    complete  : true
  - copy      : "Alpha Service Standard assessment - Apr 2015"
    complete  : false

status-beta:
  - copy      : "Start beta development --- date to be confirmed"
    complete  : false
  - copy      : "Public beta release --- date to be confirmed"
    complete  : false

status-live:
  - copy      : "Service goes live --- date to be confirmed"
    complete  : false

anticipated-volume:
  - number  : 2m
    caption : People supported

---

repository: defencedigital/project-pipeline

repo_name: defencedigital/project-pipeline


text:
motion-js
=========

Javascript/CoffeeScript bridge for RubyMotion apps

Usage
=========

Include the lib file (I still haven't gemified it)

Call the rake task to initialize your javascript bridge:

`rake js:init`

Open resources/index.html and include any js you want.

Instantiate a JSController somewhere and load your html file.
```ruby

@controller = JSController.new
@controller.load_html_file do
  ...
end
```
Now you can call javascript:

```ruby

@controller.execute('1+1')
@controller.execute_async('foo()') do |result|
 #do stuff with your result here
end

```
Stuff I need to do
---------
Add better error handling, make it generally more robust.
The JSController is just a day or two old and already needs some serious refactoring.

Stuff I still want to do
-----------
Make a better DSL for it.
Add more rake tasks, incorporate CoffeeScript compilation and testing.

Careful
-----------
You probably shouldn't be using this in production yet. If you do, please send pull requests (believe me, there will be some)

Props
-----------
Thanks to @hendrikswan for the inspiration and a whole lot of code and lessons learned.

License
---------
MIT License

repository: michael-erasmus/motion-js

repo_name: michael-erasmus/motion-js


text:
# transfer-api
![](https://github.com/volkodava/transfer-api/workflows/transfer-api/badge.svg)

A simple money transfer REST API implementation with concurrency

## Features

### Account API

- Create account
- View account details

### Transfer API

- Create transfer
- View transfer details
- List all transfers

## Notes

Assumption: solution operates only with debit accounts.

The API designed as a REST APIs with JSON payload.

Transfer processing consists of the following steps (see picture below):
- register transfer (single thread, thread-1)
- validate transfer (single thread, thread-1)
- withdraw money from the source account (single thread, thread-1)
- (partition into blocks of threads)
    - deposit money to the target account (single thread, thread-N)
    - complete transfer, save transfer to in-memory storage (single thread, thread-N)

All these steps implemented as pipeline using `rxjava` library (see: [PipelineExecutor.java#L67](./src/main/java/com/demo/api/transfer/manager/PipelineExecutor.java#L67)).

Java `ConcurrentHashMap` used as in-memory storage. Withdraw and deposit operations on accounts performed atomically.

Throttling of transfer requests implemented using Java `BlockingQueue`,
which is also used as communication channel between service (accept transfer requests) and pipeline executor (process transfer requests).

Mission critical pieces of application covered with tests.

## Tools, Frameworks, Libraries

- Java 11+
- [Maven](https://maven.apache.org/) build-automation tool
- [javalin](https://javalin.io/) lightweight web framework for REST APIs
- [guice](https://github.com/google/guice) lightweight dependency injection framework
- [rxjava](https://github.com/ReactiveX/RxJava) library for asynchronous programming
- [Swagger UI](https://swagger.io/tools/swagger-ui/) library for REST APIs documentation

## How to run the demo

- Clone the project from GitHub: `git clone git@github.com:volkodava/transfer-api.git`

- Build the project: `mvn clean install`

- Run application: `java -jar target/transfer-api-1.0.jar`
    - Configuration options can be overridden using environment variables: `PORT=8080 BUFFER_SIZE=1000 MAX_THREADS=100 java -jar target/transfer-api-1.0.jar`

- Execute unit tests: `mvn test`

- Execute unit + integration tests: `mvn integration-test`

## Examples

- To create account with initial balance of 1000 EUR:

```bash
curl -X POST "http://localhost:8080/accounts" -H  "accept: application/json" -H  "Content-Type: application/json" -d "{\"initialBalance\":1000}"
```
account `id` will be returned in the JSON payload, `Location` header will contain link to account information API.

- To request account information:

```bash
curl -X GET "http://localhost:8080/accounts/de07e939-55dd-4086-b559-86db399e51d5" -H  "accept: application/json"
```

- To transfer 10 EUR from account `de07e939-55dd-4086-b559-86db399e51d5` to account `8810b77a-f326-4e27-8e48-4e77a7f27e05`:

```bash
curl -X POST "http://localhost:8080/transfers" -H  "accept: application/json" -H  "Content-Type: application/json" -d "{\"sourceAccountId\":\"de07e939-55dd-4086-b559-86db399e51d5\",\"targetAccountId\":\"8810b77a-f326-4e27-8e48-4e77a7f27e05\",\"amount\":10}"
```
account `id` will be returned in the JSON payload, `Location` header will contain link to transfer information API.

- To request transfer information:

```bash
curl -X GET "http://localhost:8080/transfers/3d98e966-2a39-46e2-9afc-d2b7cf2285d4" -H  "accept: application/json"
```

## CI builds

Link: https://github.com/volkodava/transfer-api/actions

## API Documentation

API documentation available after application starts at `http://localhost:${PORT}/swagger-ui`.

## Project Structure

- the code of solution ([src/main/java/com/demo](./src/main/java/com/demo)):
```
├── api                        (API implementation)
│   ├── account                (Account API)
│   │   ├── controller         (REST API controller)
│   │   │   └── validator      (User requests validator)
│   │   ├── dto                (Data transfer object(s))
│   │   ├── model              (Business model)
│   │   ├── repository         (Data persistence logic)
│   │   ├── service            (Business logic)
│   │   └── validator          (Data validator(s), used in business logic)
│   ├── common                 (API-level common classes both for account and transfer APIs)
│   ├── exception              (API exceptions)
│   ├── model                  (Shared business model)
│   └── transfer               (Transfer API)
│       ├── controller         ...
│       │   └── validator      ...
│       ├── dto                ...
│       ├── manager            (Business logic to process events, pipeline executor)
│       ├── model              ...
│       ├── repository         ...
│       ├── service            ...
│       ├── store              (Simple event store implementation)
│       └── validator          ...
├── common                     (Application-level shared classes)
└── util                       (Utility classes)
```

- unit tests ([src/test/java/com/demo](./src/test/java/com/demo)):
```
└── api                        (API tests)
    ├── account                (Account API)
    │   └── service            (Business logic tests)
    └── transfer               (Transfer API)
        ├── manager            (Event-processing tests)
        └── service            ...
```

- integration tests ([src/integrationTest/java/com/demo](./src/integrationTest/java/com/demo)):
```
└── api                        (API tests)
    ├── account                (Account API)
    │   └── controller         (REST API controller tests)
    ├── common                 (API-level shared classes)
    └── transfer               (Transfer API)
        └── controller         ...
```

repository: volkodava/transfer-api

gha_language: Java

repo_name: volkodava/transfer-api


text:
## React Boilerplate

A React boilerplate for personal use. Initially created from Heroku's [https://github.com/mars/create-react-app-buildpack](create-react-buildpack); instructions here: [https://blog.heroku.com/deploying-react-with-zero-configuration](https://blog.heroku.com/deploying-react-with-zero-configuration).

```
git clone https://github.com/TiffanyLeeRusso/React-Boilerplate.git
cd React-Boilerplate
npm install
npm start
```

You can find me at my website here:
[http://tiffany.lee-russo.com](http://tiffany.lee-russo.com).

Thanks for stopping by!

## Helpful React Websites:

[https://facebook.github.io/react/docs/react-component.html](https://facebook.github.io/react/docs/react-component.html)

[http://ricostacruz.com/cheatsheets/react.html](http://ricostacruz.com/cheatsheets/react.html)

[https://facebook.github.io/react/tutorial/tutorial.html](https://facebook.github.io/react/tutorial/tutorial.html)

[http://andrewhfarmer.com/component-communication/](http://andrewhfarmer.com/component-communication/)

[https://medium.com/<EMAIL_ADDRESS>

repository: TiffanyLeeRusso/React-Boilerplate

repo_name: TiffanyLeeRusso/React-Boilerplate


text:
---
title: "Tatiana Al-Chueyr Martins"
designation: "Principal Data Engineer, BBC"
image: /images/speakers/tatiana-al-chueyr.jpg
events:
 - 2021
twitter: "https://twitter.com/tati_alchueyr"
linkedin: "https://uk.linkedin.com/tatialchueyr"
event-2021: true
---

Tatiana uses open-source and machine learning technology to create scalable and high-performance systems for the BBC.

She has always been passionate about improving people's lives by using technology. Her career started over 16 years ago when she was still studying to become a Computer Engineer at Unicamp, Brazil. Her first job was to build a 3D visualisation software that helped surgeons planning complex medical procedures. This application helped thousands of professionals and patients across dozens of countries. She learned how to develop high-quality and scalable software while working for Globo, the third-largest media conglomerate in the world. Since then, she applied technology in several industries, including research and education. She has worked both in the Brazilian and British public and private sectors. Since February 2018, she has been part of the BBC Datalab team, contributing to how the organisation informs, educates and entertains the world.

repository: potiuk/airflowsummit-website

gha_license_id: NOASSERTION

repo_name: potiuk/airflowsummit-website


text:
<img src="https://github.com/yasser-alghamdi/winterfell/blob/master/winterfell_logo.jpg" title="winterfell" height="20%" width="40%">

# Winterfell
Winterfell are a group of windows batch scripts to collect windows forensics data and perform efficient, and fast incident response and threat hunting activities.

## Winterfell Package
Winterfell contains various batch scripts which are `Winterfell-System.bat` `Winterfell-Forensics.bat` `Winterfell-Network.bat` `Winterfell-Registry.bat` `Winterfell-Presistance.bat` `Winterfell-Malware.bat` `Winterfell-Web.bat` `Winterfell-Logs.bat` and `Winterfell-Location.bat`
Most of artifacts are automatically get parsed to ease the investigation by using group of available parsers. In additions, winterfell also collects most of forensics raw data to be processed through any type of fronsics analysis tools such as Magnet Axiom such as `Amcache.hve` `SRUDB.dat` `OBJECTS.DATA` `UsrClass.dat` `NTUSER.DAT` `Windows Logs` `Recent Files` etc.

```
Winterfell-System.bat

USERNAME AND SID INFORMATION, USER/SESSION INFORMATION, SYSTEM INFORMATION, DOMAIN TRUSTED SIDs, ENVIRONMENT SETTINGS, DIRECTORY LISTING, SEURITY POLICY, AUDIT POLICY, GROUP POLICY, SECURITY PRODUCT INFORMATION, DRIVERS INFORMATION, SHADOWS FILES INFORMATION, HANDLES INFORMATION, and DLLS INFORMATION
```

```
Winterfell-Forensics.bat

USERS TIMELINE, JUMP LIST, PREFETCH FILES, AMCACHE HIVE, SRUDB HIVE, SHELLBAGS FILES, NTFS USNJRNL FILE, WMI PERSISTANCE, RECENT FILES, SYSTEM CONFIGURATION, ALTERNATIVE STREAM FILES, BMC CACHE, RECYCLE BIN FILES, USRCLASS HIVE, and NTUSER HIVE
```

```
Winterfell-Network.bat

NETWORK INFORMATION, SHARING INFORMATION, and FIREWALL CONFIGURATION
```

```
Winterfell-Registry.bat

REGISTRY INFORMATION, and USUSPICIOUS REGISTRY KEY VALUES INFORMATION
```

```
Winterfell-Presistance.bat

SCHEDULED TASKS, SERVICES, RUNNING PROCESSES, and AUTORUNS INFORMATION
```

```
Winterfell-Malware.bat

LOKI CHECK
```

```
Winterfell-Web.bat

BROWSING URLS HISTORY, and CACHE FILES
```

```
Winterfell-Logs.bat

WINDOWS LOG FILES, POWERSHELL HISTORY, POWERSHELL LOGS FILES, SCHEDULE TASK LOG FILE, SECURITY LOG FILE, WINDOWS REMOTE LOG FILE, SMB LOGS FILES, and IIS LOGS Files
```

```
Winterfell-Location.bat

MALICIOUS LOCATIONS
```

## Winterfell Usage
Make sure to keep all scripts, and tools folder under Winterfell folder. you can run the package by execute `All-Winterfell-Scripts.bat` through administrator command prompt `cmd.exe` by nevigate to Winterfell folder. the script has the capability to identify the folder location so you can place the folder anywhere in Windows OS.

```
$$\      $$\ $$$$$$\ $$\   $$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$\  $$$$$$$$\ $$$$$$$$\ $$\       $$\
$$ | $\  $$ |\_$$  _|$$$\  $$ |\__$$  __|$$  _____|$$  __$$\ $$  _____|$$  _____|$$ |      $$ |
$$ |$$$\ $$ |  $$ |  $$$$\ $$ |   $$ |   $$ |      $$ |  $$ |$$ |      $$ |      $$ |      $$ |
$$ $$ $$\$$ |  $$ |  $$ $$\$$ |   $$ |   $$$$$\    $$$$$$$  |$$$$$\    $$$$$\    $$ |      $$ |
$$$$  _$$$$ |  $$ |  $$ \$$$$ |   $$ |   $$  __|   $$  __$$< $$  __|   $$  __|   $$ |      $$ |
$$$  / \$$$ |  $$ |  $$ |\$$$ |   $$ |   $$ |      $$ |  $$ |$$ |      $$ |      $$ |      $$ |
$$  /   \$$ |$$$$$$\ $$ | \$$ |   $$ |   $$$$$$$$\ $$ |  $$ |$$ |      $$$$$$$$\ $$$$$$$$\ $$$$$$$$\
\__/     \__|\______|\__|  \__|   \__|   \________|\__|  \__|\__|      \________|\________|\________|

----------------------------------------------------
Command:
C:\Users\yasser\Desktop\winterfell-master>All-Winterfell-Scripts.bat
```

## Demo of Execution
below are two animated GIFs to domenstrate a demo of execution and results data as the following:

**Run Winterfell Package**
![Run_Winterfell](https://github.com/yasser-alghamdi/winterfell/blob/master/winterfell.gif?raw=true)

**Data Navigation**
![Results](https://github.com/yasser-alghamdi/winterfell/blob/master/results.gif?raw=true)

## References

https://ericzimmerman.github.io/#!index.md

https://www.nirsoft.net/utils/


text:
## What is this

This is a repository with content to illustrate the use of [SPM12](https://www.fil.ion.ucl.ac.uk/spm/software/download/) for fMRI analysis in a [Jupyter notebook](https://jupyter.org/) running [octave-kernel](https://github.com/Calysto/octave_kernel) on [Binder](https://mybinder.org/).

It currently has two notebooks:
- [`spm12_octave_jupyter_basics.ipynb`](#spm12_octave_jupyter_basics.ipynb) - which runs through some basic commands and functonalities
- [`spm12_scripting_tutorial.ipynb`](#spm12_scripting_tutorial.ipynb) - which is a step by step SPM12 scripting tutorial based on [this blog post](https://jsheunis.github.io/2018-06-28-spm12-matlab-scripting-tutorial-3/)

More content will follow...

## Reproducible environment

To launch this repository and interact with the notebooks on Binder, follow this link:

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jsheunis/spm12-octave-jupyter/master)

## More info

For a step-by-step description of how to set up a repository like this yourself up yourself, see this [blog post](https://jsheunis.github.io/2020-04-14-spm12-octave-binder/).


text:
# Uuid for Yii

The Uuid for Yii provides you with instant accessibility to use Uuid in Yii PHP applications. This package uses [Ramsey uuid](https://github.com/ramsey/uuid) to generate unique uuid string.

## Features

* Automatic insertion of Uuid using Behavior option.

## Installation

Use composer to install the package
```
composer require package-of-yii/uuid-yii
```

## Getting started

Behaviour Class Implementation
```php
use Poyii\Uuid\Behavior\UuidBehavior;

public function behaviors()
{
    return [
        'uuid' => [
            'class' => UuidBehavior::class,
            'column' => 'uuid',
            'value' => Uuid::uuid6(),
        ],
    ];
}
```

## Contributing

All contributors are welcome! For information on how to build, test, and release, see our [contributing guide](CONTRIBUTING.md).

## License

The Uuid Yii library is free software released under the MIT License.

repository: package-of-yii/uuid-yii

repo_name: package-of-yii/uuid-yii


text:
# [URLConnection Server-Side Request Forgery (SSRF) and File Disclosure](https://find-sec-bugs.github.io/bugs.htm#URLCONNECTION_SSRF_FD)

    Server-Side Request Forgery occur when a web server executes a request to a user supplied destination
    parameter that is not validated. Such vulnerabilities could allow an attacker to access internal services
    or to launch attacks from your web server.

    URLConnection can be used with file:// protocol or other protocols to access local filesystem and potentially other services.

    **Vulnerable Code:**

new URL(String url).openConnection()

new URL(String url).openStream()

new URL(String url).getContent()

    **Solution/Countermeasures:**

*   Don't accept URL destinations from users
*   Accept a destination key, and use it to look up the target destination associate with the key
*   White list URLs (if possible)
*   Validate that the beginning of the URL is part of a white list

**References**

[CWE-918: Server-Side Request Forgery (SSRF)](https://cwe.mitre.org/data/definitions/918.html)

[Understanding Server-Side Request Forgery](https://www.bishopfox.com/blog/2015/04/vulnerable-by-design-understanding-server-side-request-forgery/)

[CWE-73: External Control of File Name or Path](https://cwe.mitre.org/data/definitions/73.html)

[Abusing jar:// downloads](https://www.pwntester.com/blog/2013/11/28/abusing-jar-downloads/)

repository: codacy/codacy-spotbugs

gha_language: Scala

repo_name: codacy/codacy-spotbugs


text:
# RegisterDomainResponse
> squareconnect.models.register_domain_response

### Description

Defines the fields that are included in the response body of a request to the RegisterDomain endpoint.  Either `errors` or `status` will be present in a given response (never both).

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**errors** | [**list[Error]**](Error.md) | Any errors that occurred during the request. | [optional]
**status** | **str** | Status of the domain registration. See [RegisterDomainResponseStatus](#type-registerdomainresponsestatus) for possible values | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

repository: square/connect-python-sdk

repo_name: square/connect-python-sdk


text:
---
title: Memcached collectd Plugin
brief: Memcached metrics for collectd.
---

# ![](https://github.com/signalfx/integrations/blob/master/collectd-memcached/img/integrations_memcached.png) Memcached Plugin

_This is a directory consolidate all the metadata associated with the Memcached collectd plugin. The relevant code for the plugin can be found [here](https://github.com/signalfx/collectd/blob/master/src/memcached.c)_

- [Description](#description)
- [Requirements and Dependencies](#requirements-and-dependencies)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Metrics](#metrics)
- [License](#license)

### DESCRIPTION

This is the SignalFx Memcached plugin. Follow these instructions to install the Memcached plugin for collectd. This will send data about Memcached to SignalFx, enabling built-in Memcached monitoring dashboards.

Use this plugin to monitor the following types of information from a Memcached node:

* request information (including hits, misses & evictions)
* current connections
* net input/output bytes
* number of items cached

Original Memcached Documentation https://code.google.com/p/memcached/wiki/NewStart

### REQUIREMENTS AND DEPENDENCIES

#### Version information

| Software  | Version        |
|-----------|----------------|
| collectd  |  4.2 or later  |
| memcached |  1.1 or later  |

### INSTALLATION

1. Install the collectd plugin.

 ##### Ubuntu 12.04, 14.04, 15.04 & Debian 7, 8:

 This plugin is included with [SignalFx's collectd package](https://github.com/signalfx/integrations/tree/master/collectd).

 ##### RHEL/CentOS 6.x & 7.x, and Amazon Linux 2014.09, 2015.03 & 2015.09

 Run the following command to install this plugin:
 ```
 yum install collectd-memcached
 ```
1. Download SignalFx's [sample memcached configuration file](https://github.com/signalfx/integrations/blob/master/collectd-memcached/10-memcached.conf)

 Modify the sample configuration file to provide values that make sense for your environment, as described in the header.

1. Add the following line to /etc/collectd.conf, replacing the example path with the location of the configuration file you downloaded in step 2:
 ```
 include '/path/to/10-memcached.conf'
 ```
1. Restart collectd.

Metrics from memcached will begin streaming into SignalFx, and new built-in dashboards will be created for you. Check the status of your new integration on the Integrations page.

### CONFIGURATION

* Make sure ServiceURL points to your jmx app.
* Modify the "Host" parameter to what you want your source name to be.
* Please leave the identifier [hostHasService=kafka] in the hostname.

### USAGE

Sample of pre-built dashboard in SignalFx:

![](././img/dashboard_memcached.png)

### METRICS

For documentation of the metrics and dimensions emitted by this plugin, [click here](././docs).

### LICENSE

License for this plugin can be found [in the header of the plugin](https://github.com/signalfx/collectd/blob/master/src/memcached.c)

repository: geoffreyclark/integrations

repo_name: geoffreyclark/integrations


text:
# strong-globalize

This repository contains StrongLoop Globalize CLI and Runtime modules.

# What's new in 4.0.0

Starting from 4.0.0, it becomes a monorepo managed by [lerna](https://lerna.js.org/)
with the following packages:

- [strong-globalize-cli](packages/cli): CLI for translate, lint, and extract
- [strong-globalize](packages/runtime): APIs and implementation for globalization
- [strong-globalize-util](packages/util): Utility to generate CLDR json data file (private module, not published to npm)

Most of the code has been rewritten in TypeScript.

For documentation, check out:

- [CLI tooling](packages/cli/README.md)
- [Runtime library](packages/runtime/README.md)

repository: strongloop/strong-globalize

repo_name: strongloop/strong-globalize


text:
# Emacs Configuration #

## Description ##

This is a custom configuration for GNU's Emacs (best for v. >24). Based on Steve Purcell's configuration.

It includes autocompletion out of the box and automatically highlights syntax errors using `flycheck`.
The Emmet mode is automatically activated for HTML/CSS.
Linum mode is accessible by `M-x linum-mode` and has beed adapted to resize correctly when the font size is changed.

The default Theme can be changed entering `M-x customize-themes`. Default is set to `deeper-blue`.

Improved support for:
* Ruby / Ruby on Rails
* CSS / LESS / SASS / SCSS
* HAML / Markdown / Textile / ERB
* Clojure (with Cider and nRepl)
* Javascript / Coffeescript
* Python
* PHP
* Haskell
* Elm
* Common Lisp (with Slime)

If you want to add your own customizations, please do it here: `~/.emacs.d/lisp/init-local.el`.

## Last changes ##
(11.06.2016)
* Added indent-guide. To activate: `M+x indent-guide-mode`. [link](https://github.com/zk-phi/indent-guide "zk-phi/indent-guide")

(30.05.2016)
* Added WTTRIN. It allows checking the weather forecast from inside Emacs: `M+x wttrin 'cityname'`. [link](https://github.com/bcbcarl/emacs-wttrin "bcbcarl/emacs-wttrin")

(14.04.2016)
* Autocomplete-mode starts automatically for JavaScript (with a pop-up box)
* Bigger default font-size (you can still always zoom in `C+x C-+`, or out `C+x C--`)
* Linum-mode (numeration) is now automatically activated for most of the major modes
* Beautify function for HTML, CSS, JS is now available. To beautify => `M-x web-beautify-*js/json/html/css*`
* Whitespace trailing made more appealing (magenta wave underline)
* Flycheck messages available as emojis. To activate => `flycheck-status-emoji-mode`


text:
# JSON API Check

**check-json - Use Nagios / Icinga to monitor JSON endpoints**

This plugin tests JSON API endpoints served over HTTP. It can check for the
existence of keys or do simple checks against values in the JSON response.

Command line flags have been chosen to be compatible with the common Nagios
[check_http](https://www.monitoring-plugins.org/doc/man/check_http.html) plugin.
Pattern for JSON tests from [Python JSON
Check](https://github.com/drewkerrigan/nagios-http-json). This version allows
regex test of string values and is a stand-alone binary.

Basic Usage:
```bash
  check-json --hostname=time.jsontest.com \
    --key-exists=time --key-equals=date:2016
```

Response Check Options:
```
  -e, --key-exists=    Checks existence of these keys from JSON response
  -q, --key-equals=    A regex to check the value of specific key values from
                       JSON response
  -l, --key-lte=       Check the returned value is less than this for a JSON key
  -g, --key-gte=       Check the returned value is greater than this for a JSON
                       key
  -d, --header-equals= Key=value checks for HTTP response headers (key:value)
  -s, --status=        Checks the numerical HTTP return status (eg. 200)
  -r, --regexp=        Checks the response body for a string using a regular
                       expression.
  -v, --verbose        Display extra details (eg. response bodies) for debugging
                       (false)
```

HTTP Options:
```
  -H, --hostname=      Web server to query
  -u, --uri=           URI to GET or POST (/)
  -j, --method=        HTTP method (eg. HEAD, OPTIONS, TRACE, PUT, DELETE) (GET)
  -P, --post=          Body of POST Request
  -a, --authorization= Basic HTTP auth (username:password)
  -S, --ssl            Enforce SSL (false)
  -k, --header=        Key,value pairs to add as headers in HTTP request
                       (name:value format)
```

Help Options:
```bash
  -h, --help           Show this help message
```

## Installation

Ensure you have go installed.

Building is more painful than normal because it is not a public repo.

```
go build github.com/werrett/check-json
```

Now Check that you have it installed OK:

```bash
check-json --help

Usage:
  check-json [OPTIONS]

Application Options:
  ...
```
## Example Commands

Simple JSON key exists and regex against key value:

```bash
check-json --hostname=time.jsontest.com  \
  --key-exists=time --key-equals=date:2016 --verbose
```

Simple check using SSL:

```bash
check-json --ssl --hostname=api.foursquare.com \
   --uri='/v2/venues/4e37bb6aa809a0c63b3882e8?client_id=AA...&client_secret=XX...&v=20150313' \
   --key-exists=response
```

Check adding an authentication header:

```bash
check-json --hostname=company.clearbit.co \
  --uri=/v1/companies/domain/clearbit.co --ssl \
  --header="Authorization:Bearer sk_..." \
  --key-equals="name:Clearbit" --verbose
```

## Todo

 - Nagios performance data
 - Checks on load times (warning / critical)
 - Integration tests

repository: werrett/check-json

repo_name: werrett/check-json


text:
# Summary

The first Python blockchain.

Based around modularity and efficiency with ready-made decentralized applications.

Optional turing complete public and private contracts.

Welcome to Bismuth, a digital distributed self-regulating database system whose primary application is currency, and its first application is mining. It comes with a set of DAPPs out-of-the-box. Bismuth is not based on code of BTC or any of it’s derivates, it is only inspired by some ideas laid down by Satoshi Nakamoto (BitCoin), Sunny King (Peercoin), NXT and ETH developers.

Bismuth does not draw any code from other repositories, instead it reformulates the cryptocurrency code in its own terms to be easily readable, compatible across all platforms, integrated into business solutions with utmost ease and most importantly open for development to wide public through it’s simplicity, while minimizing the security risk for custom code implementations.

Bismuth is a decentralized transaction platform focused on modularity and open source approach. It comes with default decentralized applications and tools out of the box, not only to be used by everyone, but also to be hosted by anyone. These applications are supplied as interpretation engines, which prevents blockchain bloat. Inspired by Satoshi’s whitepaper, Bismuth also offers optional hyperblocks as a pruning mechanism, a system which greatly reduces disk space usage and increases execution speed.

On-chain messaging and data storage is available in both public and encrypted forms. Together with Tor support and transaction mixing decentralized application, Bismuth offers top-of-the-line privacy features.

- System: Proof of work (custom implementation)
- Hashing algorithm: SHA224
- Signing algorithm: PKCS1_v1_5
- Transaction size: ~650 bytes + data fees
- Mining reward: Tapering from 15 at block 1 to 0 at block 10,000,000
- Difficulty: Previous difficulty + log2 of block per day divided by blocks per day (min of daily median)
- Difficulty retarget: Every block
- Maximum supply: 99,999,980 (109,999,978 including dev rewards)
- Smallest unit: 0.00000001
- Confirmations before respending: 0
- Plaintext peer list file
- Tor proxy support
- Optimized towards efficiency
- Dual database system for maximum performance
- Database compression/pruning
- Arbitrary data storage ecosystem and philosophy
- Address-based anonymizing transaction mixer
- Assymetric message and data encryption
- Batteries included: Pool, casino, mixer, peer map
- Node options fully configurable
- All layers built from scratch
- 100% OpenSource
- Port: 5658
- More information about exchanges and services can be found in the announcement thread on the Bitcointalk forum: https://bitcointalk.org/index.php?topic=1896497.msg18827587#msg18827587

repository: bismuthfoundation/website-legacy

repo_name: bismuthfoundation/website-legacy


text:
# FxHABroadcaster
[![license](https://img.shields.io/github/license/BrendonCurmi/FxHABroadcaster)](https://github.com/BrendonCurmi/FxHABroadcaster/blob/master/LICENSE)
[![discord](https://discordapp.com/api/guilds/699764448155533404/widget.png)](https://discord.gg/VFNTycm)

This is a plugin that broadcasts to the server when a player catches a hidden ability (HA) legendary Pokemon

Hovering over the message shows the Pokemon's IV values

repository: BrendonCurmi/FxHABroadcaster

repo_name: BrendonCurmi/FxHABroadcaster


text:
---
layout: single
title:  "Useful extensions for Google Chrome"
date:   2017-11-14 15:03:38 -0400
categories: web
author: JS
tags:
  - web
  - chrome
excerpt: Some useful chrome extensions
---

I have been using Chrome for most of my internet browsing, and here I am sharing the list of the most useful extensions.

1.  [AdBlock](https://chrome.google.com/webstore/detail/adblock/gighmmpiobklfepjocnamgkkbiglidom?utm_source=chrome-app-launcher-info-dialog): this is the most useful tool to keep the browser clean from flashing ads. It speed up loading time and removes the eye-sore distractions. Unfortunately, nowadays many sites can detect that you are using the blocker and will not allow you viewing the contents unless you pause it. Sigh..
2.  [Google Dictionary](https://chrome.google.com/webstore/detail/google-dictionary-by-goog/mgijmajocgfcbeboacabfgobmjgjcoja?utm_source=chrome-app-launcher-info-dialog): this is useful if you are surfing foreign websites, or something alien to you. Just double click the text and google will tell you what is means (likely). Besides, it automatically checks the clipboard when you click the icon.
3.  [HTTPS Everywhere](https://chrome.google.com/webstore/detail/https-everywhere/gcbommkclmclpchllfjekcdonpmejbdp?utm_source=chrome-app-launcher-info-dialog): it automatically switches from insecure “http” to secure “https”. It will protect you against many forms of hijackings, which is vitally important nowadays.
4.  [Save to Pocket](https://chrome.google.com/webstore/detail/save-to-pocket/niloccemoadcdkdjlinkgdfekeahmflj?utm_source=chrome-app-launcher-info-dialog): this is a one click send-to-read-later-offline. Ideal for me given that there is no/poor internet connection during my daily commute.


text:
# Odin Front End

Quick install development version of front end

    yarn test

## Hot Redeployment and Development cycle

   See Server Development with Hot Deployment in root DEVELOPER.md

## Running JS tests

Run JS tests

    yarn test

Run a single JS test

    yarn test Clazz.test.js

## Run JS test with console log output

    jest --silent=false Clazz.test.js

## Debug JS

To debug a single JS test, add the line

    debugger

into the script to define a break point then start test with

    ./jest-debug.sh Clazz.test.js

Open up chrome://inspect in Chrome, click inspect and play icon and step through
the debugger

## Update Snapshots

  jest --updateSnapshot

or

  jest -u

## Docker pod recycle

    mvn install -P quick                    && \
      docker run --name odin_odin-frontend_1

repository: ianhomer/odin

repo_name: ianhomer/odin


text:
# Demo Resources

Let's go!

This playground was created for `@rawkode` live demo made by `@bwplotka` and David McKay.

You can watch all here: https://www.youtube.com/watch?v=j4TAGO019HU&feature=emb_title&ab_channel=DavidMcKay

Otherwise, have fun with those resources!

### Feedback

Do you see any bug, typo in the tutorial or you have some feedback for us?
Let us know on https://github.com/thanos-io/thanos or #thanos slack channel linked on https://thanos.io

### Contributed by:

* Bartek [@bwplotka](https://bwplotka.dev/)

repository: kunal-kushwaha/thanos

repo_name: kunal-kushwaha/thanos