text:
# Nursing Home Performance
![](https://img.shields.io/badge/python-3.7-blue)
![](https://img.shields.io/badge/scikit--learn-0.23.1-blue)
![](https://img.shields.io/badge/pandas-1.0.5-blue)
![](https://img.shields.io/badge/seaborn-0.10.1-blue)
![](https://img.shields.io/github/license/adityavyasbme/Nursing_Home_Performance)

This is a data analysis project focusing on finding a correlation between Nursing Home's Star Rating (Given by Government), and it's actual performance based on the data they reported.

# Dataset

Download the dataset from here -

[COVID-19 Nursing Home Dataset](https://data.cms.gov/Special-Programs-Initiatives-COVID-19-Nursing-Home/COVID-19-Nursing-Home-Dataset/s2uc-8wxp)

[Star Rating](https://data.medicare.gov/Nursing-Home-Compare/Star-Ratings/ax9d-vq6k) - Child of
[Provider Info](https://data.medicare.gov/d/4pq5-n9py) Dataset.

# Intuition
Here's the detailed intuition of the code

## Star_Rating.ipynb

- Feature 'Processing Date' is the same for all the rows, therefore, can be dropped
- Provider Name can have similar names; For example, 'MILLER'S MERRY MANOR' is being repeated 30 times, but all have different Federal Provider Number (FPN), and also all have separate addresses too [Verified]. All the providers in this dataset have a unique FPN.
- A lot of the ratings are missing.
- The given dataset consists of Rating Footnote instead of Rating; these footnote values are usually 1,12,18, which generally is given to the facility, which has low/erroneous/irrelevant data. Therefore, to fetch the initial rating, I chose to use its parent dataset.
Check this [link](https://www.medicare.gov/hospitalcompare/data/Footnotes.html) for more details on footnotes.
- In the second part, I focused on getting the Provider Info dataset, i.e., the original data source of "Star Rating Dataset."
I matched both the datasets to check for inconsistency.

## COVID-19_Nursing_Home_Dataset.pynb
### Part 1
- Focused on studying the second dataset and making some Assumptions
- There are multiple instances of the same Federal Provider Number (FPN)
- FPN is a six-digit number

- Assumptions
```diff
- It’s being mentioned on the CMS website that the data might be inaccurate in
- some instances, but later it will be taken care of; therefore, it is
- assumed that all the given data is accurate at this moment.
+ For some of the analyses, only those data will be considered
+ if they have passed a quality assurance check.
- First-week data can be ignored as the facility may not be
- familiar with data inputting; therefore, it is subject to error.
```

### Part 2
- Extracting the dataset of each facility (Pre-Processing Phase)
- The task at hand is to extract the dataset based on FPN
- The next task is to implement assumptions and cleaning the dataset
- Remove data that does not have passed quality assurance check
- Remove the first entry of data from a facility, or it can be modified to remove date containing 05/24/2020 as it might contain data from 01/01/2020.
- The Data might have different data types, therefore, convert all to numeric

### Part 3 Feature Selection
- As there are multiple features and for dimensionality reduction, I will use Feature selection.
- LassoCV from the sklearn library is used to filter top ‘n’ features based on thresholding.

## Analysis.pynb
- All the code is merged into a single file – [common.py](common.py)
- To study the correlation between features and facility rating, Lasso CV Regression is used to find top ‘n’ features that affect the individual ratings. (n=10)
- The given data is studied and can be visualized with the Heatmap

![Heatmap](https://github.com/adityavyasbme/Nursing_Home_Performance/blob/master/heatmap.png)

### Insights
- The text in red, blue, and brown are features that I believe might be correlated to each other in some way. Therefore, it can be used as a primary general classification to validate our results. We can make more groups for validation based on real-world experience.
- If we check red ones, only a few of them are selected, as these are features that might be correlated. Therefore, it is dropped by lasso. "Resident COVID-19 Deaths" and "Resident access to testing in the facility" directly affect the star rating of a facility.
- Another popular feature is the "shortage of Aides," which only affects staffing, QM, and RN Staffing rating. In parallel, "Shortage of Nursing staff" affects most of the evaluation.
- I expected "Total Resident COVID-19 Deaths Per 1,000 Residents" to be the most critical vector; however, it has been selected just once. This indicates that deaths per 1000 residents do not affect the star rating of a facility by a significant amount, but cases per 1000 residents might affect Staffing and RN Staffing rating.
- "One-week supply of gown" is not an essential feature compared to the "One week supply of gloves."
- "Staff Total Confirmed COVID-19" and "Shortage of Nursing Staff" as expected directly affects staffing rating.
 - "Current supply of ventilator" affects overall rating and, in general, affects health inspection and QM rating.
- Key Feature
  1. "Total Number of Occupied Beds" and "Number of All Beds" are selected most, which means the availability of beds is an important feature.
   2. Also, there is a positive correlation between "No. of occupied beds" to "No. of Beds." Comparing graphs of Rating 1 and Rating 5, it can be said that there is a significant difference in their slopes; that is, we can use this as one of the critical characteristic features to look upon for comparative studies.

## Future Works
- Also, the data is divided into five parts based on the grouping of "Overall Rating," and individual feature selection is applied. There is room for more analysis, as we can generate a characteristics map of each rating group, for example, Facilities with five stars "Overall rating" will also have high "Health Inspection Rating" then as compared to facilities with 1 star "Overall rating." Therefore, this transformed data can be used for future comparative study.
- The results can be reproduced and optimized for better performance with Cython and dynamic memory management.
- Future work can be more focused on applying machine learning models to study the relation between two (or more) features and Its contribution to Facility’s Star rating.
- The feature "Geolocation" was dropped because it is a separate analysis.

## License
[MIT](LICENSE)


text:
---
layout: post
title: "Setup Rebble Web Services"
prompt: "I need help setting up Rebble Web Services"
date:   2021-02-01 07:14:42
author: "Will0"

osSpecific: true
os: ios
---

# Connect your Pebble to its charger

Connect your Pebble to the plugged in USB charging cable. You really wouldn't want it to lose power in the middle of a firmware update! Once the watch is powered on, press the button on the left of your Pebble smartwatch to dismiss the charging screen.

# Install the app from the App Store

On your iPhone, download the Pebble app from the App Store:

[App Store Link](https://itunes.apple.com/en/app/pebble/id957997620?mt=8)

<notmobile>

or via this QR code:

<qr url="https://itunes.apple.com/en/app/pebble/id957997620?mt=8" />

</notmobile>

# Open the Pebble app

If prompted, allow the Pebble app to turn on Bluetooth.

![](/images/ios/setup1.png)

# Skip the sign in page

The old sign in page (now blank) should be shown.

![](/images/ios/setup2.png)

Press **SKIP** in the top left.

# Choose dictation language

Choose your dictation language. (This only works if you sign up for a [Rebble subscription.](/subscription))

![](/images/ios/setup3.png)

# Choose the type of Pebble you have

![](/images/ios/setup4.png)

iOS then should open the accessory pairing screen. Wait a moment, then select your Pebble.

![](/images/ios/setup5.png)

# Wait for any updates

If required, your watch will now update. Just wait for this to complete, then go to the next step.

![](/images/ios/setup7.png)

# Select the dictation language

Choose your dictation language. (This only works if you sign up for a [Rebble subscription.](/subscription))

![](/images/ios/setup8.png)

# Allow LE pairing

Allow the Pebble app to pair with your watch in Low Energy (LE) mode.

![](/images/ios/setup10.png)

# Enable push notifications

Enable notifications to see notifications on your Pebble smartwatch.

![](/images/ios/setup12.png)

# Allow location access

Press 'Allow Once'. You'll need to change this to 'Always' later for certain Pebble functionality to work, like local weather.

![](/images/ios/setup13.png)

# Setup calendars and Pebble Health

Run through the Calendar and Pebble Health screens. Note that enabling these is optional, but recommended.

![](/images/ios/setup14.png)

![](/images/ios/setup15.png)

# Finish configuring your Pebble

Once you get to this screen, you've finished part 1 - connecting your Pebble!

![](/images/ios/setup16.png)

All that's left to do now is set the location permission and connect it to Rebble Web Services.

# Allow location

Open your iPhone's settings and look for "Privacy." Then, open the "Location Services" section.

A list of your apps should load. Find the Pebble app here.

Set the location permission to 'Always'. This is required for things like watchface weather.

![](/images/ios/setup17.png)

# Open auth.rebble.io

On the phone, open a decent browser (like Safari, Chrome, or Firefox), and go to auth.rebble.io.

<notmobile>
    <qr url="https://auth.rebble.io" />
</notmobile>

You should be greeted with a number of ways to sign in.

![](/images/ios/setup18.png)

Choose one and sign in. *Remember your sign in credentials!*

You'll be returned to the Rebble website, and be greeted with *You're all set!*

# Press 'Switch to Rebble'

Read the page, then tap the Switch to Rebble button. If you get a prompt, accept it.

The Pebble iOS app should open. If you get the 'Configuration change' prompt, press 'Change'.

![](/images/ios/boot1.png)

**Wait at least fifteen seconds** before proceeding to the next step.

# Tap the exclamation mark

After waiting, tap the yellow exclamation mark in the top left of the screen ![icon](/images/ios/boot4.png)

You should see this menu.

![](/images/ios/boot2.png)

Press "Log in."

# You're done

You should now see this screen:

![](/images/ios/boot3.png).

Press **IT'S REBBLE TIME**.

# You’re done!

![noborder](/images/setup/13.png)

You’re done! If you'd like to, tap the big “+” in the lower right corner and find and install watchfaces you like from the Rebble appstore.

If you want to use dictation, want weather in the included Weather app, want weather in your Timeline, and want to support us, check out our $3/month [Rebble subscription!](/subscription)

license: MIT

repository: lolrepeatlol/rebble-help

branch_name: refs/heads/master

extension: md

gha_language: JavaScript

gha_license_id: MIT

license_type: permissive

repo_name: lolrepeatlol/rebble-help


text:
# Korea History Frontend

## Prerequisites

- Node.js >= 8.x (Recommended the latest version)

## Install

```
npm install
```

## Start

```
npm start
```

repository: qvil/korea-history

repo_name: qvil/korea-history


text:
# WoLiBaFoNaGen

Word List Based Font Name Generator

![](https://github.com/jenskutilek/WoLiBaFoNaGen/blob/master/images/screenshot-mac.png)

## Development

Install the dependencies before you can run or build WoLiBaFoNaGen, preferably
in a virtual environment:

```bash
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements-dev.txt
```

Run:

```bash
$ python3 WoLiBaFoNaGen.py
```

Build and debug as a Mac app:

```bash
$ make debug
```

Build the Mac app for distribution:

```bash
$ make dist
```

## Outdated information

### Windows

Those instructions have not been updated for Python 3 yet.

Build the Windows app:

```bash
$ pip install cx_Freeze
$ python cxsetup.py build
```

On Windows, [some additional DLLs](http://cx-freeze.readthedocs.io/en/latest/faq.html#microsoft-visual-c-redistributable-package) may be required to run the "frozen" version of the app.

repository: jenskutilek/WoLiBaFoNaGen

gha_language: Python

repo_name: jenskutilek/WoLiBaFoNaGen


text:
---
date: 2020-05-26
title: Add New Dependencies
technologies: [javascript]
topics: [editing]
author: er
subtitle: WebStorm can help you add a new dependency.
seealso:
- title: 10 WebStorm shortcuts you need to know
  href: https://blog.jetbrains.com/webstorm/2015/06/10-webstorm-shortcuts-you-need-to-know/
thumbnail: ./thumbnail.png
cardThumbnail: ./card.png
screenshot: ./tip.png
leadin: |
  To quickly add a new dependency to your project, add an import statement first, then hit *Alt+Enter*, and click *Install and add to dependencies/devDependencies in package.json*.

branch_name: refs/heads/main


text:
# AWS Serverless React App

A reference project to deploy a serverless, full-stack React app onto AWS with Terraform. Inspired by [this](https://www.youtube.com/watch?v=Bro0uFVDrWY) YouTube tutorial by Code Engine

A to-do list app which allows users to create, and read to-do's from DynamoDB

![AWS Architecture](images/aws_react_serverless4.JPG)

## Pre-requisite

- Make sure you have installed [Terraform](https://learn.hashicorp.com/tutorials/terraform/install-cli), [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-mac.html#cliv2-mac-prereq), and configured a `default` AWS CLI profile (see doc [here](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html#cli-configure-quickstart-profiles))

```bash
terraform -help # prints Terraform options
which aws # prints /usr/local/bin/aws
aws --version # prints aws-cli/2.0.36 Python/3.7.4 Darwin/18.7.0 botocore/2.0.0
aws configure # configure your AWS CLI profile
```

## Configuration

- Create a Github project, and generate a personal access token (see doc [here](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token))

- Create an [S3 bucket](https://www.terraform.io/docs/language/settings/backends/s3.html) to store Terraform state. Populate bucket name in `01-main.tf`

- Populate `terraform.tfvars`:

```bash
default_region      = "<YOUR_AWS_DEFAULT_REGION>"
github_username     = "<YOUR_GITHUB_USERNAME>"
github_project_name = "<YOUR_GITHUB_PROJECT_NAME>"
app_name            = "<GIVE_YOUR_APP_A_NAME!>"
environment         = "<ENVIRONMENT_NAME>"
```

## Deploy

```bash
cd deploy # change to deploy directory
terraform init # initialises Terraform
terraform apply # deploys AWS stack. See output for app url
terraform destroy # destroys AWS stack
```

- When prompted for `github_token`, provide the value and hit Return. Alternatively, create a [local environment variable](https://www.terraform.io/docs/language/values/variables.html#environment-variables) named `TF_VAR_github_token`

## Contributing

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

Please make sure to update tests as appropriate.


text:
# Examples of usage for `boa_engine`

In this crate you can find examples of the usage of the Boa JavaScript engine. The simplest
example can be found in the [loadstring.rs](./src/bin/loadstring.rs) file. A similar example
that uses JavaScript stored in a file can be found in [loadfile.rs](./src/bin/loadfile.rs).

You can also find examples of specific Rust APIs for arrays, maps, sets, typed arrays and much
more.

license: MIT,Unlicense

repository: boa-dev/boa

detected_licenses: MIT Unlicense

gha_language: Rust

repo_name: boa-dev/boa


text:
XP Compiler ChangeLog
========================================================================

## ?.?.? / ????-??-??

## 7.1.1 / 2016-10-01

* Fixed forward compatibility with PHP 7.1. It was really only unittests
  failing though; see https://bugs.php.net/bug.php?id=73217
  (@thekid)

## 7.1.0 / 2016-10-01

* Added version compatibility with XP 8 - @thekid

## 7.0.1 / 2016-05-01

* Fixed `module.xp` being treated as class with XP language - @thekid

## 7.0.0 / 2016-02-22

* Added version compatibility with XP 7 - @thekid

## 6.0.1 / 2016-01-24

* Adjusted test code after xp-framework/rfc#297 was implemented
  (@thekid)

## 6.0.0 / 2016-01-23

* **Adopted semantic versioning. See xp-framework/rfc#300** - @thekid
* Implemented "compile" subcommand for new xp-framework/rfc#303 runners
  (@thekid)
* **Heads up**: Removed support for extension methods at runtime. They no
  longer exist in XP7 as per xp-framework/rfc#298
  (@thekid)
* Fix code to use `nameof()` instead of the deprecated `getClassName()`
  method from lang.Generic. See xp-framework/core#120
  (@thekid)

## 5.0.1 / 2015-12-20

* Replaced deprecated ensure() with a finally statement, creating forward
  compatibility with XP 6.9.0. See xp-framework/core#111
  (@thekid)

## 5.0.0 / 2015-12-13

* **Heads up**: Changed minimum XP version to run the XP compiler to XP
  6.5.0, and with it the minimum PHP version to PHP 5.5
  (@thekid)

## 4.1.0 / 2015-12-09

* Normalized types when checking for extension methods so all variants
  of api doc `@param` tags, parameter type syntax and dotted as well as
  PHP fully qualified and unqualified parameter names work.
  (@thekid)

## 4.0.1 / 2015-12-09

* Rewrote code to use `literal()` instead of `xp::reflect()`. See
  xp-framework/rfc#298
  (@thekid)

## 4.0.0 / 2015-11-08

### PHP 5.6

* Implemented power operator `**` in PHP syntax - @thekid

### PHP 5.5

* Merged PR #43: Add support for `::class` resolution - @thekid
* Allowed dereferencing of constant arrays and strings - @thekid
* Changed ARM blocks to use try / finally in PHP 5.5+ - @thekid
* Changed code to emit native `finally` statement in PHP 5.5+ - @thekid
* Merged PR #40: support for generators / yield - @thekid
* Changed default emitter to "php5.5" - @thekid

### PHP 5.4

* Merged PR #46: Add function type syntax - @thekid
* Merged PR #45: Make lambda capturing explicit when using PHP - @thekid
* Merged PR #44: Implement short array and map syntax in PHP - @thekid
* Merged PR #41: Fix capturing of local variables in lambdas - @thekid

### Other

* Fixed forward compatibility with XP 6.6.0 - @thekid

## 3.0.0 / 2015-08-16

### Added support for PHP7

* Replaced String classes used in test suite as "string" is reserved as
  [type name in PHP7](https://wiki.php.net/rfc/scalar_type_hints_v5).
  (@thekid)
* Rewrote tests verifying exceptions are raised for argument type
  mismatches to work in both PHP 5.x *and* PHP 7.X.
  (@thekid)

### Fixed issue #39: HHVM support

* Fixed sscanf() incompatibilities - HHVM doesn't support `%*` for not
  assigning variables. Worked around by supplying dummy variables.
  (@thekid)
* Added a native importer which doesn't verify extensions. HHVM does
  not group functions into extensions like PHP does.
  (@thekid)

### Removed support for PHP 5.2 and PHP 5.3

* Added new PHP 5.4 the default emitter, which emits `new T().method()`
  as `(new T())->method()` instead of wrapping it in the deprecated
  `create` core functionality.
  (@thekid)
* Removed PHP 5.2 and 5.3 emitters, using `-E php5.2` or `-E php5.3`
  on the command line will produce an error!
  (@thekid)

### Other improvements

* Improved performance when loading supported syntaxes by deferring
  parser and lexer instantiation until when first needed.
  (@thekid)

## 2.1.0 / 2015-08-16

* Adopted to newer XP versions by no longer using deprecated functionality:
  . Replaced `uses()` call with class loader API call
  . Replaced `raise()` with reflection-based creation statement
  . Changed `delete()` call to use `unset` language construct.
  (@thekid)

## 2.0.0 / 2015-03-01

* Made available via Composer (@thekid)
* **Heads up**: Changed minimum XP version to run the XP compiler to XP
  6.0.0. It can still generated code to run on XP 5.X-SERIES, but will
  require 6.X-SERIES to run itself (@thekid)
* Added possibility to add default values to lambda parameters. See
  xp-lang/compiler#38 - (@thekid)
* Fixed compiler choking on methods with generic return types (@thekid)
* Allowed omitting the parameter type inside method declarations. The type
  will then be set to `var` and will be unchecked at runtime (@thekid)
* Changed syntax for lambdas from `#{ $a -> $a + 1 };` to `$a -> $a + 1;`,
  after resolving the grammar conflicts the former was avoiding. The old
  form is still supported but will raise compile-time warnings. It will be
  removed in the next major release.
  (@thekid)
* Changed PHP 5.3 emitter to emit PHP 5.3 anonymous functions for lambdas
  (@thekid)
* Merged pull request #37 to solve issue #36: Support "new T()", "T::const"
  and "T::$static" inside annotations - (@thekid)
* Added backwards compatible emitter (-E php5.2) to create non-namespaced
  code for use with XP 5.8 and PHP 5.2 - (@thekid)
* Changed default behaviour to creating namespaced code (compatible with
  XP 5.9 and PHP 5.3+) - (@thekid)
  http://news.planet-xp.net/article/551/2013/10/10/
* Changed "-E" command line argument to support versions: `-E name` will
  load xp.compiler.emit.name.Emitter, `-E name60` will load the class
  xp.compiler.emit.name.V60Emitter - (@thekid)
* Changed all emit*() methods in xp.compiler.emit.Emitter to protected
  (@thekid)

## 1.11.1 / 2013-10-06

* Changed runner to create unique class names in `xcc [-e|-w]` for testing
  reasons - (@thekid)
* Fixed anonymous instance creation to create unique class names, thus
  preventing "Fatal error: Cannot redeclare class ..." errors.
  (@thekid)

## 1.11.0 / 2013-10-05

* Heads up: Changed xp.compiler.types.Types implementations to return an
  array of Parameter objects holding name, type and optional default value
  instead of just the parameters' types - (@thekid)
* Made error message more verbose when syntax cannot be determined from
  file referenced by command line argument - (@thekid)
* Fixed Fatal error: Class 'xp\compiler\ClassLoader' not found when using
  command line argument `-cp` - (@thekid)

## 1.10.4 / 2013-06-02

* Fixed properties inconsistency - see pull request #35 (@thekid)
* Implemented RFC 250: Static member import syntax change (@thekid)

## 1.10.3 / 2013-05-27

* Implemented RFC 274: XP Language Repository reorganization (@thekid)

## 1.10.2 / 2013-05-20

* Implemented RFC 273: ChangeLog formatting - (@thekid)
* Fixed issue #32 - Fatal error during compilation (@thekid)

## 1.10.1 / 2013-05-14

* Changed emitter command line argument from "-e" to "-E"! See pull
  request #30 - "-e" is now for command line code evaluation. - (@thekid)
* Implemented RFC 0249: Exponentiation operator - (@thekid)
* Implemented RFC 0238: xcc -e and xcc -w (command line code evaluation) - (@thekid)
* Fixed `this()` core functionality not being correctly resolved - (@thekid)
* Fixed fatal error in toString() of xp.compiler.types.* member classes - (@thekid)
* Fixed bug in PHP syntax with concatenation operator precedence - (@thekid)
* Fixed issue #31: Backslash in XP Language not considered a syntax error - (@thekid)
* Added command line option "-q" which will show only compilation errors - (@thekid)

## 1.10.0 / 2013-05-12

* Changed tests using `foreach` to use @values annotation. Requires
  parameterized unittest feature (RFC 0267) and thus XP 5.9.1 - (@thekid)
* Converted the code base to namespaces - (@thekid)
* Implemented RFC 0252: Fluent interface compact syntax - (@thekid)
* Implemented RFC 0241: Compact method syntax - (@thekid)
* Implemented RFC 0240: Compact assignment syntax - (@thekid)
* Fixed issue #25: Resolving abstract enum members fails - (@thekid)
* Fixed various errors resulting from the conversion of the code base
  to namespaces. Most typical: catch (Throwable $e) not catching any-
  thing, because the name "Throwable" is not present in this namespace. - (@thekid)
* Fixed issue #24: Fatal error with PHP 5.3.0 - (@thekid)
* Fixed PHP 5.3 namespaces fully qualified class names - (@thekid)
* Changed TypeReflection to determine enum member type correctly
  See pull request #23 - (@thekid)
* Implemented the navigation operator `?.` - see pull request #13 - (@thekid)

## 1.9.0 / 2013-05-05

* Gave the GitHub repository's homepage a makeover, adding installation,
  usage and contribution overviews and a small sourcecode example. See
  https://github.com/xp-framework/xp-language - (@thekid)
* Changed code no longer to use xp::$registry but instead the flattened
  version. This bumps the minimum XP Framework version to XP 5.9.0.
  See also https://github.com/xp-framework/xp-framework/pull/270 - (@thekid)
* Version now detached from framework - XP compiler v1.9.0 will be the
  correct version for XP Framework v5.9.0 - (@thekid)
* Implemented RFC 0260: XP 5.9 as default branch - (@thekid)
* Work around uniqid() no longer generating unique ids.
  See https://github.com/xp-framework/xp-framework/issues/260 - (@thekid)
* Added Travis-CI configuration and setup commit hook accordingly
  http://news.planet-xp.net/article/520/2013/05/05/ - (@thekid)
* Added support for "self" keyword in parameters and return types - (@thekid)

## 1.2.0 / 2012-09-30

* Implemented RFC 0218: Parameter annotations
  http://news.planet-xp.net/article/480/2012/09/30/ - (@thekid)
* Refrain from resolving constants. Fixes issue #20 "the hard way" - the
  optimization is removed all the way - (@thekid)
* Splitted compiler.ini and reorganize into src/test/resources
  # See xp-framework/xp-framework#160 - (@thekid)

## 1.1.2 / 2012-07-09

* Fixed indexers and operators inheritance - (@thekid)
* Added Maven pom - (@mrosoiu)

## 1.1.1 / 2012-06-08

* Added tests for hex addition oddities
  http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/#numbers
  See also PHP Bug #61095 and PHP Bug #61095 - (@thekid)
* Added support for hexadecimal escape sequences
  `\x   hex-digit   hex-digitopt   hex-digitopt   hex-digitopt` - (@thekid)
* Added support for exponent and octal number notation - (@thekid)
* RFC 0218: Added syntactical support for annotations with target - (@thekid)
* Fixed interface methods check. The following was disallowed but shouldn't
  public interface Test { void testIt(); } - (@thekid)
* Fixed extension methods - (@thekid)
* Refactored so that uses() will be emitted once at the top of the file
  and include all dependencies merged together. - (@thekid)
* Added logic to exclude bootstrap classes from being listed in uses(),
  they are globally available. Increases generated code's loading
  performance. - (@thekid)

## 1.0.2 / 2011-12-08

* Fixed arrays of array, map and generic types not being supported - (@thekid)
* Added field annotations - (@mrosoiu)

## 1.0.1 / 2011-09-07

* Fixed weird bug with compiled types being overwritten - (@thekid)
* Migrated repository to github.com (for the records) - (@thekid, @iigorr, @kiesel, @invadersmustdie)

## 1.0.0 / 2011-01-11

* Changed XP language to depend on 5.8.0 - (@thekid)
* Implemented RFC 0052 - Make XP its own (compiled) language - (@thekid)
* Fixed chaining after function calls - (@thekid)
* Fix assignments to assignments ($i= $j= 0; e.g.) being parsed in
  incorrect order - (@thekid)
* Changed map syntax to also support keys without quotes - (@thekid)
* Improved performance in self / parent lookup - (@thekid)
* Implemented auto-properties: public int id { get; set; }
  Equivalent of declaring a member variable and using an assignment
  inside set { } to $value and and a return statement with the member
  inside get { } - (@thekid)
* Implemented dynamic instance creation - (@thekid)
* Implemented dynamic member access - (@thekid)
* Added "-v" command line option for verbose output - (@thekid)
* Implemented ARM blocks in XP language, supported by lang.Closeable
  interface in framework.
  http://news.planet-xp.net/article/397/2010/12/31/ - (@thekid)
* Implemented operator overloading - Works only inside XP language! - (@thekid)

## 0.9.2 / 2010-03-06

* Added |, &, ^, << and >> operators as well as their assignments - (@thekid)
* Implemented class constants
  Class constants are limited to numbers, booleans and strings but provide
  a cheap way of extracting magic constants from business logic. If you
  require more flexibility, use static fields - (@thekid)
* Enabled creation of package classes (see RFC 0037) via "package class" - (@thekid)

## 0.9.1 / 2010-02-14

* Implemented unchecked casts (EXPR as TYPE?)
  Good for: return $a instanceof self && ($a as self?).compareTo(...). Now
  it wouldn`t make sense to cast-check $a at runtime because it can NEVER
  be anything else than of type "self" after the && (we checked it right
  before) - but the compiler cannot know that:) - (@thekid)

## 0.9.0 / 2010-02-05

* Removed last OEL leftovers - emitter and tests - (@thekid)

## 0.8.0 / 2009-10-30

* Fixed type calculation in chains like $class.getMethods()[0].getName(); - (@thekid)
* Implemented with statement - e.g. with ($child= $n.addChild(new Node()) { ... } - (@thekid)

## 0.7.1 / 2009-10-17

* Changed runner to ext with non-zero exitcode if any of the compilation
  tasks fail (e.g. xcc src/A.xp src/B.xp - if A.xp fails, the entire
  run is marked as failed). Can be used for chaining xcc [files] && echo
  "OK", also useful in makefiles which will stop after failure - (@thekid)

## 0.7.0 / 2009-10-11

* Implement lambdas - (@thekid)

## 0.6.0 / 2009-10-05

* Defaulted emitter to "source"
  To compile w/ oel, use `xcc -e oel [target [target [...]]] - (@thekid)

## 0.5.0 / 2009-05-03

* Implemented or-equal (|=), and-equal(&=), xor-equal (^=) and
  div-equal (/=) - (@thekid)
* Created own nodes for true, false and null, refactored numbers into:
  . NumberNode
  |- NaturalNode
  |  - IntegerNode
  |  - HexNode
  |- DecimalNode - (@thekid)

## 0.4.0 / 2009-04-10

* Implemented try ... finally (without catch) - (@thekid)

## 0.3.0 / 2009-03-26

* First shot: Added PHP grammar for XP classes - 5.3+ w/o alternative syntax - (@thekid)

## 0.2.0 / 2009-03-08

* Changed syntax for maps from "{ key => value }" to "[ key : value ]"
  Inspired by http://groovy.codehaus.org/Collections#Collections-Maps - (@thekid)

## 0.1.0 / 2009-03-08

* Used "." as object operator instead of "->" - (@thekid)
* Changed foreach syntax from foreach ([expression] as [assignment]) to
  foreach ([assignment] in [expression]) - (@thekid)
* Implemented varargs, annotations, anonymous instance creaton, properties,
  indexers, properties (via __get and __set), ?: shorthand - (@thekid)
* Implemented class literal - (@thekid)
* Implemented "import native" and "import static" - (@thekid)
* Made it possible to pass either:
  . XP source file (.xp)
  . PHP source file with XP class (.class.php)
  . Fully qualified class name - (@thekid)
* Added optimizations for:
  . Concatenating two constant values
  . Adding two constant values
  . Subtracting two constant values
  . Multiplying two constant values
  . Dividing two constant values - (@thekid)
* Implemented $array->length - (@thekid)

## 0.0.2 / 2008-02-20

* Added support for generic syntax - (@thekid)
* Added support for finally - (@thekid)
* Added initial implementation of map literals (require a prefix "map") - (@thekid)

## 0.0.1 / 2008-01-03

* Initial release: Prototype and proof of concept - (@thekid)

repository: xp-lang/compiler

gha_language: PHP

repo_name: xp-lang/compiler


text:
---
title: "What does large mean when talking about negative values?"
author: "Steve Simon"
source: "http://blog.pmean.com/large-negative/"
date: "2017-10-13"
category:
- Blog post
tags:
- Diagnostic testing
- Human side of statistics
output: html_document
---

*Dear Professor Mean, I saw a paper where the authors said that they
wanted a diagnostic test with a large negative likelihood ratio, because
it was important to rule out a condition. False negatives mean leaving a
high risk condition untreated. But don't they mean that they want a
diagnostic test with a small likelihood ratio?*

<!---more--->

Okay, I agree with you, but it's an understandable mistake. Let's
quickly review the idea of likelihood ratios. A positive likelihood
ratio is defined at Sn / (1-Sp) where Sn is the sensitivity of the
diagnostic test and Sp is the specificity. For a diagnostic test with a
very high specificity, you get a very large ratio, because you are
putting a really small value in the denominator. For Sp=0.99, for
example, you would end up getting a positive likelihood ratio of 50 or
more (assuming that Sn is at least 0.5).

The positive likelihood ratio is a measure of how much the odds of
disease are increased if the diagnostic test is positive.

A negative likelihood ratio is defined as as (1-Sn) / Sp. For a
diagnostic test with a very large sensitivity, the negative likelihood
ratio is very close to zero. For Sn=0.99, the likelihood ratio is going
to be 0.02 or smaller, assuming that Sp is at least 0.5.

The negative likelihood ratio is a measure of how much the odds of
disease are decreased if the diagnostic test is negative.

The two likelihood ratios should remind you of the acronyms SpIn and
SnOut. SpIn means that if specificity is large, then a positive
diagnostic test is good at ruling in the disease. This isn't always the
case, sadly, and for many diagnostic tests, the next step after a
positive test is not to treat the disease, but to double check things
using a more expensive or more invasive test.

SnNout means that if the sensitivity is large, then a negative
diagnostic test is good at ruling out the disease. You can safely send
the patient home in some settings, or start looking for other diseases
in different settings.

That sounds great, but sometimes you are very concerned about false
negatives, and you don't want to send someone home if they actually have
the disease. If you are worried about a cervical fracture, ruling out
the fracture and sending someone home might lead to paralysis or death
if you have a false negative. So you want to be very sure of yourself in
this setting.

Now with regard to the comment above, I think it is just a case of
careless language. When the authors say "large negative likelihood
ratio", they should have said "extreme negative likelihood ratio"
meaning a likelihood ratio much much smaller than one. I've done it
myself when I talk about a correlation of -0.8 as being a "big"
correlation because it is very far away from zero.

We tend to shy away from words like "small" when we talk about a
negative likelihood ratio being much less than 1, because "small" in
some people's minds means "inconsequential" when the opposite is true.
When I am careful in my language, I try to use the word "extreme" to
mean very far away from the null value (1 for a likelihood ratio or 0
for a correlation) rather than "large" or "small".

repository: pmean/build-website

repo_name: pmean/build-website


text:
# Scala.js typings for rope-sequence

Typings are for version 1.3.4

## Library description:
Rope-based persistent sequence type

|                    |                 |
| ------------------ | :-------------: |
| Full name          | rope-sequence |
| Keywords           | persistent, data, structure, rope, sequence |
| # releases         | 1 |
| # dependents       | 0.0 |
| # downloads        | 1625868.6666666667 |
| # stars            | 29.0 |

## Links
- [Homepage](https://github.com/marijnh/rope-sequence#readme)
- [Bugs](https://github.com/marijnh/rope-sequence/issues)
- [Repository](https://github.com/marijnh/rope-sequence)
- [Npm](https://www.npmjs.com/package/rope-sequence)

## Note
This library has been generated from typescript code from first party type definitions.

Provided with :purple_heart: from [ScalablyTyped](https://github.com/oyvindberg/ScalablyTyped)

## Usage
See [the main readme](../../readme.md) for instructions.

repository: ScalablyTyped/Distribution

repo_name: ScalablyTyped/Distribution


text:
# selenium-example
An example project of selenium using ChromeWebDriver, HtmlUnitDriver, FirefoxFriver

## Prerequisites ##

* Have [java](http://www.oracle.com/technetwork/java/javase/downloads/index.html) installed
* Have [maven](http://maven.apache.org/) installed

## Execute automation tests ##

```bash
mvn clean test
```

The result looks as following:

![](./docs/img/autotests.gif)

## LICENSE ##

[MIT License](https://raw.githubusercontent.com/leftstick/selenium-example/master/LICENSE)

repository: raghunandan-h/seleniumexample

gha_language: Java

repo_name: raghunandan-h/seleniumexample


text:
Hi@akhtar,

You can create a router in OpenStack. Follow the below given command.

    $ openstack router create
        [--project <project> [--project-domain <project-domain>]]
        [--enable | --disable]
        [--distributed | --centralized]
        [--ha | --no-ha]
        [--description <description>]
        [--availability-zone-hint <availability-zone>]
        [--tag <tag> | --no-tag]
        <name>

Hope this will help you.

url: https://raw.githubusercontent.com/mtint/STFC-SCD-OPENSTACK/7f0483912f5f3ece775f4eac2b3afd7663a3a2d0/HOWTO/How to create new router in OpenStack.md

repository: mtint/STFC-SCD-OPENSTACK

repo_name: mtint/STFC-SCD-OPENSTACK


text:
#Contributions to iPyParaView

We're happy to accept contributions to iPyParaView, and just require that you
sign off on any commits you make.

## Sign your work

A sign-off sits on the last line of the explanation for any code changes you
commit, and serves as an affirmation that you wrote the changes you are
committing and want to make it an open-source contribution to the project.
In more formal terms, your sign-off means that you can guarantee the
following:
```
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.
```

If you affirm all of that, then just add a line like the following to every
git commit message:

    Signed off by: <YOUR NAME><EMAIL_ADDRESS>
You'll have to use your real, legal name. If you set `user.name` and
`user.email` in your git config, you can sign off automatically via the `-s`
flag: `git commit -s`.

repository: NVIDIA/ipyparaview

gha_language: Jupyter Notebook

repo_name: NVIDIA/ipyparaview


text:
This has been used on a Raspberry PI and Ubuntu Linux. Useful if your MIDI device is sending messages that you don't want. For example, in my case, my Piano was sending some unwanted
Note Off messages with velocity=0. By running `midifilter` one can filter out what you don't want and expose a virtual MIDI port
that other software packages can then listen to instead.

Note that although I haven't tried it, the documentation for RtMidi (the library exposing MIDI functionality) states that its
Windows version does not support virtual MIDI ports.

## Installation

### RtMidi
RtMidi is a prerequisite. Download it from the [official site](https://www.music.mcgill.ca/~gary/rtmidi/index.html#download).
The site has instructions, but this is what I did.
* Extract files to a local folder
* `./configure`
* `make` (check that no errors)
* `make install` (puts the lib files and includes in the right folders)
* `sudo ldconfig` this refreshes your library cache and make sure the rtmidi library can be found

### g++ Compiler
On both my Raspberry PI and Ubuntu 2004 systems, this was preinstalled.

### VMPK
It is optional, but the Virtual MIDI Piano Keyboard allows you to experiment with the filtering. I found it useful to open two
instances. You can wire the OUTPUT of one as the INPUT on `midifilter` and the INPUT of the other on the virtual port from
`midifilter`.
### midifilter
Run `make`. A file name `./midifilter` will be created on succesful build.

## How it works
midifilter opens an existing MIDI input port and reads MIDI messages from it. It also opens a virtual MIDI output port
and writes all the messages, except the ones you don't want.

The program is really simple and is currently hard coded for the input device as well as the filtering logic. However, the program is
extremely simple and can trivially be modified.

repository: dodgyrabbit/midifilter

repo_name: dodgyrabbit/midifilter


text:
# Terminology Service Prep

REST API for applying FHIR Terminology Services to FHIR resources.

> This project is built with Quarkus; to deploy changes, ensure that
> `quarkus.container-image.group` in `/src/main/resources/application.properties`
> is set to your DockerHub username, then run `./mvnw package`. The new yml
> file will be located in `/target/kubernetes/`.

## Configuration

These values are stored in ConfigMap `terminology-config`.

| Key | Description | Default Value |
|-----|-------------|---------------|
| `fhirserver.url` | URL of the FHIR server | `"http://ingestion-fhir/fhir-server/api/v4"` |
| `fhirserver.username` | Username for the FHIR server | `fhiruser` |
| `fhirserver.password` | Password for the FHIR server | `integrati0n` |
| `pv.path` | Mount path for the persistent volume | `/mnt/data/` |

## Installing

###Local:
From the project root, run:

```shell
./mvnw compile quarkus:dev -DPV_PATH=./ \
      -DFHIR_SERVER_URL=<FHIR_URL> \
      -DFHIR_SERVER_PASSWORD=<FHIR_Password> \
      -DFHIR_SERVER_USERNAME=<FHIR_User> \
```

Replace FHIR_URL, FHIR_Password, and FHIR_User with the values corresponding to a test FHIR service.

Endpoints are accessible at `localhost:8080` and the service will use the project's target directory as the mount for
data persistence.

###Cluster:
Ensure that you are logged in to Docker and Kubernetes, and are in a kubernetes namespace that has a
FHIR server deployed.

In `/src/main/kubernetes/kubernetes.yml`, ensure that the following have been set to the correct values for your
FHIR server's configuration.

```yml
data:
  fhirserver.url: "http://<FHIR-SERVER>/fhir-server/api/v4"
  fhirserver.username: "<FHIR-USER>"
  fhirserver.password: "<FHIR-PASSWORD>"
  pv.path: "<Persistent volume mount path - default = /mnt/data/>"
```

If pv.path is set `""` then the service will operate in memory-only mode.

In `/src/main/resources/application.properties`, ensure that `quarkus.container-image.group` is set to your docker
username, 'quarkus.kubernetes.name' is set to the desired service name,
and `quarkus.kubernetes.mounts.mappings.path` is also set to the correct persistent volume path.

From the project root, run:

```shell
./mvnw package
kubectl apply -f /target/kubernetes/kubernetes.yml
```

To use curl/postman to test requests, port forward localhost:8080 to the service using

```shell
kubectl port-forward service/<quarkus.kubernetes.name> 8080:8080
```
replacing <quarkus.kubernetes.name> with the value in the configuration file.

> **_NOTE:_**  If multiple instances will be deployed on a single cluster, each instance's
> persistent volume must have a unique name. The helm chart in `../../helm-charts/health-patterns/`
> does this automatically, but for a manual install you must change "`deid-config-pv`" in
> the `PersistentVolume` definition in `kubernetes.yml` to some unique name for each instance.

## Usage

The service listens on port 8080. The default mappings and structure definitions can be found
in `/src/main/resources/defaultMappings`.  Additional mappings can be added to the defaultMappings - if added, the
filename must also be added to the `DEFAULT_MAPPING_RESOURCES` String array in `MappingStore.java`.  Default mappings
are copied to the persistent volume only if the file structure has not been initialized yet, i.e. on the first run of
the microservice with a new persistent volume.  Default mappings are also used to initialize the MappingStore when it
cannot read/write to the disc.

When the service is first deployed and queried on a cluster, it will try to copy the default mappings and
structureDefinitions to the filesystem at the path specified in application.properties and kubernetes.yml.  The default
location is `/mnt/data/`.  To persist data, ensure that a persistent volume is mounted at the specified path.

The Translation action applies any of the saved Structure Definition Mappings that match the extensions of the
given FHIR resource, if the corresponding ConceptMap is installed on the FHIR server.  Default ConceptMaps are installed
when the service is first deployed, and more can be installed using the `Add Mapping` actions.

Deleting a mapping does not uninstall it from the FHIR server, it just prevents it from being reinstalled should the
service be restarted.

| Action | Method | Endpoint | Body | Parameters | Returns on Success |
|:------:|:------:|:---------|:----:|:-----------|:-------:|
| Translate | `POST` | `/` | FHIR bundle or resource | | Translated object |
| Add Mapping (will not overwrite) | `POST` | `/mapping/{mappingName}` | Mapping (json) | | Status `200` |
| Add Mapping (will overwrite) | `PUT` | `/mapping/{mappingName}` | Mapping (json) | | Status `200`
| Get Mappings | `GET` | `/mapping` | | | Newline-delimited list of mapping names |
| Get Mapping | `GET` | `/mapping/{mappingName}` | | | Mapping named `mappingName` |
| Delete Mapping | `DELETE` | `/mapping/{mappingName}` | | | Status `200` |
| Add Structure Definition | `POST` | `/structureDefinitions` | Structure Definition (json) | | Status `200` |
| Get Structure Definitions | `GET` | `/structureDefinitions` | | | Newline-delimited list of structure definitions |
| Delete Structure Definition | `DELETE` | `/structureDefinitions` | Structure Definition (json) | | Status `200` |
| Health Check | `GET` | `/healthCheck` | | | Status `200` if OK </br> Status `500` if errors |

## Example JSON Objects:

Structure Definition Mapping :
```
{
    "sdUri" : "https://www.exampleURI.org/FHIR/SD/exampleStructureDefinition",
    "vsUri" : "https://www.exampleURI.org/FHIR/VS/exampleValueSet"
}
```
ConceptMap (Mapping) :

See https://www.hl7.org/fhir/valueset-examples.html

repository: venkatcurl/health-patterns

repo_name: venkatcurl/health-patterns


text:
# Psych711: Programming for Psychologists

This repo contains a collection of IPython Notebooks for teaching Programming
to Psychology Grad Students at UW-Madison.

This project is based on [introtopython.org](http://introtopython.org), an open resource for teaching and learning Python created by Eric Matthes (thank you Eric!). If you think there are additional programming skills that are critical for Psych grad students to know, have examples of useful PsychoPy projects to develop experiment-design skills, and/or you have ideas for other relatedthat you want graduate students in Psychology/Cognitive Neuroscience programs to know, please contribute to the project by including additional Jupyter Notebooks.

You can view the raw notebooks using the Jupyter Notebook Viewer [(home page)](http://nbviewer.ipython.org/urls/raw.github.com/lupyanlab/programming_for_psychologists/master/notebooks/index.ipynb). The content is similar on both sites, but the [class](http://sapir.psych.wisc.edu/programming_for_psychologists/) version is easier to navigate and has some dynamic features such as collapsible Python output and a table of contents sidebar.

## Creating a Github Classroom assignment

Here are the steps for creating a new Github Classroom assignment.

### Create a new repo on Github.

This repo will be used as the "base" repo that all students will receive when they start on this assignment. For example, [github.com/programming-for-psychologists/exercise-1](https://github.com/programming-for-psychologists/exercise-1) was created as the base repo for Exercise 1. If you do not create a new repo, you can still make the assignment, but all students will start off with an empty repo.

To create a new repo on your local computer, move to where you want to put the repo, and run `git init`. For example, to make the exercise-1 repo, you would run `git init exercise-1`. Now add the starter files to this repo, and commit them.

```bash
git init exercise-1
cd exercise-1
# add files to exercise-1/
git add .
git commit -m "Starter files"
```

To create an endpoint for the new repo, go to [github.com/programming-for-psychologists](https://github.com/programming-for-psychologists) and click on "New". Now you configure the new repo to push to the new location.

```bash
git remote add origin https://github.com/programming-for-psychologists/exercise-1
git push -u origin master
```

### Create the Github Classroom Assignment.

Go to the Classroom page for the Programming for Psychologists classroom [here](https://classroom.github.com/classrooms/35153597-programming-for-psychologists). Select "New assignment". Give the assignment a title and a repository prefix. For Exercise 1, both the title and the repository prefix were "exercise-1". In the question for "Add your starter code", find the repo you created above. Then select "Create Assignment".

After you have created the assignment, you receive a link to distribute to everyone in the class. When they click on this link, they will be prompted to sign in to Github.com, and it will create a clone of the base repo for their use.

### Debugging Github Classroom

Occasionally a student will get stuck on the "import" page, after clicking on the link. When this happens, they often have a repo created on Github.com (e.g., https://github.com/programming-for-psychologists/exercise-1-pedmiston), but it may be empty.

To fix this issue, first clone the student's empty repo, then fill it with the correct exercise files, then push those new files to their remote repo on Github.

These steps are summarized in a simple bash script, `bin/populate-exercise`. Use it like this:

```bash
bin/populate-exercise pedmiston exercise-1
# Clones github.com/programming-for-psychologists/exercise-1-pedmiston.
# Then moves files from ./assignments/exercise-1/* into the repo.
# Then pushes the new files to Github.com
```

## Exercise repos

All exercise repos are linked to this repo as submodules. By default,
when this repo is cloned, the submodules will not be initialized or
updated. To clone all exercise repos to subdirs within the "assignments/"
directory, run the following git command.

```bash
git submodule update --init
```

When git updates submodules it points the submodule to a particular
commit within the repo. If you want to make changes and commit them,
you'll need to check out the master branch. To check out the master
branch on all submodules, run the following git command.

```bash
git submodule foreach git checkout master
```

### Updating files in exercise submodules

```bash
# Copies notebooks/Exercise1-square.ipynb to assignments/exercise-1/
bin/cp-notebook-to-exercise Exercise1-square.ipynb exercise-1
```

## Install

```bash
# Recommended: Install the required packages in a virtual environment
conda create -n psychopy python=2
source activate psychopy

# Install the required python packages
pip install -r requirements.txt

# Download html/css/js for nbextensions
# https://github.com/ipython-contrib/jupyter_contrib_nbextensions
jupyter contrib nbextension install --user

# Setup the nbextension browser interface
# https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
```

### Running R in jupyter notebooks

To run R in jupyter notebooks, first install an R kernel to the conda environment.

```bash
# Install an R kernel in the conda environment
conda install --channel r r-irkernel
```

Then install the required R packages.

```R
install.packages("devtools")
devtools::install_github("IRkernel/IRkernel")
IRkernel::installspec()
```

## Build the HTML pages
```
cd scripts
./build_html_pages.sh
```


text:
# gm-data is deprecated

## See [geomesa-tools](https://github.com/locationtech/geomesa/tree/master/geomesa-tools/conf/sfts)

... for community maintained readmes, simple feature type configs, and converter configs

# GeoMesa Data

GeoMesa Data (gm-data) provides several built in SimpleFeatureType (SFT) and Converter definitions to help ingest common data formats from across the web. Each module contains a ``reference.conf`` file that defines a named SFT and converter that can be referenced via the GeoMesa tools or GeoMesa Nifi processor when properly installed on the classpath.

The ``gm-data-all`` module will package all submodules together into a shaded jar and concatenate any ``reference.conf`` files found in other modules to provide a single deployable artifact.

## Building the Project

Build GeoMesa convert module (geomesa-convert-all). Then build gm-data:

    cd gm-data
    mvn clean install

## Named simple feature types and converters

| Data source | SFT name (-s) | Converter Name (-C) |
| --- | --- | --- |
| [GDELT](http://data.gdeltproject.org/events/index.html) | `gdelt` | `gdelt` |
| [GeoLife](http://research.microsoft.com/en-us/downloads/b16d359d-d164-469e-9fd4-daa38f2b2e13/) | `geolife` | `geolife` |
| [Global Terrorism Database](http://www.start.umd.edu/gtd/) | `gtd` | `gtd` |
| [New York City Taxi](https://publish.illinois.edu/dbwork/open-data/) | `nyctaxi`1
 `nyctaxi-single` | `nyctaxi`
 `nyctaxi-drop`
 `nyctaxi-single` |
| [Open Street Map GPX](http://planet.osm.org/gps/) | `osm` | `osm` |
| [GeoNames](http://www.geonames.org/) | `geonames` | `geonames` |
| [T-Drive](http://research.microsoft.com/apps/pubs/?id=152883) | `tdrive` | `tdrive` |
| [Twitter](https://dev.twitter.com/overview/api/tweets) 2 | `twitter` | `twitter`
 `twitter-place-centroid` 3 |

1. NYC Taxi data includes two points: the pickup and dropoff. The `nyctaxi` feature type contains one point and an indicator of whether it is the pickup or dropoff. The `nyctaxi-single` feature has both geometries.
1. Converter expects one tweet per line in the file.
1. Converter `twitter` applies precise point geometry if available; `twitter-place-centroid` extracts the centroid from the bounding box of the tweet's place attribute.

## GeoMesa Tools installation

For GeoMesa Tools, copy the ``gm-data-all-{version}.jar`` file into the ``$GEOMESA_HOME/lib`` directory and run `geomesa ingest`. Specify the simple feature type by name with the `--spec` or `-s` option. Give the converter config by name with the `--converter` or `-C` (capital C) option.

## NiFi Installation

For Apache NiFi, copy the ``gm-data-all-{version}.jar`` file in the ``$NIFI_HOME/lib`` directory and restart NiFi.

repository: geomesa/gm-data

gha_language: R

repo_name: geomesa/gm-data


text:
# Tengo Objects

## Table of Contents

- [Objects](#objects)
  - [Runtime Object Types](#runtime-object-types)
  - [User Object Types](#user-object-types)
- [Callable Objects](#callable-objects)
- [Indexable Objects](#indexable-objects)
- [Index-Assignable Objects](#index-assignable-objects)
- [Iterable Objects](#iterable-objects)
  - [Iterator Interface](#iterator-interface)

## Objects

All object types in Tengo implement [Object](https://godoc.org/github.com/d5/tengo/objects#Object) interface.

```golang
TypeName() string
```

TypeName method should return the name of the type. Type names are not directly used by the runtime _(except when it reports a run-time error)_, but, it is generally a good idea to keep it short but distinguishable from other types.

```golang
String() string
```
String method should return a string representation of the underlying value. The value returned by String method will be used whenever string formatting for the value is required, most commonly when being converted into String value.

```golang
BinaryOp(op token.Token, rhs Object) (res Object, err error)
```

In Tengo, a type can overload binary operators (`+`, `-`, `*`, `/`, `%`, `&`, `|`, `^`, `&^`, `>>`, `<<`, `>`, `>=`; _note that `<` and `<=` operators are not overloadable as they're simply implemented by switching left-hand side and right-hand side of `>`/`>=` operator_) by implementing BinaryOp method. BinaryOp method takes the operator `op` and the right-hand side object `rhs`, and, should return a resulting value `res`.

**Error value vs runtime error**

If BinaryOp method returns an error `err` (the second return value), it will be treated as a run-time error, which will halt the execution (`VM.Run() error`) and will return the error to the user. All runtime type implementations, for example, will return an `ErrInvalidOperator` error when the given operator is not supported by the type.

Alternatively the method can return an `Error` value as its result `res` (the first return value), which will not halt the runtime and will be treated like any other values. As a dynamically typed language, the receiver (another expression or statement) can determine how to translate `Error` value returned from binary operator expression.

```golang
IsFalsy() bool
```

IsFalsy method should return true if the underlying value is considered to be [falsy](https://github.com/d5/tengo/wiki/Variable-Types#objectisfalsy).

```golang
Equals(o Object) bool
```

Equals method should return true if the underlying value is considered to be equal to the underlying value of another object `o`. When comparing values of different types, the runtime does not guarantee or force anything, but, it's generally a good idea to make the result consistent. For example, a custom integer type may return true when comparing against String value, but, it should return the same result for the same inputs.

```golang
Copy() Object
```

Copy method should a _new_ copy of the same object. All primitive and composite value types implement this method to return a deep-copy of the value, which is recommended for other user types _(as `copy` builtin function uses this Copy method)_, but, it's not a strict requirement by the runtime.

### Runtime Object Types

These are the Tengo runtime object types:

- Primitive value types: [Int](https://godoc.org/github.com/d5/tengo/objects#Int), [String](https://godoc.org/github.com/d5/tengo/objects#String), [Float](https://godoc.org/github.com/d5/tengo/objects#Float), [Bool](https://godoc.org/github.com/d5/tengo/objects#ArrayIterator), [Char](https://godoc.org/github.com/d5/tengo/objects#Char), [Bytes](https://godoc.org/github.com/d5/tengo/objects#Bytes)
- Composite value types: [Array](https://godoc.org/github.com/d5/tengo/objects#Array), [Map](https://godoc.org/github.com/d5/tengo/objects#Map), [ImmutableMap](https://godoc.org/github.com/d5/tengo/objects#ImmutableMap)
- Functions: [CompiledFunction](https://godoc.org/github.com/d5/tengo/objects#CompiledFunction), [BuiltinFunction](https://godoc.org/github.com/d5/tengo/objects#BuiltinFunction), [UserFunction](https://godoc.org/github.com/d5/tengo/objects#UserFunction)
- [Iterators](https://godoc.org/github.com/d5/tengo/objects#Iterator): [StringIterator](https://godoc.org/github.com/d5/tengo/objects#StringIterator), [ArrayIterator](https://godoc.org/github.com/d5/tengo/objects#ArrayIterator), [MapIterator](https://godoc.org/github.com/d5/tengo/objects#MapIterator), [ImmutableMapIterator](https://godoc.org/github.com/d5/tengo/objects#ImmutableMapIterator)
- [Error](https://godoc.org/github.com/d5/tengo/objects#Error)
- [Undefined](https://godoc.org/github.com/d5/tengo/objects#Undefined)
- Other internal objects: [Closure](https://godoc.org/github.com/d5/tengo/objects#Closure), [CompiledModule](https://godoc.org/github.com/d5/tengo/objects#CompiledModule), [Break](https://godoc.org/github.com/d5/tengo/objects#Break), [Continue](https://godoc.org/github.com/d5/tengo/objects#Continue), [ReturnValue](https://godoc.org/github.com/d5/tengo/objects#ReturnValue)

### User Object Types

Basically Tengo runtime treats and manages both the runtime types and user types exactly the same way as long as they implement Object interface. You can add values of the custom user types (via either [Script.Add](https://godoc.org/github.com/d5/tengo/script#Script.Add) method or by directly manipulating the symbol table and the global variables), and, use them directly in Tengo code.

Here's an example user type, `Time`:

```golang
type Time struct {
	Value time.Time
}

func (t *Time) TypeName() string {
	return "time"
}

func (t *Time) String() string {
	return t.Value.Format(time.RFC3339)
}

func (t *Time) BinaryOp(op token.Token, rhs objects.Object) (objects.Object, error) {
	switch rhs := rhs.(type) {
	case *Time:
		switch op {
		case token.Sub:
			return &objects.Int{
				Value: t.Value.Sub(rhs.Value).Nanoseconds(),
			}, nil
		}
	case *objects.Int:
		switch op {
		case token.Add:
			return &Time{
				Value: t.Value.Add(time.Duration(rhs.Value)),
			}, nil
		case token.Sub:
			return &Time{
				Value: t.Value.Add(-time.Duration(rhs.Value)),
			}, nil
		}
	}

	return nil, objects.ErrInvalidOperator
}

func (t *Time) IsFalsy() bool {
	return t.Value.IsZero()
}

func (t *Time) Equals(o objects.Object) bool {
	if o, ok := o.(*Time); ok {
		return t.Value.Equal(o.Value)
	}

	return false
}

func (t *Time) Copy() objects.Object {
	return &Time{Value: t.Value}
}
```

Now the Tengo runtime recognizes `Time` type, and, any `Time` values can be used directly in the Tengo code:

```golang
s := script.New([]byte(`
	a := currentTime + 10000  // Time + Int = Time
	b := a - currentTime      // Time - Time = Int
`))

// add Time value 'currentTime'
err := s.Add("currentTime", &Time{Value: time.Now()})
if err != nil {
	panic(err)
}

c, err := s.Run()
if err != nil {
	panic(err)
}

fmt.Println(c.Get("b")) // "10000"
```

## Callable Objects

Any types that implement [Callable](https://godoc.org/github.com/d5/tengo/objects#Callable) interface (in addition to Object interface), values of such types can be used as if they are functions.

```golang
type Callable interface {
	Call(args ...Object) (ret Object, err error)
}
```

To make `Time` a callable value, add Call method to the previous implementation:

```golang
func (t *Time) Call(args ...objects.Object) (ret objects.Object, err error) {
	if len(args) != 1 {
		return nil, objects.ErrWrongNumArguments
	}

	format, ok := objects.ToString(args[0])
	if !ok {
		return nil, objects.ErrInvalidTypeConversion
	}

	return &objects.String{Value: t.Value.Format(format)}, nil
}
```

Now `Time` values can be "called" like this:

```golang
s := script.New([]byte(`
	a := currentTime + 10000  // Time + Int = Time
	b := a("15:04:05")        // call 'a'
`))

// add Time value 'currentTime'
err := s.Add("currentTime", &Time{Value: time.Now()})
if err != nil {
	panic(err)
}

c, err := s.Run()
if err != nil {
	panic(err)
}

fmt.Println(c.Get("b")) // something like "21:15:27"
```

## Indexable Objects

If the type implements [Indexable](https://godoc.org/github.com/d5/tengo/objects#Indexable) interface, it enables dot selector (`value = object.index`) or indexer (`value = object[index]`) syntax for its values.

```golang
type Indexable interface {
	IndexGet(index Object) (value Object, err error)
}
```

If the implementation returns an error (`err`), the VM will treat it as a run-time error. Many runtime types such as Map and Array also implement the same interface:

```golang
func (o *Map) IndexGet(index Object) (res Object, err error) {
	strIdx, ok := index.(*String)
	if !ok {
		err = ErrInvalidIndexType
		return
	}

	val, ok := o.Value[strIdx.Value]
	if !ok {
		val = UndefinedValue
	}

	return val, nil
}
```

Array and Map implementation forces the type of index Object (Int and String respectively), but, it's not required behavior by the VM. It is completely okay to take various index types (or to do type coercion) as long as its result is consistent.

By convention, Array or Array-like types return `ErrIndexOutOfBounds` error (as a runtime error) when the index is invalid (out of the bounds), and, Map or Map-like types return `Undefined` value when the key does not exist. But, again this is not a requirement, and, the type can implement the behavior however it fits.

## Index-Assignable Objects

If the type implements [IndexAssignable](https://godoc.org/github.com/d5/tengo/objects#IndexAssignable) interface, the values of that type allow assignment using dot selector (`object.index = value`) or indexer (`object[index] = value`) in the assignment statements.

```golang
type IndexAssignable interface {
	IndexSet(index, value Object) error
}
```

Map, Array, and a couple of other runtime types also implement the same interface:

```golang
func (o *Map) IndexSet(index, value Object) (err error) {
	strIdx, ok := ToString(index)
	if !ok {
		err = ErrInvalidTypeConversion
		return
	}

	o.Value[strIdx] = value

	return nil
}
```

Array and Map implementation forces the type of index Object (Int and String respectively), but, it's not required behavior by the VM. It is completely okay to take various index types (or to do type coercion) as long as its result is consistent.

By convention, Array or Array-like types return `ErrIndexOutOfBounds` error (as a runtime error) when the index is invalid (out of the bounds). But, this is not a requirement, and, the type can implement the behavior however it fits.

## Iterable Objects

Values of the types that implement [Iterable](https://godoc.org/github.com/d5/tengo/objects#Iterable) interface can be used in `for-in` statements (`for key, value in object { ... }`).

```golang
type Iterable interface {
	Iterate() Iterator
}
```

This Iterate method should return another object that implements [Iterator](https://godoc.org/github.com/d5/tengo/objects#Iterator) interface.

### Iterator Interface

```golang
Next() bool
```

Next method should return true if there are more elements to iterate. When used with `for-in` statements, the compiler uses Key and Value methods to populate the current element's key (or index) and value from the object that this iterator represents. The runtime will stop iterating in `for-in` statement when this method returns false.

```golang
Key() Object
```

Key method should return a key (or an index) Object for the current element of the underlying object. It should return the same value until Next method is called again. By convention, iterators for the map or map-like objects returns the String key, and, iterators for array or array-like objects returns the Int index. But, it's not a requirement by the VM.

```golang
Value() Object
```

Value method should return a value Object for the current element of the underlying object. It should return the same value until Next method is called again.

repository: tisba/tengo

repo_name: tisba/tengo


text:
# KotlinUdemy

* Descrição: Learn how to make online games, and apps for Android O, like Pokémon , twitter,Tic Tac Toe, and notepad using Kotlin
* Autor: [Hussein Alrubaye](https://github.com/hussien89aa)
* Repositório: [clique aqui](https://github.com/hussien89aa/KotlinUdemy)

repository: ImGabreuw/kotlin-notes

repo_name: ImGabreuw/kotlin-notes


text:
# SubGame-Network GameCenter

## Run in Docker

First, install [Docker](https://docs.docker.com/get-docker/) and
[Docker Compose](https://docs.docker.com/compose/install/).

Then run the following command to start a single node chain.

```bash
docker-compose up
```

> This command will firstly compile your code, and then start a network. You can
also replace the default command by appending your own. A few useful ones are as follow.

Access the UI via http://localhost

repository: SubGame-Network/GameCenter

repo_name: SubGame-Network/GameCenter


text:
# image2c
A program to convert image files to C code using [stb_image.h](https://github.com/nothings/stb/blob/master/stb_image.h)

# Building
Run `make` in this directory.

# Usage
`./image2c <filepath.png>`

# Repo Size
![Repo Size](https://img.shields.io/github/repo-size/NrdyBhu1/image2c?style=for-the-badge)

# LICENSE
![LICENSE](https://img.shields.io/github/license/NrdyBhu1/image2c?style=for-the-badge)


text:
# CloudShell Colony blueprint repository for Jenkins deployment

This blueprint repository allows you to easily deploy Jenkins and connect it to your Cloudshell Colony account.
After deployment this Jenkins instance could be immediately used to launch your pipelines against environments
provided by Colony. It comes with a sample 'demo' pipeline, so that you will have an entrypoint from where
you can start modeling your CI/CD flows using Jenkins and Colony

### Repo consists of two blueprints:

**Jenkins**

This blueprint deploys a Sandbox with Jenkins itself. Flow is the following:

* It first deploys jenkins
* Installs colony jenkins plugin and it's dependencies
* Configures connection between Colony and Jenkins
* Creates a sample demo pipeline

**Promotions Manager**

It's a demo blueprint which is used by the pre-defined pipeline in Jenkins.
It deploys a sandbox with sample app consisting of backend, frontend and database.

## How To Use

### prerequisites:

* Only AWS cloud provider is currently supported
* Before starting using this solution you need to have an S3 bucket created to store artifacts built by the sample Jenkins job
* You also need to create an IAM role (for EC2 service) and configure it with write permissions to your S3 bucket

### Colony setup

#### Link you AWS account and S3 bucket to Colony

Go to **Settings** and link your aws account on **Cloud Account** page and set your s3 bucket as an artifacts repository
on **Integrations** page

#### Connect blueprint repo to your Colony space

In your space go to **Settings -> Blueprint Repositories** and connect this repo as a blueprint repository for Sandbox Environment.
If you want to do some experiments with code and make some changes fork it and connect your own repository

#### Activate blueprints

Go to Blueprints and publish both Jenkins and Promotions Manager blueprints in "Space Blueprints" list

Now you can start working with the Jenkins blueprint

### Jenkins Blueprint Usage

Now you are ready to launch a sandbox with Jenkins on Sandbox Environment page

Jenkins Blueprint has the following list of input parameters:

*AWS_INSTANCE_TYPE* - specify the type of aws instance according to required size (default is `m5.large`)

*JENKINS_ADMIN_PASS* - set the password which you will use when logging in to Jenkins with `admin` user. Default is "admin"

*CS_COLONY_TOKEN* - token which Jenkins will use to communicate with Colony. You can generate it on **Settings -> Integrations** page

*IAM_ROLE* - IAM role instance profile name you've created at the beginning

*SPACE_NAME* - the name of the space which Jenkins will use to run sandboxes from. For our example just specify the name of your current space. **Note**: In future you might want to create your personal blueprints and configure Jenkins pipelines to use them. These blueprints will probably live in other spaces.

*BUCKET_NAME* - name of S3 bucket connected to the space you created for artifacts

![params](https://user-images.githubusercontent.com/8643801/95510076-0ce98980-09be-11eb-8d89-a4d588674da8.PNG)

### Demo pipeline

After sandbox deployment you can log into Jenkins by using quick link:

![quick_link](https://user-images.githubusercontent.com/8643801/96999652-2f42e180-153e-11eb-8bdc-4eada85136eb.png)

In Jenkins you will see a pre-defined pipeline which is configured to run a Promotions manager blueprint in your Colony space

![jenkins](https://user-images.githubusercontent.com/8643801/96999412-c8bdc380-153d-11eb-96e0-3bd4be4e6816.png)

#### Pipeline steps

The default pipeline loaded with this Jenkins instance will automatically run the following steps:

1. Retrieve latest code of the promotion app from Git
2. Build artifact package (latest build)
3. Upload Build to S3 repository
4. Deploy the promotions manager application to AWS in a Colony Sandbox
5. Run tests
6. Terminate the promotions manager application

repository: Shnitselon/jenkins-colony

repo_name: Shnitselon/jenkins-colony


text:
# Data Storage Web App Client
Simple data storage web client application using micro-services architecture

## NPM and Angular install/config

Before cloning the repository, please make sure you have Node.js, NPM and Angular CLI installed! Here are some snippets:

* Check out this **[link](https://nodejs.org/en/)** to install **Node.js** and **NPM**.
* **[Official docs](https://angular.io/guide/setup-local)** on how to install Angular CLI

#### Note! The app won't work if you don't have [data storage server](https://github.com/B0ySetsF1re/data-storage-web-app-server) configured and running!

## Cloning the repository

Make sure you have the git utility installed on your computer. Check out **[this](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)** article on how to set it up.

Here are the steps on how to clone and configure the repository:

* Cloning repository:

  ```bash
  git clone https://github.com/B0ySetsF1re/data-storage-web-app-client.git
  ```
* Then in the terminal navigate to the project's folder using **cd** command to install dependencies etc.

* Installing dependencies

  ```bash
  npm install
  ```
* Running the web app

  ```bash
  ng serve --open
  ```
You can also use **[nodemon](https://www.npmjs.com/package/nodemon)** package, so that you wouldn't need to manually restart the server each time you apply some changes.

* If you would like to install additional package/dependency for the app, you can do it as following:

  ```bash
  npm install <package_name> --save
  ```
* To install additional external libraries:

  ```bash
  ng add <library name>
  ```
Read more about ng command here: **[CLI Overview and Command Reference](https://angular.io/cli#cli-overview-and-command-reference)**

## Setting up environment variables
After cloning the repository, **you need to configure the environment variables for API configuration. Otherwise the app won't even run**. Locate **_src/environments_** folder in the project's root and create two files: **_environment.ts_** and **_environment.prod.ts_**. You can take basic configurations below:

```typescript
// environment.ts
export const environment = {
  production: false,
  API_URL: 'http://localhost:3000/api/data-storage',
  API_GET: {
    meta_data_content: "/meta-data-content",
    files_stats: "/files-stats",
    download_file: "/download-file/"
  },
  API_POST: {
    upload_file: "/upload-file",
    rename_uploaded_file: "/rename-uploaded-file/",
    delete_uploaded_file: "/delete-uploaded-file/",
    delete_all_uploaded_files: "/delete-all-uploaded-files/",
    delete_selected_uploaded_files: "/delete-selected-uploaded-files/"
  }
};
```

```typescript
//environment.prod.ts
export const environment = {
  production: true
};

```

This **_config_** can be changed by your needs.

To change port or host, take a look at **_angular.json_** file and check the following parameters:

```json
{
    "$schema"<EMAIL_ADDRESS>    "projects": {
        "data-storage-web-app-client": {
            "architect": {
                "serve": {
                    "options": {
                        "port": 3001
                    }
                }
            }
        }
    }
}
```
**You don't need to change here anything, the client will be running locally by default.**

For **_prod_** deployment check out the Angular's official docs: **[Configuring application environments](https://angular.io/guide/build#configuring-application-environments)**

###### Once you have all the configurations done, especially the server - the app should run and work just fine.


text:
# HTML_TAGS
ALL IMPORNTANT HTML TAGS WITH THEIR FUNCTION
Tags (with open and end tag)

      1.... //Everything in html document is surrounded by html tag//
      2.... //Page name and css and java script links are added here//
      3.... //It defines the main content of html tag //
      4.<title>...</title>// Used to give the title of the web page ,it is also used by search engines //
      5.<h>...</h>//used to describe normal plain size 12 text or heading //
      6.(Bold headings )
           i.
..

           ii.
..

           iii.
...

           iv.
...

           v.
...

           vi.
...

      7.
..
//Creating a new paragraph ,one line above and below is added to textinside//
      8....//Makes the content Bold //
      9.<big>....</big>//makes the text big //
      10...//makes the content italic in style //
      11...//makes the content small sized //
      12....//makes the contet strong //
      13....//makes the content subscripted text //
      14...//super scripted text //
      15....//inserts a underline in the text //
      16...//cuts the text that looks like text is crossed with line //
      17....//makes the text italic and indicates that the text is important//
      18.<spam>..</spam>//used to edit the stle of a section of a bigger tag //
      19.
..
//specifies that an ordered list is coming //
      20.
..
//specifies that te text inside is an element in the list specified above //
      21.
..
//specifies the begining of an unordered list//
      22....//used to add rrfrence or link //
      23.
....
 //heading for creating a table or defining a table  // (eg.

...	...

..	...

)
      24.
..
// table is divided into table rows using this //
      25...	// used to define a bold heading for each column //
      26....	 // creates an coulm in a particular row that means it defines a data cell //
      27.... //adds a go-to page or link to the specigied text or image //
      28.
..
 //creates a section in the page used to put a background in other tags inside of it //
      29.<form>...</form>//Used to define forms //
      30.<textarea name="message"></textarea> //Creates a text area where we can add messages ,feedback,comments,etc.
      31... //used to add specification on the text inside its tag//
      32.<progress ...></progress>//used to create a partially filled box to show the level or percentage //
      33.//

    Tags(without end tag)
         1.
....//Creates a horizontal line
         2.
//To modify the line colour and width //
         3.//Used to give comment in html file //
         4.
//Gives a break that is it transfers all next content into nrw line //
         5.<DOCTYPE html>//used to tell brower the version of html to expect//
         6.//used to add an image with link inside the tag//
         7.<input ... />//Used to get the input from used//

     Html(Attributes)
         1.
...
//decides the position of the text //
         2....//makes the language of the text in german//
         3.
//decide the width of the horizontal line //
         4.
//decides the thickness of the line //
         5.//height add the required height of the image ,width adds the required width of the image and alt alt adds an                  alternate image if the specified image is not found//
         6.//adds a border of thinkness 1px around the image //
         7.
..
//specifies the type of list to be made like (A,B,C) or (a,b,c)or (i,ii,iii ), (I,II,III) with default as numbers (1,2,3)//
         8.
..
//specifies the type of list to be made with default as disc//
         9.
....

         10.
...
// add a thick border around the table and adds a color to the border and width of the table //
         11....	 // to make a cell span more than one row or colom rowspan or colspan is used //
         12....	//adds background color to the cells//
         13....//Decided the tab in which the link opens either (_blank=new tab/self=same window/parent =parent                 frame/top=topmost frame)
         14.
...
//Used to colour the background and the text of all tags which are inside it (eg:-
,                 <h>,etc.)
        15.
.........
//changes the colour of the pard of h2 which lies inside span to red //
        16.<form action=" link "></form> //action attribute is used to point to a webpage that will load after the used submits the form//
        17.<form method="GET/POST">..</form>//method attribute decides the method to be used after the forms are submitted that is the data you enter should be visible like              username or be hidden like password//
        18.<form><input type="text/password/radio/url/submit/checkbox,etc." name="what is the subject .." value=" choice a"/>text you want to show in the user </form> //input            type defines the type of data to accept and name attribute specifies the name for the form and value attribute gives the name of the choice on the right of the empty             space and is submited to the excel sheet you are saving the data in //
        19.<input type="submit" /> //creates a button with submit written on it to submit your input//
        20.<textarea maxlength="100"></textarea> //adds a limit to the size of the text allowed //
        21...//Adds color to the background section //
        22.....//adds color to text inside the font //
        23.<progress min="0" max="100" value ="80"></progress>//Creates a 80% filled rectancle box showing the content filled //

    (Important Differentiantion Groups of Tags)
        1.Block level Elements:-elements which start from a new line (eg:-
,<form>,
,
,
,
,
,
,
,etc.)
        2.Inline Elements:-these elements are normally displayed without line break and used to edit part of a text (eg:-,,,,<input>,,,etc.)


text:
Isotropy Babel Plugin for FS
============================
This module is a babel plugin that transpiles array operations into corresponding filesystem operations.
It uses isotropy-ast-analyzer-filesystem for AST analysis.

This is part of the isotropy framework (www.isotropy.org).

Include the plugin in .babelrc file.


text:
# Recipe: Todd's Beef Bacon Lentil Stew

Comments: Made it with 2.5 Quarts chicken stock, which is too much.  To avoid overcooking them, ideally the
lentils would be added after the meat had cooked awhile.  It could use more
spicing.  It is tasty but plain.

Ingredients:

1-2 lbs cubed stew meat.
2 large vidalia (sweet) onions, chopped.
2 cloves garlic, chopped.
1 Tbsp butter
8 carrots, chopped.
4 potatoes or sweet potatoes, chopped.
3 slices bacon
2 cups lentils
2 quarts homemade chicken stock.
12 oz. stout beer
1 tsp (or less) kosher sea salt ;-)
1 tbsp worchestershire sauce
2 bay leaves

Pressure Cooker Preparation:

Brown the beef cubes in a beautiful cast-iron pan.  Put them into the 8-quart
pressure cooker pot.  Saute the onions and garlic in the butter and add it to
the pot.  Fry the bacon until crispy and add it to the pot.  Sizzle the lentils
in the bacon grease and add them to the pot.  Add the remaining ingredients to
the pot, close it up, bring the pot up to pressure, and cook for 12 minutes.
Then turn off the heat and let the pot depressurize on its own.

repository: todddeluca/recipes

repo_name: todddeluca/recipes


text:
### NPM Install

```
A package.json file declares metadata about the module you are developing. Both aforementioned commands modify this package.json file.
```

`--save`

Dependency for your module.

`--save-dev`

Dependency for development of your module.

`--no-save`

Don't save to the package file

`-g install`

Saves to your local dev machine.


text:
## Demo

Below shows some examples of using PyVot.

#### Area preserving mapping.

python demo_area_preserve.py

![alt text](pics/ot_area_preserve.png?raw=true)

#### Domain adaptation through Wasserstein clustering regularized by potential energy.

python demo_potential.py

![alt text](pics/rwm_potential.png?raw=true)

#### Domain adaptation through Wasserstein clustering regularized by geometric transformation.

python demo_transform.py

![alt text](pics/rwm_transform.png?raw=true)

repository: wrccrwx/pyvot

repo_name: wrccrwx/pyvot


text:
---
title: Payment status with the Portal API
sidebar_label: Payment status
keywords:
description: Learn how to integrate Request network and its features.
---

After creation, each request has a payment status, you can view the data of a request which contains the payment status via:

```jsx
const result = await axios.get(`https://api.request.network/requests/${requestId}`);
const request = result.data.request;
```

You will receive back an object that looks like this:

```jsx
/*
{
  balance,
  state,
  expectedAmount,
  ...
}
*/
```

To get the payment status of a Request you can use the requestData object to check if the balance is greater than or equal to the expectedAmount.

If `balance.balance >= expectedAmount`: this means the request is paid (or even overpaid)
If `balance.balance > 0 && balance.balance < expectedAmount`: this means the request is partially paid.
If `balance.balance === 0`: this means the request is unpaid.

You can use the following snippet to see if the request has been paid.

```jsx
import { BigNumber } from 'ethers';
(async () => {
  // Check the balance of the request
  const result = await axios.get(`https://api.request.network/requests/${requestId}`);
  const request = result.data.request;

  const balanceObject = request.balance;

  if (!balanceObject) {
    console.error('balance no set');
    return;
  }
  if (balanceObject.error) {
    console.error(balanceObject.error.message);
    return;
  }

  console.log(`Balance of the request in ETH: ${balanceObject.balance}`);

  // Check if the request has been paid
  // Convert the balance to big number type for comparison
  const expectedAmount = BigNumber.from(requestData.expectedAmount);
  const balanceBigNumber = BigNumber.from(balanceObject.balance);

  // Check if balanceBigNumber is greater or equal to expectedAmount
  const paid = balanceBigNumber.gte(expectedAmount);
})();
```

If the Request is unpaid, it might be useful to use the metadata field called ‘state’ - the state will return the current payment status of the request, either ‘created’, ‘accepted’, ‘pending’ or ‘canceled’.

repository: julienbrg/requestNetwork

repo_name: julienbrg/requestNetwork


text:
---
title: "Overview of Technology Usage Policy"
author<EMAIL_ADDRESS>tags: ["Rajah","Contract Overviews","Technology Usage Policy"]
date: 2017-03-30 14:12:00
description: "Technology Usage Policy

What is this document?

A Technology Usage Policy is a general guideline outlining an employee’s obligations with using technology in the workplace.

When would I use th..."
---

Technology Usage Policy

What is this document?A Technology Usage Policy is a general guideline outlining an employee’s obligations with using technology in the workplace.

When would I use this document?A Technology Usage Policy would be used when a company is outlining employee obligations and responsibilities.

Who signs this agreement?Generally, policies will be referenced in a separate employment or contractor agreement, stating that failure to comply will result in a breach of the employment or contractor agreement. Some companies may require the employee to sign the policy.

More details about this document

A Technology Usage Policy contains general guidelines on technology usage for an employee or contractor of a company to follow.

Issues that may be included in a Technology Usage Policy are use of cellphones during work, use of the work computer, permissible use of the internet, taking home company-owned devices, and return of all devices upon termination of an employment or contractor agreement.

Employers will often include language stating that failure to comply with company policies will result in termination of the employee’s or contractor’s agreement. This type of clause may be included in the actual agreement between the employee/contractor and/or the policy.

What are the core elements of this document?

Core elements of a Technology Usage Policy can include: Acceptable and Unacceptable Use of Technology; and Breach of Policy.

Additional clauses may include: Use of Employee/Contractor Owned Devices; Return of Company Owned Devices; and Security and Audits.

Related DocumentsContractor/Consulting/Services Agreement - this type of agreement can have various names, and is used when a person is paid to provide services but is not hired as an employee. Payment can be flexible eg. money, shares or some other form of compensation.Workplace Harassment Policy - this policy deals with harassment in the workplaceRomantic Relations in the Workplace Policy - this policy deals with romantic relations in the workplaceDrug and Alcohol Policy - this policy deals with drug and alcohol use in the workplace and the procedures to follow if unauthorized use is suspectedEmployment Agreement - an agreement that sets out the terms of an employment relationship.

repository: JaninaFe/clausehound-blog

repo_name: JaninaFe/clausehound-blog