text:
# Request

### Fields

**person** - A reference to the person making the request as an ID.

**item** - A reference to the type of item being requested as an ID.

**quantity** - How many of the item the person is requesting.

**funds** - The amount of money (in dollars) that have been donated to this request.

**ordered** - How many of the items requested have been ordered by an admin.

**delivered** - How many of the items requested have been delivered and processed.

**complete** - A calculated boolean which is true if the funds are equal to the calculated
total price of the request.

**totalPrice** - The total amount needed (in dollars) to fulfill the entire request. References
the associated item's price.

**person** - The associated Person for this Request.

**item** - The associated Item for this Request.

### API interactions

`/api/requests` is the general endpoint for creating and reading Requests.

### Model interactions

Requests currently interact with the Item model through the `totalPrice` and `complete` fields, both
of which use `item.price` to calculate themselves.

gha_language: Kotlin


text:
[![Build Status](https://travis-ci.org/joushx/jQuery.EAN13.png?branch=master)](https://travis-ci.org/joushx/jQuery.EAN13)

# jQuery.EAN13.js
jQuery.EAN13.js is a lightweight library available as plain JavaScript and as jQuery plugin for the generation of EAN-13 barcodes.

## Usage

###Include Plugin###
Insert the following code into the `head` section of you page:

#### JavaScript

```html
<script type="text/javascript" src="jquery-ean13.min.js"></script>
```

#### jQuery

```html
<script type="text/javascript" src="ean13.min.js"></script>
```

Make sure to include this **after** the jQuery-library.

### Insert Canvas
At the place where you want to insert the barcode insert this code:

```html
<canvas id="ean" width="200" height="100">
	Your browser does not support canvas-elements.
</canvas>
```

You may change the dimensions of the element. The barcode will automatically be resized.

### Simple barcode
For printing the barcode without any further options use the following code.
If you don't provide a check digit (just a 12 digit code) it will be generated for you on the fly.

#### JavaScript

```javascript
var element = document.getElementById("ean");
new EAN13(element, "9002236311036");
```

#### jQuery
```javascript
$("#ean").EAN13("9002236311036");
```

## Options

The library provides some options and callback functions. To use them simply provide a option object as the second argument.

### Example

#### JavaScript

```javascript
var options = {
	number: false,
	prefix: false,
	onSuccess: function(){
	  alert("Heeeey!");
	}
}

new EAN13(document.getElementById("ean"), "9002236311036", options);
```

#### jQuery

```javascript
$("#ean").EAN13("9002236311036", {
	number: false,
	prefix: false
});
```

### List of options

identifier | type    | default value | description
-----------|---------|---------------|-------------
number		 | boolean | true          | If `true` the number is printed underneath the barcode to be readable for humans.
prefix		 | boolean | true          | If `true` the country prefix (to be precise the first digit of it) is printed at the left of the barcode.
color			 | string  | #000          | The color of the barcode. Accepts any CSS colors e.g. `#ff0000`, `green`, `rgb(0,0,0)` or `rgb(0,0,0,0.5)`.
background | string  | null          | The background color of the barcode. Accepts any CSS colors e.g. `#ff0000`, `green`, `rgb(0,0,0)` or `rgb(0,0,0,0.5)`. Default is null = transparent
debug			 | boolean | false				 | If `true` a pattern is drawn on the barcode to help identify the lines.
padding    | int     | 0             | Adds a padding arround the code (in pixel)

### List of callbacks

identifier         | description
-------------------|---------
onValid()		       | Fired if the checksum of the provided code is correct. Not used if a 12 digit code is provided.
onInvalid()        | Fired is the checksum is not correct. Not used if a 12 digit code is provided.
onSuccess(number)  | Fired at the end of the painting process and if no errors occurred. Gives the number (including generated or provided checksum) as parameter.
onError()          | Fired if the were any errors while painting. (For instance the canvas element is not present)

license: MIT

branch_name: refs/heads/master

extension: md

license_type: permissive


text:
# Reverse an Array
Code challenge 01 for JS 401

## Challenge
Take in an array and return that array in reverse order without using any built in JS methods

## Approach & Efficiency
I decided to use a for loop to accomplish this task because I feel it is the most efficient way I currently know of solving the problem.

## Solution
![Whiteboard Image](../assets/challenge01-whiteboard.jpg)

gha_language: JavaScript

gha_license_id: MIT


text:
---
layout: post
title:      "Comicbooks Galore!"
date:       2017-11-11 05:09:51 +0000
permalink:  comicbooks_galore
---

I started putting this project off due to the amount of time it took my to just setup my previous CLI project. After reviewing some of videos and previous labs, I began mimicing the inital setup that had been done for those.

As a continued to follow the videos and labs, I noticed that is was much easier to set up a Sinatra app compare to the CLI. Not sure if this was because I submitted the CLI to rubygems but Sinatra already seemed easier.

It seems like for me, the biggest hurdle for these projects is getting started. Once I get a good flow going, I can work for hours before I realize I should probably get something to eat to fuel my brain power.

Once I got the basics of the Sinatra app up, Gemfile, Rakefile and migrations, I was ready to move foward.

# The Idea
Once I had my basics setup, it was time to start thinking what my Sinatra app would actually do. I decided on comicbooks database as I was recently began reading the original Dragon Ball manga, I decided it was relevant to my current hobby.

It would make a pretty easy transition when setting up associations. I figured Authors could have many Comicbooks, and Comicbooks would belong to one Author.

# The Implmentation
Once I had my idea, I began setting up my database by creating my migration file via the rake command which makes everything much easier :)

I setup my tables and columns in the migration files and ran rake db:migrate to create the tables in my migration files. Finally I was ready to create my routes.

Setting up the routes in the my controller files came like second nature as I had recently done the previously labs which gave me really good practive of the RESTful routes that I used.

Lastly, I setup my erb files which I enchanced by add Bootstrap to my layout.erb file to give my app a bit more flair.

# Moving On
Setting up this project was a blast, I most likely spent way too much time playing around with the Bootstrap CSS to get my app nice and pretty, but it was worth it in the end. I learnt alot, ActiveRecord makes things so much easier and can't wait to foward to the next section.

extension: markdown


text:
# OriginInspectorDimensions

The unique combination of dimensions associated with this timeseries.

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**region** | **str** | The geographic region from which the edge responses in this data entry were delivered. If unspecified, results are aggregated across regions. | [optional]
**datacenter** | **str** | The POP from which the edge responses in this data entry were delivered. If unspecified, results are aggregated across POPs. | [optional]
**host** | **str** | The origin host from which the edge responses in this data entry were delivered. If unspecified, results are aggregated across origin hosts. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

repository: fastly/fastly-py

branch_name: refs/heads/main

gha_language: Python

repo_name: fastly/fastly-py


text:
(translating by runningwater)
UbuTricks 14.10.08
================================================================================
> An Ubuntu utility that allows you to install the latest versions of popular apps and games

UbuTricks is a freely distributed script written in Bash and designed from the ground up to help you install the latest version of the most acclaimed games and graphical applications on your Ubuntu Linux operating system, as well as on various other Ubuntu derivatives.

![](http://i1-linux.softpedia-static.com/screenshots/UbuTricks_1.png)

### What apps can I install with UbuTricks? ###

Currently, the latest versions of the Calibre, Fotoxx, Geary, GIMP, Google Earth, HexChat, jAlbum, Kdenlive, LibreOffice, PCManFM, Qmmp, QuiteRSS, QupZilla, Shutter, SMPlayer, Ubuntu Tweak, Wine and XBMC (Kodi), PlayOnLinux, Red Notebook, NeonView, Sunflower, Pale Moon, QupZilla Next, FrostWire and RSSOwl applications can be installed with UbuTricks.

### What games can I install with UbuTricks? ###

In addition, the latest versions of the 0 A.D., Battle for Wesnoth, Transmageddon, Unvanquished and VCMI (Heroes III Engine) games can be installed with the UbuTricks program. Users can also install the latest version of the Cinnamon and LXQt desktop environments.

### Getting started with UbuTricks ###

The program is distributed as a .sh file (shell script) that can be run from the command-line using the “sh ubutricks.sh” command (without quotes) or make it executable and double-click it from your Home folder or desktop. All you have to do is to select and app or game and click the OK button to install it.

### How does it work? ###

When accessed for the first time, the program will display a welcome screen from the get-to, notifying users about how it actually works. There are three methods to install an app or game, via PPA, DEB file or source tarball. Please note that apps and games will be automatically downloaded and installed.

### What distributions are supported? ###

Several versions of the Ubuntu Linux operating systems are supported, but if not specified, it will default to the current stable version, Ubuntu 14.04 LTS (Trusty Tahr). At the moment, the program will not work if you don’t have the gksu package installed on your Ubuntu box. It is based on Zenity, which should be installed too.

![](http://i1-linux.softpedia-static.com/screenshots/UbuTricks_2.jpg)

- last updated on:October 9th, 2014, 11:29 GMT
- price:FREE!
- developed by:Dan Craciun
- homepage:[www.tuxarena.com][1]
- license type:[GPL (GNU General Public License)][3]
- category:ROOT \ Desktop Environment \ Tools

### Download for UbuTricks: ###

- [ubutricks.sh][2]

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

via: http://linux.softpedia.com/get/Desktop-Environment/Tools/UbuTricks-103626.shtml

作者：[Marius Nestor][a]
译者：[runningwater](https://github.com/runningwater)
校对：[校对者ID](https://github.com/校对者ID)

本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译，[Linux中国](http://linux.cn/) 荣誉推出

[a]:http://www.softpedia.com/editors/browse/marius-nestor
[1]:http://www.tuxarena.com/apps/ubutricks/
[2]:http://www.tuxarena.com/intro/files/ubutricks.sh
[3]:http://www.gnu.org/licenses/gpl-2.0.html

repository: lovejavaee/TranslateProject

repo_name: lovejavaee/TranslateProject


text:
# AbstractNumbers

[![Build Status](https://travis-ci.org/SimonDanisch/AbstractNumbers.jl.svg?branch=master)](https://travis-ci.org/SimonDanisch/AbstractNumbers.jl)
[![codecov.io](http://codecov.io/github/SimonDanisch/AbstractNumbers.jl/coverage.svg?branch=master)](http://codecov.io/github/SimonDanisch/AbstractNumbers.jl?branch=master)

There are a lot of functions one needs to define on a custom number type to make it work just like a julia Base number.
Namely, around 160 functions, with quite a few methods.

With AbstractNumbers, this is all you need to start the life of a new, wonderful Number type:

```Julia
using AbstractNumbers, SpecialFunctions
using Base.Test

struct MyNumber{T} <: AbstractNumbers.AbstractNumber{T}
    number::T
end

Base.convert(::Type{Number}, x::MyNumber) = x.number
AbstractNumbers.basetype(::Type{<: MyNumber}) = MyNumber

```

Now, `MyNumber` will have all functions defined for it. :)
If you need some functions to behave differently, just overload those functions with your concrete type!

# Implementation

Right now, the overloads of the AbstractNumber types are generated with a script that prints out the expressions as string.
I purposefully decided against the usage of a macro for two reasons:

1) I got quickly annoyed by the stack traces and not being able to immediately see what's going on - which is much easier when having all functions written out

2) I need to dynamically extract some attributes from the functions before emitting methods for it. This needs some supervision and should just be done everytime Julia Base changes - so it shouldn't be part of a macro, hence I'm stuck with some kind of generator script anyways. Instead of mixing the macro approach with a generator approach, I just went full generator!


text:
---
layout: default
---

# 1996-09-26 - FLA_wed

## Header Data

From<EMAIL_ADDRESS>(John Young)

To<EMAIL_ADDRESS>Message Hash: d3a631b5819e33e8340382160b02decbf6bcbedf4854fa392b98f37ae0278203

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1996-09-26 15:09:53 UTC

Raw Date: Thu, 26 Sep 1996 23:09:53 +0800

## Raw message

```
{% raw  %}From<EMAIL_ADDRESS>(John Young)
Date: Thu, 26 Sep 1996 23:09:53 +0800
To<EMAIL_ADDRESS>Subject: FLA_wed
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

   9-26-96. NYP:

   "Potential Flaw In Cash Card Security Seen. Counterfeiting
   a Risk, Say Bellcore Scientists." Markoff.

      A potential security flaw has been discovered that might
      make it possible to counterfeit many types of the
      electronic-cash "smart cards" that are now widely used
      in Europe and are being tested in this country, reports
      a paper set to be released today.

      The Bellcore researchers said that a smart card's
      security could be breached by forcing the microchip in
      the card to make a calculation error, whether through
      sophisticated means like bombarding the card with
      radiation or perhaps cruder methods like placing it in
      a microwave oven. A mathematical formula they derived
      could use this error to extrapolate the secret data that
      authenticates the card when it is used.

   -----

   http://jya.com/flawed.txt  (6 kb)

   FLA_wed

{% endraw %}
```

## Thread

+ Return to [September 1996](/archive/1996/09)

+ Return to<EMAIL_ADDRESS>(John Young)](/authors/jya_at_pipeline_com_john_young_)"

+ 1996-09-26 (Thu, 26 Sep 1996 23:09:53 +0800) - FLA_wed -<EMAIL_ADDRESS>(John Young)_


text:
# docker-2048

[![Docker Repository on Quay](https://quay.io/repository/coryallegory/docker-2048/status "Docker Repository on Quay")](https://quay.io/repository/coryallegory/docker-2048)

A fork of [alexwhen's containerized version of 2048](https://github.com/alexwhen/docker-2048), but with multi-platform support (amd64 and arm64).

# run the docker container by pulling the image directly

    docker run -d -p 8080:80 quay.io/coryallegory/docker-2048

# Access the game

    http://<IP_ADDRESS>:8080

If you run docker with boot2docker on Mac or Windows, the URL should be:

    http://<IP_ADDRESS>:8080


text:
---
title: Custom Features
hide:
  # - navigation
  # - toc
---

!!! warning
    _Note: this page is now out of date, see updated functionality in the code ([WLED/usermods/EXAMPLE_v2](https://github.com/Aircoookie/WLED/tree/master/usermods/EXAMPLE_v2))_

This page is intended for those wishing to modify the WLED code to add their own functionality.

### Basics
Programming is done in the Arduino IDE. There is a special file, `usermod.cpp`, to write your own code.
(however, if you think your code may be relevant to many users, feel free to code it in directly and open a pull request)

This file has three empty methods:
- `userSetup()` is called after loading settings but before connecting to WiFi.
Use it to start own interfaces if it does not depend on WiFi (IR, Sensors, GPIOs,...).
Also you can use it to load custom settings or to specify own server pages with the `server.on()` method.
- `userConnected()` is called once WiFi is connected. Use it to connect to external servers or init interfaces using wiFi.
- `userLoop()` is called by the main `loop()` function.

### Modify WLED values
If you know what you're doing, you may choose to change the value of any global variable declared in `wled.h`.
However, for basic color and brightness changes, these are the most important:

Variable Name | Type | Purpose
--- | --- | ---
bri | byte (0-255) | Master Brightness (0 is off, 255 is maximum)
col[0] | byte (0-255) | Red color value
col[1] | byte (0-255) | Green color value
col[2] | byte (0-255) | Blue color value
col[3] | byte (0-255) | White color value

After updating the color, you must call the `colorUpdated(int)` method. If you want to send a notification with the new color to other ESPs, use `colorUpdated(NOTIFIER_CALL_MODE_DIRECT_CHANGE)`, otherwise `colorUpdated(NOTIFIER_CALL_MODE_NO_NOTIFY)`.

### Timing

If you'd just like a simple modification that requires timing (like sending a request every 2 seconds), please **never** use the `delay()` function in your `userLoop()`! It will block everything else and WLED will become unresponsive and effects won't work! Instead, try this instead:
```cpp
long lastTime = 0;
int delayMs = 2000; //we want to do something every 2 seconds

void userLoop()
{
  if (millis()-lastTime > delayMs)
  {
    lastTime = millis();
    //do something you want to do every 2 seconds
  }
}
```

### Internal Segments API

You can use Segments from your code to set different parts of the strip to different colors or effects.
This can be very useful for highly customized installations, clocks, ...

To set a segment, use `strip.setSegment(id, start, stop);`, where _id_ is the segment ID, _start_ is the first LED of the segment and _stop_ is the LED after the last one in the segment.

To edit the configuration of a segment, use:
```cpp
WS2812FX::Segment& seg = strip.getSegment(id);
//set color (i=0 is primary, i=1 secondary i=2 tertiary)
seg.colors[i] = ((myWhite << 24) | ((myRed&0xFF) << 16) | ((myGreen&0xFF) << 8) | ((myBlue&0xFF)));
//set effect config
seg.mode = myFxI;
seg.speed = mySpeed;
seg.intensity = myIntensity;
seg.palette = myPaletteId;
```
Keep in mind that this will not cause interface updates as of 0.8.6. For that, you still need to use `colorUpdated(NOTIFIER_CALL_MODE_DIRECT_CHANGE)`

### Create custom effects

It is possible to create your own effects and add them to the FX library.
The relevant files for that are `FX.cpp` and `FX.h`.

Here is a step-by-step guide on how to make your effect:

1. Take a look at some of the effects in `FX.cpp` to see how they are implemented!

2. Add your own routine in FX.cpp starting with: `uint16_t WS2812FX::mode_custom`

3. Add to total number of effects in FX.h line 110: `#define MODE_COUNT`

4. Add your mode number (ie` #define FX_MODE_CUSTOM                   110`) in FX.h around line 200.

5. Add your mode around line 400 of FX.h, like so:
`      _mode[FX_MODE_CUSTOM]                    = &WS2812FX::mode_custom;`

6. Add it to the functions in FX.h around line 600:`       mode_custom(void),`

7. Give it a name at the bottom (10 modes per line) in `JSON_mode_names[]`. Wrap your name in quotes just like the others.

8. Compile, upload and enjoy!  Your new effect will automatically be added to the list in the web ui.

If you programmed a nice effect you want to share, submit a pull request!

### Changing Web UI

In order to conserve space, the Web UI interface is represented as a series of wled00/html_ui.h, wled00/html_settings.h and wled00/html_other.h files which contain C/C++ strings with specific parts of the Web UI.

These files are automatically created from source files available in wled00/data folder. To generate files, install [NodeJS 11.0+](https://nodejs.org/en/download/) globally. After that, recreate `html_*.h` files by running in the repo directory:
```
> npm install
> npm run build
```

If you want to test changes to the UI, it is easiest to work with the local `wled00/data/index.htm` file. You just need to enter the IP address of a WLED 0.10.0 or newer instance into the popup. If you accidentally input an incorrect IP or want to test with a different instance, clear the local storage (in Chrome: Developer Tools -> Application -> Local Storage)

If you continuously modify files in the wled00/data directory, you want to monitor these changes to make local html_*.h files being updated automatically. To do this, run this in repo directory:
```
> npm run dev
```
This will start monitoring wled00/data folder for changes.

**WARNING!!** Be careful with changing the javascript in HTML files! For example `function GetV() {}` must be the last javascript function in the `<script>` element as it will be replaced by automatically generated code to fetch relevant settings from EEPROM. See `tools/cdata.js` for the replacement rules which run for every *.htm file in `wled00/data`.

Recompile and flash WLED!


text:
# React Quick Start

Handmade boilerplate for quickly firing a React JS project.

## Features
* Compiles SASS to CSS
* Compress all assets
* Supports all SVG, PNG, JPG, TTF, WOFF and WOFF2 formats.

## Installation

1. Just clone this project in to a ```new-folder```

```
git clone https://github.com/sivadass/react-quickstart.git new-folder
```

2. Now get inside the ```new-folder```
```
cd new-folder
```

3. Fireup webpack dev server by
```
webpack-dev-server
```
  or
```
npm run start:dev
```
4. For production build
```
webpack -p
```

repository: sydmeeran/react-quickstart

repo_name: sydmeeran/react-quickstart


text:
# Lateral thinking

https://en.wikipedia.org/wiki/Lateral_thinking

*Lateral thinking* is a manner of solving problems using an indirect and creative approach via reasoning that is not immediately obvious. It involves ideas that may not be obtainable using only traditional step-by-step logic.

The term was first used in 1967 by Maltese psychologist `Edward de Bono` in his book "The Use of Lateral Thinking". De Bono cites the "Judgment of Solomon" as an example of lateral thinking, where King Solomon resolves a dispute over the parentage of a child by calling for the child to be cut in half, and making his judgment according to the reactions that this order receives.

Edward de Bono also links lateral thinking with humour, arguing it entails a switch-over from a familiar pattern to a new, unexpected one. It is this moment of surprise, generating laughter and new insight, which facilitates the ability to see a different thought pattern which initially was not obvious.

According to de Bono, lateral thinking deliberately distances itself from the standard perception of creativity as "vertical" logic, the classic method for problem solving.

Critics have characterized lateral thinking as a pseudo-scientific concept, arguing de Bono's core ideas have never been rigorously tested or corroborated.

license: Unlicense


text:
---
id: 130
title: 'Download 18+ Scary Movie 2 (2001) {Hindi-English} 480p [300MB] || 720p [700MB] || 1080p [1.4GB]'
date: 2020-10-24T13:41:18+00:00
author: admin
layout: post
guid: https://themoviesflix.co/?p=14001
permalink: /2020/10/24/download-18-scary-movie-2-2001-hindi-english-480p-300mb-720p-700mb-1080p-1-4gb/
tdc_dirty_content:
  - "1"
tdc_icon_fonts:
  - 'a:0:{}'
cyberseo_rss_source:
  - https://themoviesflix.co/feed/?paged=11
cyberseo_post_link:
  - https://themoviesflix.co/download-scary-movie-2-2001-hindi-english-480p-720p-1080p/
categories:
  - Uncategorized
---
✅ Download Scary Movie 2 Movie (2001) Dual Audio (Hindi-English) 720p & 480p & 1080p .This is a dual audio movie and available in 720p & 480p qualities. This is the 2nd part of the **Scary Movie Series.**

**TheMoviesFlix.co** is The Best Website/Platform For Hollywood HD Movies. We Provide Direct Google Drive Download Links For Fast And Secure Downloading. Just Click On Download Button _And Follow Steps To Download And Watch Movies Online For Free._

    <img class="imdbwp__img"<EMAIL_ADDRESS>/>

      Scary Movie 2 (2001)

      5.3Rating: 5.3 / 10 from 147,801 users

      Four teens are tricked by Professor Oldman (Tim Curry) into visiting a haunted house for a school project.

### Download Scary Movie 2 (2001) Dual Audio (Hindi-English) 720p ~ ****TheMoviesFlix.co {.has-text-align-center.has-text-color}

### Movie Info:  {.has-text-color}

  * **Full Name:** Scary Movie 2
  * **Language:** Dual Audio (Hindi-English)
  * **Release Year: **2001
  * **Size:** 300MB & 700MB & 1.4GB
  * **Quality:** 480p & 720p & 1080p Bluray
  * **Format:** Mkv

### Storyline: {.has-text-color}

A group of teens including Cindy Campbell and Brenda Meeks are invited to spend a night in Hell House. Professor Oldman has convinced them it is for a school project, but the night won’t go past quietly.

 When things really start getting bad, the gang must work together to find a way to capture this ghostly menace.

Four teens are tricked by their professor into visiting a haunted house for a school project.

###  ScreenShots: {.has-text-color}

  Download Scary Movie 2 (2001) {Hindi-English} 480p [300MB]

Download Links

  Download Scary Movie 2 (2001) {Hindi-English} 720p [700MB]

Download Links

  Download Scary Movie 2 (2001) {Hindi-English} 1080p [1.4GB]

Download Links

  <button class="button button5">Join Our Telegram</button> <button class="button button5">Announcements</button> <button class="button button5">How To Download?</button> <button class="button button5">Report Broken Links</button>

  Please Do Not Use VPN for Downloading Movies From Our Site.

  Click On The Above Download Button Download File.

  If You Find Any Broken Link Then Report To Us.

  Comment Your Queries And Requests Below In The Comment Box.


text:
---
id: apis/PermissionsAndroid
title: PermissionsAndroid
wip: true
---

```reason
module Permission: {
  type t;

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external readCalendar: t = "READ_CALENDAR";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external writeCalendar: t = "WRITE_CALENDAR";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external camera: t = "CAMERA";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external readContacts: t = "READ_CONTACTS";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external writeContacts: t = "WRITE_CONTACTS";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external getAccounts: t = "GET_ACCOUNTS";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external accessFineLocation: t = "ACCESS_FINE_LOCATION";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external accessCoarseLocation: t = "ACCESS_COARSE_LOCATION";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external recordAudio: t = "RECORD_AUDIO";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external readPhoneState: t = "READ_PHONE_STATE";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external callPhone: t = "CALL_PHONE";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external readCallLog: t = "READ_CALL_LOG";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external writeCallLog: t = "WRITE_CALL_LOG";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external addVoicemail: t = "ADD_VOICEMAIL";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external useSip: t = "USE_SIP";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external processOutgoingCalls: t = "PROCESS_OUTGOING_CALLS";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external bodySensors: t = "BODY_SENSORS";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external sendSms: t = "SEND_SMS";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external receiveSms: t = "RECEIVE_SMS";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external readSms: t = "READ_SMS";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external receiveWapPush: t = "RECEIVE_WAP_PUSH";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external receiveMms: t = "RECEIVE_MMS";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external readExternalStorage: t = "READ_EXTERNAL_STORAGE";

<EMAIL_ADDRESS>"react-native"]
<EMAIL_ADDRESS>("PermissionsAndroid", "PERMISSIONS")]
  external writeExternalStorage: t = "WRITE_EXTERNAL_STORAGE";
};

module Result: {
  type t;

<EMAIL_ADDRESS>"react-native"]<EMAIL_ADDRESS>("PermissionsAndroid", "RESULTS")]
  external granted: t = "GRANTED";

<EMAIL_ADDRESS>"react-native"]<EMAIL_ADDRESS>("PermissionsAndroid", "RESULTS")]
  external denied: t = "DENIED";

<EMAIL_ADDRESS>"react-native"]<EMAIL_ADDRESS>("PermissionsAndroid", "RESULTS")]
  external neverAskAgain: t = "NEVER_ASK_AGAIN";
};

type rationale;
<EMAIL_ADDRESS>external rationale:
  (
    ~title: string,
    ~message: string,
    ~buttonPositive: string,
    ~buttonNegative: string=?,
    ~buttonNeutral: string=?,
    unit
  ) =>
  rationale =
  "";

type dict;

<EMAIL_ADDRESS>"PermissionsAndroid"]<EMAIL_ADDRESS>"react-native"]
external check: Permission.t => Js.Promise.t(bool) = "check";

// multiple externals
<EMAIL_ADDRESS>"PermissionsAndroid"]<EMAIL_ADDRESS>"react-native"]
external request: Permission.t => Js.Promise.t(Result.t) = "";

// multiple externals
<EMAIL_ADDRESS>"PermissionsAndroid"]<EMAIL_ADDRESS>"react-native"]
external requestWithRationale:
  (Permission.t, rationale) => Js.Promise.t(Result.t) =
  "request";

<EMAIL_ADDRESS>"PermissionsAndroid"]<EMAIL_ADDRESS>"react-native"]
external requestMultiple: array(Permission.t) => Js.Promise.t(dict) = "";

<EMAIL_ADDRESS>external get: (dict, Permission.t) => option(Result.t) = "";

```

repository: teatimegames/reason-react-native

repo_name: teatimegames/reason-react-native


text:
# number-game
Socket.io server app that manages event handling for multi player number guessing game

The number game server starts a name when two players enter the same room. The game generates a random number between 1-25 and prompts the players to guess the number. The game emits to them a ```"start-game"``` event that prompts the player to send a guess back to the program. The game then validates the user input, and resends a request to the player if invalid input was received. The player gets 3 opportunities to send valid input back to the game before the game evaluates the winner. The winner will be the player that guesses a number closest to the value. If a player fails to submit valid input they automatically lose. If neither player submits valid inputs within 3 tries, they both lose.

**Client Apps**

**[Players](./player)**

## Author: Anne Thorsteinson & Clement Buchanen

**[Tests](https://github.com/AnneThor/number-game/actions)**

## Setup

```.env``` requirements:

- ```PORT```
- ```MAX_NO```: can be adjusted upwards to make the game more difficult, default value is 25

## Running the App

- ```npm start```: this will run the app in the console, game play is accessed through the players' terminals

### Overview game logic/control flow

1. Players are automatically assigned to rooms when they connect
2. When 2 players are in a room a game automatically starts
3. Game creates a random number and emits a ```guess-number``` event to the room sockets with a payload containing text saying "Guess the number: "
4. Game listens for "guess" events and uses internal logic to guarantee they are valid inputs (i.e. must be numbers in range)
5. If invalid input is received, game will re prompt for a new guess up to 3x per user
6. When valid inputs are received from each user the game will evaluate the results and broadcast the winner to the room

### Endpoints:

The app runs from the ```/number-game``` namespace

## Tests

- Unit Tests: ```npm run test``` testing is complete for listener functions
- Lint Tests: ```npm run lint```

## UML Diagram

![UML Diagram](./assets/numbersGame.png)

repository: AnneThor/number-game

repo_name: AnneThor/number-game


text:
---
layout: post
date:	2009-08-13 06:51:00
title:  Intelligent Conversation
tags: [archived-posts]
categories: archives
permalink: /:categories/:year/:month/:day/:title/
---
Through the day, I am generally alone with The Biddles, as we call GD. Conversation is, of course, of a high intellectual standard. She and I discuss disestablishmentarianism, and go from aardvarks to zygotes...she was one of the latter recently, so she has a lot to say about it.

But this leaves me weary and rather over-stimulated, and I look forward to DnA's return home. Ah, I think to myself, how nice it will be to have everyday, simple conversation...what did you do at work? What's happening in the outside world?

So then, A comes back and indulges in the following very meaningful monologue:

<lj-embed id="97"/>

You can hear me complaining that even poor GD is not getting a chance to get a word in edgeways!

So...conversational IQ levels go down sharply, along with the sun, these days...


text:
Run example:

```
$ screen -dmS gwas_up bash run_all_chrs.sh up middle bottom
```

Others are test scripts.
Current setup run on 6 inner lists at a time.
There were errors on memory when injecting 17 lists all at once.
See this [thread](https://hail.zulipchat.com/#narrow/stream/128581-Cloud-support/topic/getting.20Index.20reader.20cache.20hit.20rate.20message/near/183652217) for more information.

 For more information on the computing resource setup for UKB data, see this [thread](https://hail.zulipchat.com/#narrow/stream/128581-Cloud-support/topic/cluster.20config.20for.20UKB.20GWAS/near/179199054).

Regarding the subsets and phenotype table, I archived the one uploaded to GCP in `nucleus`: `/vol/bmd/yanyul/UKB/output-archived-for-ukb-run-on-121719.tar.gz` for a backup copy.

**Post-formatting** is done on washington.

```
$ screen -dmS convert bash post_run_formatting.screen
```

repository: liangyy/ptrs-ukb

repo_name: liangyy/ptrs-ukb


text:
# Fusarium orthoceras var. pisi Linford, 1928 VARIETY

#### Status
SYNONYM

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

#### Published in
Res. Bull. agric. Exp. Stn Univ. Wis. 85: 11 (1928)

#### Original name
Fusarium orthoceras var. pisi Linford, 1928

### Remarks
null

repository: mdoering/backbone

path: /life/Fungi/Ascomycota/Sordariomycetes/Hypocreales/Nectriaceae/Fusarium/Fusarium oxysporum/ Syn. Fusarium orthoceras pisi/README.md

repo_name: mdoering/backbone


text:
---
layout: default
---

# 1994-05-27 - REMAILER at desert.hacktic.nl at CLOSING DOWN AT JUNE 1st

## Header Data

From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Message Hash: 25f8d06cf7948eb0179f9743615708d88b1033cf9634ee22cf181af712042f99

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1994-05-27 18:24:30 UTC

Raw Date: Fri, 27 May 94 11:24:30 PDT

## Raw message

```
{% raw  %}From<EMAIL_ADDRESS>Date: Fri, 27 May 94 11:24:30 PDT
To<EMAIL_ADDRESS>Subject: REMAILER at desert.hacktic.nl at CLOSING DOWN AT JUNE 1st
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

    THE REMAILER AT DESERT.HACKTIC.NL CLOSES DOWN JUNE 1ST 1994

    The remailer at desert.hacktic.nl will close down due to my
    departure to Spain for the summer.

    Please use the remailer<EMAIL_ADDRESS>or
<EMAIL_ADDRESS>
    Mail to the remailer received after June 10 will bounce.

    Patrick

{% endraw %}
```

## Thread

+ Return to [May 1994](/archive/1994/05)

+ Return to "[kafka@desert.hacktic.nl](/authors/kafka_at_desert_hacktic_nl)"

+ 1994-05-27 (Fri, 27 May 94 11:24:30 PDT) - REMAILER at desert.hacktic.nl at CLOSING DOWN AT JUNE 1st -<EMAIL_ADDRESS>


text:
## 6.0.1

- Fix deprecated use of quoted resource in `depends_on`.

## 6.0.0

- Add support for Terraform 0.12.
- Update the default for `bastion_instance_type` to `t3.nano`.
- Add a `tags` variable.
- Add continuous integration support via CircleCI.

## 5.0.1

- `element()` -> `listvar[idx]`

## 5.0.0

- Remove `external_access_cidr_block` variable. See the README for a guide on
  how to configure security groups for the bastion.
- Add `bastion_ebs_optimized` variable.

## 4.0.0

- Make use of standalone `aws_network_interface_sg_attachment` vs. the
  `vpc_security_group_ids` attribute of the `aws_instance` resource.
- Add output for `bastion_network_interface_id`, which is the ID of the primary
  network interface for the bastion instance.

## 3.1.1

- Make use of standalone `aws_route` vs. the `route` attributes of the
  `aws_route_table` resource.

## 3.1.0

- Add output for `nat_gateway_ips`, which are the Elastic IPs bound to NAT
  Gateways.

## 3.0.0

- Add support for Terraform 0.7.
- Convert comma-delimited variables with lists types.

## 2.0.1

- 2.0.0 release was botched; includes contents of that release.

## 2.0.0

- Remove security group rules from bastion security group.
- Add module attributes for `project` and `environment`.
- Remove `create_before_destroy` lifecycle resources from subnets.

## 1.1.0

- Associate route tables for private subnets to S3 VPC endpoint.

## 1.0.0

- Use the `aws_security_group_rule` resource to define security group rules
  internally.
- Output the `bastion_security_group_id`.

## 0.4.0

- Replace manual NAT setup for VPC with AWS managed NAT Gateways.

## 0.3.0

- Output `nat_security_group_id` so additional rules can be created
- Add `nat_egress_ports` parameter to set up NAT instance egress ports

## 0.2.0

- Add `create_before_destroy` behavior to VPC subnets.

## 0.1.1

- Remove hardcoded security group identifiers and let Terraform assign unique
  names.

## 0.1.0

- Initial release.

repository: azavea/terraform-aws-vpc

branch_name: refs/heads/develop

gha_language: HCL

repo_name: azavea/terraform-aws-vpc


text:
# Training Recipes for Reproducible Machine Learning Models

> Technical documentation guidelines to improve the reproduciblity of machine learning models.

Did you build a machine learning model and want to make sure you're not the only one who knows how to train it? This repository contains guidelines for how to write technical documentation that makes it easier for others to reproduce the results of your model.

## Table of Contents
- [Background](#background)
- [Usage](#usage)
 - [Data](#data)
 - [Training](#training)
- [Contribute](#contribute)
- [License](#license)

## Background

Reproducing the results of a machine learning model is notoriously difficult. This is particularly true in the deep learning community, where high-dimensional, over-parameterized non-convex optimization problems require multiple heuristics to converge to local minima with good performance. Hence, if the optimization or source of training data are not properly documented, it can take considerable experimentation to achieve the expected results.

 We propose the training recipe, a technical document whose aim is to provide sufficient information for a researcher to train a model and achieve a target performance without requiring any external help. We recommend to write training recipes for models that are deployed to production, models that are published, or models that reproduce results from academic papers. As we are well aware that writing technical documentation can be cumbersome, we provide simple guidelines that make it possible to produce the recipe in a timely fashion. We recommend to write the recipe as a markdown document and to review it with a Github pull request.

## Usage

Here are the components of the training recipe:
- Data
  - Raw Data
  - Data Processing Methods
- Training
  - Optimization Methods
  - Performance Metrics
- Inference

The next section will provide a checklist of critical items for each of these and will explain the rationale for their importance.

### Data

#### Raw Data

**Description**

Describe the data, labels, as well as additional available meta-data. It is important to understand the data schema when adding new data samples. Furthermore, while developing machine learning models one may identify biases or peculiar behaviors that can be caused by how the training data was generated. Information about its source makes it possible to verify hypotheses and make necessary adjustments.

**Path**

Provide information about how to access the raw data, e.g. a website, a set of Hive tables, an Hadoop Distributed File System (HDFS) or S3 URI, etc... Make sure that you respect the data governance if access is restricted.

#### Data Processing Methods

**Description**

Describe the data processing pipeline. The raw dataset is often in a format that is not appropriate for running the model training script directly. Here are some examples of common data processing methods:

* The data is image URLs and images are downloaded.
* The data and labels are contained in separate Hive tables which are joined.
* The data is split into training, validation, and test sets. As performance is evaluated on the test set and is the ultimate metric to determine reproducibility, it is critical to have detailed information on how to build the test set.
* The class distribution is highly skewed and the dataset is balanced in order for the classifier to better learn the rare classes.
* For natural language data a dictionary of fixed size is computed and words are mapped to indices.

**Code**

Provide the code and instructions to run the data processing script. Include the git commit SHA-1 hash.

**Path**

Include a link to the processed data. It makes it possible to train the model without running the preprocessing scripts which may take a long time. Note that data governance such as GDPR may not allow to keep a cache of the processed data and therefore the dataset should be reprocessed whenever we train a new model. Make sure that you respect the data governance if you can provide a link and access is restricted.

### Training

#### Optimization Methods

**Description**

Describe the model architecture and the loss function.

**Code**

Provide the code and instructions to run the training script. Include the git commit SHA-1 hash.

**Hyperparameters**

Provide details about the optimization hyperparameters, such as

* Batch size
* Number of GPUs
* Optimizer information and learning rate schedule, e.g. stochastic gradient descent, momentum, Adam, RMSProp, etc...
* Location of the pre-trained model (if the model is fine-tuned)
* Data augmentation methods

**Dynamics**
Describe the training dynamics, such as the total training time, the evolution of the loss function on the training and validation sets, or the evolution of other relevant metrics such as accuracy. As training a model to completion may take several days, the dynamics provide a way to get earlier feedback about whether we are "on track" to reproduce performance.

**Outputs**

Provide a link to the trained model, e.g. URL, HDFS or S3 URI, etc...

#### Performance metrics

**Target metrics**
Provide target metrics, such as top-K accuracy, mean average precision, BLEU score, etc...

**Code**

Provide the code and instructions to run the evaluation script. Include the git commit SHA-1 hash.

#### Inference

**Code**

Provide an example of how to run the model on a new data sample. This demonstrates how to combine the data processing steps and model inference, which is helpful for model deployment. It also makes it possible to explore the model's predictions interactively and get insight into its performance beyond the metrics provided above. We recommend using Jupyter Notebooks to show examples on how to run the inference.

**Timing information**

Provide timing information along with relevant details such as the hardware (e.g. NVIDIA Tesla V100, Intel Core i7, ...), batch size, software version, etc... Having access to these numbers makes it easier to plan for capacity and discuss product integrations.

**Serialization**

Provide the code and instructions to serialize the model. Include the git commit SHA-1. Note that this is only required for models that are deployed to production in a format that differs from the output of the training script, e.g. ONNX, TFLite.

#### Miscellaneous

This section contains additional relevant information such as academic papers, experimental journal and notes detailing the experiments performed to reach the best performance, list of action items to improve the model, the code, etc...

## Example

Please refer to the training [recipe](recipe_resnet50_imagenet.md) for an example of how to train a ResNet-50 model on ImageNet.

## Contribute

Please refer to [the contributing.md file](Contributing.md) for information about how to get involved. We welcome issues, questions, and pull requests. Pull Requests are welcome.

## Maintainers
Pierre Garrigues<EMAIL_ADDRESS>
## License

This project is licensed under the terms of the [MIT](LICENSE-MIT) open source license.

repository: yahoo/ml-reproducibility-guidelines

repo_name: yahoo/ml-reproducibility-guidelines


text:
# [Acast](https://play.acast.com)

Acast Provider

## Implementation Details

- Provider
Name: Acast
- Documentation: NONE
- HTTPS support: YES
- Fake Response: NO
- Oembed Params: maxwidth , maxheight
- Supported Hosts: play.acast.com
- Responsive response: YES
- Collections: DefaultProviderCollection

repository: mpratt/Embera

gha_language: PHP

repo_name: mpratt/Embera


text:
## Support widgets in OSPRay

VTK now supports interactive rendering of most common widgets when rendering with the OSPRay
backend. Some examples of widgets:

![TestOSPRayBoxWidget2](TestOSPRayBoxWidget2.png)
![TestOSPRaySplineWidget2](TestOSPRaySplineWidget2.png)
![TestOSPRayImplicitPlaneWidget2](TestOSPRayImplicitPlaneWidget2.png)
![TestOSPRayPointHandleRepresentation3D](TestOSPRayPointHandleRepresentation3D.png)

repository: QuanPengWang/VTK

gha_license_id: NOASSERTION

repo_name: QuanPengWang/VTK


text:
# Eat-Da-Burger
[![GitHub license](https://img.shields.io/github/license/jdavidrice/burger)](https://github.com/jdavidrice/burger/blob/master/LICENSE)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/21be935f62a64535871bb70d02f946e4)](https://www.codacy.com/gh/jdavidrice/burger/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jdavidrice/burger&utm_campaign=Badge_Grade)

## Description

This is a "burger logger"  app (called "Eat-Da-Burger!") that is made with MySQL, Node, Express, Handlebars and a homemade ORM.
*   Eat-Da-Burger! is a restaurant app that lets users input the names of burgers they'd like to eat.
*   Whenever a user submits a burger's name, the app will display the burger on the left side of the page -- waiting to be devoured.
*   Each burger in the waiting area also has a `Devour it!` button. When the user clicks it, the burger will move to the right side of the page.
*   This app will store every burger in a database, whether devoured or not.

**Project Dependencies**

*  express: ^4.17.1
*  express-handlebars: ^5.2.0
*  express-session: ^1.17.1
*  mysql: ^2.18.1
*  nodemon: ^2.0.7
*  passport: ^0.4.1
*  passport-local: ^1.0.0
*  watch: ^1.0.2

[Link to Deployed App](https://warm-sea-12669.herokuapp.com/)

## Table of Contents

*   [Description](#Description)
*   [Installation](#Installation)
*   [Usage](#Usage)
*   [Questions](#Questions)
*   [License](#License)
*   [Contributing](#Contributing)
*   [Tests](#Tests)

![Sample Picture of App](public/assets/images/burger_app.png)
## Installation

 There is nothing to install to use this web app.

*   [Return to Top](#Eat-Da-Burger)

## Usage
Use the "Add Burger" button to add a new burger to either the "Not Devoured" list or the "Devoured" list. Click on the "Devour It" button to move a burger to the "Devoured" list, and vice-versa. Click on the "Trash It" button to remove a burger from the app.

*   [Return to Top](#Eat-Da-Burger)

## Questions

Please contact me at the email address listed below with any questions about this app.

[jdavidrice<EMAIL_ADDRESS>
[GitHub Profile](https://github.com/jdavidrice)

[Portfolio](https://jeremyrice.gatsbyjs.io/)

*   [Return to Top](#Eat-Da-Burger)

## License

MIT License

Copyright (c) 2021 Jeremy Rice

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

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

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

*   [Return to Top](#Eat-Da-Burger)

## Contributing

  [Jeremy Rice](https://www.buymeacoffee.com/jdavidrice)

  Thank you to [George Park](https://www.georgewpark.com/) for his [Flickering Neon Sign Effect](https://codepen.io/GeorgePark/pen/MrjbEr).

*   [Return to Top](#Eat-Da-Burger)

## Tests

No tests

*   [Return to Top](#Eat-Da-Burger)

repository: jdavidrice/burger

repo_name: jdavidrice/burger


text:
# edo
(personally) opinionated env setup and task runner

## Usage
to run the script, make sure that all script files have the correct permissions by running `chmod 755` on them:
```
chmod 755 edo
chmod 755 scripts/*.sh
```

### Features
`edo -h` displays all tasks that can be run

#### New Project, `-n`
uses `yarn` and `create-react-app` to create a typescript app, then updates some of the files and file structures with templates. Initializes a `git` repository and adds a `.travis.yml` with configuration to push to an s3 bucket

repository: fongelias/edo

repo_name: fongelias/edo


text:
---
layout: default
---

# 1996-06-29 - Re: nym.alias.net

## Header Data

From<EMAIL_ADDRESS>(Anonymous)

To<EMAIL_ADDRESS>Message Hash: 769c3a32458d85c2d167d53a80bc27019f221a165eb8d93ef62dd297a7a662e8

Message ID<EMAIL_ADDRESS>Reply To<EMAIL_ADDRESS>UTC Datetime: 1996-06-29 23:30:13 UTC

Raw Date: Sun, 30 Jun 1996 07:30:13 +0800

## Raw message

```
{% raw  %}From<EMAIL_ADDRESS>(Anonymous)
Date: Sun, 30 Jun 1996 07:30:13 +0800
To<EMAIL_ADDRESS>Subject: Re: nym.alias.net
In-Reply-To<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

On Fri, 28 Jun 1996, Anonymous wrote:

> I would appreciate any information members may have regarding the
> security/safety of the new nym server nym.alias.net (in "alpha" state)
> who posted here about 3 weeks ago. Nym.alias.net reportedly is the same
> machine as anon.lcs.mit.edu.
>
> Specifically, is the individual running the nym _known_ to cypherpunks,
> or is this an unknown about whom I should have serious doubts. The admin
> states that nym.alias.net is the same machine as anon.lcs.mit.edu.
>
> Any information or insight regarding the wisdom of using ths nym would
> be welcome.
>
> Information concerning the nym I obtained by sending a message to
><EMAIL_ADDRESS>the administrator can be reached at
><EMAIL_ADDRESS>

Yes, nym.alias.net is anon.lcs.mit.edu.  As for whether the operator is
trust-worthy, this is really a pointless question. With a properly
implemented nym, the NSA themselves could be the host of your nym, and
they still couldn't connect your nym to your true email address.

All that is required is that at least ONE of the remailers in your reply
chain be trustworthy.

The nym server stores only a list of nym's and the associated
reply-blocks. Your reply block should have an absolute minimum of 2 hops,
and each hop should be seperately encrypted with the key of the
particular remailer. In this manner, even a corrupt nymserver would only
be able to discern that a particular nym was using remailer X as its
first hop. The eventual destination would be encrypted with the other
remailer's key.  In order to compromise your nym, an attacker would need
to compromise not only the nym server, but also all of the other
remailers in your chain.

Persons sending mail to your nym should also use a chain of remailer's,
if you are concerned that the nym server is interested in who is sending
mail to which nym.

It may be helpful to have a seperate public/private PGP keypair for your
nym, which is available for those wishing to send mail to your nym.
Encrypting all trafic across the nymserver would protect the contents
from eavesdropping, even if the nymserver has been compromised.

Ciao..

{% endraw %}
```

## Thread

+ Return to [June 1996](/archive/1996/06)

+ Return to<EMAIL_ADDRESS>(Anonymous)](/authors/ncognito_at_rigel_cyberpass_net_anonymous_)"
+ Return to<EMAIL_ADDRESS>(Anonymous)](/authors/nobody_at_flame_alias_net_anonymous_)"

+ 1996-06-29 (Sat, 29 Jun 1996 10:12:13 +0800) - [No Subject](/archive/1996/06/7fa05bd3c6f85472438a8b8fe9c60eb894abd87e7b8093f7e1d429547e5d3120) -<EMAIL_ADDRESS>(Anonymous)_
  + 1996-06-29 (Sun, 30 Jun 1996 07:30:13 +0800) - Re: nym.alias.net -<EMAIL_ADDRESS>(Anonymous)_


text:
# Pico-8

https://github.com/aquova/pico8

https://lexaloffle.com/bbs/?uid=27259

[![Made With PICO-8](https://img.shields.io/badge/Made%20With-PICO--8-ff004d.svg?style=flat&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAlUlEQVQ4jWP8v5gBFTxOR%2BVXPfuPwp8SxIjCt%2BBG4TIxUBkMfgNZGIyi0IRmoobZxxeo0rcPocp%2FEEEJ08HvZaobyPj%2FjTpqmLAeJM2EtgMo3MHvZeqnw9X%2FXVHSUdhnP5Qw%2Fc%2B7CUVDS%2BsWFH6QpuyIT4cMT8xQBJI%2B1aHwj1%2F3RgnTVJbrKGH29egxFPWD38tUNxAAun4liexlTtMAAAAASUVORK5CYII%3D)](https://www.lexaloffle.com/pico-8.php)

# A collection of my Pico-8 games

[Pico-8](https://www.lexaloffle.com/pico-8.php) is a "fantasy video game console", that is to say, a video game console that never existed. Despite never existing, you can make games for it, and here are a selection of what I think are my more noteworthy attempts!

## Game Selection
- Bongo Cat
    - A small animation demo made back when the Bongo Cat meme was all the rage
- Doodles
    - A collection of small doodles too minor to warrant their own folder
- Final Fantasy Prelude
    - A composition of the title theme from the *Final Fantasy* series
- Game of Life
    - Conway's Game of Life done in Pico-8, complete with editor
- Huck Dunt
    - A demake of Duck Hunt done to fit in the length of two tweets (480 characters)
- Icosahedron
    - An early attempt of mine to learn 3D graphic theory
    - Also includes an attempt to make the N64 logo in my terrible, terrible 3D engine.
- Piconian
    - My first game! A demake of the arcade game *Bosconian*
- Rally-8
    - An unfinished demake of the arcade game *Rally-X*. Playable, but not polished.
- Raycaster
    - A "3D" demo made in the style of *Wolfenstein 3D*.
- Simon Says
    - A Simon Says clone made for another Tweet Jam.
- Snowman
    - A snowman themed puzzle game made while avoiding relatives at Christmas.
- Starmoo Valley
    - A birthday gift to an online friend, full of weird in-jokes.


text:
---
title: "route_global_ip.py"
description: "route_global_ip.py"
date: "2017-11-23"
classes:
    - "SoftLayer_Network_Subnet_IpAddress_Global"
    - "SoftLayer_Network_Subnet"
tags:
    - "subnets"
---

```
"""
Route Global IP. This function is used to create a new transaction
to modify a global IP route

Important manual pages:
http://sldn.softlayer.com/reference/services/SoftLayer_Network_Subnet_IpAddress_Global/route
License: http://sldn.softlayer.com/article/License
Author: SoftLayer Technologies, Inc<EMAIL_ADDRESS>"""
import SoftLayer
# For nice debug output:
from pprint import pprint as pp

# Your SoftLayer API username and key.
API_USERNAME = 'set me'

# Generate one at https://control.softlayer.com/account/users
API_KEY = 'set me'

subnetId = 880579

newEndPointIpAddress = '<IP_ADDRESS>'

client = SoftLayer.Client(
    username=API_USERNAME,
    api_key=API_KEY
)

try:
    # Get the Global IP record
    globalIpRecord = client['SoftLayer_Network_Subnet'].getGlobalIpRecord(
        id=subnetId)
    globalIpRecordId = globalIpRecord['id']

    try:
        # Route a global IP address
        pp(newEndPointIpAddress)
        result = client['SoftLayer_Network_Subnet_IpAddress_Global'].route(
            newEndPointIpAddress, id=globalIpRecordId)
        pp(result)
    except SoftLayer.SoftLayerAPIError as e:
        pp('Unable to route the global IP address faultCode=%s, faultString=%s'
            % (e.faultCode, e.faultString))

except SoftLayer.SoftLayerAPIError as e:
    pp('Failed ... Unable to get Global IP record faultCode=%s, faultString=%s'
        % (e.faultCode, e.faultString))

```

gha_language: HTML


text:
---
title: Montgomery County, VA
permalink: "/montgomerycounty"
name: Letter to the County Board of Supervisors
city: Montgomery County
state: VA
recipients:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>body: |-
  Dear Montgomery County Board of Supervisors,

  My name is [YOUR NAME], and I am a resident of Montgomery County, VA.

  I am emailing in support of the nationwide initiative to defund police departments in favor of supporting community-based public safety measures. The Approved Budget for FY 2020 states that $15,003,161 is allocated to the Sheriff, accounting for 81% of total public safety funds. Compared to the $9,416,204 allocated to all Health and Welfare services, this is enormously out of proportion with the needs and values of our community [1]. The Montgomery County Board of Supervisors should adopt a budget that prioritizes community well-being, and redirects funding away from the Sheriff’s department. Additionally, given the likely budget shortfalls resulting from the pandemic, now is an urgent time to re-evaluate the priorities of our County.

  The Montgomery County Board of Supervisors should begin meaningfully reallocating Sheriff Department funds to programs proven to more effectively promote a safe and equitable community. We need funding for community-based mental health services, substance abuse treatment services, affordable housing programs, schools and childcare, public health, sustainability, and infrastructure. Additionally, police officers should not be the first resource for every crisis. I demand a budget that reflects the needs and values of Montgomery County residents. We must take a hard look at the way the current system fails to serve-and in fact actively harms-our community, and come together to reimagine the role of law enforcement in our County.

  I am urging you to keep these things in mind for the budget for the 2020-2021 fiscal year and to invest in the people, not the police.

  Thank you,
  [YOUR NAME]
  [YOUR ADDRESS]
  [YOUR EMAIL]
  [YOUR PHONE NUMBER]

  [1] https://www.montgomerycountyva.gov/departments/finance-intro/budget
layout: email
---


text:
# Topic

> 何謂正念？小心行事且記得用腦 (Why Mindfulness Is a Superpower: An Animation)

> I believe that meditation and mindfulness are the next big public health revolution.

> 我相信冥想和正念，是公共健康革命的下一大步。

[![Image](https://cdn.voicetube.com/assets/thumbnails/w6T02g5hnT4.jpg)](https://www.youtube.com/embed/w6T02g5hnT4?rel=0&showinfo=0&cc_load_policy=0&controls=1&autoplay=1&iv_load_policy=3&playsinline=1&wmode=transparent&start=98&end=105&enablejsapi=1&origin=https://tw.voicetube.com&widgetid=1)

Host: Steve

Today issue: https://podcasts.apple.com/tw/podcast/ride-the-vibes/id1497496945

[Host record](https://cdn.voicetube.com/tmp/everyday_records/stephen_vt_44701/4412.mp3)

## learning points
1. _
	* mindfulness [ˋmaɪdfəlnɪs] (n.) 正念認知
		- I am working on practicing mindfulness but it's not easy I always get angry about traffic.
		- To be mindful of your little sister while you are playing she is still just a baby.
		- To be mindful of your neighbor they don't want to hear you Bang the Drum every night especially after 10.
2. _
	* public [ˋpʌblɪk] (adj.) 民眾的，大眾的
		- this is public space you cannot just take off your clothes here parks are usually public spaces.
		- the public needs to approve this new law.
3. _
	* revolution  [rɛvəˋluʃən] (n.) 革命性劇變；大變革
		- more people do yoga now than ever before it's been a part of a giant health revolution.


text:
AngularFire

The official library for Firebase and Angular

[![Build Status](https://travis-ci.org/angular/angularfire2.svg?branch=master)](https://travis-ci.org/angular/angularfire2) [![Join the chat at https://gitter.im/angular/angularfire2](https://badges.gitter.im/angular/angularfire2.svg)](https://gitter.im/angular/angularfire2?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Status: Release candidate

## What is AngularFire?

- **Observable based** - Use the power of RxJS, Angular, and Firebase.
- **Realtime bindings** - Synchronize data in reatime.
- **Authentication** - Log users in with a variety of providers and monitor authentication state in realtime.
- **ngrx friendly** - Integrate with ngrx using AngularFire's action based APIs.

#### Quick links
[Contributing](CONTRIBUTING.md)

[Stackblitz Template](https://stackblitz.com/edit/angular-2ed5zx?) - Remember to set your Firebase configuration in `app/app.module.ts`.

[Upgrading to v5.0? Check out our guide.](docs/version-5-upgrade.md)

## Install

```bash
npm install firebase angularfire2 --save
# Or use the 5.0 beta API! Will be released soon
npm install firebase angularfire2@next --save
```

## Note: These docs reference the beta 5.0 API which will be released soon.

## Example use:

```ts
import { Component } from '@angular/core';
import { AngularFireDatabase } from 'angularfire2/database';
import { Observable } from 'rxjs/Observable';

@Component({
  selector: 'project-name-app',
  template: `
  <ul>
    <li *ngFor="let item of items | async">
      {{ item.name }}
    </li>
  </ul>
  `
})
export class MyApp {
  items: Observable<any[]>;
  constructor(db: AngularFireDatabase) {
    this.items = db.list('items').valueChanges();
  }
}
```

## Developer Guide

### Getting started
- [Installation & Setup](docs/1-install-and-setup.md)

### AngularFireDatabase
- [Retrieving data as objects](docs/2-retrieving-data-as-objects.md)
- [Retrieving data as lists](docs/3-retrieving-data-as-lists.md)
- [Querying lists](docs/4-querying-lists.md)

### AngularFireAuth
- [User Authentication](docs/5-user-authentication.md)

### Deploy to Firebase Hosting
- [Deploying AngularFire to Firebase Hosting](docs/7-deploying-angularfire-to-firebase.md)

### Ionic
- [Using AngularFire with Ionic 2](docs/Auth-with-Ionic2.md)
- [Using AngularFire with Ionic 3 and Angular 4](docs/Auth-with-Ionic3-Angular4.md)


text:
---
title: "ArgData: Tutorials"
---

# Tutorials

There are a number of tutorials available for ArgData, both
for [C#](https://en.wikipedia.org/wiki/C_Sharp_(programming_language))
and [PowerShell](https://en.wikipedia.org/wiki/PowerShell).

Note that the tutorials will always be updated to use the latest version of the API.

## C#

The tutorials for C# will assume that you are familiar with, and have
installed, Visual Studio 2019 (or similar).

Before getting started with any of the  C# tutorials, have a look at the
[C# prerequisites](/argdata/tutorials/prerequisites-for-csharp/) info.

- [Edit the horsepower value for the player car](/argdata/tutorials/edit-playerhorsepower-value-with-csharp/)
- [Edit car colors for a single car](/argdata/tutorials/edit-car-colors-for-a-single-car-with-csharp/)

## PowerShell

PowerShell is a scripting language with support for powerful .NET features,
that has been present on every version of Windows for many years.

Before getting started with any of the PowerShell tutorials, have a look at the
[PowerShell prerequisites](/argdata/tutorials/prerequisites-for-powershell/) info.

- [Edit the horsepower value for the player car](/argdata/tutorials/edit-playerhorsepower-value-with-powershell/)
- [Invert a track](/argdata/tutorials/invert-a-track-with-powershell/)
- [Make the computer cars brake later](/argdata/tutorials/make-the-computer-cars-brake-later-with-powershell/)


text:
# QQuickBgfx

This repository implements [BGFX](https://github.com/bkaradzic/bgfx) renderering abstraction library to work under QML/QQuick for Qt6.

A QQuickBgfxItem can be instantiated in QML with a given [bgfx::viewId](https://bkaradzic.github.io/bgfx/bgfx.html#views).
The content of the framebuffer associated to the viewId will be visualized inside the QML BgfxItem.

---

Why having Qt/QML with an external renderer?

Despite the new technology trends and approaches, Qt/QML is still largely used. Over the last years, by using this framework, I noticed that the 3d rendering engine made in qt was under documented, difficult to use, and with poor performances due to the high level abstraction. And still, you might have to write some platform specific rendering code, which makes it even harder to use for crossplatform 3d application.

Probably Qt6 will improve all that, but I want to offer [BGFX](https://github.com/bkaradzic/bgfx) as an easy alternative that works great out of the box.
The BGFX [examples](https://github.com/bkaradzic/bgfx/tree/master/examples) show how to use the library and the different features. If you are familiar with the general GPU pipeline, it'll be fairly easy to start pushing some pixels :D

---

Metal and D3D11 backend are currently implemented.

TO DO:

- [ ] OpenGL backend
- [ ] Vulkan backend

DONE:

- [x] Metal backend
- [x] D3D11 backend

Clone:

The usual suspects

  * $ `git clone git@github.com:dashandslash/BgfxQQuickItem.git`
  * $ `cd BgfxQQuickItem`
  * $ `git submodule update --init --recursive`

Build:

Add Qt to the `PATH`

* $ `export PATH=$PATH:/path/to/Qt/6.0.0/clang_64/lib/cmake`

From the cloned folder

* $ `mkdir .build && cd .build`

Mac:

* $ `cmake .. -G Xcode -DCMAKE_BUILD_TYPE=Debug` (Release for release mode)
Win:

* $ `cmake .. -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Debug` (Release for release mode)

I suggest to use XCode to build and debug on Mac (the XCode GPU capture feature is very handy for debugging the Metal rendering pipeline).


text:
# nodejs + express4 template

**Work in progress...**

This repository provides `nodejs+express4` template.
This repository is to be able to use immediately in production environment.

[![Build Status](https://travis-ci.com/takecy/express4-template.svg?branch=master)](https://travis-ci.com/takecy/express4-template)

[![nodejs](https://img.shields.io/badge/nodejs-6.x-blue.svg?style=flat-square)](https://nodejs.org)
[![npm](https://img.shields.io/badge/npm-3.3.6+-blue.svg?style=flat-square)](https://www.npmjs.com/)

[![docker](https://img.shields.io/badge/docker-1.11.1-blue.svg?style=flat-square)](https://nodejs.org)
[![docker-compose](https://img.shields.io/badge/docker--compose-1.7.1-blue.svg?style=flat-square)](https://nodejs.org)

## Goals
* It is to be able to use immediately in production environment.
* more easy development integration on local.

### Not Goals
* ES2015 hello-world.
* docker hello-world.
* nodejs hello-world.
* express hello-world.

## Quick Start
### via npm
```
$ npm i -g gulp
$ git clone git@github.com:takecy/express4-template.git
$ cd express4-template
$ npm i && gulp build
$ DEBUG=* NODE_ENV=development npm start
$ open http://localhost:3000
```

### via Docker
```
$ make run
```

## Included Features

* nodejs 6.x + exporess 4.x
 * part of ES2015
 * use strict mode
 * not use generator
 * jshint
* build by gulp
* process managed by pm2
* session managed by Redis
* determine configuration by `NODE_ENV` environment variables
* routing of apis and views
* development on local by docker
* testing by mocha and chai

## License
[MIT](./LICENSE)


text:
# election-dApp

This is a basic smart contract instantiation and test

To run this, download the source files to anywhere you'd like
I chose a nice folder on my desktop

Download the prerequisites
They are: Truffle, Ganache, NPM, and MetaMask

run/open/trouble shoot these softwares however you'd like, setup accounts, etc

Running this program:
Step 1: access the highest level directory by terminal i.e. $user/"location-of-election-dApp"
Step 2: run npm install to install any and all dependencies
Step 3: run ganache, make note of the network and chain ID's
network will be some form of localhost and chainID will be a 3-4 digit integer
Step 4: run "truffle migrate" (you may have to do this in sudo)
if you make changes you will need to add --reset as the previous database instantiation must be overwritten
Step 5: run "npm run dev" to set up client side interaction
Step 6: navigate to the page in browser and open metamask
Step 7: connect a custom RPC to the browser by entering a name, the network port saved from ganache, and the chainID returned by ganache
Step 8: manually connect the account to the browser (currently done by navigating to metamask settings and managing connected websites/connections)
Step 9: import whatever wallet you'd like to vote with (I recommend a ganache test wallet)
Step 10: Reload the page/client and begin testing. Try to break it.

repository: devinakabtai/election-dApp

repo_name: devinakabtai/election-dApp


text:
---
title: "Creating a protocol buffer defintion"
metaTitle: "Creating a protocol buffer defintion"
metaDescription: "create a .proto file"
---

# What are .proto files
In the last step, we created our simple gRPC server. The next step for us is to define a form of data carrier or simply put, the way our client and server will communicate with each other. Well, first they need to agree upon the data they pass and for that, there needs to be a set of protocols and data formats. The good thing about gRPC is that it accepts protocol buffers, which agree on all the existing protocols such as SOAP, REST, and even websockets. Hence it can be said that gRPCs are a way to standardize client-server communication frameworks. Therefore the need to have a new `.proto` file came into existence.

# Messages and services
`.proto` files form the base of message-carrying in gRPC. They are configuration files where we define messages and services. These files are created in Google's Protocol Buffer format, a data serialization format used for exchanging data; specifies one or more "messages" as logical records, each of which contains name-value pairs. Messages are the smallest unit of data in gRPC. Essentially, a gRPC server accepts messages and does some processing on them, and returns something. gRPC services are used to carry messages between a client and a server. Think about messages as golang structs and services as functions.

# Creating your first .proto file
In the project root, create a new folder `enquiry` and a file named `enquiry.proto` inside it.
```
mkdir enquiry && cd enquiry && touch enquiry.proto
```
> With context to the application, we need to have a function that takes in a train number and displays its schedule. Initially, our message will contain a "train number" and then the message in the response will contain the "train schedule".

Now, let us create our very first message.
```proto
syntax="proto3";

package enquiry;

message Message {
  string trainNumber = 1;
}
```

A gRPC message contains fields just like a normal object in most languages or a struct in golang, however, there are two main differences:
- It is of a message type, which is automatically invoked as per "proto3" standards defined at the top of the file.
- The field numbers associated with each field. In proto3 syntax, each field belonging to a specific message must have a unique identifier known as "field numbers".

# Message fields and field numbers
Fields in a message are associated with their unique field numbers that are used to identify your fields in the message binary format, and should not be changed once your message type is in use. Note that field numbers in the range 1 through 15 take one byte to encode, including the field number and the field's type (you can find out more about this in Protocol Buffer Encoding). Field numbers in the range 16 through 2047 take two bytes. So you should reserve the numbers 1 through 15 for very frequently occurring message elements. Remember to leave some room for frequently occurring elements that might be added in the future.

The smallest field number you can specify is 1, and the largest is 229 - 1, or 536,870,911. You also cannot use the numbers 19000 through 19999 (FieldDescriptor::kFirstReservedNumber through FieldDescriptor::kLastReservedNumber), as they are reserved for the Protocol Buffers implementation - the protocol buffer compiler will complain if you use one of these reserved numbers in your `.proto` file. Similarly, you cannot use any previously reserved field numbers.
You can learn more about field numbers in Google's official protocol buffer [documentation](https://developers.google.com/protocol-buffers/docs/proto3#assigning_field_numbers).

***NOTE: It is important to declare a package name that the .proto file belongs to, else the compiler will throw a WARNING.***

So, we should now have a clear understanding of how to define messages in a .proto file. We have defined our initial message, now for the message that will be sent from the server as a response, add the following to the `enquiry.proto` file.

```proto
syntax="proto3";

package enquiry;

message Message {
  string trainNumber = 1;
}

+ message TrainSchedule {
+   string stationName = 1;
+   string arrival = 2;
+   string departure = 3;
+ }
```

An important thing to notice is the response that is recieved from a normal train enquiry that looks like the following:

| Station  	| Arrival  | Departure |
|---	|---	|---	|
| DADAR  	| 19:47 |  19:50 	|
|  KALYAN JN  	|  20:35 	|  20:37 	|
|  KASARA 	|  21:43 	|  21:45 	|

***source: https://enquiry.indianrail.gov.in/ntes/index.html ***

The point is that we need to return an array of schedules for each of the stations that
the train covers. For that, we define another message that wraps the `TrainSchedule` object we declared above. Let's the following to the `.proto` file. Note that the `repeated` keyword here is a way of returning an array of messages in *proto3* syntax.
```proto
syntax="proto3";

package enquiry;

message Message {
  string trainNumber = 1;
}

message TrainSchedule {
  string stationName = 1;
  string arrival = 2;
  string departure = 3;
}

+ message EnquiryResponse {
+   repeated TrainSchedule resp = 1;
+ }
```

# Services
The last step is to define a service that tells the gRPC server what to do when a client requests something, or what to execute. As a service, we define a function that defines exactly what is being received by the gRPC server and what it is expected to return. A service can be defined as follows.
```proto
syntax="proto3";

package enquiry;

message Message {
  string trainNumber = 1;
}

message TrainSchedule {
  string stationName = 1;
  string arrival = 2;
  string departure = 3;
}

message EnquiryResponse {
  repeated TrainSchedule resp = 1;
}

+ service TrainStatus {
+   rpc ReturnTrainDetails(Message) returns (EnquiryResponse) {}
+ }
```

Just like messages, services are prefixed with `service` keyword as per *proto3* syntax. This service tells the gRPC server that when we call the function `ReturnTrainDetails` with a message that contains the "train number" it is expected to return an `EnquiryResponse` object defined above. Notice how we stub out the function without actually defining it. Why? The proto compiler takes care of actually generating the code that will handle all of this in the background which we will learn about in the subsequent chapter. Keep in mind that this service that we have defined exposes `ReturnTrainDetails` method to the client which can be called directly once it is connected to the gRPC server -- hence these are known as **Remote Procedure Calls**.

# Results

We have learnt about the schema definition in protocol buffers. In the next lesson, we will learn more about the proto compiler in details and proceed further into building our train status enquiry application. The code up to this step can be found [on my Github](https://github.com/aquibbaig/train-status-grpc/tree/5d838a465205dedce16b79f6f06e8bea7f4e03d3).


text:
# Batch Image Crop Tool

A tool for cropping images in a batch with an interface.

## Requirement

- numpy
- opencv-python

## Usage

```bash
python main.py --input_path <YOUR_INPUT_DIR> --output_path <YOUR_OUTPUT_DIR>
```

And, it'll preview first one for cropping.

## Example

* Test images which need to be cropped

- 1280 x 720
![Demo input 1](./img/input/1.jpg)

- 1280 x 720
![Demo input 2](./img/input/2.jpg)

- 1280 x 852
![Demo input 3](./img/input/3.jpg)

* Processing with mouse

![Demo processing](./img/processing.png)

* Cropped result

![Demo result 1](./img/result/1.jpg)

![Demo result 2](./img/result/2.jpg)

![Demo result 3](./img/result/3.jpg)

# Reference

All test images are from [Free-Photos](https://pixabay.com/users/free-photos-242387).

repository: NatLee/Batch-crop-images

repo_name: NatLee/Batch-crop-images


text:
---
layout: post

#event information
title:  "State of Java Technologies, the Cloud and Beyond"
cover: "/images/state-of-java.jpg"
date:   2016-08-25
start_time: "06:00 PM"
end_time: "8:00 PM"

#event organiser details
organiser: "Gian Uy"
post_type: "meetup"
jquery_legacy: true
registration: "http://www.meetup.com/TriadJUG/events/233122317"
event_id: "233122317"
article_social_image: "http://triadjug.org/images/state-of-java-social.jpg"

---

Rapid change is happening in the IT industry. And for the Java IT Professional, that can be either (or both) exciting and/or nerve racking. The session will briefly dive into technologies prevalent a decade ago and how things have changed. And even though new platforms, coding techniques, and architecture patterns have emerged, **Java** is as strong as ever. The session will outline how the Java platform have adapted to support new languages, spawned new systems and frameworks for _Microservice Architectures_ and app containerization, further modularized to become more “lean” for IoT devices. Also, the session will dive to the tools that could help Java Developers, Architects, and Systems/Ops engineers take advantage of the agility of getting stuff out with the mantra of "Speed and Safety at Scale and in Harmony."

We'll also discuss the next steps for this _Java User Group_ and have a feel of what topics you want to cover (so that we can invite key speakers from LightBend, Oracle, Red Hat, etc), activities that we can undertake (i.e., Hackathons), and other fun stuff we can do.

Meetup Url: [http://www.meetup.com/TriadJUG/events/233122317](http://www.meetup.com/TriadJUG/events/233122317)

### Address
[416 Gallimore Dairy Rd.,

Greensboro, NC 27409](http://www.meetup.com/TriadJUG/events/233122317)


text:
# Learn Express

## How to Use

Install dependencies:

```sh
yarn
```

Start server with `node`:

```sh
node index.js
```

Start with `nodemon`:

```sh
nodemon index.js
```

Access the endpoints via browser, httpie, or Postman.

## API Endpoints

musics:

| Route                       | HTTP Verb | Description                  |
| --------------------------- | --------- | ---------------------------- |
| `/musics`                   | `GET`     | Get all the musics           |
| `/musics/:id`               | `GET`     | Get a single music           |
| `/musics`                   | `POST`    | Save a new music             |
| `/musics/search?name=:name` | `GET`     | Search music by name         |
| `/musics`                   | `DELETE`  | Remove all the musics        |
| `/musics/:id`               | `DELETE`  | Remove a music               |
| `/musics/:id`               | `PUT`     | Update an item with new info |


text:
# alias
This contains all of my main aliases for linux administration to make the command line more friendly and easy to use. Take whatever you want, this is primarily up here so I can run the following command in order to make any new machine easier to use. These snippets were designed while using debian and Ubuntu so please use with caution while using with other systems.

#####Command to install these aliases

```bash
wget -qO- http://bit.ly/install-aliases | python
```

repository: CodyKochmann/alias

repo_name: CodyKochmann/alias


text:
---
title: 'kds-button'
slug: 'stencil/components/kds-button'
implementationOf: 'Button'
---
## Properties

| Property         | Attribute        | Description                                                                           | Type                                                                                | Default     |
| ---------------- | ---------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- |
| `autofocus`      | `autofocus`      | Takes focus when the form is presented.                                               | `boolean`                                                                                | `undefined` |
| `compact`        | `compact`        | Applies the compact size.                                                             | `boolean`                                                                                | `false`     |
| `disabled`       | `disabled`       | Disables if present.                                                                  | `boolean`                                                                                | `undefined` |
| `form`           | `form`           | Associates the field to a form element.                                               | `string`                                                                                | `undefined` |
| `formaction`     | `formaction`     | Overrides the action attribute of the button's form owner. (Submit button type only.) | `string`                                                                                | `undefined` |
| `formenctype`    | `formenctype`    | Specifies the type of content that is used to submit. (Submit button type only.)      | `string`                                                                                | `undefined` |
| `formmethod`     | `formmethod`     | Specifies the HTTP method used to submit. (Submit button type only.)                  | `string`                                                                                | `undefined` |
| `formnovalidate` | `formnovalidate` | Disables form validation. (Submit button type only.)                                  | `boolean`                                                                                | `undefined` |
| `formtarget`     | `formtarget`     | Indicates where to display response after submission. (Submit button type only.)      | `string`                                                                                | `undefined` |
| `indeterminate`  | `indeterminate`  | Displays a loading spinner as the content of the button if present.                   | `boolean`                                                                                | `undefined` |
| `kind`           | `kind`           | Sets the color scheme.                                                                | `"cancel" \| "destructive" \| "destructive-inverse" \| "destructive-secondary" \| "destructive-tertiary" \| "favorable" \| "favorable-inverse" \| "favorable-secondary" \| "favorable-tertiary" \| "primary" \| "primary-inverse" \| "secondary" \| "secondary-inverse" \| "tertiary" \| "tertiary-inverse"` | `"primary"` |
| `name`           | `name`           | Sets the name.                                                                        | `string`                                                                                | `undefined` |
| `type`           | `type`           | Sets the button type.                                                                 | `string`                                                                                | `undefined` |
| `value`          | `value`          | Contains the current value.                                                           | `number \| string \| string[]`                                                                                | `undefined` |

## Events

| Event   | Description                                                                                | Type                             |
| ------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------- |
| `ready` | Emits when the component has been loaded. Event's `detail` contains a reference to the inner button element. | `CustomEvent<HTMLButtonElement>` |

## Methods

### `getNativeElement() => Promise<HTMLButtonElement>`

Returns the native `<button>` element used under the hood.

#### Returns

Type: `Promise<HTMLButtonElement>`

## Dependencies

### Used by

 - [kds-sliding-panel](../kds-sliding-panel)

### Depends on

- [kds-loading-spinner](../kds-loading-spinner)

### Graph
```mermaid
graph TD;
  kds-button --> kds-loading-spinner
  kds-sliding-panel --> kds-button
  style kds-button fill:#f9f,stroke:#333,stroke-width:4px
```

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

*Built with [StencilJS](https://stenciljs.com/)*

```Message { "props" : { "className" : "mb-16" } }
**Note:** For kds-stencil-react consumers, use camel case `KdsButton` instead of dashed case `kds-button`.
```

## Basic Usage

```Message { "props" : { "className" : "mb-16" } }
**Note:** Since our code examples are rendered in React, we use the onClick prop to wire up our click event listener.
In Angular, you would instead bind your click listener like so: `<kds-button (click)="clickListener()">Test Button</kds-button>`
```

```jsx
<kds-button
  kind="primary"
  name="do"
  value="thing"
  onClick={() => alert("🎉 You did the thing! 🎊")}
>
  Test the kds-button
</kds-button>
```

## Sizes

There are normal and compact sizes available. Just add a `compact` prop for compact buttons when space is limited.

```jsx
<kds-button class="mr-8">Standard</kds-button>
<kds-button compact>Compact</kds-button>
```

## Primary Kind

For primary user actions. Used most in the interface. Only use another style if a button requires less visual weight.

The default style if no `kind` is provided.

```jsx
<kds-button kind="primary">Add to Cart</kds-button>
```

## Primary Inverse Kind

Used when placing a primary button on a dark background. Also used on white backgrounds for icon heavy interfaces and control panels.

```jsx  { "props": { "style": { "background": "rgb(0, 104, 179)" } } }
<kds-button kind="primary-inverse">Add to Cart</kds-button>
```

## Secondary Kind

Used for actions that are of less importance than the primary action. Most often appears next to or beneath a primary button.

```jsx
<kds-button kind="secondary">Add to List</kds-button>
```

## Secondary Inverse Kind

Used when placing a secondary button on a dark background. Also used on white backgrounds for icon heavy interfaces and control panels.

```jsx  { "props": { "style": { "background": "rgb(0, 104, 179)" } } }
<kds-button kind="secondary-inverse">Add to Cart</kds-button>
```

## Tertiary Kind

Used for actions that are of less importance than the secondary action.

```jsx
<kds-button kind="tertiary">Add to List</kds-button>
```

## Tertiary Inverse Kind

Used when placing a tertiary button on a dark background.

```jsx  { "props": { "style": { "background": "rgb(0, 104, 179)" } } }
<kds-button kind="tertiary-inverse">Add to Cart</kds-button>
```

## Cancel Kind

Use when the user needs to cancel an action. Typically used in conjunction with a primary button.

```jsx
<kds-button kind="cancel">Cancel</kds-button>
```

## Favorable Kind

Use when there is a positive action that can be reversed. This is something that will add value to the user.

```jsx
<kds-button kind="favorable">Load Coupon to Card</kds-button>
```

## Favorable Secondary Kind

Use when there is a positive action of less importance than the primary action or for positive actions that require less visual weight.

```jsx
<kds-button kind="favorable-secondary">
  Qualifying Products
</kds-button>
```

## Favorable Tertiary Kind

Use when there is a positive action of less importance than the secondary action.

```jsx
<kds-button kind="favorable-tertiary">
  Qualifying Products
</kds-button>
```

## Favorable Inverse Kind

Used when placing a positive action button on a dark background.

```jsx  { "props": { "style": { "background": "rgb(0, 104, 179)" } } }
<kds-button kind="favorable-inverse">Qualifying Products</kds-button>
```

## Destructive Kind

Use when there is a negative action that cannot be undone. Examples include deleting something or removing something.

```jsx
<kds-button kind="destructive">Delete</kds-button>
```

## Destructive Secondary Kind

Use when there is a negative action of less importance than the primary action or for negative actions that require less visual weight.

```jsx
<kds-button kind="destructive-secondary">
  Remove Coupon from Card
</kds-button>
```

## Destructive Tertiary Kind

Use when there is a negative action of less importance than the secondary action.

```jsx
<kds-button kind="destructive-tertiary">
  Qualifying Products
</kds-button>
```

## Destructive Inverse Kind

Used when placing a negative action button on a dark background.

```jsx  { "props": { "style": { "background": "rgb(0, 104, 179)" } } }
<kds-button kind="destructive-inverse">Qualifying Products</kds-button>
```

## Disabled

Use when the action is temporarily unavailable.

To disable a button just set the standard `disabled` html attribute. It will prevent `click` events from firing at all from the
button. Make sure there's a way for a user to understand why they cannot press the button.

```jsx
<kds-button disabled onClick={() => alert("You will never see me")}>
  Checkout in Express Lane with 78 items
</kds-button>
```

## Indeterminate

Use when async action is taken.

To set a button to indeterminate state just set `indeterminate` to true.  It will prevent `click` events from firing at all from the button.

```jsx
<kds-button indeterminate onClick={() => alert("You will never see me")}>
  Checkout in Express Lane with 78 items
</kds-button>
```

## Full Width

To achieve a full width button use the `w-full` [utility class](/stencil/components/css-utilities-reference#Margin).

```jsx
<kds-button inner-class="w-full">
  You couldn't hit the broad side of a barn
</kds-button>
```

## Icon Buttons

When a `<kds-icon>` is the only child of `<kds-button>`, the button will render as a circle. The correct `size` prop is automatically applied to the icon component (this will override any `size` prop you may have applied to the child).

> You must add an `aria-label` to attain accessibility requirements

```jsx
<kds-button
  class="mr-8"
  inner-aria-label="Open Account Settings"
>
  <kds-icon-account />
</kds-button>

<kds-button
  class="mr-8"
  inner-aria-label="Open Account Settings"
  compact
>
  <kds-icon-account />
</kds-button>

<span class="inline-block p-8 mr-8" style={{ backgroundColor: 'rgb(0, 104, 179)' }}>
  <kds-button
    class="mr-8"
    kind="primary-inverse"
    inner-aria-label="Add Kroger Plus Card"
  >
    <kds-icon-add-plus-card />
  </kds-button>

  <kds-button
    compact
    kind="primary-inverse"
    inner-aria-label="Add Kroger Plus Card"
  >
    <kds-icon-add-plus-card />
  </kds-button>
</span>

<kds-button
  class="mr-8"
  kind="secondary"
  inner-aria-label="Back to Top"
>
  <kds-icon-chevron-up />
</kds-button>

<kds-button
  class="mr-8"
  compact
  kind="secondary"
  inner-aria-label="Back to Top"
>
  <kds-icon-chevron-up />
</kds-button>

<kds-button
  class="mr-8"
  kind="destructive"
  inner-aria-label="Action is Not Allowed"
>
  <kds-icon-not-available />
</kds-button>

<kds-button
  class="mr-8"
  compact
  kind="destructive"
  inner-aria-label="Action is Not Allowed"
>
  <kds-icon-not-available />
</kds-button>

<kds-button
  class="mr-8"
  kind="destructive-secondary"
  inner-aria-label="Remove item from cart"
>
  <kds-icon-trash />
</kds-button>

<kds-button
  class="mr-8"
  compact
  kind="destructive-secondary"
  inner-aria-label="Remove item from cart"
>
  <kds-icon-trash />
</kds-button>

<kds-button
  class="mr-8"
  kind="favorable"
  inner-aria-label="Add Kroger Plus Card"
>
  <kds-icon-add-plus-card />
</kds-button>

<kds-button
  class="mr-8"
  compact
  kind="favorable"
  inner-aria-label="Add Kroger Plus Card"
>
  <kds-icon-add-plus-card />
</kds-button>

<kds-button
  class="mr-8"
  kind="favorable-secondary"
  inner-aria-label="Add Kroger Plus Card"
>
  <kds-icon-add-plus-card />
</kds-button>

<kds-button
  class="mr-8"
  compact
  kind="favorable-secondary"
  inner-aria-label="Add Kroger Plus Card"
>
  <kds-icon-add-plus-card />
</kds-button>

<kds-button
  class="mr-8"
  disabled
  inner-aria-label="Add Kroger Plus Card"
>
  <kds-icon-add-plus-card />
</kds-button>

<kds-button
  class="mr-8"
  compact
  disabled
  inner-aria-label="Add Kroger Plus Card"
>
  <kds-icon-add-plus-card />
</kds-button>
```

## Inline Icon Buttons

Icons can also appear inline alongside text in a `kds-button`. The correct `size` prop is automatically applied to the icon component (this will override any `size` prop you may have applied to the child).

```jsx
<kds-button
  class="mr-8"
>
  <kds-icon-account></kds-icon-account> Sign up
</kds-button>
<kds-button
  class="mr-8"
  compact
>
  <kds-icon-account></kds-icon-account> Sign up
</kds-button>
```

## Dismissal Button

Implementation of the dismissal button differs from previous examples in that they aren't web components - they're HTML elements styled with CSS.

To create a properly styled dismissal button, apply the desired style's class(es) to a `<button>` tag.

~~~Message { "props": { "kind": "error", "className": "mb-16" } }
**Note:** The dismissal button classnames have been updated to align with rules established by our blueprints.

Our previous classnames, `.kds-DismissalButton--success`, `.kds-DismissalButton--info`, `.kds-DismissalButton--warning`, and `.kds-DismissalButton--error`, will no longer be supported. If you've used these classes in the past, please update to the newly documented classnames.
~~~

```jsx
<button class="kds-DismissalButton">
  <kds-icon-close size="xs" />
</button>
<button class="kds-DismissalButton kds-DismissalButton--action">
  <kds-icon-close size="xs" />
</button>
<button class="kds-DismissalButton kds-DismissalButton--neutral">
  <kds-icon-close size="xs" />
</button>
<button class="kds-DismissalButton kds-DismissalButton--positive">
  <kds-icon-close size="xs" />
</button>
<button class="kds-DismissalButton kds-DismissalButton--callout">
  <kds-icon-close size="xs" />
</button>
<button class="kds-DismissalButton kds-DismissalButton--negative">
  <kds-icon-close size="xs" />
</button>
<button class="kds-DismissalButton kds-DismissalButton--special">
  <kds-icon-close size="xs" />
</button>
```

repository: manoharkotagiri/status-viewer

repo_name: manoharkotagiri/status-viewer


text:
---
layout: page
title: Welcome (to the better specialization 😉)
---

---

## About
This website provides resources and information on:

- [The CS Specialization 2020-2021 Schedule](schedule.md)
- [How to set up your environment for QMI assignments](setup.md)
- [Helpful studying and recruiting resources](resources.md)

---

## Homework

| Assignment                    | Due Date | Files |
| Environment Setup             | 9/22     | [Environment Setup Guide]({{ site.url }}/assets/UpdatedEnvironmentSetup.pdf) 	   |
|Probability, NN, NLP | 9/29 | [Homework1]({{ site.url }}/assets/CSSpecializationHW1.pdf)
 [nyt.txt]({{ site.url }}/assets/nyt.txt) |
|DAN Dropout | 10/26 | [Instructions]({{ site.url }}/assets/DAN_HW.pdf)
 [Homework2 Zip]({{ site.url }}/assets/DAN.zip) |
|LSTM | 11/10 | [Instructions]({{ site.url }}/assets/CSSpecialization_LSTM_HW.pdf)
 [Homework3 Data]({{ site.url }}/assets/housing_prices.csv) |

---

## Lecture Notes

| Date                | Lecture Title | Files |
| 9/15   			  | Welcome Back  | [Notes]({{ site.url }}/assets/CSSpecialization_WelcomeBack.pdf)
 [Recording](https://drive.google.com/file/d/1hVl4kmG0A3NyNhAaaTP_PFXUoVq6-BSZ/view?usp=sharing)  |
| 9/22   			  | Review From Last Year  | [Notes]({{ site.url }}/assets/CS_Specialization_Lec2.pdf)
 [Recording](https://drive.google.com/file/d/1pvzpa4b_6DGATzMkGWyxDyR8TOBspIPN/view?usp=sharing)  |
| 9/29  			  | Linear Algebra         | [Notes]({{ site.url }}/assets/Notes9-29.pdf)     |
| 10/6				  | HW Discussion          | [Recording](https://drive.google.com/file/d/1D19ivOs0wWQArVK5FehxegBKksUyIwzd/view?usp=sharing) |
| 10/13 			  | Word Embeddings        | [Notes]({{ site.url }}/assets/Notes10-13.pdf)
 [Recording](https://drive.google.com/file/d/1cu5xFCdswjnxf_WU_4isB1fJ4UOERUaN/view?usp=sharing)   |
| 10/20				  | DANs				   | [Paper]({{ site.url }}/assets/dan_paper.pdf)
 [Recording](https://drive.google.com/file/d/1Tymgc_7gzXdt_lc14iVvqpRnoU6GYzXY/view?usp=sharing)   |
| 11/3				  | RNNs and LSTM  | [Notes/Code]({{ site.url }}/assets/RNN_LSTM.html) |


text:
    Vshell

    A new shell written in Vlang, optimized for software engineering.

## Current State

- `vsh` will run commands on the local system when you press enter
- commands are appended to `.v_history`
- simple up/down partial functionality

## Contributing

It the wild west right now, so just make a PR and we'll get it merged in.

# MVP
See [https://github.com/jacobsalmela/vsh/projects/1](https://github.com/jacobsalmela/vsh/projects/1)