text:
---
id: xSSUw9GWcnsF35y597Vof
title: 35 Easier Schemas
desc: ''
updated:<PHONE_NUMBER>627
created:<PHONE_NUMBER>664
---

## Goals

### Goals of this Spec

Working with schemas is difficult. It can take users many hours to debug why a template is not being applied to a note. The goal of this spec is to make it easier for users to create, apply, modify, and understand schemas.

### Non Goals of this Spec

This spec is focused on improving usability of Dendron's schemas, but not on extending schemas functionality beyond what is currently possible (that is covered in other RFC's, such as [[RFC 12 - Schema Improvements|dendron.rfc.12-schema-improvements.types]]). The proposals in this spec do not require modifications to Dendron's schema definition language.

## Context

### What's difficult about schemas

Some common user scenarios that pose usability problems:
1. I created a new note. I can't figure out why my schema template is not being applied.
1. Looking at a schema definition file, it's hard to view parent to child relationships, or view unintentional breakages in a lineage (perhaps due to spelling errors) while authoring them.
1. I see a "schema malformed" error message when I start Dendron, but I don't know where or even which .yaml file is causing it.

### Schema Functionality and Syntax

There are two primary functionalities that we get out of schemas and schema templates:
1. Getting suggestions for new child note names based off of their relative position in a hierarchy
1. Having templates auto-applied to a note based on the note fname **and** its relative position in a hierarchy

Here are some examples of common use cases of schemas:

For reference, and to highlight some of the difficulties around authoring schemas, here is the schema syntax for several common use cases for schemas:

#### Apply templates to all direct children of a note 'foo'

Syntax (for reference):

```yml
schemas:
- id: dendron
  parent: root
  children:
    - rfc
- id: rfc
  children:
    - rfcInstance
- id: rfcInstance
  pattern: '*'
  template:
    id: templates.rfc
    type: note
```

#### Apply templates to descendants of a note 'foo' at a particular hierarchy

Syntax:

```yml
schemas:
  - id: user
    title: user
    parent: root
    children:
      - jonathan
  - id: jonathan
    children:
      - journal
  - id: journal
    title: journal
    desc: Jonathan's Daily Journal
    parent: jonathan
    children:
      - year
  - id: year
    title: year
    pattern: "[0-2][0-9][0-9][0-9]"
    children:
      - month
  - id: month
    title: month
    pattern: "[0-9][0-9]"
    children:
      - day
  - id: day
    title: day
    pattern: "[0-9][0-9]"
    template:
      id: user.jonathan.templates.journal
      type: note
```

#### Create Schemas for Note Auto-Suggestions

Syntax:

```yml
version: 1
schemas:
# this will match "cli.*" notes
- id: cli
  # human readable description of hierarchy
  desc: command line interface reference
  # add this to the domain of your schema hierarchy
  parent: root
  # when a schema is a namespace, it can have arbitrary children. equivalent to cli.* glob pattern
  namespace: true
  children:
    - cmd
    - env
# will match cli.*.env
- id: env
  desc: cli specific env variables
# will match cli.*.cmd.*
- id: cmd
  desc: subcommands
  namespace: true
```

> Author's Note: I find it confusing that `env` is specified as a child of `cli`, but in the hierarchy it appears as a grandchild - `cli.*.env`. In general, I'm unsure when to use `namespace:true` or not. Is there a way to make this more intuitive?

## Proposal

We can help users by
1. Creating more intuitive ways for users to create schemas
1. Improve ways to diagnose bugs with schemas

## Alternative Ways to Author Schemas

Currently, the only way to author schemas is to manually create a *.schema.yml file by hand. However, a more natural user workflow is that they have first authored some notes and then wish to generate a schema based off their new note structure so that they can apply templates or name suggestions when creating more notes.

### New Command - `Apply Template to Hierarchy`

This command would allow users to apply a schema template to their current note hierarchy.

Say a user has a note opened at `daily.journal.2021.01.01`.  The user wants to apply a template to this note and all other notes matching the note pattern `daily.journal.[0-2][0-9][0-9][0-9].[0-9][0-9].[0-9][0-9]`

Instead of having to try to manually create the schema.yml definition by hand, they run a command `Apply Template to Hierarchy`.

**UI Progression:**

