text:
aerogear-windows-oauth2
=======================

OAuth2 Client for windows phone. Taking care of:

* account manager for multiple OAuth2 accounts
* request access and refresh token
* grant access through secure external browser and URI schema to re-enter app
* (implicit or explicit) refresh tokens
* permanent secure storage

|                 | Project Info  |
| --------------- | ------------- |
| License:        | Apache License, Version 2.0  |
| Build:          | Visual Studio  |
| Documentation:  | https://aerogear.org/windows/  |
| Issue tracker:  | [https://issues.jboss.org/browse/AGWIN](https://issues.jboss.org/browse/AGWIN)  |
| Mailing lists:  | [aerogear-users](http://aerogear-users.1116366.n5.nabble.com/) ([subscribe](https://lists.jboss.org/mailman/listinfo/aerogear-users))  |
|                 | [aerogear-dev](http://aerogear-dev.1069024.n5.nabble.com/) ([subscribe](https://lists.jboss.org/mailman/listinfo/aerogear-dev))  |

Example Usage
-------------

In the example below is usage for google, first go to [google console](https://console.developers.google.com) create a project  select `API & auth` > `APIs` and enable `Drive API` then under `API & auth` > `Credentials` select `Create new client ID`
there select `Installed application` and then `iOS` (yeah you read that correctly select iOS) this is because iOS also supports setting up a special protocol so that you app
continues after being susspended. For bundle id choose any protocol you want.

Go to Visual Studio and open `Package.appxmanifest` go to `Declarations` add a protocol and set the bundle id you picked on the google console.

![Add protocol](protocol.png)

Next step is setting up the account in code, replace the `<google-client-id>` with your google client id:

```csharp

var config = await GoogleConfig.Create(													//[1]
    "<google-client-id>",
    new List<string>(new string[] { "https://www.googleapis.com/auth/drive" }),
    "google"
);

var module = await AccountManager.AddAccount(config);									//[2]
if (await module.RequestAccessAndContinue())											//[3]
{
    Upload(module);
}

```

First we create a google config [1] and add it to the AccounManager [2] then we RequestAccessAndContinue if the result is true the app will not be susspended and we can
for instance upload to google drive, like in this example. If the result is false the app will be susspended and an Authentication dialog will appear.
To handle the continuation event you'll have to have the [contiuation manager](http://msdn.microsoft.com/en-us/library/dn631755.aspx) in you app.

Or implement it yourself:

```csharp
protected async override void OnActivated(IActivatedEventArgs args)
{
    if (args.Kind == ActivationKind.WebAuthenticationBrokerContinuation)
    {
		//get a reference to the page as IWebAuthenticationContinuable
		var wabPage = rootFrame.Content as IWebAuthenticationContinuable;
		wabPage.ContinueWebAuthentication(args as WebAuthenticationBrokerContinuationEventArgs);
    }
...
```

The page will have to implement the `IWebAuthenticationContinuable` interface like this:

```csharp
async void IWebAuthenticationContinuable.ContinueWebAuthentication(WebAuthenticationBrokerContinuationEventArgs args)
{
    Upload(await AccountManager.ParseContinuationEvent(args));
}
```

This will parse the ContinuationEvent and save the token from the oauth provider ( in this case google ) securly to the device. So next time the user will not need
to authenticate again. Upload to google drive passing the OAuthModule with the authentication headers needed

In you upload method you can use the `AuthzWebRequest` a special `WebRequest` that will take care of adding the authentication headers.

```csharp
public async void Upload(OAuth2Module module)
{
	var request = AuthzWebRequest.Create("https://www.googleapis.com/upload/drive/v2/files", module);
	request.Method = "POST";

	using (var postStream = await Task<Stream>.Factory.FromAsync(request.BeginGetRequestStream, request.EndGetRequestStream, request))
...
```

## Documentation

For more details about the current release, please consult [our documentation](https://aerogear.org/windows/).

## Development

If you would like to help develop AeroGear you can join our [developer's mailing list](https://lists.jboss.org/mailman/listinfo/aerogear-dev), join #aerogear on Freenode, or shout at us on Twitter @aerogears.

Also takes some time and skim the [contributor guide](http://aerogear.org/docs/guides/Contributing/)

## Questions?

Join our [user mailing list](https://lists.jboss.org/mailman/listinfo/aerogear-users) for any questions or help! We really hope you enjoy app development with AeroGear!

## Found a bug?

If you found a bug please create a ticket for us on [Jira](https://issues.jboss.org/browse/AGWIN) with some steps to reproduce it.


text:
# Triangles

#### app that takes in the length of three sides of a triangle and return the triangle type, 2-6-18

#### _By Sara Hamilton and Jasun Feddema_

## Description

_A form has inputs for three sides of a triangle.  When the form is filled out and submitted, the triangle type is returned.  If the lengths submitted could not form a triangle, the message "not a triangle" is returned._

## Setup/Installation Requirements

* _Clone this GitHub repository_

```
https://github.com/Sara-Hamilton/triangles-c-sharp.git
```
  or
```
https://github.com/jaybojaybojaybo/triangles-c-sharp.git
```

* _Install the .NET Framework_

  .NET Core 1.1 SDK (Software Development Kit)

  .NET runtime.

  See https://www.learnhowtoprogram.com/c/getting-started-with-c/installing-c for instructions and links.

* _Run the program_
  1. In the command line, CD into the project folder.
  2. In the command line, type dotnet restore. Enter.
  3. In the command line, type dotnet build. Enter.
  4. In the command line, type dotnet run. Enter.

* _View program on web browser at port localhost:5000_

* _Enter values and submit form to find out triangle type._

## Support and contact details

_To suggest changes, submit a pull request in the GitHub repository._

## Technologies Used

* HTML
* C#
* .Net Core 1.1

### Specifications

When user enters 3 separate numbers into the fields available then hits submit, the appropriate triangle type is returned.

Example Input: 3, 3, 3
Example Output: Equilateral

Example Input: 2, 3, 5
Example Output: Not a Triangle

Example Input: 4, 5, 7
Example Output: Scalene

Example Input: 3, 3, 4
Example Output: Isosceles

### License

*MIT License*

Copyright (c) 2018 **_Sara Hamilton and Jasun Feddema_**

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

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

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

license: MIT

repository: Sara-Hamilton/triangles-c-sharp

branch_name: refs/heads/master

extension: md

license_type: permissive

repo_name: Sara-Hamilton/triangles-c-sharp


text:
# Python_ass4

- Assignment 4

- Installation
    pip install flask_sqlalchemy
    pip install sqlalchemy

- Usage

    from flask import Flask, render_template, redirect, url_for
    from flask.helpers import make_response
    from flask import request
    from flask.json import jsonify
    import sqlalchemy
    from flask_sqlalchemy import SQLAlchemy
    import jwt

- Examples
     PS C:\Users\леново\Desktop\python_Ass3\test>  & 'C:\Users\леново\AppData\Local\Microsoft\WindowsApps\python3.9.exe' 'c:\Users\леново\.vscode\extensions\msons\ms-python.python-2021.11.1422169775\pythonFiles\lib\python\debugpy\launcher' '62920' '--' 'c:\Users\леново\Desktop\python_Ass3\test\test.py'
 * Serving Flask app 'test' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 277-743-101
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
PS C:\Users\леново\Desktop\python_Ass3\test>  c:; cd 'c:\Users\леново\Desktop\python_ass2\src'; & 'C:\Users\леново\AppData\Local\Microsoft\WindowsApps\python3.9.exe' 'c:\Users\леново\.vscode\extensions\ms-python.python-2021.11.1422169775\pythonFiles\lib\python\debugpy\launcher' '51295' '--' 'c:\Users\леново\Desktop\python_ass2\src\main.py'
 New leveraged pairs added to Margin Trading

CRO/USDC
 AVAX/USDC
 ALGO/USDC
 MANA/BTC

Trade with up to 10x l…

.......................................................................

 Algorand: SkyBridge Capital CEO Explains Why He Is Bullish on $ALGO

         In a recent interview, former White House Director of Communications Anthony Scaramucci, who is the founder and CEO of global alternative investment firm SkyBridge Capital (“SkyBridge”), shared his latest thoughts on Algorand. Here is how Binance Resear...

.......................................................................

 Racing past Bitcoin Cash, Litecoin, Algorand, MATIC needs this to stay ahead

         This week proved to be fruitful for most of the crypto market and a lot of altcoins even created records including MATIC, the token of the
Polygon network. Along with the rising prices, the investors’ bullishness also rose and MATIC seemed to be enjoying the profits. But th...

.......................................................................

 Envision Virgin Racing Partners With Algorand Foundation To Promote ‘Green’ Blockchain Technology

         Envision Virgin Racing, a British motor racing team based at Silverstone Park, has announced that it has struck a Platinum Partnership deal with Algorand Foundation, the non-profit organization leading development for Algorand, the first ‘pure’ proof-of-stake blockcha...

.......................................................................

 Ethereum Competitor Could Power Major Real-World Use Cases, According to Hedge Fund Veteran Anthony Scaramucci

         SkyBridge Capital founder Anthony Scaramucci says one Ethereum competitor is well-equipped to power complex use cases in the real world. In a new interview with Real Vision, the hedge fund veteran says the decentralized blockchain network Algorand (ALGO) could breathe new life in...

.......................................................................

PS C:\Users\леново\Desktop\python_ass2\src>

branch_name: refs/heads/main


text:
# Knative Caching Resources

[![GoDoc](https://godoc.org/github.com/knative/caching?status.svg)](https://godoc.org/github.com/knative/caching)
[![Go Report Card](https://goreportcard.com/badge/knative/caching)](https://goreportcard.com/report/knative/caching)

Knative `caching` defines resources that can be used to express a desire to
cache things. These are **just** API definitions for caching custom resources
plugins, it does not include an implementation of this API.

To learn more about Knative, please visit our
[Knative docs](https://github.com/knative/docs) repository.

If you are interested in contributing, see [CONTRIBUTING.md](./CONTRIBUTING.md)
and [DEVELOPMENT.md](./DEVELOPMENT.md).

repository: knative/caching

gha_language: Go

repo_name: knative/caching


text:
# send_gmail

## Usage

First open "send_gmail.py", please enter your address and password.

```python
from send_gmail import *

sub = "Hello"
msg = "World!"
address =<EMAIL_ADDRESS>
send_gmail(sub, msg, address)
```

repository: CORDEA/my-python-modules

repo_name: CORDEA/my-python-modules


text:
# UI24RBridge
Bridge between the UI24R and a MIDI controller

This is a beta project.
It tested only in windows, a Behringer BCF2000 and a begringer X-Touch midi controller

You can download the latest release for windows: https://github.com/MatthewInch/UI24RBridge/releases/download/v0.6.8/win-x86-core.zip

for Linux: https://github.com/MatthewInch/UI24RBridge/releases/download/v0.6.8/linux-x64.zip

Implemented the Mackie Control protocol (It can work with any daw controller that can use in MC mode)
The earlier protocol has not been removed but the new functions only implemented in MC mode.

In the settings file (appsettings.json)

"UI24R-Url": the mixer url (simply copy the url from the browser and replace http to ws and remove the /mixer.html from the end)

"MIDI-Input-Name","MIDI-Output-Name": The controller name. If you don't know it simple remove these to row from the config file and modify the mixer url to an invalid value. The UI24RBridge write all of the availabel MIDI device to the console.

"Protocol": MC or HUI, or empty.

"SyncID" if you want to use the select button you can set the syncID to the same value that you use in the mixer's default surface (you can set it on the Settings/Locals page)

The Linux binary wasn't tested.

Example of the settings file:

{

"UI24R-Url": "ws://<IP_ADDRESS>",

"MIDI-Input-Name": "X-Touch",

"MIDI-Output-Name": "X-Touch",

"Protocol": "MC",

"SyncID": "Abaliget"

}

The Bridge functionalities:

-Use 6 layer (you can select the channels in the mixer own surface with the Global view groups. You have to select 8 channels per viewgroup at least.

If there isn't any global view group in the mixer the Bridge use the channel in this order:

input 1-8;

input 9-16;

input 17-22, Line in;

Player, FX 1-4;

SUB 1-6; AUX 1-2

AUX 3-10;

-The faders work on every type of channels

-The knobs set the gain on the input channels

-Select buttons work on every channel


text:
---
schema: default
title: Why data automation matters for open data portals
date: 2017-04-27 00:00:00
thumbnail: /assets/img/stories/airflow-dsd-approvals.jpg
author:
    name: Maksim Pecherskiy
---

Be honest. When you read the words data automation you get a sudden rush of melatonin to your brain, your eyelids get heavy, and you get an uncontrollable urge to fall asleep. Don't be ashamed; you are reacting to these words in a similar manner to 99.5% of people on the planet. Bear with me though for just a few paragraphs while I try to explain why it matters, and how we do it here at the City of San Diego.

<!--more-->

Before we get started, let me promise to not use any of the following:

* Mathematics (or any subset thereof)
* Buzzwords
* Tech Jargon

### The Quick Win

One of the best case studies to make obvious the benefits of data automation is [StreetsSD](http://streets.sandiego.gov). We started working on this project with the City's Transportation and Stormwater Department (TSW). They asked us to build a map of paving projects. We got a spreadsheet of data from the department, loaded it into [our mapping tool](http://carto.com) and wrote some code. Boom, we had a map.

![Carto](/assets/img/stories/carto_editor.jpg)

### The Ugly Loss
Most web maps, charts, and data visualizations you see in newspapers, and even those created by a lot of cities, usually stop there. That's actually OK because a lot of these things don't need to be updated automatically.   However, the goal of StreetsSD is to provide an up-to-date status of work to city employees and residents. Keeping the map updated is important.

The typical City approach in these situations is to have someone "run a report" and upload it somewhere to update the map.  Most of the time, "running a report" actually means this:

* Extract data from a database, using a query (that could change, resulting in different data).
* Complete 1-40 manual steps in Excel to clean the data.  These steps are usually not documented anywhere and could easily vary for each run of the report.
* Send it or upload it somewhere.

This approach inherently has several problems:

* Data is inconsistent, meaning source of truth is inconsistent
* Bad data potentially causes bugs in the application
* City employees waste a HUGE amount of time
* People might forget to actually run the report
* We can't expect someone to run a report every day (or with any kind of frequency that a continously update data source needs).

 And even though we're creating a great operational tool, we're costing people time and risking the release of wrong information.

At this point, being the wise reader you are, you might be thinking that the outcome would definitely be worth the cost in the case of just one map. To which I'll respond with:

![Systemic issue](/assets/img/stories/systemic_issue.jpg)

This is not a problem with just one map. It would occur with any dataset we provide as open data on the portal, anything we build on top of those datasets, and any internal or external reports we regularly generate.  Therefore, this is a problem that needs to be solved at a systemic level.

### Redemption
Our philosophy has always been to let machines do what they do best - updating data, re-running things, keeping track of things - and humans do what they do best - making those fuzzy decisions that only our brains can.

We needed a flexible and extensible solution that could scale across the organization as a whole.

![CSD Data Sources](/assets/img/stories/sd_sources.jpg)

We turned to an open source project called [Airflow](https://github.com/apache/incubator-airflow/). It has become the tool of choice for Spotify, IFTTT, Lyft, AirBnB and many others for solving this exact set of problems.  Airflow has several advantages:

* Built in Python - so it's extensible with any of thousands of Python open-source packages
* Modular - new connections to different data sources are easy to write
* Open source with a strong community - so there's plenty of support and continuous updates
* Scalable - as we need to do more and more, Airflow easily scales

We called our Airflow deployment Poseidon because codenames are cool, San Diego is on the Ocean, and Poseidon rules the sea. Plus, we get to use images like these:
![Poseidon](/assets/img/stories/poseidon-hero.jpg)

The basic idea of Poseidon is this:

![Basic ETL](/assets/img/stories/simple_etl.jpg)

* Get data from a source (database, spreadsheet, map, website)
* Do some stuff to it (geocode it, aggregate it, clean it)
* Upload it (put it on the cloud that is backing our portal and a variety of other applications)
* Run it on a schedule (once every 5 minutes, OR once every day, OR on every odd day of the month at 3:02 PM)

Simple, right?

We're now doing this for all of our datasets (way harder to implement than explain). This means we're also doing it for everything built on top of our data, such as StreetsSD, the portal, and various other visualizations.

### The Open Sea
Now you're probably thinking: whoop-de-doo, I'm a resident and I don't know data, so I really don't care that you now have automated data.

We know. That's why we pushed it further.

Look back at the diagram above. Those are just dependent pieces that run in a defined cycle. What if we flipped out some of those pieces and got this?

![Adv Flow](/assets/img/stories/adv_flow_diagram.jpg)

Automated data is now starting to get interesting. Because of Poseidon's flexibility, and the fact that it's just a bunch of coordinated tasks, we can send automatic notifications, alerts based on thresholds, and all kinds of other cool stuff that would never have been possible without automation.

But if I told you what we were planning next, I'd ruin the surprise. You'll just have to wait and see.

repository: araustin/seaboard

gha_license_id: MIT

repo_name: araustin/seaboard


text:
---
name: Bug Report
about: Report a bug with SR-IOV CNI

---
<!-- Please use this template while reporting a bug and provide as much relevant info as possible. Doing so give us the best chance to find a prompt resolution to your issue -->

### What happened?

### What did you expect to happen?

### What are the minimal steps needed to reproduce the bug?

### Anything else we need to know?

### Component Versions
Please fill in the below table with the version numbers of applicable components used.

Component | Version|
------------------------------|--------------------|
|SR-IOV CNI Plugin            |<Input Version Here>|
|Multus                       |<Input Version Here>|
|SR-IOV Network Device Plugin |<Input Version Here>|
|Kubernetes                   |<Input Version Here>|
|OS                           |<Input Version Here>|

### Config Files
Config file locations may be config dependent.

##### CNI config (Try '/etc/cni/net.d/')

##### Device pool config file location (Try '/etc/pcidp/config.json')

##### Multus config (Try '/etc/cni/multus/net.d')

##### Kubernetes deployment type ( Bare Metal, Kubeadm etc.)

##### Kubeconfig file

##### SR-IOV Network Custom Resource Definition

### Logs
##### SR-IOV Network Device Plugin Logs (use `kubectl logs $PODNAME`)

##### Multus logs (If enabled. Try '/var/log/multus.log' )

##### Kubelet logs (journalctl -u kubelet)

repository: openshift/sriov-cni

repo_name: openshift/sriov-cni


text:
---
layout: default
---

# 1996-06-06 - A.Word.A.Day--seigniorage

## Header Data

From: "Joseph M. Reagle Jr."<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Message Hash: 58f230e3adea69cab41be3253b7052307fbf124b8175adb0403729a2e9e9d95a

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1996-06-06 03:55:37 UTC

Raw Date: Thu, 6 Jun 1996 11:55:37 +0800

## Raw message

```
{% raw  %}From: "Joseph M. Reagle Jr."<EMAIL_ADDRESS>Date: Thu, 6 Jun 1996 11:55:37 +0800
To<EMAIL_ADDRESS>Subject: A.Word.A.Day--seigniorage
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

>From: Wordsmith<EMAIL_ADDRESS>>To<EMAIL_ADDRESS>>Reply-To<EMAIL_ADDRESS>>Subject: A.Word.A.Day--seigniorage
>Date: Wed, 5 Jun 1996 00:51:14 -0400
>
>sei.gnior.age or sei.gnor.age \'sa-n-y*-rij\ n [ME seigneurage, fr. MF,
>   right of the lord (esp. to coin money), fr. s]eigneur : a government
>   revenue from the manufacture of coins calculated as the difference between
>   the monetary and the bullion value of the silver contained in silver coins
>
>
>   1996 MARK BERNKOPF, Electronic Cash and Monetary Policy,
>   "The widespread adoption of electronic cash would deprive Federal
>   authorities of a substantial amount of seignorage, the margin
>   between the face value of currency issued, and the costs of issuing
>   that currency.  In 1994, the Federal Reserve turned about $20 billion
>   in seignorage over to the Treasury."
>
>
>...........................................................................
>When you starve with a tiger, the tiger starves last. -Griffin's Thought
>
>To subscribe or unsubscribe, please send a message to<EMAIL_ADDRESS>>with "Subject:" line as "subscribe <Your Real Name>" or "unsubscribe".
>Email<EMAIL_ADDRESS>if you have any questions, comments or suggestions.
>Archives, FAQ, words and more at the WWW site: http://www.wordsmith.org/awad/
>
>
_______________________
Regards,            Real generosity toward the future lies in giving
                    all to the present. - Albert Camus
Joseph  Reagle      http://farnsworth.mit.edu/~reagle/home.html
<EMAIL_ADDRESS>    E0 D5 B2 05 B6 12 DA 65  BE 4D E3 C1 6A 66 25 4E

{% endraw %}
```

## Thread

+ Return to [June 1996](/archive/1996/06)

+ Return to "["Joseph M. Reagle Jr." <reagle@MIT.EDU>](/authors/joseph_m_reagle_jr__reagle_at_mit_edu_)"

+ 1996-06-06 (Thu, 6 Jun 1996 11:55:37 +0800) - A.Word.A.Day--seigniorage - _"Joseph M. Reagle Jr."<EMAIL_ADDRESS>


text:
[![Maintenance](https://img.shields.io/badge/Maintained%3F-no-red.svg)](https://bitbucket.org/lbesson/ansi-colors)
:bangbang: | Please note that Cordova and Xamarin support for the SDK has been deprecated with release 2.1. The 2.1 release will be the last release with Cordova and Xamarin support. Please do not submit any new changes as they are no longer being accepted. Please contact Broadcom support [**https://support.broadcom.com/**](https://support.broadcom.com/) to report any defects or make a request for an update.
:---: | :---
# Layer7 Cordova Mobile SDK

The Layer7 Cordova Mobile SDK provides a simple and secure access to the services of Layer7 Mobile API Gateway. For more information about our mobile products see the [developer website](http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-1.html).

## Get Started
Check out our [documentation](https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-1/Cordova/Cordova_2-1.html) for Guides and API refernces.

## Cordova Mobile SDK Frameworks
The Cordova Mobile SDK includes the following frameworks:

* [MASFoundation](https://github.com/CAAPIM/Cordova-MAS-Foundation)
* [MASStorage](https://github.com/CAAPIM/Cordova-MAS-Storage)
* [MASConnecta](https://github.com/CAAPIM/Cordova-MAS-Connecta)

## Sample Apps
**All sample apps have moved to GITHub as of 1.6.00 release. Links will redirect to the latest released versions.**

### Android:
- [Sample-App-MAS-Cordova-Android-Connecta](https://github.com/CAAPIM/Sample-App-MAS-Cordova-Android-Connecta)
- [Sample-App-MAS-Cordova-Android-Foundation](https://github.com/CAAPIM/Sample-App-MAS-Cordova-Android-Foundation)
- [Sample-App-MAS-Cordova-Android-Storage](https://github.com/CAAPIM/Sample-App-MAS-Cordova-Android-Storage)

### iOS:
- [Sample-App-MAS-Cordova-iOS-Connecta](https://github.com/CAAPIM/Sample-App-MAS-Cordova-iOS-Connecta)
- [Sample-App-MAS-Cordova-iOS-Foundation](https://github.com/CAAPIM/Sample-App-MAS-Cordova-iOS-Foundation)
- [Sample-App-MAS-Cordova-iOS-Storage](https://github.com/CAAPIM/Sample-App-MAS-Cordova-iOS-Storage)

## How You Can Contribute
Contributions are welcome and much appreciated. To learn more, see the [Contribution Guidelines](https://github.com/CAAPIM/Cordova-MAS-SDK/blob/develop/CONTRIBUTING.md).

## SDK Releases
The compiled release binaries can be found here: [Releases][Releases]

## License
Copyright (c) 2019 Broadcom. All Rights Reserved.
The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.

This software may be modified and distributed under the terms of the MIT license. See the [LICENSE](https://github.com/CAAPIM/Cordova-MAS-SDK/blob/master/LICENSE) file for details.

[techdocs.broadcom.com]: http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-1.html
[docs]: http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-1.html
[blog]: http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/mobile-sdk-for-ca-mobile-api-gateway/2-1.html

[MASFoundation]: https://github.com/CAAPIM/Cordova-MAS-Foundation
[MASStorage]: https://github.com/CAAPIM/Cordova-MAS-Storage
[MASConnecta]: https://github.com/CAAPIM/Cordova-MAS-Connecta
[Releases]: https://github.com/CAAPIM/Releases
[contributing]: /CONTRIBUTING.md
[license-link]: /LICENSE

repository: CAAPIM/Cordova-MAS-SDK

gha_license_id: NOASSERTION

repo_name: CAAPIM/Cordova-MAS-SDK


text:
---
layout: post
title: UAV localization
---
<img src="https://github.com/Dtananaev/Dtananaev.github.io/raw/master/images/uav/uav.jpg" class="teaser-img"/>
UAV localization: The goal of the project to localize UAV (Unmanned Aerial Vehicle) by using SLAM with  information from six cameras and laser scanner.

Fraunhofer IPM.

At the Fraunhofer IPM is currently developing a novel multi-wavelength measurement system for the Bathymetry and environmental applications, such as the Monitoring the water level of lakes or Floor. The measuring system consists of UAV with six fish eye cameras and laser scanner. The goal of the project is to develop the precise localization system from the cameras and laser scans. The project developing with C++, Qt, VTK.

**Source Code:** closed

The localization of the quadcopter with one camera video (ORB-SLAM):
[![stamina_tests](https://github.com/Dtananaev/Dtananaev.github.io/raw/master/images/uav/T.jpg)](https://youtu.be/4SQYuy9z91g?list=PLm9UBVQa6prmsGZUJRLFtYcC5C5O99TvJ)


text:
![alt text](https://raw.github.com/adrielcafe/DL2SPARQL-DL/master/dl2sparqldl.png "DL2SPARQL-DL")

**DL2SPARQL-DL is an Java API that converts DL queries into SPARQL-DL queries**

### Query Interface
We have developed a query interface that implements the DL2SPARQL-DL API and demonstrates how it can be used.

http://dl2sparqldl.herokuapp.com

### How it works
DL2SPARQL-DL receives a conjunction (⊓) of axioms in DL, separates them into atoms (via conjunctions) and performs the parsing of each element for the SPARQL-DL Query Patterns.

The API takes the same alphabet used in DL (⊓, ∈, ≡, ⊆, ¬, +, -). Some variations as ʌ, v and = are not considered.

All elements TBox / Rbox / ABox in the query can be variables. To do this simply put a *?* at the beginning of the element,, eg, ?ClassB, ?RoleA, {?InstanceA}.

### Supported Query Patterns
| SPARQL-DL Query Patterns | DL Query Atoms             |
| ------------------------ | -------------------------- |
| Class(a)                 | ClassA                     |
| Property(a)              | roleA                      |
| Individual(a)            | {instanceA}                |
| Type(a, b)               | ClassA ∈ ClassB            |
| PropertyValue(a, b, c)   | roleA(classA, classB)      |
| EquivalentClass(a, b)    | ClassA ≡ ClassB            |
| SubClassOf(a, b)         | ClassA ⊆ ClassB            |
| EquivalentProperty(a, b) | roleA ≡ roleB              |
| SubPropertyOf(a, b)      | roleA ⊆ roleB              |
| InverseOf(a, b)          | roleA ≡ roleB-             |
| Transitive(a)            | roleA+                     |
| SameAs(a, b)             | {instanceA} ≡ {instanceB}  |
| DisjointWith(a, b)       | ClassA ⊆ ¬ClassB           |
| DifferentFrom(a, b)      | {instanceA} ⊆ ¬{instanceB} |

### Example
**Input**
```java
DL2SPARQLDL.parse(
  "?Wine ∈ Wine ∩ locatedIn(?Wine, ?Region)",
  "wine",
  "http://krono.act.uji.es/Links/ontologies/wine.owl#"
);
```

**Output**

```java
PREFIX wine: <http://krono.act.uji.es/Links/ontologies/wine.owl#>
SELECT ?Wine ?Region WHERE {
  Type(?Wine, wine:Wine),
  PropertyValue(?Wine, wine:locatedIn, ?Region)
}
```


text:
# Custom machine translation recipes

![Python package](https://github.com/shanepeckham/custom-machine-translation-recipes/workflows/Python%20package/badge.svg?branch=master)

This repository contains code samples to help train and optimise a custom translation model on Azure,
see [Custom Translator Documentation](https://docs.microsoft.com/en-us/azure/cognitive-services/translator/custom-translator/overview)
for more info.

## Overview
This repo contains the following:

| Stage | Scenario | Description |
| -------- | ----------- | ------|
| Analysis | [Creating datasets](Analysis/Translation_Memory_to_datasets.ipynb) | Cleaning Translation memory files and generate train/test/tune datasets
| Analysis | [Generate Phrase Dictionary](Analysis/Phrase_Dictionary/README.md) | Illustrates unsupervised approaches to building a Phrase Dictionary
| Evaluation | [Translator pipeline](Evaluation/README.md) | A full source to target language multi-model evaluation pipeline
| Evaluation | [Evaluate and compare model results](Evaluation/Evaluate_Results.ipynb) | Aggregate and compare all model results

## Getting Started

The order in which to run these scripts is as follows:

1) Start by creating your [datasets](Analysis/Translation_Memory_to_datasets.ipynb)
2) Train your models on these datasets using different base language models per language
3) [Evaluate all models](Evaluation/README.md) against your test document set
4) [Select the best model](Evaluation/Evaluate_Results.ipynb) - include human evaluation
5) [Generate a Phrase dictionary](Analysis/Phrase_Dictionary/README.md) using your best model
6) Consider creating a [stylistic accurate tuning dataset](https://docs.microsoft.com/en-us/azure/cognitive-services/translator/custom-translator/training-and-model#tuning-document-type-for-custom-translator)
7) Retrain the model using the Phrase Dictionary and optimised tuning set


text:
### NAME

`ncm-authconfig`: NCM component to manage system authentication services.

### DESCRIPTION

The _authconfig_ component manages the system authentication methods
on RedHat systems using the `authconfig` command.  In addition, it can
set additional operational parameters for LDAP authentication by
modifying the `/etc/ldap.conf` (SL5), the `/etc/nslcd.conf` (SL6)
or `/etc/sssd/sssd.conf` (EL6/7) files directly.
It will also enable/disable NSCD support on the client.

### EXAMPLE

    include "components/authconfig/config";

    prefix "/software/components/authconfig";
    "active" = true;

    "safemode" = false;

    "usemd5" = true;
    "useshadow" = true;
    "usecache" = true;

    prefix "/software/components/authconfig/method/files";
    "enable" = true;

    prefix "/software/components/authconfig/method/ldap";
    "enable" = false;
    "nssonly" = false;
    "conffile" = "/etc/ldap.conf";
    "servers" = list ("tbn06.nikhef.nl", "hooimijt.nikhef.nl");
    "basedn" = "dc=farmnet,dc=nikhef,dc=nl";
    "tls/enable" = true;
    "binddn" = "cn=proxyuser,dc=example,dc=com";
    "bindpw" = "secret";
    "rootbinddn" = "cn=manager,dc=example,dc=com";
    "port" = 389;
    "timeouts/idle" = 3600;
    "timeouts/bind" = 30;
    "timeouts/search" = 30;
    "pam_filter" = "|(gid=1012)(gid=1013)";
    "pam_login_attribute" = "uid";
    "pam_groupdn" = "cn=SystemAdministrators,ou=DirectoryGroups,dc=farmnet,dc=nikhef,dc=nl";
    "pam_member_attribute" = "uniquemember";
    "tls/peercheck" = "yes";

    "tls/cacertfile" = undef;
    "tls/cacertdir" = undef;
    "tls/ciphers" = undef;

    "nss_base_passwd" = "OU=Users,OU=Organic Units,DC=cern,DC=ch";
    "nss_base_group" = "OU=SLC,OU=Workgroups,DC=cern,DC=ch";
    "bind_policy" = "soft";
    "nss_map_objectclass/posixAccount" = "user";
    "nss_map_objectclass/shadowAccount" = "user";
    "nss_map_objectclass/posixGroup" = "group";
    "nss_map_attribute/uid" = "sAMAccountName";
    "nss_map_attribute/homeDirectory" = "unixHomeDirectory";
    "nss_map_attribute/uniqueMember" = "member";
    "pam_login_attribute" = "sAMAccountName";
    "ssl" = "start_tls";

    "pam_min_uid" = "0"; # NOT IMPLEMENTED #
    "pam_max_uid" = "0";# NOT IMPLEMENTED #

    prefix "/software/components/authconfig/method/nis";
    "enable" = false;
    "domain" = "nikhef.nl";
    "servers" = list ( "ajax.nikhef.nl" );

    prefix "/software/components/authconfig/method/krb5";
    "enable" = false;
    "kdcs" = list ( "kdc.nikhef.nl" );
    "adminserver" = list ( "krbadmin.nikhef.nl" );
    "realm" = "NIKHEF.NL";

    prefix "/software/components/authconfig/method/smb";
    "enable" = false;
    "workgroup" = "NIKHEF";
    "servers" = list ( "paling.nikhef.nl" );

    prefix "/software/components/authconfig/method/hesiod";
    "enable" = false;
    "lhs" = "lefthanded";
    "rhs" = "righthanded";

repository: wdpypere/documentation

repo_name: wdpypere/documentation


text:
# LoadRunner integration

The Application Automation Tools plugin for the Jenkins continuous integration server provides a mechanism for executing LoadRunner Controller scenarios as part of a build script. This plugin allows you to trigger a performance test as a build step, and present the results in the Jenkin\'s user interface.

You can only integrate scenarios which have service level agreements (SLAs). This allows you to quickly determine whether the test passed or failed and if performance was affected.

For additional information, see the [online help](https://admhelp.microfocus.com/lr/en/latest/help/WebHelp/Content/Controller/c_jenkins.htm) or [blog post](https://community.softwaregrp.com/t5/LoadRunner-and-Performance/Continuous-Performance-Testing-Using-Jenkins-CI-CD-Pipelines/ba-p/220264#.WjZnXN-WaUl) about continuous integration with LoadRunner.

### Table of Contents

[Prerequisites](#prerequisites)

[Job types](#job-types)

[Freestyle jobs](#freestyle-jobs)

[Pipeline jobs](#pipeline-jobs)

- [Create a job](#create-a-job)
- [Set up the post-build actions](#set-up-the-post-build-actions)
- [Run the job](#run-the-job)
- [Review the results in the Run Results Viewer](#review-the-results-in-the-run-results-viewer)
- [Review the results in Jenkins](#review-the-results-in-jenkins)

## Prerequisites

1.  Install one of the five latest LTS versions of Jenkins, [(Click here for a list.)](https://jenkins.io/changelog-stable/)

2.  Install the Jenkins [OpenText Application Automation Tools plugin](https://plugins.jenkins.io/hp-application-automation-tools-plugin).

## Job types

There are two types of jobs that you can create: **FreeStyle** or **Pipeline**. FreeStyle is more UI friendly and Pipeline is in a form of code which is more flexible.

1.  Go to the Jenkins Server home page.

2.  Click the **New Item **link or select an existing job.

3.  Enter an item name (for a new job).

## Freestyle jobs

To set up a Freestyle job:

1.  Select **Free-style project** and click **OK**.

2.  In the Project Configuration section, select **Restrict where this
    project can be run**, and select the appropriate node. For details,to [Create an execution
    node](README.md#create-an-execution-node).

3. Scroll down to the **Build** section.

4. Expand the **Add build step** drop-down and select **Execute OpenText tests from file system**.

5. Click the **LoadRunner-Specific Settings** button and specify the following settings:

   a.  **Controller Polling Interval.** The interval in seconds by which to poll the Controller for the scenario status. The default is 30 seconds.

   b.  **Scenario Execution Timeout**. The total time in seconds to allot for the execution of all listed scenarios. After this time, the Controller process will be terminated.

   c.  **Errors to Ignore.** You can specify which errors to ignore during the run. For example: *Error: CPU usage for this load  generator has exceeded 80%*. Enter each error string on a separate line.

   d.  **Analysis Template.** Apply a template for the build (path to a .tem file). Leave it blank in order to use the default template.

   e.  **Display Controller.** Display the Controller while the scenario is running.

6. In the **Tests** box, enter a test with its full absolute path, or a folder or MTB containing one or more tests or LoadRunner scenarios. To specify multiple entries, click the down arrow on the right of the field and enter each test path on a separate line. Make sure that the paths are accessible from all machines in the local network.

7. Indicate a timeout in seconds after which the job will fail in the **Timeout** box (optional).

8. Click **Apply** to save your changes and continue with more build steps. Click **Save** when you are finished adding build steps.

## Pipeline jobs

To set up a Pipeline job:

#### Create a job

1.  Select **Pipeline** and click **OK**.

2.  To restrict where this project can run, first refer to [Create an execution
    node](README.md#create-an-execution-node) and then see [Controlling your build environment](https://github.com/jenkinsci/pipeline-model-definition-plugin/wiki/Controlling-your-build-environment).

3.  Scroll down to the **Pipeline** section.

4.  Click **Pipeline Syntax**.

5.  In **Sample Step** select **LoadRunnerTest:** **Run LoadRunner performance scenario tests.**

6.  In the **Tests** box, enter a test with its full absolute path, or a folder or MTB containing one or more tests or LoadRunner scenarios. To specify multiple entries, click the down arrow on the right of the field and enter each test path on a separate line. Make sure that the paths are accessible from all machines in the local network.

7.  In **Report archive mode** follow **Set up the Post Build Actions** section.

8.  Follow the Free Style Job section, steps 5 through 7.

9.  Click **Generate Pipeline Script.**

10. Copy the output beneath the **Generate Pipeline Script **button.

11. Go back to the **Pipeline **section.

12. Paste the copied code into the **Script** block ([read here for how to write
    pipeline scripts](https://jenkins.io/doc/book/pipeline/getting-started/)).

13.  Click **Apply** to save your changes and continue with more build steps. Click **Save** when you are finished adding build steps.

#### Set up the post-build actions

1.  In the **Post-build Actions** section, expand the **Add post-build action** drop-down and select **Publish test result**.

2.  Select an archiving option for the test run results:

    -   **Archive test reports for failed tests: **Only save test result reports for failed tests.
    -   **Always archive test reports:** Always save test result reports.
    -   **Always archive and publish test reports:** Always save and publish test result reports.
    -   **Do not archive test reports:** Never save the test results.
#### Run the job

Run or schedule the job as you would with any standard Jenkins job.

#### Review the results in the Run Results Viewer

1.  Extract the files from the archive file. When you when you extract the zip file contents, it creates the following folders and files:

-   **LRR folder**- The Controller raw result folder, viewable in LoadRunner Analysis.
    -   **LRA folder**- The Analysis session folder, viewable in LoadRunner Analysis.

    -   **HTML folder**- HTML reports in two subfolders, IE and Netscape, in their respective formats.

-   **SLA.xml** - An XML report showing the status of the SLA in the test.

2.  Open the Run Results Viewer and select **File** \> **Open**.

3.  In the Open dialog box, select\` **Results XML file** and navigate to the *Results.xml* file in the folder that you extracted.

4.  Click **Open** and view the results.

**Note:** The pass and fail criteria for LoadRunner scenario tests are based on the LoadRunner Service Level Agreement (SLA). If you do not define an SLA, the scenario will fail. For details, see the [LoadRunner Help Center](https://admhelp.microfocus.com/lr/).

#### Review the results in Jenkins

You can also view the results from the Jenkins interface, in the following modes:

-   Per job/project

-   Per build/run

##### **Per Job / Project (cross build / run results)**

Click **Project performance report** in the left side Job menu. This lets you review the various results from the job, per scenario. You compare the job results using an SLA.

##### **Per build / run**

1.  Click **Performance report** to examine the performance summary report with its different results.

2.  Click **Transaction summary** to open a detailed view of the transactions statistics taken directly from LoadRunner Analysis report.

3.  Click **Rich Report** to show a high level report of the build run. (This requires you to enable **Rich Reports** in Analysis and generate a PDF. For details, see the [Edit Template dialog box](https://admhelp.microfocus.com/lr/en/latest/help/WebHelp/Content/Analysis/102150_ui_template_dialog.htm).

4.  Click **Simple Junit style SLA result**

    a.  Click on "Test result"

    b.  Click on "All tests" to see the overview.

    c.  Select a scenario by clicking on its name.

    d.  Click on **History** in the left panel to compare the results with those from previous runs.

**Note:** These reports might require you to perform a Security header override. For details, see [Content Security Policy Header](README.md#content-security-policy-header).

For additional information about the plugin, refer to the [plugin's documentation](README.md).
For general questions, visit our [Google group](https://groups.google.com/forum/#!forum/micro-focus-application-automation-tools-plugin).

branch_name: refs/heads/latest

gha_language: Java


text:
# vg

[![Join the chat at https://gitter.im/ekg/vg](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ekg/vg?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Build Status](https://travis-ci.org/ekg/vg.svg)](https://travis-ci.org/ekg/vg)

## variation graph data structures, interchange formats, alignment, genotyping, and variant calling methods

![Variation graph](https://raw.githubusercontent.com/ekg/vg/master/figures/example.png)

_Variation graphs_ provide a succinct encoding of the sequences of many genomes. A variation graph (in particular as implemented in vg) is composed of:

* _nodes_, which are labeled by sequences and ids
* _edges_, which connect two nodes via either of their respective ends
* _paths_, describe genomes, sequence alignments, and annotations (such as gene models and transcripts) as walks through nodes connected by edges

This model is similar to a number of sequence graphs that have been used in assembly and multiple sequence alignment. Paths provide coordinate systems relative to genomes encoded in the graph, allowing stable mappings to be produced even if the structure of the graph is changed. For visual documentation, please refer to a presentation on the topic: [Resequencing against a human whole genome variation graph](https://docs.google.com/presentation/d/1bbl2zY4qWQ0yYBHhoVuXb79HdgajRotIUa_VEn3kTpI/edit?usp=sharing) (April 14, 2015).

## Usage

### building

Before you begin, you'll need to install some basic tools if they are not already installed.

    sudo apt-get install git cmake pkg-config libncurses-dev libbz2-dev

You'll need the protobuf and jansson development libraries installed on your server.

    sudo apt-get install protobuf-compiler libprotoc-dev libjansson-dev automake libtool

Additionally, to run the tests, you will need jq.

    sudo apt-get install jq

You can also run `make get-deps`.

Other libraries may be required. Please report any build difficulties.

Now, obtain the repo and its submodules:

    git clone --recursive https://github.com/ekg/vg.git

Then build with `make`, and run with `./vg`.

#### building on Mac OS X

VG won't build with XCode's compiler (clang), but it should work with GCC 4.9.  One way to install the latter (and other dependencies) is to install [Mac Ports](https://www.macports.org/install.php), then run:

    sudo port install gcc49 libtool jansson jq

To make GCC 4.9 the default compiler, run (use `none` instead of `mp-gcc49` to revert back):

    sudo port select gcc mp-gcc49

VG can now be cloned and built as described above.

### Variation graph construction

The simplest thing to do with `vg` is to build a graph and align to it. At present, you'll want to use a reference and VCF file to do so. If you're working in the `test/` directory:

```sh
vg construct -r small/x.fa -v small/x.vcf.gz >x.vg
```

### Viewing, conversion

`vg view` provides a way to convert the graph into various formats:

```sh
# GFA output
vg view x.vg >x.gfa

# dot output suitable for graphviz
vg view -d x.vg >x.dot

# json version of binary alignments
vg view -a x.gam >x.json
```

### Alignment

As this is a small graph, you could align to it using a full-length partial order alignment:

```sh
vg align -s CTACTGACAGCAGAAGTTTGCTGTGAAGATTAAATTAGGTGATGCTTG x.vg
```

Note that you don't have to store the graph on disk at all, you can simply pipe it into the local aligner:

```sh
vg construct -r small/x.fa -v small/x.vcf.gz | vg align -s CTACTGACAGCAGAAGTTTGCTGTGAAGATTAAATTAGGTGATGCTTG -
```

Most commands allow the streaming of graphs into and out of `vg`.

### Mapping

If your graph is large, you want to use `vg index` to store the graph and `vg map` to align reads. `vg map` implements a kmer based seed and extend alignment model that is similar to that used in aligners like novoalign or MOSAIK. First an on-disk index is built with `vg index` which includes the graph itself and kmers of a particular size. When mapping, any kmer size shorter than that used in the index can be employed, and by default the mapper will decrease the kmer size to increase sensitivity when alignment at a particular _k_ fails.

```sh
# construct the graph
vg construct -r small/x.fa -v small/x.vcf.gz >x.vg

# store the graph in the index, and also index the kmers in the graph of size 11
# you can provide a list of .vg files on the command line, which is useful if you
# have constructed a graph for each chromosome in a large reference
vg index -s -k 11 x.vg

# align a read to the indexed version of the graph
# note that the graph file is not opened, but x.vg.index is assumed
vg map -s CTACTGACAGCAGAAGTTTGCTGTGAAGATTAAATTAGGTGATGCTTG x.vg >read.gam

# simulate a bunch of 150bp reads from the graph and map them
vg map -r <(vg sim -n 1000 -l 150 x.vg) x.vg >aln.gam

# surject the alignments back into the reference space of sequence "x", yielding a BAM file
vg surject -p x -b aln.gam >aln.bam
```

### Command line interface

A variety of commands are available:

- *construct*: graph construction
- *view*: conversion (dot/protobuf/json/GFA)
- *index*: index features of the graph in a disk-backed key/value store
- *find*: use an index to find nodes, edges, kmers, or positions
- *paths*: traverse paths in the graph
- *align*: local alignment
- *map*: global alignment (kmer-driven)
- *stats*: metrics describing graph properties
- *join*: combine graphs (parallel)
- *concat*: combine graphs (serial)
- *ids*: id manipulation
- *kmers*: generate kmers from a graph
- *sim*: simulate reads by walking paths in the graph
- *mod*: various transformations of the graph
- *surject*: force graph alignments into a linear reference space

## Implementation notes

`vg` is based around a graph object (vg::VG) which has a native serialized representation that is almost identical on disk and in-memory, with the exception of adjacency indexes that are built when the object is parsed from a stream or file. These graph objects are the results of queries of larger indexes, or manipulation (for example joins or concatenations) of other graphs. vg is designed for interactive, stream-oriented use. You can, for instance, construct a graph, merge it with another one, and pipe the result into a local alignment process. The graph object can be stored in an index (vg::Index), aligned against directly (vg::GSSWAligner), or "mapped" against in a global sense (vg::Mapper), using an index of kmers.

Once constructed, a variation graph (.vg is the suggested file extension) is typically around the same size as the reference (FASTA) and uncompressed variant set (VCF) which were used to build it. The index, however, may be much larger, perhaps more than an order of magnitude. This is less of a concern as it is not loaded into memory, but could be a pain point as vg is scaled up to whole-genome mapping.

The serialization of very large graphs (>62MB) is enabled by the use of protocol buffer ZeroCopyStreams. Graphs are decomposed into sets of N (presently 10k) nodes, and these are written, with their edges, into graph objects that can be streamed into and out of vg. Graphs of unbounded size are possible using this approach.

## Development

- [x] data models for reference graph and alignments against it (vg.proto)
- [x] local alignment against the graph (vg.cpp)
- [x] index capable of storing large graphs on disk and efficiently retrieving subgraphs (index.cpp)
- [x] protobuf, json, and dot format serialization (view)
- [x] binary format for graph and alignments against it
- [x] command-line interfaces: construct, view, index, find, align, paths (main.cpp)
- [x] tap-compliant tests
- [x] kmer-based indexing of the graph
- [x] graph statistics
- [x] subgraph decomposition
- [x] k-path enumeration
- [x] limiting k-paths to only those crossing a certain number of nodes (this prevents kpath blowup in densely varying regions of the graph)
- [x] graph joining: combine subgraphs represented in a single or different .vg files
- [x] GFA output
- [x] global mapping against large graphs
- [x] non-recursive topological sort of graph
- [x] stable ID compaction
- [x] efficient construction for large DAGs
- [x] improve memory performance of kmer indexing for large graphs by storing incremental results of k-path generation
- [x] global alignment: retain and expand only the most-likely subgraphs
- [x] verify that snappy compression is enabled for index, and measure size for large graphs
- [x] move to rocksdb for better indexing performance on modern hardware (multiple cores, SSDs)
- [x] object streams (enable graphs > 60mb) and alignment streams (via protobuf's ZeroCopyInputStream/ZeroCopyOutputStream interface)
- [x] use dense_hash for improved memory and runtime efficiency with large graphs (or sparse_hash, if memory is at a premium--- but it's easy to switch and ideally we can design large-scale construction without loading entire whole-genome graphs into memory)
- [x] GFA input (efficient use requires bluntifying the graph, removing node-node overlaps), and probably default GFA output from vg view
- [x] index metadata (to quickly check if we have kmer index of size >=N)
- [x] use divide-and-conquer for graph fragment concatenation during construction
- [x] simplify mapping by setting a maximum node size in construction
- [x] kmer falloff in global alignment (if we can't find hits at a kmer size of K, try K-n; enabled by the sorted nature of the index's key-value backend)
- [x] positional indexing for improved global mapping (can be done on graph constructed from VCF+fasta reference)
- [x] index the kmers of large graphs in reasonable time (48 hours, 32 threads, 2500 samples in 1000 genomes phase 3)
- [x] compression of serialization format
- [x] interface harmonization of in-memory (vg.cpp) and on-disk (index.cpp) graph representations
- [x] emded paths in serialized graph format (important especially in the case of reference paths)
- [x] alignment serialization format
- [x] prune non-informative kmers from index, so as to save space
- [x] per-node, per-sample quality and count information on graph
- [x] should an alignment be a graph too? : express a sample's sequencing results as a labeled graph
- [x] multiple samples in one graph (colors) - solved by paths
- [x] modify a graph using an alignment's path, adding new nodes as needed and updating the path/alignment to match
- [x] modify a graph using many alignments (update mod procedure to include many mappings)
- [x] use an alignment to add a named path to the graph
- [x] path range query from index (give me the subgraph corresponding to a particular genome location)
- [x] _surject_ alignments back into arbitrary path (such as GRCh37)
- [x] use htslib for BAM/CRAM/SAM i/o
- [ ] factor longer functions in main.cpp into library functions for easier reuse
- [x] sort alignments and output a sorted GAM stream
- [x] kmers input to GCSA: kmer, starting position = (node id, offset), previous characters, successive characters, successive positions
- [x] properly handle pairs in alignment and surjection
- [x] read paired-end data in FASTQ format
- [x] allow the efficient alignment of very long sequences by banding
- [ ] dynamic programming method to estimate path qualities given per-node qualities and counts
- [ ] genotype likelihood generation (given a source and sink, genotype paths)
- [ ] genotyping of paths using freebayes-like genotyping model
- [ ] genotyping using dynamic programming genotyping model and compressed sequence results against graph
- [x] generalization to assembly graphs (although directional, nothing is intrinsically DAG-based except alignment)
- [ ] [perceptual DNA hashing](http://arxiv-web3.library.cornell.edu/abs/1412.5517) to reduce index memory usage
- [ ] implement pBWT for quick haplotype lookup, which is useful to constrain kmer indexing space and also to support long haplotype driven genotyping
- [x] compressed bitvectors and intvectors from sdsl-lite for storage of genome paths and annotations

## License

MIT


text:
# CVDP-LE
The Climate Variability Diagnostics Package for Large Ensembles (CVDP-LE) developed by NCAR's Climate Analysis Section is an automated analysis tool and data repository for exploring internal and forced contributions to climate variability and change in coupled model “initial-condition” Large Ensembles and observations.

# Getting Started
View the readme file for details on how to run the CVDP-LE. The CVDP-LE User’s Guide provides general background on initial-condition Large Ensembles, detailed documentation of
all diagnostics and metrics in the package, and guidance on interpreting the results.

# Input data
The CVDP-LE can read in the following data types as input:
- CMIP6
- CMIP5
- CMIP3
- CSM, CCSM and CESM
- Observations with file names and data array names matching CMIP conventions.

# Getting help
If the readme file and the CVDP-LE User’s Guide do not answer your query or if you have a bug report or suggestion, it is recommended that you open an issue on Github.

repository: subaohuang/CVDP-LE

repo_name: subaohuang/CVDP-LE


text:
# Lo-Dash v0.3.0

A drop-in replacement for Underscore.js, from the devs behind [jsPerf.com](http://jsperf.com), that delivers [performance improvements](http://lodash.com/benchmarks), [bug fixes](https://github.com/bestiejs/lodash#closed-underscorejs-issues), and [additional features](https://github.com/bestiejs/lodash#features).

Lo-Dash’s performance is gained by avoiding slower native methods, instead opting for simplified non-ES5 compliant methods optimized for common usage, and by leveraging function compilation to reduce the number of overall function calls.

## Download

 * [Development source](https://raw.github.com/bestiejs/lodash/v0.3.0/lodash.js)
 * [Production source](https://raw.github.com/bestiejs/lodash/v0.3.0/lodash.min.js)
 * For optimal performance, [create a custom build](https://github.com/bestiejs/lodash#custom-builds) with only the features you need

## Dive in

We’ve got [API docs](http://lodash.com/docs), [benchmarks](http://lodash.com/benchmarks), and [unit tests](http://lodash.com/tests).

For a list of upcoming features, check out our [roadmap](https://github.com/bestiejs/lodash/wiki/Roadmap).

## Screencasts

For more information check out these screencasts over Lo-Dash:

 * [Introducing Lo-Dash](http://dl.dropbox.com/u/513327/allyoucanleet/post/20/file/screencast.mp4)
 * [Optimizations and custom builds](http://dl.dropbox.com/u/513327/allyoucanleet/post/21/file/screencast.mp4)

## Features

 * AMD loader support (RequireJS, curl.js, etc.)
 * [_.bind](http://lodash.com/docs#bind) supports *"lazy"* binding
 * [_.debounce](http://lodash.com/docs#debounce)’ed functions match [_.throttle](http://lodash.com/docs#throttle)’ed functions’ return value behavior
 * [_.forEach](http://lodash.com/docs#forEach) is chainable
 * [_.forIn](http://lodash.com/docs#forIn) for iterating over an object’s own and inherited properties
 * [_.forOwn](http://lodash.com/docs#forOwn) for iterating over an object’s own properties
 * [_.groupBy](http://lodash.com/docs#groupBy), [_.sortedIndex](http://lodash.com/docs#sortedIndex), and [_.uniq](http://lodash.com/docs#uniq) accept a `thisArg` argument
 * [_.indexOf](http://lodash.com/docs#indexOf) and [_.lastIndexOf](http://lodash.com/docs#lastIndexOf) accept a `fromIndex` argument
 * [_.partial](http://lodash.com/docs#partial) for more functional fun
 * [_.size](http://lodash.com/docs#size) supports returning the `length` of string values
 * [_.template](http://lodash.com/docs#template) utilizes [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) for easier debugging

## Support

Lo-Dash has been tested in at least Chrome 5-19, Firefox 1.5-13, IE 6-9, Opera 9.25-11.64, Safari 3.0.4-5.1.3, Node.js 0.4.8-0.6.18, Narwhal 0.3.2, RingoJS 0.8, and Rhino 1.7RC3.

## Custom builds

Custom builds make it easy to create lightweight versions of Lo-Dash containing only the methods you need.
We handle all the method dependency and alias mapping for you.

Mobile builds, with IE bug fixes and method compilation removed, may be created by using the `mobile` argument.

~~~ bash
node build mobile
~~~

Custom builds may be created in three ways:

 1. Use the `category` argument to pass the categories of methods to include in the build.

    Valid categories are *"arrays"*, *"chaining"*, *"collections"*, *"functions"*, *"objects"*, and *"utilities"*.
~~~ bash
node build category=collections,functions
node build category="collections, functions"
node build mobile category=collections,functions
~~~

 2. Use the `include` argument to pass the names of the methods to include in the build.
~~~ bash
node build include=each,filter,map
node build include="each, filter, map"
node build mobile include=each,filter,map
~~~

 3. Use the `exclude` argument to pass the names of the methods to exclude from the build.
~~~ bash
node build exclude=union,uniq,zip
node build exclude="union, uniq, zip"
node build mobile exclude=union,uniq,zip
~~~

Custom builds are saved to `lodash.custom.js` and `lodash.custom.min.js`.

## Installation and usage

In browsers:

~~~ html

~~~

Using [npm](http://npmjs.org/):

~~~ bash
npm install lodash
~~~

In [Node.js](http://nodejs.org/) and [RingoJS v0.8.0+](http://ringojs.org/):

~~~ js
var _ = require('lodash');
~~~

In [Narwhal](http://narwhaljs.org/) and [RingoJS v0.7.0-](http://ringojs.org/):

~~~ js
var _ = require('lodash')._;
~~~

In [Rhino](http://www.mozilla.org/rhino/):

~~~ js
load('lodash.js');
~~~

In an AMD loader like [RequireJS](http://requirejs.org/):

~~~ js
require({
  'paths': {
    'underscore': 'path/to/lodash'
  }
},
['underscore'], function(_) {
  console.log(_.VERSION);
});
~~~

## Cloning this repo

To clone this repository including all submodules, using Git 1.6.5 or later:

~~~ bash
git clone --recursive https://github.com/bestiejs/lodash.git
cd lodash.js
~~~

For older Git versions, just use:

~~~ bash
git clone https://github.com/bestiejs/lodash.git
cd lodash
git submodule update --init
~~~

## Closed Underscore.js issues

 * Allow iteration of objects with a `length` property [[#148](https://github.com/documentcloud/underscore/issues/148), [#154](https://github.com/documentcloud/underscore/issues/154), [#252](https://github.com/documentcloud/underscore/issues/252), [#448](https://github.com/documentcloud/underscore/issues/448), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L266-272)]
 * Ensure array-like objects with invalid `length` properties are treated like regular objects [[test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L237-243), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L533-542), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L661-664)]
 * Ensure `_(...)` returns passed wrapper instances [[test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L106-109)]
 * Ensure `_.groupBy` adds values to own, not inherited, properties [[test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L317-324)]
 * Ensure `_.sortedIndex` supports arrays with high `length` values [[test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L586-595)]
 * Ensure `_.throttle` works when called in tight loops [[#502](https://github.com/documentcloud/underscore/issues/502), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L629-639)]
 * Fix Firefox, IE, Opera, and Safari object iteration bugs [[#376](https://github.com/documentcloud/underscore/issues/376), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L175-187), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L277-302), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L379-390), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L398-400), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L418-438), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L554-556)]
 * Handle arrays with `undefined` values correctly in IE < 9 [[#601](https://github.com/documentcloud/underscore/issues/601)]
 * Methods should work on pages with incorrectly shimmed native methods [[#7](https://github.com/documentcloud/underscore/issues/7), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L88-94)]
 * Register as AMD module, but still export to global [[#431](https://github.com/documentcloud/underscore/pull/431), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L72-86)]
 * `_.forEach` should be chainable [[#142](https://github.com/documentcloud/underscore/issues/142), [test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L232-235)]
 * `_isNaN(new Number(NaN))` should return `true` [[test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L408-410)]
 * `_.reduceRight` should pass correct callback arguments when iterating objects [[test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L521-531)]
 * `_.size` should return the `length` of string values [[test](https://github.com/bestiejs/lodash/blob/c07e1567a7a12cff2c5ee6cda81306c8bcf126f0/test/test.js#L550-552)]

## Optimized methods (50+)

 * `_.bind`
 * `_.bindAll`
 * `_.clone`
 * `_.compact`
 * `_.contains`, `_.include`
 * `_.defaults`
 * `_.defer`
 * `_.difference`
 * `_.each`
 * `_.escape`
 * `_.every`, `_.all`
 * `_.extend`
 * `_.filter`, `_.select`
 * `_.find`, `_.detect`
 * `_.flatten`
 * `_.forEach`, `_.each`
 * `_.functions`, `_.methods`
 * `_.groupBy`
 * `_.indexOf`
 * `_.intersection`
 * `_.invoke`
 * `_.isEmpty`
 * `_.isEqual`
 * `_.isFinite`
 * `_.isObject`
 * `_.isString`
 * `_.keys`
 * `_.lastIndexOf`
 * `_.map`, `_.collect`
 * `_.max`
 * `_.memoize`
 * `_.min`
 * `_.mixin`
 * `_.pick`
 * `_.pluck`
 * `_.reduce`, `_.foldl`, `_.inject`
 * `_.reject`
 * `_.result`
 * `_.shuffle`
 * `_.some`, `_.any`
 * `_.sortBy`
 * `_.sortedIndex`
 * `_.template`
 * `_.throttle`
 * `_.times`
 * `_.toArray`
 * `_.union`
 * `_.uniq`, `_.unique`
 * `_.values`
 * `_.without`
 * `_.wrap`
 * `_.zip`
 * plus all `_(...)` method wrappers

## Changelog

### v0.3.0

 * Added `category` build option
 * Added `fromIndex` argument to `_.indexOf` and `_.lastIndexOf`
 * Added `//@ sourceURL` support to `_.template`
 * Added `thisArg` argument to `_.sortedIndex` and `_.uniq`
 * Added `_.forIn` and `_.forOwn` methods
 * Ensured array-like objects with invalid `length` properties are treated like regular objects
 * Ensured `_.sortedIndex` supports arrays with high `length` values
 * Fixed `prototype` property iteration bug in `_.keys` for Firefox < 3.6, Opera > 9.50 - Opera < 11.60, and Safari < 5.1
 * Optimized `_.times` and `this` bindings in iterator methods

### v0.2.2

 * Added `mobile` build option
 * Ensured `_.find` returns `undefined` for unmatched values
 * Ensured `_.templateSettings.variable` is compatible with Underscore.js
 * Optimized `_.escape`
 * Reduced dependencies in `_.find`

### v0.2.1

 * Adjusted the Lo-Dash export order for r.js
 * Ensured `_.groupBy` values are added to own, not inherited, properties
 * Made `_.bind` follow ES5 spec to support a popular Backbone.js pattern
 * Removed the alias `intersect`
 * Simplified `_.bind`, `_.flatten`, `_.groupBy`, `_.max`, and `_.min`

### v0.2.0

 * Added custom build options
 * Added default `_.templateSettings.variable` value
 * Added *"lazy bind"* support to `_.bind`
 * Added native method overwrite detection to avoid bad native shims
 * Added support for more AMD build optimizers and aliasing as the *"underscore"* module
 * Added `thisArg` argument to `_.groupBy`
 * Added whitespace to compiled strings
 * Added `_.partial` method
 * Commented the `iterationFactory` options object
 * Ensured `_(...)` returns passed wrapper instances
 * Ensured `_.max` and `_.min` support extremely large arrays
 * Ensured `_.throttle` works in tight loops
 * Fixed IE < 9 `[DontEnum]` bug and Firefox < 3.6, Opera > 9.50 - Opera < 11.60, and Safari < 5.1’s `prototype` property iteration bug
 * Inlined `_.isFunction` calls.
 * Made `_.debounce`’ed functions match `_.throttle`’ed functions’ return value behavior
 * Made `_.escape` no longer translate the *">"* character
 * Fixed `clearTimeout` typo
 * Simplified all methods in the *"Arrays"* category
 * Optimized `_.debounce`, `_.escape`, `_.flatten`, `_.forEach`, `_.groupBy`, `_.intersection`, `_.invoke`, `_.isObject`, `_.max`, `_.min`, `_.pick`, `_.shuffle`, `_.sortedIndex`, `_.template`, `_.throttle`, `_.union`, `_.uniq`

### v0.1.0

 * Initial release

## BestieJS

Lo-Dash is part of the BestieJS *"Best in Class"* module collection. This means we promote solid browser/environment support, ES5 precedents, unit testing, and plenty of documentation.

## Author

* [John-David Dalton](http://allyoucanleet.com/)
  [![twitter/jdalton](http://gravatar.com/avatar/299a3d891ff1920b69c364d061007043?s=70)](https://twitter.com/jdalton "Follow @jdalton on Twitter")

## Contributors

* [Kit Cambridge](http://kitcambridge.github.com/)
  [![twitter/kitcambridge](http://gravatar.com/avatar/6662a1d02f351b5ef2f8b4d815804661?s=70)](https://twitter.com/kitcambridge "Follow @kitcambridge on Twitter")
* [Mathias Bynens](http://mathiasbynens.be/)
  [![twitter/mathias](http://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter")

repository: vvo/npm-pkgr

gha_language: JavaScript

repo_name: vvo/npm-pkgr


text:
# POST - /v1/projects/:PROJECT_ID/goals

- Scoped/Platform:

    Create goals on project

### payload

| name | type | required | description |
| :--- | :--- | :--- | :--- |
| goal.external_id | string | **not required** | unique reference id |
| goal.title | string | **not required** | goal title |
| goal.description| string | **required** | goal description |
| goal.amount | number | **required** | goal amount |

### example request - Platform/Scoped

```curl
curl -X PUT https://api.comum.io/v1/projects/PROJECT_UUID/goals/GOAL_UUID\
  -H 'Authorization: Bearer API_KEY' \
  -H 'content-type: application/json' \
  -d '{
	  "goal": {
		"external_id": "",
		"value":"100.0",
		"title":"; foooo",
		"description":"foo",
	  }
  }'
```

### example result

```json
{
	"goal_id": "GOAL_ID",
}
```

repository: common-group/services-core

gha_language: Ruby

repo_name: common-group/services-core


text:
![Logo](logo.png)

⚠  **This is under development. If you want to help 🚀, please contact the Suttna team at opensource@suttnacom**

Stride connector for Microsoft BotBuilder.

## Help

If you want to help on improving this connector, adding more features and trying to standardize how bots communicate, please contact us at<EMAIL_ADDRESS>
Thanks!

## Contact

- Martín Ferández<EMAIL_ADDRESS>- Santiago Doldán<EMAIL_ADDRESS>

repository: suttna/botbuilder-stride

gha_language: TypeScript

repo_name: suttna/botbuilder-stride


text:
Sum of integers

Challenge Description:

    Write a program to determine the largest sum of contiguous integers in a list.

Input sample:

    The first argument is a path to a filename containing a comma-separated list of integers, one per line.

    For example:

-10,2,3,-2,0,5,-15
2,3,-2,-1,10

Output sample:

    Print to stdout the largest sum. In other words, of all the possible contiguous subarrays for a given array,
    find the one with the largest sum, and print that sum.

    For example:

8
12


text:
# Forms4Education

A G-Suite Add-On that leverages multiple Forms to create custom and dynamic tests with the intent of reducing cheating.

[![clasp](https://img.shields.io/badge/built%20with-clasp-4285f4.svg)](https://github.com/google/clasp)


text:
# Custom Log4Net.Core Appenders
This repository demonstrates the creation and usage of very basic custom appenders for Log4Net using the .NET Core 2.1 Framework

## Projects

### SMTPAppender

This project contains a custom SMTPAppender for Log4Net using the .NET Core 2.1 Framework and an example log4net.config file to use with the appender.

### TestLoggers

This project demonstrates the usage of our custom appenders.

#### Configuration

Before running this project, ensure that log4net.config file in the Appenders project has the option "Copy to output" set to "Copy Always". You must also modify the log4net.config file with your SMTP settings.


text:
# CoffiDa API & React Native Android Application

This repo contains the submission for the Mobile Applications Development coursework assignment. Following best practices, the 'node_modules' directory has been ignored by Git through the '.gitignore' file. All code was written using a 'camelCase' structure. All files for the Android application are found within the 'newApp' directory. The version of npm used to develop this project is '7.5.4'. The Android application was developed and tested on a Pixel 4 (Play Store enabled) emulator running Android 10.0 (API 29). The recording for this submission will be contained within this repo however, will not be uploaded to GitHub.

Link to GitHub repo for submission: <https://github.com/ahmed-1445/coffida_server.git> (for submission purposes only)

## CoffiDa Endpoints

All of the below endpoints have been fully implemented, including appropriate response/error handling.

User Management:

- POST /user - Register
- POST /user/login - Login
- POST /user/logout - Logout
- GET /user/{usr_id} - View User Information
- PATCH /user/{usr_id} - Update Information

Location Reviews:

- POST /location/{loc_id}/review - Add Review
- PATCH /location/{loc_id}/review/{rev_id} - Update Review
- DELETE /location/{loc_id}/review/{rev_id} - Delete Review
- GET /location/{loc_id}/review/{rev_id}/photo - Get Photo
- POST /location/{loc_id}/review/{rev_id}/photo - Add Photo
- DELETE /location/{loc_id}/review/{rev_id}/photo - Delete Photo
- POST /location/{loc_id}/review/{rev_id}/like - Like Review
- DELETE /location/{loc_id}/review/{rev_id}/like - Unlike Review

Location Management:

- GET /location/{loc_id} - Get location Information & Reviews
- POST /location/{loc_id}/favourite - Favourite location
- DELETE /location/{loc_id}/favourite - Unfavourite location
- GET /find - Find Locations

## App Features

List of features implemented:

- Ability to create/register an account, login and logout.
- Ability to view & edit the user's account details based of the saved values in the DB. e.g. Change Full Name & Password.
- Ability to view all location information & review details of a selected location.
- Ability to favourite & unfavourite a location.
- Ability to create individual reviews and permissions to edit, view/add/delete a photo, like/unlike & delete the review.
- Ability to search for a location.
- Ability to easily view various ratings with the implementation of 'AirBnbRating' star rating method. e.g. location & Review ratings.

## App Screenshots

Here are a few screenshots taken from the completed application:

![Home Screen](/screenshots/Home.png)
![User Welcome](/screenshots/UserWelcome.png)

## How to Run

1. Clone the repo, run 'npm install' to install the dependencies.
2. Create your .env file with your DB config details.
3. Create a directory called 'storage', within the storage directory, create a directory called 'photos'.
4. Run the server with 'npm start'.
5. Go into the newApp directory & run 'npm install' to install the required dependencies.
6. To run the application use 'npx react-native run-android'.

Enjoy!


text:
# Nord theme port for Windows Terminal

Nord theme port base on [nord-iterm2](https://github.com/arcticicestudio/nord-iterm2).

## Install this theme

Copy content in `scheme.json` file to inside the list of `schemes` in Windows Terminal settings.json.

## Special Thanks

https://github.com/arcticicestudio for making really cool theme. :)

repository: wingyplus/nord-windows-terminal

repo_name: wingyplus/nord-windows-terminal


text:
---
published: true
layout: post
title: "VMware Remote Console with vSphere 6.0U2"
author: Karim Elatov
categories: [vmware]
tags: [vmrc,vnc]
---
### Updating to vSphere 6.0U2

I heard that with the 6.0U2 now the new Web Client (VMware Host Client VS. vSphere Web Client) is available on the ESXi host, not just in vCenter. From the Release Notes, under the **What's New** section:

> VMware Host Client: The VMware Host Client is an HTML5 client that is used to connect to and manage single ESXi hosts. It can be used to perform administrative tasks to manage host resources, such as virtual machines, networking, and storage. The VMware Host Client can also be helpful to troubleshoot individual virtual machines or hosts when vCenter Server and the vSphere Web Client are unavailable.

I thought that was pretty cool, so I decided to give it a try. We can run the following command on the ESXi host to update to 6.0U2:

	esxcli network firewall ruleset set -e true -r httpClient
	esxcli software profile update -p ESXi-6.0.0-20160302001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
	esxcli network firewall ruleset set -e false -r httpClient

After you reboot you can check out the new **vib** installed on the system:

	[root@macm:~] esxcli software vib list | grep ui
	esx-ui                              1.0.0-3617585                         VMware           VMwareCertified     2016-08-14

### Using the VMware Remote Console
Now if you go the VMware Host Client (**https://ESXI_IP/ui**), you will see the new client:

![esxi-web-client](https://raw.githubusercontent.com/elatov/upload/master/new-vmrc/esxi-web-client.png)

And if you login you can open a console to any of the VMs:

![vm-console-opts](https://raw.githubusercontent.com/elatov/upload/master/new-vmrc/vm-console-opts.png)

And if you open it in the browser you can get a console to the VM and see the VM's display:

![web-console-vm](https://raw.githubusercontent.com/elatov/upload/master/new-vmrc/web-console-vm.png)

If you want you can also download the stand-alone VMRC. Check out more details at [this](https://kb.vmware.com/kb/2091284) KB. Basically you download the client, and from the Web UI you choose **Launch Remote Console** and if VMRC is installed it will launch automatically, here is how it looked like on my Mac:

![vmrc-launched](https://raw.githubusercontent.com/elatov/upload/master/new-vmrc/vmrc-launched.png)

And you will see it running on your dock:

![vmrc-on-dock](https://raw.githubusercontent.com/elatov/upload/master/new-vmrc/vmrc-on-dock.png)

You can check out different settings of the VM in the VMRC as well:

![rd-vmrc-set](https://raw.githubusercontent.com/elatov/upload/master/new-vmrc/rd-vmrc-set.png)

### Enabling VNC for a VM

Or you can use the old VNC way. I found some old links that talk about the process:

* [Using a VNC Client to Connect to VMs in ESXi 5](http://www.virtuallyghetto.com/2012/01/using-vnc-client-to-connect-to-vms-in.html)
* [Enable VNC on VMware Deployments](https://platform9.com/support/enable-vnc-on-vmware-deployments/)
* [Enabling VNC Access to vSphere 5 VM Guest Consoles](https://www.netiq.com/documentation/cloudmanager22/ncm22_reference/data/bxzaz5n.html)

#### Allow VNC Traffic in the ESXi Firewall
The links from above talks about the process, you can either create a special firewall file on each boot. So edit the following file: **/etc/rc.local.d/local.sh** and add the following to it:

	cat <<EOF > /etc/vmware/firewall/vncServer.xml
	<ConfigRoot>
	  <service>
	    <id>vncServer</id>
	    <rule id='0000'>
	      <direction>inbound</direction>
	      <protocol>tcp</protocol>
	      <porttype>dst</porttype>
	      <port>
	        <begin>5900</begin>
	        <end>5999</end>
	      </port>
	    </rule>
	    <enabled>true</enabled>
	    <required>false</required>
	  </service>
	</ConfigRoot>
	EOF
	esxcli network firewall refresh

And then save the config to have it survive reboots:

	/sbin/auto-backup.sh

Or if you want you can just use the existing Service of **GDB Server**, that will enable more ports than necessary but it will get the job done:

![firewall-opened](https://raw.githubusercontent.com/elatov/upload/master/new-vmrc/firewall-opened.png)

Or run the following on the command line:

    [root@hp:~] esxcli network firewall ruleset rule list -r gdbserver
    Ruleset    Direction  Protocol  Port Type  Port Begin  Port End
    ---------  ---------  --------  ---------  ----------  --------
    gdbserver  Inbound    TCP       Dst              1000      9999
    gdbserver  Inbound    TCP       Dst             50000     50999
    [root@hp:~] esxcli network firewall ruleset set -e true -r gdbserver
    [root@hp:~] esxcli network firewall ruleset list -r gdbserver
    Name       Enabled
    ---------  -------
    gdbserver     true
    [root@hp:~] esxcli network firewall refresh

#### Enable VNC Access on VM
Now that the firewall is open, we can shutdown the VM and we have to add the following to VMX file:

	RemoteDisplay.vnc.enabled = [true|false]
	RemoteDisplay.vnc.port = [port #]
	RemoteDisplay.vnc.password = [optional]

You can either do this via SSH or just **edit settings** on the VM in the new web client and under the **advanced** section add them there:

![vm-options-added](https://raw.githubusercontent.com/elatov/upload/master/new-vmrc/vm-options-added.png)

Then you can use **vncviewer** (tigervnc) to connect to the VM. On my Mac I can the following:

	$ sudo port install tigervnc
	$ /opt/local/bin/vncviewer ESXI_IP:5902

The VMware Remote Console is the preffered method and is more secure.

gha_language: CSS


text:
buctar `$*` %bctr
==========================

Default value

`$*`, is a synthetic rune that produces the [bunt]() (default value) of
a tile as a compile-time constant if possible. If it is not possible,
then it is produced dynamically.

Produces
--------

[Twig](): `[%bctr p=tile]`

Tall form
---------

    $*  p

Wide form
---------

    $*(p)

Irregular form
--------------

    *p

Examples
--------

    ~zod/try=> *@t
    ''
    ~zod/try=> *[@p @ux]
    [~zod 0x0]
    ~zod/try=> *(list ,@)
    ~

repository: frodwith/urbit

repo_name: frodwith/urbit


text:
---
hrs_structure:
  division: '1'
  volume: '1'
  title: '2'
  chapter: '11'
  section: 11-433
type: hrs_section
tags:
  - Government
menu:
  hrs:
    identifier: HRS_0011-0433
    parent: HRS0011
    name: 11-433 Post-election report required
weight: 20965
title: Post-election report required
full_title: 11-433 Post-election report required
---
**[§****11-433] Post-election report required.** The treasurer shall electronically submit an expenditure of public funds report to the commission no later than twenty days after a primary election and no later than thirty days after a general election certifying that all public funds paid to the candidate have been used as required by this part.

Should the commission determine that any portion of the public funds have been used for noncampaign or other improper expenses, it shall report such finding to the attorney general and shall order the candidate to return all or part of the funds paid to that candidate for a primary or general election. When public funds are returned, the funds shall be deposited into the Hawaii election campaign fund. [L 2010, c 211, pt of §2]

repository: SamMade/BlueAndKrabby

repo_name: SamMade/BlueAndKrabby


text:
---
name: Bug report
about: Report a bug in genanki
title: ''
labels: ''
assignees: ''

---

**Description**
Give a short description of the bug here.

**To reproduce**
Describe how to make the bug happen. Include any Python code that you are running.

**Expected behavior**
Describe what you expected to happen when you followed the instructions in "To reproduce".

**Actual behavior**
Describe what actually happened when you followed the instructions in "To reproduce".

**genanki version**
Look at the output of `pip show genanki` and enter the version here.

**Additional context**
Add any other context about the problem here.

repository: kerrickstaley/genanki

gha_language: Python

repo_name: kerrickstaley/genanki


text:
---
title: Getting Started
page_title: Getting Started - WinForms CalculatorDropDown Control
description: WinForms CalculatorDropDown has a simple easy-to-use interface enabling the end user to perform all basic calculations such as addition, subtraction, multiplication, division as well as some more complicated ones – reciprocal, square root, negate.
slug: winforms/editors/calculatordropdown/getting-started
tags: getting,started
published: True
position: 3
---

# Getting Started with WinForms CalculatorDropDown

The following example demonstrates how to set up __RadCalculatorDropDown__ with a minmum popup width and height.

>caption Figure 1: Before
![WinForms RadCalculatorDropDown Before](images/editors-calculator-getting-started001.png)

1\. Drag a __RadCalculatorDropDown__ on a form.

2\. In the constructor of your form add the following code:

{{source=..\SamplesCS\Editors\RadCalculatorDropDownGettingStarted.cs region=MinWidth}}
{{source=..\SamplesVB\Editors\RadCalculatorDropDownGettingStarted.vb region=MinWidth}}

````C#
int desiredWidth = this.radCalculatorDropDown1.Width;
this.radCalculatorDropDown1.CalculatorElement.MinPopupWidth = desiredWidth;
this.radCalculatorDropDown1.CalculatorElement.MinPopupHeight = desiredWidth;

````
````VB.NET
Dim desiredWidth As Integer = Me.RadCalculatorDropDown1.Width
Me.RadCalculatorDropDown1.CalculatorElement.MinPopupWidth = desiredWidth
Me.RadCalculatorDropDown1.CalculatorElement.MinPopupHeight = desiredWidth

````

{{endregion}}

3\. Press __F5__ to run the application. Click the arrow button to open the drop-down. Notice its size equaling that of the editor.

>caption Figure 2: After
![WinForms RadCalculatorDropDown After](images/editors-calculator-getting-started002.png)

## See Also

* [Structure]({%slug winforms/editors/calculatordropdown/structure%})
* [Smart Tag]({%slug winforms/calculatordropdown/design-time/smart-tag%})

repository: telerik/winforms-docs

repo_name: telerik/winforms-docs


text:
# Facebook Screen Recordings

[Facebook requires](https://developers.facebook.com/docs/app-review/submission-guide/screen-recordings#screen-recordings) a screen recording of the app for review.

## Setup

1. Login to app and delete account.
1. Login to facebook.com with the test account and remove access to the app from the [Apps and Websites settings page](https://www.facebook.com/settings?tab=applications&ref=settings).
1. Open production app on the simulator and log out.

## App Info

1. Record a few seconds of [this page](./AppInfo.md) to show the app information.

## App

1. Start screen recording on the iOS simulator.
1. Log in with Facebook showing what happens when you cancel at each step of the process.
1. Go to the profile screen and show the user name and email.
1. Go to the About screen and tap on the privacy policy.
1. Log out.
1. Log in with different auth providers.
1. End screen recording.
1. Repeat each of the steps above for the Android app.

repository: agrc/roadkill-mobile

branch_name: refs/heads/production

repo_name: agrc/roadkill-mobile


text:
# Logging from Serilog

##### [Thomas Ardal](http://elmah.io/about/), April 10, 2014 in [Tutorials](/category/tutorials/)

> This post has been adapted as part of our official documentation. To read the most updated version, please check out [Logging from Serilog](https://docs.elmah.io/logging-to-elmah-io-from-serilog/)

Serilog is a great addition to the flowering .NET logging community, described as “A no-nonse logging library for the NoSQL era” on their project page. Serilog works as other logging frameworks like log4net and NLog, but offers a great fluent API and the concept of sinks (a bit like appenders in log4net). Sinks are superior to appenders, because they threat errors as objects rather than strings, a perfect fit for elmah.io which itself is build on NoSQL. Serilog already comes with native support for elmah.io, which makes it easy to integrate with any application using Serilog.

In this example we’ll use a ASP.NET MVC project as an example. Neither Serilog nor elmah.io are bound to log errors from web applications, why adding this type of logging to your windows and console applications is just as easy. Add the Serilog.Sinks.ElmahIO NuGet package to your project:

```powershell
Install-Package Serilog.Sinks.ElmahIO
```

During the installation you will be prompted to input your log id, as with any other installation of elmah.io. To configure Serilog, add the following code to the Application_Start method in global.asax.cs (where LOG_ID is your log id):

```csharp
var log =
    new LoggerConfiguration()
        .WriteTo.ElmahIO(new Guid("LOG_ID"))
        .CreateLogger();
Log.Logger = log;
```

First we create a new LoggerConfiguration and tell it to write to elmah.io. The log object can be used to log errors and you should register this in your IoC container. In this case we don’t use IoC, why the log object is set as the public static Logger property, which makes it accessible from everywhere.

When unhandled exceptions occur, ELMAH ships the errors to elmah.io through the elmah.io NuGet package. No Serilog or even magic is happening there. The fun part begins when we log handled exceptions to Serilog:

```csharp
try {
    // Do some stuff which may cause an exception
}
catch (Exception e) {
    Log.Error(e, "The actual error message");
}
```

The Error method tells Serilog to log the error in the configured sinks, which in our case logs to elmah.io. Simple and beautiful.

repository: elmahio/blog

repo_name: elmahio/blog


text:
# Simple Rack

> A [rack](https://github.com/rack/rack) application to convert numerical values to words

A simple rack-application built with the help of [hanami/controller](https://github.com/hanami/controller) and [hanami/router](https://github.com/hanami/router). The application is modelled around MVC approach with a directory stucture inspired from Rails.

### Running linter and tests

```bash
# Run rubocop
$ bundle exec rubocop

# Run rspec
$ bundle exec rspec --format documentation
```

## Licence

This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).


text:
# ECE Undergrad Calendar
Displays the course list from the [University of Waterloo Electrical and Computer Engineering Undergraduate calendar](https://ugradcalendar.uwaterloo.ca/page/ENG-Computer-Engineering-Electrical-Engineering/) in a nicer, more readable format. I always thought it was annoying to navigate this site to look at my course calendar, especially having to go select an archived calendar so I could get to the correct year.

## Getting Started
### Usage
1. Go to https://ece-calendar.herokuapp.com/
2. Select a year from the list
3. You may also select light or dark theme from the front page

### Set Up Virtual Environment
1. Install virtualenv with `sudo apt install virtualenv`
2. Create venv folder in project directory using Python 3.6 with `virtualenv -p /usr/bin/python3.6 venv`
3. Activate using `source venv/bin/activate`
4. Install requirements with `pip install -r requirements.txt`

### Running Development Server
1. Run using Gunicorn with `gunicorn ece-calendar:app`
2. Open on `localhost:8000`

repository: aidan-clyens/UndergradCalendar

repo_name: aidan-clyens/UndergradCalendar


text:
# DSA Membership API

This is the backend for the membership portal.

It uses Auth0 for authentication / authorization and MailGun for sending email.
**NOTE: Currently, there is a bug when developing locally with these services disabled.**
We are working on a fix so that you can set a flag to disable Auth0 and not need to be authenticated
to use the site.

# Installation for Mac OS X

1. **Download and install dependencies**
    ```
    brew update
    brew install mysql pyenv
    ```

2. **Create the dsa mysql database**
    1. Start mysql server
    ```
    mysql.server start
    ```
    2. Create the `dsa` database
    ```
    mysql -u root -e "create database dsa"
    ```

3. **Download and install python**
    1. Use pyenv to install python 3.6.1
    ```
    pyenv install 3.6.1
    ```
    2. Source the python
    ```
    echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.profile
    echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
    echo 'eval "$(pyenv init -)"' >> ~/.profile
    ```
    3. (Optional) Source your `~/.profile` from your `~/.bashrc` or `~/.zshrc`
    ```
    # Always source the .profile on startup (to be shell agnostic)
    source $HOME/.profile
    ```
    4. You should now be able to see that you are using the shimmed python
    ```
    which python
    # Should be $HOME/.pyenv/shims/python
    ```

4. **Create a virtual environment (venv) for this project** (read more about [python 3 venv](https://packaging.python.org/installing/#creating-virtual-environments))
    ```
    # from inside the repo
    python -m venv .
    ```

5. **Activate the venv**
    ```
    # from inside the repo
    source bin/activate
    ```
    You should now see `(membership_api)` to the left of your prompt in the terminal

6. **Install the python dependencies**
    1. Verify that you are using the correct `pip`
    ```
    which pip
    # should be ./bin/pip
    ```
    2. Install the dev dependencies
    ```
    pip install -r requirements-dev.txt
    ```

7. **Create your `.env` config file for the project**
    ```
    cp example.env .env
    # edit .env and replace the email with your email address
    ```

8. **Run the database migrations**
    ```
    alembic upgrade head
    ```

9. **Run the server**
    ```
    make run
    ```

10. Verify that your API is up
    ```
    curl http://localhost:8080/health
    # Should see {"health": true}
    ```

Congrats! You did it!

# Troubleshooting

Help! I'm seeing some error. What do I do?

1. **Error** Can't run `alembic upgrade` or start the Flask server.
```
... can't connect to the mysql socket `/tmp/mysql.sock` ...
```
**Fix**
```
mysql.server start
```

2. **Error** Can't install Python 3.6.1, I'm seeing `zlib not available`
**Fix**
Download and install or upgrade XCode, and install the command line tools.
```
xcode-select --install
```


text:
# keller-awards
site to rate yours and others projects

## Built by [Kellen Njoroge](https://github.com/KellenNjoroge)

## Technologies Used

    - Python 3.6
    - Django Framework
    - HTML, CSS and Bootstrap
    - JavaScript
    - SQL
    - Ajax

It has the following features

    ## Built by [Kellen Njoroge](https://github.com/KellenNjoroge)

## Technologies Used

    - Python 3.6
    - Django Framework
    - HTML, CSS and Bootstrap
    - JavaScript
    - SQL
    - Ajax

As a user I should be to :

    + View posted projects and their details.
    + Post a project to be rated/reviewed
    + Rate/ review other users' projects
    + Search for projects
    + View projects overall score
    + View my profile page.

## Demo
This app was deployed in Heroku

[Demo](https://kellerinsta.herokuapp.com/)

## Architecture
This is a list files or directories for pitch app

+ `/model` - define  model classes
+ `Procfile` - heroku server configuration
+ `requirements.txt` - dependency file

## Set up and installation

    1. Clone or download the Repository
    2. Create a virtual environment
    3. Read the specs and requirements files and Install all the requirements.
    5. Run python3.6 manage.py runserver
    6. Access the application through `localhost:8000

## Known bugs

## License

This project is licensed under the MIT License - [License](LICENSE)

## Demo
This app was deployed in Heroku

[Demo](https://kellerawards.herokuapp.com/)

## Architecture
This is a list files or directories for pitch app

+ `/model` - define  model classes
+ `Procfile` - heroku server configuration
+ `requirements.txt` - dependency file

## Set up and installation

    1. Clone or download the Repository
    2. Create a virtual environment
    3. Read the specs and requirements files and Install all the requirements.
    5. Run python3.6 manage.py runserver
    6. Access the application through `localhost:8000

## Known bugs

## Contact

You can contact me at [muthonkel@gmail.com](muthonkel@gmail.com).

## License

This project is licensed under the MIT License - [License](LICENSE)

repository: KellenNjoroge/keller-awards

repo_name: KellenNjoroge/keller-awards


text:
-NetSurfer

#include standard.disclaimer

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
==  =    = |James D. Wilson        |V.PGP 2.4:   512/E12FCD 1994/03/17 >
 "  "    " |P. O. Box 15432        |finger for key / Viacrypt Reseller  >
 "  " /\ " |Honolulu, HI  96830    |====================================>
\"  "/  \" |Serendipitous Solutions|    Also<EMAIL_ADDRESS>    >
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

---------- Forwarded message ----------
Date: Fri, 10 Jun 1994 00:13:43 -0400
From: E-d-u-p-a-g-e<EMAIL_ADDRESS>Subject: E-d-u-p-a-g-e 06/09/94

CYBERCOP
        A former New Jersey police officer now spends his time cruising for
suspects in cyberspace and has been involved in dozens of criminal
investigations, including a sting operation that nabbed a pedophile who
lured young rape victims via a bulletin board service.  (Tampa Tribune
6/8/94 BayLife 5)

E-MAIL PRIVACY
        A survey of 301 companies by Macworld Magazine showed that 78.4% of
the firms do not spy on employee e-mail or search their electronic files.
Sen. Paul Simon (D-Ill.) has drafted legislation requiring that companies
tell their workers that their e-mail might be monitored. (Tampa Tribune
6/8/94 BayLife 5)

PAT ROBERTSON EYES VIETNAMESE CABLE TV
        Religious broadcaster Pat Robertson wants to build a cable-TV
system in Vietnam and is confident a deal can be struck after meeting with
government and TV officials in Hanoi. The proposed system will use
microwave technology to beam dozens of channels to homes. (Investor's
Business Daily 6/8/94 A9)

{% endraw %}
```

## Thread

+ Return to [June 1994](/archive/1994/06)

+ Return to "[NetSurfer <jdwilson<span>@</span>gold.chem.hawaii.edu>](/authors/netsurfer_jdwilson_at_gold_chem_hawaii_edu_)"

+ 1994-06-10 (Thu, 9 Jun 94 23:42:24 PDT) - Cop On The Net - Watch Your *** - _NetSurfer<EMAIL_ADDRESS>


text:
## AES128-with-C
implement Advanced Encryption Standard of 128 bit key with C.
Use PKCS7Padding fill mode.

Block cipher working mode：
- ECB
- CBC

For an introduction to AES, please see [this blog](http://changsk.top/2020/04/16/AES128/)
> reference:https://github.com/lmshao/AES