text:
# Fitness Tracker
![ISC license](https://img.shields.io/badge/License-ISC-blue.svg)

## Description & Deployment
This app allows a user to view, create, and track daily workouts. You can log your exercises including the name, type, duration, weight, reps, and sets and watch your stat data grow into  beautifully designed graphical charts.

You can try the app at [the Fitness Tracker deployed.](https://sleepy-atoll-97885.herokuapp.com/)

![Image of the last workout stats](./public/assets/images/last-workout.PNG)

---

## Table of Contents
1. [Installation](#Installation)
2. [Usage](#Usage)
3. [License](#license)
4. [Contributing](#Contributing)
5. [Questions](#Questions)
---

## Installation
1. Install Express, Mongoose, and Morgan dependencies.
2. Run the command ``` npm run seed ``` to see import prewritten data to the database.

## Usage
To run, the user can simply use the command ``` npm start ``` and open their localhost at port 8080.  Once running the app, the user can then log their workout data by clicking "New Workout".  They will be shown a dropdown list for resistance and cardio workouts. Choose one and input your workout data, adding as exercises as needed.

![Image of the resistance data input form](./public/assets/images/resistance.PNG)

When done entering data, the user can then click "Complete" to see their last workout data, or the link to the Dashboard at the top left of the screen to see their data graphed.

![Image of the range of workout stats](./public/assets/images/stat-range.PNG)

---

## License
### ISC License
Copyright (c) 2020 Brianna Bullock

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

---
## Contributing
If a developer would like to contribute, please send me and email at the link below.

---

## Questions

You can visit my [Github Profile](https://www.github.com/kairora) or [this app's Github repo](https://github.com/kairora/fitness-tracker) to learn more about this.
Or, if you have questions regarding this program, please [send me an email](mailto:brianna.bullock16@gmail.com).

license: ISC

repository: kairora/fitness-tracker

repo_name: kairora/fitness-tracker


text:
---
layout: default
---

# 1996-07-18 - Responding to Pre-dawn Unannounced Ninja Raids

## Header Data

From<EMAIL_ADDRESS>(Timothy C. May)

To<EMAIL_ADDRESS>Message Hash: db27755135ae043d3f8f9e82e92a572fe5c3cdec74ba38becb629c46a67565d4

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1996-07-18 08:08:43 UTC

Raw Date: Thu, 18 Jul 1996 16:08:43 +0800

## Raw message

```
{% raw  %}From<EMAIL_ADDRESS>(Timothy C. May)
Date: Thu, 18 Jul 1996 16:08:43 +0800
To<EMAIL_ADDRESS>Subject: Responding to Pre-dawn Unannounced Ninja Raids
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

At 2:12 AM 7/18/96, The Deviant wrote:

>I have several friends that this has happened to, and pretty much it goes
>like this... round 7:00 AM, when your just going to bed (well, some of us
>don't have jobs till nighttime.. thank god.), they knock down your doors
>and windows (yes, they do come through windows), and they take the
>equipment, disks, tv's, CD players (yes, i know somebody who had their CD
>player taken.  And a pile of CDs. Music ones even.), clock radios, pretty
>much everything electronic they can cary.  If you ever DO get any of it
>back, most likely it is not the same equipment, i.e. they coppied it all
>and kept the original.

I wonder when and how raids in the U.S. moved from the "Come out with your
hands up" verbal announcement (for the cases that needed more than a knock
on the door) to this blast-in-the-doors approach, where the raiders are
dressed in "tactical black" and are wearing black Nomex hoods and carrying
MP-5s and blast any "perp" who looks at them cross-eyed?

As people as diverse as Marine Colonel Jeff Cooper and Watergate felon G.
Gordon Liddy have noted, any black-clad "ninjas" entering a home at 4 a.m.
without clearly announcing themselves are asking for trouble. (Liddy got in
a lot of trouble for calling for "head shots" on rampaging BATFags.
Frankly, I'm not a good enough shot--especially in high-stress
situations--to make head shots with my H & K .45, so I can only hope to
make torso shots.)

It's a mark of what has gone wrong with this country that ordinary citizens
actually fear the midnight raids, the no-knock searches, the "threat
suppression" by ninjas.

(There are many cases where homeowners awoke to the sounds of crashing
doors and windows, reached for a nightstand gun, and were shot dead by the
"ninja" raiders. In some of these incidents, the raid was at the wrong
house, or the "suspicions" of drug or terror involvement were later shown
to be wrong. "Oops.")

Personally, I think all folks should be armed at all times in their homes.
Those who aren't are taking their chances. My personal choice is a Heckler
& Koch USP .45. loaded with Federal Golden Sabres, a hollowpoint round that
has a 92% one-shot stop rate, with adequate penetration through Kevlar
vests (typically worn by BATF raiders). I may die, but I hope I can take at
least two of them with me. (Interestingly, the same class of folks who want
to ban "military-grade crypto" are also seeking to ban Kevlar vest-piercing
rounds. Fortunately, though KTW ammo is no longer available to "marks" (=
civilians), .45 ACP +P does a pretty good job. Certain +P .357 Magnum
rounds are even better penetrators, but recoil and muzzle blast is pretty
severe with these loads.)

This may sound callous, even paranoid. I don't normally talk about such
things, but such raids are becoming increasingly common. (Check out the
case of the retired doctor in Malibu whose beachfront home was raided
without any warnings by the local cops. He reached for a gun and was
blasted with 9mm slugs. His wife survived. Turned out the County of L.A.
had hopes to seize his property in a drug "forfeiture" and sell it at great
profit. They suspected marijuana was being grown. No drugs, no plants, nada
was ever found. "Oops.")

(I expressed my views about being armed in a Usenet article last summer,
and received a "friendly phone call" from a Deputy Sheriff of Santa Cruz
County. (Someone who disliked my article faxed a copy of my article to the
Sheriff's Department.) When he asked me some questions to find out why I
was not trusting the police and "felt the need" to be armed, I got quite
forceful in my comments about the role of the Second Amendment.  Anything volunteered to the
cops is usually a mistake.) He said he might "send a vehicle" out to my
ranch to "talk to me." I asked on what basis, on the basis of what criminal
charges? I also said I'd "be ready." He announced unctuously that my
"threat" had just been "logged" and would be considered in any future
criminal procedures. Needless to say, I got a lot more of my guns ready. So
far, a year later, they haven't raided me yet. Knock on wood. This country
has gone to the dogs.)

The fact is, the "War on Drugs" has tainted this country. Whatever one
thinks of drugs, the result of this War has been that cops are now
paramilatary in nature, that midnight raids have become much more common,
that both cops and citizens are now armed with more firepower than ever
before (I have more than 4000 rounds of ammo at my place, for my sniper
rifle, my (so-called) assault rifle, and my various handguns.

Crypto is just another weapon to use to protect our liberty.

Sorry for the rant, but this recounting of pre-dawn raids on computer users
reminds me that the American political system will likely treat "rogue
computers users" the way it treats suspected drug dealers: break down the
doors, enter at dawn, kill anyone who moves, and let God sort out the
innocent.

--Tim May

Boycott "Big Brother Inside" software!
We got computers, we're tapping phone lines, we know that that ain't allowed.
---------:---------:---------:---------:---------:---------:---------:----
Timothy C. May              | Crypto Anarchy: encryption, digital money,
<EMAIL_ADDRESS>408-728-0152 | anonymous networks, digital pseudonyms, zero
W.A.S.T.E.: Corralitos, CA  | knowledge, reputations, information markets,
Licensed Ontologist         | black markets, collapse of governments.
"National borders aren't even speed bumps on the information superhighway."

{% endraw %}
```

## Thread

+ Return to [July 1996](/archive/1996/07)

+ Return to "[Doug Hughes <Doug.Hughes@Eng.Auburn.EDU>](/authors/doug_hughes_doug_hughes_at_eng_auburn_edu_)"
+ Return to<EMAIL_ADDRESS>(Igor Chudov @ home)](/authors/ichudov_at_algebra_com_igor_chudov__at__home_)"
+ Return to "[Sandy Sandfort <sandfort@crl.com>](/authors/sandy_sandfort_sandfort_at_crl_com_)"
+ Return to "[snow <snow@smoke.suba.com>](/authors/snow_snow_at_smoke_suba_com_)"
+ Return to<EMAIL_ADDRESS>(Timothy C. May)](/authors/tcmay_at_got_net_timothy_c_may_)"
+ Return to "[virgo@nob.tiac.net](/authors/virgo_at_nob_tiac_net)"

+ 1996-07-18 (Thu, 18 Jul 1996 16:08:43 +0800) - Responding to Pre-dawn Unannounced Ninja Raids -<EMAIL_ADDRESS>(Timothy C. May)_
  + 1996-07-18 (Fri, 19 Jul 1996 02:15:46 +0800) - [Re: Responding to Pre-dawn Unannounced Ninja Raids](/archive/1996/07/8266b7ad0e529eac6bc5b6164076f106d7686febf32b925b76d6e56360ddd8e3) - _Doug Hughes<EMAIL_ADDRESS>    + 1996-07-20 (Sat, 20 Jul 1996 20:45:51 +0800) - [Re: Responding to Pre-dawn Unannounced Ninja Raids](/archive/1996/07/35fa79a530a87bd96ba1902e6f1e3c74850c6232b2660f3c5e4348ec5e38d5c4) - _snow<EMAIL_ADDRESS>  + 1996-07-18 (Fri, 19 Jul 1996 04:51:39 +0800) - [Re: Responding to Pre-dawn Unannounced Ninja Raids](/archive/1996/07/89d31ebe42d5c45410471e7163f9797bacd55ff9932b4e289e4038ca95ff3e3d) -<EMAIL_ADDRESS>(Igor Chudov @ home)_
    + 1996-07-19 (Fri, 19 Jul 1996 13:54:59 +0800) - [Re: Responding to Pre-dawn Unannounced Ninja Raids](/archive/1996/07/5869c4a4e7e0179578ce6620c741a3899a1d7b1a2a6f6d850e0d34b7409b4bd7) - _Sandy Sandfort<EMAIL_ADDRESS>      + 1996-07-19 (Fri, 19 Jul 1996 14:31:38 +0800) - [Re: Responding to Pre-dawn Unannounced Ninja Raids](/archive/1996/07/1a2f587e3bbb97b16cffa622b1cfc6b1a561decb356e323ef51d7ccb4e76993f) -<EMAIL_ADDRESS>(Igor Chudov @ home)_
        + 1996-07-19 (Fri, 19 Jul 1996 14:52:22 +0800) - [Re: Responding to Pre-dawn Unannounced Ninja Raids](/archive/1996/07/780366260d9474d59a8798fc089a1d3d56446475431305626fc287390ed0d4c7) - _Sandy Sandfort<EMAIL_ADDRESS>          + 1996-07-19 (Fri, 19 Jul 1996 15:09:14 +0800) - [Re: Responding to Pre-dawn Unannounced Ninja Raids](/archive/1996/07/7baf374ae4e16d60b9a478806f04d42ce143835de868c0b431db6e8fa558fbcf) -<EMAIL_ADDRESS>(Igor Chudov @ home)_
    + 1996-07-20 (Sat, 20 Jul 1996 19:43:04 +0800) - [Re: Responding to Pre-dawn Unannounced Ninja Raids](/archive/1996/07/ffcb47a5c8073ba33dc94293837f1f93d28b2dd15645a26291ca1c9d9554f37a) - _snow<EMAIL_ADDRESS>      + 1996-07-20 (Sat, 20 Jul 1996 18:58:44 +0800) - [Re: Responding to Pre-dawn Unannounced Ninja Raids](/archive/1996/07/2e9ccccfc88df3fd530fc78698cc463c21fd8cf8c8f537466a745e0b863bd6ef) -<EMAIL_ADDRESS>(Igor Chudov @ home)_
  + 1996-07-19 (Fri, 19 Jul 1996 08:10:43 +0800) - [Re: Responding to Pre-dawn Unannounced Ninja Raids](/archive/1996/07/963586227eb544f6a3a1834a27ed433806ebffefcdb991b5cc17b9f2f90784c3) -<EMAIL_ADDRESS>

license: MIT

branch_name: refs/heads/master

extension: md

gha_license_id: MIT

license_type: permissive


text:
#Mokuji - SDK component
_Version 0.0.3 Alpha_

An integrated software development kit for Mokuji.

This component adds a configuration page with many helpers to create software faster for Mokuji.

## Feature list
* Logging of missing language files or phrases.
* Resolvable notifications in the backend of things that need attention..
* Component generator
* Theme generator
* Template generator
* package.json generator

repository: Mokuji/mokuji-component-sdk

repo_name: Mokuji/mokuji-component-sdk


text:
# Flutter Html Editor

Flutter HTML Editor is a text editor for android and iOS to help write WYSIWYG HTML code based on the Summernote javascript wrapper. with this library you can insert images into the text editor

![demo example](https://github.com/xrb21/flutter-html-editor/blob/master/screenshoot/flutter_html_editor.gif)  ![demo android](https://github.com/xrb21/flutter-html-editor/blob/master/screenshoot/sc.jpeg)   ![demo ios](https://github.com/xrb21/flutter-html-editor/blob/master/screenshoot/sc_iphone.png)

## Setup

add ```html_editor: ^1.0.1``` as deppendecy to pubspec.yaml

### iOS

Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:

```
    <key>io.flutter.embedded_views_preview</key>
    <true/>

    <key>NSCameraUsageDescription</key>
    <string>Used to demonstrate image picker plugin</string>
    <key>NSMicrophoneUsageDescription</key>
    <string>Used to capture audio for image picker plugin</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>Used to demonstrate image picker plugin</string>

    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
         <true/>
    </dict>
```

### Usage

1. import flutter html editor
```
    import 'package:html_editor/html_editor.dart';
```

2. Create Global key from HTML Editor State
```
    GlobalKey<HtmlEditorState> keyEditor = GlobalKey();
```

3. Add HTML Editor to widget
```
    HtmlEditor(
        hint: "Your text here...",
        //value: "text content initial, if any",
        key: keyEditor,
        height: 400,
    ),
```

4. Get text from Html Editor
```
    final txt = await keyEditor.currentState.getText();
```

### Avalaible option parameters

Parameter | Type | Default | Description
------------ | ------------- | ------------- | -------------
**key** | GlobalKey<HtmlEditorState> | **required** | for get method & reset
**value** | String | empty | iniate text content for text editor
**height** | double | 380 | height of text editor
**decoration** | BoxDecoration |  | Decoration editor
**useBottomSheet** | bool | true | if true Pickup image user bottomsheet or dialog if else
**widthImage** | String | 100% | width of image picker
**showBottomToolbar** | bool | true | show hide bottom toolbar
**hint** | String | empty | Placeholder hint text

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

`#MajalengkaExoticSundaland`

repository: JideGuru/flutter-html-editor

gha_language: Dart

repo_name: JideGuru/flutter-html-editor


text:
# FirstClassConnect

## Prerequisites
Make sure you have installed all these prerequisites on your development machine.
* Node.js - For this project, please use this one (node-v6.12.0.pkg) under dependencies.
* MongoDB - [Download & Install MongoDB](http://www.mongodb.org/downloads), and make sure it's running on the default port (27017).
* Bower - You're going to use the [Bower Package Manager](http://bower.io/) to manage your front-end packages, in order to install it make sure you've installed Node.js and npm, then install bower globally using npm:

```
$ sudo npm install -g bower
```

* Grunt - You're going to use the [Grunt Task Runner](http://gruntjs.com/) to automate your development process, in order to install it make sure you've installed Node.js and npm, then install grunt globally using npm:

```
$ sudo npm install -g mocha
$ sudo npm install -g grunt-cli
$ sudo npm install -g grunt
```

* Socket.io - to have a real time chat room, in order to install it make sure you've installed Node.js and npm, then install grunt globally using npm & bower:

```
$ bower install angular-socket-io --save
$ npm install --save socket.io
```

* augular-scroll-glue (autoscroll down when new message arrived) - An AngularJs directive that automatically scrolls to the bottom of an element on changes in its scope.

Install
Bower
```
$ bower install angular-scroll-glue --save
```
npm
```
$ npm i angularjs-scroll-glue
```

## Quick Install
Once you've downloaded the boilerplate and installed all the prerequisites, you're just a few steps away from starting to develop you MEAN application.

The first thing you should do is install the Node.js dependencies. The boilerplate comes pre-bundled with a package.json file that contains the list of modules you need to start your application, to learn more about the modules installed visit the NPM & Package.json section.

To install Node.js dependencies you're going to use npm again, in the application folder run this in the command-line:

```
$ npm install
######## don't know why below two need to run again without -g, in order to work #######
$ sudo npm install mocha
$ sudo npm install grunt
```

This command does a few things:
* First it will install the dependencies needed for the application to run.
* If you're running in a development environment, it will then also install development dependencies needed for testing and running your application.
* Finally, when the install process is over, npm will initiate a bower install command to install all the front-end modules needed for the application

## Running
After the install process is over, you'll be able to run your application using Grunt, just run :

```
$ npm start
```

Your application should run on the 3000 port so in your browser just go to [http://localhost:3000](http://localhost:3000)

# FirstClassConnect

repository: zisyang/FirstClassConnect

repo_name: zisyang/FirstClassConnect


text:
Welcome to the front end server for A2Empowerment.

Installation requirements:

1. Install Git

2. Install Node and NPM

3. Download the code

4. npm install -g requirements.txt

5. Run: DEBUG=myapp npm start (OS X/Linux)

6. Visit http://localhost:3000/

:D

The front end project uses the theme from StartBootstrap under the Apache 2.0 License:
http://startbootstrap.com/template-overviews/sb-admin/

gha_language: JavaScript


text:
# cci

useful **c**ircle**ci** rest [api](https://circleci.com/docs/api/v1-reference/) shortcuts.

## install

```
$ npm install -g cci
```

## commands

### login

add [api token](https://circleci.com/docs/api/v1-reference/#getting-started) for this app.

### logout

delete api token.

### show

output circleci status related branch. without branch, `cci` will resolve it with **current working directory** or **branch**.

```shell
$ cci show working-1
# cci will print recent build result in 'working-1' branch
```

```shell
$ pwd
.../working-2
$ cci show
# cci will print recent build result in 'working-2' branch
```

```shell
$ git branch
* working-3
$ cci show
# cci will print recent build result in 'working-3' branch
```

### insight

output recent build results.

### open

open circleci dashboard in default browser.

## see how it works

![demo](https://raw.githubusercontent.com/chitacan/cci/master/img/demo.gif)

## License

MIT © Kyungyeol Kim

repository: chitacan/cci

repo_name: chitacan/cci


text:
---
# Portfolio category
category: "sketches"

# Portfolio context
title: "An Orange"
id: "004"
date: "2017"
path: "/sketches/an-orange"
thumbnail: "/sketches/002/cover.png"

# Portfolio media
mediaType: "single-image"
mediaSrc: "/sketches/002/media.jpg"
---

Dark spots were added to show the pits on the orange surface. Usually, near the pits, there were also highlights. For the cross-section, the fruit was juicy with water. With respect to this, highlights were added to show the watery texture of the pulp.

branch_name: refs/heads/add-illustrations


text:
YouBook
=======

Booking system for LANs etc.

Installation
------------
1. Make a copy of config-example.php and name it config.php.
2. Change the information to fit your needs
3. Change pages/main.php for your default home page

License
-------
Copyright 2014 Dan Printzell

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Authors
-------
Dan "WildN00b" Printzell

repository: Vild/YouBook

repo_name: Vild/YouBook


text:
## Project Name
Goshen-foods

## Description
This is a django application that allows users to order online.

## Setup and installations
- Fork the data onto your own personal repository.
- Clone Project to your machine
- Activate a virtual environment on terminal:
-  source virtual/bin/activate
- Install all the requirements found in requirements file.
- On your terminal run python3.6 manage.py runserver
- Access the live site using the local host provided.

## Getting started
# Prerequisites
- python3.6 virtual environment pip

## Clone the Repo and rename it to suit your needs.
- https://github.com/praize-laurine/Goshen-foods

## Initialize git and add the remote repository
- git init
- git remote add origin your-repository-url

## Create and activate the virtual environment
- python3.6 -m virtualenv virtual
- source virtual/bin/activate

## Setting up environment variables

DEBUG=True
DB_NAME='farm'
DB_USER=''
DB_PASSWORD=''
DB_HOST='<IP_ADDRESS>'
MODE='dev'
ALLOWED_HOSTS='.localhost', '.herokuapp.com', '.<IP_ADDRESS>'
DISABLE_COLLECTSTATIC=1

## Install dependancies
- Install dependancies that will create an environment for the app to run pip install -r requirements.txt

## Make and run migrations

python3.6 manage.py check
python manage.py makemigrations news
python3.6 manage.py sqlmigrate news 0001
python3.6 manage.py migrate

## Run the app
python3.7 manage.py runserver

## Built With
1. Python3.6
2. Django 3.1.6
3. Postgresql
4. Boostrap
5. HTML
6. CSS

## License
LICENSED UNDER License: MIT

repository: praize-laurine/Goshen-foods

repo_name: praize-laurine/Goshen-foods


text:
# chronic

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

*adjective*: from Greek *khronikos* ‘of time,’ from *khronos* ‘time.’

[![NPM](https://nodei.co/npm/chronic.png?downloads=true)](https://nodei.co/npm/chronic/)

[![Build Status](https://travis-ci.org/RnbWd/chronic.svg?branch=master)](https://travis-ci.org/RnbWd/chronic)
[![Dependency Status](https://img.shields.io/david/rnbwd/chronic.svg?style=flat-square)](https://david-dm.org/rnbwd/chronic)
[![Stability Status](https://img.shields.io/badge/stability-nuclear-red.svg?style=flat-square)](https://github.com/dominictarr/stability#experimental)

This library is undergoing a rewrite, all of the previous API information, Readme, Rationale, etc. can be found in the [wiki](https://github.com/RnbWd/chronic/wiki). I can make no guarantees about the functionality / purpose of this rewrite.

Thanks you!

**MIT**

repository: RnbWd/chronic

repo_name: RnbWd/chronic


text:
# artistic-style
Implementation of the [A Neural Algorithm of Artistic Style](https://arxiv.org/abs/1508.06576) paper

# Installation

clone repository

    git clone https://github.com/mahkons/artistic-style
    cd artistic-style
create and activate conda env (optional)

    conda env create -f environment.yml
    conda activate artistic-style

# Launch
    python transfer.py --content-image="PATH_TO_CONTENT" --style-image="PATH_TO_STYLE" --output-image="PATH_TO_OUTPUT"

# Results
Van Gogh's Starry Night to Yekaterinburg City Administration building
![night_to_ekb](generated/night_ekb_1.jpg?raw=true)

Edvard Munch's The Scream to Yekaterinburg City Administration building
![scream_to_ekb](generated/scream_ekb_1.jpg?raw=true)

repository: mahkons/artistic-style

repo_name: mahkons/artistic-style


text:
### [CVE-2018-2593](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-2593)
![](https://img.shields.io/static/v1?label=Product&message=PeopleSoft%20Enterprise%20PT%20PeopleTools&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%208.54%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Easily%20exploitable%20vulnerability%20allows%20unauthenticated%20attacker%20with%20network%20access%20via%20HTTP%20to%20compromise%20PeopleSoft%20Enterprise%20PeopleTools.%20%20Successful%20attacks%20require%20human%20interaction%20from%20a%20person%20other%20than%20the%20attacker.%20Successful%20attacks%20of%20this%20vulnerability%20can%20result%20in%20takeover%20of%20PeopleSoft%20Enterprise%20PeopleTools.&color=brighgreen)

### Description

Vulnerability in the PeopleSoft Enterprise PeopleTools component of Oracle PeopleSoft Products (subcomponent: PIA Core Technology). Supported versions that are affected are 8.54, 8.55 and 8.56. Easily exploitable vulnerability allows unauthenticated attacker with network access via HTTP to compromise PeopleSoft Enterprise PeopleTools. Successful attacks require human interaction from a person other than the attacker. Successful attacks of this vulnerability can result in takeover of PeopleSoft Enterprise PeopleTools. CVSS 3.0 Base Score 8.8 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

### POC

#### Reference
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html

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

repository: trickest/cve

branch_name: refs/heads/main

gha_language: HTML

repo_name: trickest/cve


text:
# commandparse

Module to parse command based CLI application.

Usage:

* Subclass the Command class
* Add a method with a name such as `prefix_commandname` with kwargs as required argument
* Create an ArgumentParser instance
* Call the `Subclass.add_suparsers` with the ArgumentParser instance and other settings
* Use the `dispatch_command` function with the args returned by `parser.parse_args()`

```
parser = ArgumentParser(...)
[...]
Subclass.add_subparsers(parser, prefixes=["get_", "do_", ...], title="commands", description="available commands")

cmd = Subclass(...)
cmd.dispatch_command(commands, args)
```

See example.py for a more complete example. For a real world application using this lib, see: https://github.com/franc-pentest/ldeep

repository: flgy/commandparse

gha_language: Python

repo_name: flgy/commandparse


text:
## Shark :o::smiley: fa18-523-72

|          |                        |
| -------- | ---------------------- |
| title    | Shark                  |
| status   | 100                     |
| section  | High level Programming |
| keywords | High level Programming |

Data Scientists when working on huge data sets try to extract meaning and
interpret the data to enhance insight about the various patterns,
opportunities, and possibilities that the dataset has to offer
[@shark-paper-2012]. At a traditional EDW (Enterprise Data
Warehouse), a simple data manipulation can be performed using SQL queries
 but we have to rely on other systems to apply the machine
learning algorithms on these data sets. Apache Shark is a distributed query
engine developed by the open source community whose goal is to
provide a unified system for easy data manipulation using SQL and pushing
 sophisticated analysis towards the data.

``Shark is built on Hive Codebase and it has the ability to execute HIVE QL
queries up to 100 times faster than Hive without making any
change in the existing queries'' [@shark-paper-2012].

``Shark can run both on the Standalone Mode and Cluster-Mode. Shark can answer
 the queries 40X faster than Apache Hive and can run
machine learning algorithms 25X faster than MapReduce programs in Apache Hadoop
 on large data sets'' [@shark-paper-2012].

Shark is a new data analysis system can process complex analytics queries on
large clusters. It help in a  distributed
memory abstraction to provide a unified engine that can run SQL queries and
 sophisticated analytics functions  at scale, and efficiently recovers
from failures<EMAIL_ADDRESS>Due to this SQL queries up
to 100 time faster than Apache Hive, and machine learning programs up to 100
time faster than Hadoop by Shark.
The Shark shows  speedups while retaining execution engine like MapReduce and
the detailed fault tolerance properties provide by such engines, unlike
previous systems. It extends such an engine in several ways, including
column-oriented in-memory storage and dynamic mid-query replanning,
to effectively execute SQL. The result is a system that matches the speedups
 reported for MPP analytic databases over MapReduce, while offering fault
 tolerance properties and complex analytics
capabilities that they lack<EMAIL_ADDRESS>
Shark is a data Warehouse system built on top of Apache Spark which does the
 parallel data execution and is also capable of deep data
analysis using the Resilient Distributed Datasets (RDD) memory abstraction
 which unifies the SQL query processing engine with
analytical algorithms [@shark-paper-2012]. Based on this common abstraction,
 it allows running two query in the same set of workers
and share intermediate data. Since RDDs are designed to scale horizontally,
 it is easy to add or remove nodes to accommodate more
data or faster query processing. Thus, it can be scaled to the large number
 of nodes in a fault-tolerant manner.

Shark is a component of an open source,in-memory analytics, and fault-tolerant,
 distributed Spark system, which can be installed on the same cluster as
 Hadoop.
The Shark is fully compatible with Hive and supports Hive data formats, HiveQL
 and user-defined functions. In addition Shark can be used to query data4 in
 HDFS, HBase, and Amazon<EMAIL_ADDRESS>
**In-memory column store and column compression:**
	The best performance gains in using Impala are achieved by using the Trevni
	columnar storage format. In the case of Shark, their custom columnar store
	and compression reduced storage and query time by about 5X.
<EMAIL_ADDRESS>
**Control over data partitioning => Fast, distributed JOINS:**
	Shark lets users partition tables using a specified key. In particular if
	tables will be “joined” frequently, then one can partition them using a
	common (“join”) key. Co-partitioning is a trick used by many MPP databases
	to speed up “joins” involving massive<EMAIL_ADDRESS>
**Machine-learning support:**
	RDD’s are distributed objects that can be cached in-memory, across a
	cluster of compute nodes. They are the fundamental data objects used in
	Spark. Users can create RDD’s (using the sql2rdd command) and apply
	machine-learning functions to them, all from within Shark. Currently
	machine-learning and analytic functions can be written in Scala and
	Java, with support for Python coming soon. Not only do users get the
	benefit of performing simple SQL queries and complex computations from
	within the same7 framework, Shark is 100X faster than
<EMAIL_ADDRESS>

Thus, this new data analysis system performs query processing and complex
analytics (iterative Machine learning) at scale and efficiently recovers from
the failures.

repository: yulizhao/technologies

repo_name: yulizhao/technologies


text:
# Landing

This is the source code for the landing page demo seen [here](https://craft.js.org/)

> The code is admittedly a bit messy and is scheduled for a clean up. In the mean time, feel free to submit an issue if you encounter any confusing/weird/wtf bits ... or even better, submit a pull request! :clap:

--------------------------------------------------------------------------------------------------------------

Responsive Container:
    - Use this component whenever you need to have bootstrap responsive classes in your design
    - This is only component that had responsiveness, if you need to have other
        components be responsive as well, wrap them in Responsive Container
    - Components that are dropped in Responsive container need to have witd 100% (% is key)
        in order to behave as expected
    - Bootstrap classes and their corresponding screen widths
         Extra small screen / phone
          xs: <576px
        Small screen / phone
          sm: ≥576px
        Medium screen / tablet
          md: ≥768px
        Large screen / desktop
          lg: ≥992px
        Extra large screen / wide desktop
          xl: ≥1200px

Form:
    -

branch_name: refs/heads/develop

gha_language: TypeScript


text:
# UDFs

## Status

Implemented

Proposed by: Adam Gibson (31 Jan 2023)

Discussed with: Paul Dubs

Finalized by: Adam Gibson (2nd Feb 2023)

## Context

Users should be able to define their own custom operations in SameDiff, including custom gradients.
Currently, defining a User-Defined Function (UDF) is not properly integrated into SameDiff and requires handling multiple aspects of the system, such as:

1. Registering the operation with the ImportClassMappings operation registry
2. Implementing special code paths in the operation executioners to support calling user-defined code
3. Implementing special code paths for serialization to correctly load a SameDiff graph with the operation
4. Making a direct function call in SameDiff to properly register the operation as part of the graph.

## Proposal
To support custom UDFs in SameDiff, the following components will be created:

1. An operation type for the FlatBuffersMapper (used for saving graphs) to know how to save and load UDFs
2. A base class extending DynamicCustom with clear method and constructor overrides for defining a custom operation
3.  An execution method where the user passes in relevant inputs, which will be used by the operation executioner (instead of accessing the low-level code)
4. A hook in SameDiff to register the UDF, such as sd.udf(...)
5. An annotation or subclass scanner to discover and register user-defined operations in relevant areas, such as the ImportClassMappings.

These components work together to allow for the following:

1. Scanning for annotations to discover and register user-defined operations with the operation registry
2. Users extending the base class to create their custom UDFs
3. Integrating UDFs into SameDiff by registering the operation with the graph, for example:
java
```java
SameDiff sd = SameDiff.create();
UserDefinedCustomOp userDefinedCustomOp = ...;
SDVariable[] opOutputs = sd.doUdf(userDefinedCustomOp);
```

When an operation is registered, it is saved and loaded with the graph like any other operation.
Dynamic creation of operations via reflection when a graph is loaded, using the annotation scanning.

Below is an example:
```java
@UserDefinedOp // Annotation for discovering custom ops to register
public class TestAddUdf extends UserDefinedCustomOp { // Class to extend

    // Empty constructor. Used when creating a graph from flatbuffers in the underlying { org.nd4j.autodiff.samediff.serde.FlatBuffersMapper}.
    public TestAddUdf() {
        super();
    }

// Other constructors can be whatever the user wishes. Custom ops usually take in a
// SameDiff instance and one or more SDVariable args. These are the minimum components to instantiate an op.
// Each of these calls super(...) to properly configure the op to be used within the SameDiff graph passed in.

    public TestAddUdf(SameDiff sameDiff, SDVariable arg) {
        super(sameDiff, arg);
    }

    public TestAddUdf(SameDiff sameDiff, SDVariable[] args) {
        super(sameDiff, args);
    }

    // Used to calculate output variables when registering an op with a graph.
    @Override
    public List<DataType> calculateOutputDataTypes(List<DataType> dataTypes) {
        // A user must implement this method. It is used in SameDiff to determine the number of
        // output variables needed when it can't be determined from getNumOutputs().
        return Arrays.asList(dataTypes.get(0));
    }

    @Override
    public void setPropertiesForFunction(Map<String, Object> properties) {
        // A user can define properties as fields. If so, they must implement this method and propertiesForFunction().
        // These are used to create an op from scratch when saving/loading a model.
    }

    @Override
    public Map<String, Object> propertiesForFunction() {
        // Returns properties (fields on the java class) as a map. Properties can be any value that
        // is a field on the op itself. These properties are optional and may not be needed,
        // depending on the op. All properties will end up being passed to the underlying iArguments,
        // tArguments, and other associated data structures inherited from DynamicCustomOp.
        return Collections.emptyMap();
    }

    @Override
    public int getNumOutputs() {
        // Returns the number of outputs for the op. If an op has a variable number of outputs,
        // a user will need to use an SDVariable.eval() call to return an int to determine the number of outputs.
        return 1;
    }

    @Override
    public String opName() {
        // The op name, required for proper registration with the registry.
        return "test_add_udf";
    }

    @Override
    public void configureFromArguments() {
        // A hook for configuring the op after creation. Used for configuration from specified arguments,
        // such as ints, floats/doubles, and input variables. The arguments referenced are the underlying
        // arguments that get passed to every c/c++ ops, including iArguments, tArguments, dArguments,
        // inputArguments, and outputArguments.
    }

    @Override
    public void configureWithSameDiff(SameDiff sameDiff) {
        this.sameDiff = sameDiff;
        // Implemented this method for handling initialization after the op is created. It initiates values using relevant
        // SameDiff metadata, such as obtaining input and output argument metadata from SDVariable found as args().
    }

    @Override
    public boolean isInplaceCall() {
        // Indicates whether the inputs are also the outputs.
        // Note that extra care should be taken to avoid bugs when an operation is in-place.
        // This is particularly important when an input to an operation is a view.
        return false;
    }

    @Override
    public List<LongShapeDescriptor> calculateOutputShape() {
        // Describes how to calculate the output shape based on the inputs.
        // Note that calculateOutputShape is called when dynamically creating output arrays to store the result
        // of an operation's execution.
        // It is not called when an operation is in-place.
        return Arrays.asList(inputArguments.get(0).shapeDescriptor());
    }

    @Override
    public List<LongShapeDescriptor> calculateOutputShape(OpContext oc) {
        // Describes how to calculate the output shape based on the inputs from the operation context.
        // Note that calculateOutputShape is called when dynamically creating output arrays to store
        // the result of an operation's execution.
        // This is different from the above method as the inputs are obtained from the operation
        // context instead of the operation itself.
        // It is not called when an operation is in-place.
        return Arrays.asList(oc.getInputArrays().get(0).shapeDescriptor());
    }

    @Override
    public List<SDVariable> doDiff(List<SDVariable> f1) {
        // The doDiff method must be implemented by the user if the operation is to be used for training.
        // It should return one gradient for each input.
        return new AddBpOp(sameDiff, larg(), rarg(), f1.get(0)).outputs();
    }

    @Override
    public void exec() {
        // The exec method for the operation itself, consisting of operation execution
        // and setting the outputs for the operation.
        AddOp addOp = new AddOp();
        addOp.addInputArgument(inputArguments.get(0), inputArguments.get(1));
        Nd4j.getExecutioner().exec(addOp);
        this.outputArguments.addAll(addOp.outputArguments);
    }

    @Override
    public void exec(OpContext opContext) {
        // The exec method for the operation itself, consisting of operation execution and
        // setting the outputs for the operation context.
        Nd4j.getExecutioner().exec(new AddOp(), opContext);
    }
}

```

With the above definition, a user just has to pass in a created op as an instantiated object.
As long as an op is annotated it is properly integrated with the samediff graph.

When executing, the special code paths in the op executioners will call exec() or exec(opContext)

## Consequences

### Advantages

* Allows users to define their own ops to make optimizations or to introduce custom ops
for use within samediff
* Augments model import by combining annotation scanning from model import with
annotation registration of udfs with similar annotations

### Disadvantages
* A bit lower level which means users can misuse the api or encounter bugs they might not
otherwise with ops maintained in the core framework.

path: /ADRs/0023 - UDFs.md

filename: 0023 - UDFs.md

gha_language: Java


text:
# README

### GOAL
The primary goal of the project is to develop an intuitive software that allows for advanced spectral analysis with USB-camera-based spectrometers.
The project is related to the website spec-it.org which contains instructions of how to build spectrometers from low cost materials.

### CONTRIBUTION

######  Please find CONTRIBUTION.md for further information about contributing

### Dependencies
pandas==0.24.2\
numpy==1.16.3\
scipy==1.3.0\
xlwt==1.3.0\
imutils==0.5.3\
qimage2ndarray==1.8.3\
matplotlib==3.1.0\
opencv_contrib_python==<IP_ADDRESS>\
pyqtgraph==0.11.0\
PyQt5==5.15.1

### USAGE
#### Startup
From source, run
```python
python3 main_window.py
```

A prerequisite for the software to start, is that a USB-camera device with opencv-compatibility is connected. Although compatibility depends primarily on the camera device used, Windows and Linux appears to have better openCV support than Mac (where some openCV functions are not supported).

Connecting a USB camera (or if there is an integrated USB-camera available) is normally all it takes for the software to start up and serve continuous video stream and a line plot. If the software is percieved as slow/non-responsive it is likely due to too large images being served in the video stream and this can be reduced (without reducing spectral resolution) by reducing the downsampling parameter.

It is up to the user to achieve a spectral projection in the image. When this is achieved, the line plot ranges can be specified to make sure that the spectral projection is maximized within the line data window. A cropped window showing the extent of the window used for the lineplot helps to tune this.

#### Calibration
The pixel data (x-axis) can then be transformed to wavelength by pixel wavelength calibration. By identifying known spectral peaks (most easily done using a fluorescent light or low energy light source and searching for the expected peaks) and noting at what pixels the respective peaks are centered around, the wavlength vs pixel no projection can be calculated and applied to express the x-axis in wavelength (nanometers, nm).

Once the pixel wavelength calibration has been conducted, it is possible to calibrate for the spectral sensitivity. This is carried out by obtaining a spectral projection from a black body of known temperature (for instance a common halogen lamp, which are typically 2800-3000K, normally stated at the box).

After calibration, any changes to the acquisition can/will compromise the calibration. It is also important to note that because there are so many different USB-cameras with different optical performance, sensor specs and openCV functionality it is impossible to guarantee valid calibrations.

#### Experiments
The software currently has an experiment section where the purpose is to simplify data acquisition and analysis for some basic experimental flows (currently support for Transmission and Emission). The idea is to follow the suggested flow and the operations associated with each experiment is carried out automatically to arrive at the calculated "end-plot" (e.g. the Transmission plot in the Transmission experiment).

#### Saving/Loading settings and data
The experimental data can be saved as an Experiment, where all the plots, raw data and settings (including calibrations) are saved as images and in various data formats for post analysis or for loading at later time.

Settings can be saved from the acquisition menu but is also saved when saving calibration or an experiment.

Individual plots and/or associated raw data can be saved by clicking at the ".png" or ".txt" buttons next to each plot.

#### General
###### Command for compiling Qt-GUI
```python
python3 -m PyQt5.uic.pyuic -x ui_main_window.ui -o ui_main_window.py
```

repository: kalleadolfsson/spec-streamer

repo_name: kalleadolfsson/spec-streamer


text:
Envision
========

This project aims to develop a next generation cross-platform IDE featuring a visual structured code editor.

Envision is an open-source project using the BSD license. The project is based on the Qt framework.

You can find more information about the project and the developer documentation on [Envision's GitHub Project Page](http://dimitar-asenov.github.com/Envision/).

repository: teeberg/Envision

repo_name: teeberg/Envision


text:
# Towards Learning a Universal Non-Semantic Representation of Speech

Paper: [Towards Learning a Universal Non-Semantic Representation of Speech](https://arxiv.org/abs/2002.12764)

## Things you can do

1. Reproduce the results from our [paper](https://arxiv.org/abs/2002.12764)
1. Compute performance of a new embedding on the [Non-semantic Speech
   Benchmark (NOSS)](https://www.tensorflow.org/datasets/catalog/overview#audio)
1. Run our embedding [TRILL](https://aihub.cloud.google.com/s?q=nonsemantic-speech-benchmark),
   or any of the other embedding networks on a new dataset.

## Citation
To use this benchmark or embeddings, please cite as follows:

```
@article{shor2020,
    title={Towards Learning a Universal Non-Semantic Representation of Speech},
    author={Joel Shor and Aren Jansen and Ronnie Maor and Oran Lang and Omry Tuval and Felix de Chaumont Quitry and Marco Tagliasacchi and Ira Shavitt and Dotan Emanuel and Yinnon Haviv},
    year={2020},
    journal = {ArXiv e-prints},
    eprint={2002.12764},
    archivePrefix={arXiv},
    primaryClass={eess.AS},
    url = {https://arxiv.org/abs/2002.12764}
}
```

## Overview

![Data flowchart](images/data_flowchart.png "Data flowchart"){width="500"}

![Embedding flowchart](images/embedding_flowchat.png "Embedding flowchart"){width="400"} ![Eval model flowchart](images/eval_moodel_flowchart.png "Eval model flowchart"){width="400"}

## Detailed Instructions

### Full-flow colaboratory notebook

Use `non_semantic_speech_benchmark/train_and_eval_sklearn_small_TFDS_dataset.ipynb`.

### Embedding data prep beam job, TFDS dataset

Use `non_semantic_speech_benchmark/data_prep/audio_to_embeddings_beam_main.py`
with `tfds_dataset`.

### Embedding data prep beam job, custom dataset

Use `non_semantic_speech_benchmark/data_prep/audio_to_embeddings_beam_main.py`
with `input_glob`.

repository: Cazcode/google-research

repo_name: Cazcode/google-research


text:
# I01

There were problems with the CTD data from
[316N145_11](https://cchdo.ucsd.edu/cruise/316N145_11), resulting in
`flag=3`  or ["questionable"(PDF!)](https://dornsife.usc.edu/assets/sites/463/docs/WOCE_QualityFlags.pdf). But the overall impression was "Despite the difficulties,
the data set produced by cruise end is of fair quality" (P.21 of
[Cruise Report](https://cchdo.ucsd.edu/data/137/i01edo.pdf).

## 1. Source
### 1995a
+ [3175MB95_04](https://cchdo.ucsd.edu/cruise/3175MB95_04)

[06MT32_1](https://cchdo.ucsd.edu/cruise/06MT32_1) and
[06BE89_1](https://cchdo.ucsd.edu/cruise/06BE89_1) occupied a few stations
on I01 but the number is small and not included.

### 1995b
+ [316N145_11](https://cchdo.ucsd.edu/cruise/316N145_11)
+ [316N145_12](https://cchdo.ucsd.edu/cruise/316N145_12)

## 2. Glitches

### 1995b
For 1995b occupation, We therefore apply a patch to use data with `flag=3` (i.e. use `read_ctd_exchange_1995b.m`).

repository: kkats/GO-SHIP-Easy-Ocean

gha_language: MATLAB

gha_license_id: NOASSERTION

repo_name: kkats/GO-SHIP-Easy-Ocean


text:
# Machine Learning PipeLine

> Machine learning (ML) pipelines consist of several steps to train a model.

## A machine learning pipeline would consist of the following processes:

- Data collection
- Data cleaning
- Feature extraction (labelling and dimensionality reduction)
- Model validation
- Visualisation

Data collection and cleaning are the primary tasks of any machine learning Pipeline.

## Data

House Prices: Advanced Regression Techniques

### File descriptions

- train.csv - the training set

- test.csv - the test set

- data_description.txt - full description of each column, originally prepared by Dean De Cock but lightly edited to match the column names used here

- sample_submission.csv - a benchmark submission from a linear regression on year and month of sale, lot square footage, and number of bedrooms
Data fields
Here's a brief version of what you'll find in the data description file.

## [Data Descriptionn]()


text:
---
layout: post
title: "China is the Future"
author: "Kenny Xu"
categories: journal
tags: [technology,china]
image:
  feature: Marty Mcfly.jpg
  teaser: Marty Mcfly_teaser.jpg
  credit:
  creditlink: ""
---
>It is a bright object and it's obviously rotating because it's flashing, it's way out in the distance, certainly rotating in a very rhythmic fashion because the flashes come around almost on time [...] I don't know whether that does you any good, but there's something out there.

China is supposed to be the "nation of copycats." Innovation was supposed to be present in only the exlusive West, birthed in the boardrooms of suits and white people. Then, the Chinese would wait patiently for something new until conjuring up their own knockoff. But now, I'm not so sure if that's all accurate anymore. From what I see, China is now leading innovation in a lot of industries—particularly with these things called **super apps**.

A **[super app](http://www.whatsonweibo.com/whatswechat/)** refers to a mobile app that does basically everything, from social media, group chats, and gaming to vendor payments, taxi booking, and bike rentals—all within their own respective ecosystems. These apps are known in English as **WeChat** and **Alipay**.

When I think of these super apps, _Weixin_ and _Zhifubao_ as they are known by locals, the word "advanced" comes to mind. But maybe that's not the best word to use. Maybe "ubiquitous," or "universal," or "you literally cannot function in Shanghai without WeChat or Alipay." Using these kind of apps, you can even [pay your own water bill](https://www.beijing-kids.com/blog/2015/10/13/net-savings-paying-for-utilities-on-wechat-wallet-and-alipay/) right after you videochat your grandparents or book a movie ticket if you wanted. WeChat, and less so Alipay, are influential in everyday life to a degree that isn't even close to being matched in the States.

As Ben Thompson writes in recent column titled ["Apple's China Problem"](https://stratechery.com/2017/apples-china-problem/):

>There is nothing in any other country that is comparable: not LINE, not WhatsApp, not Facebook. All of those are about communication or wasting time: WeChat is that, but it is also for reading news, for hailing taxis, for paying for lunch (try and pay with cash for lunch, and you’ll look like a luddite), for accessing government resources, for business. For all intents and purposes WeChat is your phone, and to a far greater extent in China than anywhere else, your phone is everything.

Therefore, your average Chinese citizen doesn't have to press the home button to do what Americans have to do in a whole slew of different apps.

Now in the U.S., we don't have these kind of _super apps_, but we do have some mobile payment systems. But take a closer look at them, and you'll find that none of them can compete with the corresponding standard in China.

We've got Venmo, but vendors don't usually accept it and seems exclusively used by college students. We also have Apple Pay, but at least how I see it, Apple's take on mobile payments still seems rather "gimmicky" and isn't something that—in the near future at least—will be as used as pervasively as WeChat Wallet and Alipay are. There are some other apps like Google Wallet, but they're nowhere near comparable to China's behemoth payment systems. For comparison, [China's mobile payment market amounted to $5.5 trillion in 2016, while the United States market was measured at a meager $112 billion](https://www.ft.com/content/00585722-ef42-11e6-930f-061b01e23655?mhq5j=e3). In Shanghai, where I am right now, basically every single vendor accepts Alipay or WeChat payments, and the majority accept both. Oh well. At least we have _freedom_, right?

And being in China myself, I've been compelled to embrace this mobile innovation. I am all for basking in the glory of the mobile future.

## I mean, just look at some of this stuff.
If you have good enough credit from paying bills and the like, you can borrow a complimentary umbrella or even a portable charger (not pictured) from one of the many stations like these around Shanghai.

So, so, sooo many rentable bikes, too.

Or you can try your hand at the many QR codes.

I've only given you a small taste of this world, though. I haven't even gotten to the communal mailboxes or the food and grocery delivery (that often comes in <20 minutes!). It's ridiculous here really. It might be the population density, or the fast-pace society, but whatever it is, China's mobile infrastructure leads in the world with its prominent _super apps_. Everything is just so convenient and unprecedented, and it's something that's interesting to look at from my perspective growing up in the United States. But of course, I guess all this is expected when you are living in the future.

repository: kennythexu/kennythexu

repo_name: kennythexu/kennythexu


text:
# HtmlTweaks test: tags

## onPreParse changes

### INSERT: surround contents of div having class with box

Lorem **ipsum** dolor sit amen.

One Two Three.

### SURROUND: surround div having class with box

Lorem **ipsum** dolor sit amen.

One Two Three.

### REPLACE: replace span having class with div

Lorem **ipsum** dolor sit amen.

One Two Three.

## onPostParse changes

### INSERT: "======" and "------' surrounding contents of pre tag

    Lorem ipsum dolor sit amen.
    One Two Three.

### SURROUND: Table surrounded by a box

| One     | Two      | Three      | Four
|--------:|:---------|:----------:|---------
| a1      | a2       | a3         | a4
| b1      | b2       | b3         | b4

### REPLACE: Unordered list replaced by ordered list

- One.
- Two.
- Tree.

repository: magabriel/trefoil

gha_language: PHP

repo_name: magabriel/trefoil


text:
# PilferShush Jammer

Research and project page : <https://www.cityfreqs.com.au/pilfer.php>

Android microphone checker and jamming application built for AOSP LineageOS.

Application for low battery requirement microphone passive jamming.

Calls audioRecord.startRecording() but DOES NOT READ THE AUDIO BUFFER.

Holds microphone access and should block user apps from gaining focus of microphone.

System telephone calls will override and bump the Jammer from the microphone.

Adds a notification as a reminder for running while in background.

Tested and blocks Google Voice search (user) app.

Active jammer - tone and white noise versions, boost EQ for higher amplitude.

Scan user installed apps for key features, possible NUHF/ACR SDK package name matches and services/receivers running.

Jammers run as a foreground service

Build update: compile API 29 (Q, 10.0), Android Studio 4.1 stable, Gradle 6.5

Note: On devices running Android 9 (API level 28) or higher, apps running in the background cannot access the microphone.
Therefore, your app should record audio only when it's in the foreground or
**when you include an instance of MediaRecorder in a foreground service.**

Note: Android 10 has new concurrent audio capture policy that means other recording apps can bump a prior recording audio app from the microphone.
see <https://source.android.com/compatibility/android-cdd#5_4_5_concurrent_capture>

Note: Android 11 (API 30) changes to foreground services access to microphone - "while-in-use access" only.
see <https://developer.android.com/preview/privacy/foreground-services>

Note: APK signing with API30 needs v2/v3 - not v1

Note: currently only testing on ARMv7 with single mic,
need to get aarch64/arm64 device with multiple mics.

**TODO:**
- URGENT Android 10 concurrent audio continue testing
- URGENT Android 11 changes to concurrent audio
- get an arm64 multi mic device
- check against Concurrent Capture 5.4.5 `[C-1-1]` AudioSource.VOICE_RECOGNITION
- Android 11 move to AudioRecord.Builder for new setPrivacySensitive(boolean) method
- Android 11 changes to foreground services and mic access, remember its just a trigger
- Android 11 requires manifest dec and foregroundServiceType(80) (microphone)
- inconsistent behaviour with widget and jammer service state
- Android 10 getting android.app.RemoteServiceException: notify small icon ref, +5 sec delay, invalid notify channel?
- Android 8.x service crashes specifically to its API
- testing Active Jammer as external voice assistant jammer
- MID device active nuhf with screen display off, activity in backstack, retriggers active in test tone mode (screen rotate)
- .
- test android.permission.BIND_ACCESSIBILITY_SERVICE (API >= 16 (4.1))
- android 5.1 emu fail to restart jamming activity from dismissed (possible crap emu, inconsistent, gets an anr on service)
- consider min API bump to 23 (6.x) for AudioRecord.Builder, or at least 21 (5.0) for AudioAttributes

**Changes:**
- 4.5.2 (released Oct 16, 2020)
- bugfix for adding already added fragment
- mediaRecord check catch for exception on some devices
- revert to DEFAULT as VOICE_COMM may cause Process_VoIP
- added Settings switch for VOICE_COMM or DEFAULT
- notes in AudioSettings.java

   vers. 4.5.2
   - min API 18 (4.3)
   - target API 29 (10.x)
   - compiled API 29 (10.x)

   testing devices
   - EMU : Galaxy Nexus 4.3 (18) (Android Studio AVD, no GApps)
   - EMU : Nexus 4 5.1 (22) (Android Studio AVD, no GApps)
   - EMU : Nexus 5X 7.0 (24) (Android Studio AVD, GApps)
   - EMU : Galaxy Nexus Oreo (27) (Android Studio AVD, GApps)
   - EMU : Pixel 3a 10.0 (29) (Android Studio AVD, GApps)
   - LOW : s4 I9195 (deprecated) 4.3.1 (18)(CyanogenMod 10.2, F-Droid)
   - SLO : Mts 5045D (tainted) 6.0.1 (23) (CyanogenMod 13.0, GApps)
   - MID : Galaxy Tab 2 GT-P5110 (minimal) 7.1.2 (25) (LineageOS 14.1, F-Droid)
   - DEV : s5 G900I (tainted) 10.0 (29)(LineageOS 17.1, GApps)
   - PROD: s5 G900P 7.1.2 (25) (LineageOS 14.1, F-Droid)

**App screenshots:**
- Home fragment

- Inspector fragment

- App Entry Info dialog

- Settings fragment

**Active Jammer frequency analysis:**
- Active tone, full NUHF range with random scatter drift test

- Active tone, slow speed, limited drift test

- Active tone, carrier and drift limited, fast

- Active jammer (19 kHz carrier, 1000 Hz limit, EQ on) versus ramp-up audio beacon-like signal : scatter jamming demo

# 2020 Kaputnik Go

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   <http://www.apache.org/licenses/LICENSE-2.0>

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


text:
# IntuneExploitProtectionPolicyWindows10SettingCatalog

## Description

This resource configures an Intune Endpoint Protection Exploit Protection policy for a Windows 10 Device.
Enables the IT admin to push out a configuration representing the desired system and application mitigation options to all the devices in the organization. The configuration is represented by an XML.
For more information Exploit Protection, see
- Enable Exploit Protection on Devices and Import: https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/enable-exploit-protection,
- Export, and deploy Exploit Protection configurations: https://docs.microsoft.com/en-us/windows/threat-protection/windows-defender-exploit-guard/import-export-exploit-protection-emet-xml

branch_name: refs/heads/Dev

gha_language: PowerShell


text:
# A random Chuck Norris quote webpage

Example Chuck Norris quote: "Chuck Norris once ordered a Big Mac at Burger King, and got one."

More: http://chucknorris.bluecape.nl

Api resource: http://www.icndb.com/

repository: timvanderweijde/RandomQuotes

repo_name: timvanderweijde/RandomQuotes


text:
---
layout: page
title: Me
header: About
group: navigation
---
{% include JB/setup %}
## Personal Information
**Current Company :** SAP
**Year to work :**  {{ site.time | date: '%Y' | minus:2006 }} Years
**Certifications**
- Domestic Senior Software Engineer Certification 2005.11
- PMP 2015.12 until present

**Self Introduction**
  Shawn has been engrossed himself in IT Services for {{ site.time | date: '%Y' | minus:2006 }} years. He focuses on back-end services, integration, distributed system and HA.
  Shawn most recently contributed to company success by work with vendor and partners to ensure the availability and serviceability of integration services/platform.
  Prior to that, Shawn was involved in next generation of SAP support system in clouds which includes incident handling, feature innovation and robots integration. He worked on architecture design of Microservices and applied Continue Integration to projects.

**Hobby**
- Sports: Badminton, Jogging, Bicycle
- Machine: RasPi, UAV
- TV & Movies: Documentary, Live Show

## Working Experience
---
![SBUX](/resources/images/system/sblogo.svg)
`2018.5 -- present`

**Industry:** Retail, Enterprise Integration
### Responsibility
#### Integration Project Manager
- Enterprise Integration (Full Lifecycle)
  - Work with local & global team on integration of BPM, ERP, etc.
  - Architecture management of IT Integrations
  - Omni Channel Integration (Store, O2O, etc.)
- Responsibilities
  - Responsible for integration services/platform operational support, administration and maintenance
  - Continuously improve integration services, systems and process by analyzing system capacities, monitoring and tuning system performance, designing and developing scripts, contributing and maintaining technical documents
  - Ensures adherence to IT standards and established standards and practices for design and development of systems
  - Coordinate with IT vendor and partners to ensure timely, quality and cost effective delivery and support of integration services and platform

---
![SAP](/resources/images/system/logo_sap.svg)
`2017.1 -- 2018.5`

**Environment :** Linux, S4/HANA, Jdk 1.8, JScript, Bash and Python
**Industry :** ERP, Cloud
### Responsibility
####  Architecture Design
- Work with German colleagues on requirement and system design
- Customer Promise and Service
- Apply microservices spring-boot & spring-integration
- AppToAppSSO with SAML
- Git CI integration and deployment
- S4/HANA DB management
- Devops
- Performance and security audit
- Distributed Transaction
- GDPR compliance

### Project
#### DSX BIS
>  `DSX BIS` is the next generation of Support System which includes `incident` handling, `feature` innovation and `GDPR` compliance.
>
>He works on design of microservie framework, `spring-boot` for providing consolidated distrubted `microservices`.
>
> Also he enhanced `JWT` Token and protected sensitive private user information by salted hash in order to comply with `GDPR` which will take effect in later Aug 2018 for security audit.
>
>In order to improve the deliveries, he applies Continue Integration of `DSX BIS` as full stack devops requires:
>- Git branches code management
>- `Jenkins` workflow on `DEV`, `VAL` and `PROD`
>- `Sonar`, `Jacoco`, `SoapUI` maven plugin integration for improving code quality
>

---

![BLEUM](/resources/images/system/logo_bleum.png)
`2013.8 -- 2016.12`

**Environment :** Linux/Unix, Jdk 1.7, Oracle 10g, Cassandra, JScript, Bash and Python
**Industry :** Retail
### Responsibility
#### System Integration
- Provide services for Walmart underlying infrastructure. This system integrates among OMS, Carrier and Email systems on ETL and transformation between systems.
- Works onsite in America during the time of integration with client to reach the same goal with client management skill
- Good write/oral English Communication
- Schedule daily meeting with client
- Requirement collection and analysis for documentation
- Generate Component Design based on business requirement
- Install, config and maintain the Production Environment (Unix/Linux)

#### Scrum Master
- Clear the blocker between developer and product owner to ensure product owner can drive the development directly
- Guide the product owner to apply Agile on daily work
- Improve the situation and atmosphere of the whole team
- Stimulate the creative of the team to improve productivity
- Customer Promise and Service

### Project
#### Walmart Labs Bedrock
`2013.08-2016.12`
>  The bedrock system is service platform for Walmart underlying infrastructure.
>
>  The system integrates among `OMS`, `Carrier` and `Email` systems on ETL and transformation between systems. It's the bridge between inner and outer system. We devote not only to improve the stability of the system but also commit to adapt to the explosive growth of the business needs.
>
>  While onsite, he took quick reaction to the raised change request during the E2E phase of Pangaea migration with patient communication with onsite colleague, comprehensive analysis of business logic and rapid iteration of deployment. Also he tried his best to analyze the potentiality and resolve the task of issue by engaging with team both offshore and onsite.
>
>  Black Friday and Cyber Monday, which are the most important events for customer, is a big challenge to the stability and performance of the system. Customer did want to execute a drill, which could provide a practical situation, to tune the system to the best of it. He set up a stress test tool which could simulate the actual situation (Algorism could be changed between `Round Robin Load Balance` and `Random Load Balance`) and stress of the Holidays. Customer got benefit from simulation result bypreparation to prevent crash caused by insufficient system bandwidth.

---

![PTC](/resources/images/system/logo_ptc.png)
`2009.11 - 2013.7`

**Environment :** Windchill10, Linux/Unix, Jdk 1.5, JScript
**Industry :** PDM/PLM
### Responsibility
#### Implementation Consultant
- Reviewing requests from Business Consultant
- Component Design, Usecase design, Project schedule
- Coding and co-operate with other subk or parterres
- Attending SAT, UAT and Online support

---

![Cognizant](/resources/images/system/logo_cog.svg){:height="25%" width="25%"}
`2007.12 - 2009.11`

**Environment :** Jdk 1.4, JScript and TIBCO BW
### Responsibility
#### Software Engineer
Support the deployed TIBCO Application, including monitoring, development
and deployment.Co-operating with onsite for new change request from custo mer. TIBCO is a Java based platform which focuses on business.
- Front:HT ML Page(JSP, Servlet, Wicket, JScript) and Swing
- Java Activity: Extending the System function by implementing Java Activity and using the Apache POI to get data from Office documents and processing the return value set.
- Te sting: Connection(Socket and Http), WebService(AXIS2), Message(JMS, JNDI )
- Daily Maintenance: Logs, System status and data monitoring.
- Change Request: Make out the complete CR plan based on the request put forward b y customer(USA)

---

![JumpIntl](https://media.licdn.com/mpr/mpr/shrink_200_200/AAMABAQIAAkAAQAAAAAAAA8uAAAAJDk5MzI5NWNkLTRhYzItNDk0MS1iOGEyLTc1MTk3NTc4YzUxZA.bin){:height="15%" width="15%"}
`2006.7 - 2007.11`

**Environment :** Jdk 1.4, JScript and Linux
### Responsibility
#### Software Engineer
- Java/J2EE Programming
- Open source Research
- Build up underlying architecture(IOC, integration of Spring, Hivemind & Guice)
- Maven and Continumm build

<div style='display: none'>
</div>


text:
# Contributing

This project welcomes contributions and suggestions!

- [Contributor License Agreement](#Contributor-License-Agreement)
- [Code of Conduct](#Code-of-Conduct)
- [Requirements](#Requirements)
- [Build](#Build)
- [Change Logs](#Change-Logs)
- [Releases](#Releases)
- [Style Guide](#Style-Guide)

## Contributor License Agreement

Most contributions require you to agree to a Contributor License Agreement (CLA)
declaring that you have the right to, and actually do, grant us the rights to
use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether
you need to provide a CLA and decorate the PR appropriately (e.g., status check,
comment). Simply follow the instructions provided by the bot. You will only need
to do this once across all repos using our CLA.

## Code of Conduct

This project has adopted the
[Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the
[Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode<EMAIL_ADDRESS>with any
additional questions or comments.

## Requirements

- Node LTS (see [releases](https://nodejs.org/en/about/releases/) for specific
  versions)
- [Yarn Classic](https://classic.yarnpkg.com/)

### Optional

- **Android**:
  - [Android Studio](https://developer.android.com/studio) 4.2 or later
    - Android SDK Platform 29
    - Android SDK Build-Tools 30.0.3
    - To install the required SDKs, go into **Preferences** ❭ **Appearance &
      Behavior** ❭ **System Settings** ❭ **Android SDK**.
- **iOS/macOS**:
  - [Xcode](https://apps.apple.com/app/xcode/id497799835?mt=12) 12 or later
  - [CocoaPods](https://cocoapods.org/)
- **Windows**:
  - Ensure that
    [Developer Mode](https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development)
    is turned on in Windows Settings app
  - Install development dependencies as described in the
    [React Native for Windows documentation](https://microsoft.github.io/react-native-windows/docs/rnw-dependencies)

## Build

We use Yarn to install npm dependencies. From the repo root, run:

```sh
yarn
```

This will also take care of building any tools that you might need. Once it's
done, you can choose to build all packages or just the packages you're
interested in.

If you want to build all packages, you should run:

```
yarn build
```

Otherwise, you can specify which package to build, e.g. `@rnx-kit/cli`:

```sh
yarn build-scope @rnx-kit/cli
```

Alternatively, you can navigate to the package folder and run:

```sh
cd packages/cli
yarn build --dependencies
```

Both the repository level `build-scope` and the package local
`build --dependencies` ensure all dependencies are built before the target
package.

Below is a table of commonly used commands and what they do depending on your
current working directory.

| Command                     | Repository Level                                      | Package Level                                       |
| :-------------------------- | :---------------------------------------------------- | :-------------------------------------------------- |
| `yarn build`                | Builds **all** packages in the repository             | Builds the **current** package only                 |
| `yarn build --dependencies` | --                                                    | Builds the **current** package and its dependencies |
| `yarn build-scope`          | Builds the **specified** package and its dependencies | --                                                  |
| `yarn format`               | Formats **all** packages in the repository            | Formats the **current** package only                |
| `yarn lint`                 | Lints **all** packages in the repository              | Lints the **current** package only                  |
| `yarn test`                 | Tests **all** packages in the repository              | Tests the **current** package only                  |

## Change Logs

Each package in this monorepo contains a change log. The log is built from
change descriptions submitted with each PR.

```
$ yarn change

Checking for changes against "origin/main"
fetching latest from remotes "origin/main"
Found changes in the following packages:
  @rnx-kit/cli
  @rnx-kit/config
  ...

Please describe the changes for: @rnx-kit/cli
? Change type › - Use arrow-keys. Return to submit.
❯   Patch      - bug fixes; no API changes.
    Minor      - small feature; backwards compatible API changes.
    None       - this change does not affect the published package in any way.
```

Follow the prompts and describe the changes you are making to each package. This
information is written in files under `/change`. Our CI loop uses these files to
bump package versions and update package change logs. The entire process is
coordinated by [Beachball](https://github.com/microsoft/beachball#beachball).

## Releases

Our release process is fully automated by
[Beachball](https://github.com/microsoft/beachball#beachball).

When a PR is merged, our CI loop uses `Beachball` to version-bump each changed
package and publish it to `npm`.

## Style Guide

Most files are formatted with [Prettier](https://prettier.io/). We also use
[ESLint](https://eslint.org/) to lint all JavaScript code.

You can trigger formatting by running `yarn format`, and linting with
`yarn lint`.

repository: asmundg/rnx-kit

repo_name: asmundg/rnx-kit


text:
# skillsRegionalGold2016
Skills regional contest 1st place website from 2016

Created by Elizabeth Witter and Bethany Connor

Access Webpage: https://elizabethjjames.github.io/skillsRegionalGold2016/regionalWebsite/Index.html

Florida State SkillsUSA Web Design Contest

THEME: The MTC SkillsUSA Chapter

Technical Notes:
The purpose of the contest is to evaluate contestants’ Web design skills and their readiness for employment.
Contestants should demonstrate:
-	understanding the purpose of the Website and target audience needs
-	knowledge of Website Web technology standards
-	knowledge of Website accessibility standards
-	knowledge of best practices for designing a Web site, such as page layout design concepts and principles, usability, and separating content from design,
-	search engine optimization

Due to lack of time and initial content, contestants are not required to design a fully finished, “turn key” web site. You can use the Lorem Ipsum text (or any other placeholder text) for details. However, contestants should demonstrate the logic of the content organization and show the placement of the main elements of the content, such as Articles, Current News, Testimonials, and etc.

In addition, contestants will be offered one JavaScript challenge.

WEB SITE PROJECT SCOPE & TECHNICAL REQUIREMENTS
As a Web development team you will create a Web site for The Florida SkillsUSA Local MTC Chapter

The goal of the site development is to involve representatives of business, industry, the community, SkillsUSA Alumni and other supporters in active financial and volunteer support through the Web site. At the same time, the site should build awareness of the Trust’s needs and activities, reflect an increase in donations each month, and highlight the activities and valuable input of supporters and volunteers.
Project Scope:
As a team you are asked to:
1.	Create a storyboard of the Web site structure that would reflect all the aspects of the site’s purpose and functionality.  A team should submit the storyboard (with the team number specified) to judges at least one hour before the end of the contest.

2.	Create two fully developed  pages for the Florida SkillsUSA Website, including:
a.	A home page
b.	A “Member Registration” page
c.	Current Activities page
d.	About us page

3.	Develop a logo and a slogan for the Web site

4.	Create an easy to understand primary navigation that would reflect the planned Website hierarchy, specified in the storyboard.  The links to absent pages should be inactive.
a.	Navigation (horizontal and/or vertical) should have CSS rollover effect
b.	Navigation should provide positional awareness for visitors, indicating “active” color (or background) of the link for the current page

5.	Create a “Member Registration” page with JavaScript form validation functionality (no server side scripting is required), including the following form fields:
a.	User Name: *
b.	Email *
c.	Retype Email *
d.	First Name *
e.	Last Name *
f.	Company/ Organization
g.	Street Address
h.	City
i.	State :
j.	Zip :
The form fields marked with asterisk (*) are required field. The valid input must be validated using JavaScript. In addition, you should provide validation of the Email and Retype Email fields. These values should match.
Form should provide maximum accessibility for users with disabilities.
6.	Create an appropriate head content to make these pages visible to search engines.

7.	Create Web pages providing maximum accessibility to address the needs of people with visual and other type of impairments.

8.	Create Web pages that conform to W3C HTML5 standard

9.	Create Web design that works equally well on various modern browsers.


text:
---
hrs_structure:
  division: '1'
  volume: '7'
  title: '20'
  chapter: '367'
  section: 367-1
type: hrs_section
tags:
  - Government
menu:
  hrs:
    identifier: HRS_0367-0001
    parent: HRS0367
    name: 367-1 Findings and purpose
weight: 55005
title: Findings and purpose
full_title: 367-1 Findings and purpose
---
**§367-1 Findings and purpose.** The legislature finds that the work of the state commission on the status of women, established by the governor by executive order on May 15, 1964, demonstrates the need for a continuing body to aid in the implementation of its recommendations, to develop long-range goals, and to coordinate research planning, programming, and action on the opportunities, needs, problems, and contributions of women in Hawaii. It is the purpose of this chapter to provide for a statewide program, on a permanent and continuing basis, on the status of women in Hawaii. [L 1970, c 190, pt of §1; am L 2000, c 270, §2]

repository: SamMade/BlueAndKrabby

repo_name: SamMade/BlueAndKrabby


text:
Hong Kong Tramways Unofficial API
=====================================

## What is this for?

Trams are a special and historic means of transport in Hong Kong. They are cheap, fun and generally reliable. However there isn"t an easy way to access information about them until recently. Hong Kong Tramways have made public next tram, schedule and fare information available online. This is an easy module to get the data so you can automate things.

For example, you could have a display at home with real-time next tram info.

## Install

`npm install --save hongkong-trams`

## Usage

When creating the instance, you can pass some options, for now, only the language code is supported, possible values are "en" English, "tc" Traditional Chinese or "sc" Simplified Chinese.

```javascript
var HongKongTrams = require("hongkong-trams");

var trams = HongKongTrams();

trams.getNextTramETA("92W").then(function(eta){
    console.log(eta);
});
```

By default a new random useragent string is generated when the object is created. If you want to override this, please pass your useragent string into the options, for example:

```javascript
var trams = HongKongTrams({userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36'});
```

## Supported Methods

* [`getTramStops()`](examples/getTramStops.js)
* [`getNextTramETA(stopCode)`](examples/getNextTramETA.js)
* [`getEmergencyMessageForTramStop(stopCode)`](examples/getEmergencyMessageForTramStop.js)
* [`getServiceUpdates()`](examples/getServiceUpdates.js)
* [`getFares()`](examples/getFares.js)
* [`getSchedules()`](examples/getSchedules.js)

## Example data

All methods return JSON, please see the examples linked above for more info on how to call each method. Here is an example of what get

```json
[ { "arrive_in_minute": "9",
    "arrive_in_second": "509",
    "is_arrived": false,
    "stop_code": "92W",
    "seq": "1",
    "tram_id": "60",
    "dest_stop_code": "KTT",
    "tram_dest_tc": "堅尼地城總站",
    "tram_dest_en": "Kennedy Town Terminus",
    "is_last_tram": false,
    "eta": "Jun 23 2016 10:21AM" },
  { "arrive_in_minute": "13",
    "arrive_in_second": "758",
    "is_arrived": false,
    "stop_code": "92W",
    "seq": "2",
    "tram_id": "168",
    "dest_stop_code": "KTT",
    "tram_dest_tc": "堅尼地城總站",
    "tram_dest_en": "Kennedy Town Terminus",
    "is_last_tram": false,
    "eta": "Jun 23 2016 10:25AM" },
  { "arrive_in_minute": "16",
    "arrive_in_second": "907",
    "is_arrived": false,
    "stop_code": "92W",
    "seq": "3",
    "tram_id": "92",
    "dest_stop_code": "KTT",
    "tram_dest_tc": "堅尼地城總站",
    "tram_dest_en": "Kennedy Town Terminus",
    "is_last_tram": false,
    "eta": "Jun 23 2016 10:28AM" } ]
```

## Other Handy Modules

* [hongkong-weather](https://www.github.com/hongkongkiwi/node-hongkong-weather) - For Hong Kong Weather Information.
* [hongkong-pollution](https://www.github.com/hongkongkiwi/node-hongkong-pollution) - For Hong Kong Pollution Information.

## Contributing

Feel free to submit any pull requests or add functionality, I"m usually pretty responsive.

If you like the module, please consider donating some bitcoin or litecoin.

__Bitcoin__

![LNzdZksXcCF6qXbuiQpHPQ7LUeHuWa8dDW](http://i.imgur.com/9rsCfv5.png?1)

__LiteCoin__

![LNzdZksXcCF6qXbuiQpHPQ7LUeHuWa8dDW](http://i.imgur.com/yF1RoHp.png?1)

repository: hongkongkiwi/node-hongkong-trams

repo_name: hongkongkiwi/node-hongkong-trams


text:
# andela-teams-core

This is the core server side for __Andela Teams__.

[![Build Status](https://travis-ci.org/andela-stuff/andela-teams-core.svg?branch=master)](https://travis-ci.org/andela-stuff/andela-teams-core)
[![Hound CI](https://camo.githubusercontent.com/23ee7a697b291798079e258bbc25434c4fac4f8b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50726f7465637465645f62792d486f756e642d6138373364312e737667)](https://houndci.com)
[![CircleCI](https://circleci.com/gh/andela-stuff/andela-teams-core.svg?style=svg)](https://circleci.com/gh/andela-stuff/andela-teams-core)
[![Coverage Status](https://coveralls.io/repos/github/andela-stuff/andela-teams-core/badge.svg?branch=master)](https://coveralls.io/github/andela-stuff/andela-teams-core?branch=master)
[![codecov](https://codecov.io/gh/andela-stuff/andela-teams-core/branch/master/graph/badge.svg)](https://codecov.io/gh/andela-stuff/andela-teams-core)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Andela Teams seeks to automate some of the routine actions taken by __simulations learning facilitators__ at Andela.

Here is a useful scenario. When a new cohort (class) begins simulations (*sims*) at Andela, the cohort is broken into teams, and each team is assigned to a learning facilitator. The learning facilitator then creates a few Slack channels, a Github repo, and a Pivotal Tracker board. For each of these, the facilitator has to add every member of the team to the channel/repo/board. This is obviously a task that should be automated, especially considering that even the names of the channels/repo/board are always in a particular format. Andela Teams seeks to automate these and many more routine tasks perform by facilitators.

This server contains (or should contain) endpoints that perform various actions like:
* view, create, edit, delete teams
* add members to teams, in various capacities (fellow, TTL, PO, ...)
* add events to the Google Calendar of team members
* generate various Google docs (like scorecards for fellows)
* send out email notifications to team members

## Technology Stack

#### Server:
```
Back end implementation is built on NODE, using EXPRESS as the server and SEQUELIZE
as the ORM for communicating with the POSTGRES DB.
```

#### Authentication and Code Base Organization:
```
Written in ES6 and uses BABEL for transpiling down to ES5 and JWT for authentication.
```

#### Style Checking and Best Practices:
```
Uses ESLINT which was configured to use Airbnb-base rules for style checking
```

## Usage

## Testing

The app uses `Mocha`, `Chai` and `Chai-Http` for testing.
* Ensure you run `yarn` (or `npm install`) to install necessary packages.
* Run `npm test` to run tests and display code coverage results.
* Run `npm test:dev` to just run tests.

## API Docs

## Contributing

To see how to go about contributing to this project check the [contributing](contributing.md) file.

## Credits

## License

[MIT](LICENSE)

## FAQ

### Is this an Open-Source Application?

```
Yes it is, and contributing to the development of this application is by raising PRs.
```

### Who can contribute?

```
Anyone! This application is open to all those who want to contribute to open-source
development and are willing to follow set standards for contributing.
```

### Is there a set standard for PRs to this repository?

```
Yes, there are set conventions for PRs to this repository and can be found in the
project wiki.
```

### What language was used to develop this application?

```
This project is a full stack Javascript application.
```

### Can I clone this application for personal use?

```
Yes! This application is licensed under MIT, and is open for whatever you may choose
to use it for.
```

repository: seyi-adeleke/andela-teams-core

repo_name: seyi-adeleke/andela-teams-core


text:
# elo_hub
Home Node Server - Runs on a PI

Tinkering with microcontrollers, node, vsts integration, leds, Alexa, oh my.

These are the things I think you need to do:
- Need mqtt server running.. you can test with mosquitto_pub and _sub
- npm install
- typescript
- elo_hub_cfg.json - you will need to create this in your hub root. Sample below.
- vsts cli installed for the vsts integration stuff
- there are scripts that run. I am keeping mine in ~/.elo  (samples are in the script directory)

### Deploying a repo to hub
```bash
scp sample_files/device_repo.json pi@your-hub:~/.elo_hub
```

### Sample Hub Config
This file is not under
```json
{
    "messaging": {
        "hubUrl": "mqtt://yourmqttserver",
        "listenerDisabled": false,
        "listenerPattern": "elo/#"
    },
    "deviceRepo": {
        "repoPath": ""
    },
    "indicatorRepo": {
        "repoPath": ""
    },
    "animationRepo": {
        "repoPath": ""
    },
    "registerMapRepo": {
        "repoPath": ""
    },
    "vsts" : {
        "scriptPath" : "where your elo/vsts scripts are located",
        "dataPath" : "where you want hub to write results",
        "token" : "your key from vsts security",
        "vstsPath" : "path to vsts cli",
        "activeTasksQueryId" : "guid of the query that represents active tasks"
    }
}
```

repository: yaitde-x/elo-hub

repo_name: yaitde-x/elo-hub


text:
# Project Catwalk - by Atlantic Compass
> Modern front-end retail portal

## Table of contents
* [General info](#general-info)
* [Screenshots](#screenshots)
* [Technologies](#technologies)
* [Setup](#setup)
* [Features](#features)
* [Status](#status)
* [Inspiration](#inspiration)
* [Contact](#contact)

## General info
Project Catwalk comprises a complete redesign of the retail portal designed to address this concern and modernize the site. The old client-facing retail web-portal has become significantly outdated and has been proven to be hurting sales numbers.

## Screenshots
![Example screenshot](./img/screenshot.png)

## Technologies
* Tech 1 - version 1.0
* Tech 2 - version 2.0
* Tech 3 - version 3.0

## Setup
Describe how to install / setup your local environement / add link to demo version.

## Code Examples
Show examples of usage:
`put-your-code-here`

## Features
List of features ready and TODOs for future development
* Awesome feature 1
* Awesome feature 2
* Awesome feature 3

To-do list:
* Wow improvement to be done 1
* Wow improvement to be done 2

## Status
Project is: _in progress_, _finished_, _no longer continue_ and why?

## Inspiration
Add here credits. Project inspired by..., based on...

## Contact
Created by [@flynerdpl](https://www.flynerd.pl/) - feel free to contact me!

repository: Atlantic-Compass/FEC-CatWalk

repo_name: Atlantic-Compass/FEC-CatWalk


text:
# SpotifyExportTool
Helps in exporting playlists from Spotify

### Install

    npm install

### Build

    npm start

### Run

Open index.html in your browser and paste in some spotify track urls. Some examples:

    https://open.spotify.com/track/1cjXYzFXdHGppaMFFvU64g
    https://open.spotify.com/track/2shH36IytTvWBMMQi1KhNL
    https://open.spotify.com/track/4DbsBbHIscnGyfSHTBGdnz
    https://open.spotify.com/track/300RfAPZ57B0y6YYj9n6DN
    https://open.spotify.com/track/2sBFmQVJdoEfKRLcpDYNkh
    https://open.spotify.com/track/65UEjky7jK7bCiBySNmmW8
    https://open.spotify.com/track/0wfvL8uQWz31d97XJXDGsU
    https://open.spotify.com/track/7GsLrzsAash4bp75SltRaN
    https://open.spotify.com/track/29A8JwgJHc8FNfgm6ygqup
    https://open.spotify.com/track/0UopkfGuwDf3hx3tr8rPxC
    https://open.spotify.com/track/256tRFtpeDctPoLSvHDLK3
    https://open.spotify.com/track/3HpTUSDZn8Ff9slN2VogT5
    https://open.spotify.com/track/1pWyJ8N1Jl2JpBmUGuYiZz
    https://open.spotify.com/track/6kp8AjrvcljgNhcrrELnni

(these are random so apologies if they exhibit poor taste)

repository: Roaders/SpotifyExportTool

repo_name: Roaders/SpotifyExportTool


text:
+++
title = "2006 - New evidence for the reawakening of Teide volcano"
date = "2006-10-25"
authors = ["Gottsman J., Wooler L., Martí J., Fernández J., Camacho A.G., González P.J., García A., Rymer H."]
publication_types = ["2"]
publication = "_Geophysical Research Letters_"
publication_short = "_Geophys. Res. Lett._"
abstract = "Geophysical signals accompanying the reactivation of a volcano after a period of quiescence must be evaluated as potential precursors to impending eruption. Here we report on the reactivation of the central volcanic complex of Tenerife, Spain, in spring 2004 and present gravity change maps constructed by time‐lapse microgravity measurements taken between May 2004 and July 2005. The gravity changes indicate that the recent reactivation after almost a century of inactivity was accompanied by a sub‐surface mass addition, yet we did not detect widespread surface deformation. We find that the causative source was evolving in space and time and infer fluid migration at depth as the most likely cause for mass increase. Our results demonstrate that, even in the absence of previous baseline data and ground deformation, microgravity measurements early in developing crises provide crucial insight into the dynamic changes beneath a volcano."
abstract_short = ""
image_preview = ""
selected = true
projects = ["volcanism"]
tags = []
url_pdf = "https://agupubs.onlinelibrary.wiley.com/doi/epdf/10.1029/2006GL027523"
url_preprint = ""
url_code = ""
url_dataset = ""
url_project = ""
url_slides = ""
url_video = ""
url_poster = ""
url_source = ""
[[url_custom]]
  name = "Journal Link"
  url = "https://doi.org/10.1029/2006GL027523"
math = true
highlight = true
[header]
image = ""
caption = ""
+++


text:
# hackthemeal hackathon project
## Team rand0m
_Aleksandar, Andrei, Maksim_
### Data analytics challenge
_Our solution is focused on improving the efficiency of food restaurants._

### Inefficiencies(problems):
- Recipe decisions
- Time spent in line

### Proposed solutions:
- Tracking of food tray state
- Recipe suggestion based on prediction
- Data gathering and visualization

### Algorithms and technologies
- Predictive analytics, based on linear regression model
- Front-end AngularJS
- Back-end Play Framework(in Scala flavour)

![](https://upload.wikimedia.org/wikipedia/commons/3/3a/Linear_regression.svg?raw=true)
![](http://img8.pixhost.org/images/995/35191808_uqfcgir4wd8.jpg?raw=true)
### Impact
- Less food wasted
- Better customer turnout
- Improved efficiency of indoor logistics

# Documentation
- nodejs required
- jdk, scala (a bit of luck)
- bower
- gulp

Run for development
```sh
npm install
sbt run
gulp serve
```

Build for production
```sh
gulp build
sbt packageBin
```

Main structure:
backend - server with routes and logic(backend folder)
frontend - visualization and less logic(infoview folder, backend/public/trayupdate)

The MIT License (MIT)
=====================

Copyright © `2016` `Andrei, Aleksandar, Maksim`

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

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

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

repository: Smiche/hackthemeal

repo_name: Smiche/hackthemeal


text:
---
versionFrom: 7.0.0
versionRemoved: 8.0.0
---

# Troubleshooting with Courier

Umbraco Courier is the deployment engine running Umbraco Cloud projects that have been created before May 2017 and have not yet been upgraded to Umbraco Deploy.

On this page, you can find troubleshooting guides that you should use when your project is using Umbraco Courier.

## How do I know which deployment engine my project is using?

In the Umbraco Cloud Portal, you can see which deployment engine each environment is using.

The environment in the image below is using Courier version 3.1.6

![Courier Version](images/version-courier.png)

## Troubleshooting guides

* [Schema mismatch when transferring content and/or media](Schema-Mismatch-Courier)
* [Structure Errors](Structure-Errors-Courier)

## My deployment did not complete successfully. How do I find out what went wrong and what needs to change?

On rare occasions you may find that a deployment fails and there is no useful information in the error message.  In most cases you should try the deployment a second time, but if that also fails you will need to dig a little deeper.

### It’s time to get your Git on!

The first step is to find out what state the site’s Git repository is in (for the source site, usually dev but could also be stage). In order to do this we’ll use the Kudu console that is available for every site in Umbraco Cloud.  Here are the steps to find out what state your repository is in:

1. Copy the URL from your site’s HTTPS Clone URL in the portal

2. Using the URL without the actual repository name, the GUID part, open a new browser tab and login. A URL like `https://dev-mysite.scm.s1.umbraco.io/`

3. You’ll see the Kudu site, which includes your site’s Git repository

4. From the menu select Debug Console > Powershell

5. In the file explorer navigate to Site > Repository

6. Now in the Powershell console enter
  `PS> git status`

7. The status of your repository will be displayed. If you see output similar to the following, you’re getting somewhere:

    `. # On branch master  # Your branch and 'origin/master' have diverged`

8. Now you need to resolve any merge conflicts and commit any outstanding unmerged paths. In most cases, you can use the following Git command to commit the outstanding paths (it may take a minute or two for Git to process the commit):

    `PS> git commit -m “Latest merged files here”`

9.  There are a few options here; 1) if the files marked as “Unmerged paths” have a name like ‘03dbdfb1-7780-4368-8f1e-2bc2a18012ec.courier’ you can remove them using the Git command:

    `PS> git rm <full path from console>/03dbdfb1-8f1e-2bc2a18012ec.courier`

10. And 2) If the files listed in “Unmerged paths” are files your site is using, you’ll need to manually edit these files to resolve the merge conflict and then add them back to your repository using the Git command:

    `PS> git add myfilename`

11. Once you have resolved any conflicts you need to commit any outstanding changes:

    `PS> git commit -m “Manually resolved merge conflicts, yay!”`

12. Now check the status of the repository to make sure it’s clean:

    `PS> git status`

13. Whew! Imagine having to do this without Git!

14. Now you can return to the Umbraco Cloud portal and deploy your site again

## Upgrading to Umbraco Deploy

Umbraco Deploy is the successor to Umbraco Courier. All new projects on Umbraco Cloud are using the Umbraco Deploy, which is a new and much-improved deployment engine that will ensure even smoother deployments between your Umbraco Cloud environments.

There are two roads you can take, in order to upgrade your project to use the latest Umbraco Deploy engine:

1. Use the auto-upgrader on the Development environment in the Umbraco Cloud portal
    * This will upgrade your project to run the latest of everything
    ![Semi Automatic Upgrade](images/auto-upgrade.png)
2. Upgrade from [Courier to Deploy](../Moving-From-Courier-to-Deploy) manually

repository: jakob-bagterp/UmbracoDocs

repo_name: jakob-bagterp/UmbracoDocs