text:
# snap-shader-240p

For Raspberry Pi with built-in composite out to a CRT TV.  (This may also work with the RetroTINK, as well as other systems that use RetroArch).

Ensures games on CRT will look as good as on original hardware.  Makes games crisp vertically, and not shimmer horizontally.

Correctly aligns the games for you regardless of console.  Virtually eliminates the need for separate configurations per core (console).

How it works:
* Centers games instead of stretching them.
* Aligns lines vertically so that only horizontal linear filtering happens.

Make sure you:
* Copy one or both shaders to the Shader folder of your Raspberry Pi.
* I recommend Lakka 2.1 or newer.
* In /flash/config.txt, set sdtv_mode=16, or 18 for PAL.  This ensures 240p with "scanlines", just like on original hardware.
* In Video settings, set "Aspect Ratio" to "Custom".
* Set the Custom Aspect Ratio to 640x480, or the PAL* equivalent.
* Make sure "Bilinear Filtering" is off in the Settings/Video menu.
* In the Settings/Driver menu, make sure "Video Driver" is "gl".
* In the Quick Menu/Shaders menu, set the shader to the basic or deluxe version of this shader.
* Set the filter to "Linear" in the Quick Menu/Shader menu.

Deluxe version:
Will fit vertical games correctly on horizontal TVs.
It will also make two-screen games more playable by only showing the bottom screen (e.g. arcade Punch-Out!!).

Tested only on a Raspberry Pi 3 on NTSC but should work on PAL as well.

*Please report any problems with PAL.  It's possible Sega Master System games will appear too tall on PAL TVs unless you shrink the video height to less than 576 lines or enable vertical borders.  It's because 192 fits into 576 three times rather than two.

Please feel free to submit any improvements.

Areas for improvement:
* If there is a way to get the Raspbery Pi composite hardware to shrink the 720 horizontal pixels down to a 4:3 aspect ratio, we would get crisper image horzontally.
* The height of medium-resolution arcade games (e.g. Narc) may not be correct.  Will verify and fix.

Technical details:
* Most of the computation is done on the vertex shader.  Since there are only six vertices, this shader should be very fast.
* It might be possible to move the pixel shader computations to the vertex shader in the future.


text:
---
title: Dual-wound Coils
---

# Dual-wound Coils

Related Config File Sections:

* [dual_wound_coils:](../../config/dual_wound_coils.md)
* [flippers:](../../config/flippers.md)

--8<-- "common_ground_warning.md"

A *dual-wound coil* is a coil (solenoid) with two windings--one
"strong" power (or "main") winding for moving the coil, and a second
weaker / lower-power winding for "holding" the coil in the active
position.

image:: /mechs/images/dual_coil_no_diode.jpg

Dual-wound coils are typically used for flippers, diverters, gates, and
other devices in pinball machines that need a strong initial movement
followed by an extended hold period.

There are many places in MPF config files where you need to specify a
coil name. Rather than adding dual-wound coil logic in many different
sections of MPF, we have a dual-wound coil config where you can specify
the settings for a particular dual-wound coil (and give it a new name),
and then you can use that dual-wound coil anywhere in MPF that a coil is
configured.

## Hardware

Dual wound coils are like two coils in one but instead of two times two
terminals they only have three terminals. Both coils share one of those
terminals. Unfortunately, this is not standardized and different for
different types of coils.

To make sure you connect things right you need a multimeter and measure
the resistance between all three terminals. It might be wise to remove
all free-fly diodes while measuring (or at least make sure to measure
the inverse direction). You are looking for the main coil with low
resistance (2-20 Ohm) and one with higher resistance (50 to 200 Ohm).
You can look up the expected resistance in one of the linked charts in
our [coil hardware section](index.md).

Assumed you now got those three measurements:

* Terminal 1 to 2: 4 Ohm
* Terminal 2 to 3: 124 Ohm
* Terminal 1 to 3: 120 Ohm

What does that mean? It means that your main coil is between terminal 1
and 2 and your hold coil is between terminal 1 and 3. Terminal 2 and 3
is just the sum of the resistance of both coils. In general, the highest
of the three readings is the combination you want to remove from your
list.

How do you connect that? Typically, driver boards connect your coils to
ground so you connect power to the terminal which is common between both
coils. In this case this would be terminal 1. Terminal 2 and 3 would be
connected to your driver board. See the following picture for example:

![image](coil_correct.jpg)

The common terminal on the right (terminal 1) has both wires connected.
You see that the diode band is facing in that direction and that two
copper wires for the coil are connected here. One wire is a bit thicker,
which means less resistance thus more current thus stronger. Hence, the
thinner wire is for the hold position. You might not be able to spot
that on every coil.

Please note, that you not just connect two wires across each diode. But
that one pair of wires is across one diode and the other pair of wires
is across two diodes. If you don't do it that way you will fry one of
your FETs on the driver board.

!!! warning

    Please make sure that any diodes on your coil are in reverse to the
    voltage (i.e. the stripe needs to be at the HV side). This is often not
    the case for older coils as they have been connected differently in
    older machines. Ignoring this will fry the FET on your driver board.

See [coil hardware](index.md)
for more details about the current, resistance, number of windings and
the strength of coils.

## Config

This is an example for dual-wound coils which are configured separately:

``` mpf-config
coils:
  c_your_coil_main:
    number: 00   # depends on your platform and hardware
    default_pulse_ms: 20
  c_your_coil_hold:
    number: 01   # depends on your platform and hardware
    default_pulse_ms: 10
    default_hold_power: .2
```

On top of that you can configure
[dual_wound_coils:](../../config/dual_wound_coils.md) or other
devices such as [flippers:](../../config/flippers.md).

## Related How To guides

* [/mechs/flippers/dual_wound](dual_vs_single_wound.md)
* [How to configure dual-wound flippers](../flippers/dual_wound.md)

license: MIT

repository: missionpinball/mpf-docs

branch_name: refs/heads/main

extension: md

gha_language: Python

gha_license_id: MIT

license_type: permissive

repo_name: missionpinball/mpf-docs


text:
[Time](../Sources/time.swift) is a scary feature
to add support for. But it's also a really cool feature that is very much
useful.

Now we can even format it using some C-like features:

```swift
print(Time().strftime("%Y-%m-%d %H:%M:%S"))    // Prints: 2015-12-29 05:47:13
```

With Swift we don't have easy access to variadic C functions like strftime. So
this is a custom function that is not very thorough at the moment. I first came up
with versions of it in JavaScript and Dart. It was originally based on a version
of it created by a famous Ruby developer called _why.

Now that we have the tools, we can even try to find the files that have been
modified recently:

```swift
var t = Time()
t.hour -= 6
//t.minute -= 30
var searchTime = t.secondsSinceEpoch
FileBrowser.recurseDir("../../") { name, type, path in
  if type == .F {
    if let sb = File.stat("\(path)\(name)") {
      if sb.atime.tv_sec >= searchTime {
        print("\(path)\(name): \(sb.atimeAsTime)")
      }
    }
  }
}
```

That would locate the files in the given directories that have been accessed in
the last 6 hours. The Time class allows for arithmetic on its second, minute,
hour and day properties.

As the documentation on the Time class shows, we have features like these now:

```swift
var t = Time()           // Creates a new Time object set on local time.
var u = Time.utc()       // Creates a new Time object set on UTC time.
print(Time().strftime("%Y-%m-%d %H:%M:%S")) //> 2015-12-29 05:28:20
print(Time() == Time())  // Prints true
print(Time().secondsSinceEpoch) // Prints<PHONE_NUMBER>
var k = Time(year: 2016, month: 12, day: 30) // Creates a new Time object.
// As does this:
Time.utc(year: 2016, month: 12, day: 30, hour: 5, minute: 3, second: 1)
var r = Time()
r.minute -= 30           // Goes back in time half an hour.
r.day += 7               // Goes forward a week.
```

To support the Time class I had to add other classes like the TimeBuffer that
holds a C "tm" struct buffer. This is then passed to C functions such as the
localtime_r and gmtime_r to fill the buffer with data. The TimeBuffer is very
bare-bones. The higher level features are found in the Time class instead.

Another class that was added was the [Locale](../Sources/locale.swift) class.
The Locale class also holds some relevant data such as the names of months and
weekdays as used by the strftime function. The Locale class could be expanded
into subclasses that dealt with locale-specific translations. I also had a
similar Locale class in Dart and even before in JavaScript.

I don't really know whether I got enough of the details right. I had to decide
on things such as whether the months would be zero-based like in C and
JavaScript, or whether they would start at 1 which is what happens in Dart
and Ruby. I really did not like the zero-based one, because it made the literal
data very error-prone. It even got me once when I was creating the countYeardays
method. So I'm happy that I chose it to go from 1 to 12 like we all prefer. :-)

Another choice I had to make was whether the default time would be taken in UTC
or local time. I preferred local time and I checked it on Dart and they have it
as local time by default as well.

A small feature that I like is the arithmetic on day, hour, minute and second
as added to the Time class itself. It helps that the Time class is actually a
struct. Structs in Swift have the property of Copy-on-Write which makes them a
little safer to share around even as they are modified. When a struct is
modified, only its version pointed at by the current variable is modified. The
other versions based on it, whether they came before or after, don't see the
changes.

Unlike in Dart which has custom methods for comparing DateTime like isAfter, in
the Time class we can do comparisons with just the ordinary comparison
operators, which I prefer a lot more. Even though it might not always make sense
to compare Times without taking into serious consideration issues such as
TimeZone, sometimes it is as though it just works as both UTC and local time
may have the same secondsSinceEpoch amount so they seem to be comparable as
well. At least based on some of the tests that I did.

```swift
var t = Time()
var t2 = t
t.minute += 1
print(t == t2)  // Prints false
t2.minute += 1
print(t == t2)  // Prints true
```

That's it for now. Happy new year!

```swift
var d = Time.utc(year: 2015, month: 12, day: 31, hour: 23, minute: 59,
    second: 59)
print(d.strftime("%Y-%m-%d %H:%M:%S"))    // Prints: 2015-12-31 23:59:59
d.second += 1
print(d.strftime("%Y-%m-%d %H:%M:%S"))    // Prints: 2016-01-01 00:00:00
```

P.S. I am finishing writing this code as I'm writing this post. In fact I just
fixed an issue caused by one of my recent changes to make the Time class be
local time by default. I will commit the fix together with this article if you
want to see it. And above all, you're welcome to help me fix any other issues
or to make the Time class even better! Cheers!

repository: nstele/sua

branch_name: refs/heads/master

repo_name: nstele/sua


text:
### Elavon

