text:
# angularjs1-5-ng-src-directive
AngularJS 1.5 ngSrc Directive

Based on 'ng-src directive' at https://www.youtube.com/watch?v=YY_-BB_lZDI&index=4&list=PL6n9fhu94yhWKHkcL7RJmmXyxkuFB3KSl

#Use of ng-src directive

See official documentation of 'API Reference / ng / directive components in ng / ngSrc' at https://docs.angularjs.org/api/ng/directive/ngSrc

#Using a binding expression with the image src attribute, results in a 404 error.

For example, the script;

```javascript
var myApp = angular
    .module("myModule", [])
    .controller("myController", function($scope) {
        var country = {
            name: "USA",
            capital: "Washington, D.C.",
            flag: "/img/usa-flag.png"
        };
        // Attach the model (a complex object) to the scope
        $scope.country = country;
    });
```

And the HTML;

```javascript
<!DOCTYPE html>
<html lang="en" data-ng-app="myModule">
<head>
    <meta charset="UTF-8">
    <title>My Angular App</title>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script>
    <script src="script.js"></script>
</head>
<body>
    <div data-ng-controller="myController">
        <div>
            Name: {{ country.name }}
        </div>
        <div>
            Capital: {{ country.capital }}
        </div>
        <div>
            <img src="img/usa-flag.png" style="height:82px; width:152px;">
        </div>
    </div>
</body>
</html>
```

Works fine!

Modifying the HTML to the following:

```javascript
<!DOCTYPE html>
<html lang="en" data-ng-app="myModule">
<head>
    <meta charset="UTF-8">
    <title>My Angular App</title>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script>
    <script src="script.js"></script>
</head>
<body>
    <div data-ng-controller="myController">
        <div>
            Name: {{ country.name }}
        </div>
        <div>
            Capital: {{ country.capital }}
        </div>
        <div>
            <img src="{{ country.flag }}"
                alt="{{ country.name + 'Flag' }}"
                style="height:82px; width:152px;">
        </div>
    </div>
</body>
</html>
```

This will return the following error, even though the flag shows:

***Failed to load resource: the server responded with a status of 404 (Not Found)***

This is because, as stated above, it uses a binding expression with the image src attribute.

It uses the ```{{ country.flag }}``` as the path to load the image from, which is not a valid path.
The reason we do see the image is because a second request, at which time the expression is evaluated, is made to load the image, which succeeds.

YOU CAN USE THE SOFTWARE PROGRAM 'FIDDLER' TO TEST THIS OCCURENCE
Get Fiddler from http://www.telerik.com

The first time it tries to load GET /angularjs1-5-ng-src-directive/%7B%7B%20country.flag%20%7D%7D HTTP/1.1 which fails
The second time it tries to load GET /angularjs1-5-ng-src-directive/img/usa-flag.png which succeeds

#To fix the 404 error use the ng-src directive

```ng-src``` attribute ensures that a request is issued only AFTER angular has evaluated the binding expression.

Change ***src***

```javascript
            <img src="{{ country.flag }}"
                alt="{{ country.name + 'Flag' }}"
                style="height:82px; width:152px;">
```

to ***ng-src***

```javascript
            <img ng-src="{{ country.flag }}"
                alt="{{ country.name + 'Flag' }}"
                style="height:82px; width:152px;">
```

It now loads correctly GET /angularjs1-5-ng-src-directive/img/usa-flag.png first time round and succeeds without an error


text:
---
layout: post
status: publish
published: true
title: How to stop Facebook videos from autoplaying
author:
  display_name: James Sisson
  login: jsisson
  email<EMAIL_ADDRESS>  url: ''
author_login: jsisson
author_email<EMAIL_ADDRESS>wordpress_id: 7195
wordpress_url: http://blog.buymobiles.net/?p=7195
date: '2015-06-26 14:41:50 +0100'
date_gmt: '2015-06-26 13:41:50 +0100'
categories:
- How To
- Popular
tags:
- android
- facebook
- iOS
---

Is it just me, or is Facebook rife with video clips these days?

I scroll through my timeline, hoping to catch pictures of adorably plump cats and cryptic, attention-seeking statuses that prompt comments like “You ok hun? xxx”, and replies like “Inbox me babe”.

But now all I’m seeing are videos of adorably plump cats, doing adorably plump things. And Facebook has the audacity to just play them all, with or without my consent. It has to stop.

Thankfully, there’s a quick fix, and with these easy-to-follow steps, you’ll soon pull the plug on Facebook’s penchant for auto-hitting the play button. And, by the way, save some of your data allowance in the process.

Step 1

Launch the Facebook app on your iPhone or Android mobile phone, then open the More menu by tapping the little icon that’s made up of three horizontal lines. On iPhones you’ll find it residing on the bottom right of your display; Android users will locate it at the top right.

Step 2

Once you’ve opened the More menu, you’ll be confronted with a host of options. Scroll down to the Settings section, and tap through into Account Settings, or App Settings if you’re using Android.

Step 3

On iPhone, you should see a tab labelled Videos and Photos. Tap it. If you’re running Android, look for a tab labelled Video Auto-Play.

Step 4

Okay, we’re almost there. iPhone users, once you tap Videos and Photos, you’ll slide into another sub-selection of options. Here, you’ll see one called Auto-play. Press it.

Step 5

We arrive at the fifth and final step. If you’ve been following my instructions on your iPhone, the screen you’re now looking at will display four options. First of all, if the toggle for Smart Auto Play is switched to the right hand side (coloured green), flick it off. And lastly, choose the option Never Play Videos Automatically to complete the process.

The last step is even more straightforward for Android mobiles, as you’ll be presented with a pop-up window asking you to select from three options; choose the option that reads Off. And voilà, Facebook videos will no longer play unsolicited.

license: MIT

branch_name: refs/heads/master

extension: md

license_type: permissive


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

### Description

The ActiveMatrix Policy Manager Authentication module in TIBCO ActiveMatrix Policy Agent 3.x before 3.1.2, ActiveMatrix Policy Manager 3.x before 3.1.2, ActiveMatrix Management Agent 1.x before 1.2.1 for WCF, and ActiveMatrix Management Agent 1.x before 1.2.1 for WebSphere allows remote attackers to gain privileges and obtain sensitive information via unspecified vectors.

### POC

#### Reference
- http://www.tibco.com/mk/advisory.jsp

#### Github
No PoCs found on GitHub currently.

repository: trickest/cve

branch_name: refs/heads/main

gha_language: HTML

gha_license_id: MIT

repo_name: trickest/cve


text:
# Build Steps for Creating Immutable VM Images

## Overview

