text:
# TRACKzeron

![TRACKzeron](https://user-images.githubusercontent.com/16569424/100494538-c1777000-3110-11eb-9ec2-77b605f7d627.jpg)

*A short description of the keyboard/project*

* Keyboard Maintainer: [MK](https://github.com/melaphor)
* Hardware Supported: Azeron Keypad modified with PMW3360 sensor
* Hardware Availability: [Azeron Offical Website](http://azeron.eu/), [PMW 3360 Motion Sensor on Tindie](https://www.tindie.com/products/jkicklighter/pmw3360-motion-sensor/)

Make example for this keyboard (after setting up your build environment):

    make trackzeron:default

Flashing example for this keyboard:

    make trackzeron:default:flash

See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

repository: wolfspyre/trackzeron

repo_name: wolfspyre/trackzeron


text:
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![REPO SIZE](https://img.shields.io/github/repo-size/korchard/react-gallery?style=flat-square)
![TOP_LANGUAGE](https://img.shields.io/github/languages/top/korchard/react-gallery?style=flat-square)
![FORKS](https://img.shields.io/github/forks/korchard/react-gallery.svg?style=social)

# PROJECT NAME

REACT PHOTO GALLERY

## Description

_Duration: 12 Hours_

This is a photo gallery of my life. It displays images from past to present. When an image is clicked, it flips over and the description of the life event is shared. A user may click the heart button to like the life event and the 'x' will remove the event from the gallery. New images and descriptions can be added to the gallery through the input boxes below the header and this will be stored in a database.

To see the fully functional site, please visit: [DEPLOYED VERSION OF APP](https://ancient-castle-60137.herokuapp.com/)

## Screen Shot

![react gallery](./public/images/appPic.png)

### Prerequisites - dependencies

Link to software that is required to install the app (e.g. node).

- [Node.js](https://nodejs.org/en/)
- [express.js](https://expressjs.com/)
- [postgreSQL](https://www.postgresql.org/download/)
- [react](https://reactjs.org/docs/getting-started.html)
- [axios](https://www.npmjs.com/package/axios)
- [materialUI](https://material-ui.com/getting-started/installation/)
- [nodemon](https://www.npmjs.com/package/nodemon)

### SQL Requirements
- PostgreSQL

1. Create a postgres SQL database named `react_gallery` using an app like Postico.
2. The queries in the `databse.sql` file are set up to create all the necessary tables and populate the needed data to allow the application to run correctly.
3. Open up your editor of choice and run an `npm install` - this will install the dependencies - `express.js`, `node.js`, `react`, `axios`, `materialUI`, `nodemon`, and `pg`.
4. Run the server first `npm run server`.
5. Run the client second (in a separate terminal) `npm run client`.
6. The `npm run client` command will open up a new browser tab for you!

## Usage

1. To add an image, put the url path in the inputbox associated with this, add an alternative text for the image, a description, and the year of the event in the associated input boxes, push the `+` button and this will add the image to the gallery, as well as the database.
2. To like an image, click the heart below the picture.
3. To remove and image, click the `X` above the image.
4. To view the description and year of the event, click on the image and the description and date will replace the image. You can toggle back and forth between the image description.

## Built With

List technologies and frameworks here
- HTML
- CSS
- javaScript
- react
- node
- express
- postgreSQL
- material UI

## License

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Acknowledgement

Thank you to Josie, for being my coding buddy. Thank you to Steven and Jordan for supporting me and answering all my questions. Thanks to [Prime Digital Academy](www.primeacademy.io) who equipped and helped me to make this application a reality. Special thanks to my primary instructor,
-[Mary Mossman](https://github.com/mbMosman)
-[Josie Fredericksen](https://github.com/freder48)
-[Jordan Newberry](https://github.com/jordanNewberry21)
-[Steven Maloney](https://github.com/sdeda1us)

## Support

If you have suggestions or issues, please reach out to me on linkedIn [https://www.linkedin.com/in/kimberly-orchard-she-her-49b0171b9/]

license: MIT

repository: korchard/react-gallery

branch_name: refs/heads/master

extension: md

gha_language: JavaScript

gha_license_id: MIT

license_type: permissive

repo_name: korchard/react-gallery


text:
---
title: "Taking Chances with No Regrets"
excerpt: You can plan your life all you want but the road is unpredicatable. When things come your way, grab ahold and take that chance.
date: 2013-06-03
tags: personal, freelance
---

On May 29th, I started a new path I thought I'd never take; I became a full-time freelancer. Many of you may know me, so you've heard me talk about this idea for a few years but I finally made the decision.

How did I come to this decision? I'm not 100% sure. It's something I've been afraid of, but I thought to myself, "why not?". Over the years I've met and worked with some amazing people. I've learned a lot from them and I am very grateful.

Moving forward, I'm still going to do development work but move my focus more away from CMS-driven marketing sites and heavier on campaign-driven applications. I'll likely still be working with CMSs like Wordpress or Drupal, but I want to learn new techniques like site generators, Ruby, APIs and new processes that allow me to work as efficiently as possible.

Along the way I also hope to work with some talented people with whom I can share my experiences and learn from theirs. I [mentioned](http://christopherkollars.com/post/christopherkollars.com-v2.0-i-guess) this before, I plan to continue to blog once a week, sharing new ideas, thoughts and tools I've learned as well as projects I hope to be a part of.

For now I plan to work from my home office (which is actually my living room). It's pretty tiny, but it works. I'll also work from local coffee shops such as [Omaha Bicycle Co.](http://www.omahabicycleco.com/) and [Aromas](https://www.facebook.com/pages/Aromas-Coffeehouse/193049144080984?fref=ts) to name a few. Since I now office out of my house, I wanted to share my setup. I re-arranged my living room/office to help me get a window view while working.

<img src="https://dl.dropboxusercontent.com/u/2243605/site/img/office.jpg" />

Stay in touch as I make this journey. _Salute and here's to changes_.

repository: ckollars/christopherkollars

branch_name: refs/heads/main

repo_name: ckollars/christopherkollars


text:
# Contributing

React Simple Canvas is ambitious; I'd like to see it become powerful enough to tackle any task that could be accomplished with SVG or HTML5 Canvas.

Contributors are welcome, and I'll do my best to ensure that developing React Simple Canvas is straightforward and rewarding.

## Development Setup

// TODO

repository: joshwcomeau/react-simple-canvas

repo_name: joshwcomeau/react-simple-canvas


text:
---
layout: post
title: "The Little Man at the Hospital"
published: true
date: 2015-06-24 20:00:00
---
Our little guy left the safety of Shelley's womb and entered the world at approximately 9pm on Friday, June 29th. He came out a bit larger than expected---8 pounds and 1 ounce; 21.5 inches long (tall). Shell predicted the 'long baby,' but we were both pretty surprised he made it to eight pounds (Shell claims at least four pounds are cookies).

**Official name:** Theodore Raymond Joseph Rubin

where 'Raymond' comes from Ed's mom's dad and 'Joseph' comes from Shell's mom's dad (and also a pretty stellar saint). The name seems to lend itself perfectly to diminuitives...

**Unofficial names used so far:**

- Theo ("preferred name" by Shell)
- Theo-bot (from Shell and Ed)
- Theo-saur (think dinosaur; from Shell and Ed)
- Teddy/Ted (Shell is attempting to corral 'Ted'-users toward Theo)
- Teddy Ray (from Norm)
- Big T (from Mike)
- T Man (from Ed)
- Ray J (from Ed; retired)
- (Little) Mr. Man (from Shelley)
- Buddha Baby (from Shelley)

And now for a bunch of pictures from our stay at the hospital....

![


text:
# SwiftHashTags

[![CI Status](https://img.shields.io/travis/hcasc/SwiftHashTags.svg?style=flat)](https://travis-ci.org/hcasc/SwiftHashTags)
[![Version](https://img.shields.io/cocoapods/v/SwiftHashTags.svg?style=flat)](https://cocoapods.org/pods/SwiftHashTags)
[![License](https://img.shields.io/cocoapods/l/SwiftHashTags.svg?style=flat)](https://cocoapods.org/pods/SwiftHashTags)
[![Platform](https://img.shields.io/cocoapods/p/SwiftHashTags.svg?style=flat)](https://cocoapods.org/pods/SwiftHashTags)

[![Language](https://developer.apple.com/assets/elements/icons/swift/swift-64x64_2x.png)](https://developer.apple.com/swift/)

## Example

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

## Demo
![](SwiftHashTags_Anuradh.gif)

## Requirements
```ruby
Swift 4.2
iOS 9.0 or later
```

## Installation

SwiftHashTags is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod 'SwiftHashTags','~>0.1.2'
```

## How to use

### import the library
```ruby
import SwiftHashTags
```

### Create SwiftHashTag View and Add Tags.
```ruby
//MARK: Adding hashtags to SwiftHashTags
var hashtags: [SwiftHashTags] = []
let hashtag1 = SwiftHashTags(title: "hashtagone", id: 99) // you can add any amount of Tags
hashtags.append(hashtag1)

//MARK: Create SwiftHashTag View
let swifthashtags = SwiftHashTagsView()
swifthashtags.frame = CGRect(x: 10, y: 20, width: UIScreen.main.bounds.width - 20, height: UIScreen.main.bounds.height - 20) // you can give any size
swifthashtags.setHashTags(with: hashtags) // set your hash tags here
view.addSubview(swifthashtags)
swifthashtags.swifthashtagDelegate = self
```

### SwiftHashTags Delegate methods
```ruby
func selectedHashTag(title: String, id: Int) {
  // do your stuffs here
}

func unselectedHashTag(title: String, id: Int) {
  // do your stuffs here
}
```

## Features
#### 1.Hide or show Verticle Scroll Indicator
```ruby
swifthashtags.showverticalScoller = true
```
## Author

[Anuradh caldera](https://www.linkedin.com/in/anuradhcaldera/<EMAIL_ADDRESS><EMAIL_ADDRESS>
## License

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

repository: anuradhss/SwiftHashTags

repo_name: anuradhss/SwiftHashTags


text:
---
uid: Tutorial.Resolution.Override.Property
title: Property Override
---

# Property Override

PropertyOverride enables you to override the value for a specified property. Only the property value is overridden, not the properties selected. Its behavior is the same as ParameterOverride. The use of the OnType method enables you to specify a type to constrain the override to.

repository: unitycontainer/documentation

repo_name: unitycontainer/documentation


text:
# Godot Tileset-Hexgrid demo

This simple demo simply displays how to connect a hexgrid according [to this guide](https://www.redblobgames.com/grids/hexagons/implementation.html) to a Godot tilemap (like in the hex demo in the asset store)

Hex code taken from: https://github.com/romlok/godot-gdhexgrid and modified to use internal Godot functions. Please check that repository for usage of the included libraries.

Tileset created quicky via GIMP for purposes of this demo.

## Demo Usage

   * Highlighted hex will display coordinates in both Godot grid and in Hex Vector3 (i.e "cube" format).
   * Left-clicking on a hex, will convert it to a water tile
   * Right-Clicking on a hex will convert all its neighbours to mountain tiles.


text:
# Enum

Use enumerations in ruby

Enum was extracted from Discourse (https://github.com/discourse/discourse) and the BitflagEnum
subclass was added to allow bitwise operations on enum values.

repository: sholden/enum

repo_name: sholden/enum


text:
# level-codec

> Encoding logic for [`level(up)`](https://github.com/Level/levelup).

[![level badge][level-badge]](https://github.com/level/awesome)
[![npm](https://img.shields.io/npm/v/level-codec.svg)](https://www.npmjs.com/package/level-codec)
[![Travis](https://travis-ci.org/Level/codec.svg?branch=master)](https://travis-ci.org/Level/codec)
[![david](https://david-dm.org/Level/codec.svg)](https://david-dm.org/level/codec)
[![npm](https://img.shields.io/npm/dm/level-codec.svg)](https://www.npmjs.com/package/level-codec)

## API

### Codec([opts])

  Create a new codec, with a global options object.

  This could be something like

```js
var codec = new Codec(db.options);
```

### #encodeKey(key[, opts])

  Encode `key` with given `opts`.

### #encodeValue(value[, opts])

  Encode `value` with given `opts`.

### #encodeBatch(batch[, opts])

  Encode `batch` ops with given `opts`.

### #encodeLtgt(ltgt)

  Encode the ltgt values of option object `ltgt`.

### #decodeKey(key[, opts])

  Decode `key` with given `opts`.

### #decodeValue(value[, opts])

  Decode `value` with given `opts`.

### #createStreamDecoder([opts])

  Create a function with signature `(key, value)`, that for each key/value pair returned from a levelup read stream returns the decoded value to be emitted.

### #keyAsBuffer([opts])

  Check whether `opts` and the global `opts` call for a binary key encoding.

### #valueAsBuffer([opts])

  Check whether `opts` and the global `opts` call for a binary value encoding.

### #encodings

  The builtin encodings as object of form

```js
{
  [type]: encoding
}
```

See below for a list and the format of `encoding`.

## Builtin encodings

| Type     | Input                        | Stored as         | Output
|:---------|:-----------------------------|:------------------|:------
| `utf8`   | String or Buffer             | String or Buffer  | String
| `json`   | Any JSON type                | JSON string       | Input
| `binary` | Buffer, string or byte array | Buffer            | As stored
| `hex`
`ascii`
`base64`
`ucs2`
`utf16le`
`utf-16le` | String or Buffer | Buffer | String
| `none` a.k.a. `id`  | Any type (bypass encoding)   | Input\*            | As stored

\* Stores may have their own type coercion. Whether type information is preserved depends on the [`abstract-leveldown`] implementation as well as the underlying storage (`LevelDB`, `IndexedDB`, etc).

## Encoding format

An encoding is an object of the form:

```js
{
  encode: function (data) {
    return data
  },
  decode: function (data) {
    return data
  },
  buffer: Boolean,
  type: 'example'
}
```

All of these properties are required.

The `buffer` boolean tells consumers whether to fetch data as a Buffer, before calling your `decode()` function on that data. If `buffer` is true, it is assumed that `decode()` takes a Buffer. If false, it is assumed that `decode` takes any other type (usually a string).

To explain this in the grand scheme of things, consider a store like [`leveldown`] which has the ability to return either a Buffer or string, both sourced from the same byte array. Wrap this store with [`encoding-down`] and it'll select the most optimal data type based on the `buffer` property of the active encoding. If your `decode()` function needs a string (and the data can legitimately become a UTF8 string), you should set `buffer` to `false`. This avoids the cost of having to convert a Buffer to a string.

The `type` string should be a unique name.

## Publishers

* [@juliangruber](https://github.com/juliangruber)
* [@ralphtheninja](https://github.com/ralphtheninja)

## License & copyright

Copyright (c) 2012-2017 `levelup` contributors.

`levelup` is licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.

[level-badge]: http://leveldb.org/img/badge.svg
[`encoding-down`]: https://github.com/level/encoding-down
[`abstract-leveldown`]: https://github.com/level/abstract-leveldown
[`leveldown`]: https://github.com/level/leveldown

repository: rowhammer/Tag

repo_name: rowhammer/Tag


text:
# Paecilomyces cicadae (Miq.) Samson, 1974 SPECIES

#### Status
SYNONYM

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

#### Published in
Stud. Mycol. 6: 52 (1974)

#### Original name
Isaria cicadae Miq., 1838

### Remarks
null

repository: mdoering/backbone

path: /life/Fungi/Ascomycota/Sordariomycetes/Hypocreales/Cordycipitaceae/Isaria/Isaria cicadae/ Syn. Paecilomyces cicadae/README.md

repo_name: mdoering/backbone


text:
# pyls-flake8

A Flake8 plugin for the
[Python LSP Server](https://github.com/python-lsp/python-lsp-server).

Install this plugin in the same environment as `python-lsp-server`:

```shell
pip install pyls-flake8
```

pyls-flake8 will read its config from your project's ``setup.cfg``,
``tox.ini`` or ``.flake8`` file if it has one.

gha_language: Python


text:
---
layout: post
title: "Start mining with Nimiq Balkan Pool"
description: "Everything you need to start mining with Nimiq Balkan Pool"
categories: [demo]
tags: [demo, jekyll]
redirect_from:
  - /2017/05/27/
---

* Kramdown table of contents
{:toc .toc}
# About Balkan Mining Pool

Balkan Mining Pool is a NIMIQ Pool founded in March 2020 by a group of friends in order to support and share knowledge about NIMIQ throughout Balkan countries.

Minimum payout is 10 NIM and payouts happen automatically every 2 hours.

Current pool fee is 1% and we don't plan on increasing it.

Pool address: **pool.balkanminingpool.com:8444**

# Create A Nimiq Address

Visit [Nimiq's Wallet](https://safe.nimiq.com) to create an address. Always verify you are visiting https://safe.nimiq.com

Remember to store your private key by saving your Login File, Password and 24 words.  Keep it safe.

Once you have a Nimiq Address, store it for later.

# Install the Nimiq Miner

- **With GPU**: Download the [community GPU miner](https://github.com/tomkha/nq-miner).
- **Windows Miner**: [Try out Nimiq Desktop](https://nimiqdesktop.com/), CPU miner built by the community.
- **Linux Miner and Windows Terminal**: Download the official [Nimiq Miner](https://www.nimiq.com/developers/downloads/).

# Configure the miner

By adding '//' at the beginning of a line you disable it. This is called commenting a line

Comment the following lines:

	cert: “./my.domain.cer”, -> //cert: “./my.domain.cer”,
	key: “./my.domain.key” -> //key: "./my.domain.key"

Configure this line (note that you also need to uncomment it) :

	//protocol: “wss”, -> protocol: “dumb”,

In the miner section, configure the miner to be enabled (you only have to uncomment it):

	//enabled: “yes”, -> enabled: “yes”,

In the pool mining section, enable pool mining by uncommenting the line:

	//enabled: “yes”, -> enabled: “yes”,

Configure Balkan Pool

	//host: “pool.domain”, -> host: “pool.balkanminingpool.com:8444”,

Add your address

And finally start the miner.

gha_language: CSS


text:
# dbt_zuora_source v0.2.0
[PR #9](https://github.com/fivetran/dbt_zuora_source/pull/9) includes the following update:

## 🚨 Breaking Change 🚨
- Updated model configuration in `dbt_project.yml` to correctly reflect project configuration name as `zuora_source`. This is a breaking change because customers may unexpectedly see errors if they changed their materialization settings on any of their models.

## 🔧 Under The Hood 🔩
- Updated seed files in `integration_tests` to match those in `dbt_zuora` for the `v0.2.0` release.

# dbt_zuora_source v0.1.2
[PR #6](https://github.com/fivetran/dbt_zuora_source/pull/6) includes the following updates:
## Bug Fixes
- Included a where clause within **all** staging models to filter out `_fivetran_deleted` records.
- Added a conditional config within the `src_zuora.yml` to properly handle the `order` (reserved word) source table when using Snowflake as a destination.

## Documentation
- Added a call out in the identifier configuration section of the README to provide instructions for Snowflake users to handle the `order` source table if their destination has case sensitivity enabled.

## Under the Hood
- Added the `_fivetran_deleted` field to **all** `get_*_columns` macros to ensure the field may be leveraged in the respective staging models.

## Contributors
- [@raphaelvarieras](https://github.com/raphaelvarieras) ([PR #6](https://github.com/fivetran/dbt_zuora_source/pull/6))
# dbt_zuora_source v0.1.1
## Bug Fixes
- Included model disable logic within the `stg_zuora__credit_balance_adjustment_tmp` and `stg_zuora__refund_invoice_payment_tmp` models in order to ensure they are not run if the appropriate variables are set to `false`.

## Documentation Update
- Adjustment within the README to classify the package is no longer in development post v0.1.0 release.

## Under the Hood
- Updated `run_models.sh` script that is utilized in the integration tests of this package to ensure rollouts are successful prior to release.
- Updated the pull request [templates](/.github).

# dbt_zuora_source v0.1.0
🎉 Initial Release 🎉
- This is the initial release of this package.

This package is designed to enrich your Fivetran Zuora data by doing the following:

- Cleans, tests, and prepares your Zuora data from [Fivetran's connector](https://fivetran.com/docs/applications/zuora) for analysis.
- Add descriptions to tables and columns that are synced using Fivetran.
- Add freshness tests to source data.
- Add column-level testing where applicable. For example, all primary keys are tested for uniqueness and non-null values.
- Model staging tables which leverage data in the format described [here](https://fivetran.com/docs/applications/zuora#schemainformation), which can then be used simultaneously with our [Zuora modeling transformation package](https://github.com/fivetran/dbt_zuora).
- Currently the package supports Postgres, Redshift, BigQuery, Databricks, and Snowflake. Additionally, this package is designed to work with dbt versions [">=1.3.0", "<2.0.0"].

For more information refer to the [README](https://github.com/fivetran/dbt_zuora_source/blob/main/README.md).

gha_language: Shell


text:
# JCTools/JCTools

## Commits on Mar 30, 2021

1.  [Fix table-size long math on very large tables.](../commit/fix-table-size-long-math-on-very-large-tables.-66e6cbc.md)

   ```text
   Fix reprobe rate for pathological keys.
   Fix rare mis-count during table-promotion counting
   Allow a fast not-atomic size-preserving clear, for rapid recycling of large tables.
   Remove some IDE warnings.
   ```

## Commits on Nov 25, 2020

1.  [Fix](https://github.com/JCTools/JCTools/commit/deb1a6fa0e4aed3427b83081c877425c510e22aa) [\#330](https://github.com/JCTools/JCTools/issues/330) [replace issue in NBHM Identity map](https://github.com/JCTools/JCTools/commit/deb1a6fa0e4aed3427b83081c877425c510e22aa)

   ```text
   Also bring the NonBlockingIdentityHashMap implementation closer to the original NonBlockingHashMap resolving some issues in the process:
   * remove(Object key, Object val) should not use identity comparison
   * replace(TypeK  key, TypeV  oldValue, TypeV newValue) should not use identity comparison
   * missing assert in get
   * get_impl : comparing `key` instead of `K` (given instead of read)
   * putIfMatch0 : comparing `key` instead of `K` (given instead of read)
   The result is a much cleaner diff between NonBlockingIdentityHashMap and NonBlockingHashMap.
   ```

2. 3. 4. 5. 6. 7. 8. 9. 10.
## Commits on Oct 7, 2020

1.  [Fixed versions in pom](https://github.com/JCTools/JCTools/commit/d5ead9fc3e7c78db76d2ac531ef1046ac5bded28)

   ```text
   The version of jctools is 3.1.1-SNAPSHOT.

   But some some of the poms were pointing to 3.0.1-SNAPSHOT.

   I was not able to build to project without getting this fixed.
   ```


text:
---
layout: default
---

# 1994-12-11 - Real-time surveillance of the police

## Header Data

From<EMAIL_ADDRESS>(Michael D. Crawford)

To<EMAIL_ADDRESS>Message Hash: 79b820c37b70c6e7e7b4ced0ed39b1e92e3e5c93df5d7c2a0a0e8081db6f5311

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1994-12-11 21:44:38 UTC

Raw Date: Sun, 11 Dec 94 13:44:38 PST

## Raw message

```
{% raw  %}From<EMAIL_ADDRESS>(Michael D. Crawford)
Date: Sun, 11 Dec 94 13:44:38 PST
To<EMAIL_ADDRESS>Subject: Real-time surveillance of the police
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

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

In the December '94 issue of Wired, ("Watching the Detectives", p. 141),
Sandy Sanfort describes Bob Fleming's work to make real-time permanent
recordings of the body positions of police officers.

One could place a small sensor on each wrist and ankle, and record the
positions (and velocities) of the cops body to with a _centimeter_,
anywhere in a city.

The advantage for cops is that a fallen officer can be quickly located, and
a cop's claim to have witnessed an event can be corroborated by
demonstrating that he was actually there.

The advantage for society is that the cop's behaviour, such as billy-club
swinging velocity, can be monitored. It could detectgunfire, too, by
measuring the kick that is transmitted down the cop's wrist. This would
work to the extent that the equipment is actually mounted on the cop it
claims to belong to, so some manner of authentication would be needed.

Also discussed is the idea of car or helmet mounted cameras, transmitting
images continuously, to be stored by a neutral third-party, in the event of
a legal challenge, either from the accused claiming that the cop is lying,
or of claims of police brutality.

After the Rodney King incident, I had the notion, (which I did not act on
to actually promote, I'm sorry to say), that organizations representing
people that feel persecuted by the law could issue disposable cameras to
all there members. For example, if a street gang felt the cops were
thumping their members with unwarranted enthusiasm, the gang could purchase
a case of cameras at the local Price Club, and everyone could carry them to
photograph the cops. In addition, cameras could be unobtrusively mounted on
car hoods, perhaps with three or four such cameras multiplexing their
images onto a single videotape (one wants a wide, but not necessarily tall
aspect ratio; three such cameras with fisheye lenses could cover the hole
perimer of a car). The VCR would be in a fireproof safe welded to the car
frame (or use a surplus flight recorder package), so it would take extra
effort for a cop to conceal the evidence of wrongdoing after mistreating
the driver. It would also be handy for assigning responsibility in traffic
accidents.

Yes, that's right - keep surveillance cameras going on _yourself_. If
you're not doing anything illegal, you've got nothing to fear from taping
everything you do.

Of course, after the difficulty the City of Santa Cruz had in establishing
a Police Review commission, and considering that its powers were
eviscerated in light of a lawsuit threat by a police union, I expect that
it will be difficult to convince our Nation's Finest to adopt this new
technology - though I'm sure they'd be happy to apply it to parolees and
those serving on probation. Adoption could be initially achieved, though,
by pointing out to private security firms that their liability could be
reduced by monitoring their employees - obvious slackers could be
immediately fired, troublesome guards could be disciplined, and the firm
could demonstrate in court that the guard was nowhere near the scene when
the plaintiff claimed to have been beaten by a guard. Private security
guards have nowhere near the influence that police unions do, and so would
have little power in arguing against it. Later on, cities faced with
expensive lawsuits could strike a deal with the liability insurance
companies to save money if the city cops use this stuff.

After the DT fiasco, and the mention yesterday of the DOJ's new Big Brother
Database, I thought you'd like to hear that someone's working on giving Big
Bro the stick too. I personally feel that a society that _needed_ to do
this to its cops is an abhorrent society. But perhaps we could strike a
deal with Big Bro - if you don't tap our phones, we won't pass laws to tap
your cops.

Best Wishes in this Holiday Season,

-----BEGIN PGP SIGNATURE-----
Version: 2.6

iQCVAwUBLusCMKJTibhK6XY5AQF+IAP+MCHtgnCbJc96lrOcoNt0HWal4nNF7JVN
t6qIM6DDdGp5+IEimHTzgkUlUSZ4ojcIYEbjaae8Q58VRMOQ9zFaZlIWSeTTgZiQ
wXIicZJreKeonTI0mwZauAbtmuEy3vWRp19Qf2fYwaMOY3QLy1vhTgG7g2iRpccI
T6YspCxcYdw=
=YK34
-----END PGP SIGNATURE-----
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6

mQCPAy7JYr8AAAEEAJ4GpoYcH5abkSq5FZQ9LxoP9oKKQDXHRGZT8QCcnVZ8o87H
p9kEaUJIyzGbMHpO7C09qShwcrII2VfCZ77iWlBglmdLEa/dKXRCSWMFF52RcSDh
zJF8m0wE2SZ9x4Y6KuXM3RwJVdEKLhsAImxckvfj0UBvb5xtJ6JTibhK6XY5ABEB
AAG0LU1pY2hhZWwgRC4gQ3Jhd2ZvcmQgPGNyYXdmb3JkQHNjaXBwLnVjc2MuZWR1
PokAVQMFEC7p5d9yRW2Du2TJYQEB7YMB/2ToOoN7aVNUnGyykxKAVjvMDcMGgSPM
IR3+wUqzpAyH43tEwKBHStYj2jSlHimRXWi6lpvSwZ7rKsOtQoeSlnCJAJUDBRAu
yWQXolOJuErpdjkBAaRSA/48+f7RqKXbsLJIEx8b0A0XuA/671B6L7PiC3BS5kMh
QtIlRxFlgTLUp03D2TlbEyqoaJwwIjE71k3+V2rM712WGiDlQSRjtrU21/QDNzbZ
C48r+pUBO7bLHe/16ED8tgsSONH+7DIdQGw6uN1v4aTiOk2HxgDHGa3RjEewbrfW
2w==
=bZwx
-----END PGP PUBLIC KEY BLOCK-----

Michael D. Crawford
<EMAIL_ADDRESS>   <- Please note change of address.
<EMAIL_ADDRESS><- Finger me here for PGP Public Key.

{% endraw %}
```

## Thread

+ Return to [December 1994](/archive/1994/12)

+ Return to<EMAIL_ADDRESS>(Michael D. Crawford)](/authors/crawford_at_scruznet_com_michael_d_crawford_)"
+ Return to<EMAIL_ADDRESS>(Timothy C. May)](/authors/tcmay_at_netcom_com_timothy_c_may_)"

+ 1994-12-11 (Sun, 11 Dec 94 13:44:38 PST) - Real-time surveillance of the police -<EMAIL_ADDRESS>(Michael D. Crawford)_
  + 1994-12-11 (Sun, 11 Dec 94 14:05:23 PST) - [Re: Real-time surveillance of the police](/archive/1994/12/515f773873e2b4ca4e858d2f873aed7a7486cdaf17e1328ec628e79e42cf956b) -<EMAIL_ADDRESS>(Timothy C. May)_


text:
---
layout: post
title: "blessing in disguise"
---

Despite college year is one of the most flourishing year I had in my life, it's also the phase I felt outrage most often.

To be honest, I didn't like computer science in my first year. I didn't even think about it, I skipped classes, didn't do assignments and have some D in my semester report.

If it's not for God's touch, I won't make my way to what I'm doing now. And for the record, I'm forever grateful for the journey I've been through. It's a miracle.

He-eh, I skipped a part. Why did I feel outrage, you asked?

It's because I took college in East Java. There, the culture of patriarchy is so strong that I felt offended of the privilege it give to men and what not to give for women.

Once, I have to be dismissed from the lab because it's _curfew_. I was in the middle of doing final project and in a full focus mode. I remember riding home feeling upset, sad, anger at that time. I think I cried a little under the helmet.

The reason of why I was dismissed is not because _what I'm doing_, it's because _what people think if I stayed there_.

If women stays overnight there, it's something shameful despite what she's doing is just learning and may take some sleep after midnight. And men can do whatever he want to do there even it's not learning-related. They just gaming all night, snacking all the time and what-not, what a waste to taxpayer money (it's government-subsidized institute). And it's not one-twice occasion, they did it everyday. They should do an audit of where's the facility goes, if they want to check on how much patriarchy spend compared to how much the return is.

That sounds resentful. No, I'm not hating patriarchy. What I resent is how unfair the position it put of women compared to men. I just didn't understand the mindset.

Both have brain, eats rice everyday, but why one can't enjoy the facility as much as the other? Why does one sent home and one can continue their work/game in a very privileged place with fast-speed wifi network, PCs free to use, an entire server to experiment with? Some men abuse the power patriarchy give them, and they close their eyes of what they're actually doing.

Well, one can argue that women can continue their learning at the next day. If you say that too, then you don't see my point. If this is an eating contest, one you only give 2 hour while the other have 8 to finish their plate. Who will win?

You bet, I didn't stay there after I graduated. I moved to capital because I know the culture here won't be the same. And it is.

One of the good thing I left from this bad culture is, afterwards I never let someone dictate me just because I'm a woman. It's never about their opinion, it's about what I can do. Grit stays on me. I might not have much intelligence, but what I have is passion of doing my best on never leave things unfinished. It's either done, or I don't take it in the first place.

Thank you for the lesson, patriarchy.  For your information, your opinion is not asked but will be put as an appendix.

gha_license_id: NOASSERTION


text:
# Migration

TO DO:
- display flows (to and from each region?)
- migration leaving the UK (+net external)
- reason for migration
- origin of external migration (how do different areas of the world compare)
- is migration different for different age bands? e.g. young people moving for education etc.

Internal and external migration in the UK.
For the purpose of this work, internal migration is considered as that originating and ending within the UK.
External is that originating from countries outside the UK.

Migration data obtained from 2011 [Census](https://www.nomisweb.co.uk/census/2011/origin_destination).
Shapefiles obtained from the Office for National Statistics [geoportal](http://geoportal1-ons.opendata.arcgis.com/datasets/fab4feab211c4899b602ecfbfbc420a3_2).

The data used displays the changes in residence from one year to the next. It is displayed in Local Authority Districts (LADs as of 2011).

The previous place of residence of 2011 internal migration to Leeds is shown in figures 1 & 2. Most internal migrants lived in LADs within Yorkshire in the year prior to moving to Leeds. Approximately 69% of Leeds residents already resided in Leeds the previous year. The remaining movement mainly originates from large cities in the UK such as Sheffield and Manchester.

![Migration to Leeds](img/migration_to_Leeds.png)
**Figure 1.** Origin of Migration to Leeds. Most migration to Leeds originates from  Yorkshire, although there is some movement from large cities such as Sheffield. The value for residents remaining in Leeds has been set to zero for clarity.

![top 10 to Leeds](img/top10_to_Leeds.png)
**Figure 2.** Top 10 origins of migration to Leeds.

The destination distribution of migration originating from Leeds (figure 3) is quite similar to the origin distribution seen in figure 1. The main differences are caused by a larger migration towards big cities, with slight increases to all major cities (Manchester, Birmingham, Newcastle, Nottingham ...).

![Migration from Leeds](img/migration_from_Leeds.png)
**Figure 3.** Destination of Migration Originating from Leeds. The destination of migration from Leeds looks quite similar to the distribution seen in figure one.

Having data for migration entering and leaving each city, the net internal migration for the UK can be calculated. This is displayed in figure 4. As expected, large cities such as Manchester are strong attractors of migration. This is also true for the capitals of Wales (Cardiff) and Northern Ireland (Belfast). However, London has a strongly negative internal migration, with many people leaving London towards other cities across the UK.

![Net Internal Migration](img/net_internal_migration.png)
**Figure 4.** Net Internal Migration in the UK. In general, net migration is positive for big cities such as Manchester, as well as the capitals of Wales (Cardiff) and Northern Ireland (Belfast). It is interesting to note that London has a strongly negative net internal migration, perhaps due to a positive external migration which then moves internally across the UK.

The scale of migration entering the UK from the rest of the world is quite large compared to internal migration. Most of this having large cities as the destination, this can be seen in figure 5. The key difference between internal and external migration is that London is a major destination for overseas migration. This migration to London is much larger than that leaving London internally. This results in a net positive population change for London. It seems like London attracts external migration as a first destination in the UK, and then this spreads towards other locations within the UK.

![External Migration](img/external_migration_to_UK.png)
**Figure 5.** External Migration to the UK. Similar to internal migration, big cities attract external migration. The key difference is that London is a major destination for external migration.

repository: gcruzgar/migration

repo_name: gcruzgar/migration


text:
# tslib for nativescript

[tslib](https://www.npmjs.com/package/tslib) is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions.

Unfortunately just importing `tslib` breaks NativeScript projects.

This plugin solves this issue.

## Usage

***Install module***
```bash
npm i --save nativescript-tslib
```

***Edit: app/main.ts***
```typescript
import 'nativescript-tslib'; // <-- Add this

// this import should be first in order to load some required settings (like globals and reflect-metadata)
import { platformNativeScriptDynamic } from 'nativescript-angular/platform';

import { AppModule } from './app.module';

// A traditional NativeScript application starts by initializing global objects, setting up global CSS rules, creating, and navigating to the main page.
// Angular applications need to take care of their own initialization: modules, components, directives, routes, DI providers.
// A NativeScript Angular app needs to make both paradigms work together, so we provide a wrapper platform object, platformNativeScriptDynamic,
// that sets up a NativeScript application and can bootstrap the Angular framework.
platformNativeScriptDynamic().bootstrapModule(AppModule);
```

You can enable `importHelpers` in `tsconfig.json`, but you might break your app if you extend native-classes.

## Alternative

You can set `tsconfig.json` target to es6, but when you can't extend native classes in your project.

repository: m-abs/nativescript-tslib

repo_name: m-abs/nativescript-tslib


text:
---
title: Event Cycles
page_title: Event Cycles
description: Check our "Event Cycles" documentation article for the RadUpload {{ site.framework_name }} control.
slug: radupload-events-event-cycles
tags: event,cycles
published: True
position: 1
site_name: Silverlight
---

# Event Cycles

This topic will explain the order in which the events described in the [Overview]({%slug radupload-events-overview%}) topic get fired.

* __FileTooLarge__, __FileCountExceeded__, __UploadSizeExceeded__ - these events can get triggered if some of the selected files exceed the predefined criteria.

* __FilesSelected__- raises when the user has selected files from the browse dialog window. This is the first of the __RadUpload__ specific events that can be triggered by the actions of the user.

* __UploadStarted__ - raises when the user clicks the __Upload__ button.

* __FileUploadStarting__ - raises during the upload of each file.

* __FileUploadFailed, ProgressChanged, FileUploadPaused, FileUploadResumed, FileUploadCanceled__ - these events can be triggered in different order, depending on the user actions.

* __FileUploaded__ - raises when the file has been fully uploaded.

* __UploadFinished__ - raises when all files in the list have been processed, no matter this has been successfully done or not.

## See Also
 * [Events - Overview]({%slug radupload-events-overview%})
 * [Programmatic Upload]({%slug radupload-features-programmatic-upload%})

repository: telerik/xaml-docs

repo_name: telerik/xaml-docs


text:
# Json Configuration

A simple implementation to allow .json configuration handling with Bukkit.

## Compiling

This project utilizes Maven as build and dependency management tool.

1. Make sure to have Maven and Git installed.
2. Clone this repository with `git clone https://github.com/WinX64/json-configuration.git`
3. Build the project and install it on your machine with `mvn clean install`
4. Use it on whatever project you desire. Make sure that the dependency is available at runtime.

## How to use

As this library was made to be compatible with the existing configuration API, it can be easily swapped in already written code.

All that is necessary is a change in the line that loads the configuration, from `YamlConfiguration.loadConfiguration(...);` to `JsonConfiguration.loadConfiguration(...);`.

Writing, reading and saving the configuration stays the same.

## Contributing

Feel free to open a pull request if you have any improvement or fix to propose, and it will be reviewed as soon as possible.

## License

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

## Acknowledgments

* The Bukkit Team for providing the base of the configuration API.
* Google for providing the [gson](https://github.com/google/gson) library.


text:
# my-first-website
This is the first website I made as part of the coursework during first year of university

It consists of a main page containing a Literature Review made as part of the unit coursework, a discovery log of the making of the website and a video that includes subtitles.

The website uses HTML5 and CSS which provides a responsive design, and is made so it will work on all mayor browsers.

If you want to view it feel free to do so, probably you know enough to make a quick local server, (the verification links wont work if you have the server in a local network). If by a very odd chance you have never made a local server you should look into node.js and http-server from npm, a simple and easy to use http server.

repository: jvaque/my-first-website

repo_name: jvaque/my-first-website


text:
---
title: 3.8 Integrate Target with Dynamic Media (Scene7)
description: Integrate Adobe Target and Dynamic Media (Scene7)
topics:
feature: implementation
audience: developer
activity: implement
doc-type: technical video
team: Technical Marketing
kt: 5388
thumbnail: 35148.jpg
---

# Integrate Target with Dynamic Media (Scene7)

## Description

In this video, you learn how to:

* Integrate Adobe Target and Dynamic Media (Scene7)

## Intended Audience

* Developers

>[!VIDEO](https://video.tv.adobe.com/v/35148/?quality=12)

For more information, visit the [documentation](https://docs.adobe.com/content/help/en/target/using/administer/scene7-settings.html).


text:
---
layout: project
title: Sudan Historical Photography Archive
description: a library of images on Sudanese history as a pedagogical tool and resource to Sudanese students and researchers.
link: "http://smallaxe.net/sxarchipelagos/"
img: sudanphoto.png
author: Alex Gil
people:
- Rebecca Glade
- Marii Nyrop
- Alex Gil
teams:
- Group for Experimental Methods in the Humanities
---

The Sudan Historical Photography Archive is overseen by the History Department of Khartoum University as part of its broader historical photography library which seeks to provide a library of images on Sudanese history as a pedagogical tool and resource to Sudanese students and researchers. This library includes images and books that display all parts of Sudanese history.

The archive collects and preserves original photography from Sudan’s past, particularly old photographs taken by Sudanese photographers during the periods of the Condominium and early independence. While the archive is equipped to preserve negatives, the images themselves are scanned and stored digitally, so that they can be examined and searched easily by anyone consulting them. It is open to all students, researchers, and scholars interested in the history of Sudanese society.

repository: cul/dlst-dh

gha_language: HTML

repo_name: cul/dlst-dh


text:
# ERP Data Visualizer

Live demo [here](https://pushpendersaini0.github.io/erp-data-visualizer/)

Erp Data Visualizer is an open source tool to plot the absent summary data from ERP of ncuindia into beautiful and informative graphs and tables.

### Working

* The tool takes user's ASP Session ID as input which the user can find in cookies after a successful login in erp website.

* The Session ID is used to make a call to a Google Cloud Function that will scrape the tables in absent summary section and convert the result into JSON.
    * The code hosted on Google Cloud Function can be found in the `cloudFunctionHandler` folder

* This JSON is then stored and processed in client browser using JS and the processed data is plotted using Chatjs library

### Build

* The Js is bundled and served from the build branch

### Contribution

The code is commented out and easy to understand , to contribute make your changes and test on a local machine then start a pull request with the details of changes made.

repository: algo-ryth-nic/erp-data-visualizer

repo_name: algo-ryth-nic/erp-data-visualizer


text:
---
order: 5
---

wq.db template Loader
========

As of wq.db 1.0, the Mustache-powered template engine has been extracted into a separate library: [django-mustache](https://github.com/wq/django-mustache).

repository: Arezohayeman/wq

repo_name: Arezohayeman/wq


text:
# How to install IML using Docker stack

[**Software Installation Guide Table of Contents**](ig_TOC.md)

Starting with Integrated Manager for Lustre 5, the IML manager is available via docker using [docker stack](https://docs.docker.com/get-started/part5/). N.B. docker-compose is also supported but is _only intended for development use_.

## Setup

1. Install Docker on your node and init the swarm. The following assumes RHEL 7 as the host OS, but any docker compatible host should work.

   ```sh
    # This must be done due to: https://success.docker.com/article/ipvs-connection-timeout-issue
    echo net.ipv4.tcp_keepalive_time = 600 >> /etc/sysctl.conf
    sysctl -p
    yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
    yum install -y docker-ce
    systemctl enable --now docker
    docker swarm init --advertise-addr=<IP_ADDRESS> --listen-addr=<IP_ADDRESS>
   ```

1. Pull the `docker-compose.yml` from the IML repo. This is used by `docker stack` to bring up IML.

   ```sh
    cd /tmp
    wget https://raw.githubusercontent.com/whamcloud/integrated-manager-for-lustre/master/docker/docker-compose.yml
   ```

1. Create a new file `docker-compose.extra-hosts.yml`, adjacent to docker-compose.yml. It should contain host to ip mappings for each storage server, so the job-scheduler can map them correctly:

   ```yaml
   version: "3.7"
   services:
     job-scheduler:
       extra_hosts:
         - "<STORAGE_SERVER_X_NAME>:<STORAGE_SERVER_X_IP>"
         - "<STORAGE_SERVER_Y_NAME>:<STORAGE_SERVER_Y_IP>"
         - ...
   ```

1. Create a [docker secret](https://docs.docker.com/engine/swarm/secrets/) with a new root IML password

   ```sh
    echo <PASSWORD_HERE> | docker secret create iml_pw -
   ```

1. Deploy the stack. This will bring up the manager within docker.

   ```sh
   docker stack deploy -c /tmp/docker-compose.yml -c /tmp/docker-compose.extra-hosts.yml iml
   ```

1. Add an entry to the host OS hostfile so that it's IP points to nginx.

   ```text
   <HOST_IP>	nginx
   ```

1. Login to the GUI via `https:://<HOSTNAME>:7443` or `https:://<HOST_IP>:7443` and proceed to deploy agents to storage servers.

## Stopping

If you wish to stop the IML stack from running, do the following:

1. Stop the stack

   ```sh
    docker stack rm iml
    # make sure all services have stopped
    docker stack ls iml
   ```

1. Optionally stop and disable docker

   ```sh
    # Optionally stop docker
    systemctl stop docker
    # Optionally disable
    systemctl disable docker
   ```

## Starting

If you wish to start the IML stack again, do the following:

1. Optionally enable and start docker:

   ```sh
    systemctl enable --now docker
   ```

1. re-deploy the stack

   ```sh
    docker stack deploy -c /tmp/docker-compose.yml -c docker-compose.extra-hosts.yml iml
   ```

license: OpenSSL,MIT

repository: robdyke/Online-Help

detected_licenses: OpenSSL MIT

gha_language: Ruby

repo_name: robdyke/Online-Help


text:
---
layout: relation
title:  'obl:obj'
shortdef : 'NP-related object'
udver: '2'
---

The relation `obl:obj` is used for the NP related to the object core-argument in a head-marking language.
In Guajajara, a head-marking language, the core arguments are indexed on the predicate, but the NPs related to the core-arguments
are in free-order (?) in relation to the head.

```
Aβá kuɲã o-s-epjak
man woman 3S-3O-see
The man sees the woman / the woman saw the man
```

~~~ sdparse
Aβá kuɲã osepjak . \n the man sees the woman .
obl:subj(osepjak, aβá)
obl:subj(3-3-see, man)
~~~

<!-- Interlanguage links updated Út 9. května 2023, 20:04:29 CEST -->

repository: UniversalDependencies/docs

branch_name: refs/heads/pages-source

repo_name: UniversalDependencies/docs


text:
# SnekO
A small operating system to play snake

The operating system boots and launches a snake program which can be played with the arrow keys.

### Dependencies to build:
 - Docker

To build the image, run bin/compile.sh. It will create a docker image with a cross compiler which will subsequently build the image. The final image can be found as build/image.elf.

### Emulation

I recommend using bochs. The repo has a bochsrc file already in the root.

repository: Thombrom/SnekOS

repo_name: Thombrom/SnekOS


text:
# scipy
Scientific Python for Minicubes

A group of entusiast from GNACODE wish to bring faster features to people using the minicubes. Since the minicubes uses the REST interface to communicate it is possible to use very simple programs in e.g. Jupyter Notebook to prompt responses from the minicube and perform analysis on extracted data.

We will provide full tutorials including extracted data that can be tried out and improved without the need for actually having a minicube device

We will also provide the tools for interacting with the Minicube devices on your network.

repository: Gnacode/scipy

repo_name: Gnacode/scipy


text:
# Sampling a high dimensional space under non-linear constraints.
Initially composed as a technical challenge for Citrine. This includes a package with an example
[jupyter notebook](notebooks/Adaptive%20Displacement.ipynb),
 [python script](scripts/sampler.py), [installed script](bin/sampler) , and [unit tests](test).
 The principle functionality of the package is to use a Markov chain
 Monte Carlo to sample a unit hypersphere subject to constraints. The approach by default uses an adaptive displacement procedure
 for a variable rate of exploration dependent on the acceptance rate of points.
 Example input files are available in the [examples](examples) folder,
 with corresponding outputs in the [data](data) folder.
 For more information on the input format, please consult
 the [prompt](prompt.pdf).

## Install from source
Clone the git repository located at
[github.com/maffettone/constrained_sampler](https://github.com/maffettone/constrained_sampler.git).

Navigate to the cloned repository and run `pip install .`

From source, the python script can be run using `python scripts/sampler.py`, or using the command `sampler` after install.
Note that this package is dependent on [numpy](https://docs.scipy.org/doc/numpy/reference/).

## Install from PyPy
`pip install constrained-sampler-maffettone`

This will download the source and install into the current environment. The script `sampler` will then be
available in the path for use.

## Operation
Several additional optional parameters are included in the script to allow for more/less thorough sampling of space.

| Command | Description |
| --- | --- |
| -s --seed | Optional integer for seeding the random number generator. |
| -m --max_steps | Maximum number of steps for internal Markov chain. Defaults to 1e7. |
| -t --timeout | Timeout for sampler in minutes. Sampler will exit if exploration of max_steps is incomplete in timeout minutes. Defaults to 4.5 minutes.'|
| -a --acceptance_rate | Desired acceptance rate for internal Markov chain. This impacts the adaptive displacement algorithm. Defaults to 0.01. |

## Scaling and future work
* Given the security considerations of `eval` in the provided Constraint class, and the nature of the functions evaluated,
this could be replaced with a Pandas based evaluation function that is more secure.
* There are a number of special cases have analytic solutions (linear constraints defining a simplex), that can be hard-coded
in a switch case for speed in these circumstances.
D. B. Rubin, The Bayesian Bootstrap *Ann. Statist.*, **9** 1981, 130-134.
* This approach takes a memory intensive approach in assembling a broad sampling of space, then randomly sampling a subset
of that broad sample as needed. More time expensive processes (below) can and be implemented that do not retain a broad sample
during the Markov process.
* Usage of the autocorrelation function would allow for sampling from the Markov chain dynamically only as samples become
sufficiently uncorrelated. This would work in a less memory intensive way than the implemented adaptive displacement + resampling.
D. Chandler, Introduction to Modern Statistical Mechanics (Oxford University Press, 1987).


text:
# CelticsRoster

This gem lists the roster of the current Boston Celtics, and allows the user
to choose a player to see their stats from the previous game they played.

## Installation

Clone repo "https://github.com/fizzleRaider7645/celtics_roster"
cd into the file's location
to run enter 'bin/celtics_roster' in terminal

## Usage

TODO: Run 'bin/celtics_roster' and enter the 'list number' associated with the
player you would like to select. To exit, type 'exit'.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/celtics_roster. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

## Code of Conduct

Everyone interacting in the CelticsRoster project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/celtics_roster/blob/master/CODE_OF_CONDUCT.md).


text:
__Description__: User should be able to create a lost grid `column` using either the object or shorthand notation

Notation
- Object
```
column: {
  fraction: <string || literal>
  gutter: <string || literal --> default: 30px>
  cycle: <string || literal -- default: fraction denominator>
  flex: <boolean -- string || literal -- default: true>
  none: <boolean -- string || literal -- default: false>
}
```
- Shorthand
```
column: <fraction> <cycle> <gutter> <flex>
column: <none>
```

__Notes__

- Lost test description: provides 2/5 column layout
    + https://github.com/peterramsing/lost/blob/master/test/lost-column.js
- You can use the keyword `default` use the default value for any value in both the object and shorthand notation

Lost Docs
- Lost description: Creates a column that is a fraction of the size of its containing element's width with a gutter.
    + `fraction` - This is a simple fraction of the containing element's width.
    + `gutter` - The margin on the right side of the element used to create a gutter. Typically this is left alone and settings.gutter will be used, but you can override it here if you want certain elements to have a particularly large or small gutter (pass 0 for no gutter at all).
    + `cycle` - Lost works by assigning a margin-right to all elements except the last in the row. It does this by default by using the denominator of the fraction you pick. To override the default use this param., e.g.: .foo { lost-column: 2/4 2; }
    + `flex|no-flex` - Determines whether this element should use Flexbox or not.
    + `none` - Resets the column (back to browser defaults)

repository: ctr-lang/ctr

repo_name: ctr-lang/ctr


text:
+++
# About/Biography widget.
widget = "about"
active = true
date = 2018-06-09T00:00:00

# Order that this section will appear in.
weight = 5

# List your academic interests.
[interests]
  interests = [
    "Web Applications",
    "Coding Education",
    "Virtual and Augmented Reality",
    "Engineering"
  ]

# List your qualifications (such as academic degrees).
[[education.courses]]
  course = "Honours in Computer Science"
  institution = "The University of Western Australia"
  year = "Current"

[[education.courses]]
  course = "B.Sc in Engineering and Computer Science"
  institution = "The University of Western Australia"
  year = 2017
+++

# Biography

Fraser Bullock is an honours student for Computer Science at the University of Western Australia. His research interests include the latest in Web Application technologies, coding education, and Virtual and Augmented reality. He is also a Senior Research Assistant for the UWA System Health Lab and Technical Director of ThinkHub.io.


text:
# November Log

## Abstract

In this month, we built an `electron` app using `electron-vue` and `vue-admin`, and did some research including more usable map and more humanized operation in our app.

## Plugins

we use the `js` plugins and tools as follows:

:::tip
All of these code could be found in GitHub.
:::

1. webpack
   At its core, webpack is a static module bundler for modern JavaScript applications. When webpack processes your application, it internally builds a dependency graph which mapsevery module your project needs and generates one or more bundles.

2. vue-cli
   Vue CLI aims to be the standard tooling baseline for the Vue ecosystem. It ensures the various build tools work smoothly together with sensible defaults so you can focus onwriting your app instead of spending days wrangling with configurations. At the same time, it still offers the flexibility to tweak the config of each tool without the need forejecting.We using `vue-cli` and `webpack4` successed in build our app.

3. SASS/SCSS
   Sass is the most mature, stable, and powerful professional grade CSS extension language in the world.
   We using it in compling our css file.

4. HBuilder X

5. `moment.js`
   Some bug fixed: time error that makes history function uncorrected.

6. function: marquee

## Functions

In the project, wo implemented theses functions:

- New Version
  `V 4.0.0` is released! More bug fixed, and new interfacial design and UI design, and new framwork, and multi-platform.
  More functions is on the way...

- History
  the key design concepts is that we make the history could be searched efficiently using custom framwork, coded by C/C++, the code could be see at github.

- Cache
  It is also a great design concept that make our app faster.

- Map
  A bigger map using `svg`.

- Mail
  SMTP protocol using to notify, implemented by Python, and next step will by C++, make it faster.

- Bug Fixed
  Fixed a lot of bugs.

repository: chenweigao/vueblog

repo_name: chenweigao/vueblog


text:
<!--
changelogUtils.file is auto-generated using the monorepo-scripts package. Don't edit directly.
Edit the package's CHANGELOG.json file only.
-->

CHANGELOG

## v1.1.3 - _March 1, 2019_

    * Dependencies updated

## v1.1.2 - _February 27, 2019_

    * Dependencies updated

## v1.1.1 - _February 26, 2019_

    * Dependencies updated

## v1.1.0 - _February 25, 2019_

    * Upgrade contracts to Solidity 0.5.3 (#1604)
    * Make constants internal (#1604)

## v1.0.5 - _February 9, 2019_

    * Dependencies updated

## v1.0.4 - _February 7, 2019_

    * Dependencies updated

## v1.0.3 - _February 7, 2019_

    * Fake publish to enable pinning

## v1.0.2 - _February 6, 2019_

    * Dependencies updated

## v1.0.1 - _February 5, 2019_

    * Dependencies updated

## v1.0.0 - _Invalid date_

    * Rename contracts-libs to contracts-exchange-libs (#1539)
    * Move LibAddressArray contract to contracts-utils (#1539)

branch_name: refs/heads/development

gha_language: TypeScript


text:
## Imagine Engine Programming Guides

Welcome to Imagine Engine's programming guides section!

While it's currently quite empty, this section will soon be filled up with targeted programming guides for each of the engine's APIs and features. If you want to help out, feel free to submit a PR adding a new guide! 👍

## Available guides

**[Custom Events](CustomEvents.md):** Learn how to use custom events to communicate between different parts of your game code.

repository: krooked/ImagineEngine

repo_name: krooked/ImagineEngine


text:
# Docker

Docker is a library for the [Go Programming Language][go]. It provides some
operations to manage Docker containers.

## Status

[![Build Status](https://img.shields.io/travis/raiqub/docker/master.svg?style=flat&label=linux%20build)](https://travis-ci.org/raiqub/docker)
[![AppVeyor Build](https://img.shields.io/appveyor/ci/skarllot/docker/master.svg?style=flat&label=windows%20build)](https://ci.appveyor.com/project/skarllot/docker)
[![Coverage Status](https://coveralls.io/repos/raiqub/docker/badge.svg?branch=master&service=github)](https://coveralls.io/github/raiqub/docker?branch=master)
[![GoDoc](https://godoc.org/github.com/raiqub/docker?status.svg)](http://godoc.org/github.com/raiqub/docker)

## Features

 * **Container** type which provides commands to manage containers.
 * **Docker** type to manage Docker binary directly.
 * **Image** type which provides commands to manage images.
 * **ImageMongoDB** type which represents a MongoDB's Image.

## Installation

To install raiqub/docker library run the following command:

```bash
go get gopkg.in/raiqub/docker.v0
```

To import this package, add the following line to your code:

```bash
import "gopkg.in/raiqub/docker.v0"
```

## Examples

Examples can be found on [library documentation][doc].

## Running tests

The tests can be run via the provided Bash script:

```bash
./test.sh
```

## License

raiqub/docker is made available under the [Apache Version 2.0 License][license].

[go]: http://golang.org/
[doc]: http://godoc.org/github.com/raiqub/docker
[license]: http://www.apache.org/licenses/LICENSE-2.0

repository: golint-fixer/docker

repo_name: golint-fixer/docker


text:
---
templateKey: blog-post
title: 'Hawking: A life like no other'
date: 2018-03-15T21:10:28.734Z
description: >-
  'Hawking: A Life like No Other' was organised by IEEE SB TKMCE to honour the
  life and works of Dr. Stephen Hawking
tags:
  - IEEE
---
'Hawking: A Life like No Other' was organised to honor the life and works of the renowned physicist, Dr. Stephen Hawking. It was organised on 16th March 2018, in the EEE seminar hall. A lot of students from all the branches attended the event, to pay tribute to the scientist. The event began with the screening of the 2016 documentary, 'Favourite Places', featuring a voice-over from Hawking. The documentary was a visual treat that took the viewers on a trip of Hawking's favorite places in the universe. This was followed by a brief discussion on modern physics and research opportunities in undergraduate level.

![Remembering Hawking](/img/hawking.jpg)

repository: AmalJossy/IEEE-SB-TKMCE-website

repo_name: AmalJossy/IEEE-SB-TKMCE-website


text:
# openml-pimp
This work aims to answer the questions:
* Which hyperparameters to optimize
* Over what ranges / priors

## Short Video
[![Youtube Video](https://img.youtube.com/vi/mS4vL7_rSWQ/0.jpg)](https://www.youtube.com/watch?v=mS4vL7_rSWQ)

(Explanation of the work in less than 3 minutes)

## Data
All data in this paper can be reproduced using [this notebook](https://github.com/janvanrijn/openml-pimp/blob/master/KDD2018/results.ipynb). Additionally, [this folder](https://github.com/janvanrijn/openml-pimp/tree/master/KDD2018/data/arff) contains arff files containing a large fraction of the meta-data generated for this project.

## Paper

[Hyperparameter Importance Across Datasets](https://dl.acm.org/citation.cfm?id=3220058) by Jan N. van Rijn and Frank Hutter [(ArXiv)](https://arxiv.org/abs/1710.04725)

## Bibtex
If you find this work useful, please cite:
```
@inproceedings{Rijn2018Hyperparameter,
  title        = {Hyperparameter Importance Across Datasets},
  author       = {van Rijn, Jan N. and Hutter, Frank},
  booktitle    = {Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining},
  year         = {2018},
  organization = {ACM},
  pages        = {2367--2376}
}
```

repository: janvanrijn/openml-pimp

repo_name: janvanrijn/openml-pimp


text:
# QUOTES

#### {Created on {21/7/2021}
#### By **{Casey Kyalo}**
### {current Version 1.0}
## Description
{This  an application where users can create quotes and have those quotes voted on whether they are terrible or are inspirational. }

## Setup/Installation Requirements
{ You need a web browser installed on your machine to run this program
Clone the repository to your local machine from the online repository.(https://github.com/caseymusila/Feel-good-quotes.git)

## live site
{click here to acess the live site https://caseymusila.github.io/Feel-good-quotes/
}

## Technologies Used
{ created application using
* CSS
* HTML
* BOOTSTRAP
*  Angular CLI.
}

## Behaviour Driven Devlopment(BDD)

| Behaviour                |  Input                | Output                 |
| -------------            | -------------         |------------------------|
| Submit                   | Quote,Author,date     | adds Quote             |
| -------------            | -------------         |------------------------|
| Upvote                   |                       | adds quotes votes      |
| -------------            | -------------         |------------------------|
| Downvote                 |                       | subtracts quotes votes |
| -------------            | -------------         |------------------------|
| Delete                   |                       | deletes quote          |
| -------------            | -------------         |------------------------|

## Support and contact details
{contact me through<EMAIL_ADDRESS>phone number:0702251956 for inquries and contributions.}

## License
LICENSE (https://github.com/caseymusila/Feel-good-quotes/blob/master/LICENSE)

## Acknowledgments
Casey Musila

repository: caseymusila/Feel-good-quotes

repo_name: caseymusila/Feel-good-quotes


text:
---
layout: default
---

# 1997-10-27 - Re: Singaporean control freaks & CMR (Re: puff pieces vs tough crypto  issues)

## Header Data

From: Blanc<EMAIL_ADDRESS>To: Harish Pillay<EMAIL_ADDRESS>Message Hash: 1455fef469839ac7640c1ea455bffb6b4d73d7605af5332189061dcc17f84499

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1997-10-27 10:57:15 UTC

Raw Date: Mon, 27 Oct 1997 18:57:15 +0800

## Raw message

```
{% raw  %}From: Blanc<EMAIL_ADDRESS>Date: Mon, 27 Oct 1997 18:57:15 +0800
To: Harish Pillay<EMAIL_ADDRESS>Subject: Re: Singaporean control freaks & CMR (Re: puff pieces vs tough crypto  issues)
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

Harish Pillay wrote:

>I don't think the "micro management" is at it's worst in Singapore - not by
>a long shot.  It is true that the Singapore government tries to do so and
>in a lot of what they attempt, they somehow come out smelling roses.  But
>they have goofed up royally as well.
...................................................................

If you don't mind my asking in front of everybody, how do you stand it,
living there?  Do you get very frustrated (it sounds as though you might),
and want to leave for Anguilla?   Do you remind yourself not to litter with
those gum wrappers you're not supposed to have anyway, what do you think
when you're being incentivized to find a sexual partner and produce
children, or to Do This and Not do That or risk painful punishments?  Do
co-workers become critical of each other's petty "crimes", do you feel
opressed all around, or is it not as bad as it seems from here?

    ..
Blanc

{% endraw %}
```

## Thread

+ Return to [October 1997](/archive/1997/10)

+ Return to "[Blanc <blancw@cnw.com>](/authors/blanc_blancw_at_cnw_com_)"
+ Return to "[Harish Pillay <harish@ganymede.contact.com.sg>](/authors/harish_pillay_harish_at_ganymede_contact_com_sg_)"
+ Return to "[TruthMonger <tm@dev.null>](/authors/truthmonger_tm_at_dev_null_)"

+ 1997-10-27 (Mon, 27 Oct 1997 18:57:15 +0800) - Re: Singaporean control freaks & CMR (Re: puff pieces vs tough crypto  issues) - _Blanc<EMAIL_ADDRESS>  + 1997-10-27 (Mon, 27 Oct 1997 22:42:39 +0800) - [Re: Singaporean control freaks & CMR (Re: puff pieces vs tough](/archive/1997/10/904ef39cb2762c7c07edc792a55544a09f677bb27339a1c9d8036c3dc37e09b5) - _Harish Pillay<EMAIL_ADDRESS>  + 1997-10-27 (Tue, 28 Oct 1997 06:33:06 +0800) - [Re: Singaporean control freaks & CMR (Re: puff pieces vs tough crypto  issues)](/archive/1997/10/ba4fa3fcf91991868bcdd83e646d139f558000e27f3a9ddc846ec21e060434c0) - _TruthMonger<EMAIL_ADDRESS>


text:
---
customer: CSA
customer_long: Canadian Space Agency
prime_contractor: CS CANADA
image: Project-CSA-MUSES-EN pict 1.png
size: small
name: MUSES
title: MUltisensor value-added products and Services from satellite temporal sEries analysiS
domains: Image, Data Processing, EO Services
department: SPACE
program: Radarsat
domains: Image, Data Processing, EO Services
summary: "Management of the full cycle of EO data from search, collection, storage and access to dissemination (Copernicus, Radarsat/RCM…). Optimized processing and analysis chains and services managing volume and heterogeneity of data. Methods for analysis and classification of radar/optical time series based on deep learning technologies and Dempster Shafer approach"
---

> __Customer__\: Canadian Space Agency (CSA)

> __Programme__\: Radarsat

> __Supply Chain__\: CSA > CS CANADA >  CS Group SPACE

# Context

CS Group responsabilities for MUltisensor value-added products and Services from satellite temporal sEries analysiS are as follows:
* Datacube development.
* Sentinel-1/2 Land cover map prototype (from IOTA² library and CRIM methods).
* Flood risk assessment product.

![Main Picture](Project-CSA-MUSES-EN pict 1.png)

The features are as follows:
* Optimization (and automation when possible) of Data Searching and Harvesting
* Reduction of processing times (data access, calculation,production bottlenecks mitigation…)
* Ingestion and preparation of input data to L2A level (Sen2Cor or MAJA algorithms) then ARD standard
* Data pre-processing and preparation using common reference data (Sentinel 2 by default)
* Steering functions at Datacube level: starting production, informing operators and users of data availability, management of parallelization and scalability, of processing chains, visualization of intermediate results and confidence indices, dissemination…

# Project implementation

The project objectives are as follows:
* Management of the full cycle of EO data from search, collection, storage and access to dissemination (Copernicus, Radarsat/RCM…)
* Optimized processing and analysis chains and services managing volume and heterogeneity of data
* Methods for analysis and classification of radar/optical time series based on deep learning technologies and Dempster Shafer approach

The processes for carrying out the project are:
* Agile

# Technical characteristics

The solution key points are as follows:
* Optimized system architecture, based on Open Source components
* Datacube: optimisation (and automation) of acquisition, pre-processing and data preparation operations => ARD data
* Machine learning for Land Use Classification of Sentinel-1/2 Data (adapted from IOTA² library)
* Dempster-Shafer approach for fusion of IOTA² and Radarsat time series land cover maps

![Archi Picture](Project-CSA-MUSES-EN pict 2.png)

The main technologies used in this project are:

{:class="table table-bordered table-dark"}
| Domain | Technology(ies) |
|--------|----------------|
|Hardware environment(s)|High Performance Computing (cluster ready)|
|Operating System(s)|Unix, Linux_Ubuntu, CentOS|
|Programming language(s)|Python, C++|
|Interoperability (protocols, format, APIs)|OpenSearch Geo & Time, WMS, WPS, WCS, CLI, SDK Python, REST Interfaces|
|Main COTS library(ies)|Jupyter notebook, Open Datacube (ODC), OTB, GDAL, PostgreSQL, Xarray, Dask|

{::comment}Abbreviations{:/comment}

*[CLI]: Command Line Interface
*[IaC]: Infrastructure as Code
*[PaaS]: Platform as a Service
*[VM]: Virtual Machine
*[OS]: Operating System
*[IAM]: Identity and Access Management
*[SIEM]: Security Information and Event Management
*[SSO]: Single Sign On
*[IDS]: intrusion detection
*[IPS]: intrusion prevention
*[NSM]: network security monitoring
*[DRMAA]: Distributed Resource Management Application API is a high-level Open Grid Forum API specification for the submission and control of jobs to a Distributed Resource Management (DRM) system, such as a Cluster or Grid computing infrastructure.


text:
## Challenge #4: Self-Driving Car Android Dashboard

Enjoy our [Udacity](https://udacity.com) style-guide for our open source self-driving car [dashboard challenge](https://medium.com/p/83a2a5c8b29e). **Contributions welcome!**

## Core Contributors
[@ericrgon](https://twitter.com/ericrgon)

[@macjshiggins](https://twitter.com/macjshiggins)

[@olivercameron](https://twitter.com/olivercameron)

 # Archival Note
 This repository is deprecated; therefore, we are going to archive it. However, learners will be able to fork it to their personal Github account but cannot submit PRs to this repository. If you have any issues or suggestions to make, feel free to:
- Utilize the https://knowledge.udacity.com/ forum to seek help on content-specific issues.
- Submit a support ticket along with the link to your forked repository if (learners are) blocked for other reasons. Here are the links for the [retail consumers](https://udacity.zendesk.com/hc/en-us/requests/new) and [enterprise learners](https://udacityenterprise.zendesk.com/hc/en-us/requests/new?ticket_form_id=360000279131).


text:
---
title: Class & Prototypal Inheritance
date: "2020-03-25T19:45:00.000Z"
description: "Exploring the world of closures"
---

### What is the difference between the `var` and `let` keywords?

They do work very similarly, but the biggest different is their rules in regards to scope.

The `var` keyword is hoisted to the top of the function in which it is called. Therefore, it can find itself in different locations.

The `let` keyword on the otherhand is ___block scoped___. Meaning that the variable of a `let` keyword can only be accessed by those within its scope.

```javascript
function Bear(type) {
    this.type = type;
}

var grizzly = new Bear('grizzly');
var black = new Bear('black');
var polar = new Bear('polar');

console.log(grizzly, black, polar);

```

## The Prototype Chain

repository: RyanAaronGreen/javascript-study

repo_name: RyanAaronGreen/javascript-study


text:
---
templateKey: blog-post-podcast-ggc
slug: /podcasts/ggc/s01-e03/
author: Peter Witham
tags: ["Podcast", "GGC"]
title: Geezers Who Game and Code - Build, Grind, Read the Instructions, Try Again
date: 2019-05-09T10:53:15
blurb: We talk about the fun of playing pre-release games. The pitfalls of not reading mission instructions before grinding and then having to do it all over again.
---

Newms talks about his latest fun with pre-release games and the exploration of discovering what changed. I talk about my screwing up by not reading instructions before grinding the materials needed to build things and then learning the hard way.

<iframe src="https://anchor.fm/gamecode/embed/episodes/Build--Grind--Read-the-Instructions--Try-Again-e3ub7g" height="102" width="400" frameborder="0" scrolling="no"></iframe>

repository: GrfxGuru/gatsby-starter-netlify-cms

repo_name: GrfxGuru/gatsby-starter-netlify-cms


text:
# react-recipebook-app
React recipe book app for cooking

## Setup

Clone the project, install the dependencies, and run the project.

```
git clone https://github.com/sergebruni/react-recipebook-app.git

cd react-recipebook-app

yarn

yarn run serve:webpack
```

repository: sergebruni/react-recipebook-app

repo_name: sergebruni/react-recipebook-app


text:
# Slight

## Introduction

A minimal theme, powered by Ghost. Live demo: (https://silvenga.com) (using the dev branch).

Created from scratch with inspiration from Ms. Qian’s Crisp theme (http://kathyqian.com/) and Roryg’s Ghostwriter theme (https://github.com/roryg/ghostwriter).

## Features

* Minimal design to showcase content.
* Responsive design written in HTML5/LESS.
* Full Ajax transitions between posts.
* Built in GitHub’s Gist beautifier.
* Disqus comment support.
* MIT license to customize and distribute.

## Screenshots

![](//i.imgur.com/C35HBSb.png)

![](//i.imgur.com/3Lt5PNg.png)

## Change Log

2.0.0 - 9/18/2014
* Updated for Ghost 0.5.2.
* Complete code rewrite (CSS, HTML, Javascript).
* Uses Fluidbox by Terry Mun (http://terrymun.com) to provide seamless lightbox transitions.
* Streamlined grunt processing.
* Significant speed improvements.
* Source minification improvements.
* Squashed dozens of bugs.

1.0.5 - 6/21/2014
* Fixed comment issues with loading via ajax.
* Streamlined ajax loading.
* Using jquery.lazyView (https://github.com/Silvenga/jquery-lazyView).
* Fixes issues with mobile devices (iPhone).
* Fixed IE11 issues.
* Fixed Webkit CSS issues.
* Streamlined grunt building.
* Javascript fixes.
* Style fixes.

1.0.2 - 6/5/2014
* Javascript issue fixes.
* Page loading is much faster now.
* Reduction in size.
* Simple light box for images.
* Better image handling.
* Many mobile style fixes.
* Many screen size fixes.
* Menu fixes.

1.0.0
* First release.

## Install

To reach optimal size the user must recompile the code after making any edits. Ensure that NPM is installed and working.

* Run `npm install` to ensure that the development environment is ready.
* Run `grunt watch` to automatically compile code in the `/Slight` directory.
* Modify header and footer links in `./src/default.hbs`.
* Modify disqus_shortname to your own on line 3 of `./src/js/blob.07.master.js` (or disable Disques with `enable_disques`).
* Modify links for the menu system in `./src/html/partials/menu.hbs`.
* If needed run `grunt` or `compile.bat` to force the compiling of all the assets.
* Add the Slight folder to `./content/themes` of your Ghost installation
* Restart Ghost
* Select theme under that administration tools within Ghost
* Check out (https://github.com/Silvenga/gist-embed) for tips on using the Gist beautifier.

## Download

Ghost 0.5.2 compatibility

[Latest Stable Theme Download](http://r.silvenga.com/slightdownload)

[Latest Dev Theme Download](http://r.silvenga.com/silvengadownloaddev)

## License

Slight is under the MIT license.

repository: mountwe/Slight-Theme

repo_name: mountwe/Slight-Theme


text:
---
layout: post
title: Object Oriented Programming in Lua
subtitle: Using Metamethods and Metatables
cover-img: /assets/img/2021-04-08/banner.jpg
thumbnail-img: /assets/img/2021-04-08/Lua.jpg
share-img: /assets/img/2021-04-08/Lua.jpg
tags: [OOP, Lua, Object Oriented Programming, Metamethods, Metamethods]
readtime: true
---

# Object Oriented Programming in Lua
### Prerequisites

In order to get the best understanding from this blog post I suggest you have at least a basic understanding of the topics listed below. There are available resources to gain knowledge on each of these topics.
  - Metatables and Metamethods
  - Tables
  - Iteration
  - Modules

## What is Object Oriented Programming

Object oriented programming is a programming paradigm based on the concept of classes and objects. It is used to structure a software program into simple, reusable pieces of code, called classes, which are used to create individual instances of objects.

#### Class

Think of a class as a blueprint. A class is a set of instructions on what an object should be. In a literal sense, these set of instructions are assigning  attributes that every object of the class will contain.

#### Instance

Think of an object as a child of a class. For instance, if we have a class 'Car' then children of class 'Car' could be considered as 'Audi', 'Nissan', and 'Volvo'.

## Creating A Class in Lua

Unlike other programming languages, Lua doesn't provide a quick and easy way to construct classes. So as developers, we have to use other means to create these classes. By using metatables you're able to create a table that can clone itself to other tables. Let's create a class 'Car' with a constructor ':new()'

 ![object-oriented-example](/assets/img/2021-04-08/oop-class-example.png)

```Lua
local Car = {}; -- This table is acting as a Class.

function Car:Drive()
	print('Driving', self.BrandName..'.');
end

function Car:Park()
	print('Putting', self.BrandName, 'in park.');
end

function Car:new(BrandName) -- Constructor for class Car
	local newCar = {};
	newCar.BrandName = BrandName;

	setmetatable(newCar, self);
	self.__index = self;

	return newCar;
end

local audi = Car:new('Audi'); --Creating a new instance of Car.
audi:Drive(); --Output// Driving Audi.
audi:Park(); --Output//Putting Audi in park.

local nissan = Car:new('Nissan');
nissan:Drive(); --Output//Driving Nissan.
nissan:Park(); --Output// Putting Nissan in park.

local volvo = Car:new('Volvo');
volvo:Drive(); --Output// Driving Volvo.
volvo:Park(); --Output// Putting Volvo in park.
```

Above we've created a class 'Car' and set a Brand Name parameter to the constructor.  How are we able to gain access to the Drive and Park methods?

The reason why we're assigning the table newCar a metatable is so that we can gain access to the metamethod __index. When the metamethod __index is assigned to a table the table that's assigned gets indexed for the element.

 ![index-metamethod](/assets/img/2021-04-08/index-metamethod.png)

Let's see an example of this below:

```Lua
local tab1 = {};
local tab2 = {
	Orange = 'Oranges',
	Apple = 'Apples',
	Grape = 'Grapes'
};

setmetatable(tab1, tab2);
tab2.__index = tab2; -- When tab1 is indexed for something that doesn't exist check tab2.

print(tab1.Orange); --Output// Oranges
```

As you can see because we set the __index method equal to tab2, then when tab1, the parent table, gets indexed for 'Orange' which doesn't exist. It checks itself for the element and returns it. This essentially is cloning everything from tab2 into tab1 which gives us access to all the elements that's available in tab2. Now back to our Car example.

```Lua
local Car = {}; -- This table is acting as a Class.

function Car:Drive()
	print('Driving', self.BrandName..'.');
end

function Car:Park()
	print('Putting', self.BrandName, 'in park.');
end

function Car:new(BrandName) -- Constructor for class Car
	local newCar = {};
	newCar.BrandName = BrandName;

	setmetatable(newCar, self);
	self.__index = self;

	return newCar;
end
```

Since we're setting self as a metatable to newCar we're giving newCar access to all the methods that the class 'Car' contains. This is how you would construct a basic class in Lua using metamethods and metatables.

## Using Modules To Abstract Classes

One of the core principles of Object Oriented Programming is the act of abstraction or the hiding of methods that subscribers shouldn't or needn't use. Let's take a look at how we can use a Module to abstract our 'Car' class.

First let's create a Module named 'CarClass'. (I prefer to have all of my class files end with 'Class', this is a personal convention.) Now inside of our module let's define our 'Car' class, methods, and constructor.

```Lua
-- MODULE --
local CarClass = {}; -- Car Class

function CarClass:Drive()
	print('Driving', self.BrandName..'.');
end

function CarClass:Park()
	print('Putting', self.BrandName, 'in park.');
end

function CarClass:new(BrandName) -- Constructor for class Car
	local newCar = {};
	newCar.BrandName = BrandName;

	setmetatable(newCar, self);
	self.__index = self;

	return newCar;
end

return CarClass;
```

And inside of a server script let's create new instances of our 'Car' class.

```Lua
local Car = require(game.ServerScriptService:WaitForChild('CarClass'));

local audi = Car:new('Audi'); --Creating a new instance of Car.
audi:Drive(); --Output// Driving Audi.
audi:Park(); --Output//Putting Audi in park.

local nissan = Car:new('Nissan');
nissan:Drive(); --Output//Driving Nissan.
nissan:Park(); --Output// Putting Nissan in park.

local volvo = Car:new('Volvo');
volvo:Drive(); --Output// Driving Volvo.
volvo:Park(); --Output// Putting Volvo in park.

```

Since our 'Car' class is now in a module we can create some private methods to abstract our 'Car' class. Let's create some the methods 'turnCarOff' and 'setUpPark' that are private and abstracted from user view.

```Lua
local CarClass = {}; -- Car Class

function CarClass:new(BrandName) -- Constructor for class Car
	local newCar = {};
	newCar.BrandName = BrandName;

	setmetatable(newCar, self);
	self.__index = self;

	return newCar;
end

function CarClass:Drive()
	setUpDrive(self);
	print('Driving', self.BrandName..'.');
end

function CarClass:Park()
	print('Putting', self.BrandName, 'in park.');
	turnOffCar(self);
end

-- Private
function setUpDrive(car)
	print('Putting on seat belt then putting '..car.BrandName..' in drive.');
end

function turnOffCar(car)
	print('Turning '..car.BrandName.. ' off.');
end

return CarClass;

```

Now when a user requires our 'Car' Module they won't have access to the private methods that we've declared.

This concludes my blog post on object oriented programming in Lua. If you'd like more information refer to the links below.

## Helpful Resources:
* [Modules](https://developer.roblox.com/en-us/articles/modulescripts)
* [OOP in Lua](https://www.lua.org/pil/16.1.html)
* [Metamethods and Metatables RBX](https://developer.roblox.com/en-us/articles/Metatables)
* [Metamethods and Metatables Lua](https://www.lua.org/pil/13.html)
* [Object Oriented Programming](https://www.freecodecamp.org/news/object-oriented-programming-concepts-21bb035f7260/)


text:
# return-provided-number

This package contains a method that returns the number you provide to the method.

## Usage

First install the package by running

`npm install return-provided-number`

Then, you can begin using the package. Small example below:

```javascript
const { returnProvidedNumber } = require("return-provided-number");

// Returns 5
console.log(returnProvidedNumber(5));

// Example invalid usage, raises typeError
console.log(returnProviedNumber(true));
```

## Other

Stars and possible code fixes are gladly welcome by the Github repo.

Since the beginning we have proudly been 100% dependency free!

repository: Averagess/return-provided-number

repo_name: Averagess/return-provided-number


text:
# Project Caboodle

Project Caboodle gives developers essential cross-platform APIs for their mobile applications.

iOS, Android, and UWP offer unique operating system and platform APIs that developers have access to all in C# leveraging Xamarin. It is great that developers have 100% API access in C# with Xamarin, but these APIs are different per platform. This means developers have to learn three different APIs to access platform specific features. With Caboodle developers have a single cross-platform API that works with any iOS, Android, or UWP application that can be accessed from shared code no matter how the user interface is created.

## Build Status

| Build Server | Type         | Platform | Status                                                                                |
|--------------|--------------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Jenkins      | Build        | Windows  | [![Jenkins Build Status](https://jenkins.mono-project.com/buildStatus/icon?job=Components-Caboodle)](https://jenkins.mono-project.com/view/Components/job/Components-Caboodle/)        |
| VSTS         | Build        | Windows  | ![VSTS Build Status](https://devdiv.visualstudio.com/_apis/public/build/definitions/0bdbc590-a062-4c3f-b0f6-9383f67865ee/8538/badge)                                                   |
| Jenkins      | Device Tests | macOS    | [![Build Status](https://jenkins.mono-project.com/buildStatus/icon?job=Components-Caboodle-DeviceTests-Mac)](https://jenkins.mono-project.com/job/Components-Caboodle-DeviceTests-Mac) |

## Installation
Coming soon...

## Supported Platforms
Caboodle is focused on the following platforms for our first release:
 - iOS (10+)
 - Android (4.4+)
 - UWP (Fall Creators Update+)

## Current Features:
The following cross-platform APIs are planned for our first release:
 - [x] Accelerometer
 - [X] App Information
 - [x] Battery
 - [X] Clipboard
 - [x] Compass
 - [x] Connectivity
 - [x] Data Transfer
 - [x] Device Information
 - [x] File System Helpers
 - [x] Email
 - [x] Flashlight
 - [x] Geocoding
 - [ ] Geolocation
 - [x] Gyroscope
 - [x] Magnetometer
 - [x] Open Browser
 - [x] Phone Dialer
 - [x] Preferences
 - [x] Screen Lock
 - [x] Secure Storage
 - [x] SMS
 - [ ] Text-to-Speech
 - [x] Vibrate

## Contributing
Please read through our [Contribution Guide](CONTRIBUTING.md). We are not accepting new PRs for full features, however any issue that is marked as `up for grabs` are open for community contributions. We encourage creating new issues for bugs found during usage that the team will triage. Additionally, we are open for code refactoring suggestions in PRs.

## Building Caboodle
Caboodle is built with the new SDK style projects with multi-targeting enabled. This means that all code for iOS, Android, and UWP exist inside of the Caboodle project.

If building on Visual Studio 2017 simply open the solution and build the project.

If using Visual Studio for Mac the project can be built at the command line with MSBuild. To change the project type that you are working with simply edit Caboodle.csproj and modify the TargetFrameworks for only the project type you want to use.

## FAQ
Here are some frequently asked questions about Caboodle.

### Where are the interfaces?
Some developers prefer an interface based programming model for dependency injection and testing of code. Caboodle does not offer any interfaces and delivers straight API access via direct classes and static properties/methods. There are many reasons that Caboodle is architected this way that include performance, simplicity, and ease of use. We also consider Caboodle a core API of the platform just like System classes, HttpClient, and our platform bindings.

Additionally, we found most developers create their own interfaces even when using a library that have interfaces. They do this so they have control over the APIs they actually use, which may be a very small percentage of the overall APIs in the library. Creating your own `ICaboodle` and exposing only the methods and properties you would like to use gives you more flexibility as Caboodle grows and adds additional APIs. Using this type of architecture will enable you to both have dependency injection and work with unit testing.

### Does Caboodle replace plugins?
Plugins offer a wide variety of cross-platform APIs for developers to use in their applications. Plugins will still continue to grow and flourish as they can offer a wider range of APIs and handle unique scenarios that Cabooble may not offer including additional platform support or add features unique to a single platform.

## License
Please see the [License](LICENSE).

repository: llenroc/Caboodle

repo_name: llenroc/Caboodle


text:
---
name: Feature request (功能要求)
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**What problem does this feature solve? (这个功能解决了什么问题)**

**Describe the solution you'd like (描述您想要的解决方案)**

**What does the proposed API look like?  (你期望的 API 是怎样的)**

repository: alibaba/ChatUI

branch_name: refs/heads/next

repo_name: alibaba/ChatUI