1. Quick Input Box - Select Hierarchy Level to Apply Template. By default, we will start at one hierarchy up from the current note. In our example, the quick input box will show

    `daily.journal.2021.01.*`

    Furthermore, there will be a non-selectable quickpick (or some other UI control) that will display in real time the notes that match the current glob pattern. This provides instant feedback on whether their pattern is matching any existing notes or not and can help them with the pattern creation.

    The user can then adjust the pattern and hierarchy matching to the level that they want. In this case, they modify the quick input box to

    `daily.journal.*.*.*`

    or perhaps alternatively,

    `daily.journal.[0-2][0-9][0-9][0-9].[0-9][0-9]`

    _Perhaps we can be smart and recognize a year-month-date pattern and auto-suggest daily.journal.[0-2][0-9][0-9][0-9].[0-9][0-9] from the start in this case, since the year-month-date or other date patterns are the most common example of pattern matching_

    They see in the drop down feedback that this matches several notes in their hierarchy so they can be confident this is working. They click confirm. This value will be used to set the schema definition.

    **Example**

    Given the follow notes in the workspace:

    ```
    daily
    └── journal
        ├── 2021
        │   ├── 01
        │   │   └── 01
        │   └── 05
        │       └── 01
        └── 2999
            └── 01
                └── 01│
    ```

    _matches_ `daily.journal.2021.01.01`:
    ![](https://org-dendron-public-assets.s3.amazonaws.com/images/rfc-35-template-1.png)

    _matches_ `daily.journal.2021.01.01` _and_ `daily.journal.2021.05.01`
    ![](https://org-dendron-public-assets.s3.amazonaws.com/images/rfc-35-template-2.png)

    _maybe we can auto-detect year-month-date pattern and provide a more precise glob pattern_
    ![](https://org-dendron-public-assets.s3.amazonaws.com/images/rfc-35-template-3.png)

    _user forgot the last set of _ `[0-9].[0-9].` _Warning showed to user, but they can continue if this is really the pattern they want._
    ![](https://org-dendron-public-assets.s3.amazonaws.com/images/rfc-35-template-4.png)

2. We ask the user to pick a name for this schema. By default, the value will be filled in to the last non-wildcard/regex hierarchy, so here it would be prefilled as `daily.journal`. The user can change the name in the input box.
3. We ask them if they would like to apply a template to this schema. We provide a lookup control to allow them to either specify no template, pick an existing note to create a template, or create a new note to be the template.
4. Depending on whether or not a new template was specified
    1. If either no template was specified, or an existing template was specified, we will then auto-generate a schema.yml definition file for the user.  We will then open the schema.yml file in their editor.
    1. If a new template name is specified, we will create a new note for them. The new note will have some placeholder text along the lines of "You can enter your template content here". We will also open the schema.yml file that has been created, but the new template file should be the one that's in focus.
5. To confirm what we've done for the user, we'll show an information message box with the following message:
    > A schema definition has been created at `daily.journal.schema.yml`. All new notes you create matching the schema pattern will have the template applied.

    We can adjust the message based on whether they chose to use a template or not. A key part of the message is "all **new** notes" - we don't want users to be confused why a template was not applied to their pre-existing note, `daily.journal.2021.01.01`.

### New Command - `Create Schema From Existing Hierarchy`

A user has created a set of notes in a hierarchy and wants to re-use the pattern elsewhere in their vault. For example, let's say they've created some notes for python in a pattern they like and want this schema when authoring notes for other languages:

```
languages
└── python
    └── data
        ├── bool
        ├── integer
        └── string
```

They wish to extend this schema to other languages for future notes:

```
languages
└── python
    └── data
        ├── bool
        ├── integer
        └── string
└── java
    └── data
        ├── bool
        ├── integer
        └── string
└── c#
    └── data
        ├── bool
        ├── integer
        └── string
```

The user's desired schema for this pattern is:

```yml
version: 1
imports: []
schemas:
  - id: languages
    children:
      - data
    title: languages
    parent: root
    namespace: true
  - id: data
    children:
      - bool
      - integer
      - string
  - id: bool
  - id: integer
  - id: string
```

**UI Progression:**

_Assertion: If the user wants to create a schema for the purpose of having pattern suggestion benefits, then some part of the hierarchy needs to be a namespace for it to be useful._

1. User currently has `languages.python.data.bool` opened in the editor. They run the `Create Schema From Existing Hierarchy` command.
2. We bring up a quick pick for the purpose of figuring out where the user wants to specify the namespace. The desired glob pattern here is `languages.*.data.bool`.

    The options of the quickpick are the levels of the hierarchy, in this case it would be

    - languages
    - python
    - data
    - bool

    The prompt would be

    > Select hierarchy level whose children will be added to the schema definition.

    _**Open Question**: Can we improve the wording for this quick pick?_

    User selects 'python'

    ![](https://org-dendron-public-assets.s3.amazonaws.com/images/rfc-35-schema-1.png)

3. We progress to another quickpick for the user to specify which parts of their hierarchy they would like to add to the schema.

    Prompt:
    > Select components to include in the schema definition

    Here, the quick pick items would be everything under `languages.python`:

    - [x] `languages.python.data`
    - [x] `languages.python.data.bool`
    - [x] `languages.python.data.integer`
    - [x] `languages.python.data.string`

    By default, everything is selected.  If there's anything that the user does not want to include, they can uncheck it.  If a user unchecks a hierarchy node that isn't a leaf, we'll uncheck all children as well.  For example, say the user also has some notes under `languages.python.machine-learning` that they don't want to include:

    - [x] `languages.python.data`
    - [x] `languages.python.data.bool`
    - [x] `languages.python.data.integer`
    - [x] `languages.python.data.string`
    - [ ] `languages.python.machine-learning`
    - [ ] `languages.python.machine-learning.pandas`
    - [ ] `languages.python.machine-learning.scipy`

    Unchecking `languages.python.machine-learning` will also uncheck `languages.python.machine-learning.pandas` and `languages.python.machine-learning.scipy` as well.

    Furthermore, in the detail property of each quick pick line, we will provide some helpful text with the following:

    > will match patterns like `languages.foo.data.bool`

    After completing the selection, the user confirms to continue.

    ![](https://org-dendron-public-assets.s3.amazonaws.com/images/rfc-35-schema-2.png)

4. Final input box asks the user to enter a name for this schema. By default, `languages` will be in the input box. For this example, let's say user sticks with the default
5. User confirms and a file is created from the input from the previous step `languages.schema.yml`. The schema has the following contents and is auto-applied to the workspace:

```yml
version: 1
imports: []
schemas:
  - id: languages
    children:
      - data
    title: languages
    parent: root
    namespace: true
  - id: data
    children:
      - bool
      - integer
      - string
  - id: bool
  - id: integer
  - id: string
```

6. We provide an information message box that says

    > `languages.schema.yml` has been created. If you would like to modify the schema, you can make edits to this file.

### Improve Diagnosability of Errors

A big user pain piont is that if something is wrong with a schema, it can be quite difficult to figure out why. The above commands should help with generating working schemas from the start, but in the case of when a user wants to modify and enhance their schemas, this remains a problem.

One way to improve the experience would be to reduce the turnaround time between modifying a schema and testing if it's working. There are several ways we can improve on this:
- Remove need to reload workspace after updating schema (this is already being tracked in our backlog)
- Improve the "schema malformed" error message - can we at the very least point to which schema file is causing the problem?

    ![](https://org-dendron-public-assets.s3.amazonaws.com/images/rfc-35-error-1.png)

- _(lower priority)_ Create a new command called 'Test Schema'. Running this while having `languages.schema.yml` would return back a summary with the notes in the workspace currently matching the schema(s). (This is similar to the feedback we get in lookup with the icons, but would be more direct)
- _(lower priority)_ When a note is created that has a schema template applied, show an information message informing the user which schema definition caused the application of the template. Often times, I find myself doing code lookup to figure out how a schema template is working (this isn't that difficult, but it would be faster if a user is aware of why a template is getting applied).

### Tradeoffs

These commands will generate new schema files on each invocation. This may lead to several usability problems:
- if a user repeatedly runs the generate schema command (for example, they take several iterations before they land on what they want), this can generate many schema files.  Furthermore, these schema files may interfere with each other, as the current Dendron behavior is that the last schema overrides others, but which schema is the 'last' one is not clear. This may lead to user confusion. Perhaps to mitigate this, we can have some notification if we detect multiple schemas being matched on the same note.
- Running these commands will always generate a new schema file - this may make it more difficult for a user to integrate their new schema into their existing schema(s). They may need to manually move segments out of their newly generated schema into their existing one, which may be an error prone process.

## Discussion
https://github.com/dendronhq/dendron/discussions/1499

repository: bdefore/dendron-site

repo_name: bdefore/dendron-site


text:
# set All

Make all of the pixels on the strip show one color.

```sig
light.pixels.setAll(Colors.Red);
```

## Parameters

* **rgb**: a [number](/reference/blocks/number) that is the RGB color for all of the pixels.

## Example

Set all of the pixels to `pink`.

```blocks
light.pixels.setAll(Colors.Pink)
```

[``||rgb||``](/reference/light/rgb)

```package
light
```

license: MIT

repository: dastels/pxt-common-packages

branch_name: refs/heads/master

extension: md

license_type: permissive

repo_name: dastels/pxt-common-packages


text:
Generators
============

The generators use either one of the APIs designed for MySQL data retrieval. Most of the logic consists in getting information from the system tables to procedurally generate code that can be used as a frame for the API.

crud
-----

Generates code for an Express application (specifically for this one, but can be used by adapting a connection object to make the queries).
The queries are pretty simple, but flexible as well in the matter of using filters.

procedures
-----

Makes a file for each of the procedures found on the database, each file have a connection call for the procedure and a path defined on the Express API.

repository: cywongnorman/mysql-rest-api

repo_name: cywongnorman/mysql-rest-api


text:
# weave-mysql
mysql 5.6 docker image

Please refer to the Dockerfile for details.

# Features included
 * mysql import

# To include within your Dockerfile

    FROM elarasu/weave-mysql

repository: elarasu/weave-mysql

repo_name: elarasu/weave-mysql


text:
---
layout: entry
title:  "Sticky element"
description: "How to code and test an accessible sticky menu element for Web"
categories: main

keyboard:
  tab: |
    Controls are focusable in a logical order within the page

mobile:
  swipe: |
    Content and controls within the sticky element appear in a logical order within the page

screenreader:
  name:  |
    Discoverable by screen reader
  role:  |
    n/a
  group: |
    Appears in logical page order within the page
  state: |
    n/a
---

## Code examples

### Place the element in logical DOM order

This semantic HTML appears in logical order in the page.

It uses only CSS (no JavaScript) to float content as desired.

{% highlight html %}
{% include /examples/sticky-content.html %}
{% endhighlight %}

{::nomarkdown}
<example>
{% include /examples/sticky-content.html %}
</example>
{:/}

## Developer notes

### Group

- Must appear in logical page order within the page.
- Do not place it at the actual end or beginning of the DOM

branch_name: refs/heads/main


text:
# KanaKana

## Overview
An iPhone application that converts Japanese Kanji letters input -> Japanese Kana letters output.

## Requirement
- macOS
- Xcode 12.3

## Usage

To build develop environment, hit the command below;

```shell
$ make bootstrap; make open
```

- Dependency resolving
- Project settings
- Opening your Xcode

will be carried out.

## Features
- converts Japanese Kanji to Kana
- e.g.
  - input: `漢字`
  - output: `かんじ` or `カンジ`
- Archtecture
  - RxSwift + MVVM Layered Architecture

## Reference

## Author

- [twitter](https://twitter.com/daichidaiji)
- [blog (AstroNote)](https://daichidaiji.com)

branch_name: refs/heads/develop

gha_language: Swift


text:
# aa-angular-form-gen

Originally forked from angular-form-gen by PranavSathy (https://github.com/PranavSathy/angular-form-gen)

## Description

Many projects utilize FontAwesome icons as their go-to icon family. This fork of `angular-form-gen` by PranavSathy add another util components as, label, paragraph, custom table, etc.

> For further details on how to build and use this library, please refer to the original README found in McNull's repo.

## Added Tasks

### gulp dist-no-test

All this does is just cleans and compiles the codes without test. Useful for quick builds.

repository: adrieltiti/angular-form-gen

repo_name: adrieltiti/angular-form-gen


text:
# Virtual Cache

Virtual cache represent the cache nodes detected by [server agents' plugins](server-agents.md). The performance
metrics of the cache are also from the Cache client-side perspective.

For example, Redis plugins in the Java agent could detect the latency of command
As a result, SkyWalking would show traffic, latency, success rate, and sampled slow operations(write/read) powered by backend analysis capabilities in this dashboard.

The cache operation span should have
- It is an **Exit** or **Local** span
- **Span's layer == CACHE**
- Tag key = `cache.type`, value = The type of cache system , e.g. redis
- Tag key = `cache.op`, value = `read` or `write` , indicates the value of tag `cache.cmd` is used for `write` or `read` operation
- Tag key = `cache.cmd`, value = the cache command , e.g. get,set,del
- Tag key = `cache.key`, value = the cache key
- If the cache system is in-memory (e.g. Guava-cache), agents' plugin would create a local span usually, and the span's peer would be null ,otherwise the peer is the network address(IP or domain) of Cache server.

Ref [slow cache doc](../backend/slow-cache-command.md) to know more slow Cache commands settings.

repository: parampavar/skywalking

gha_language: Java

repo_name: parampavar/skywalking


text:
# NSwag

Since all communication to server made via AJAX requests, we are using a
client side javascript layer to call server API. It's automatically
generated by [nswag](https://github.com/NSwag/NSwag) tool using
[swagger](http://swagger.io/). ASP.NET Zero solution is properly
configured for nswag. When you change your server side services, all you
need to do is to run **nswag/refresh.bat** file (or run the command
inside it for a non-Windows OS) while server side (.Host project) is
running.

Generated code is located in
shared/service-proxies/**service-proxies**.ts file. You should not make
manual change in this file since it will be overwritten on the next code
generation.

**Refreshing Service Proxies**

While Nswag automatically generate proxy files, it does not refresh
**service-proxies.module**.ts. If you add a new service, you should
**manually** add it to this file as like others.

repository: aspnetzero/documents

gha_language: HTML

gha_license_id: MIT

repo_name: aspnetzero/documents


text:
# ColorfulNews
一个Material Design风格的新闻阅读App，采用MVP模式，基于Dagger2+RxJava+Retrofit2进行开发

截图
--------------
![image](https://github.com/kaku2015/ColorfulNews/blob/master/screenshots/news.gif)

![image](https://github.com/kaku2015/ColorfulNews/blob/master/screenshots/channel.gif)

![image](https://github.com/kaku2015/ColorfulNews/blob/master/screenshots/1.jpg)
![image](https://github.com/kaku2015/ColorfulNews/blob/master/screenshots/2.jpg)
![image](https://github.com/kaku2015/ColorfulNews/blob/master/screenshots/3.jpg)
![image](https://github.com/kaku2015/ColorfulNews/blob/master/screenshots/4.jpg)

TODO
---------------
单体测试、新闻模块优化、图片新闻模块、视频模块...

声明
---------------
本项目所使用数据来自互联网，若内容有侵权请联系作者进行删除处理。本程序仅供测试学习，用于其他用途所造成的纠纷与本人无关。

关于作者
---------------
邮箱<EMAIL_ADDRESS>
CSDN: http://blog.csdn.net/kaku2013

License
---------------
  ```
   Copyright (c) 2016 咖枯<EMAIL_ADDRESS>
   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.
```

repository: luis-wang/ColorfulNews

repo_name: luis-wang/ColorfulNews


text:
# GitHub Overview Game
A web based game which displays the repositories of a user in an original way.
A PHP & Node.js (TypeScript) project
### Setup
```sh
$ cp keys.php-example keys.php
$ cp ts/tsconfig.json-example ts/tsconfig.json
```
default_settings.php: fill in custom username

Add a `GitHub-Overview-Info.json` file to every repository which you want in your game (you can customize the file name):
```json
{
  "description": "The description of the project."
}
```
### Edit starting biographies
You can configure `ts/DefaultSettings.ts` to create your own biographies, such like 'About me' and 'My skills'.

![Preview](http://overview.tomdaniel.be/screenshot.png)

repository: tomdaniel-it/github-overview-game

repo_name: tomdaniel-it/github-overview-game


text:
But 30 years after the first tumor was found in his chest when he was 18, Vale is still alive. The reason for his survival is not chemo, radiation, cancer drugs, or surgery, Vale claims. He says he owes his life to a controversial natural product that’s been making headlines for years: apricot seeds.

https://www.theverge.com/2016/8/10/12405578/apricot-seeds-not-superfoods-cancer-cure-toxic

#cancer

origin - http://www.pipiscrew.com/?p=13439 apricot-kernels-dont-cure-cancer-and-they-might-poison-you


text:
---
layout: default
---

# 1996-03-22 - RE: [NOISE] Re: IPG message

## Header Data

From: Steve Gibbons<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Message Hash: 5c1ccb336d5b887a3de73422526bbb08f323916d65fcb0c8659157fdbcf76699

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1996-03-22 20:20:05 UTC

Raw Date: Sat, 23 Mar 1996 04:20:05 +0800

## Raw message

```
{% raw  %}From: Steve Gibbons<EMAIL_ADDRESS>Date: Sat, 23 Mar 1996 04:20:05 +0800
To<EMAIL_ADDRESS>Subject: RE: [NOISE] Re: IPG message
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

The exchange between IPG and CypherPunks sounds more and more like a
Troll every time I see a new message on the subject.  (My 'D'elete key is
starting to wear out from over-use...)

[ Yes, I realize that this post is just _more_ noise... ]

--
<EMAIL_ADDRESS>

{% endraw %}
```

## Thread

+ Return to [March 1996](/archive/1996/03)

+ Return to "[Steve Gibbons <steve@aztech.net>](/authors/steve_gibbons_steve_at_aztech_net_)"

+ 1996-03-22 (Sat, 23 Mar 1996 04:20:05 +0800) - RE: [NOISE] Re: IPG message - _Steve Gibbons<EMAIL_ADDRESS>


text:
# Kaggle Winning Solutions Github

## Regression

#### Elo Merchant Category Recommendation

* 5th Place Solution ([Explanation](https://www.kaggle.com/c/elo-merchant-category-recommendation/discussion/82314#latest-525737))
* 7th Place Solution  ([Explanation](https://www.kaggle.com/c/elo-merchant-category-recommendation/discussion/82055#latest-483943))
* 10th Place Solution  ([Explanation](https://www.kaggle.com/c/elo-merchant-category-recommendation/discussion/82093#latest-529125))
* 11th Place Solution  ([Explanation](https://www.kaggle.com/c/elo-merchant-category-recommendation/discussion/82127#latest-502682))
* 19th Place Solution  ([Explanation](https://www.kaggle.com/c/elo-merchant-category-recommendation/discussion/82178#latest-480628))
* 21th Place Solution  ([Explanation](https://www.kaggle.com/c/elo-merchant-category-recommendation/discussion/82235#latest-481035))([code](https://github.com/bestpredicts/ELO))

## Classification

#### Santander Customer Transaction Prediction

* 1st Place Solution ([Explanation](https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/89003#latest-590312))
* 2nd Place Solution  ([Explanation](https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/88939#latest-534927))([code](https://github.com/KazukiOnodera/Santander-Customer-Transaction-Prediction))
* 5th Place Solution  ([Explanation](https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/88897#latest-517607))
* 7th Place Solution ([Explanation](https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/89023#latest-518634))
* 9th Place Solution  ([Explanation](https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/89302#latest-516440))
* 10th Place Solution  ([Explanation](https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/88997#latest-517584))
* 29th Place Solution ([Explanation](https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/89034#latest-548982))([code](https://github.com/btrotta/kaggle-santander-2019))

#### PetFinder.my Adoption Prediction
* 2nd Place Solution ([Explanation](https://www.kaggle.com/c/petfinder-adoption-prediction/discussion/102099#latest-589409))([code](https://www.kaggle.com/naka2ka/stack-480-speedup-groupkfold-with-no-dict))
* 3rd Place Solution  ([Explanation & code](https://www.kaggle.com/wuyhbb/final-small))
* 6th Place Solution  ([Explanation & code](https://www.kaggle.com/bminixhofer/6th-place-solution-code))
* 8th Place Solution ([Explanation & code](https://www.kaggle.com/adityaecdrid/8th-place-solution-code))
* 10th Place Solution  ([Explanation & code](https://www.kaggle.com/chizhu2018/final-submit-two-10th-solution-private-0-442))
* Place Solution  ([Explanation & code](https://www.kaggle.com/corochann/13-th-place-solution-ensemble-of-5-models))

#### Santander Product Recommendation
* 1st Place Solution ([Explanation](https://www.kaggle.com/c/santander-product-recommendation/discussion/26835#latest-549998))
* 2nd Place Solution ([Explanation](https://www.kaggle.com/c/santander-product-recommendation/discussion/26824#latest-379386))([code](https://github.com/ttvand/Santander-Product-Recommendation))([Blog](https://ttvand.github.io/Second-place-in-the-Santander-product-Recommendation-Kaggle-competition/))
* 3rd Place Solution - R language ([Explanation & code](https://www.kaggle.com/c/santander-product-recommendation/discussion/26899#latest-385293))
* 4th Place Solution ([Explanation](https://www.kaggle.com/c/santander-product-recommendation/discussion/26845#latest-549966))
* 5th Place Solution ([Explanation](https://www.kaggle.com/c/santander-product-recommendation/discussion/26841#latest-152148))([code](https://github.com/jturkewitz/SideProjects/tree/master/Kaggle/Santander_Prod))
* 8th Place Solution ([Explanation](https://www.kaggle.com/c/santander-product-recommendation/discussion/26838#latest-153042))([code](https://github.com/yaxinus/santander-product-recommendation-8th-place))
* 11th Place Solution ([Explanation](https://www.kaggle.com/c/santander-product-recommendation/discussion/26823#latest-180009))([code](https://github.com/rohanrao91/Kaggle_SantanderProductRecommendation))

## Text Classification

#### Jigsaw Unintended Bias in Toxicity Classification
* 2nd Place Solution ([Explanation](https://www.kaggle.com/c/jigsaw-unintended-bias-in-toxicity-classification/discussion/100661#latest-590437))
* 3rd Place Solution ([Explanation](https://www.kaggle.com/c/jigsaw-unintended-bias-in-toxicity-classification/discussion/97471#latest-582610))
* 4th Place Solution  ([Explanation](https://www.kaggle.com/c/jigsaw-unintended-bias-in-toxicity-classification/discussion/101927#latest-590658))([code](https://github.com/iezepov/combat-wombat-bias-in-toxicity))([Kaggle Kernel](https://www.kaggle.com/iezepov/wombat-inference-kernel))
* 8th Place Solution  ([Explanation](https://www.kaggle.com/c/jigsaw-unintended-bias-in-toxicity-classification/discussion/100961#latest-586393))([code](https://www.kaggle.com/haqishen/jigsaw-predict))

#### Quora Insincere Questions Classification

* 1st Place Solution ([Explanation](https://www.kaggle.com/c/quora-insincere-questions-classification/discussion/80568#latest-570793))
* 2nd Place Solution  ([Explanation](https://www.kaggle.com/c/quora-insincere-questions-classification/discussion/81137#latest-552221))
* 3rd Place Solution  ([Explanation](https://www.kaggle.com/c/quora-insincere-questions-classification/discussion/80495#latest-548808))([code](https://www.kaggle.com/wowfattie/3rd-place))
* 4th Place Solution ([Explanation](https://www.kaggle.com/c/quora-insincere-questions-classification/discussion/81632#latest-533550))([code](https://www.kaggle.com/kfujikawa/4th-place))
* 7th Place Solution  ([Explanation](https://www.kaggle.com/c/quora-insincere-questions-classification/discussion/80561#latest-582439))

#### Quora Question Pairs
* 1st Place Solution ([Explanation](https://www.kaggle.com/c/quora-question-pairs/discussion/34355#latest-572705))
* 2nd Place Solution ([Explanation](https://www.kaggle.com/c/quora-question-pairs/discussion/34310#latest-450693))
* 3rd Place Solution ([Explanation](https://www.kaggle.com/c/quora-question-pairs/discussion/34288#latest-339489))
* 7th Place Solution ([Explanation](https://www.kaggle.com/c/quora-question-pairs/discussion/34697#latest-349346))
* Some interesting solutions from the web ([write-up](https://www.kaggle.com/c/quora-question-pairs/discussion/30260#latest-221245))
* 24 Place Solution ([Explanation](https://www.kaggle.com/c/quora-question-pairs/discussion/34534#latest-420654))([code](https://github.com/aerdem4/kaggle-quora-dup))

#### Toxic Comment Classification Challenge
* 1st Place Solution ([Explanation](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/discussion/52557#latest-533843))
* 2nd Place Solution ([Explanation](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/discussion/52612#latest-413355))
* 3rd Place Solution ([Explanation](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/discussion/52762#latest-434841))
* 27 Place Solution ([Explanation](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/discussion/52719))([code](https://github.com/zake7749/DeepToxic))
* Collection of winning solutions ([write-up](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/discussion/72597#latest-437366))

## Time series analysis

#### Two Sigma: Using News to Predict Stock Movements
* 1st Place Solution ([Explanation & code](https://www.kaggle.com/silvernine/very-simple-nn-model-market-data-only))
* Post-competition thoughts([write-up](https://www.kaggle.com/c/two-sigma-financial-news/discussion/102914#latest-593302))

#### Web Traffic Time Series Forecasting
* 1st Place Solution ([Explanation](https://www.kaggle.com/c/web-traffic-time-series-forecasting/discussion/43795))([code](https://github.com/Arturus/kaggle-web-traffic))
* 2nd Place Solution ([Explanation](https://www.kaggle.com/c/web-traffic-time-series-forecasting/discussion/39395))([code](https://github.com/jfpuget/Kaggle/tree/master/WebTrafficPrediction))
* 3rd Place Solution ([Explanation](https://www.kaggle.com/c/web-traffic-time-series-forecasting/discussion/39876))
* 6th Place Solution ([Explanation](https://www.kaggle.com/c/web-traffic-time-series-forecasting/discussion/39370))([code](https://github.com/sjvasquez/web-traffic-forecasting))
* Tips from the winning solutions ([write-up](https://www.kaggle.com/c/web-traffic-time-series-forecasting/discussion/43535))
* General Approach ([write-up](https://www.kaggle.com/c/web-traffic-time-series-forecasting/discussion/39367))

#### Rossmann Store Sales
* 1st Place Solution ([Explanation](https://www.kaggle.com/c/rossmann-store-sales/discussion/18024#latest-581685))
* 3rd Place Solution ([Explanation](https://www.kaggle.com/c/rossmann-store-sales/discussion/17974#latest-477628))([code](https://github.com/entron/entity-embedding-rossmann))

## Coreference Resolution

#### Gendered Pronoun Resolution
* 1st Place Solution ([Explanation](https://www.kaggle.com/c/gendered-pronoun-resolution/discussion/90392#latest-521800))([code](https://github.com/sattree/gap))
* 3rd Place Solution ([Explanation](https://www.kaggle.com/c/gendered-pronoun-resolution/discussion/90424#latest-522089))
* Place Solution ([Explanation](https://www.kaggle.com/c/gendered-pronoun-resolution/discussion/90484#latest-522332))([code](https://github.com/zake7749/Fill-the-GAP))
* Place Solution ([Explanation](https://www.kaggle.com/c/gendered-pronoun-resolution/discussion/90334#latest-521489))([code](https://github.com/boliu61/gendered-pronoun-resolution))
* Top solutions ([write-up](https://www.kaggle.com/c/gendered-pronoun-resolution/discussion/90339))

## Signal Processing
#### LANL Earthquake Prediction
* 1st Place Solution ([Explanation](https://www.kaggle.com/c/LANL-Earthquake-Prediction/discussion/94390))([code](https://www.kaggle.com/ilu000/1-private-lb-kernel-lanl-lgbm/))
* 2nd Place Solution ([Explanation](https://www.kaggle.com/c/LANL-Earthquake-Prediction/discussion/94369))
* 3rd Place Solution ([Explanation](https://www.kaggle.com/c/LANL-Earthquake-Prediction/discussion/94459))
* 5th Place Solution ([Explanation](https://www.kaggle.com/c/LANL-Earthquake-Prediction/discussion/94484))
* Gold Medal Solutions ([write-up](https://www.kaggle.com/c/LANL-Earthquake-Prediction/discussion/94361))

## Semantic Segmentation & Instance Segmentation

#### iMaterialist (Fashion) 2019 at FGVC6:
* 1st Place Solution ([Explanation](https://www.kaggle.com/c/imaterialist-fashion-2019-FGVC6/discussion/95247#latest-567841))([code](https://github.com/amirassov/kaggle-imaterialist))
* 2nd Place Solution([Explanation](https://www.kaggle.com/c/imaterialist-fashion-2019-FGVC6/discussion/95233#latest-551075))
* 3rd Place Solution([Explanation](https://www.kaggle.com/c/imaterialist-fashion-2019-FGVC6/discussion/95234#latest-555537))

#### TGS Salt Identification Challenge
* 1st Place Solution ([Explanation](https://www.kaggle.com/c/tgs-salt-identification-challenge/discussion/69291#latest-523430))([code](https://github.com/ybabakhin/kaggle_salt_bes_phalanx))
* 4th Place Solution  ([Explanation](https://www.kaggle.com/c/tgs-salt-identification-challenge/discussion/69178#latest-527751
))([code](https://github.com/SeuTao/Kaggle_TGS2018_4th_solution))
* 9th Place Solution  ([Explanation](https://www.kaggle.com/c/tgs-salt-identification-challenge/discussion/69053#latest-563912))([code](https://github.com/tugstugi/pytorch-saltnet))

#### Airbus Ship Detection Challenge

* 1st Place Solution ([Explanation](https://www.kaggle.com/c/airbus-ship-detection/discussion/74443#latest-456794))
* 6th Place Solution  ([Explanation](https://www.kaggle.com/c/airbus-ship-detection/discussion/71782#latest-558831))
* 8th Place Solution  ([Explanation](https://www.kaggle.com/c/airbus-ship-detection/discussion/71667#latest-558876))([code](https://github.com/SeuTao/Airbus-Ship-Detection-Challenge-2018_8th_place_solution))
* 9th Place Solution  ([Explanation](https://www.kaggle.com/c/airbus-ship-detection/discussion/71595#latest-457550))
* Few lessons learned (4th place) ([Explanation](https://www.kaggle.com/c/airbus-ship-detection/discussion/71667#latest-558876))

#### 2018 Data Science Bowl (DSB2018)
* 1st Place Solution ([Explanation](https://www.kaggle.com/c/data-science-bowl-2018/discussion/54741#latest-477226))([code](https://github.com/selimsef/dsb2018_topcoders/))
* 2nd Place Solution ([Explanation & code](https://github.com/jacobkie/2018DSB))
* 3rd Place Solution ([Explanation](https://www.kaggle.com/c/data-science-bowl-2018/discussion/56393#latest-540344))([code](https://github.com/Lopezurrutia/DSB_2018))
* 4th Place Solution  ([Explanation](https://www.kaggle.com/c/data-science-bowl-2018/discussion/55118#latest-527734))([code](https://github.com/pdima/kaggle_2018_data_science_bowl_solution))

repository: hymntaha/Data-Science-Competitions

repo_name: hymntaha/Data-Science-Competitions


text:
---
permalink: /
title: "Biography"
excerpt: "About me"
author_profile: true
redirect_from:
  - /about/
  - /about.html
  -
---

I am a Posdoctoral Research Fellow in the Department of Mathematics at the University of Manchester, where I am working with [Dr Tom Kempton](https://personalpages.manchester.ac.uk/staff/thomas.kempton/).

My research focuses on fractal geometry, but I'm also interested in dynamical systems and number theory (particularly Diophantine approximation).

I am currently transitioning to a career in data science and machine learning, and I recently built an interactive app for predicting UK house prices (for more details please see my [software](https://lawrence-d-lee.github.io/software/) page and my [GitHub](https://github.com/lawrence-d-lee/housing-app)).

Prior to Manchester I was an EPSRC funded PhD student at the University of St Andrews, where I was supervised by [Regius Professor Kenneth Falconer](https://kennethfalconer.github.io/) and [Professor Jonathan Fraser](https://jonathan-fraser.github.io/homepage/).

My Erdös number is 2 (Lee → Vaughan → Erdös).

## Contact details

Email: lawrence dot lee at manchester dot ac dot uk


text:
# VulkanCore

![CI](https://github.com/JuliaGPU/VulkanCore.jl/workflows/CI/badge.svg)
![TagBot](https://github.com/JuliaGPU/VulkanCore.jl/workflows/TagBot/badge.svg)

VulkanCore wraps Vulkan and exposes the library calls necessary to work with
Vulkan. It is targeted for developers wanting to directly work with Vulkan in
Julia.

If you are looking for a high-level idiomatic Julia API you might wish to take a look at
[Vulkan.jl](https://github.com/JuliaGPU/Vulkan.jl).

### Installation
You are required to have a Vulkan capable device and the appropriate drivers.

If these are present, run:

```
pkg> add VulkanCore
```

### References
- [Vulkan](https://www.khronos.org/vulkan/)
- [Vulkan Registry](https://www.khronos.org/registry/vulkan/)
- [Vulkan Specification](https://www.khronos.org/registry/vulkan/#apispecs)

## Usage
The Vulkan wrapper is generated using [Clang.jl](https://github.com/JuliaInterop/Clang.jl)
with the [generator file](gen/generator.jl).

The API aims to replicate the Vulkan C-API and is thus very bare bones and hands-on.

```julia
using VulkanCore.LibVulkan

count = Ref{Cuint}(0)

# Scan layers
err = vkEnumerateInstanceLayerProperties(count, C_NULL)
@assert err == VK_SUCCESS

global_layer_properties = Vector{VkLayerProperties}(undef, count[])
err = vkEnumerateInstanceLayerProperties(count, global_layer_properties)
@assert err == VK_SUCCESS
```

## Contributing
You are welcome to submit pull-request for improvements, but since this is
primarily a wrapper you might focus your attention on the high-level API at
[Vulkan.jl](https://github.com/JuliaGPU/Vulkan.jl).

## Thanks
This package is inspired by the work done on [CUDArt.jl](https://github.com/JuliaGPU/CUDArt.jl)
and [OpenCL.jl](https://github.com/JuliaGPU/OpenCL.jl).

A big thank you also to all core Julia developers, who made this possible in the
first place.

gha_language: Julia


text:
# Guide to contributing

Please read this if you intend to contribute to the project.

## First things

* Get a github account if you don't have one already
* Submit a github issue if there isn't one already.
  * Clearly describe the bug or feature
  * Provide exact reproducable steps to reproduce the issue if its a bug
  * Include the versions of all components
* Fork the repository on github

## Making your changes

* Create a new branch for your changes
* Make your changes
* Make sure you include tests
* Make sure the test suite passes after your changes
* Commit your changes into that branch
* Use descriptive and meaningful commit messages
* If you have a lot of commits squash them into a single commit
* Push your changes to your branch in your forked repository

## Submitting the changes

Before submitting your pull request you must sign the [Eclipse Foundation Contributor License Agreement](http://www.eclipse.org/legal/CLA.php).

We will NOT ACCEPT any contributions without this first being signed.

To sign the Eclipse CLA you need to:

* Obtain an Eclipse Foundation userid. Anyone who currently uses Eclipse Bugzilla or Gerrit systems already has one of those.
If you don’t, you need to [register](https://dev.eclipse.org/site_login/createaccount.php).

* Login into the [projects portal](https://projects.eclipse.org/), select “My Account”, and then the “Contributor License Agreement” tab.

## After submitting

* Once you have signed the Eclipse CLA, make a note on the github issue that you have signed the CLA, and then you can submit a pull request via github.
* Do not use your branch for any other development, otherwise further changes that you make will be visible in the PR.


text:
# snmp-to-mysql

This is utility for saving SNMP data to MySQL database periodically.

PREREQUISITES
=============
Able to do basic MySQL administration, such as importing sql script, create schema, create table, edit table

INSTALL USING PIP
=================
Using python3 as pooler script, it needs few packages to be added:
- easysnmp
- mysql-connector
- configparser

MYSQL TABLES
==================
Create tables in your own schema, using sql file supplied.

Set **active** flag to **0** in **snmp_interface** tables, for skipping snmp query to certain interfaces

SET EXECUTABLE
======
Set executable for both python3 script files.

CONFIG
====
Fill all necessary information to **db.conf** file

USAGE
=====
**add_device.py <ip_addr> <snmp_community> <snmp_version>** before adding pooler to cron job

Add **snmp_pool.py** to cron job for running periodically

NOTES
======
Only support SNMP version 2c, please use **2** as snmp_version

repository: xsn-cloud/snmp-to-mysql

repo_name: xsn-cloud/snmp-to-mysql


text:
## Font Bakery Install Instructions for GNU+Linux

To install:

    pip install fontbakery;

To upgrade:

    pip install --upgrade fontbakery;

#### Additional Dependencies

##### FontForge

From a PPA on Ubuntu:

    sudo add-apt-repository --yes ppa:fontforge/fontforge;
    sudo apt-get update -qq;
    sudo apt-get install python-fontforge

##### Microsoft Font Validator

A prebuilt binary of the Microsoft Font Validator is currently available at the `prebuilt/fval` directory in this repo.
(The corresponding source code is available under a free license at https://github.com/Microsoft/Font-Validator).
In order to enable this check, you'll need to have the mono runtime installed in your system.
You'll also need to have `FontValidator.exe` available in the system path.
Try:

    sudo apt-get install mono-runtime libmono-system-windows-forms4.0-cil;
    export PATH=$PATH:$FONTBAKERY_GIT_REPO/prebuilt/fval;

...where `$FONTBAKERY_GIT_REPO` should be the name of the directory where you checked out Font Bakery source code.
Obviously, you can also use any other alternative way of making `FontValidator.exe` available in your system path.

FontValidator includes some hinting instruction validation checks.
These rely on a customized version of the Freetype library.
In order to enable those, you'll need to use the custom build available in this repo by doing:

    export LD_PRELOAD=$FONTBAKERY_GIT_REPO/prebuilt/custom_freetype/lib/libfreetype.so

The corresponding modified freetype source code is available at <https://github.com/felipesanches/freetype2>

If your vanilla system freetype is used instead, then all FontValidator checks will still be run, except for the hinting validation ones.

##### Remote ftxvalidator

The script available at `prebuilt/workarounds/ftxvalidator/ssh-implementation/ftxvalidator` let's you execute the Mac OS tool `ftxvalidator` on a remote host. It is designed as a drop in replacement to be put in your `/usr/local/bin` directory.

In order to use it you must also add your client's ssh public key to `.ssh/authorized_keys` on the remote machine.

gha_language: C


text:
Blog
====

Info
----
### Objective
Create a blog to share my writing with others.

MVP User Stories
----------------
### As a user I can see a homepage
#### Help
* Use the Symfony Installer to create a new project

### As an admin I can login into the application
#### Help
* Use the `app/config/security.yml` to configure the security

### As an admin I can access to the `/admin` section
#### Help
* Use the security `access_control` configuration

### As a user I can not access to the `/admin` section
#### Help
* Use the security `access_control` configuration

### As an admin I can create a blog post on the `/admin/posts/new` page
#### BlogPost
`title`, `content`, `published_at`

#### Help
* Create an BlogPost Entity
* Create an BlogPost Form Type

### As an admin I can view the list of all the blog post on the `admin/posts` page
#### Help
* Use the BlogPost Repository

### As an user I can view the list of all the blog post on the homepage
#### List elements
Display the `title`, the `published_at`, and only the first 100 char of the `content`.
#### Help
* Use the BlogPost Repository

### As an user I can view the detail of a blog post on a `/posts/{id}` page

### As an admin I can mark a blog post as published
#### Help
* Add a default value `null` to the BlogPost Entity
* Add a button to publish an article by setting the value of the `published_at` attribute

### As a user I cannot see the blog post not published yet

Bonus features User Stories
---------------------------
### As a user I can see the use of a front-end framework

### As a user I can comment a blog post

### As a user I see the comments of blog post

### As a user I can see the number of comments of blog post on the homepage

### As an admin I can remove a comment

repository: blade-sensei/Symfony-blog

repo_name: blade-sensei/Symfony-blog


text:
### [CVE-2021-24245](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24245)
![](https://img.shields.io/static/v1?label=Product&message=Stop%20Spammers&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=2021.9%3C%202021.9%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brighgreen)

### Description

The Stop Spammers WordPress plugin before 2021.9 did not escape user input when blocking requests (such as matching a spam word), outputting it in an attribute after sanitising it to remove HTML tags, which is not sufficient and lead to a reflected Cross-Site Scripting issue.

### POC

#### Reference
- http://packetstormsecurity.com/files/162623/WordPress-Stop-Spammers-2021.8-Cross-Site-Scripting.html

#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates

repository: trickest/cve

repo_name: trickest/cve


text:
# Room Booker

This app automates the process of uploading timetable data in a CSV
file to [https://www.schoolbooking.com](https://www.schoolbooking.com)

schoolbooking.com has its own interface (using the Zinet client) to
push data from a student records system to an institution's instance
of the web app. However, this method only supports a limited number
of student records systems and those are only school-based systems.

Sadly, colleges and others have to struggle with the manual upload
of CSV data. This is a simple, but time consuming task, especially
if your timetable changes a lot.

That's where roombooker comes in! It can automatically navigate its
way through your instance of the school booking web app and upload
your CSV file. It can take user input each time its run or you can
set up a configuration file, allowing it to be run by scheduled job.

We're not affiliated with [https://www.schoolbooking.com](https://www.schoolbooking.com) in any way.
We just needed an automated method of uploading timetable data that
would work for our setup.

## Dependencies

roombooker requires chrome driver ([http://chromedriver.chromium.org/](http://chromedriver.chromium.org/))
to be in an accessible directory.

You will also need Google Chrome installed [https://www.google.com/chrome/](https://www.google.com/chrome/)
on the machine that will be running roombooker

## Quick start

1. Run roombooker to begin.

2. It will ask you for a series of inputs:
    * the file path the chrome driver
    * the URL to your instance of [schoolbooking.com](https://www.schoolbooking.com)
    * the file path to your CSV file containing your timetable data
    * a username and password with permissions on your instance
      of [schoolbooking.com](https://www.schoolbooking.com) to upload timetable data

3. It will launch an automated instance of chrome, log into your
   instance of [schoolbooking.com](https://www.schoolbooking.com), navigate to the upload page
   and upload your timetable data. It will then log out and close
   the browser.

You may wish to use the -c command line switch to set up a local
configuration file. roombooker will then read this when its run
instead of asking for user input. You also have the choice of
storing credentials or not.

If roombooker can't find or read the configuration file for any
reason, it will ask for user input instead.

If you've set up a configuration file, but wish to run a one-off
upload using different details, use the -n command line switch.
This runs the application without using an existing configuration
file.

We recommend using the -q command line switch if running on a
server as part of a scheduled job. This suppresses any prompts
for user data that would otherwise hold up the process. Instead
it will just close gracefully if it encounters any errors. It
will still print an error message to the terminal though, to aid
with debugging. Make sure you've set up a configuration file first,
including stored credentials.

Don't forget to generate a new CSV file before running roombooker,
especially if running as part of a scheduled job.

## Contributing

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our
code of conduct.

This app is written in python 3.6.

## Authors

* **zakwarren** - *Initial work*

## License

This project is licensed under the 3-Clause BSD License - see
the [LICENSE.md](LICENSE.md) file for details.

repository: zakwarren/roombooker

repo_name: zakwarren/roombooker


text:
# CSPro support for Atom
Atom package for syntax highlighting of CSPro code.

## What is CSPro?
Census and Survey Processing System (CSPro) is a Windows and Android program for collecting and processing census and survey data.

For more information see:
* [US Census Bureau site](https://www.census.gov/data/software/cspro.html)
* [CSPro Users](http://www.csprousers.org/)
* [Programing cheat sheet](http://www.csprousers.org/resources/CSProCheatSheet.pdf)

## Warning
This package is unstable and was developed so that I had something slightly easier to work with than plain text. I don't guarantee that it will work well or deal with any edge cases.

**Please don't rely on it for anything important.**

## Contributing
Feel free to submit bugs to the bug tracker or a pull request. The code has been released under the MIT License.

repository: Guerillero/language-cspro

repo_name: Guerillero/language-cspro


text:
# Scalars

Scalar types are not divisible, they have no fields of their own. The scalar types automatically available to you in a Sudograph schema are:

* [Boolean](#boolean)
* [Date](#date)
* [Float](#float)
* [ID](#id)
* [Int](#int)
* [String](#string)

## Boolean

A `Boolean` value maps to a Rust `bool`.

```graphql
type User {
    id: ID!
    verified: Boolean!
}
```

## Date

A `Date` value maps to a Rust `String` for storage and a [chrono::DateTime](https://docs.rs/chrono/0.4.19/chrono/struct.DateTime.html) for filtering.

```graphql
type User {
    id: ID!
    dateOfBirth: Date!
}
```

## Float

A `Float` value maps to a Rust `f32`.

```graphql
type User {
    id: ID!
    height: Float!
}
```

## ID

An `ID` value maps to a Rust `String`. All Sudograph object types must have a field called `id` of type `ID`.

```graphql
type User {
    id: ID!
}
```

## Int

An `Int` value maps to a Rust `i32`.

```graphql
type User {
    id: ID!
    age: Int!
}
```

## String

A `String` value maps to a Rust `String`.

```graphql
type User {
    id: ID!
    username: String!
}
```

repository: MioQuispe/sudograph

repo_name: MioQuispe/sudograph


text:
# Click™

**click**, is a fan website dedicated to the epic MIRROR'S EDGE™ CATALYST Game Franchise. User's are able to view images and profiles of the characters in the game.

##Screenshots

![image](https://github.com/tc-mwangi/shutterbugg-Django/blob/master/static/screenshots/screencapture-figma-proto-YY7ptjpqnZURS5wsZkVD1I4M-Untitled-2019-03-05-07_48_20%20copy.png)

![image](https://github.com/tc-mwangi/shutterbugg-Django/blob/master/static/screenshots/screencapture-figma-proto-YY7ptjpqnZURS5wsZkVD1I4M-Untitled-2019-03-05-07_51_51%20copy.png)

![image](https://github.com/tc-mwangi/shutterbugg-Django/blob/master/static/screenshots/screencapture-figma-proto-YY7ptjpqnZURS5wsZkVD1I4M-Untitled-2019-03-05-07_52_21%20copy.png)

![image](https://github.com/tc-mwangi/shutterbugg-Django/blob/master/static/screenshots/screencapture-figma-proto-YY7ptjpqnZURS5wsZkVD1I4M-Untitled-2019-03-05-07_53_01%20(1)%20copy.png)

## Installation
OS X

### Pre-requisites
* [Python 3](https://www.python.org/)
* [Django version 1.11.17](https://www.djangoproject.com/download/)
* IDE of your choice.

### Steps

* Clone the app to a directory.
```
git clone https://github.com/tc-mwangi/shutterbugg-Django.git
```

* Build Locally

```
$ python -m venv virtual
$ source virtual/bin/activate
$ pip install -r requirements.txt
$ DEVELOPMENT=1 python manage.py runserver
```

* Serve

```
Then visit http://localhost:8000 to view the app.
```

### User Stories

* View different photos that interest me.
* Click on a single photo to expand it and also view the details of the photo. The photo details must appear on a modal within the same route as the main page.
* Search for different categories of photos. Categories are based on the characters of the game.
* Copy a link to the photo to share with my friends.
* View photos based on the location they were taken.

### BDD
|     | Behaviour    |          Input                | Output    |
|--- | ---         |     ---      |          --- |
|  1. | display menu options |     | home, characters, locations, search      |
|  2. | display images on homepage |    | on click , open image modal  with image details and share button option  |
|  3. | diplay images based on characters  |  -  |  redirect to selected character's page  |
|  4. | diplay images based on locations found in the game  |  -  |  redirect to selected location page  |
|  5. | display search bar |  search_term based on categories  | redirect to search results page |

### Category Search Terms
Carry out search based on category:
* faith
* nomad (not enabled)
* icarus (not enabled)
* dogen (not enabled)
* birdman (not enabled)
* noah (not enabled)
* gabriel kruger (not enabled)

### Location Search Terms
Carry out search based on location:
* shard
* city of glass
* cascadia
* the city
* mercury's hideout
* elysium
* sky city

## Author

**@top-cat** - *Initial work* - [Click™](https://github.com/tc-mwangi/shutterbugg-Django)

## Credits

**Powered by** [-](/)

## License
MIT © [Click™]()

repository: tc-mwangi/shutterbugg-Django

repo_name: tc-mwangi/shutterbugg-Django


text:
<div align="center">

# Mario

[![Build Status](https://travis-ci.org/shreyas-a/mario.svg?branch=master)](https://travis-ci.org/shreyas-a/mario)
[![license](https://img.shields.io/github/license/shreyas-a/mario.svg)](https://github.com/shreyas-a/mario/blob/master/LICENSE)
[![GitHub contributors](https://img.shields.io/github/contributors/shreyas-a/mario.svg)](https://github.com/shreyas-a/mario/graphs/contributors)

A game for namesake. Actual reason is to demonstrate modern web tech stack.
</div>

##

### Installation

To install this game you need to follow the steps below:

```
git clone https://github.com/shreyas-a/mario.git
cd mario
yarn
```

##

### Start it

`yarn start`

##

### TODOs

- **PWA**
- **SSR**
- DB integration
- Top scorers in Stats page
- Animation in Mario movements
- [Glamorous](https://glamorous.rocks/) for styled components
- [JEST](https://facebook.github.io/jest/) for test cases
- [FLOW](https://flow.org/) for type checking

##

repository: shreyas-a/mario

gha_language: JavaScript

repo_name: shreyas-a/mario


text:
For those with new membership to github.com/nanoMFG, and/or those ready to start a new tool, here are instructions for creating a new project repo:

1) visit github.com/nanoMFG and accept invitation

2) Hit the "new" button :

3) Select repo options and create repo.
   - Try to use a relatively short name with no spaces.

   - Add a description

   - Select a template such as "toolstart-jupyter" for a new jupyter notebook tool.

Make the repo public if you intent to release via open source or private if you want to keep hidden until release.

4) Refer to the first planning activity to create a project team so all of your collaborators have access.

url: https://raw.githubusercontent.com/sixianj2/community/4628545328e1df1423affd5cc1492930d34b7795/docs/_posts/2020-09-29-Creating a New Tool Repository.md


text:
# [Django REST](https://www.django-rest-framework.org/) and [Flutter](https://flutter.dev/) stack boilerplate configured with [Cookiecutter](https://cookiecutter.readthedocs.io/en/latest/)

![](https://pyup.io/repos/github/vladdoster/django-and-flutter-cookiecutter/shield.svg)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)]()

The ease of Django on the backend and beautiful, natively compiled applications for mobile, web, and desktop from a single codebase with Flutter.

### Usage

##### Note: you need to have Python 3.7 or above.

Create a virtualenv

```
virtualenv venv
```

`source venv/bin/activate

```
pip install cookiecutter
```

```
cookiecutter https://github.com/vladdoster/django-and-flutter-cookiecutter
```

#### Fill out the details and then `cd` into the generated project

##### To start backend:

```
cd backend
```

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

```
python manage.py makemigratiuons
```

```
python manage.py migrate
```

```
python manage.py runserver
```

Go to [<IP_ADDRESS>:8000](http://<IP_ADDRESS>:8000/) for DRF swagger UI.

##### To start frontend (WIP)

`Flitter`

`Flapper`

`Flutter`

## Code of Conduct
Everyone interacting with the [django-and-flutter-cookiecutter](https://github.com/vladdoster/django-and-flutter-cookiecutter) codebase and issue tracker is expected to follow our [Code of Conduct](https://github.com/vladdoster/django-and-flutter-cookiecutter/blob/dev/CODE_OF_CONDUCT.md).

## Licence


text:
GradientLoadingBar
====================

![Swift4.0](https://img.shields.io/badge/Swift-4.0-green.svg?style=flat) [![CI Status](http://img.shields.io/travis/fxm90/GradientLoadingBar.svg?style=flat)](https://travis-ci.org/fxm90/GradientLoadingBar) [![Version](https://img.shields.io/cocoapods/v/GradientLoadingBar.svg?style=flat)](http://cocoapods.org/pods/GradientLoadingBar) [![License](https://img.shields.io/cocoapods/l/GradientLoadingBar.svg?style=flat)](http://cocoapods.org/pods/GradientLoadingBar) [![Platform](https://img.shields.io/cocoapods/p/GradientLoadingBar.svg?style=flat)](http://cocoapods.org/pods/GradientLoadingBar)

### Example
A customizable animated gradient loading bar. Inspired by [iOS 7 Progress Bar from Codepen](https://codepen.io/marcobiedermann/pen/LExXWW).

![Example](http://felix.hamburg/files/github/gradient-loading-bar/screen.gif)

To run the example project, clone the repo, and run `pod install` from the Example directory first.

### Integration
##### CocoaPods
GradientLoadingBar can be added to your project using [CocoaPods](https://cocoapods.org/) by adding the following line to your Podfile:
```
pod 'GradientLoadingBar', '~> 1.0'
```
##### Carthage
To integrate GradientLoadingBar into your Xcode project using Carthage, specify it in your Cartfile:
```
github "fxm90/GradientLoadingBar" ~> 1.0
```
Run carthage update to build the framework and drag the built GradientLoadingBar.framework into your Xcode project.
### How to use
To get started you'll have to import `GradientLoadingBar` into your file. To show the bar, simply call the `show()` method and after you're done with your operations call `hide()`.
```swift
let gradientLoadingBar = GradientLoadingBar()
gradientLoadingBar.show()

// Do e.g. server calls etc.

gradientLoadingBar.hide()
```
### Configuration
You can overwrite the default configuration by calling the initializers with the optional parameters `height`, `durations`, `gradientColorList` and `onView`:
```swift
let gradientLoadingBar = GradientLoadingBar(
    height: 1.0,
    durations: Durations(fadeIn: 1.0, fadeOut: 2.0, progress: 3.0)
    gradientColorList: [
        UIColor(hex: "#4cd964"),
        UIColor(hex: "#ff2d55")
    ]
    onView: self.view
)
```
For using custom colors you'll have to pass an array with `UIColor` values. For creating those colors you can use all initializers for `UIColor` mentioned here: [UIColor+Initializers.swift](https://gist.github.com/fxm90/1350d27abf92af3be59aaa9eb72c9310)

For an example using the loading bar on a custom superview (e.g. an `UIButton` or `UINavigationBar` ) see the example application. For further customization you can also subclass `GradientLoadingBar` and overwrite the method `setupConstraints()`. This also shown in the __example application__.

#### – Shown underneath navigation bar
![Example](http://felix.hamburg/files/github/gradient-loading-bar/navigation-bar.jpg)

#### – Shown on custom superview
![Example](http://felix.hamburg/files/github/gradient-loading-bar/uibutton.jpg)

#### – Custom shared instance (Singleton)
If you need the loading bar on different parts of your app, you can use the given static `shared` variable:
```swift
GradientLoadingBar.shared.show()
// Do e.g. server calls etc.
GradientLoadingBar.shared.hide()
```
If you wish to customize the shared instance, you can add the following code e.g. to your app delegate `didFinishLaunchingWithOptions` method and overwrite the `shared` variable:
```swift
GradientLoadingBar.shared = GradientLoadingBar(
    height: 3.0,
    durations: Durations(fadeIn: 1.0, fadeOut: 2.0, progress: 3.00),
    gradientColorList: [
        UIColor(hex: "#4cd964"),
        UIColor(hex: "#ff2d55")
    ]
)
```

### Usage with PromiseKit
Check out [my GitHub Gist](https://gist.github.com/fxm90/698554e8335f34e0c6ab95194a4678fb) on how to easily use GradientLoadingBar with [PromiseKit](http://promisekit.org/).

### Author
Felix Mau (contact(@)felix.hamburg)

### License

GradientLoadingBar is available under the MIT license. See the LICENSE file for more info.

repository: paterik/udacity-ios-aqoo

repo_name: paterik/udacity-ios-aqoo


text:
# The Green Plate

Users will be able to select ingredients of their choice in order to generate recipes that will include the chosen ingredients. Our application targets an audience interested in exploring various vegetarian food options. A store locator is included that will let users search for their preferred grocery store in order to purchase any additional ingredients.

## Getting Started

You can use this app NOW: [Green Plate](https://mariamschaudry.github.io/Project-1/). You can also clone or download a copy of this app by clicking the link on the top-right.

### Prerequisites

To run the game you will need to have a web browser installed.

```
Chrome, Firefox, Safari, IE
```

### Installing

No installation required just download and open in your browser

```
Double-click on index.html
```

## Running the tests

There is a commented line that will show you the computer output.

## Built With

* [HTML](https://www.w3.org/html/) - The markup language used
* [CSS](https://www.w3.org/Style/CSS/learning.en.html) -  The style sheet language used
* [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) - The programming language used
* [Edamam API](https://developer.edamam.com/) - Recipe and nutrition API
* [Google Maps API](https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete) - Google Maps API, Place Autocomplete

## Contributing Authors

* **Mariam Chaudry** - *Project Manager*, *Edamam Recipe API*, *JavaScript*, *Materialize*,*CSS* - [Mariam Chaudry](https://github.com/mariamschaudry)
* **Elizabeth Fox** - *Google Maps API*, *JavaScript*, *CSS* - [Elizabeth Fox](https://github.com/elizabethtfox)
* **Catherine Muthoni** - *Edamam Recipe API*, *JavaScript*, *Materialize*, *CSS*- [Catherine Muthoni](https://github.com/dmk6562)
* **Rodolfo Saez** - *Readme Engineer*, *CSS* - [Rodolfo Saez](https://github.com/rsaez)

See also the list of [contributors](https://github.com/mariamschaudry/project-1/contributors) who participated in this project.

## License

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

## Acknowledgments

* Hat tip to anyone who's code was used


text:
Mcider
======

Mcider is to convert markdown into slideshow.

![mcider](http://ogom.github.com/python-mcider/images/mcider.png)

### Examples of themes

* [Google I/O 2012](http://ogom.github.com/python-mcider/examples/io2012/slide.html)
* [Google I/O 2011](http://ogom.github.com/python-mcider/examples/io2011/slide.html)

## Installation

    $ pip install mcider

or

    $ easy_install mcider

from source

    $ git clone https://github.com/ogom/python-mcider.git
    $ cd python-mcider
    $ make install

## Usage

Simple, the file is output to the same directory as the markdown.

    $ mcider ./slide.md

`-b` option is displayed in the web browser.

    $ mcider ./slide.md -b

`-o` option to change the location to save the file.

    $ mcider ./slide.md -o /tmp/my.html

`-t` option to change the theme of the slide.

    $ mcider ./slide.md -t io2011

`-x` option to extend the markdown. [(Available Extensions)](http://freewisdom.org/projects/python-markdown/Available_Extensions)

    $ mcider ./slide.md -x fenced_code tables

`--presenter` option is displayed in Presenter mode. Only theme `io2012`.

    $ mcider ./slide.md -b --presenter

See also `mcider --help`.

## How to use
### Output Hints

Separates the slide is `---` or `___` or `***` be returned to hr tab at markdown.
io2012 or io2011 of the theme to change the class of article in the horizon.

 horizon |  article class
-------- | --------------
  ---    |  none
  ___    |  smaller
  ***    |  fill

### I/O 2012

#### Presenter note

converted to the presenter note from markdown comment tag.

```markdown
<!--
  write a note here.
-->
```

```html
<aside class="note">
  write a note here.
</aside>
```

![presenter](http://ogom.github.com/python-mcider/images/presenter.png)

## Examples

### Theme of io2012

Markdown the original

```markdown
I/O 2012 slide example
======================

---

### Simple slide with header and text
Here is the text of hgroup.

This is a slide with just text. This is a slide with just text.
This is a slide with just text. This is a slide with just text.
This is a slide with just text. This is a slide with just text.

There is more text just underneath.

___

### Simple slide with header and text (small font)
Here is the text of hgroup.

This is a slide with just text. This is a slide with just text.
This is a slide with just text. This is a slide with just text.
This is a slide with just text. This is a slide with just text.

There is more text just underneath.

***

### Image filling the slide (with optional header)
Here is the text of hgroup.

![syaraku](images/syaraku_eye.jpg)

There is more text just underneath.
```

The converted html

```html
<slide>
  <hgroup>
    <h1>
      I/O 2012 slide example
    </h1>
  </hgroup>
</slide>

<slide>
  <hgroup>
    <h3>
      Simple slide with header and text
    </h3>
    <p>
      Here is the text of hgroup.
    </p>
  </hgroup>
  <article class="none">
    <p>
      This is a slide with just text. This is a slide with just text.<br />
      This is a slide with just text. This is a slide with just text.<br />
      This is a slide with just text. This is a slide with just text.<br />
    </p>
    <p>
      There is more text just underneath.
    </p>
  </article>
</slide>

<slide>
  <hgroup>
    <h3>
      Simple slide with header and text (small font)
    </h3>
    <p>
      Here is the text of hgroup.
    </p>
  </hgroup>
  <article class="smaller">
    <p>
      This is a slide with just text. This is a slide with just text.<br />
      This is a slide with just text. This is a slide with just text.<br />
      This is a slide with just text. This is a slide with just text.<br />
    </p>
    <p>
      There is more text just underneath.
    </p>
  </article>
</slide>

<slide>
  <hgroup>
    <h3>
      Image filling the slide (with optional header)
    </h3>
    <p>
      Here is the text of hgroup.
    </p>
  </hgroup>
  <article class="fill">
    <p>
      <img alt="syaraku" src="images/syaraku_eye.jpg" />
    </p>
    <p>
      There is more text just underneath.
    </p>
  </article>
</slide>
```

### Theme of io2011

Markdown the original

```markdown
I/O 2011 slide example
======================

---

### Simple slide with header and text

This is a slide with just text. This is a slide with just text.
This is a slide with just text. This is a slide with just text.
This is a slide with just text. This is a slide with just text.

There is more text just underneath.

___

### Simple slide with header and text (small font)

This is a slide with just text. This is a slide with just text.
This is a slide with just text. This is a slide with just text.
This is a slide with just text. This is a slide with just text.

There is more text just underneath.

***

### Image filling the slide (with optional header)

![syaraku](images/syaraku_eye.jpg)

There is more text just underneath.
```

The converted html

```html
<article class="none">
  <h1>
    I/O 2011 slide example
  </h1>
</article>

<article class="none">
  <h3>
    Simple slide with header and text
  </h3>
  <p>
    This is a slide with just text. This is a slide with just text.<br />
    This is a slide with just text. This is a slide with just text.<br />
    This is a slide with just text. This is a slide with just text.<br />
  </p>
  <p>
    There is more text just underneath.
  </p>
</article>

<article class="smaller">
  <h3>
    Simple slide with header and text (small font)
  </h3>
  <p>
    This is a slide with just text. This is a slide with just text.<br />
    This is a slide with just text. This is a slide with just text.<br />
    This is a slide with just text. This is a slide with just text.<br />
  </p>
  <p>
    There is more text just underneath.
  </p>
</article>

<article class="fill">
  <h3>
    Image filling the slide (with optional header)
  </h3>
  <p>
    <img alt="syaraku" src="images/syaraku_eye.jpg" />
  </p>
  <p>
    There is more text just underneath.
  </p>
</article>
```

## Tests

    $ make test

[![Build Status](https://secure.travis-ci.org/ogom/python-mcider.png?branch=master)](http://travis-ci.org/ogom/python-mcider)

## Uses
* [Python-Markdown](https://github.com/waylan/Python-Markdown)
* [HTML5 slide template for Google I/O 2012](http://code.google.com/p/io-2012-slides/)
* [HTML5 slide template for Google I/O 2011](http://code.google.com/p/html5slides/)

## Licence
* [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)

repository: shinestmt/python-mcider

repo_name: shinestmt/python-mcider


text:
# Installing, Testing, and Setup

The following sections will guide you through the full setup. For those that
will actively develop `autodiffx`, it is recommended to install from source
and setup the testing suite.

## Installation

### Installing from Source

If you want the latest nightly version of AutoDiffX, clone from our github
repository and install the latest version directly.

```bash
git clone https://github.com/CS207-Project-Team-1/cs207-FinalProject autodiffx
cd autodiffx
pip install -r requirements.txt
python3 setup.py install
```

If you are working on a python virtual environment or Mac OSX or your user's
python distribution, this should work. If editing the system python, you may
need to run the last command with root permissions by adding `sudo`.

### Installing from pip

For the stable version, you can install our package from PyPI.

```bash
pip install autodiffx
```

## Testing

All of the tests are run using pytest. To run pytest, you want to be in the
root directory of the repository. To ensure that `pytest` gets the imports
correct, you want to run it such that it adds the current path to `PYTHONPATH`.
The easiest way to do so is:

```bash
python -m pytest
```

This should run all of the tests for the package.

gha_language: Python


text:
Debian Jessie image for building Python Debian Packages
=======================================================

This docker image installs several necessary debian packages in order to build
a debian package from a python project:

    - debhelper
    - dh-virtualenv
    - python
    - python-dev
    - libxml2-dev
    - libcurl4-openssl-dev
    - libssl-dev
    - libxslt1-dev
    - python-pgmagick
    - libtiff5-dev
    - libpng12-dev
    - libjpeg-dev
    - libjasper-dev
    - libwebp-dev
    - python-setuptools
    - lsb-release
    - devscripts

License
=======

MIT, see LICENSE

repository: truemped/debian-jessie-python-package

repo_name: truemped/debian-jessie-python-package


text:
# Psychic-Game

## Overview:
A psychic letter guessing game utilizing JavaScript. View the game here: https://katiemoon1.github.io/Psychic-Game/

## What is the purpose of the Psychic-Game?
This project is used to demonstrate basic JavaScript skills.

## Why is the Psychic-Game useful?
It is a test of your guessing abilities to match the secret letter selected by the computer.

## How do users play Psychic-Game?
Upon opening the page, the computer will pick a number and keep it hidden. The user then selects letters on their keyboard and the application tests to see if the letter matches or not. There are eight tries available and if the users selects the match, the wins category increases. If not, the losses category increases. Keep playing until you match the computer!

## Where can users get help?
Please directly contact me if you have any questions.

## Who contributes to the project?
I am the sole contributor!


text:
# <img src="https://raw.githubusercontent.com/bobocode-projects/resources/master/image/logo_transparent_background.png" height=50/>Welcome to the Java Fundamentals Course
Build strong fundamental skills that you will need for real-world Enterprise Java development

## Why
Most people don’t know how to learn Enterprise Java efficiently. So we created an **open-source education system**
that helps them to **master strong skills**, learn **world best practices** and build a **successful career**. 🚀

At Bobocode we have extensive experience in both building Enterprise Java applications and organizing efficient learning.
Therefore, this course covers what you need in the most efficient way. We believe that
**the key to efficient learning is practice**. 💪 And as a software engineer, you should **spend as much time as you can in the IDE writing code**.
At the end of the day, this is the only place where you build software... 💻

## About the course
Java Standard Edition is huge. Computer Science is huge. Object-Oriented programming, as well as Functional programming,
are also pretty big topics. So how can you learn everything you need and **don't get stuck for years learning fundamentals only?** 🤔
You're in the right place to find the answer. 😀

This course gives you two uniques features that will help you to master fundamentals ASAP:
1. It consists of **selected topics that are must-have** for real-world enterprise Java development ⭐
2. It is fully based on **special training exercises** that put your practice on rails and **boost up your learning efficiency** 🚀

Go ahead and check out [Introduction module](https://github.com/bobocode-projects/java-fundamentals-course/tree/main/0-0-intro#introduction) 👍

repository: VadimKNF/java-fundamentals-course

repo_name: VadimKNF/java-fundamentals-course


text:
# TMF3 Mission Templates

This repository contains templates for creating TMF missions.
## Goals

- Generate mission templates for all given maps given a base mission.
- Publish these as releases with ZIPs.

## Contributors

## Vanilla Base Mission

- From [TMF](https://github.com/TMF3/TMF)

## MJB Base Mission

- Beagle

gha_language: SQF


text:
# pyicebox
A python library/CLI tool for working with Ethereum [icebox-format](https://github.com/ConsenSys/icebox) mnemonic-based offline wallets.

Requires Python 2.7.x as well as the following libraries:

* ethereum
* bitcoin
* requests
* mnemonic

### Command line interface
```
Command Help:

    create
        Generate a new icebox wallet.

    keys
        Displays the addresses and private keys for a wallet.
        NOTE: This command will prompt you for your mnemonic.

    gas
        Shows the current gas price in WEI (must be online).

    lookup <addr>
        Shows the current balance and nonce given an address (must be online).

    send <nonce> <recipient address> <amount> <gas price> <gas limit>
        Creates a send transaction (but does not broadcast it).
        NOTE: This command will prompt you for the private key to send from.
        Amount should be specified in ETHERs.
        Gas price should be specified in WEI.
        Gas limit for simple sends should be set to 21000.

    export
        Export a private key to a geth-compatible keystore.
        NOTE: This command will prompt you for the private key and keystore password.
```

repository: badmofo/pyicebox

repo_name: badmofo/pyicebox


text:
# nodeRestDB
This is a NodeJS version of my original pyRestDB.
It is now actually rewriten in TypeScrypt.
I rewrote it just for fun as I started working with NodeJS more and was currious.
I used the python version on raspberry pi succesfully to temporarily store data in memory.
This in memory JSON structure prolongs the lifespan of the SD card as we only write to SD card a batch of data once we collect enough in memory.

# Installation
To play with it locally you can pull the `git` repository and run these commands:
```
yarn install
yarn start
```

You can also compile the project and run it with node:
```
yarn install
yarn run build
node dist/index.js
```

If you want a docker container you can build it with:
```
docker build .
```

Service is available locally on port 16379 by default `http://localhost:16379`

# Write data with POST method
If we execute this `POST` post command:
```
http POST :16379/v1/db/test/test2/test3 data:'{"thirteen":13, "pi":3.14}'
#returns {code: 1} on success
```
We will write the data into the in memory JSON structure.
If the path `test/test2/test3` does not exist, it will be created.
When the path exist, this operation, will override the data!
After this operation you can read out the values.

# Reading data
Call to:
```
http GET :16379/db/v1/test/test2/test3
```
Will return:
```JSON
{
  "thirteen": 13,
  "pi": 3.14
}
```
How ever a call to:
```
http GET :16379/db/v1/test/test2/test3/pi
```
Will return:
```
3.14
```
Where as call to:
```
http GET :16379/db/v1/test
```
Will return:
```
{
  "test2": {
    "test3": {
      "thirteen": 13,
      "pi": 3.14
    }
  }
}
```
As you can see you can read as much data as you want or you can go as deep along the tree as needed.

# Write data with PUT command
`PUT` command works a bit differently than `POST`. But you can achieve the same result with both of them. With `PUT` command you send the data in the request body which is a JSON with `path` and `value` parameters. For example if we want to get same result as with the `POST` example above we would execute:
```
http PUT :16379/v1/db path:'test/test2/test3' value:'{"thirteen":13, "pi":3.14}'
```
This will write the same data to the in memmory JSON structure as our POST example above.
When sending data programatically a JSON structure of the body would look like this:
```JSON
{
  "path": "test/test2/test3",
  "value": {
    "thirteen":13,
    "pi":3.14
  }
}
```

# Hiding your data:
In case you need it, there is a simple way to hide your data from public view. Simply add `secret` field to the `headers` of your requests. With this all your data will go into a separate in memmory structure that can only be accessed with your secret key.
For example here is the same request as above but with a secret set in request header.
```
http POST :16379/v1/db/test/test2/test3 data:'{"krneki13":13, "butast":3.14}' secret:'mySuperSecret'
```
It makes sense to choose a secure secret, you can generate a GUID string or simmilar and use that as your secret.

# ToDO
- [ ] Write tests
- [x] Implement delete
- [ ] Implement admin
- [ ] Implement security
- [ ] Implement record expiration
- [ ] Create nodejs client module based on Redis?
- [ ] Code examples in PHP, NodeJS, Python...

repository: rmamba/nodeRestDB

branch_name: refs/heads/latest

gha_language: TypeScript

repo_name: rmamba/nodeRestDB


text:
# TailwindCSS Wordpress Starter

An extension of [HTML5Blank](https://github.com/toddmotto/html5blank) using TailwindCSS with Laravel Mix.

On my blog you can read about [how to create a TailwindCSS Wordpress Theme](https://ciaran.co.za/tailwind-css-wordpress-theme-tutorial/).

## Installation

With NPM:
```bash
npm install
npm run watch
```

With Yarn:
```bash
yarn
yarn watch
```

You can alternately run `dev` to generate readable assets, or `prod` to run a production build.

## Usage

This is a blank copy of HTML5Blank with TailwindCSS installed, nothing more. Your assets build from `./assets` to `./js/scripts.js` and `./style.css`


text:
# Route to a file

If a string is given, it will be treated as a filename and will automatically be required and the path matches the route.

###### index.php
```php
use Siler\Route;

Route\get('/', 'pages/home.php');
```

###### pages/home.php
```php
use Siler\Http\Response;

Response\html('<p>Hello World</p>');
```

repository: SauliusUgintas/siler

repo_name: SauliusUgintas/siler


text:
---
title: Auth0
description: Auth0 is a great authentication-as-a-service platform for free!
position: 31
category: Providers
---

[Source Code](https://github.com/nuxt-community/auth-module/blob/dev/src/providers/auth0.ts)

[Auth0](https://auth0.com) is a great authentication-as-a-service platform for free!

A [live demo](https://auth0.nuxtjs.org) is available as well as the [source](https://github.com/nuxt/example-auth0).

## Usage

```js
auth: {
  strategies: {
    auth0: {
      domain: 'domain.auth0.com',
      clientId: '....',
      audience: 'https://my-api-domain.com/'
    }
  }
}
```

Anywhere in your application logic:

```js
this.$auth.loginWith('auth0')
```

User will be redirected to a page like this:

💁 This provider is based on [oauth2 scheme](../schemes/oauth2) and supports all scheme options.

## Obtaining `clientId`, `domain`, and `audience`

`clientId` and `domain` are **REQUIRED**. Your application needs some details about this client to communicate with Auth0.

`audience` is required _unless_ you've explicitly set a default audience [on your Auth0 tenant](https://manage.auth0.com/#/tenant).

You can get your `clientId` and `domain` the Settings section for your client in the [Auth0 API dashboard](https://manage.auth0.com/#/applications). Your audience is defined on your [client's API](https://manage.auth0.com/#/apis).

## Logout with new Auth0 tenants

On logout, local `auth` is reset and you will be instantly redirected to `Auth0` so your session is destroyed remotely as well. After that, you will be redirected back to your website by `Auth0`.

To make sure you are redirected to the right page, you need to setup two things:

- Go to into the `Tenant Settings` > `Advanced` and enter the allowed URL(s) you can redirect to in `Allowed Logout URLs`, such as `http://localhost:3000`
- Add `logoutRedirectUri` to your config and add the value you just configured:

```js
auth: {
  strategies: {
    auth0: {
      logoutRedirectUri: 'http://localhost:3000',
    }
  }
}
```

Now you can logout calling the `logout` function:

```js
await this.$auth.logout()
```

## PKCE Grant flow

From [Auth0](https://auth0.com/docs/flows/concepts/auth-code-pkce)

> The PKCE-enhanced Authorization Code Flow introduces a secret created by the calling application that can be verified by the authorization server;this secret is called the Code Verifier. Additionally, the calling app creates a transform value of the Code Verifier called the Code Challenge and sends this value over HTTPS to retrieve an Authorization Code. This way, a malicious attacker can only intercept the Authorization Code, and they cannot exchange it for a token without the Code Verifier.

To configure the `PKCE Grant flow` instead of the default `Implicit Grant flow`, additions have to be made to the `Auth0 settings` and to `nuxt.config.js`:

- Applications > "your app" > Settings > Application Type > choose Native
- Applications > "your app" > Settings > Show Advanced Settings > Grant Types > enable Refresh Token (and disable Implicit)
- APIs > "your api" > Allow Offline Access > enable
- `nuxt.config.js`:

```js{}[nuxt.config.js]
auth: {
  strategies: {
    auth0: {
      domain: 'domain.auth0.com',
      clientId: '....',
      audience: 'https://my-api-domain.com/',
      scope: ['openid', 'profile', 'email', 'offline_access'],
      responseType: 'code',
      grantType: 'authorization_code',
      codeChallengeMethod: 'S256',
    }
  }
}

```

repository: nuxt-community/auth-module

branch_name: refs/heads/dev

repo_name: nuxt-community/auth-module


text:
# 2048
Simple port of the game 2048 to test bots

Requirements
* Python 3 for the python version

To play
1. choose your language
2. run `python main.py`
3. choose bot or human
4. if human:
    1. press an arrow key, then "enter" to move
5. if bot:
    1. select number of games to play
    2. select strategy to use to play
    3. highest game, score, and tile will be displayed at end

Bot strategies must always return a string corresponding to a move: `up`, `down`, `left`, or `right`.

## Ruby

There is a ruby version too. It is not as finished and not very many bot strategies exist. You can find it in the `ruby` directory


text:
---
layout: post
title: Deep Learning on Coursera(II)
date: 2017-9-17
author: Kaiyuan Chen
catalog: true
tags:
    - Machine Learning
    - Study Notes
---

## Week 3: Neural Network basics
Neural network is represented by two parts of computation,
the first is a linear function that weight*x + bias
the rest is activation function

-
- (linear func | sigmoid ) -> activation
-

notations
z[1] = W[1]x + b[1]
a[1] = sigmoid(z[1])
z[2] = W[2]a[1] + b[2]

z[1]\(1) = w[1] x(1) + b[1]

w[1] x(1) is a column vector

### activation function:  a = g(z)
    sigmoid function: binary classification
    tanh: a shifted version of sigmoid function that centers at 0
        but sigmoid function is for output layer
        the problem: derivative is close to 0 for gradient descent
    ReLU max(0, z): slope is always no 0, good for gradient descent
    leaky ReLU

### Random Initialization
if initialize everything to 0
a[1] and a[2] will be equal
then by backpropagation, both hidden units have same contribution and calculate exactly same function
and everything is symmetric
```python
np.random.randn((,))
```
will generate Gaussian random
if value is too large, it will enter gradient is small for sigmoid


text:
# README

Erlang code for coding along with "Programming in Erlang 2nd Ed."

# Build

```
$ rebar3 compile
```

# Testing

```
$ rebar3 eunit
```

# References

[rebar3](https://github.com/erlang/rebar3) - Erlang build tool that makes it easy to compile and test Erlang applications and releases.

[jsx](https://github.com/talentdeficit/jsx) - an erlang application for consuming, producing and manipulating json

# License

MIT


text:
# Retrieve Google Analytics data in Laravel via AJAX call to the Google API

For step by step instructions, visit my [blog post](http://www.jmkleger.com/post/retrieve-analytics-data-in-laravel-via-ajax-call-to-the-google-api).
No database required!

## Installation

Clone the repo
```
git clone https://github.com/jeanquark/google-analytics.git
```

Move to the newly created folder and install all dependencies:
```
cd google-analytics
composer install
```

Rename .env.example
```
mv .env.example .env
```

Generate the application key
```
php artisan key:generate
```

Finally, add a new folder named .google containing your personal service account file. To obtain this file, follow the instructions (Step 1) on [this](https://developers.google.com/analytics/devguides/reporting/core/v3/quickstart/service-php) page.

Visit the newly created app on your favorite browser.

## Features
1. Retrieve a selection of Google Analytics dimensions and metrics and display them in a table.
2. Well, that's it ;-)

## Screenshots

Homepage:
![homepage](https://github.com/jeanquark/google-analytics/raw/master/public/homepage.png "Homepage")

Button:
![analytics](https://github.com/jeanquark/google-analytics/raw/master/public/analytics.png "analytics")

Table:
![table](https://github.com/jeanquark/google-analytics/raw/master/public/table.png "table")

## Licence

Please refer to the [Laravel licence](https://opensource.org/licenses/MIT)

repository: jeanquark/google-analytics

repo_name: jeanquark/google-analytics


text:
[中文](./codestyle_js-cn.md)
[EN](./codestyle_js.md)
# Code Style -- js

## Rule

1. Follow the six principles of software design
   1. Open-Closed Principle (OCP)
   2. Liskov Substitution Principle (LSP)
   3. Dependence Inversion Principle
   4. Interface Segregation Principle (ISP)
   5. Law of Demeter LoD is also known as the Least Knowledge Principle (LKP)
   6. Simple responsibility pinciple SRP
2. Complete the function which is necessary to run the entire project rather than your own computer
3. Take the problem out and don't forget it in the development process; add the todo description in the code, add issues in github
4. Think firstly and then write the code starting with naming
5. Handle each error and log it to the log
6. Handle all branches, especially the branch in the abnormal situation (for example, data that should not appear and write it to the error log)
7. Directly provide the service interface and it must be stable; the whole service process should not shut down for one error
8. Unify error number and error information for the external provided interface
9. while defining the function, there are two aspects to consider: 1. whether the function code is reasonable for achieving the function code; 10. whether it is convenient for utilization or easy to make mistakes
11. Verify the code in development process, use the unit testing, research the demo for the project technology implementation, etc
12. Give the sufficient reason if you want to use global variables
13. Write the general small function in scryg after discussion
14 Requirements for code submit: Format compile passed. There should be a special reason to submit the code that fails to compile

## Name

1. Use the lowercase and underline in all source code file
2. Use the lowercase and underline in all directory file names
3. Use the clear meaning English words while naming

repository: wupfhub/scryg

repo_name: wupfhub/scryg


text:
# MonoGame Development Notes

:link: [MonoGame](https://www.monogame.net/)

## Tools

+ [NAudio](https://github.com/naudio/NAudio)

license: Unlicense

repository: Skerwe/markdown-documentation-library

gha_license_id: Unlicense

repo_name: Skerwe/markdown-documentation-library


text:
# radical.ensemblemd

The Ensemble MD Toolkit is a Python library for developing and executing large-
scale ensemble-based Molecular Dynamics (MD) simulations and workflows. It is
being developed by the RADICAL Research Group at Rutgers University. Ensemble MD
Toolkit is released under the MIT License.

### Documentation

The latest documentation can be found at http://radicalensemblemd.readthedocs.org/en/latest/.

### Mailing Lists

* https://groups.google.com/d/forum/ensemblemd-users
* https://groups.google.com/d/forum/ensemblemd-devel

### Developer Wiki
* We maintain a wiki, mostly for internal planning and technical documents at https://github.com/radical-cybertools/radical.ensemblemd/wiki

### Build Status

[![Build Status](http://ci.radical-project.org/buildStatus/icon?job=Ensemble MD)](http://ci.radical-project.org/job/Ensemble MD/)

### Contributors

* Vivek Balasubramanian
* Ioannis Paraskevakos
* Mark Santcroos
* Antons Treikalis
* Ole Weidner
* Nikhil Shenoy


text:
# vlt.data.listofvars

```
   Part of the NewStim package

   VARLIST = vlt.data.listofvars(CLASSNAME)

   Returns a list of variables in the main workspace that are of type CLASSNAME.
   CLASSNAME should be a string like 'double' or 'stimulus'.  'ans' is never
   returned in this list.

   See also:  LIST

                                      Questions to<EMAIL_ADDRESS>
```

repository: VH-Lab/vhlab-toolbox-matlab

gha_language: MATLAB

repo_name: VH-Lab/vhlab-toolbox-matlab


text:
---
layout: post
title: "Apache Maven Clean Plugin Version 2.6.1 Released"
date: 2014-11-01 13:57
comments: true
categories: [Neuigkeiten,BM,Maven,Maven-Plugins,Maven-Plugin-Releases]
---
The Apache Maven team is pleased to announce the release of the
[Apache Maven Clean Plugin, version 2.6.1](http://maven.apache.org/plugins/maven-clean-plugin/).

The Clean Plugin is used when you want to remove files generated at build-time
in a project's directory.

You should specify the version in your project's plugin configuration:

``` xml
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-clean-plugin</artifactId>
  <version>2.6.1</version>
</plugin>
```

[Release Notes - Maven Clean Plugin - Version 2.6.1](http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11128&version=20685)

Bugs:

 * {% chjl MCLEAN-47 %} - On windows if there are junctions on the cleaned directories, clean deletes `.*` resources under junction's target along with junction.
 * {% chjl MCLEAN-55 %} - maven clean seems to use old java.io API to clean the target directory
 * {% chjl MCLEAN-58 %} - Maven Clean Plugin ignores followSymLinks parameter on Windows

Improvements:

 * {% chjl MCLEAN-59 %} - Upgrade maven-plugins-testing-harness from 1.1 to 1.3
 * {% chjl MCLEAN-60 %} - Fixed Checkstyle reported errors / warnings
 * {% chjl MCLEAN-61 %} - Upgrade to org.apache.maven.plugins:maven-plugins:26

Enjoy,

-The Apache Maven team

repository: khmarbaise/octopress

gha_language: Ruby

repo_name: khmarbaise/octopress