| Message ID | Cardholder message | Merchant message |
| ---------- | ------------------ | ---------------- |
| 743 | APPROVAL | APPROVAL |
| 744 | DECLINED-HELP 9999 (Gift Card - Host Busy) | DECLINED-HELP 9999 (Gift Card - Host Busy) |
| 745 | INVALID CARD (Gift Card) | INVALID CARD (Gift Card) |
| 746 | INVALID TERM ID (Gift Card) | INVALID TERM ID (Gift Card) |
| 747 | AMOUNT ERROR (Gift Card) | AMOUNT ERROR (Gift Card) |
| 748 | ALREADY ACTIVE (Gift Card | ALREADY ACTIVE (Gift Card |
| 749 | REQ. EXCEEDS BAL. (Gift Card) | REQ. EXCEEDS BAL. (Gift Card) |
| 750 | MAX REACHED (Gift Card) | MAX REACHED (Gift Card) |
| 751 | NON RELOADABLE (Gift Card) | NON RELOADABLE (Gift Card) |
| 752 | CARD NOT ACTIVE (Gift Card) | CARD NOT ACTIVE (Gift Card) |
| 753 | SEQ ERR PLS CALL (Gift Card) | SEQ ERR PLS CALL (Gift Card) |
| 754 | DECLINED-HELP 9999 (Gift Card – System Error) | DECLINED-HELP 9999 (Gift Card – System Error) |
| 755 | DECLINE CVV2 | DECLINE CVV2 |
| 756 | PICK UP CARD | PICK UP CARD |
| 757 | DECLINED | DECLINED |
| 758 | CALL AUTH. CENTER | CALL AUTH. CENTER |
| 759 | ELAVON PROCESSING ERROR | ELAVON PROCESSING ERROR |

branch_name: refs/heads/test

gha_language: JavaScript

gha_license_id: NOASSERTION


text:
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [1.0.2] - 2016-08-14
### Fix
- Handle RedirectResponse

## [1.0.1] - 2016-08-14
### FIX
- Up dep to Laravel 5.2

## [1.0.0] - 2016-07-19
### Added
- Correlational ID HTTP middleware.
- Correlational ID Monolog middleware.
- Correlational ID Sentry middleware.
- Initial release

repository: Devitek/laravel-correlational-id

repo_name: Devitek/laravel-correlational-id


text:
# Diagnostics

```@meta
CurrentModule = ClimateMachine.Diagnostics
```

```@docs
Diagnostics
```

## Diagnostic Fields

Diagnostics computes the physically relevant fields for postprocessing.

### Types / Functions

```@docs
Diagnostics.VectorGradients
Diagnostics.Vorticity
```


text:
![CI](https://github.com/DenTelezhkin/DTCollectionViewManager/workflows/CI/badge.svg)
[![codecov.io](http://codecov.io/github/DenTelezhkin/DTCollectionViewManager/coverage.svg?branch=main)](http://codecov.io/github/DenTelezhkin/DTCollectionViewManager?branch=main)
![CocoaPod platform](https://cocoapod-badges.herokuapp.com/p/DTCollectionViewManager/badge.svg)
![CocoaPod version](https://cocoapod-badges.herokuapp.com/v/DTCollectionViewManager/badge.svg)
[![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)
[![Packagist](https://img.shields.io/packagist/l/doctrine/orm.svg)]()

DTCollectionViewManager
================

## Features

- [x] Powerful mapping system between data models and cells, headers and footers
- [x] Automatic datasource and interface synchronization.
- [x] Flexible Memory/CoreData/Realm/diffable datasource storage options
- [x] Powerful compile-time safe events system, that covers all of UICollectionView delegate methods
- [x] Views created from code, XIB, or storyboard, automatic registration and dequeue
- [x] Can be used with UICollectionViewController, or UIViewController with UICollectionView
- [x] Built-in support for iOS 14 UICollectionView.CellRegistration and content configuration
- [x] Unified syntax with [DTTableViewManager](https://github.com/DenTelezhkin/DTTableViewManager)
- [x] [Complete documentation](Documentation)
- [x] [API Reference](https://dentelezhkin.github.io/DTCollectionViewManager/)

## Requirements

* Xcode 12+
* iOS 11.0+ / tvOS 11.0+ / macCatalyst 13.0+
* Swift 5.3+

> If you need Xcode 11 support or Swift 4...Swift 5.2, or iOS 8...iOS 10 support, you can use 7.x releases.

## Installation

### Swift Package Manager

Add package into Xcode Project settings -> Swift Packages

### [CocoaPods](http://www.cocoapods.org):

    pod 'DTCollectionViewManager', '~> 8.0.0'

## Quick start

Let's say you have an array of Posts you want to display in UICollectionView. To quickly show them using DTCollectionViewManager, here's what you need to do:

1. Create UICollectionViewCell subclass, let's say PostCell and adopt `ModelTransfer` protocol:

```swift
class PostCell : UICollectionViewCell, ModelTransfer {
    func update(with model: Post) {
        // Fill your cell with actual data
    }
}
```

2. In your view controller:

```swift
class PostsViewController: UICollectionViewController, DTCollectionViewManageable {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Register PostCell to be used with this controller's collection view
        manager.register(PostCell.self)

        // Populate datasource
        manager.memoryStorage.setItems(posts)
    }
}
```

Make sure your UICollectionView outlet is wired to your class (or use UICollectionViewController subclass). If you have a PostCell.xib file, it will be automatically used for dequeueing PostCell.

3. That's it! It's that easy!

Of course, cool stuff does not stop there, framework supports all datasource and delegate methods as closures, conditional mappings and much much more! Choose what interests you in the next section of readme.

## Burning questions

###### Starter pack

* **[Why do I need this library?](Documentation/Why.md)**
* [How data models are mapped to cells?](Documentation/Mapping.md)
* [Can I use unsubclassed UICollectionViewCell or UICollectionReusableView (for example UICollectionViewListCell)?](Documentation/Mapping.md#without-modeltransfer)
* [How can I register views to dequeue from code/xib/storyboard?](Documentation/Registration.md)
* [How can I use the same cells differently in different places?](Documentation/Conditional%20mappings.md)
* [What datasource options do I have?(e.g. memory/CoreData/Realm/diffable datasources)](Documentation/Datasources.md)
* [How can I implement datasource/delegate methods from `UICollectionView`?](Documentation/Events.md)

###### Advanced

* [Can I implement delegate methods instead of using DTCollectionViewManager event closures?](Documentation/Events.md#can-i-still-use-delegate-methods)
* [How can I react to and customize UICollectionView updates?](Documentation/CollectionViewUpdater.md)
* [What if something goes wrong?](Documentation/Anomalies.md)

## Sample code and documentation

* [DTCollectionViewManager sample code](Example)
* [Documentation](Documentation)
* [Sample code for Drag&Drop integration](https://github.com/DenTelezhkin/DTDragAndDropExample)

## Thanks

* [Alexey Belkevich](https://github.com/belkevich) for providing initial implementation of CellFactory.
* [Michael Fey](https://github.com/MrRooni) for providing insight into NSFetchedResultsController updates done right.
* [Nickolay Sheika](https://github.com/hawk-ukr) for great feedback, that helped shaping 3.0 release and future direction of the library.
* [Artem Antihevich](https://github.com/sinarionn) for great discussions about Swift generics and type capturing.

repository: devMEremenko/XcodeBenchmark

gha_language: Swift

repo_name: devMEremenko/XcodeBenchmark


text:
---
title: "Create or replace schedule"
description: "Create or replace a **schedule** object."
author: "akumar39"
ms.localizationpriority: medium
ms.prod: "microsoft-teams"
doc_type: apiPageType
---

# Create or replace schedule

Namespace: microsoft.graph

Create or replace a [schedule](../resources/schedule.md) object.

The schedule creation process conforms to the [One API guideline for resource based long running operations (RELO)](https://github.com/Microsoft/api-guidelines/blob/master/Guidelines.md#131-resource-based-long-running-operations-relo).
When clients use the PUT method, if the schedule is provisioned, the operation replaces the schedule; otherwise, the operation starts the schedule provisioning process in the background.

During schedule provisioning, clients can use the [GET method](schedule-get.md) to get the schedule and look at the `provisionStatus` property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the `provisionStatusCode` property.

Clients can also inspect the configuration of the schedule.

## Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).

|Permission type      | Permissions (from least to most privileged)              |
|:--------------------|:---------------------------------------------------------|
|Delegated (work or school account) | Schedule.ReadWrite.All, Group.ReadWrite.All    |
|Delegated (personal Microsoft account) | Not supported.    |
|Application | Schedule.ReadWrite.All |

## HTTP request

<!-- { "blockType": "ignored" } -->

```http
PUT /teams/{teamId}/schedule
```

## Request headers

| Header       | Value |
|:---------------|:--------|
| Authorization  | Bearer {token}. Required.  |
| Content-Type  | application/json. Required.  |

## Request body

In the request body, supply a JSON representation of a [schedule](../resources/schedule.md) object.

## Response

If successful, this method returns a `200 OK` response code and a [schedule](../resources/schedule.md) object in the response body.

## Example

### Request

The following is an example of the request.

# [HTTP](#tab/http)
<!-- {
  "blockType": "request",
  "name": "team-put-schedule"
}-->
```http
PUT https://graph.microsoft.com/v1.0/teams/{teamId}/schedule
Content-type: application/json

{
  "enabled": true,
  "timeZone": "America/Chicago"
}
```

# [C#](#tab/csharp)

```csharp

GraphServiceClient graphClient = new GraphServiceClient( authProvider );

var schedule = new Schedule
{
	Enabled = true,
	TimeZone = "America/Chicago"
};

await graphClient.Teams["{team-id}"].Schedule
	.Request()
	.PutAsync(schedule);

```

 For details about how to [add the SDK](/graph/sdks/sdk-installation) to your project and [create an authProvider](/graph/sdks/choose-authentication-providers) instance, see the [SDK documentation](/graph/sdks/sdks-overview).

### Response

The following is an example of the response.

>**Note:** The response object shown here might be shortened for readability.
<!-- {
  "blockType": "response",
  "truncated": true,
<EMAIL_ADDRESS>"microsoft.graph.schedule"
} -->

```http
HTTP/1.1 200 OK
Content-type: application/json

{
  "id": "833fc4df-c88b-4398-992f-d8afcfe41df2",
  "enabled": true,
  "timeZone": "America/Chicago",
  "provisionStatus": "Completed",
  "provisionStatusCode": null,
  "timeClockEnabled": true,
  "openShiftsEnabled": true,
  "swapShiftsRequestsEnabled": true,
  "offerShiftRequestsEnabled": true,
  "timeOffRequestsEnabled": true
}
```

<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79
2015-10-25 14:57:30 UTC -->
<!--
{
  "type": "#page.annotation",
  "description": "Creates or replaces the schedule",
  "keywords": "",
  "section": "documentation",
  "tocPath": "",
  "suppressions": [
  ]
}
-->

repository: microsoftgraph/msgraph-sdk-dotnet

branch_name: refs/heads/dev

gha_language: C#

repo_name: microsoftgraph/msgraph-sdk-dotnet


text:
# Verilog Testbench Runner
[![](https://img.shields.io/badge/license-MIT-orange.svg?style=flat-square)](http://opensource.org/licenses/MIT)
[![](https://img.shields.io/static/v1?label=Icarus&message=Verilog&color=f368e0&style=flat-square)](https://github.com/steveicarus/iverilog)

**Currently, only `iverilog` is supported.**

A simple extension to run single file Verilog testbenches with GTKWave integration. Hassle-free, portable, easy to configure. Combines the best bits of everything out there.

## Usage

This extension adds two buttons, which will appear in the titlebar of any Verilog file, and a status item positioned in the lower-right corner.

Be sure you have `iverilog` and `gtkwave` added to your environment PATH variable. If you need help, check out the installation guide [here](https://iverilog.fandom.com/wiki/Installation_Guide) (and for [Windows](http://bleyer.org/icarus/)).

## Features

### 1. Simple to use buttons:

### 2. Live rough logic gate estimates:

### 3. Simple GTKWave integration:

## Configuration

- `verilog.gtkwaveWatchGlob`: GTKWave will be summoned when a file satisfying the glob is created (glob is relative to the build directory).
- `verilog.icarusCompileArguments`: Arguments passed to Verilog compiler.
- `verilog.icarusBuildDirectory`: Build folder path relative to workspace root.
- `verilog.icarusPersistentBuild`: True if build folder should not be cleared before each compilation.

## Commands

- `icarusext.run` : Compiles and runs current file
- `icarusext.stop` : Stops and kills any running processes.
- `icarusext.tsizer` : Obtains **very rough** estimates for logic components. Will run on these events:
    - `window.onDidChangeActiveTextEditor`
    - `workspace.onDidSaveTextDocument`
    - Status item click (will show modal in this case)
    - When command `icarusext.run` is run

## License

Code is licensed under MIT.

> "Logo made by Freepik from www.flaticon.com (Flaticon license with attribution)"

repository: LoesterFranco/icarusext

repo_name: LoesterFranco/icarusext


text:
# mobx-state-tree-action-catch

Error catcher middleware for mobx state tree.

Created with reference to [redux-catch](https://github.com/PlatziDev/redux-catch)

## Installing

```
$ npm i mobx-state-tree-action-catch
# or
$ yarn add mobx-state-tree-action-catch
```

## How to use

```
import actionCatch from 'mobx-state-tree-action-catch';

function errorHandler(error, snapshot: ReturnType<typeof getSnapshot>, lastAction: string) {
  console.error(error);
  console.error(snapshot)
  console.error(lastAction)
}

const Store = types.model({
  UIStore: types.optional(UIStore, {}),
})

export interface IStore extends Instance<typeof Store> {}

const createStore = (snapshot = null): IStore => {
  MobxStore = Store.create()
  if (snapshot) {
    applySnapshot(MobxStore, snapshot)
  }
  // Add actionCatch to middleware
  addMiddleware(MobxStore, actionCatch(errorHandler))
  return MobxStore
}

export default createStore
```

- actionCatch receive a function to use when an error happen.
- The error handler function could be just a console.error like the example above or a function to log the error in some kind of error tracking platform.
- You should use this middleware as the first middleware in the chain, so its allowed to catch all the possible errors in the application.

## Using it with Sentry

To use it with Sentry just download the Sentry script from npm:

```
npm i -S raven-js raven
```
- raven-js: This is the client for browser usage.
- raven-node: This is the client for server usage.

Now load and configure your client:
```
import Raven from 'raven-js';

const sentryKey = '<key>';

Raven
<EMAIL_ADDRESS>  .install();
```

And then use Raven.captureException as the error handler like this:
```
const createStore = (snapshot = null): IStore => {
  MobxStore = Store.create()
  if (snapshot) {
    applySnapshot(MobxStore, snapshot)
  }
  // Add actionCatch to middleware
  addMiddleware(MobxStore, actionCatch((error) => Raven.captureException(error), MobxStore))
  return MobxStore
}
```

gha_language: TypeScript


text:
# Xircle

> Write a project description

## Prerequisites

This project requires NodeJS (version 8 or later) and NPM.
[Node](http://nodejs.org/) and [NPM](https://npmjs.org/) are really easy to install.
To make sure you have them available on your machine,
try running the following command.

```sh
$ npm -v && node -v
6.14.8
v15.0.1
```

## Table of contents

- [Project Name](#project-name)
  - [Prerequisites](#prerequisites)
  - [Table of contents](#table-of-contents)
  - [Getting Started](#getting-started)
  - [Installation](#installation)
  - [Usage](#usage)
    - [Building a distribution version](#building-a-distribution-version)
    - [Serving the app](#serving-the-app)
  - [API](#api)
  - [Built With](#built-with)
  - [Authors](#authors)
  - [License](#license)

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

## Installation

**BEFORE YOU INSTALL:** please read the [prerequisites](#prerequisites)

Start with cloning this repo on your local machine:

```sh
$ git clone https://github.com/mccor2000/mindx-hackathon_server.git
$ cd PROJECT
```

To install and set up the library, run:

```sh
$ npm install
```

## Usage

### Building a distribution version

```sh
$ npm run build
```

### Serving the app

```sh
$ npm start
```

## API
[API docs](https://mindx-hackathon.herokuapp.com/api/docs/)

## Built With

* ExpressJS - For building web server and APIs
* Mongoose - ORM for MongoDB
* PassportJS - For managing user authentication
* Joi - For request body validation
* Morgan - For logging

## Authors

* **Tran Minh Thang** - [mccor2000](https://github.com/mccor2000)

## License


text:
## Laravel REST actions

Package included CRUD action traits, service trait, ApiController and transformer

How to install:

```bash
composer require nemesis/laravel-rest
```

or add in **composer.json** record to require block **require**:

```
For Laravel >=5.3
```json
"nemesis/laravel-rest": "*"
```

## Using

Extend You controllers from Nemesis\LaravelRest\Controllers\ApiController and use action traits for him/

In Nemesis\LaravelRest\Traits\Actions\* isset CRUD operations for controller

You need to set $modelClass variable in controller and using action traits

```php
    class SomeController
    {
        use IndexAction, ShowAction, StoreAction, UpdateAction, DestroyAction;

        protected $modelClass = SomeModel::class;
    }
```

If any of the methods that do not need it, just remove it

If you need all action, use GeneralActions

## baseQueryFilter

if you need filtering data by default conditions, use baseQueryFilter method on you controller:

```php
    public function baseQueryFilter($query)
    {
        return $query->where('owner', Auth::user()->id);
    }
```

## default paginate

ItemService trait have static variable $defaultPaginate. You will change it in your controllers

## Filter using

Package include [filter](https://github.com/nemesis1988/FilterAndSorting|filter).

gha_language: PHP


text:
*Do you like this bundle? [**Leave a ★**](#js-repo-pjax-container) or run `composer global require symfony/thanks && composer thanks` to say thank you to all libraries you use in your current project, this included!*

SERENDIPITY HQ FEATURES BUNDLE
==============================

Using the bundle is really simple and in a matter of minutes you'll be able to use it in your Symfony App.

These are the steps required to get up and running with the bundle:

1. [Install and activate the bundle](Installation.md)
2. [Configure the bundle](Configuration.md)
3. [Creating the Subscriptions](Subscription.md)
4. [Using the built-in cart](Using-the-cart.md)
5. [Managing Renews and Refreshes](Managing-renews-and-refreshes.md)

    Do you like this bundle?

    LEAVE A ★

    or run

    composer global require symfony/thanks && composer thanks

    to say thank you to all libraries you use in your current project, this included!

repository: Aerendir/bundle-features

repo_name: Aerendir/bundle-features


text:
---
layout: page
title: Projects
---

### GPkit
[Documentation](https://gpkit.rtfd.org) | [Github](https://www.github.com/hoburg/gpkit)

GPkit is a Python package for defining and manipulating geometric programming (GP) models.

  2015-03-12:
  GPkit v0.5.0 released

  2016-07-10:
  GPkit v0.4.2 released

### D8 Double Bubble
[Github](https://github.com/hoburg/d8)

The D8 is a commercial aircraft configuration conceived by Prof. Mark Drela that is believed to enable dramatic fuel efficiency benefits.
Although the benefits are well-studied for specific cases like a single-aisle replacement, relatively little is known about how the configuration benefit changes across a wide range of aircraft sizes.
We are converting commercial aircraft sizing models from Drela's Transport Aircraft System Optimization (TASOPT) and other sources to Signomial Programming compatible forms, to enable rapid design space exploration and sensitivity analysis.

  2016-08-05:
  Future X-Plane

### Jungle Hawk Owl
[Github](https://www.github.com/hoburg/jho)

As part of the 16.82 Flight Vehicle Engineering Capstone course at MIT, GPkit is being used for design optimization of a long-endurance, medium altitude unmanned aircraft, whose mission is to provide communications coverage to areas affected by natural disasters or other scenarios.

### Model Library
[Github](https://www.github.com/hoburg/gpkit-models)

A growing library of modular GP, and SP models for use in engineering design optimization.

  2016-11-21:
  Moment of Inertia GP Formulation

  2016-03-06:
  Net Present Value Model


text:
# sockets-elm

Playing with the capabilities of Elm/Crystal.
Currently rather jazzed about these two languages
and decided to kickstart and play with something small.

The [tutorial mentioned][1] mentioned assums the most basic knowledge of both technologies.

All development was done with Docker containers. Namely:

1. Generating a [create-elm-app][2] using the [a wonderfully documented elm image][3]
1. Generating a crystal app and using shards with [the official crystal image][4]

[1]<EMAIL_ADDRESS>[2]: https://github.com/halfzebra/create-elm-app
[3]: https://hub.docker.com/r/codesimple/elm/
[4]: https://hub.docker.com/r/crystallang/crystal/

repository: braidn/crystal-elm-websockets

repo_name: braidn/crystal-elm-websockets


text:
Ruby/ProgressBar
================================
[![Gem Version](https://img.shields.io/gem/v/ruby-progressbar.svg)](https://rubygems.org/gems/ruby-progressbar) ![Rubygems Rank Overall](https://img.shields.io/gem/rt/ruby-progressbar.svg) ![Rubygems Rank Daily](https://img.shields.io/gem/rd/ruby-progressbar.svg) ![Rubygems Downloads](https://img.shields.io/gem/dv/ruby-progressbar/stable.svg) [![Build Status](https://img.shields.io/travis/jfelchner/ruby-progressbar/master.svg)](http://travis-ci.org/jfelchner/ruby-progressbar) [![Code Climate](https://codeclimate.com/github/jfelchner/ruby-progressbar.svg)](https://codeclimate.com/github/jfelchner/ruby-progressbar) [![Code Climate](https://codeclimate.com/github/jfelchner/ruby-progressbar/coverage.svg)](https://codeclimate.com/github/jfelchner/ruby-progressbar)

The **ultimate** text progress bar library for Ruby!

Don't miss out on what all the kids are talking about!  If you want everyone to know that your gem or app can survive _in the cage_ then YOU WANT **RUBY-PROGRESSBAR**!

Full Reference
--------------------------------

There's gotten to be too much awesome to pack into one page.  Visit the [wiki](https://github.com/jfelchner/ruby-progressbar/wiki) for the full documentation.

Here's a [quick link](https://github.com/jfelchner/ruby-progressbar/wiki/Basic-Usage) to the 'Basic Usage' section.

Issues
--------------------------------

If you have problems, please create a [Github issue](https://github.com/jfelchner/ruby-progressbar/issues).

Credits
--------------------------------

![The Kompanee](https://kompanee-public-assets.s3.amazonaws.com/readmes/kompanee-horizontal-black.png)

ruby-progressbar is maintained by [The Kompanee, Ltd.](http://www.thekompanee.com)

The names and logos for The Kompanee are trademarks of The Kompanee, Ltd.

License
--------------------------------

ruby-progressbar 1.0 is Copyright © 2011-2018 The Kompanee. It is free software, and may be redistributed under the terms specified in the LICENSE file.
ruby-progressbar 0.9.0 is Copyright © 2008 [Satoru Takabayashi](http://0xcc.net)

license: MIT,Ruby

detected_licenses: MIT Ruby

gha_language: Ruby


text:
mobile landing page
==========
The landing page for traveling tour optimised for mobile phone's screens

Resource:
---------
Was created .psd file with mockup

The task was:
-------------
1. To create .psd mockup
2. To convert it to HTML code
3. To create the necessary scripts

Result:
-------
* mockup (it does not included in this storage)
* HTML/CSS coded landing page
* scripts (pure javascript) for carousel, auto scroll to the top of the page, customer's dialog.

License
-------
This software licensed under the [MIT license] (https://opensource.org/licenses/MIT).

content:
-------
#### landing page file:
* tours/000000000000.php

#### folder with carousel images:
* tour-img/

#### folder with JavaScript:
* scripts/

#### folder with Style Sheets:
* css/


text:
AVObject - Designed with scalability in mind.
=====

AVObject is a utility for JavaScript projects. This utility is designed to simplify the process of creating prototype objects, reducing the frustration and complexity of building objects with the newer ECMAScript 5 standards. The utility follows a syntax that partually resembles the Class structure of other languages while maintaining additional functionality related to JavaScript.

##News and Updates
Added new functionality to the Node class such as smart recursing deletion as well as provded better tools for accessing parent methods. Check out the changelog for more info.

##Features of AVObject

*   Based on the Object.create() method for cleaner prototyping
*   Class strutured object building, allowing the ablity to extend other objects.
*   Support for extending and creating objects with ease. [Wiki Info](https://github.com/Kabe0/AVObj/wiki/2.-Inheritance-Problem)
*   Simple syntax for creating getter/setter properties
*   Support for the singleton pattern
*   Smart Node manipulation for fast development with greatly enhanced functionality.
*   Parent property access for objects that are extended (prototype access).
*   Avoid Javascript downfalls with prototype's and never ending loops when accesing parent methods.
*   User-friendly Observer pattern with built in scoping (Can be attached to basic objects using AVObj.attachObserverModel() method).

## Quick Start Guide

AVObj.js is the only required file for the advanced object to work. AVObjects can be attached to either existing plane objects or created from the base AVObj object. Lets start by creating a new object off of AVObject.

```javascript
var NewObject = AVObj.extend();
```

The command we just wrote uses Object.create() to build us a new object with a prototype connection of all the methods and properties of the object AVObj. It has also provided us with some prebuilt functionality such as a **callParent** to access the previous properties and methods (prototype), **super** to call a method's parent method, and **_observers** to append listeners to our object.

Next lets add some of our own methods and properties to the new object we just created. The first two methods ever created are init and deInit. These will fire when the object is either created or destroyed.

```javascript
var NewObject = AVObj.extend();
NewObject.properties =
{
    sharedVariable : "Shared between all classes!",     // Defining properties outside of methods will result in that
                                                        // property being shared between all objects created by the class.

    init : function ()  // Optional constructor method!
    {
        this.testVar = "Awesome!"; // One of the many ways to define variables in an object.

        this.myMethod();
    },

    deInit : function (){}, // Optional DeConstructor method!

    myMethod : function ()  // Test function that will let us know the object is constructed!
    {
        alert("Constructor called this " + this.testVar + " method!");
    }
};
```
We have built ourselves a complete object, but if you run it you will notice nothing happens. This is because the object has been defined but we have not created any instances of it. To create an instance of the object call we have to add this code below...

```javascript
var newInstance = NewObject.create();
```
You should see the alert we created in myMethod fire letting you know that the object has been constructed.

##Contributing##
Please don't hesitate to let me know of any issues you have, all issues will be looked at and *hopefully* fixed as soon as I see them!

If you have any new ideas and want to contribute to the projet let me know. The point of this utility was to grow and I am more than willing and happy to see the codebase expanded on!

##License##
Copyright (c) 2013-2014 Ian Carson<EMAIL_ADDRESS>- linkedIn <http://lnkd.in/9qJWap>

You are free to use any AVObj project in any other project (even commercial projects) as long as the copyright header is left intact.
[MIT License](http://www.opensource.org/licenses/mit-license.php)

repository: longshiqing/AVObj

repo_name: longshiqing/AVObj


text:
---
layout: post
title: "The Pitch"
date: 2012-05-11 20:56
comments: true
categories:
---

Peter Thiel 은 [CS183:Startup 클래스의 여덟번째 강의](http://blakemasters.tumblr.com/post/22271192791/peter-thiels-cs183-startup-class-8-notes-essay)에서, "피칭"에 관해 강의한다.

먼저 그는 많지도 작지도 않은 적절한 규모의 펀딩을 해야 한다고 말한다.

또한 높은 밸류에이션이 무조건 좋은 것이 아니라고 이야기한다. 지나치게 높은 밸류에이션은 다른 VC 들의 참여를 막을 수도 있고, 그 다음 라운드 자체가 infeasible 하게 될 수도 있다.

> First, you need to raise the right amount of capital.
> A small company shouldn't raise 100 million dollars,
> even if Great Late Stage Fund is very eager to cut you a check.
> Raising too much can haunt you. Map out your operating expenses for one
> year, multiply that figure by 1.5, and ask for that,
> as a first approximation.

> ...

> Second, higher valuation aren't always in your interest.
> Valuation that are too high will deter other VC firms from investing.
> And they will expose you to all sort of problems regarding compensation
> and expected future returns for your employees and investors.
> Be prepared to expect an offer that's objectively good,
> even if it's emotionally unsatisfying. On the other hand, valuations
> that are really low are obviously bad as well, since they mean that
> you get either got screwed or that there is something wrong with your idea.

시니어 VC 는 이미 부자이며 훌륭한 트랙 레코드를 가지고 있기 때문에,
굳이 열심히 투자할 동기가 없다는 사실을 이야기한다.

> True, but an interesting dynamic is that no senior VC needs to do your
> investment. You should never forget that. Any senior VC that you're
> talking to is already wealthy and has many famous deals to show for it.
> Your company is probably not going to make a material difference to him
> and does present a significant chance of adding to his workload and failure
> rate;

전술적으로는 "투자할 필요가 있는 VC"를 찾는 것. Junior 들에게 pitch 할 필요가
없다는 이야기는 틀린 이야기. Junior 들은 Senior 가 되기 위해서는 좋은 Deal 이
필요한 사람들.

> Tactically, the first thing to do is find someone who does need to make
> investments. That can mean finding a senior associate or a principal for
> your first pitch, not a senior partner. This contravenes the conventional
> wisdom that holds that you should not to pitch junior people.
> ("Don't pitch someone who can't write a check themselves.")
> That wisdom is wrong. Junior people will give your a fair shake, because
> they need good deals to their name. If they don't find those deals,
> they won't become senior, and they very much want to become senior.
> So seek these people out - they are motivated in a way more seasoned VCs
> are not.

VC 들이 두려워하는 것은 투자를 안했는데, 나중에 회사가 대박나서 옆동네 VC 가 부자가 되는 것.

> But all you need to know is that VCs really don't want to lose a good deal
> to a competitor. So convince them that your company will be great and make
> them afraid of missing out.

돈이 있을 때 가장 협상력이 있을때니까 그 때 펀딩을 추진해야 한다.

> You should always try to pitch when you don't need money. That is when
> you are strongest. Short runways are often perceived as a sign of massive
> weakness. If everybody knows you're desperate, the best that can happen is
> you get screwed on terms.

CEO 의 잡은 피칭하는 것. 워렌 버펫은 재산이 46조지만, 피칭을 50년째
하고 있다. i.e. 버크셔해서웨이의 연례 주주총회나 버펫이 직접 쓰는 편지.

오라클의 래리 엘리슨도 월 스트리트에 가서 자사 주식을 사라고
(적어도 팔지는 말라고), 피칭을 하고 있다.

> Larry Ellison will have to pitch Wall Street on why people should buy
> Oracle stock, or at least not sell it. Warren Buffet is worth something
> like $46bn and he still has to pitch and has been doing so for five decades
> (for example, his annual letters). If people with tens of billions of dollars
> have to do it, you can assume the same will be true of you.

-----

*내가 좋은 비즈니스를 키워나가고 있으니, 언제든지 주주로 들어오세요.*
정도의 마인드.
CEO 의 잡은 일상적으로 (잠재적) 주주과 대화하는 것이라고 생각하면 편함.

Peter Thiel 이 창업했던 PayPal 은 끊임없이 펀딩을 추진했고, 또 받았다고 한다. 끝없는 펀딩이 아니었다면, 유저들의 환호를 받기 전에 무너졌을 수도 있는 일. Peter Thiel 의 강의답다.

repository: manicstreetcoders/octopress

extension: markdown

repo_name: manicstreetcoders/octopress


text:
---
layout: default
---

# 1996-02-22 - Re: IPG hoax?

## Header Data

From: Mutant Rob<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Message Hash: 562f4a348816d513c1698193772dd45b5a72cb822cb9437b20ba6f2d6473fd9e

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1996-02-22 14:52:08 UTC

Raw Date: Thu, 22 Feb 1996 22:52:08 +0800

## Raw message

```
{% raw  %}From: Mutant Rob<EMAIL_ADDRESS>Date: Thu, 22 Feb 1996 22:52:08 +0800
To<EMAIL_ADDRESS>Subject: Re: IPG hoax?
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

-----BEGIN PGP SIGNED MESSAGE-----

Wink Junior wrote:
> I must admit that after the first day I've been wondering if this whole
> IPG thing isn't some kind of deep troll or early April Fool's joke.
> anyone actually spoken on the phone with IPG or confirmed their existence
> in any way?  For the record, I'd like to state that I saw their ad [..]

Been wondering the same thing. The noise generated by this is awfully
suspicious.  It's also rather suspicious that a couple of my posts here
have mysteriously not showed up in the archives, although I've received
replies to them (but that's another issue altogether).
- ---
[This message has been signed by an auto-signing service.  A valid signature
means only that it has been received at the address corresponding to the
signature and forwarded.]

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Gratis auto-signing service

iQBFAwUBMSvslCoZzwIn1bdtAQGomgF/ckqMkUKfMmmkkz9EoadDUYetwmZHedSY
RYSEAo/sTtXdBzgbKEEOTj20ZA7z5O72
=Ar7E
-----END PGP SIGNATURE-----

{% endraw %}
```

## Thread

+ Return to [February 1996](/archive/1996/02)

+ Return to "[Mutant Rob <wlkngowl@unix.asb.com>](/authors/mutant_rob_wlkngowl_at_unix_asb_com_)"

+ 1996-02-22 (Thu, 22 Feb 1996 22:52:08 +0800) - Re: IPG hoax? - _Mutant Rob<EMAIL_ADDRESS>


text:
# Backlash Model with Linear Decision Boundaries (blm)

[![License](https://img.shields.io/badge/license-MIT-brightgreen)](https://opensource.org/licenses/MIT)
[![codecov](https://codecov.io/gh/famura/blm/branch/master/graph/badge.svg?token=ESUTNFwtYY)](https://codecov.io/gh/famura/blm)
[![codestyle](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

A simple model to describe the backlash effect in physics simulations based on numpy

The model implemented in this package was published as:
J. Vörös, "Modeling and identification of systems with backlash", Automatica, 2008, [link to pdf](https://www.researchgate.net/profile/Jozef-Voeroes/publication/233692268_Identification_of_cascade_systems_with_backlash/links/56b3535f08ae3d06a266451d/Identification-of-cascade-systems-with-backlash.pdf)

## Citing

If you use code or ideas from this repository for your projects or research, please cite it.
```
@misc{Muratore_blm,
  author = {Fabio Muratore},
  title = {blm - A simple model to describe the backlash effect in physics simulations},
  year = {2021},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/famura/blm}}
}
```

## Installation

To install the core part of the package run
```
pip install blm
```

For (local) development install the dependencies with
```
pip install -e .[dev]
```

## Getting Started

Play around with the model's parameters in the `demo.py` scirpt
```
cd examples
python demo.py
```

![demo](assets/demo.png?raw=true "output of demo.py")

repository: famura/blm

repo_name: famura/blm


text:
# THIS REPO IS ARCHIVED SINCE SLACK FINALLY ADDED IT'S OWN DARK MODE SUPPORT

# Dark theme for the slack 4 linux desktop app

## Requirements

- linux (send PR for Mac support)
- slack-desktop
- npm
- npx (the script will install it if necessary)
- asar (the script will install it if necessary)

Tested only on ubuntu-18.04. The package name `npm` might differ on your
platform. Install it by whatever name necessary.

## Install

Install slack first. If you haven't logged in for the first time, probably best
that you do. I've had intermittent problems otherwise.

Next, just run the script. It creates a working directory and uses `npm` to
install `npx` and `asar` locally and then uses them to extract app.asar and then
repack it after the javascript is added. It is fine to delete this working
directory when done, but the next update of slack will require re-installing
`npx` and `asar` so you might want to keep it around.

[comment]: <> ( vim: set tw=80 ts=4 sw=4 sts=4 et: )

license: Unlicense

repository: russellshackleford/slack-dark

repo_name: russellshackleford/slack-dark


text:
---
layout: postag
title: 'PRON'
shortdef: 'pronoun'
udver: '2'
---

### Definition

Pronouns are words that substitute for [nouns](NOUN) or noun phrases, whose meaning is recoverable from the linguistic or extralinguistic context.

Pronouns under this definition function like nouns. Note that Ukrainian grammar traditionally extends the term _pronoun_ to words that
substitute for [adjectives](ADJ). Such words are not tagged `PRON` under our universal scheme. They are tagged as [determiners](DET) in order to annotate the same thing same way across languages.

For instance, _це _ “this” is traditionally called pronoun in Ukrainian grammar, regardless of context (the notion of determiners does not exist in Ukrainian grammar). To make the annotation parallel across languages, it is now tagged `PRON` in _Це я бачила вчора. _ “I saw this yesterday.” and `DET` in _Це дерево я бачила вчора._ _ “I saw this tree yesterday.”

### Examples

- personal pronouns: _я, ти, він, вона, воно, ми, ви, вони _ “I, you, he, she, it, we, you, they, they”
- reflexive pronouns: _себе, се, собі, собою _ “oneself”
- demonstrative pronouns: _це _ as in _Це я бачила вчора._ “I saw this yesterday.”
- interrogative pronouns: _хто, що _ “who, what” as in _Що ти думаєш? _ “What do you think?”
- relative pronouns: _хто, що _ “who, what” as in _Мене цікавить, що ти думаєш. _  “I wonder what you think.”
- indefinite pronouns: _дехто, дещо _ “somebody, something”
- total pronouns: _кожен, всі _ “everybody, all”
- negative pronouns: _ніхто, ніщо _ “nobody, nothing”

### References

- [Loos, Eugene E., et al. 2003. Glossary of linguistic terms: What is a pronoun?](http://www-01.sil.org/linguistics/GlossaryOfLinguisticTerms/WhatIsAPronoun.htm)
- [Wikipedia](http://en.wikipedia.org/wiki/Pronoun)

repository: UniversalDependencies/docs

branch_name: refs/heads/pages-source

gha_language: HTML

repo_name: UniversalDependencies/docs


text:
# Questioner-API
API endpoints for Questioner- an application to crowd-source questions for a meetup.

[![Build Status](https://travis-ci.org/yunismohamed/Questioner-API.svg?branch=develop)](https://travis-ci.org/yunismohamed/Questioner-API)
[![Maintainability](https://api.codeclimate.com/v1/badges/1d7f1df20f65e92518c3/maintainability)](https://codeclimate.com/github/yunismohamed/Questioner-API/maintainability)
[![codecov](https://codecov.io/gh/yunismohamed/Questioner-API/branch/develop/graph/badge.svg)](https://codecov.io/gh/yunismohamed/Questioner-API)
[![Coverage Status](https://coveralls.io/repos/github/yunismohamed/Questioner-API/badge.svg)](https://coveralls.io/github/yunismohamed/Questioner-API)

## Here is a list of endpoints
| Method        |       Endpoint                              |         Description                           |
| ------------- |       -------------                         |         -------------                         |
| `GET`         | `/api/v1/meetups/upcoming`                  |   Gets all meetups records                    |
| `GET`         | `/api/v1/meetups/<meetup-id>`               |   Get a specific meetup record                |
| `POST`        | `/api/v1/meetups`                           |   Create a meetup record                      |
| `POST`        | `/api/v1/questions`                         |   Create a question record                    |
| `POST`        | `/api/v1/users/registration`                |   Register a user                             |
| `POST`        | `/api/v1/users/login`                       |   Sign in a User                              |
| `POST`        | `/api/v1/meetups/<meetup-id/rsvps>`         |   User respond to a meetup                    |
| `PATCH`       | `/api/v1/questions/<questions-id>/upvote`   |   vote on a meetup question                   |
| `PATCH`       | `/api/v1/questions/<questions-id/downvote`  |   vote on a meetup question                   |

# Setting up your system

Make sure you already have Python3, Pip and Virtualenv installed in your system.

# How to get started

Start by making a directory where we will work on. Simply Open your terminal and then:

```
mkdir Questioner-API
```

Afterwhich we go into the directory:

```
cd Questioner-API
```
## Create a Python Virtual Environment for our Project

Since we are using Python 3, create a virtual environment by typing:

```
virtualenv -p python3 venv
```

Before we install our project's Python requirements, we need to activate the virtual environment. You can do that by typing:

```
source venv/bin/activate
```

## Clone and Configure a Flask Project

Login into your github account and open the project folder then follow the instruction on how to clone the existing project. It should be something similar to:

```
git clone https://github.com/yunismohamed/Questioner-API.git
```

Next, install the requirements by typing:

```
pip install -r requirements.txt
```

## How to run the app

On the terminal type:

```
export  FLASK_ENV=development
```

```
export FLASK_APP=run.py
```

```
flask run
```

## Unit Testing
To test the endpoints ensure that the following tools are available the follow steps below
   ### Tools:
     `Postman`
   ### Steps:
    1. Fire up postman
    2. Send either `GET` or `POST` request to the specific endpoint

### Commands
  The application was tested using `pytest`. To run the tests on the bash terminal use

     `pytest`

## Heroku Hosting
The Questioner-API is hosted on Heroku
Link : `https://adc-questioner-app.herokuapp.com`

repository: yunismohamed/Questioner-API

branch_name: refs/heads/develop

repo_name: yunismohamed/Questioner-API


text:
Angular2 Seeder (build)
======

Executing the command `./fiddle.sh "build" "angular2-seeder" "fiddle-0001-EniPuzzle"` produces the following output
(see below).  This command, is used to package (aka `build`) an Angular2-Seeder fiddle for publication. This done
by executing the command `npm run build.prod` from the fiddle's root directory. Once the npm process completes,
2 additional automated steps occur. First, a directory containing the minified version of the fiddle is
added to the root [dist](dist) directory.  The sub-directory uses the name of the fiddle. In this case,
[dist/fiddle-0001-EniPuzzle](dist/fiddle-0001-EniPuzzle).  In addition, the build process, also updates
[dist/index.html](dist/index.html) file to include a navigational link to the compiled version of the fiddle.

repository: oneorthomedical/house

repo_name: oneorthomedical/house


text:
# OnEarth Deployment

This documentation will go through the steps needed to deploy OnEarth.

## Build and Run

To build the Docker images the OnEarth stack, execute:
`build.sh` from the source root.

To run all of the OnEarth Docker containers, execute:
`run.sh` from the source root.

## Container Startup Process

OnEarth container starts up and moves through the following steps:

### Read Endpoint Configurations

The configuration tool for each service deployed within a container is run for each endpoint (e.g. wmts/epsg4326/all). These configuration variables can be provided via command-line options, environment variables, or a YAML configuration. This configuration can remain mostly static and only needs to change when endpoint options need to be changed.

### Scrape Layer Configs and Set Up Layers
The configuration tool scrapes the layer config source path for this endpoint and sets up all the layers for all the requested services.

repository: nasa-gibs/onearth

repo_name: nasa-gibs/onearth


text:
# Overlay

Overlays (also known as Modals) are a way to focus the user on a specific task without causing them to lose context by rendering a new page or view. They can help lessen the impact of a workflow with many steps by focusing the user on each step rather than hitting them with all the steps at once. Overlays are also useful as a quick way to get confirmation from the user before executing a dangerous action.

### Usage
```tsx
import {Overlay} from '@influxdata/clockface'
```
All components in the `Overlay` family can be accessed from the single class import
```tsx
<Overlay visible={true}>
  <Overlay.Container maxWidth={600}>
    <Overlay.Header />
    <Overlay.Body>
      // Contents go here
    </Overlay.Body>
    <Overlay.Footer>
      // Action buttons go here
    </Overlay.Footer>
  </Overlay.Container>
</Overlay>
```

### Example
<!-- STORY -->

### Managing State

An overlay requires a stateful wrapper in order to work properly. At the very least you need a single state key, and handlers for showing/hiding the overlay:

```tsx
interface State {
  isOverlayVisible: boolean
}
```
```tsx
this.state = {
  isOverlayVisible: false,
}
```
```tsx
private handleShowOverlay = (): void => {
  this.setState({isOverlayVisible: true})
}
```
```tsx
private handleHideOverlay = (): void => {
  this.setState({isOverlayVisible: false})
}
```

In this case you would pass `isOverlayVisible` into the `visible` prop of your `Overlay`.

### Customization

One of the key components rendered by `Overlay` is the "mask" which obscures contents below the overlay. `Overlay` has a render prop called `renderMaskElement` which is designed to receive a component of type `<Overlay.Mask />` but you could pass in whatever you want so long as the CSS includes the same positioning rules. The mask has a specific gradient by default but you can choose your own gradient using the `Gradients` data type:

```tsx
import {Overlay, Gradients} from '@influxdata/clockface'
```
```tsx
<Overlay renderMaskElement={<Overlay.Mask gradient={Gradients.GundamPilot} />}>
  // Container goes here
</Overlay>
```

### Gotchas

In order for the overlay to appear on top of other UI components it makes use of CSS fixed positioning and a high z-index. If you are having trouble with an overlay check out the positioning and z-index styles of the component wrapping the overlay.

<!-- STORY HIDE START -->

<!-- STORY HIDE END -->

<!-- PROPS -->

repository: influxdata/clockface

repo_name: influxdata/clockface


text:
_Work has stopped on this project. It continues in https://github.com/SMerrony/dgemua_

# dgemug
Go (Golang) packages of routines used in emulating historical Data General minicomputers

## aosvs
This package is used for partial emulation of an AOS/VS system at the user level. See cmd/vsemug below.

## cmd/dginstr
Dginstr generates Go DG CPU opcode definitions from a CSV source.

This command can be installed by performing a `go install` from its directory.  This is required prior to developing any of the related emulators.

## cmd/vsemug
VSemuG is an attempt at a user-level AOS/VS emulator.
It is mainly intended to provide a testbed for the mvcpu package and is unlikely to be especially useful (or complete) in its own right.

It has its own [Readme](cmd/vsemug/README.md) and [Status](cmd/vsemug/STATUS.md) pages.

## devices
Emulation of various DG peripherals:
 * Bus
 * Disk4231
 * Disk6061 - Moving-head Disk, Type 6061 (AOS/VS - DPF)
 * Disk6239 - Moving-head Disk, Type 6239 (AOS/VS - DPJ)
 * Magtape6026 - Magnetic Tape, Type 6026
 * TTI - console input
 * TTO - console output

## logging/debugLogs
DebugLogs is a fast memory-based circular logging subsystem with a facility to write out the logs to disk at the end of a run.

## memory
This package emulates the volatile memory of DG minis including the stacks and BMCDCH.
N.B. There are physical (hardware) and logical (AOS/VS system) versions of some files here -
choose which to use with an appropriate build tag.

## mvcpu
This package emulates an MV-class CPU at the machine instruction (opcode) level.

repository: SMerrony/dgemug

repo_name: SMerrony/dgemug


text:
---
layout: post
title:  "Welcome to rohyun's tech blog !"
summary: "init test for posting"
author: 2rohyun
date: '2021-04-10 00:42:23 +0900'
category: spring
thumbnail: /assets/img/posts/background.png
keywords: devlopr jekyll, how to use devlopr, devlopr, how to use devlopr-jekyll, devlopr-jekyll tutorial,best jekyll themes
permalink: /blog/init-test-for-post/
usemathjax: false
---
# Hello World ,

초기 `포스팅` 테스트입니다.

**Obviously,**
[markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)

* Simple bulleted lists
* Like this one
* Are cool

1. Numbered lists
2. Like this other one
3. Are great too

> “Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it’s worth it in the end because once you get there, you can move mountains.”

![Author Sidebar Widget](https://res.cloudinary.com/sujaykundu/image/upload/c_scale,fl_progressive,w_400/v1603700133/3_tiuar0.png)


text:
---
layout: post
title: "Django - tests with nose and coverage"
description: "Setup test coverage using django-nose"
date: 2017-06-28 16:39:18
comments: true
keywords: "django, nose, tdd, unit-test, django-test, nose-test"
category: django
tags:
- django
- python
---

The following guide would help us run test using `django-nose`. It give us more option to run test either by apps, modules or even just individual tests. We will also include `coverage` to give us a test report locally whenever test is run.

<img src="https://project-zeta.s3-ap-southeast-1.amazonaws.com/post/17/coverage.png" width="800">

First, we installed the required package and update requirements.txt.

```bash
$ pip install django-nose
$ pip install coverage
$ pip freeze > requirements.txt
```

Next, we need to update `settings.py` to setup some configuration required by `django-nose`.

```python
INSTALLED_APPS = (
...
'django_nose', # Append to INSTALLED_APPS
...
)

TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
NOSE_ARGS = [
    '--cover-erase',
    '--cover-package=MY_APP', # Change `MY_APP` to your `app` name
]
```

Next, we will setup `coverage` to display a report whenever `python manage.py test` is run. In `manage.py` file, update it with this:

```python
if is_testing:
    import coverage
    cov = coverage.coverage(source=['app'], omit=['*/tests/*'])
    cov.set_option('report:show_missing', True)
    cov.erase()
    cov.start()
# Add this 5 line above

execute_from_command_line(sys.argv)

# and add this 4 line below
if is_testing:
    cov.stop()
    cov.save()
    cov.report()
```

The code here is asking `coverage` to report missing line that is not tested. The reason we are doing this manually instead of using a config file is because of a bug [here](https://github.com/django-nose/django-nose/issues/180).

By updating it to the above, whenever `python manage.py test` is run, we should see a nice report generated like this:

```bash
...................
--------------------------------------------------------------------
Ran 19 tests in 3.564s

OK
Destroying test database for alias 'default'...
Name                                     Stmts   Miss  Cover   Missing
--------------------------------------------------------------------
blog/__init__.py                                 0      0   100%
blog/admin.py                                   11      0   100%
blog/apps.py                                     3      3     0%   1-5
blog/forms.py                                    6      0   100%
blog/migrations/0001_initial.py                  9      0   100%
blog/migrations/0002_postimage.py                7      0   100%
blog/migrations/0003_auto_20170409_1343.py       5      0   100%
blog/migrations/0004_auto_20170410_2116.py       5      0   100%
blog/migrations/__init__.py                      0      0   100%
blog/models.py                                  31      3    90%   9, 37, 45
blog/tests.py                                  127      0   100%
blog/urls.py                                     3      0   100%
blog/views.py                                   65      2    97%   15, 58
--------------------------------------------------------------------
TOTAL                                          272      8   96%
```

If we are using CI, we could also generate a `html` or `xunittest` report. To get a `html` report, update the `manage.py` file to include this:

```python
cov.save()
cov.html_report(directory='covhtml')  # add this line
cov.report()
```

For generating a `xunittest` file, we have to update the `NOSE_ARGS` in settings.py to this:

```python
NOSE_ARGS = [
    '--cover-erase',
    '--cover-package=create_tasksapp',
    '--with-xunit', # Add this and the following line
    '--xunit-file=xunittest.xml',  # xunittest.xml could be any name
]
```

For more configuration, visit the following page:

- [django-nose](https://nose.readthedocs.io/en/latest/usage.html#configuration)
- [coverage](http://coverage.readthedocs.io/en/coverage-4.1/config.html)

gha_language: CSS


text:
# Overview

**NOTE: The Media Processing Framework (MPF) project has been renamed to OpenMPF. Bear with us
while the documentation and other artifacts are updated.**

This repository contains source code for the Open Media Processing Framework (OpenMPF).
This is the top-level repository (the OpenMPF core).

The mpf_components subdirectory contains submodule repositories.

The trunk subdirectory is divided into various maven modules. Of note are the
node manager, which controls the OpenMPF services running on a given node, and the
workflow manager, which is the web application server.

For questions, contact the OpenMPF Dev Team @ [openmpf@googlegroups.com](https://groups.google.com/forum/#!forum/openmpf).

repository: mistr-stoker/openmpf

repo_name: mistr-stoker/openmpf


text:
# Install WordPress through Composer and WP-CLI

Quickly launch a WordPress instance through Composer and WP-CLI

## Install

Via [Composer](https://getcomposer.org) and [WP-CLI](https://wp-cli.org/) (both are assumed to be installed globally):

1. Create the [WordPress database and user](https://wordpress.org/support/article/how-to-install-wordpress/#step-2-create-the-database-and-a-user)
2. Configure WordPress through environment variables:

> Copy the code below to an editor, replace all values (such as `{YOUR_SITE_DB_NAME}`) with your own values, and then either paste it on the terminal to execute, or save it in file "~/.bash_profile" and then execute `source ~/.bash_profile`.

```bash
export DB_NAME={YOUR_SITE_DB_NAME} #eg: database
export DB_USER={YOUR_SITE_DB_USER} #eg: admin
export DB_PASSWORD={YOUR_SITE_DB_PASSWORD} #eg: sADF!kl9diq@#Sjfk
export DB_HOST={YOUR_SITE_DB_HOST} #eg: <IP_ADDRESS>
export SITE_URL_WITHOUT_HTTP={YOUR_SITE_URL_WITHOUT_HTTP} #eg: localhost
export SITE_URL_WITH_HTTP={YOUR_SITE_URL_WITH_HTTP} #eg: http://localhost
export SITE_NAME="{YOUR_SITE_NAME}" #eg: "My awesome website"
export ADMIN_USER={ADMIN_USER} #eg: admin
export ADMIN_PASSWORD={ADMIN_PASSWORD} #eg: JKo$@sfjASD00w
export ADMIN_EMAIL={ADMIN_EMAIL} #eg<EMAIL_ADDRESS>```

To set the SALT keys there are two alternatives:

I. Set random values through environment variable `SHUFFLE_SALT_KEYS`:

```bash
export SHUFFLE_SALT_KEYS=true
```

II. Set the corresponding values directly:

```bash
# Obtain random values from https://api.wordpress.org/secret-key/1.1/salt
export AUTH_KEY={YOUR_AUTH_KEY}
export SECURE_AUTH_KEY={YOUR_SECURE_AUTH_KEY}
export LOGGED_IN_KEY={YOUR_LOGGED_IN_KEY}
export NONCE_KEY={YOUR_NONCE_KEY}
export AUTH_SALT={YOUR_AUTH_SALT}
export SECURE_AUTH_SALT={YOUR_SECURE_AUTH_SALT}
export LOGGED_IN_SALT={YOUR_LOGGED_IN_SALT}
export NONCE_SALT={YOUR_NONCE_SALT}
```

3. Bootstrap a new project from this repo:

```bash
composer create-project leoloso/wp-install
```

4. Wait for a few minutes ☕😁
5. ✅ The site is installed under:

    - 👉WordPress site: `{YOUR_SITE_URL_WITH_HTTP}`
    - 👉WordPress admin: `{YOUR_SITE_URL_WITH_HTTP}/wp/wp-admin/`

## Credits

- [Leonardo Losoviz][link-author]

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

[link-author]: https://getpop.org

repository: tomschenkenberg/wp-install

repo_name: tomschenkenberg/wp-install


text:
# RNNCellInput

An input to a recurrent neural network.

``` swift
public struct RNNCellInput<Input: Differentiable, State: Differentiable>: Differentiable
```

## Inheritance

[`Differentiable`](/Differentiable)

## Initializers

### `init(input:state:)`

``` swift
@differentiable public init(input: Input, state: State)
```

## Properties

### `input`

The input at the current time step.

``` swift
var input: Input
```

### `state`

The previous state.

``` swift
var state: State
```


text:
---
layout: post
title: Future Proof Data Schemas
tags: [software, types, musing]
---

Challenge of any distributed application:
data format has to be decided upon
but if it changes in the future,
clients will be broken

Schemas
Much made of NoSQL and schemaless data.

Also, we embed the idea of single client servers.
So:
define schemas for data.
Distributre schemas.
Best: use a standard definition for the schema.
e.g. SQL data definitions.
Even better: codegen from standard defs
protobufs, cap'n proto
(others, but whatever)
xxx JSON xxx

Fields have data types
Data types change
Most common change: single value to list
Ergo: all values should be lists
Second most common (generalization of previous)
broadening type.
Ergo: use broadest unrelated types
or commit to narrow types.
e.g. always use `text` not `varchar(32)`
or always use timestamp-with-zone
and use midnight UTC for times "don't care"

The pitch for RDF
open world -> all values are lists
(clients have to handle up front)

repository: nyarly/blog

gha_language: Sass

repo_name: nyarly/blog


text:
Calico stores the operational and configuration state of your cluster in a central datastore. If the datastore is unavailable your Calico network continues operating, but cannot be updated (no new pods can be networked, no policy changes can be applied, etc.).

Calico has two datastore drivers you can choose from
- etcd - for direct connection to an etcd cluster
- Kubernetes - for connection to a Kubernetes API server

The advantages of using etcd as the datastore are:
- Allows you to run Calico on non-Kubernetes platforms (e.g. OpenStack)
- Allows separation of concerns between Kubernetes and Calico resources, for example allowing you to scale the datastores independently
- Allows you to run a Calico cluster that contains more than just a single Kubernetes cluster, for example, bare metal servers with Calico host protection interworking with a Kubernetes cluster; or multiple Kubernetes clusters.

For completeness, the advantages of using Kubernetes as the datastore are:
- It doesn't require an extra datastore, so is simpler to install and manage
- You can use Kubernetes RBAC to control access to Calico resources
- You can use Kubernetes audit logging to generate audit logs of changes to Calico resources.

repository: seilorjunior/calico

repo_name: seilorjunior/calico


text:
# Gobblerbot

![](https://github.com/alxlit/gobblerbot/raw/master/static/img/logo.png)

It's a bot (of sorts) that works on [Gobblerpedia], the student run Virginia
Tech wiki. Really it's a single-worker task queue with a minimal web interface.
It's all rather hacked together to be honest.

Still in development. You can see it online (maybe) [here](http://gobblerbot.alxlit.name/).

  * It's written in Python 2.7
  * It requires: [flask], [lxml], [mongodb], [pystache], [shovel], and
    [wikitools].

Note that `config.py` is in the `.gitignore` since it has the admin username
and password. Also note that some online resources, such as the [CDCD]'s master
building list, are only accessible to the Virginia Tech VPN.

[CDCD]:         http://www.cdcd.vt.edu
[Gobblerpedia]: http://gobblerpedia.org

[flask]:      http://flask.pocoo.org
[lxml]:       http://lxml.de/
[mongodb]:    http://mongodb.org
[pystache]:   https://github.com/defunkt/pystache
[shovel]:     http://github.com/seomoz/shovel
[wikitools]:  http://code.google.com/p/python-wikitools/

repository: alxlit/gobblerbot

repo_name: alxlit/gobblerbot


text:
Programmable Voice: Quickstart Application Server - Python
===
This repository contains the server-side web application required to run the [Twilio Programmable Voice iOS SDK Quickstart](https://www.twilio.com/docs/api/voice-sdk/ios/getting-started) and [Android SDK Quickstart](https://www.twilio.com/docs/api/voice-sdk/android/getting-started) mobile sample apps.

Looking for the Quickstart mobile app?

Download the client-side Quickstart Applications in Swift and iOS here:

- [Swift Quickstart Mobile App](https://github.com/twilio/voice-quickstart-swift)
- [Objective-C Quickstart Mobile App](https://github.com/twilio/voice-quickstart-objc)

Download the client-side Quickstart Application for Android here:

- [Android Quickstart Mobile App](https://github.com/twilio/voice-quickstart-android)

## Prerequisites

* A Twilio Account. Don't have one? [Sign up](https://www.twilio.com/try-twilio) for free!
* Follow the [iOS full quickstart tutorial here](https://www.twilio.com/docs/api/voice-sdk/ios/getting-started) or [Android full quickstart tutorial here](https://www.twilio.com/docs/api/voice-sdk/android/getting-started).

## Setting up the Application

Open the file `server.py`. Edit `ACCOUNT_SID`, `API_KEY`, `API_KEY_SECRET` with the values gathered above in the Android or iOS quickstart.

Next, install `pip` on your machine:

* [Python](https://www.python.org/) and `pip`

Once installed run the following command to install the required Python packages from within this project's parent directory:

    pip install -r requirements.txt

Once that's done you can start the server by executing:

    python server.py

Visit [http://localhost:5000](http://localhost:5000) to ensure the server is running.

### Up and running

This web application needs to be accessbile on the public internet in order to receive webhook requests from Twilio. [Ngrok](https://ngrok.com/) is a great options for getting this done quickly.

Once you have the application running locally, in a separate terminal window, make your server available to the public internet with the following:

    ngrok http 5000

You should see a dynamically generated public Ngrok URL in the command window. Ngrok will now tunnel all HTTP traffic directed at this URL to your local machine at port 5000.

### Test the app

Test your app by opening the `{YOUR_SERVER_URL}/accessToken` endpoint in your browser. Use the publicly accessible domain on ngrok. You should see a long string. This is an Access Token. You can examine its contents by pasting it into a JWT tool like [jwt.io](http://jwt.io).

## License

MIT

repository: twilio/voice-quickstart-server-python

repo_name: twilio/voice-quickstart-server-python


text:
---
layout: index
title: Multi-media
---

Inserting Pictures
------------------

You can show a picture using the "Show a picture" command. Let's make our "kitchen" room in the [tutorial game](tutorial/index.html) show a picture of a kitchen when we enter it.

First we need to find a picture of a kitchen.

-   You could use [Google Images](http://images.google.com), which will be fine for our demonstration – but bear in mind if you want to distribute images with your game, they must be images you've created yourself, or at least you must have permission from the copyright owner.
-   You could do an [advanced Flickr search](http://www.flickr.com/search/advanced/) to find images that are released under a Creative Commons licence - this often means you can include the image in your game as long as you credit the original author. Check which variant the author has used before including the picture in your game though.
-   A good website for royalty free images is [Wiki commons](https://commons.wikimedia.org/wiki/Main_Page).
-   Or you could just go to your own kitchen with a digital camera.
-   Or, since this is just a demonstration which you won't be publishing anywhere, you could find a picture of anything else at all.

Now select the "kitchen" room from the tree. Click the Scripts tab, and go to the "After entering the room" script. Add a "Show picture" command, and browse for your kitchen photo. The picture will be automatically copied to the same folder as your game file.

Now launch the game and go to the kitchen to verify that the picture is displayed with the room description.

Static Picture Frame
--------------------

If you want to use a picture for each room, creating a script for each one is a pain, and more importantly, you probably don't want the picture to scroll in-line with the rest of the game text.

Instead, you can use the static picture frame option. This provides a static area at the top of the screen for your picture, while the text scrolls underneath. You can change the picture using a script command, and you can also give each room its own picture.

If you want to have a picture per room, but some of the rooms will have no picture, you should turn on the "Clear picture panel if room has no picture" option. Otherwise, if you go to a room with no picture, the previous picture will still be shown in the frame.

If you click on any room and go to the "Room" tab, you'll see a "Room picture" editor at the top. Here you can browse for a picture file, and it will be copied to your game folder. You can also choose existing picture files from the drop-down.

You can also change the frame picture using a script, with the "Set frame picture" command.

Sound and Video
---------------

You can play a sound in a script using the "Play sound" command. Quest supports both WAV and MP3 files, but I recommend you use MP3 files as much as possible because these are more widely supported by web browsers on different platforms.

You can choose "Wait for sound to finish before continuing" if you want to run the remaining script only after the sound has finished. This is useful for intro sequences, or letting some speech finish before moving the player to a different room, for example.

The "loop" option will cause the sound to continue playing until the "Stop sound" command is run. Note that Quest won't let you use both the "wait" and "loop" options at the same time - hopefully for obvious reasons.

You can also embed video in your game via the "Scripts" tab. The video will appear in-line with the game text. You can embed videos from [YouTube](http://www.youtube.com) or [Vimeo](http://www.vimeo.com). You will need to specify the video id - you can usually see this easily in the URL of a video on the YouTube or Vimeo sites. For example you can find Jason Scott, Director of GET LAMP, on [GoogleTechTalks Channel](http://youtu.be/LRhbcDzbGSU). the Youtube ID is "LRhbcDzbGSU."

You can also find script commands to print an email or web address hyperlink.

repository: textadventures/quest

repo_name: textadventures/quest


text:
# Testrail API Client for java
[![Build Status](https://travis-ci.org/ppadial/testrail-api-client-java.svg?branch=master)]((https://travis-ci.org/ppadial/testrail-api-client-java.svg?branch=master)](https://travis-ci.org/ppadial/testrail-api-client-java))
[![Coverage Status](https://coveralls.io/repos/github/ppadial/testrail-api-client-java/badge.svg?branch=master)](https://coveralls.io/github/ppadial/testrail-api-client-java?branch=master)

# Use this api

Use this dependency in your maven config
```xml
<dependency>
  <groupId>com.github.ppadial</groupId>
  <artifactId>testrail-api-client</artifactId>
  <version>0.4.0</version>
</dependency>
```

# Project Status
This API currently support TestRail 5.4.0 API version.

## API Modules implementation status
| Module          | Status          | Notes | Reference |
| :---            | :----           | :---        | :--- |
| Cases           | Partially       | Update and Add pending | http://docs.gurock.com/testrail-api2/reference-cases |
| Case Fields     | Not Implemented | | |
| Case Types      | All Implemented | | |
| Configurations  | All Implemented | | |
| Milestones      | All Implemented | | |
| Plans           | All Implemented | | |
| Priorities      | All Implemented | | |
| Projects        | All Implemented | | |
| Results         | All Implemented | | |
| Result Fields   | Not Implemented | | |
| Runs            | Partially       | Update, Close, Add getRuns are pending | http://docs.gurock.com/testrail-api2/reference-runs |
| Sections        | All Implemented | | |
| Statuses        | All Implemented | | |
| Suites          | Partially       | Update and Delete pending | http://docs.gurock.com/testrail-api2/reference-suites |
| Templates       | All Implemented | | |
| Tests           | All Implemented | | |
| Users           | All Implemented | | |

# Project Information

This project follows the [Maven base POM](https://github.com/ppadial/mavenbase) archetype, see the instructions in
All the information about:
* Configure dependencies
* Maven commands & targets available

## Quick Start

Easy peasy
* Clone this repo: `git clone https://github.com/ppadial/testrail-api-client-java.git`
* Configure your maven system (settings.xml) as specified in [Maven base POM](https://github.com/ppadial/mavenbase)

Wanna use IntelliJ ?
* Open the pom.xml with intelliJ
* Use the maven projects to build it using install target

Wanna use Command line?
* `mvn install`

## Meta

Paulino Padial – [@ppadial](https://github.com/ppadial) – github.com/ppadial

Distributed under the MIT license. See [LICENSE](LICENSE) for more information.

[https://github.com/ppadial/testrail-api-client-java](https://github.com/ppadial/)

## Contributing

1. Fork it (<https://github.com/ppadial/testrail-api-client-java/fork>)
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request

<!-- Markdown link & img dfn's -->
[wiki]: https://github.com/ppadial/testrail-api-client-java/wiki

repository: Dyadko/testrail-api-client-java

gha_language: Java

repo_name: Dyadko/testrail-api-client-java


text:
# TinyAnalytics

<img src="http://gget.it/27cgzhtl/TinyAnalytics.png" width="900"/>

**TinyAnalytics** is a lightweight web analytics tool based on the idea that:

* The two most useful things are: **number of unique visitors per day** (with a nice chart) and **list of referers** who send some traffic to your websites,

* It should give the idea of the traffic, even for multiple websites, **on a single dashboard** (without having to click in lots of menu items to change the currently displayed website, etc.),

* It should be fast and lightweight.

If you're looking for more informations than those (such as country, browser, screen resolution, time spent on a page, etc.), then **TinyAnalytics** is not the right tool for you. Please try [Google Analytics](https://analytics.google.com), [Open Web Analytics](https://www.openwebanalytics.com/) or [Piwik](https://www.piwik.org/) instead. I personally found the two last ones [not very handy for me](http://josephbasquin.fr/aboutanalytics).

> After years, I've noticed that **I prefer to have few (important) informations that I can consult each day in 30 seconds**, rather than lots of informations for which I would need 15 or 30 minutes per day for an in-depth analysis.

## Install

There are three easy steps:

1) Unzip this package in a directory, e.g. `/var/www/TinyAnalytics/`.

2) Add the following tracking code to your websites at then end of `.php` files, e.g. `/var/www/mywebsite/index.php`:

    ~~~
    <?php
    include '/var/www/TinyAnalytics/tracker.php';
    record_visit('mywebsite');
    ?>
    ~~~~

3) Modify your password in the first lines of `index.php`. Default password is `abcdef`.

It's done! Visit at least one of your tracked websites, and open `TinyAnalytics/index.php` in your browser!

## About

Author: Joseph Ernest ([@JosephErnest](https://twitter.com/JosephErnest))

Other projects: [BigPicture](https://bigpictu.re), [bigpicture.js](https://github.com/josephernest/bigpicture.js), [AReallyBigPage](https://github.com/josephernest/AReallyBigPage), [SamplerBox](https://www.samplerbox.org), [Void](http://github.com/josephernest/void), [TalkTalkTalk](https://github.com/josephernest/TalkTalkTalk), [YellowNoiseAudio](https://www.yellownoiseaudio.com), [bloggggg](https://github.com/josephernest/bloggggg), etc.

Thanks to [WhiteHat](http://stackoverflow.com/users/5090771/whitehat) for his help on the chart visualization design.

## Sponsors and consulting

I am available for Python, Data science, ML, Automation consulting. Please contact me on https://afewthingz.com for freelancing requests.

Do you want to support the development of my open-source projects? Please contact me!

I am currently sponsored by [CodeSigningStore.com](https://codesigningstore.com/). Thank you to them for providing a DigiCert Code Signing Certificate and supporting open source software.

## Other versions

Here is [PHP-only version](https://github.com/benyafai/TinyAnalytics) contributed by @benyafai.

## License

MIT license

repository: josephernest/TinyAnalytics

repo_name: josephernest/TinyAnalytics


text:
autopojo [![Build Status](https://travis-ci.org/minnal/autopojo.png)](https://travis-ci.org/minnal/autopojo)  [![Coverage Status](https://img.shields.io/coveralls/minnal/autopojo.svg)](https://coveralls.io/r/minnal/autopojo)
========

Autopojo is a java library that can automatically populate the pojo objects. It provides a very simple interface and can be easily extended and customized.

What can you do with Autopojo?
------------------------------
Autopojo provides a simple interface to popuate a pojo class. You should be able to do,

```java
    AutoPojoFactory factory = new AutoPojoFactory();

    // Load a simple pojo class
    MySimplePojo object = factory.populate(MySimplePojo.class);

    // Load a nested pojo class
    NestedPojo object = factory.populate(NestedPojo.class);

    // Load `n` levels of nested pojo class
    NestedPojo object = factory.populate(NestedPojo.class, 3);

    // Load a generic pojo
    GenericPojo<String, Long> object = factory.populate(NestedPojo.class, String.class, Long.class);

    // And you can load a collection too
    List<SimplePojo> list = factory.populate(List.class, SimplePojo.class);

```

Getting Started
---------------
### Setting Up Maven

Autopojo is available as a Maven artifact and should be fairly simpler to integrate with your application. Just add the below maven dependency to your pom.xml file,

```xml
   <dependencies>
     <dependency>
       <groupId>org.minnal</groupId>
       <artifactId>autopojo</artifactId>
       <version>0.0.8</version>
     </dependency>
   </dependencies>

   <repositories>
     <repository>
       <id>autopojo-repo</id>
       <url>https://raw.github.com/minnal/mvn-repo/master/releases</url>
       <snapshots>
         <enabled>true</enabled>
         <updatePolicy>always</updatePolicy>
       </snapshots>
     </repository>
   </repositories>
```

If you are on a non-maven project, you will have to include these additional dependencies in addition to activejpa-core,

* commons-lang3-3.1.jar
* commons-math3-3.2.jar
* guava-14.0.1.jar
* commons-beanutils-1.8.3.jar
* slf4j-log4j12-1.7.5.jar

### Customizing pojo generation
You can pass on custom configuration to the AutoPojoFactory and control the pojo generation,

```java
      Configuration configuration = new Configuration();
      configuration.setStringPrefix("ID");
      configuration.setStringLength(10);
      configuration.setIntegerMinValue(100);
      configuration.setIntegerMaxValue(300);
      AutoPojoFactory factory = new AutoPojoFactory(configuration);
      ....
      ....
      factory.populate(...);
```

### Registering custom resolvers
There could be cases where you want to generate a pojo for custom classes. Create a custom resolver is as simple as extending the abstract resolver,

```java
      public class MyCustomClassResolver implements AttributeResolver {

          public void init(GenerationStrategy strategy, Configuration configuration) {
        	}

          public void resolve(Object pojo, AttributeMetaData attribute, int maxDepth) {
          }

          public Object resolve(Class<?> clazz, int maxDepth, Type... genericTypes) {
          }
      }
```

And register the resolver to the strategy as below,

```java
      GenerationStrategy strategy = new GenerationStrategy(new Configuration());

      // The resolver will resolve all the sub classes of MyCustomClass as well
      strategy.register(MyCustomClass.class, MyCustomClassResolver.class);
```

License
-------
Autopojo is offered under Apache License, Version 2.0

repository: minnal/autopojo

repo_name: minnal/autopojo


text:
# Change log

## [v0.2](https://github.com/araines/serverless-php/tree/0.2)
* Add Context object and pass it in to the handle method, making the interface
more similar to native languages.
* Made several services private for small performance benefit.
* Logger added to the Context object to operate in the same style as Java.
* Example HelloHandler altered to use new interface and get logger from context
instead of from an injected service (although both ways would still work).

## [v0.1](https://github.com/araines/serverless-php/tree/0.1)
Initial project set up.

repository: chris-hamper/serverless-php

repo_name: chris-hamper/serverless-php


text:
# mapintegratedvuer

This project aims to provide an application to visually navigate anatomical entities to  discover functional and physiological datasets
from organ-specific neural circuitry.

## mapintegratedvuer on NPM

mapintegratedvuer is available on npm and can be installed into your project with the following command:
```bash
npm i @abi-software/mapintegratedvuer
```

## Project setup
```
npm install
```

### Compiles and minifies for production
```
npm run build-bundle
```

## How to use
Install the package in your vue app project with the following command "npm i @abi-software/mapintegratedvuer".
Import the package in your script as followed:
```javascript
import '@abi-software/mapintegratedvuer';
import<EMAIL_ADDRESS>```

The codes above register the MapContent component in the global scope.
You can now use the MapContent in your vue template as followed:
```html
<MapContent />
```

## Project setup from Github

The source code is available from Github, it can be found here: https://github.com/ABI-Software/mapintegratedvuer .

### Clone the respositroy
```bash
git clone https://github.com/ABI-Software/mapintegratedvuer
```

### Setup
```bash
npm install
```

### Create an instance
```bash
npm run serve
```

### Compiles and minifies for production
```bash
npm run build-bundle
```

## Example
The following pagedemonstrates the mapintegratedapp in action: https://mapcore-demo.org/current/sparc-app/maps

repository: KZzizzle/mapintegratedvuer

repo_name: KZzizzle/mapintegratedvuer


text:
---
title: What is the roadmap of the platform
---

# What is the roadmap of the platform?

Our goal is to offer the world's best event platform using Free and Open Source Software (FOSS). Our roadmap to achieve this depends on a number of factors. These include user feedback and available resources.

Due to the current situation where many events are held online we focus on developing online event features such as integration with video tools and streaming platforms.


text:
### [CVE-2021-45103](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45103)
![](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

An issue was discovered in HTCondor 9.0.x before 9.0.10 and 9.1.x before 9.5.1. An attacker can access files stored in S3 cloud storage that a user has asked HTCondor to transfer.

### POC

#### Reference
No PoCs from references.

#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/EGI-Federation/SVG-advisories

repository: trickest/cve

repo_name: trickest/cve


text:
# ICE Cipher implementation for PHP
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FAN3Orik%2Fphp-icekey.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FAN3Orik%2Fphp-icekey?ref=badge_shield)

Original source: http://www.darkside.com.au/ice/

# Usage example
```
// ICE Key initialize
$iceKey = new IceKey(0, array(0x11, 0x22, 0x33, 0x44, 0x54, 0x55, 0x66, 0x77));
// Bytes to encrypt
$plainBytes = array(0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x10);
// Encrypt bytes
$cryptedBytes = iceKey->encrypt($plainBytes);
// And decrypt back
$plainBytes2 = iceKey->decrypt($cryptedBytes);
```

## Install

Install of the library and its dependencies via [Composer](http://getcomposer.org/).

``` bash
composer require an3o/php-icekey
```

## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FAN3Orik%2Fphp-icekey.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FAN3Orik%2Fphp-icekey?ref=badge_large)


text:
## Dotfiles

#### What's included

- [Zsh configuration](zshrc)
- [Vim configuration](vimrc)
- [Git configuration](gitconfig)
- [Rubocop configuration](rubocop.yml)
- Cross platform bootstrap script ([mac](bin/bootstrap/macos), [debian](bin/bootstrap/linux), [windows](bin/bootstrap/windows.bat))
- Application bootstrap ([list](Bootstrapfile))

#### Installation

1. Clone the repo:

```sh
git clone https://github.com/gmcgibbon/dotfiles ~/dotfiles
```

2. Run this the bootstrap script for your platform:

```sh
~/dotfiles/bin/bootstrap/{platform} # where {platform} is your OS
```

3. Change your shell to `zsh`:

```sh
chsh -s $(which zsh)
```

repository: gmcgibbon/dotfiles

repo_name: gmcgibbon/dotfiles


text:
# Example 3

This example shows how you could use the braid protocol to do realtime
collaborative editing using operational transform.

Compared to example 2, this adds some new Stuff:

- Versions. Each operation is versioned on the server
- IDs. Each operation is assigned an ID in the client. These are used for 2
  reasons:
  - The server uses the ID for deduplication (in case messages get resent with
    bad internet)
  - The client uses the ID to detect (and discard) its own operations in the
    operation stream
- OT. This example does full Operational Transformation in the server and
  client.

This example is currently a sketch - most of the logic here is hairy and
extremely difficult to implement correctly. Application authors probably
shouldn't be doing it! This code should / will be tucked into another library.

## How to run this example

Either compile and then run:

```
npx tsc # (Or npx tsc -w)
node dist/server.js

# and in another terminal
node dist/client.js
```

Or use ts-node:

```
npx ts-node dist/server.js

# and in another terminal
npx ts-node dist/client.js
```

Each time you run the client it'll insert a new 'post' in the 'database'.

license: ISC

repository: remaininlight/braid-protocol

repo_name: remaininlight/braid-protocol


text:
# vim-poly-header
A vim header for programming projects at Poly, forked from pbondoer's 42header

![header image](https://imgur.com/lToMWk0.png)

## Features
* Elegant trimming of long strings
* Updates filename line when changed
* Updates "Updated" line only when buffer is changed
* Works with all formats that default supports
* Binds to `F1` for easy access
* Overrides `:Stdheader`

## Usage
In ember, simply
```
git clone https://github.com/polyprogrammingclub/vim-poly-header
cd vim-poly-header
/bin/bash ember_install.sh
```

Copy `poly-header.vim` to your `~/.vim/plugin` folder. Set $USER and $MAIL

As a simple fix, you may add the line to your shell profile
```
# working command example
git clone https://github.com/polyprogrammingclub/vim-poly-header
cd vim-poly-header
cp plugin/poly-header.vim ~/.vim/plugin

# in ssh when working in ember
echo "export<EMAIL_ADDRESS>>> ~/.bashrc
```

### vim-plug
If you use vim-plug or any other plugin manager, simply add this line to your
plugin initialization:

```vim
Plug 'vim-poly-header/vim-poly-header'
```

## Acknowledgements
[pbondoer@42.fr](pbondoer@42.fr), for creating the header!

[vim-42header](https://github.com/pbondoer/vim-42header), the improved original

[42.fr](https://www.42.fr)

[42.us](https://www.42.us.org/)


text:
---
title: StochasticFastIndicator
page_title: StochasticFastIndicator
description: Check our "StochasticFastIndicator" documentation article for the RadChartView {{ site.framework_name }} control.
slug: radchartview-indicators-stochasticfastindicator
tags: financial, indicators, stochasticfastindicator
publish: True
position: 17
---

# StochasticFastIndicator

StochasticFastIndicator shows the location of the close relative to the high/low range over a number of periods.

To set up the indicator you can set its __CategoryBinding, HighBinding, LowBinding, CloseBinding, and ItemsSource__ properties. Additionally, you can control the period (in days) over which the indicator will be applied. To do this set the __SignalPeriod__ and __MainPeriod__ properties.

To display the signal period you will need to set the __SignalStroke__ property.

#### __[XAML] Example 1: Defining StochasticFastIndicator__
{{region radchartview-indicators-stochasticfastindicator-0}}
	<telerik:RadCartesianChart.Indicators>
		<telerik:StochasticFastIndicator MainPeriod="14"
										 SignalPeriod="3"
										 SignalStroke="Black"
										 CategoryBinding="Date"
										 HighBinding="High"
										 LowBinding="Low"
										 CloseBinding="Close"
										 ItemsSource="{Binding Data}"/>
	</telerik:RadCartesianChart.Indicators>
{{endregion}}

#### Figure 1: StochasticFastIndicator
<img src="images/radchartview-indicators-stochasticfastindicator-0.png" style="width: 80%;">

> __Figure 1__ shows 2 instances of RadCartesianChart. The top one shows only the candlestick series that displays the original data. The chart on the bottom shows the indicator.

>tip The indicator can be set up the same way as a normal [chart series]({%slug radchartview-series-chartseries%}). This is why you can populate it using the same approach as shown in the [Data Bind to Data-Object]({%slug radchartview-series-databinding%}) article. You can set the corresponding value binding properties - for example, ValueBinding, CategoryBinding, HighBinding, CloseBinding, etc, and also the ItemsSource.

## See Also
* [Indicators Overview]({%slug radchartview-indicators-overview%})
* [Getting Started]({%slug radchartview-introduction%})

repository: telerik/xaml-docs

repo_name: telerik/xaml-docs