The AppDynamics Cloud Kickstart project enables an IT Administrator, Software Developer, or DevOps engineer to automate the building of immutable VM images using open source tools from [Hashicorp](https://www.hashicorp.com/). Currently, these VMs consist of two types:

-	__APM-Platform VM__: An APM Platform stand-alone VM designed for Application Performance Monitoring. It consists of the AppDynamics Enterprise Console, Controller, and Events Service.
-	__LPAD-EKS VM__: 'Launchpad' VM with pre-configured tooling for Cloud and Kubernetes CLI Operations.

## Installation Instructions - macOS

To build the AppD Cloud Kickstart VM images, the following open source software needs to be installed on the host macOS machine:

-	Homebrew 2.0.2
-	Packer 1.3.4
-	Git 2.20.1

Perform the following steps to install the needed software:

1.	Install the [Homebrew 2.0.2](https://brew.sh/) package manager for macOS 64-bit. Paste the following into a macOS Terminal prompt:
    `$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`

2.	Install [Packer 1.3.4](https://packer.io/) for macOS 64-bit.
    `$ brew install packer`

3.	Install [Git 2.20.1](https://git-scm.com/downloads) for macOS 64-bit.
    `$ brew install git`

### Configuration and Validation - macOS

1.	Validate installed command-line tools:

    ```
    $ brew --version
    Homebrew 2.0.2

    $ packer --version
    1.3.4

    $ git --version
    git version 2.20.1
    ```

2.	Configure Git for local user:

    ```
    $ git config --global user.name "<your_name>"
    $ git config --global user.email "<your_email>"
    $ git config --global --list
    ```

## Installation Instructions - Windows 64-Bit

To build the AppD Cloud Kickstart immutable VM images, the following open source software needs to be installed on the host Windows machine:

-	Packer 1.3.4
-	Git 2.20.1 for Win64

Perform the following steps to install the needed software:

1.	Install [Packer 1.3.4](https://releases.hashicorp.com/packer/1.3.4/packer_1.3.4_windows_amd64.zip) for Windows 64-bit.
    Create suggested install folder and extract contents of ZIP file to:
    `C:\HashiCorp\Packer\bin`

2.	Install [Git 2.20.1](https://github.com/git-for-windows/git/releases/download/v2.20.1.windows.1/Git-2.20.1-64-bit.exe) for Windows 64-bit.

### Configuration and Validation - Windows 64-Bit

1.	Set Windows Environment `PATH` to:

    ```
    PATH=C:\HashiCorp\Packer\bin;%PATH%
    ```

2.	Reboot Windows.

3.	Launch Git Bash.
    Start Menu -- > All apps -- > Git -- > Git Bash

4.	Validate installed command-line tools:

    ```
    $ packer --version
    1.3.4

    $ git --version
    git version 2.20.1.windows.1
    ```

5.		Create a folder for your AppD Cloud Kickstart project:

    ```
    $ mkdir -p /<drive>/projects
    $ cd /<drive>/projects
    ```

2.	Get the code from GitHub:

    ```
    $ git clone https://github.com/Appdynamics/AppD-Cloud-Kickstart.git
    $ cd AppD-Cloud-Kickstart
    ```

## Build the Immutable VM Images with Packer

The AppDynamics Cloud Kickstart project currently supports immutable VM image builds for Amazon AWS. In the future, we will be adding support for Microsoft Azure and Google Cloud Platform (GCP). Click on a link below for platform-specific instructions and Bill-of-Materials.

-	[AWS Amazon Linux 2 VMs](AWS_VM_BUILD_INSTRUCTIONS.md): Instructions

repository: justrohan/AppD-Cloud-Kickstart

repo_name: justrohan/AppD-Cloud-Kickstart


text:
[Pallets](https://mods.factorio.com/mod/pallets) updated for Factorio 1.0.

A Factorio mod that allows you to load items onto pallets, and later unload them.
This makes it possible to greatly increase the throughput of a factory using belts.

Each pallet holds a single stack of items, and does not itself stack, so only belt and inserter throughput will change.

Loading and unloading pallets is very similar to filling and emptying barrels. It is done in an assembling machine. Recipes for loading and unloading are automatically created, so the mod should be compatible with other mods that introduce new items.

Loaded pallets themselves do not stack, so throughput of trains does not change when using pallets. But loading and unloading trains can be significantly faster.

Using pallets requires research to unlock.

repository: mrudat/pallets-factorio-mod

repo_name: mrudat/pallets-factorio-mod


text:
# .NET Weekly #105 (12.11 - 18.11)

## Cloud & Web

1. [Type Vue without TypeScript](https://blog.usejournal.com/type-vue-without-typescript-b2b49210f0b)
1. [React for the Angular Dev](https://medium.com/@amcdnl/react-for-the-angular-dev-be21a39a382)
1. [Amazon DynamoDB encrypts all customer data at rest](https://aws.amazon.com/about-aws/whats-new/2018/11/amazon-dynamodb-encrypts-all-customer-data-at-rest/)
1. [Long Polling - Concepts and Considerations](https://www.ably.io/concepts/long-polling)
1. [CSS Frameworks Or CSS Grid - What Should I Use For My Project?](https://www.smashingmagazine.com/2018/11/css-frameworks-css-grid/)
1. [OWASP DevSlop’s journey to TLS and Security Headers](https://medium.com/@franbuehler/owasp-devslops-journey-to-tls-and-security-headers-aa892f1ac851)
1. [Simplifying dependency injection for IConfigureOptions with the ConfigureOptions() helper](https://andrewlock.net/simplifying-dependency-injection-for-iconfigureoptions-with-the-configureoptions-helper/)

## Tooling & Libraries

1. [VSCode version 1.29](https://code.visualstudio.com/updates/v1_29)
1. [Tensorflow 2.0 - models migration and new design](https://pgaleone.eu/tensorflow/gan/2018/11/04/tensorflow-2-models-migration-and-new-design/)
1. [Ionide 3.30.0](https://github.com/ionide/ionide-vscode-fsharp/releases/tag/3.30.0)
1. [Blazor 0.7.0 experimental release now available](https://blogs.msdn.microsoft.com/webdev/2018/11/15/blazor-0-7-0-experimental-release-now-available/)
1. [Practical ASP.NET Core](https://github.com/dodyg/practical-aspnetcore)
1. [Razor support in Visual Studio Code now in Preview](https://blogs.msdn.microsoft.com/webdev/2018/11/16/razor-support-in-visual-studio-code-now-in-preview/)
1. [Consul 1.4 - Multi-Data Center Service Mesh](https://www.hashicorp.com/blog/consul-1-4-multi-data-center-service-mesh)
1. [.NET Core tooling update for Visual Studio 2017 version 15.9](https://blogs.msdn.microsoft.com/dotnet/2018/11/13/net-core-tooling-update-for-visual-studio-2017-version-15-9/)

## Architecture & Databases

1. [Introspected REST - An alternative to REST and GraphQL](https://introspected.rest/)
1. [Patterns for Resilient Architecture — Part 1](https://medium.com/@adhorn/patterns-for-resilient-architecture-part-1-d3b60cd8d2b6)
1. [About Database Connection Pool Sizing](https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing)
1. [ThoughtWorks TechRadar vol. 19](https://www.thoughtworks.com/radar)
1. [Best practices for migrating an Oracle database to Amazon RDS PostgreSQL or Amazon Aurora PostgreSQL - Migration process and infrastructure considerations](https://aws.amazon.com/blogs/database/best-practices-for-migrating-an-oracle-database-to-amazon-rds-postgresql-or-amazon-aurora-postgresql-migration-process-and-infrastructure-considerations/)
1. [Distributed consistency at scale - Spanner vs. Calvin](http://dbmsmusings.blogspot.com/2017/04/distributed-consistency-at-scale.html)
1. [Microservices to Workflows - The Evolution of Jet’s Order Management System](https://medium.com/jettech/microservices-to-workflows-the-evolution-of-jets-order-management-system-9e5669bd53ab)
1. [Unimaginable horror about Oracle 12.2](https://news.ycombinator.com/item?id=18442941)
1. [Analyzing the GitHub outage](https://ayende.com/blog/185057-C/analyzing-the-github-outage)
1. [SQL Server Auditing for HIPAA and SOX – Part 4](https://www.red-gate.com/simple-talk/sysadmin/data-protection-and-privacy/sql-server-auditing-for-hipaa-and-sox-part-4/)
1. [Five Cool Things I Learned at the PostgreSQL Conference Europe 2018](https://severalnines.com/blog/five-cool-things-i-learned-postgresql-conference-europe-2018)

## Programming Languages

1. [What to test and not to test](http://blog.ploeh.dk/2018/11/12/what-to-test-and-not-to-test/)
1. [Beating hash tables with trees? The ART-ful radix trie](https://www.the-paper-trail.org/post/art-paper-notes/)
1. [Building CSharp 8.0](https://blogs.msdn.microsoft.com/dotnet/2018/11/12/building-c-8-0/)
1. [Copying objects in Javascript](https://smalldata.tech/blog/2018/11/01/copying-objects-in-javascript)
1. [Announcing TypeScript 3.2 RC](https://blogs.msdn.microsoft.com/typescript/2018/11/15/announcing-typescript-3-2-rc/)
1. [Type inference](https://eli.thegreenplace.net/2018/type-inference/)
1. [F# spoiled me, or why I don’t enjoy C#<EMAIL_ADDRESS>1. [Care To Know Clauses - All About SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY, and LIMIT](https://severalnines.com/blog/care-know-clauses-all-about-select-where-group-having-order-and-limit)
1. [Compiling C# to WASM with Mono and Blazor then Debugging .NET Source with Remote Debugging in Chrome DevTools](https://www.hanselman.com/blog/CompilingCToWASMWithMonoAndBlazorThenDebuggingNETSourceWithRemoteDebuggingInChromeDevTools.aspx)

## Runtime

1. [Adding tests for the new Math APIs](https://github.com/dotnet/corefx/pull/33359)
1. [Get-process-name challenge on a Friday afternoon](https://medium.com/criteo-labs/get-process-name-challenge-on-a-friday-afternoon-304a93bccdd1)
1. [Sample performance investigation using BenchmarkDotNet and PerfView](https://adamsitnik.com/Sample-Perf-Investigation/)

## Other

1. [HTTPv3](https://daniel.haxx.se/blog/2018/11/11/http-3/)
1. [Abstraction, intuition, and the “monad tutorial fallacy”](https://byorgey.wordpress.com/2009/01/12/abstraction-intuition-and-the-monad-tutorial-fallacy/)
1. [Nine years of Go](https://blog.golang.org/9years)
1. [Beyond Passwords - 2FA, U2F and Google Advanced Protection](https://www.troyhunt.com/beyond-passwords-2fa-u2f-and-google-advanced-protection/)
1. [Microsoft Translator releases next-generation Neural Machine Translation technology](https://blogs.msdn.microsoft.com/translation/2018/11/14/nextgennmt/)
1. [Offensive testing to make Dropbox (and the world) a safer place](https://blogs.dropbox.com/tech/2018/11/offensive-testing-to-make-dropbox-and-the-world-a-safer-place/)

repository: RamanBut-Husaim/dotNetWeekly

repo_name: RamanBut-Husaim/dotNetWeekly


text:
---
hrs_structure:
  division: '2'
  volume: '9'
  title: '24'
  chapter: '431'
  section: '431:15-201'
type: hrs_section
tags:
  - Business
menu:
  hrs:
    identifier: HRS_0431-0015-0201
    parent: HRS0431
    name: '431:15-201 Commissioner''s summary orders and supervision'
weight: 15535
title: Commissioner's summary orders and supervision
full_title: '431:15-201 Commissioner''s summary orders and supervision'
---
**PART II. SUMMARY PROCEEDINGS AND SUPERVISORY PROCEEDINGS**

**§431:15-201 Commissioner's summary orders and supervision proceedings.** (a) If, upon examination or at any other time, the commissioner finds that any domestic insurer requires supervision because it is in such condition as to render the continuance of its business hazardous to the public or to holders of its policies or certificates of insurance, or if the domestic insurer gives its consent, then the commissioner shall issue a supervision order and shall:

(1) Notify the insurer of the commissioner's order; and

(2) Furnish to the insurer a written list of the commissioner's requirements to abate the commissioner's order. The commissioner shall also proceed, if necessary, against the insurer pursuant to section 431:2-203.

(b) During the period of supervision, the commissioner may appoint a supervisor to supervise the insurer. The order appointing a supervisor shall direct the supervisor to enforce orders issued under subsection (a) and also may require that the insurer shall not do any of the following things during the period of supervision without the prior written approval of the commissioner or the supervisor:

(1) Dispose of, convey or encumber any of its assets or its business in force;

(2) Withdraw from any of its bank accounts;

(3) Lend any of its funds;

(4) Invest any of its funds;

(5) Transfer any of its property;

(6) Incur any debt, obligation or liability;

(7) Merge or consolidate with another company;

(8) Enter into any new reinsurance contract or treaty; or

(9) Write any new or renewal business.

(c) Any insurer subject to an order under this section shall comply with the requirements of the commissioner within sixty days from the date the supervision order is served. If the insurer fails to comply within the time specified, the commissioner may institute proceedings under section 431:15-301 or section 431:15-306 to have a rehabilitator or liquidator appointed, or seek to enforce the order pursuant to section 431:2-203.

(d) Any insurer subject to an order under this section may request a hearing to review the order. The hearing shall be held as provided in chapter 91, but the request for a hearing shall not stay the effect of the order. The insurer, at any time, may waive said hearing and apply for immediate judicial relief by means of any remedy afforded by law without first exhausting administrative remedies.

(e) During the period of supervision the insurer may request the commissioner to review an action taken or proposed to be taken by the supervisor, specifying where the action complained of is believed not to be in the best interest of the insurer.

(f) If any person has violated any supervision order issued under this section which as to the person was then still in effect, the person shall pay a penalty imposed by the circuit court of the first judicial circuit of this State not to exceed $10,000 for each violation.

(g) The commissioner may apply for, and the court may grant, such restraining orders, preliminary and permanent injunctions, and other orders as may be deemed necessary and proper to enforce a supervision order.

(h) If any person:

(1) With authority over or in charge of any segment of the insurer's affairs; or

(2) Who exercises control directly or indirectly over activities of the insurer through any holding company or other affiliate of the insurer;

knowingly violates any valid order of the commissioner issued under this section and, as a result of the violation, the net worth of the insurer is reduced or the insurer suffers loss it would not otherwise have suffered, the person shall become personally liable to the insurer for the amount of the reduction or loss. The commissioner or supervisor may bring an action on behalf of the insurer in the circuit court of the first judicial circuit of this State to recover the amount of the reduction or loss together with any costs. [L 1987, c 347, pt of §2]

repository: SamMade/BlueAndKrabby

repo_name: SamMade/BlueAndKrabby


text:
# Changelog

First release of VPC Flow logs to QRadar project

## [Unreleased]

## [0.0.1] - 2020-02-08

### Added
- Added a changelog

[unreleased]: https://github.com/ibm/repo-template/compare/v0.0.1...HEAD
[0.0.1]: https://github.com/ibm/repo-template/releases/tag/v0.0.1


text:
# Awesome Kanban Tools

Whether you’re creating a personal todo list, planning your holidays with some friends, your daily task list,  working in a team on your next revolutionary concept, Kanban Tools is an simple and effective tool to keep your tasks organized.

A collection of various awesome lists for kanban tools

## Most popular kanban tools

### [Restyaboard](https://github.com/RestyaPlatform/board)

Open source, Trello like kanban board. Tasks, to-dos, chat, etc.

The boards of restyaboard will give you a visual overview of the current state of your projects, and make you productive by allowing you to focus on the few items that matter the most.

* Development status - *Active*
* Official website: https://restya.com/board
* [Demo](https://restya.com/board/demo) - Restyaboard gives real time experience in this demo site.
* [Restyaboard Features](https://restya.com/board/features) - There are 75+ common and unique features from other kanban board software
* [Roadmap](https://github.com/RestyaPlatform/board#current-status--plans--roadmap) - Restyaboard has more plan on the road.
* [Activities](https://github.com/RestyaPlatform/board/commits/dev) - Above 4k commits
* [Discussion forum](https://groups.google.com/forum/#!forum/restya) - Restyaboard forum has more then 200 topic discussions.
* User friendly UI UX
* [Integrations and Work flow automation](https://restya.com/board/integrations): Over 500+ apps and combinations through [Zapier](https://zapier.com/).
* [Customer Testimonials](https://restya.com/board/testimonials) - Restyaboard customers made good sound about Restyaboard.
* Restyaboard has [iOS app](https://restya.com/board/mobile-app)

![Restyaboard_-_Board](/images/Restyaboard.png)

### [Wekan](https://github.com/wekan/wekan)

Wekan is an completely Open Source and Free software collaborative kanban board application with MIT license.

* Development status - *Active*
* Website: https://wekan.github.io/
* [Demo](https://wekan.indie.host/b/t2YaGmyXgNkppcFBq/wekan-fork-roadmap)
* [Wekan Features](https://github.com/wekan/wekan/wiki/Features) - There are 50+ common and unique features from other kanban board software.
* [Roadmap](https://github.com/wekan/wekan/milestones) - Wekan has more plan on the road.
* [Activities](https://github.com/wekan/wekan/commits/master) - Above 4k commits
* [Queries and Issues](https://github.com/wekan/wekan#wekan-feature-requests-and-bugs) - Wekan used task/issue tacking for question/answer.

![Wekan_board](/images/Wekan.png)

### [Kanboard](https://github.com/kanboard/kanboard)

Kanboard is project management software that focuses on the Kanban methodology.

* Development status - *Active*
* Official website: https://kanboard.org
* Demo - Demo link not available
* [Kanboard Features](https://kanboard.org/#features) - Compare to Restyaboard and Wekan, it has minimum number of features.
* Roadmap - Not mentioned about upcoming plans
* [Activities](https://github.com/kanboard/kanboard/commits/master) - Above 3.9k commits
* [Discussion forum](https://kanboard.discourse.group/) - Kanboardforum has more then 200 topic discussions

![Kanboard](/images/Kanboard.png)

### [react-trello](https://github.com/rcdexta/react-trello)

Pluggable components to add a trello-like kanban board to your application

* Development status - *Active*
* Official website: https://rcdexta.com/react-trello/
* [Demo](https://github.com/rcdexta/react-trello#basic-demo) - react-trello has only basic demo option in https://codesandbox.io/s/1o3zj95m9j
* [react-trello Features](https://github.com/rcdexta/react-trello#features-showcase) - react-trello has one some basic features of kanban board.
* Roadmap - Not mentioned about upcoming plans
* [Activities](https://github.com/rcdexta/react-trello/commits/master) - Above 500 commits
* Discussion forum - react-trello hasn't separate forum tools for discussion. So use issues for queries https://github.com/rcdexta/react-trello/issues

![react-trello](/images/react-trello.png)

### [TaskBoard](https://github.com/kiswa/TaskBoard)

A Kanban-inspired app for keeping track of things that need to get done.

* Development status - *Not fully active*
* Website: http://taskboard.matthewross.me/
* [Demo](https://taskboard.matthewross.me/demo/) - TaskBoard gives real time experience in this demo site.
* TaskBoard Features - TaskBoard having minimum features: https://taskboard.matthewross.me and https://github.com/kiswa/TaskBoard#features
* Roadmap - TaskBoard not having upcoming plans
* [Activities](https://github.com/kiswa/TaskBoard/commits/master) - Above 300 commits
* Discussion forum: Taskboard hasn't separate forum tools for discussion. So use issues for queries https://github.com/kiswa/TaskBoard/issues

![TaskBoard_-_Demo](/images/TaskBoard.png)

### [Kanban 看板](https://github.com/seanomlor/kanban)

Kanban 看板 is a Trello clone in Rails and Backbone.js

* Development status - *Inactive*
* Official website: http://kanban.seanomlor.com
* [Demo](http://kanban.seanomlor.com/login)
* Kanban 看板 Features - Not mentioned
* Roadmap - Not mentioned
* [Activities](https://github.com/seanomlor/kanban/commits/develop) - around 100 commits
* [Queries and Issues](https://github.com/seanomlor/kanban/issues) - Use issues for more questions.

![Kanban](/images/Kanban.png)

### [Taskade](https://taskade.com)

Taskade is a real-time organization and collaboration tool that lets you create kanban boards instantly.

* Development status - *Active*
* Official website: https://www.taskade.com
* [Demo](https://www.taskade.com/new)
* [Examples](https://www.taskade.com/templates)
* Taskade Features - Not mentioned
* Roadmap - https://www.taskade.com/v/B1Q8lMxIfG
* [Activities](https://github.com/taskade)

![Taskade Demo](/images/taskade-board.png)


text:
# Starling Builder Haxe

This is a Haxe port of Starling Builder engine. Starling Builder is an open source UI editor for Starling Framework. The original AS3 version repository is from https://github.com/yuhengh/starling-builder-engine

This Haxe version interprets the same layout format of the AS3 version.
It gives you the ability to target both Flash/AIR and non-Flash/AIR platform (mostly html5).
You can check out the online demo project at

http://starlingbuilder.github.io/demo-haxe/

It should work well on desktop, tablet and phone browsers.

#### Setup OpenFL

    haxelib install openfl
	haxelib run openfl setup

#### Setup Starling

	haxelib install starling

Currently the Starling port is based on Starling 1.8. Feathers UI port(only partially working) is based on Feathers UI 2.2.

#### Run the demo

	cd demo
	openfl test flash
	openfl test html5

#### Documentation

For more information, please visit our wiki page at http://wiki.starling-framework.org/builder/start

repository: Shaunmax/starling-builder-haxe

repo_name: Shaunmax/starling-builder-haxe


text:
---
id: 12868
title: Berleezy
date: 2021-04-07T12:25:14+00:00
author: Laima
layout: post
guid: https://ukdataservers.com/berleezy/
permalink: /04/07/berleezy/
---

* some text
{: toc}

## Who is Berleezy

YouTuber who runs two extremely popular YouTube channels. On his iBerleezy channel, he posts video game content featuring Marvel games as well as Among Us and Minecraft. His berleezy channel features his “EXPOSED” videos, where he makes fun of TV show intros.

## Prior to Popularity

He uploaded his first video in April of 2013. He later graduated from Cal State Fullerton in 2017.

## Random data

He is the founder of the clothing brand #eezygang. TV shows that he has exposed on his berleezy channel have included Dora the Explorer, Kim Possible and Phineas and Ferb.

## Family & Everyday Life of Berleezy

His real name is Berlin Edmond. He grew up in California with a sister.

## People Related With Berleezy

In June of 2016, he published a video to his berleezy channel entitled “I DARE YOU,” which featured fellow YouTube star Chino Alpha Wolf.


text:
# directInjectorPOC

Small program written in C#, compatible with .NET >= v3.5 . Only x64.

Created as a way to learn more about direct syscalls and their implementation in C#.

The program uses direct syscalls to perform the shellcode allocating/injection and the remote thread creation. The only imports are GetSystemInfo, RtlGetVersion and VirtualProtectEx.

The shellcode can be easily generated using tools like donut (https://github.com/TheWover/donut/).

Current implementation allows downloading shellcode from a github repository using ssl sockets.

### Usage:
The first step is to create a github repository and upload a shellcode.bin file containing the shellcode. Then replace the placeholders on line 15 with the corresponding information.

By default the program injects into "notepad" using the ALLOCWRITE write method. This can be easily modified by changing line 17
```
Inject(sc, "notepad", osV, ALLOCWRITE);
```
can be changed to
```
Inject(sc, "explorer", osV, OPENSEC);
```
to inject the shellcode into explorer.exe using the NtMapViewOfSection method.
##### ToDo:

  - Implement more ways to write our shellcode in a remote process (process hollowing, dll hollowing, etc)
  - New execution methods (steal them from pinjectra :) )
  - Try to avoid the use of VirtualProtectEx when allocating our shellcode
  - Try catch everything just in case

##### Original POC:

  - https://github.com/fela15/directInjectorPOC

##### Links of interest:

  - https://ired.team/offensive-security/code-injection-process-injection/ntcreatesection-+-ntmapviewofsection-code-injection
  - https://ired.team/offensive-security/code-injection-process-injection/process-injection
  - https://github.com/TheWover/donut/
  - https://github.com/b4rtik/SharpMiniDump/
  - https://github.com/outflanknl/Dumpert (tool)  https://outflank.nl/blog/2019/06/19/red-team-tactics-combining-direct-system-calls-and-srdi-to-bypass-av-edr/ (blog)


text:
---
layout: post
title: "Interaction-aware Kalman Neural Networks for Trajectory Prediction"
date: 2019-02-28 07:10:30
categories: arXiv_RO
tags: arXiv_RO Prediction
author: Ce Ju, Zheng Wang, Cheng Long, Xiaoyu Zhang, Gao Cong, Dong Eui Chang
mathjax: true
---

* content
{:toc}

##### Abstract
Forecasting the motion of surrounding dynamic obstacles (vehicles, bicycles, pedestrians and etc.) benefits the on-road motion planning for autonomous vehicles. Complex traffic scenes yield great challenges in modeling the traffic patterns of surrounding dynamic obstacles. In this paper, we propose a multi-layer architecture Interaction-aware Kalman Neural Networks (IaKNN) which involves an interaction layer for resolving high-dimensional traffic environmental observations as interaction-aware accelerations, a motion layer for transforming the accelerations to interaction-aware trajectories, and a filter layer for estimating future trajectories with a Kalman filter. Experiments on the NGSIM dataset demonstrate that IaKNN outperforms the state-of-the-art methods in terms of effectiveness for trajectory prediction.

##### Abstract (translated by Google)

##### URL
[http://arxiv.org/abs/1902.10928](http://arxiv.org/abs/1902.10928)

##### PDF
[http://arxiv.org/pdf/1902.10928](http://arxiv.org/pdf/1902.10928)


text:
Exanpe T5 Lib
-------------

Exanpe T5 Lib is a library of components design for the J2EE Tapestry 5 framework, developed by the Exanpe organization.

The purpose of this library is to provide additional components to Tapestry 5 as well as skinning the native components.

Our final purpose is to provide a fully harmonized set of components, ready to be included in your web application.

Easy to use and to integrate, this library target the real needs of any web application, taking a real care of possible application conflicts as well as depending on a minimal number of third party library !

The library is fully :

  - Integrated with Maven 2
  - Fully compatible with Tapestry 5.2+ and 5.3+

The following components are currently available in the library :

  - Accordion : Show/Hide some content with animation
  - AjaxLoader : Load a content with Ajax, displaying a loader icon
  - Authorize : Manage authorizations based on user's roles
  - Border : A simple skinned border
  - ColorPicker : Choose a Color and get it easily on the server side
  - GoogleMap : Show a GoogleMap and some points of interest, polylines or polygons
  - HideablePanel : Show/Hide a left side Panel
  - ListSorter : Sort a list of data using drag and drop
  - MenuBar and Menu components : Add one basic Menu bar or one multi level Horizontal Menu to you website
  - SecurePassword : Enter a Password without typing characters
  - Slider : Select a value on a range using a Slider
  - TabView : Organize your layout into a tab view
  - Tooltip : Display all kind of tooltips in your page
  - VerticalMenu : Add a sidebar menu on your website

Some mixins provide additional features to existing components:

  - AjaxValidation : Validate a textfield component with an Ajax request
  - Authorize : Manage authorizations based on user's roles
  - Dialog : Display a dialog to print information or confirmation on user action
  - PasswordStrengthChecker : Let your users valuate the strength of their passwords with a visual feedback
  - RichTextEditor : Display a textarea allowing rich HTML text content to be written
  - SelectLoader : Load select content options according to a first select component selection

Some features provide services on page classes:

  - Security : Use @Authorize annotation to restrict page/method access
  - Session : Use @ContextPageReset to reset some page information according to a specific context
  - Internationalization : Store your user Locale in session with LocaleSession

Finally, the core Tapestry components have been re skinned to fit better in any application.

Please have a look at our online [Demo] [1] and at the [Getting Started documentation] [2] to learn how to setup and use our components in 2 minutes !

  [1]: http://exanpe-t5-lib.appspot.com/
  [2]: http://exanpe.github.com/exanpe-t5-lib/getting_started.html

extension: markdown


text:
## Calling the rwloadsim tool
The rwloadsim tool itself is a command like tool that you can
call like you would call any other tool from your shell.
It has a (too?) large number of options that can be provided
traditionally using a single hyphen followed by an option letter
or using a double hyphen followed by an option name.
After option processing, it accepts a list of .rwl input files
and potentially a list of arguments that are provided to your rwl
program as $1, $2, etc.

The full syntax therefore is
```
rwloadsim [options] file ... [arg ...]
```
There must be at least one input file; everything else is optional.
Some of the most typically used options are:

|Option|Usage|
|------|-----|
|-h|Provide help by listing all options|
|-v|Print the program version and the Oracle client version|
|-q|Do not print the normal banner and database connection messages|
|-s -ss -sss|Gather increasing amounts of statistics|
|-F N|The first N arguments are input files, the rest become $1, $2 etc|
|-l u/p@c|Create a default database|
|-u|Search for input files in the public directory of your rwloadsim distribution|

All options can be provided using single hyphen and one letter or double hyphen
and a longer option name, and the full syntax is described
in the manual page available by typing
```
rwlman rwloadsim
```
The input files are read and processed one after another and each must contain
a complete programelement as shown in
```
rwlman rwlprogram
```
The first file named with a .rwl syntax will be scanned twice, the first
is done very early
and before any other option or argument processing.
This scan is done such the the programmer can provide _extra_ options using the
double hyphen syntax to the end user or provide ordinary options and
option values if appropriate.
See
```
rwlman useroption
```
for details.
There are online versions of these rwlman pages at [refman/README.md](refman/README.md).
## Navigation
* [index.md](index.md#rwpload-simulator-users-guide) Table of contents
* [SIMULATOR.md](SIMULATOR.md) Previous topic: Simulating workload using threads
* [ARGUMENTS.md](ARGUMENTS.md) Next topic: Providing arguments on the command line to your rwloadsim program


text:
---
title: EPE
keywords:
last_updated: November 07, 2016
tags:
summary: Calculate the expected positive exposure for a general portfolio.
sidebar: excel_sidebar
permalink: EPE.html
folder: excel
---

## Description
Calculate the expected positive exposure for a general portfolio

<!--HUMAN EDIT START-->

<!--## Details-->

<!--HUMAN EDIT END-->

## Example Sheet

    EPE.xlsx

## Arguments

* **products** (IProduct[])A list of products.
* **valueDate** ([Date](Date.html))The value date.
* **forwardValueDates** ([Date](Date.html)[])The dates at which the expected positive exposure is required.
* **model** (NumeraireSimulator)A model able to handle all the market observables required to calculate the cashflows in the portfolio.
* **nSims** (Int32)The number of simulations required.

<!--HUMAN EDIT START-->

<!--## Validation-->

<!--HUMAN EDIT END-->

repository: JamesLTaylor/QuantSA

gha_language: C#

repo_name: JamesLTaylor/QuantSA


text:
---
layout: post
title:  "Issue 15 — From the Editor"
author: brian-j-white
date:   2014-07-07 12:01:00 -0500
category: announcement
permalink: /issue15/front-matter/from-the-editor/
teaser: ""
published: true
---

And here we are, at the end of Year 2. Thank you, again, to everyone who has made this possible, the Kickstarter backers, the new subscribers, the writers. Thank you to Galen Dara for the wonderful art that has brought every issue to life. Thank you to Pablo Defendini and Kirk Biglione for building our beautiful website. Thank you to our families and our friends. Thank you, most of all, to my wife, Lauren, without whose support, advice, and love Fireside wouldn't be possible.

We're going to take a month off to do a little work on the website, edit the stories we're buying from our submissions period in June, and get Year 3 in shape. We'll be back on Sept. 1, on a new schedule of publishing the first Monday of each month. Lilith Saintcrow's serial is already written, and man, are we looking forward to getting started on that.

But! In the meantime, we have Issue 15, the finale of Year 2. Our short story is [_Sun Tea_](/issue15/chapter/sun-tea/) by M. Bennardo, the tale of a minor league pitcher who has brewed up a surefire path into stardom. In flash fiction, we have Megan Grey's [_Missing_](/issue15/chapter/missing/), a haunting trip into a memory, and James Darrow's [_Reversal_](/issue15/chapter/reversal/), where a man gets a chance to fix his last, fatal mistake. And, in [Part 12 of _The Forever Endeavor_](/issue15/chapter/the-forever-endeavor-part-twelve/), Chuck Wendig ties off fate's threads for Dale, Walt, and even Dave …

Thank you for reading.


text:
# PAudio

Query and control PulseAudio with Ruby.

## Install

### Bundler: `gem "paudio"`

### RubyGems: `gem install paudio`

## Usage

```rb
require 'paudio'

sinks = PAudio::Sinks.list
puts sinks.first.volume.percent # Get volume as percentage
puts sinks.first.raise_volume(10) # Raise volume by percentage
puts sinks.first.lower_volume(10) # Lower volume by percentage
```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

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

## License

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

repository: RyanScottLewis/paudio

repo_name: RyanScottLewis/paudio


text:
##  XI. Logs
----

### Treat Logs as Event Streams

* Write to `stdout`.
* Environment captures & sends to collector.

note:
    Stream to central location or a bus.

	Store nothing.

	Don't route.  Write to stdout.


text:
plexcli
===========
_*CLI for Plex*_

[![Maturity](https://img.shields.io/pypi/status/plexcli.svg)](https://pypi.python.org/pypi/plexcli)
[![License](https://img.shields.io/pypi/l/plexcli.svg)](https://pypi.python.org/pypi/plexcli)
[![Change Log](https://img.shields.io/badge/change-log-blue.svg)](https://github.com/mayfield/plexcli/blob/master/CHANGELOG.md)
[![Build Status](https://semaphoreci.com/api/v1/projects/5c2797d3-7839-4176-a14f-be1ed80a06f2/547084/shields_badge.svg)](https://semaphoreci.com/mayfield/plexcli)
[![Version](https://img.shields.io/pypi/v/plexcli.svg)](https://pypi.python.org/pypi/plexcli)

About
--------

Installation provides a command line utility (plex) which can be used to
interact with Plex services.  Commands are subtasks of the plex utility.
The full list of subtasks are visible by running 'plex --help'.

Requirements
--------

* syndicate Python Library
* humanize Python Library
* Plex Account
* Plex Server [and/or Client (soon)]

Installation
--------

**PyPi Stable Release**

```
pip3 install plexcli
```

**Development Release**

```
python3 ./setup.py build
python3 ./setup.py install
```

*or*

```
python3 ./setup.py develop
```

Compatibility
--------

* Python 3.4+

Mac OSX Notes
--------

I feel compelled to make a note about OSX as I've decided to only support
Python 3.4+ for this tool.  In my experience, using Python 3 as installed by
Homebrew and setuptools as installed by pip, a usable PATH is not provided
and/or symlinking behavior for python3 setuptools scripts is not handled.

To work around this I'm simply adding the 'bin' directory used for the Python
3 framework to my PATH variable, a la..

```shell
PATH=$PATH:/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/bin
```

I welcome someone explaining to me a better solution.

repository: mayfield/plexcli

repo_name: mayfield/plexcli


text:
# Troubleshooting
Here you will find a list of common library problems and possible solutions to overcome them.

## SPRuntimeException
This is the most common exception that the library might throw.
More specific exceptions will extend from this one.

### Unable to make an HTTP request
This happens whenever the HTTP adapter being used throws an `Http\Client\Exception`.

There might be several reasons for it, so pay attention to the actual message.

#### cURL specific
Most of the time, cURL is being used under the hood, so here's a list of common errors that might happen.

##### Error code 4
This error happens when **libcURL** tries to use a protocol it doesn't have support for. Either because the SSL/TLS library doesn't support it ([GnuTLS](http://www.gnutls.org/manual/gnutls.html#On-SSL-2-and-older-protocols)), or simply because it was disabled at build time by the vendor ([Ubuntu](http://serverfault.com/questions/456334/problems-with-disabled-ssl-version-2-in-ubuntu-server-can-i-also-disable-ssl-ve)).

In the majority of cases, it's because `CURL_SSLVERSION_SSLv2` is being set, or even `CURL_SSLVERSION_DEFAULT` (which may default to the former), but it should always be confirmed from the error message.

Try using `CURL_SSLVERSION_SSLv3` instead.

For more information about the security protocols supported by **libcURL**, refer to the [SSL library comparison list](http://curl.haxx.se/docs/ssl-compared.html)

##### Error code 35
This is the error when the protocol handshake fails. The error message will most likely be the following:

```
Unknown SSL protocol error in connection to accounts.accesscontrol.windows.net:443
```

If `CURL_SSLVERSION_SSLv2` or `CURL_SSLVERSION_SSLv3` are being used, try using `CURL_SSLVERSION_TLSv1_0` instead.

Note that `CURL_SSLVERSION_TLSv1_0` is **only** available since PHP `5.5.19`/`5.6.3` and cURL `7.34`.

##### Error code 56
The error message associated with this error code might be:
```
GnuTLS recv error (-9): A TLS packet with unexpected length was received.
```

This happens when **libcURL** is built against [GnuTLS](http://www.gnutls.org/) and the fact that this library is more strict when dealing with the TLS protocol.

There's an explanation about it in the [GnuTLS mailing list](http://lists.gnu.org/archive/html/gnutls-devel/2011-02/msg00002.html):
> Several sites terminate the TLS connection without following the TLS protocol (i.e. sending closure alerts), but rather terminate the TCP connection directly. This is a relic of SSLv2 and it seems other implementations ignore this error. GnuTLS doesn't and thus prints this error.

Given that this is a mix of SharePoint not following the TLS protocol correctly and GnuTLS being strict about it, there's not much that can be done except for using a different PHP/libcURL version.

##### Other codes
If other cURL errors emerge, check the libcURL [error list](http://curl.haxx.se/libcurl/c/libcurl-errors.html) to help find the root cause.

### The length of the URL for this request exceeds the configured maxUrlLength value.
This issue occurs when folder/file operations like **move** or **copy** use long file or folder names.

Read more about SharePoint URL length limitations [here](https://technet.microsoft.com/en-us/library/ff919564(v=office.14).aspx).

## Access denied. You do not have permission to perform this action or access this resource.
This usually happens when using **App-only Policy** without the **AllowAppOnlyPolicy** attribute being set to `true` in the **AppPermissionRequests** node.

More information about the SharePoint hosted app manifest configuration can be found [here](https://msdn.microsoft.com/en-us/library/office/fp142383.aspx).

repository: qwertyllo/spoil

repo_name: qwertyllo/spoil


text:
# Thelephora tremelloides (Bull.) Lam. & DC., 1826 SPECIES

#### Status
SYNONYM

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

#### Published in
Fl. gén. env. Paris (Paris) 1: 92 (1826)

#### Original name
Auricularia tremelloides Bull., 1787

### Remarks
null

repository: mdoering/backbone

path: /life/Fungi/Basidiomycota/Agaricomycetes/Auriculariales/Auriculariaceae/Auricularia/Auricularia mesenterica/ Syn. Thelephora tremelloides/README.md

repo_name: mdoering/backbone


text:
## Project Setup

1. Install MySQL
   1. via Docker
      1. Install Docker from docker.com (windows users might need to install docker-toolbox (an older version))
      2. navigate to the root of the project, the one with docker-compose.yml in it.
      3. run docker-compose up
   2. via MySql.com
      1. Install the community edition
   3. Get a mysql client
      1. Mac OS
         1. `brew install mysql-client` via [HomeBrew](https://brew.sh/)
         2. [Sequel Pro](https://www.sequelpro.com/)
      2. VSCode
         1. MySQL Extension
   4. Create two databases, one for test and one for development, default the names are `dev` and `test`
2. Run the API app
   1. navigate to `<project root>/api`
   2. `npm install`
   3. `npm run start` || `npm run dev`
3. Run the client
   1. navigate to `<project_root>/client`
   2. `npm install`
   3. `npm run serve`

## Notes

**npm**

- NPM is required for this project, if you don't have it, please install it from instructions on [Get NPM](https://www.npmjs.com/get-npm)

**mysql on windows with docker**

- there might be an issue connecting to the running mysql instance if you are using docker-toolbox. this is because it doesn't bind to the local ip of the host machine.
  - Run `docker-machine ip` to get the ip of the docker machine
  - You will then change your config.json to have the host be the ip returned in above command.

repository: thisispopshop/site

gha_language: Vue

repo_name: thisispopshop/site


text:
Contributing
============

Setup
-----

```shell
# Make sure to fork!
git clone ... mage-parser
cd  mage-parser
npm install
npm run build
```

Testing
-------

A test fake project is included in this git repository. To test
the current code (by using the `mage-parser` binary):

```shell
npm run install-test
npm run test
```

Development (VS Code)
----------------------

Open the integrated terminal, then run:

```shell
npm run watch
```

Now, the project will automatically be recompiled whenever
the TypeScript source files change.

From there, simply go on the "Debug" tab
of your VS Code editor. You should also
be able to set up breakpoint and use the debug console,
but keep in mind that the code may take a moment
to recompile.

repository: mage/mage-parser

repo_name: mage/mage-parser


text:
# GMP

This micro-package provides access to the gmp library, in a manner suitable to C dependencies.

The package should be built (once) using `Pkg.build("GMP")', and invoked with 'using GMP'.

GMP is installed at the prefix GMP.prefix. The library files are available at GMP.lib, and the header file at GMP.include.

Typical usage is to pass "--with-gmp=$(GMP.prefix)" to configure scripts.

![Build Status](https://travis-ci.org/laurentbartholdi/GMP.jl.svg?branch=master)](https://travis-ci.org/laurentbartholdi/GMP.jl)


text:
# Upgrade Guide

- [Upgrading To 7.0 From 6.x](#upgrade-7.0)

## High Impact Changes

- [Authentication Scaffolding](#authentication-scaffolding)
- [Date Serialization](#date-serialization)
- [Symfony 5 Related Upgrades](#symfony-5-related-upgrades)

## Medium Impact Changes

- [Blade Components & "Blade X"](#blade-components-and-blade-x)
- [CORS Support](#cors-support)
- [Factory Types](#factory-types)
- [Markdown Mail Template Updates](#markdown-mail-template-updates)
- [The `Blade::component` Method](#the-blade-component-method)
- [The `assertSee` Assertion](#assert-see)
- [The `different` Validation Rule](#the-different-rule)
- [Unique Route Names](#unique-route-names)

## Upgrading To 7.0 From 6.x

#### Estimated Upgrade Time: 15 Minutes

> {note} We attempt to document every possible breaking change. Since some of these breaking changes are in obscure parts of the framework only a portion of these changes may actually affect your application.

### Symfony 5 Required

**Likelihood Of Impact: High**

Laravel 7 upgraded its underlying Symfony components to the 5.x series, which is now also the new minimum compatible version.

### PHP 7.2.5 Required

**Likelihood Of Impact: Low**

The new minimum PHP version is now 7.2.5.

### Updating Dependencies

Update the following dependencies in your `composer.json` file:

- `laravel/framework` to `^7.0`
- `nunomaduro/collision` to `^4.1`
- `phpunit/phpunit` to `^8.5`
- `laravel/tinker` to `^2.0`
- `facade/ignition` to `^2.0`

The following first-party packages have new major releases to support Laravel 7. If there are any, read through their individual upgrade guides before upgrading:

- [Browser Kit Testing v6.0](https://github.com/laravel/browser-kit-testing/blob/master/UPGRADE.md)
- [Envoy v2.0](https://github.com/laravel/envoy/blob/master/UPGRADE.md)
- [Horizon v4.0](https://github.com/laravel/horizon/blob/master/UPGRADE.md)
- [Nova v3.0](https://nova.laravel.com/releases)
- [Passport v9.0](https://github.com/laravel/passport/blob/master/UPGRADE.md)
- [Scout v8.0](https://github.com/laravel/scout/blob/master/UPGRADE.md)
- [Telescope v3.0](https://github.com/laravel/telescope/releases)
- [Tinker v2.0](https://github.com/laravel/tinker/blob/2.x/CHANGELOG.md)
- UI v2.0 (No changes necessary)

Finally, examine any other third-party packages consumed by your application and verify you are using the proper version for Laravel 7 support.

### Symfony 5 Related Upgrades

**Likelihood Of Impact: High**

Laravel 7 utilizes the 5.x series of the Symfony components. Some minor changes to your application are required to accommodate this upgrade.

First, the `report`, `render`, `shouldReport`, and `renderForConsole` methods of your application's `App\Exceptions\Handler` class should accept instances of the `Throwable` interface instead of `Exception` instances:

    use Throwable;

    public function report(Throwable $exception);
    public function shouldReport(Throwable $exception);
    public function render($request, Throwable $exception);
    public function renderForConsole($output, Throwable $exception);

Next, please update your `session` configuration file's `secure` option to have a fallback value of `null`:

    'secure' => env('SESSION_SECURE_COOKIE', null),

Symfony Console, which is the underlying component that powers Artisan, expects all commands to return an integer. Therefore, you should ensure that any of your commands which return a value are returning integers:

    public function handle()
    {
        // Before...
        return true;

        // After...
        return 0;
    }

### Authentication

#### Scaffolding

**Likelihood Of Impact: High**

All authentication scaffolding has been moved to the `laravel/ui` repository. If you are using Laravel's authentication scaffolding, you should install the `^2.0` release of this package and the package should be installed in all environments. If you were previously including this package in the `require-dev` portion of your application's `composer.json` file, you should move it to the `require` section:

    composer require laravel/ui "^2.0"

#### The `TokenRepositoryInterface`

**Likelihood Of Impact: Low**

A `recentlyCreatedToken` method has been added to the `Illuminate\Auth\Passwords\TokenRepositoryInterface` interface. If you are writing a custom implementation of this interface, you should add this method to your implementation.

### Blade

#### The `component` Method

**Likelihood Of Impact: Medium**

The `Blade::component` method has been renamed to `Blade::aliasComponent`. Please update your calls to this method accordingly.

#### Blade Components & "Blade X"

**Likelihood Of Impact: Medium**

Laravel 7 includes first-party support for Blade "tag components". If you wish to disable Blade's built-in tag component functionality, you may call the `withoutComponentTags` method from the `boot` method of your `AppServiceProvider`:

    use Illuminate\Support\Facades\Blade;

    Blade::withoutComponentTags();

### Eloquent

#### The `addHidden` / `addVisible` Methods

**Likelihood Of Impact: Low**

The undocumented `addHidden` and `addVisible` methods have been removed. Instead, please use the `makeHidden` and `makeVisible` methods.

#### The `booting` / `booted` Methods

**Likelihood Of Impact: Low**

The `booting` and `booted` methods have been added to Eloquent to provide a place to conveniently define any logic that should execute during the model "boot" process. If you already have model methods with these names, you will need to rename your methods so they do not conflict with the newly added methods.

#### Date Serialization

**Likelihood Of Impact: High**

Laravel 7 uses a new date serialization format when using the `toArray` or `toJson` method on Eloquent models. To format dates for serialization, the framework now uses Carbon's `toJSON` method, which produces an ISO-8601 compatible date including timezone information and fractional seconds. In addition, this change provides better support and integration with client-side date parsing libraries.

Previously, dates would be serialized to a format like the following: `2019-12-02 20:01:00`. Dates serialized using the new format will appear like: `2019-12-02T20:01:00.283041Z`. Please note that ISO-8601 dates are always expressed in UTC.

If you would like to keep using the previous behavior you can override the `serializeDate` method on your model:

    use DateTimeInterface;

    /**
     * Prepare a date for array / JSON serialization.
     *
     * @param  \DateTimeInterface  $date
     * @return string
     */
    protected function serializeDate(DateTimeInterface $date)
    {
        return $date->format('Y-m-d H:i:s');
    }

> {tip} This change only affects serialization of models and model collections to arrays and JSON. This change has no effect on how dates are stored in your database.

#### Factory Types

**Likelihood Of Impact: Medium**

Laravel 7 removes the "factory types" feature. This feature has been undocumented since October 2016. If you are still using this feature, you should upgrade to [factory states](/docs/{{version}}/database-testing#factory-states), which provide more flexibility.

#### The `getOriginal` Method

**Likelihood Of Impact: Low**

The `$model->getOriginal()` method will now respect any casts and mutators defined on the model. Previously, this method returned the uncast, raw attributes. If you would like to continue retrieving the raw, uncast values, you may use the `getRawOriginal` method instead.

#### Route Binding

**Likelihood Of Impact: Low**

The `resolveRouteBinding` method of the `Illuminate\Contracts\Routing\UrlRoutable` interface now accepts a `$field` argument. If you were implementing this interface by hand, you should update your implementation.

In addition, the `resolveRouteBinding` method of the `Illuminate\Database\Eloquent\Model` class also now accepts a `$field` parameter. If you were overriding this method, you should update your method to accept this argument.

Finally, the `resolveRouteBinding` method of the `Illuminate\Http\Resources\DelegatesToResources` trait also now accepts a `$field` parameter. If you were overriding this method, you should update your method to accept this argument.

### HTTP

#### PSR-7 Compatibility

**Likelihood Of Impact: Low**

The Zend Diactoros library for generating PSR-7 responses has been deprecated. If you are using this package for PSR-7 compatibility, please install the `nyholm/psr7` Composer package instead. In addition, please install the `^2.0` release of the `symfony/psr-http-message-bridge` Composer package.

### Mail

#### Configuration File Changes

**Likelihood Of Impact: Optional**

In order to support multiple mailers, the default `mail` configuration file has changed in Laravel 7.x to include an array of `mailers`. However, in order to preserve backwards compatibility, the Laravel 6.x format of this configuration file is still supported. So, no changes are **required** when upgrading to Laravel 7.x; however, you may wish to [examine the new `mail` configuration file](https://github.com/laravel/laravel/blob/develop/config/mail.php) structure and update your file to reflect the changes.

#### Markdown Mail Template Updates

**Likelihood Of Impact: Medium**

The default Markdown mail templates have been refreshed with a more professional and appealing design. In addition, the undocumented `promotion` Markdown mail component has been removed.

Because indentation has special meaning within Markdown, Markdown mail templates expect unindented HTML. If you've previously published Laravel's default mail templates, you'll need to re-publish your mail templates or manually unindent them:

    php artisan vendor:publish --tag=laravel-mail --force

#### Swift Mailer Bindings

**Likelihood Of Impact: Low**

Laravel 7.x doesn't provide `swift.mailer` and `swift.transport` container bindings. You may now access these objects through the `mailer` binding:

    $swiftMailer = app('mailer')->getSwiftMailer();

    $swiftTransport = $swiftMailer->getTransport();

### Resources

#### The `Illuminate\Http\Resources\Json\Resource` Class

**Likelihood Of Impact: Low**

The deprecated `Illuminate\Http\Resources\Json\Resource` class has been removed. Your resources should extend the `Illuminate\Http\Resources\Json\JsonResource` class instead.

### Routing

#### The Router `getRoutes` Method

**Likelihood Of Impact: Low**

The router's `getRoutes` method now returns an instance of `Illuminate\Routing\RouteCollectionInterface` instead of `Illuminate\Routing\RouteCollection`.

#### Unique Route Names

**Likelihood Of Impact: Medium**

Even though never officially documented, previous Laravel releases allow you to define two different routes with the same name. In Laravel 7 this is no longer possible and you should always provide unique names for your routes. Routes with duplicate names can cause unexpected behavior in multiple areas of the framework.

#### CORS Support

**Likelihood Of Impact: Medium**

Cross-Origin Resource Sharing (CORS) support is now integrated by default. If you are using any third-party CORS libraries you are now advised to use the [new `cors` configuration file](https://github.com/laravel/laravel/blob/master/config/cors.php).

Next, install the underlying CORS library as a dependency of your application:

    composer require fruitcake/laravel-cors

Finally, add the `\Fruitcake\Cors\HandleCors::class` middleware to your `App\Http\Kernel` global middleware list.

### Session

#### The `array` Session Driver

**Likelihood Of Impact: Low**

The `array` session driver data is now persistent for the current request. Previously, data stored in the `array` session could not be retrieved even during the current request.

### Testing

#### The `assertSee` Assertion

**Likelihood Of Impact: Medium**

The `assertSee`, `assertDontSee`, `assertSeeText`, `assertDontSeeText`, `assertSeeInOrder` and `assertSeeTextInOrder` assertions on the `TestResponse` class will now automatically escape values. If you are manually escaping any values passed to these assertions you should no longer do so. If you need to assert unescaped values, you may pass `false` as the second argument to the method.

#### The `TestResponse` Class

**Likelihood Of Impact: Low**

The `Illuminate\Foundation\Testing\TestResponse` class has been renamed to `Illuminate\Testing\TestResponse`. If you're extending this class, make sure to update the namespace.

#### The `Assert` Class

**Likelihood Of Impact: Low**

The `Illuminate\Foundation\Testing\Assert` class has been renamed to `Illuminate\Testing\Assert`. If you're using this class, make sure to update the namespace.

### Validation

#### The `different` Rule

**Likelihood Of Impact: Medium**

The `different` rule will now fail if one of the specified parameters is missing from the request.

### Miscellaneous

We also encourage you to view the changes in the `laravel/laravel` [GitHub repository](https://github.com/laravel/laravel). While many of these changes are not required, you may wish to keep these files in sync with your application. Some of these changes will be covered in this upgrade guide, but others, such as changes to configuration files or comments, will not be. You can easily view the changes with the [GitHub comparison tool](https://github.com/laravel/laravel/compare/6.x...master) and choose which updates are important to you.

gha_language: Shell


text:
# Evo
[![Build Status](https://travis-ci.org/cas27/evo.svg?branch=master)](https://travis-ci.org/cas27/evo)

OTP cart meant for use in eCommerce applications

**Current Roadmap**
- Consider changing update quantities API from delta to new quantity
- Need stale cart clean-up strategy

## Installation

  1. Add `evo` to your list of dependencies in `mix.exs`:

    ```elixir
    def deps do
      [{:evo, "~> 0.4.1"}]
    end
    ```

  2. Ensure `evo` is started before your application:

    ```elixir
    def application do
      [applications: [:evo]]
    end
    ```

## Usage

```elixir
cart_id = 123
Evo.create_or_get_cart(cart_id)

item = %Evo.Cart.CartItem{
  id: "SKU123",
  name: "Foosball",
  price: 4.99,
  qty: 2,
  meta: %{personalized: "Johnny"}
}

Evo.add_item(cart_id, item)
#=>  {:ok, %Evo.Cart{
#        discount: 0.0,
#        total: 9.98,
#        items: [%Evo.Cart.CartItem{
#          id: "SKU123",
#          name: "Foosball",
#          price: 4.99,
#          qty: 2,
#          meta: %{personalized: "Johnny"}
#      }
#    }]
#}}
```

Check out [the docs](http://hexdocs.pm/evo/) for the full feature list.

## license

Evo source code is released under the Apache 2 License.


text:
#####ndarray.dot produces wrong values with non-native endian arrays

Some numpy arrays have non-native endianess. Numpy uses dtype.isnative to denote the endianness of an object and handles both non-native and native endianness gracefully. However, cupy.ndarray.dot seems to ignore this flag. This leads to incorrect values being calculated on the gpu.

### Conditions
 - CuPy Version          : 6.4.0
 - CUDA Root             : /usr/common/software/cuda/10.1.168
 - CUDA Build Version    : 10010
 - CUDA Driver Version   : 10010
 - CUDA Runtime Version  : 10010
 - cuDNN Build Version   : 7603
 - cuDNN Version         : 7603
 - NCCL Build Version    : 2402
 - NCCL Runtime Version  : 2402

### Code to reproduce

```python
import numpy as np
import cupy as cp

# Create example arrays
A_cpu = np.arange(9.0).reshape(3,3)
x_cpu_native = np.arange(3.0)
x_cpu_nonnative = x_cpu_native.byteswap().newbyteorder() # create a copy of x that has non-native endianness
A_gpu = cp.array(A_cpu)
x_gpu_nonnative = cp.array(x_cpu_nonnative)
x_gpu_native = cp.array(x_cpu_native)

# Simply transferring a non-native array to the gpu and back seems to preserver endianness information
# As we'll later see, the dot product function on the gpu seems to ignore this flag
assert np.allclose(x_cpu_native, x_gpu_nonnative.get())

# Chenck endianness
# CPU
assert not x_cpu_nonnative.dtype.isnative
assert x_cpu_native.dtype.isnative
# GPU
assert not x_gpu_nonnative.dtype.isnative
assert x_gpu_native.dtype.isnative
# Fetching from GPU to CPU
assert not x_gpu_nonnative.get().dtype.isnative
assert x_gpu_native.get().dtype.isnative

# Dot product
# CPU
Ax_cpu_nonnative = A_cpu.dot(x_cpu_nonnative)
Ax_cpu_native = A_cpu.dot(x_cpu_native)
# GPU
Ax_gpu_nonnative = A_gpu.dot(x_gpu_nonnative)
Ax_gpu_native = A_gpu.dot(x_gpu_native)

# Print variables
print('A_cpu:')
print(A_cpu)
print('x_cpu_native: ', x_cpu_native)
print('Ax_cpu_native: ', Ax_cpu_native)
print('Ax_cpu_nonnative: ', Ax_cpu_nonnative)
print('Ax_gpu_native: ', Ax_gpu_native)
print('Ax_gpu_nonnative: ', Ax_gpu_nonnative)

# Compare
# After byte-swapping, the dot products on the cpu remain the same
assert np.allclose(Ax_cpu_nonnative, Ax_cpu_native)
# The dot product on the cpu and the dot product of the native version on the gpu is also the same
assert np.allclose(Ax_cpu_nonnative, Ax_gpu_native.get())
# However, when the nonnative version is used on the gpu, dot product returns the wrong answer
assert np.allclose(Ax_cpu_nonnative, Ax_gpu_nonnative.get())
```

### Error messages, stack traces, or logs
```
A_cpu:
[[0. 1. 2.]
 [3. 4. 5.]
 [6. 7. 8.]]
x_cpu_native:  [0. 1. 2.]
Ax_cpu_native:  [ 5. 14. 23.]
Ax_cpu_nonnative:  [ 5. 14. 23.]
Ax_gpu_native:  [ 5. 14. 23.]
Ax_gpu_nonnative:  [3.044976e-319 1.217042e-318 2.129586e-318]

Traceback (most recent call last):
  File "endianness.py", line 50, in <module>
    assert np.allclose(Ax_cpu_nonnative, Ax_gpu_nonnative.get())
AssertionError
```


text:
# Race Around the Kingdom

*Race Around the Kingdom* is a game by Matthew Fritz that takes players around the Disneyland Resort by utilizing satellite imagery. Throughout the adventure the player will answer questions based on resort locations and will earn a point if he is correct.

The initial version was released on October 28, 2010.

The project is available live on GitHub Pages at [https://matthewfritz.github.io/race-around-the-kingdom](https://matthewfritz.github.io/race-around-the-kingdom).

## Table of Contents

* [File List](#file-list)
   * [Application Files](#application-files)
   * [Development / Deployment Files](#development-deployment-files)
   * [Miscellaneous Files](#miscellaneous-files)
* [Data Notes](#data-notes)
* [Change Log](#change-log)

## File List

### Application Files

These files are **required** for the application to run.

`aggregator.js` - Performs map-plotting and game-running tasks.

`dataloader.js` - Loads and parses location and question data.

`index.html` - The main display page for the game.

`jquery-1.7.1.min.js` - The jQuery JavaScript library (version 1.7.1).

`marker.png` - The star image used for a visited location on the map.

`places.json` - The data file containing map locations (in JSON format).

`questions.json` - The data file containing questions (in JSON format).

### Development / Deployment Files

These files are only used during the development and deployment workflows. End-users will not need to worry about these.

`docs/` - Deployment directory for project hosting on GitHub Pages.

`deploy-ghp.sh` - Shell script to package the [Application Files](#application-files) for deployment to GitHub Pages.

`deploy-ghp-config.conf` - Optional deployment configuration file used in conjunction with `deploy-ghp.sh`.

`deploy-ghp-files.txt` - Optional deployment file used in conjunction with `deploy-ghp.sh`.

`deploy-ghp-config-file-overview.md` - Instructions regarding structure and content of `deploy-ghp-config.conf`.

`deploy-ghp-deploy-file-overview.md` - Instructions regarding structure and content of `deploy-ghp-files.txt`.

### Miscellaneous Files

These files are either kept for archival purposes or do not fit into a more-specific category.

`Readme_old.txt` - The original README file from the 2012-01-04 version.

`gameService.php` - Performs the question and answer processing from the 2010-10-28 version.

`gold_star-850.jpg` - Original full-size star image from the 2010-10-28 version.

`places.xml` - The data file containing map locations (in JSON format) from the 2010-10-28 version.

`proxy.php` - Performs request proxying from the 2010-10-28 version.

`search.txt` - Static Foursquare API response payload used to generate the `places.json` and `places.xml` data files from the 2010-10-28 version.

## Data Notes

In `questions.json`, the correct answer for a question is the first entry in its `answers` section. If you would like to modify the questions file, keep this in mind when adding, removing, or modifying questions.

## Change Log

2012-01-04 - Final updates to 2011-12-27 version deployed (tagged as `1.0.0`)

2011-12-27 - New version developed

2010-10-28 - Original game version created

repository: matthewfritz/race-around-the-kingdom

repo_name: matthewfritz/race-around-the-kingdom


text:
# phi-accrual-failure-detector

[![Pipeline](https://github.com/samueleresca/phi-accrual-failure-detector/actions/workflows/tests.yml/badge.svg)](https://github.com/samueleresca/phi-accrual-failure-detector/actions/workflows/tests.yml)
[![codecov](https://codecov.io/gh/samueleresca/phi-accrual-failure-detector/branch/main/graph/badge.svg?token=0PXF0584P3)](https://codecov.io/gh/samueleresca/phi-accrual-failure-detector)

A python port of
the [Akka's (φ) Accrual failure detector implementation](https://github.com/akka/akka/blob/master/akka-remote/src/main/scala/akka/remote/PhiAccrualFailureDetector.scala)
.

A in-depth description is available [here](https://samueleresca.net/detecting-node-failures-and-the-phi-accrual-failure-detector/).

## Getting started

You can import the library into the project using:

```shell
pip install py-accrual-failure-detector
```

You can use the package as follows:

```python
from phi_accrual_failure_detector import PhiAccrualFailureDetector

failure_detector = PhiAccrualFailureDetector(
    threshold=3,
    max_sample_size=1000,
    min_std_deviation_ms=10,
    acceptable_heartbeat_pause_ms=0,
    first_heartbeat_estimate_ms=1000
)

failure_detector.heartbeat()  # sends an heartbeat
failure_detector.heartbeat()  # sends an heartbeat
failure_detector.heartbeat()  # sends an heartbeat

node_is_available = failure_detector.is_available()
```

## References

[The ϕ Accrual Failure Detector - Naohiro Hayashibara, Xavier Défago, Rami Yared and Takuya Katayama](https://ieeexplore.ieee.org/document/1353004)

[Cassandra - A Decentralized Structured Storage System](https://www.cs.cornell.edu/projects/ladis2009/papers/lakshman-ladis2009.pdf)

[Phi Accrual Failure Detector - Akka documentation](https://doc.akka.io/docs/akka/current/typed/failure-detector.html)

[akka/akka source code](https://github.com/akka/akka/blob/master/akka-remote/src/main/scala/akka/remote/PhiAccrualFailureDetector.scala)

[A logistic approximation to the cumulative normal distribution](https://core.ac.uk/display/41787448)


text:
---
layout: default
title: How to license dockerized applications or virtual machine environments
parent: FAQ & Troubleshooting
nav_order: 1
description: "Licensing options available for the dockerized and VM applications"
permalink: faq-docker-vm-environment
---

{{ page.title }}
=============

## Question

We run several applications in a virtualized environment (also as a Docker and Kubernetes). These containers are usually being run on the AWS or Azure environments.
How we can ensure that our applications are licensed and being used only within available entitlements.

## Answer

Following options can be recommended here:

### Option 1: Node-Locked

Use [Node-Locked]( node-locked) licensing model configured to be used with N nodes.
The VMs will be identified by the UUID and paired with the issues Node-Locked license max. N times.
Every N+1 pairing won't be possible and will result in negative validation result.

**Advantages:**
- This option guarantees, that only entitled number of the VM instances  (1..N) can be used by the customer.

**Use Cases:**
- Long-living instances identified by permanent UUID; e.g. Hardware USB Dongle.

### Option 2: Floating

Use [Floating](floating) licensing model configured to be used with N seats.
The VMs will be identified by the UUID and will check-out a free seat to be able to run. Max. N VMs can be used simultaneously.

**Advantages:**
- The borrowed seat can be checked in, so the free seats can be checked out by other VMs. This option is useful if the new VMs are being created frequently, so the new UUIDs will be generated every time.

**Use Cases:**
- Start of the new AWS EC2 instances from the prepared AMI.
- Short-living instances; e.g. AWS Lambda.
- Autoscaling instances being created/destroyed based on the system load and capacity.

---

### Machine ID & Fingerprint libraries

Both the options above require a unique instance UUID / Fingerprint.
You can generate UUID based on your needs, chosen programming language and environment specifics.
Below you can find some of the third-party libraries, which ease the generation of a unique fingerprint.

- Linux: machine-id
- Java: oshi/oshi
- Java: f4b6a3/uuid-creator
- JavaScript: fingerprintjs/fingerprintjs
- JavaScript: jackspirou/clientjs
- JavaScript: Song-Li/cross_browser
- JavaScript/NodeJS: automation-stack/node-machine-id
- C#: davcs86/csharp-uhwid
- C#: melchiork/Fingerprinty
- C++: Tarik02/machineid
- PHP: matomo-org/device-detector
- Python: thinkwelltwd/device_detector
- Golang: denisbrodbeck/machineid
- Rust: Taptiive/machineid-rs


text:
# Blinky Example

## Description

The Blinky Example demonstrates how to configure the GPIO pins to drive the LEDs.

!!! Tip
	Before you start building, remember to set up the nRF5 SDK development environment first. See [Setup the nRF5 SDK](../setup.md) for details.

## Building the example

The source code and the project file of the example are located in the following folder: [examples/nrf5-sdk/blinky](https://github.com/makerdiary/nrf52840-m2-devkit/tree/master/examples/nrf5-sdk/blinky).

Open terminal and navigate to the directory with the example Makefile:

``` sh
cd ./examples/nrf5-sdk/blinky/armgcc
```

Run `make` to build the example:

``` sh
make
```

## Programming the firmware

After compiled, the firmware is located in `blinky/armgcc/_build` with the name `nrf52840_xxaa.hex`.

Connect the debugger USB port to your PC using the provided USB-C Cable. A disk drive called **M2-DOCK** will be automatically detected by the computer.

![](../../assets/images/programming-firmware.webp)

Run the following command in `blinky/armgcc` to program the board:

``` sh
make flash_all
```

!!! Tip
	See **[Programming](../../programming.md)** section for more details about how to program the nRF52840 M.2 Module.

## Testing

After programmed, the application will run automatically. Observe that the LEDs will start to blink as shown in this figure:

![Blinking](assets/images/blinky-example.webp)

## Create an Issue

Interested in contributing to this project? Want to report a bug? Feel free to click here:

<button class="md-tile md-tile--primary"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 16" width="14" height="16"><path fill-rule="evenodd" d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 011.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg> Create an Issue</button>


text:
Spacewalk Power Toys
====================

Scripts and "crutches" when developing RedHat's Spacewalk.
Feel free to port that elsewhere.

License: BSD v3

Turn your CentOS into Spacewalk appliance
-----------------------------------------

CentOS is the way to go.

1. Get latest CentOS, network install, choose "Minimum".
2. Place `bsp.sh` somewhere in your `~/bin` in `$PATH` on the _remote_ machine by using `curl`.
3. Run: `bsp.sh --init-environment` and it will install missing packages on the _local_ machine.
4. Run: `bsp.sh --install-spacewalk` and it will install the rest of the stuff on the _local_ machine.

Deploy your developed Spacewalk to the appliance
------------------------------------------------

1. In your `$JAVA_SOURCES_SPACEWALK` run `bsp.sh --generate-config` to define defaults.
2. Every time you need to refresh target _remote_ machine, run just `bsp.sh`.
3. For more options, run `bsp.sh -h`

**Note: This does update only to Java stack!** At least at the moment. Don't like it? Pull request, please.

That's it.

repository: isbm/spacewalk-power-toys

repo_name: isbm/spacewalk-power-toys


text:
toolbox base
========================

A generic base for building cross-browser extensions.  Based on [toolbox for reddit](https://github.com/creesch/reddit-moderator-toolbox).

repository: agentlame/toolbox-base

repo_name: agentlame/toolbox-base


text:
---
layout: page
title: Resume
permalink: /resume/
---

******

Profile
===

- 7 years iPhone / iPad development experience since June 2008, and 2.5 years Android development experience since September, 2010. Totally 10 years Senior Software Engineer experience since July 2004.
- iOS Projects involved include: FitFox, Music Charts Player, Flipevent, Citibank Singapore, Citibank Australia, PAssionCard, Pingan Bank, and various independent apps including Melbourne Directory, Super File Viewer, Wiki Quiz HD, Unofficial Google Mate, aGun, etc.
- Created various commercial Android apps including Android Antivirus & Security, etc.
Proficient with UIKit, CoreLocations, MapKit, StoreKit, MediaPlayer, MessageUI, and AddressBook Frameworks. Familiar with OpenGLES, AudioToolbox, AVFoundation, CoreGraphics, QuartzCore, OpenAL Frameworks, Git, and Android SDK.
- Also have some experience in mobile website development.
- Good at UI and function design, implementation, and testing. Familiar with App Store and Android Market publishing process, affiliate marketing analyze, iDP / Google account, development environment setup, version control, etc.
- Agile development experience. Responsible and good at learning. Teamwork spirit.

Recent Activities Highlights
===

- FitFox
  - A Swift & HealthKit based competition iOS app
  - Download: FitFoxRewards.com
  - Working as mobile developer and managing an offshore team for backend developing and debugging, making API call specifications, releasing and maintaining the product.
  - From tasks like porting a REST-to-native reflection model from Objective-C to Swift, I have gained deep understanding of some of the advanced feature of the Swift language.
- LSwift
  - An open source Swift library provides various features like class extension, a HTTP client, JSON to native class reflection, etc.
  - [Blog](http://superarts.github.io/LSwift/) and [Source](https://github.com/superarts/LSwift)
  - This project implements some features of https://github.com/superarts/LFramework since I’m moving from Objective-C to Swift, and includes some new features like a HTTP client as well.
  - The downside is that currently it’s released as source code instead of a pod, since I can’t move to cocoapods 0.36 with framework support yet due to some limitations it currently has.
- Community Activities
  - When I'm programming I always try to split business independent code into some common libraries, and wouldn't mind to help others with my knowledge.
  - [My GitHub Page](https://github.com/superarts)
  - [My Stack Overflow Page](http://stackoverflow.com/users/772295/superarts-org)

Mobile projects Involved
===

Various iOS projects
---

- Developed in Hatching Lab
  - [iTunes Link](https://itunes.apple.com/au/app/tipi/id852233153?mt=8) - Tipi, a location based travel & match making app
  - [iTunes Link](http://www.getfancied.com) - Fancied, a dating app
- Developed in Bamtboo Inc
  - Developed as co-founder and CTO
  - [iTunes Link](https://itunes.apple.com/us/app/sayea-anonymous-location-sharing/id889636032?mt=8) - Sayea, an anonymous location sharing app
- Developed in Mobiquest Pty Ltd
  - [iTunes Link](http://itunes.apple.com/au/app/citibank-sg/id370773317?mt=8) - Citibank Singapore, developed with developers in Mobiquest
  - [iTunes Link](http://itunes.apple.com/au/app/citibank-au/id394880260?mt=8) - Citibank Australia,	developed with developers in Mobiquest
  - [iTunes Link](http://itunes.apple.com/au/app/passion-card/id423739100?mt=8) - PAssion Card, developed People Association, Singapore
- Developed as Contractor
  - [iTunes Link](https://itunes.apple.com/au/app/ping-yin-xing-qi-ye-shou-ji/id468572208?mt=8) - Pingan Bank Client for a bank client
  - [iTunes Link](http://itunes.apple.com/au/app/id370532345?mt=8) - iFeng HD for a media client
- Wiki Quiz HD
  - [iTunes Link](http://itunes.apple.com/au/app/wiki-quiz-hd/id370774899?mt=8) - Developed and released by me

iTunes is needed to open the links above. Replace “au” with “us” or other strings based on your local App Store.

- Open source projects - [GitHub](https://github.com/superarts)
- My personal apps - [iTunes Link](http://itunes.apple.com/au/artist/super-art-software/id289071545)
- My personal [website](http://www.superarts.org)

Android Projects
---

- I have built multiple Android apps in Mpire Media, including Android Antivirus & Security, My Life 365, some cocos-2dx based games etc. Unfortunately they are not under marketing anymore.
- I also wrote some scripts to help automate the process of releasing android apps, including [android-manifest](https://github.com/superarts/script/master/android-manifest.php) etc.

Experience
===

Black Citrus, Sydney, April 2015 - Now
---
- Working on an iOS project as the lead mobile developer.
- Bug fixing and releasing for some existing apps.
  - [iTunes Link](https://itunes.apple.com/us/app/parramatta-district-jrl/id838716608?mt=8) - Parramatta District JRL
  - [iTunes Link](https://itunes.apple.com/us/app/souths-juniors-rugby-league/id967075218?ls=1&mt=8) - Souths Juniors Rugby League

Hatching Lab, Sydney, May 2014 - April 2015
---
- Worked on several social networking iOS projects with other mobile / server developers.
- Worked on a HealthKit based project FitFox; managing an offshore team for backend development.
- Worked on an Ionic/Cordova based cross-platform project with native plugin development.

Mpire Media PTE Ltd., Perth, May 2011 - Feb 2014
---
- Worked on several iOS and Android projects, including Music Charts Player, Flipevent, Android Antivirus & Security, etc.
- Fully responsible of creating and maintaining mobile apps based on company’s marketing direction. Building apps for different affiliates in multiple regions. Reviewing product specifications based on technical aspect and making advice. Keeping all the projects on schedule.
- Cooperating with marketing department to make quick changes based on live marking result. Monitoring tracking status and reporting regularly.
- Cooperating with web development team to design new protocols, implement new features, and analyze and fix issues.
- Cooperating with a newly founded Croatian mobile development team to work together on some recent mobile apps, e.g. App Lounge, Cloud Miner, etc.
- Taking care of modules outsourced to other independent developers.
- Example Android Project: [Android Antivirus & Security](http://androidantiviruspro.com/) (link doesn't work due to product support stopped)
- The main product we promoted in a lot of countries, including Australia, UK, South Africa, Belgium, Norway, China etc. I'm doing all the development on the mobile side and part of the designs. Aside from UI and functionality implementation which includes Activities, Broadcasting Receivers, Async Tasks etc, we’ve developed a whole set of tools on both client and server sides, including app config, app tracking, etc. since it's very important for the company to monitor the performance of the app as well as user behaviors.
- Example iOS Project: [Music Charts Player](https://itunes.apple.com/cn/app/music-charts-player/id452948824?l=en&mt=8) (link does't work due to product support stopped)
- An iOS app that I've developed in Mpire Media. Although we were not able to market it properly, I'm still quite happy about the thing it did. It is designed by our professional developer and I've learned a lot from it too, since I was the one who’d been doing app design mostly myself previously. From the technical aspect, UI, network, and media play frameworks were used. I also wrote a web service using PHP and MySQL to generate various music charts on our server.

Independent Developer, Melbourne, Dec 2010 - May 2011
---
- Worked on several iPhone apps during this period of time.
- Example iOS Project: Suar Photo Sharing - [iTunes Link](https://itunes.apple.com/au/app/suar-photo-share/id479530843?mt=8)
- A social networking app I've been working on before I was employed in Australia. It's my personal project and I wrote a GAE based NoSQL engine to back it up. It's very much like the Parse API and actually I have built some similar thing based on AWS as well, which was used by another app called Readish (which was discontinued because of the shutdown of Google Reader), and eventually in my recent project I moved to Parse. I'm still quite happy with the fact that I was working on the right direction, although I could get enough resource to make it a successful product myself. I also put some effort to make the UI of the app looks a bit different by introducing a dynamic photo matrix with animation.

Mobiquest Solution PTE Ltd., Singapore, June 2010 - Dec 2010
---
- Worked on several iPhone apps architecture design and implementation.
Lead projects to production based on various requirements of the clients. Although the initial product spec and product schedule should always followed, for some (large cooperation) clients sometimes there are additional requirements due to their own business modal. My duty is also to work on their new requirements and make arrangements to ensure the products’ quality, and make them go live as soon as possible.
- Finished projects include apps for Citibank Singapore, Citibank Australia, PAssion Card (EZ-Link), and I2R in Singapore.
- Example iOS Project: Citibank Singapore - [iTunes Link](https://itunes.apple.com/sg/app/citibank-sg/id370773317?mt=8)
- The app was not exactly the same with the one I built when I left Mobiquest, but I contributed a lot in refactoring the old app and brought it into a new level by introduced a more robust framework. I was part of the development team, and introduced some cool stuff like arrangeable button matrix etc. I always put new features into different libraries, design proper interface and write documents to make the code reusable.

Independent Developer / iPhone App Seller, April 2008 - June, 2010
---
- See the “Personal Project” section below. Products including some top 1 apps in various countries.
- Developed various apps for famous clients in China such as Pingan Bank (id358327241), iFeng HD (id370532345), Anatomy Pronunciations (id319654053), etc.
- Participated in several iPhone courses as teacher in Beijing, China, including a series of official iDUP (iPhone Developer University Program) training courses held by Beijing Normal University and Apple Inc.
- Created an on-the-fly media serving system PHPAV, which joins and serves media files to user dynamically. Mp4 and flv formats were supported. This system was implemented with PHP, and was replaced by CastAV because of performance and flexibility considerations. There was an XML profile mechanism as well.
- Created an on-the-fly media serving system CAV, which is a replacement of PHPAV. It allows various media operation, such as joining, adding metadata, trimming, etc. on various media formats (containers mostly), including mp4/mov, flv, mp3, ogg, vob/mpeg2, wmv/asf, etc. These operations are done on the fly, which means the media is serving to users dynamically. This system is written in PHP, and the core media/container format handling modules are implemented in C as PHP extensions to reach maximum performance.
- Created multiple toolkits and scripts for the production servers.

ATEN IT-Lab Shanghai co.,Ltd, March 2007 - March 2008
---
- Participated in IGSM, a cross-platform server management system. Worked on a Quick Cursor module, details including protocol paring and handling, and screen drawing.
- Participated in iKVM, a cross-platform control panel of ATEN KVM products. Worked on a Virtual USB module, making it a platform independent lib, and work on both Windows and Linux. Some GDI/X11 based GUI programming was involved as well.
- Worked on CN6000 firmware customization, which was based on a build-in web server, which was implemented by C on embedded Linux. Most works were done with C / HTML / Java Script.
- Participated in project management, version control, and documentation writing of various projects.
- Participated in testing and debugging of various projects.

Serial Microelectronics (Hong Kong) Ltd, March 2006 - March 2007
---
- Created and designed media transcoding application MP4Maker and related CD Media Tools for the MSilicon MP4/PMP product line. It was implemented with Borland C++ Builder.
- Participated in porting Lua Virtual Machine, DirectFB, GNUBoy, MPlayer to MSilicon customized Linux as programmer. Most codes were done with C. Various GNU tools involved, such as make, configure, etc.
- Implemented and led Inovix IMP-2010 MP4 Player to mass production as project manager and programmer. The programming works were based on C and Lua.

Importek Multimedia & Telecom (Tianjin) co.,Ltd, July 2004 - March 2006
---
- Participated in STUN API Module project in the VOIP Team. The primary goal of this project was to implement a cross-platform STUN Library. Works included architecture design, documentation, and programming. Implemented with C (lib) and C++ (sample application).
- Worked as the leader of MP3/PMP Team. Participated in several projects based on various solutions, including but not limited to SigmaTel 35xx, Action, Xware, etc. Main duties included project management, documentation & coding (product spec, architecture design, module programming, etc.), internal training for new colleagues, new solution study and evaluation, production follow-up (including development, internal testing, QA testing, pilot run, mass product, and upgrading). Participated in 3 MP3 Player projects as system designer, project manager, and developer. Participated in 8 MP3/PMP projects as system designer and project manager.
- Created, proposed, and wrote 3 patent applications, which were accepted by SIPO China (www.sipo.gov.cn).

Personal Projects
===
- Various iPhone Apps
  - Hundreds of apps available in App Store
  - All written in native Objective-C and C++
  - Technique involved: UIKit, CoreGraphic, CoreAudio, OpenGL ES, SQLite, Bonjour, etc.
  - Seller “Liu Yue” is my name and Super Art Software is my personal site
  - [iOS App list](http://soft.superarts.org/)
- iPhone Portal
  - A portal that is used to promote iPhone apps with online control panel
  - Implemented with Google Engine in Python
  - Designing is based on Dashcode
  - Hosted at Google Engine: [iPortal](http://i.superarts.org/)
- Appstore-utility (Open Source)
  - Scripts for retrieving reviews from App Store, etc.
  - Implemented with PHP and Perl based on Erica’s script
  - Hosted at Google Code: [App Store Utility](http://code.google.com/p/appstore-utility/)
- LeoDict (Open Source)
  - A build-in dictionary for World of Warcraft
  - Implemented with Lua with StarDict database
  - Hosted at Google Code: [LeoDict](http://code.google.com/p/leodict/)
- Awesome Timer (Open Source)
  - Open source Android project
  - Hosted at Github: [Awesome Timer](https://github.com/superarts/AwesomeTimer)

Skills
===

Proficient or familiar with a vast array of programming languages, concepts and technologies., including, but not limited to: C, C++, Objective-C, PHP, Lua, Python, Object Pascal, Windows, Linux, iPhone Darwin, various media player solutions (SigmaTel 35xx, Action, Xware, MSilicon, etc.), GNU Tools, POSIX, Cocoa, PHP Extension, Google Engine, Microsoft .NET, Subversion Server Administration, VSS, StarTeam, SFEE, OpenGL ES, various design patterns, compiler and makefile, user interfaces design, databases, debugging, reporting, and optimization.

Programming Languages
===
Swift, C, C++, Objective-C, Java, PHP, Lua, Python, Object Pascal, Java Script

OS
===
OS X, Windows, Linux, iOS, Android, Embedded Systems (SigmaTel 35xx, Action, Xware, etc.)

Standards / Frameworks
===
POSIX, Cocoa, UIKit, Parse, cocos-2dx, X11, GNU, PHP Extension, Google Engine, OpenGL ES, Microsoft .NET

Version Control / Project Management
===
GIT, Jira, Lighthouse, Subversion (as administrator and user), VSS, Microsoft Project, StarTeam, SFEE

Others
===
SQLite, Various Design Patterns, VIM, Flash, Photoshop, etc.

Education
===

Tianjin University, China, Sept. 2000 - June 2004
---
Bachelor of Science in Applied Mathematics, which includes a lot of computer related courses, such as Microcomputer Theory, C++ Programming, Database Theory, etc.