text:
# Helper mixins

The module provides some helper mixins to simplify the work with it:

## Wrap content from a specific breakpoint
`srbreakpoints-wrap-content-from($from-breakpoint-name)`

### Example implementation

![](/docs/assets/srbreakpoints-wrap-content-from.gif)

*The page gets a red background from breakpoint "m" and above, in other words: in breakpoints "m", "l" and "xl"*

```sass
@include srbreakpoints-wrap-content-from(m) {
    body {
        background: red;
    }
}
```

## Wrap content between two specific breakpoints
`srbreakpoints-wrap-content-between($start-breakpoint-name, $end-breakpoint-name)`

### Example implementation

![](/docs/assets/srbreakpoints-wrap-content-between.gif)

*The page gets a red background between breakpoint "s" and breakpoint "l", in other words: in breakpoints "s", "m" and "l"*

```sass
@include srbreakpoints-wrap-content-between(s, l) {
    body {
        background: red;
    }
}
```

## Wrap content within a specific breakpoint
`srbreakpoints-wrap-content-within($within-breakpoint-name)`

### Example implementation

![](/docs/assets/srbreakpoints-wrap-content-within.gif)

*The page gets a red background only in breakpoint "xl"*

```sass
@include srbreakpoints-wrap-content-within(xl) {
    body {
        background: red;
    }
}
```

repository: superReal/srbreakpoints

gha_language: CSS

repo_name: superReal/srbreakpoints


text:
## Introduction
---

Ring:bit is a simple module based on micro:bit. It can lead out 3 IO connectors, power connectors, ground connectors on the micro:bit board. On this module, we have transformed P0/P1/P2 into general connectors for GVS electric bricks. Among them, we have extended P2 to a GVS connector with multiple usages. There is a slide switch on the board. Slide the switch to “S”, then you can connect SR and SL2(digital signal modules) at the same time. Slide to “P2”, you can connect digital module or simulating module but only one of them. This module adopts 3 No. 7 batteries for power supply. It is very simple, easy and practical to use. With this module, you can drive all kinds of GVS modules like servos, line-hunting modules and LED modules.

![](https://i.imgur.com/bDMpSsj.png)

## Hardware
---

### Features

- Develop Envirnment: Code Kingdoms Java script, Microsoft Blocks，Microsoft Touch Develop，Python
- Support GVS connectors
- With a switch, one IO connector can be repeatedly used for double channels.
- Small size with multiple development for DIY.
- Input Voltage：DC 3.9V-4.5V
- Dimension：65.00mm X 51.70mm
- Weight：27g

### Application

- Support Bluetooth 4.0 device (based on micro:bit)
- Support 3 PIN GVS connector. Compatible with ElecFreaks octopus electric brick series.
- Simultaneously drive 2 or 3 servos which are used to make a simple smart car.
- Micro:bit maker teaching and education.

### Connectors

![](https://i.imgur.com/5qVcUuq.png)

![](https://i.imgur.com/b5T97iU.png)

## More Details about Some Connectors
---

### Function Selection Switch

Switch for S and P2 connector selection. Shift to “S” means SR in P2 connected to SL. At this time, you can connect two GVS modules to connector G-V-SR and G-V-SL separately. Shift to “P2” means use the connector of P2 only.
![](https://i.imgur.com/PaHHe9A.png)

### G-V-S P2 connector

Only when function selection switch has shifted to P2，these two connectors can be used. It is compatible with partial products of [Octopus Bricks series](www.elecfreaks.com/estore/micro-bit/sensors).
![](https://i.imgur.com/PMmCuST.png)

### G-V-S SR/SL Connector

Only when function selection switch has shifted to S, we can use the connector. It is compatible with partial products of [Octopus Bricks series](www.elecfreaks.com/estore/micro-bit/sensors).
![](https://i.imgur.com/cHPVdDl.png)

### Code Example

Electric circuit for mini elephant car line-hunting:
![](https://i.imgur.com/7QW9Ub4.png)

Fix micro:bit board:
![](https://i.imgur.com/jKoo29U.png)

### G-V-S P0 Connector

P0 connector can be used as digital IO connector, analog IO connector or PWM output signal connector.
![](https://i.imgur.com/5CuTWoN.png)

### G-V-S P1 Connector

P1 connector can be used as digital IO connector, analog IO connecotr or PWM output signal connector.
![](https://i.imgur.com/0MX5nzY.png)

### Dimension
![](https://i.imgur.com/Fq3QGS8.png)

## Software
---

Fix micro:bit board and servo.
![](https://i.imgur.com/4JBOP4i.png)
![](https://i.imgur.com/9XVim0q.png)

**Code Example：**

![](https://i.imgur.com/LPoVRtu.png)

The three servos rotate clockwise first, anti-clockwise after 1 second, then clockwise again in the next 1 second. Repeat this movement forever.

license: MIT

branch_name: refs/heads/master

extension: md

license_type: permissive


text:
# firebase-storage

This is the Cloud Storage for Firebase component of the Firebase Android SDK.

Cloud Storage for Firebase is a powerful, simple, and cost-effective object storage service built
for Google scale. The Firebase SDKs for Cloud Storage add Google security to file uploads and
downloads for your Firebase apps, regardless of network quality. You can use our SDKs to store
images, audio, video, or other user-generated content. On the server, you can use Google Cloud
Storage, to access the same files.

All Gradle commands should be run from the source root (which is one level up from this folder).

Building
========
You can build the SDK by invoking `./gradlew :firebase-storage:assemble`.

If you want to test changes locally, you may also run
`./gradlew -PprojectsToPublish="firebase-storage" firebasePublish`. This generates the Maven
dependency tree (under `build/`) that you can use during app development.

Testing
=======

To run the unit tests:

- Invoke `./gradlew :firebase-storage:check`.

To run the integration tests:

- Make sure that you have configured a `google-service.json` from your Firebase test project in the
  source root.
- Enable Firebase Storage in your project. Firebase Storage can be implicitly enabled by visiting
  the Storage tab in the [Firebase Console](https://console.firebase.google.com/).
- For now, you have to disable security rule enforcement for Cloud Storage in your test project.
- Start an Android Emulator.
- Invoke `./gradlew :firebase-storage:connectedCheck`.
- Re-enable your security rules after your test run.

Formatting
==========
Format your source files via `./gradlew :firebase-storage:googleJavaFormat`

repository: edenman/firebase-android-sdk

repo_name: edenman/firebase-android-sdk


text:
![](https://raw.github.com/mcongrove/Inbound/master/inbound.png)

About
-----

Inbound displays, in an abstract manner, the frequency Earth is bombarded by coronal mass ejections emanating from the Sun. Minimalist and modern, the display mounts to any wall to remind and inform people that solar activity has a constant and tangible impact on our planet.

The project is a submission for the [International Space Apps Challenge](http://spaceappschallenge.com) by [Jon Alter](https://github.com/jalter), [Rick Blalock](https://github.com/rblalock) and [Matthew Congrove](https://github.com/mcongrove). Inbound is submitted under the Apache 2.0 License.

Components
----------

Inbound's LEDs are controlled through an Arduino that connects to a custom web service via an ethernet shield. The web service parses data from SIDC's [CACTus tool](http://www.sidc.oma.be/cactus/), which utilizes information from the STEREO and LASCO satellites.

Demo Video
----------

You can see Inbound in action by watching our [demonstration video](https://vimeo.com/64515087).

repository: mcongrove/Inbound

repo_name: mcongrove/Inbound


text:
---
id: AddingQInstallerBridge
title: Add QInstallerBridge to Your Qt Project
sidebar_label: Adding to Your Qt Project
---

|	        |             				                                       |
|-----------|------------------------------------------------------------------|
|  Header:  | #include "QInstallerBridge/QInstallerBridge.hpp"                 |
|   qmake:  | LIBS += -larchive	                                               |
|           | QT += core network xml concurrent                                      |
|	        | HEADERS += QInstallerBridge/QInstallerBridge.hpp                 |
|           | HEADERS += QInstallerBridge/QArchive/QArchive.hpp                |
|           | HEADERS += QInstallerBridge/QEasyDownloader/QEasyDownloader.hpp  |
|Inherits:  | [QObject](http://doc.qt.io/qt-5/qobject.html)                    |

**QInstallerBridge** is just a header and all you have to do after installation is to add
it in your **.pro** file ( **Qt Project file** ).

### Qt Project file (**.pro**)

Append these **lines** to your **Qt Project file**.

```
LIBS += -larchive
QT += core network xml concurrent
HEADERS += QInstallerBridge/QInstallerBridge.hpp \
           QInstallerBridge/QArchive/QArchive.hpp \
           QInstallerBridge/QEasyDownloader/QEasyDownloader.hpp
```

### Including QInstallerBridge in your Source

Whenever you want to use **QInstallerBridge** , you just need to include it!

```
#include "QInstallerBridge/QInstallerBridge.hpp"
```

repository: XBStation/QInstallerBridge

repo_name: XBStation/QInstallerBridge


text:
# Employee Reimbursement System (Project Salamander)

![GitHub repo size](https://img.shields.io/github/repo-size/JMantis0/salamanders_delight )  ![GitHub language count](https://img.shields.io/github/languages/count/JMantis0/salamanders_delight )  ![GitHub top language](https://img.shields.io/github/languages/top/JMantis0/salamanders_delight )

## Description
Expense Reimbursement System (ERS)

The Expense Reimbursement System (ERS) will manage the process of reimbursing employees for expenses incurred while on company time. All employees in the company can login and submit requests for reimbursement and view their past tickets and pending requests. Finance managers can log in and view all reimbursement requests and past history for all employees in the company. Finance managers are authorized to approve and deny requests for expense reimbursement.

![main](./salamander_react_redux_typescript/src/assets/login_image.JPG)

## Site Technologies/Features

## Back-end
- Java
- MVC Architecture
- Servlets
- Apache Tomcat
- MongoDB
- Java Data Base Connectivity
- Junit

## Front-End
- React
- Redux
- Typescript

![employee](./salamander_react_redux_typescript/src/assets/employee_image.JPG)

## License

Copyright (c) 2020 Jesse Mazur

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

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

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

branch_name: refs/heads/main

gha_language: Java

gha_license_id: Unlicense


text:
# CQL
A simple and modular implementation of the [Conservative Q Learning](https://arxiv.org/abs/2006.04779) and [Soft Actor Critic](https://arxiv.org/abs/1812.05905) algorithm in PyTorch.

## Installation

1. Install and use the included Ananconda environment
```
$ conda env create -f environment.yml
$ source activate SimpleSAC
```
You'll need to [get your own MuJoCo key](https://www.roboti.us/license.html) if you want to use MuJoCo.

2. Add this repo directory to your `PYTHONPATH` environment variable.
```
export PYTHONPATH="$PYTHONPATH:$(pwd)"
```

## Run Experiments
You can run SAC experiments using the following command:
```
python -m SimpleSAC.sac_main \
    --env 'HalfCheetah-v2' \
    --logging.output_dir './experiment_output' \
    --device='cuda'
```
All available command options can be seen in SimpleSAC/conservative\_sac_main.py and SimpleSAC/conservative_sac.py.

You can run CQL experiments using the following command:
```
python -m SimpleSAC.conservative_sac_main \
    --env 'halfcheetah-medium-v0' \
    --logging.output_dir './experiment_output' \
    --device='cuda'
```

If you want to run on CPU only, just omit the `--device='cuda'` part.
All available command options can be seen in SimpleSAC/sac_main.py and SimpleSAC/sac.py.

## Visualize Experiments
You can visualize the experiment metrics with viskit:
```
python -m viskit './experiment_output'
```
and simply navigate to [http://localhost:5000/](http://localhost:5000/)

## Weights and Biases Online Visualization Integration
This codebase can also log to [W&B online visualization platform](https://wandb.ai/site). To log to W&B, you first need to set your W&B API key environment variable:
```
export WANDB_API_KEY='YOUR W&B API KEY HERE'
```
Then you can run experiments with W&B logging turned on:
```
python -m SimpleSAC.conservative_sac_main \
    --env 'halfcheetah-medium-v0' \
    --logging.output_dir './experiment_output' \
    --device='cuda' \
    --logging.online
```

## Results of Running CQL on D4RL Environments
In order to save your time and compute resources, I've done a sweep of CQL on certain
D4RL environments with various min Q weight values. [The results can be seen here](https://wandb.ai/ygx/CQL--cql_min_q_weight_sweep_1).
You can choose the environment to visualize by filtering on `env`. The results for each `cql.cql_min_q_weight` on each `env`
is repeated and average across 3 random seeds.

## Credits
The project organization is inspired by [TD3](https://github.com/sfujim/TD3).
The SAC implementation is based on [rlkit](https://github.com/vitchyr/rlkit).
THe CQL implementation is based on [CQL](https://github.com/aviralkumar2907/CQL).
The viskit visualization is taken from [viskit](https://github.com/vitchyr/viskit), which is taken from [rllab](https://github.com/rll/rllab).

repository: SaminYeasar/CQL

repo_name: SaminYeasar/CQL


text:
# CrayonCode-BDO-Project Rev. 1 (9/28/2017) Kamasylvia Update Part 1.

## FOR FISHING ENTHUSIASTS:

Run CrayonCode_Fishing.au3 to start the script.

### Requirements:
* BDO NA/EU (or EN/DE/FR client language)
* Default BDO Font
* 100% UI Scale (UI Settings ingame)

Works in Fullscreen and Windowed Mode (If the text is a little blurry in windowed just use fullscreen instead)

**BDO must be visible and active (Doesn't work minimized)**

Discussion and older versions can be found at https://www.elitepvpers.com/forum/black-desert/4268940-autoit-crayoncode-bot-project-opensource-free.html

## FOR PROCESSING ENTHUSIASTS:

Run CrayonCode_Processing.au3 to start the script.

Requirements:
* Storage auto-arrange must be turned **ON**.
* Inventory auto-arrange must be turned **OFF** with the first 4 inventory slots EMPTY or with non-character bound items.
* SAVE settings after any changes otherwise they won't apply!

For custom processing, use round numbers for BATCH and MAX. Basically the bot will do #MAX of #BATCH items. So if MAX was 100, and BATCH was 10, it will do 10 rounds of 10 items.
For example: You have 3651 Birch Lumber, BATCH would be 500, MAX 3500.

This feature is still under development and might bug.

Any issues please report to the discord at: https://discord.gg/hj6jPrW

repository: kehufrog/CrayonCode-BDO-Project

repo_name: kehufrog/CrayonCode-BDO-Project


text:
# awesome-reactivecocoa
A curated list of examples and tools around Reactive Cocoa.

:construction: All this ressources can be experimental and could not fit for production environnement :construction:

## ReactiveCocoa 4 (Swift 2.0/2.1)

### Application Example
- [ReactiveTwitterSearch](https://github.com/ColinEberhardt/ReactiveTwitterSearch) - An exploration of implementing an application using ReactiveCocoa 4.0 (Swift) and the MVVM pattern
- [SwiftGoal](https://github.com/richeterre/SwiftGoal) - Showcases the Model-View-ViewModel (MVVM) architecture with ReactiveCocoa
- [TodaysReactiveMenu](https://github.com/s0mmer/TodaysReactiveMenu) - Today's (Reactive) Menu is an example app exploring ReactiveCocoa 4, MVVM, Swift 2 and watchOS 2

### Extension
- [Rex](https://github.com/neilpa/Rex) - Extensions for ReactiveCocoa that may not fit in the core framework.

### Tool
- [ReactiveCocoaPlayground](https://github.com/nikita-leonov/ReactiveCocoaPlayground) - Playground for your ReactiveCocoa experiments

repository: jdauphant/awesome-reactivecocoa

repo_name: jdauphant/awesome-reactivecocoa


text:
# Caloplaca alociza (A. Massal.) Mig. SPECIES

#### Status
ACCEPTED

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

#### Published in
Fl. Deutschl. , Abt. 2 12: 140 (1925)

#### Original name
Biatorina alociza A. Massal.

### Remarks
null

repository: mdoering/backbone

repo_name: mdoering/backbone


text:
# Alto
Create layouts that support every device and orientation.

## Under Development
Alto is still being developed. A stable version will be released very soon. Star or Watch to keep updated with the progress :)

## Aims
Alto was developed to be:

#### Readable

```Swift
// Align the center of titleLabel 40px from the top of the container
titleLabel.set(.centerY, .equalTo, containerView, .top + 40)

// Align the centers of titleLabel and subtitleLabel to the container
[titleLabel, subtitleLabel].set(.centerX, .equalTo, containerView, .centerX)
```

#### Compile Safe

This compiles but will cause a crash
```Swift
NSLayoutConstraint(item: titleLabel, attribute: .height, relatedBy: .equal, toItem:
containerView, attribute: .centerX, multiplier: 1.0, constant: 0.0)
```
This does not compile :)
```Swift
titleLabel.set(.height, .equalTo, containerView, .centerX) <-- Error
```

#### Fast and Simple

1. Small API
- Convenience attributes to reduce code needed, see features
- **No operator overloads** which can increase compile time

#### Well Documented
View the examples and diagrams [coming soon]()

## Features

#### Extra Attributes

Such as: `.center`, `.size`, `.edges`, `.topLeft`

```Swift
titleLabel.set(.center, .equalTo, containerView, .center)
titleLabel.set(.topLeft, .equalTo, containerView, .bottomRight)
titleLabel.set(.edges, .equalTo, containerView, .edges - 5)
```

#### View Grouping

Apply the same constraints to many views

```Swift
[titleLabel, subtitleLabel].set(.center, .equalTo, containerView, .center)
```

#### Stack Layouts
Create [`UIStackView`](https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIStackView_Class_Reference/#//apple_ref/occ/instp/UIStackView/) style layouts just using constraints

```Swift
views.stack(.vertically, margin: 20)
views.stack(.vertically, in: containerView, margin: 20)
```

#### Clear Priorities

```Swift
titleLabel.set(.width, .greaterThanOrEqualTo, containerView, .width, priority: .low)
```

#### Todo List

1. Size Classes
2. Layout Guide Support

## Resources
- [Examples and Diagrams]()
- [Apple's Auto Layout Guide](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/)
- [Change Log]()

repository: marcbaldwin/Alto

repo_name: marcbaldwin/Alto


text:
# swot

Quiz maker written using the MEAN stack (MongoDB, Express, AngularJS, and Node.js). This is a learning project that is still in the early stages of development.

The primary goal of swot is to create an advanced quiz editor that is capable of more than just simple flashcard style questions, while keeping the UI simple and easy to use.

Current capabilities include:

- Ability to create, save and take quizzes
- Rich formatting in the questions (support for font styles, lists, images, etc. all courtesy of [ckeditor](http://ckeditor.com/))
- Navigate and take quizzes with instant feedback and automatic score-keeping
- Support for multiple question types, including fill-in and multiple choice

Support for a greater variety of question types including true/false, short answer, matching, check all that apply, and others - along with more grading options and the ability to show supplemental information - is all coming soon.

### Launching

swot requires [Node](http://nodejs.org/) and [npm](http://npmjs.org/) (which should be installed as part of Node), and can be built and launched on UNIX platforms as well as Windows.

In addition, [MongoDB](http://www.mongodb.org/) should be installed and running.  swot assumes that MongoDB is listening on the default port, 27017, but this may be changed by setting the `MONGODB_URL` environment variable before launching the app (if the environment variable is not specified, it defaults to `localhost:27017/swot`).

Finally, you must also have [grunt](http://gruntjs.com/) installed globally:

```
npm install -g grunt-cli
```

Once these prerequisites are met, building and launching swot should be fairly simple. After cloning the repo, switch to the directory in the terminal or command line and run the following commands:

    npm install
    npm start

The app should now be running on port 3000.  You should be able to connect to http://localhost:3000 using the browser and see a login screen (there isn't really an actual home page yet). Click register at the top right and create an account, after which you should be able to create and take quizzes.

**Note:** During development, you can instead run `grunt nodemon` to launch the app using [nodemon](https://github.com/remy/nodemon). This will automatically restart the server whenever any files are changed.

### Running Tests

swot uses the following testing frameworks:

- [mocha](http://visionmedia.github.io/mocha/): Test runner.
- [chai](http://chaijs.com/): Assertion library. swot uses [BDD style](http://chaijs.com/api/bdd/) assertions using `expect`.
- [sinon](): Mock/stub framework.
- [Protractor](https://github.com/angular/protractor): Framework for writing end-to-end (e2e) tests.

To run the unit tests, you will need to have mocha installed globally: `npm install -g mocha`. Then the tests may be run using `grunt test`.

To run the end-to-end tests, you will need to have Protractor installed globally:

    npm install -g protractor

Then you will need to install the selenium standalone server. Protractor comes with a script to help download and install it - run the following command to do so (use sudo on Linux):

    webdriver-manager update

After completing the above setup, you should be able to run the end-to-end tests using grunt:

    grunt test:e2e

The `test:e2e` task is a shortcut that essentially runs all of the following commands:

- Launches the app with a testing configuration (make it run on port 3033 instead of the default 3000, and have it connect to a separate database called `swot_test` instead of `swot`):
  `grunt env:test shell:app`
- Starts selenium server:
  `webdriver-manager start`
- Runs protractor:
  `protractor e2e.conf.js`

While doing development, it is recommended to run each of the above commands in 3 separate terminals.  This way, you're not repeatedly launching and bringing down the app, as well as selenium server, without need (rather, you can restart the app only if you've made any server-side changes, and you can probably just leave selenium running all the time). It also keeps the output from running the tests separate, instead of mixing it all in one place.  However, if you just want to just run the tests once, quickly, then this can save a lot of time and remembering.

Note also that the end-to-end tests can take several minutes to run. If you're doing work on the quiz editor, it's unlikely that you broke anything related to the login/registration functionality, so you may want to save some time by skipping these tests. To do this, you can temporarily edit the file filter in [`e2e.conf.js`](https://github.com/sergkr/swot/blob/master/e2e.conf.js) by changing this line:

    specs: ['test/e2e/**/*.spec.js'],

To this (for example):

    specs: ['test/e2e/editQuiz/*.spec.js'],

This way, you will only be running the quiz editor specs when launching protractor.

Finally, note that there's another shortcut task in grunt that allows you to run both the unit tests as well as end-to-end tests using one command:

`grunt test:all`

This runs the unit tests, followed by the end-to-end tests.

gha_language: JavaScript


text:
# Overcoming Mental Hurdles

No matter how long the search lasts, job hunting is an emotionally taxing process. Career Coaches lead grads in discussions about staying positive, motivated, and replenished during the process. Cohort members are provided with tools to keep one another moving forward through camaraderie and encouragement.

1. Accountability (MAP) Groups
  - [Introduction to MAP Accountability Groups](accountability-map-groups/CWMAPGroupIntro.pdf)
  - [Meeting #1 Agenda - Job Search Planning](accountability-map-groups/CWMAPM1Your12WeekJobSearchAgenda.pdf)
  - [Meeting #1 Facilitator's Guide](accountability-map-groups/CWMAPM1Your12WeekJobSearchFacilitatorGuide.pdf)
  - [Meeting #2 Agenda - Networking](accountability-map-groups/CWMAPM2YourNetworkAgenda.pdf)
  - [Meeting #2 Facilitator's Guide](accountability-map-groups/CWMAPM2YourNetworkFacilitatorGuide.pdf)
  - [Meeting #3 Agenda - Interview Skills](accountability-map-groups/CWMAPM3InterviewingAgenda.pdf)
  - [Meeting #3 Facilitator's Guide](accountability-map-groups/CWMAPM3InterviewingFacilitatorGuide.pdf)
  - [Meeting #4 Agenda - Facing Rejection](accountability-map-groups/CWMAPM4RejectionAgenda.pdf)
  - [Meeting #4 Facilitator's Guide](accountability-map-groups/CWMAPM4RejectionFacilitatorGuide.pdf)
  - [Meeting #5 Agenda - Reassessing Your Job Search](accountability-map-groups/CWMAPM5ReassessingAgenda.pdf)
  - [Meeting #5 Facilitator's Guide](accountability-map-groups/CWMAPM5ReassessingFacilitatorGuide.pdf)
1. [Imposter Syndrome](imposter-syndrome/SuperEgoImpostorSyndrome.pdf)
1. Self Care & Maintaining Momentum


text:
---
layout: landslide-evo_home
title: Landslide EVO
style: landslide-evo
---

### Details

- Full title: Citizen Science for Landslide Risk Reduction and Disaster Resilience building in Mountain Regions
- Funder: NERC/DFID [Science for Humanitarian Emergencies and Resilience (SHEAR)](https://www.shear.org.uk/) programme (grant number NE/P000452/1)

### Summary

We aim to increase local disaster resilience in remote mountainous environments by bringing together world-leading scientists on mountain hydrometeorology and landslide risk with experts on citizen science, participatory approaches to knowledge generation, and risk governance. We aim to deliver an end-to-end solution to the generation of locally actionable knowledge for disaster risk reduction, addressing the full workflow of information generation, processing, and communication to decision makers. Our proposition is that maximum impact is created if end-users are involved from the start in this process, using a bottom-up and participatory approach. For this, we will leverage recent advances in in-situ and remotely sensed monitoring, risk modelling and forecasting, vulnerability assessment, and risk governance.

Main Scientific Objectives:

1. Increase local disaster resilience in a remote mountainous region of Western Nepal, making use of participatory approaches to knowledge generation via citizen science
2. Map and model landslide risk and vulnerability along the Seti River in the Karnali Basin
3. Combine community-based environmental sensing with satellite data to generate maps and forecast landslide triggers
4. Develop local early warning systems and assimilate multiple data sources by developing new web-based methods for data processing and modelling
5. Disseminate Landslide EVO project knowledge in South Asia

### Noteworthy outputs

- Paul, JD; Buytaert, W; Allen, S; Ballesteros-Cánovas, JA; Bhusal, J, Cieslik, K; Clark, J; Dugar, S; Hannah, DM; Stoffel, M; Dewulf, A; Dhital, MR; Liu, W; Nayaval, JL; Neupane, B; Schiller, A; Smith, PJ; Supper, R (2017) Citizen science for hydrological risk reduction and resilience building. Wiley Interdisciplinary Reviews: Water http://onlinelibrary.wiley.com/doi/10.1002/wat2.1262/full


text:
# avro4s

[![Build Status](https://travis-ci.org/sksamuel/avro4s.png)](https://travis-ci.org/sksamuel/avro4s)
[](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22avro4s-core_2.11%22)
[](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22avro4s-core_2.12.0-M3%22)

Avro4s is a schema/class generation and serializing/deserializing library for [Avro](http://avro.apache.org/) written in Scala. The objective is to allow seamless use with Scala without the need to to write boilerplate conversions yourself, and without the runtime overhead of reflection. Hence, this is a macro based library and generates code for use with avro at _compile time_.

The features of the library are:
* Schema generation from classes at compile time
* Class generation from schemas at build time
* Boilerplate free serialization of classes to avro
* Boilerplate free deserialization of avro to classes

## Changelog
* 1.3.3 - Added missing support for deserializing byte arrays
* 1.3.0 - Added support for Scala 2.12. Removed 2.10 cross build. Fixed issues with private vals. Added binary (no schema) output stream. Exposed RecordFormat[T] typeclass to enable easy conversion of T to/from an avro Record.
* 1.2.0 - Added support for properties, doc fields, and aliases. These are set via annotations.
* 1.1.0 - Added json document to avro schema converter
* 1.0.0 - Migrated all macros to use Shapeless. Fixed some trickier nested case class issues. Simplified API. Added support for java enums.
* 0.94.0 - Added support for writing/reading Either and Option in serializer/deserializer. Fixed bug with array serialization.
* 0.93.0 - Added support for either and options in schema generator. Added support for aliases via scala annotation.
* 0.92.0 - Added support for unions (and unions of nulls to Options) and enums to class generator.

## Schemas

Avro4s allows us to generate schemas directly from classes in a totally straightforward way. Let's define some classes.

```scala
case class Ingredient(name: String, sugar: Double, fat: Double)
case class Pizza(name: String, ingredients: Seq[Ingredient], vegetarian: Boolean, vegan: Boolean, calories: Int)
```

Next is to invoke the apply method of AvroSchema passing in the top level type. This will return an `org.apache.avro.Schema` instance, from which you can output, write to a file etc.

```scala
import com.sksamuel.avro4s.AvroSchema
val schema = AvroSchema[Pizza]
```

Which will output the following schema:

```json
{
  "type" : "record",
  "name" : "Pizza",
  "namespace" : "com.sksamuel.avro4s.json",
  "fields" : [ {
    "name" : "name",
    "type" : "string"
  }, {
    "name" : "ingredients",
    "type" : {
      "type" : "array",
      "items" : {
        "type" : "record",
        "name" : "Ingredient",
        "fields" : [ {
          "name" : "name",
          "type" : "string"
        }, {
          "name" : "sugar",
          "type" : "double"
        }, {
          "name" : "fat",
          "type" : "double"
        } ]
      }
    }
  }, {
    "name" : "vegetarian",
    "type" : "boolean"
  }, {
    "name" : "vegan",
    "type" : "boolean"
  }, {
    "name" : "calories",
    "type" : "int"
  } ]
}
```
You can see that the schema generator handles nested case classes, sequences, primitives, etc. For a full list of supported object types, see the table later.

## Serializing

Avro4s allows us to easily serialize case classes using an instance of `AvroOutputStream` which we write to, and close, just like you would any regular output stream. An `AvroOutputStream` can be created from a `File`, `Path`, or by wrapping another `OutputStream`. When we create one, we specify the type of objects that we will be serializing. Eg, to serialize instances of our Pizza class:

```scala
import java.io.File
import com.sksamuel.avro4s.AvroOutputStream

val pepperoni = Pizza("pepperoni", Seq(Ingredient("pepperoni", 12, 4.4), Ingredient("onions", 1, 0.4)), false, false, 98)
val hawaiian = Pizza("hawaiian", Seq(Ingredient("ham", 1.5, 5.6), Ingredient("pineapple", 5.2, 0.2)), false, false, 91)

val os = AvroOutputStream[Pizza](new File("pizzas.avro"))
os.write(Seq(pepperoni, hawaiian))
os.flush()
os.close()
```

## Deserializing

With avro4s we can easily deserialize a file back into Scala case classes. Given the pizzas.avro file we generated in the previous section on serialization, we will read this back in using the `AvroInputStream` class. We first create an instance of the input stream specifying the types we will read back, and the file. Then we call iterator which will return a lazy iterator (reads on demand) of the data in the file. In this example, we'll load all data at once from the iterator via `toSet`.

```scala
import com.sksamuel.avro4s.AvroInputStream

val is = AvroInputStream[Pizza](new File("pizzas.avro"))
val pizzas = is.iterator.toSet
is.close()
println(pizzas.mkString("\n"))
```

Will print out:

```scala
Pizza(pepperoni,List(Ingredient(pepperoni,12.2,4.4), Ingredient(onions,1.2,0.4)),false,false,500) Pizza(hawaiian,List(Ingredient(ham,1.5,5.6), Ingredient(pineapple,5.2,0.2)),false,false,500)
```

## Conversions to/from GenericRecord

To interface with the Java api it is sometimes desirable to convert between your classes and the avro GenericRecord type. You can do this easily in Avro4s using the RecordFormat typeclass (this is what the input/output streams use behind the scenes). Eg,

To convert from a class into a record:

```scala
case class Composer(name: String, birthplace: String, compositions: Seq[String])
val ennio = Composer("ennio morricone", "rome", Seq("legend of 1900", "ecstasy of gold"))
val format = RecordFormat[Composer]
// record is of type GenericRecord
val record = format.to(ennio)
```

And to go from a record back into a type:

```scala
// given some record from earlier
val record = ...
val format = RecordFormat[Composer]
// is an instance of Composer
val ennio = format.from(record)
```

## Type Mappings

|Scala Type|Avro Type|
|----------|---------|
|Boolean|boolean|
|Array[Byte]|bytes|
|String|string or fixed|
|Int|int|
|Long|long|
|BigDecimal|[decimal](https://avro.apache.org/docs/1.7.7/spec.html#Decimal) with scale 2 and precision 8|
|Double|double|
|Float|float|
|Java Enums|enum|
|sealed trait T|enum|
|scala.collection.Array[T]|array|
|scala.collection.List[T]|array|
|scala.collection.Seq[T]|array|
|scala.collection.Iterable[T]|array|
|scala.collection.Set[T]|array|
|scala.collection.Map[String, T]|map|
|scala.collection.Option[T]|union:null,T|
|scala.collection.Either[L, R]|union:L,R|
|T|record|

## Using avro4s in your project

Gradle: `compile 'com.sksamuel.avro4s:avro4s-core_2.11:1.3.2'`

SBT: `libraryDependencies += "com.sksamuel.avro4s" %% "avro4s-core" % "1.3.2"`

Maven:

```xml
<dependency>
    <groupId>com.sksamuel.avro4s</groupId>
    <artifactId>avro4s-core_2.11</artifactId>
    <version>1.3.2</version>
</dependency>
```

The above is just an example and is not always up to date with the latest version. Check the latest released version on
[maven central](http://search.maven.org/#search|ga|1|g%3A%22com.sksamuel.avro4s%22)

## Building and Testing

This project is built with SBT. So to build
```
sbt compile
```

And to test
```
sbt test
```

## Contributions
Contributions to avro4s are always welcome. Good ways to contribute include:

* Raising bugs and feature requests
* Fixing bugs and enhancing the DSL
* Improving the performance of avro4s
* Adding to the documentation

## License
```
The MIT License (MIT)

Copyright (c) 2015 Stephen Samuel

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

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

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

```


text:
### some thoughts

Depending on the purpose of the study, one can further combine similar chromatin state together.

e.g. low state, artifacts state, active state and repressive state.

or maybe in the model, one can specify which states are more close to each other, which states are opposite to each other?

For our own in-house tumor data set, accoding to the chromHMM state call, E3 and E16 are both low state calls. we can replace all E16 to E3.

need to combine states before the merging, filtering steps for our data.

### run epilogos

I spent the weekend writing a snakemake workflow for running epilogos: https://github.com/crazyhottommy/pyflow-epilogos


text:
Garden
======
- Play2 + Maven plugin project configuration setup
- MongoDB java driver APIs in MongoDBManager to create, query and delete
- Play REST API development in GardenController
- Unit tests and Functional test (GardenControllerTest)

To test Garden service
1. Setup remote debugger listen on localhost:9999
2. Start garden service
mvn compile
mvn com.google.code.play2-maven-plugin:play2-maven-plugin:run -Dplay2.serverJvmArgs="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9999"

repository: kaicao/Garden

repo_name: kaicao/Garden


text:
# Documentation

![uml](https://github.com/fosy/Team2_YELP/blob/master/domain-model-yelp.png)

### Home
Path: `/`

It should have the info of the company. Short intro to our service / website. Header with
- about
- contact
- search box

### About
Path: `/about`
- Info about the company

### Contact
Path: `/contact`
- Input form to contact the company (get in touch).

### Sign in
Path: `/users/sign_in`
- It should render a form to log in.

### Sign up
Path: `/users/sign_up`
- It should render a form to register.

### Users edit
Path: `/users/{id}/edit`
- Edit the particular user useing the form for update. A button to delete the account.

### Search restaurant
Path: `/restaurants/search?query=Lilli Jo`
- A search box for searching resaturant based on the query(name)

### Resturant Page Info
Path: `/restaurants/{id}`
- It should render the all infos about the restaurant. A button to write the review

### New Review
Path: `/restaurants/{id}/reviews/new `
- It should render an input field and the rating stars, a submit button.

# API

Public Paths:

- POST: `/api/users/sign_in`. Body should have an `email` and a `password`.

- POST: `/api/users/sign_up`. Body should have an `firstName`, `lastName`, `email` and a `password`.

- GET: `/api/restaurants/search?=params`. Body should have the name of the restaurant

- GET: `/api/restaurants/`

- GET: `/api/restaurants/:id`

Paths where Auth is required:

- PUT: `/api/users/:id`.

- DELETE: `/api/users/:id`.

- POST: `/api/comment`. Body should have `text` and `rating` property.


text:
---
layout: default
---

# 1996-02-28 - No Subject

## Header Data

From<EMAIL_ADDRESS>(Senator Exon)

To<EMAIL_ADDRESS>Message Hash: 369b328833844b088412289bb005804ab7e9cdeb3454bce760bbbd2675412425

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1996-02-28 12:25:17 UTC

Raw Date: Wed, 28 Feb 1996 20:25:17 +0800

## Raw message

```
{% raw  %}From<EMAIL_ADDRESS>(Senator Exon)
Date: Wed, 28 Feb 1996 20:25:17 +0800
To<EMAIL_ADDRESS>Subject: No Subject
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

Greetings All
             Does anyone reading this know any details of the crypto
scheme proposed for TETRA (The Euro standard digital radio system).
 Actual concrete details of the system seem to be impossible to find !!

 Thanks in advance

 LP

{% endraw %}
```

## Thread

+ Return to [February 1996](/archive/1996/02)

+ Return to<EMAIL_ADDRESS>(Senator Exon)](/authors/anonymous_at_nowhere_toad_com_senator_exon_)"

+ 1996-02-28 (Wed, 28 Feb 1996 20:25:17 +0800) - No Subject -<EMAIL_ADDRESS>(Senator Exon)_

gha_license_id: MIT


text:
---
layout: page
title: Screenshots
include_in_header: true
---

Today, FaceAlert works primarily from your Apple Watch. After you start a training session, FaceAlert will show you a live counter with how many times it's detected you touching your face.

You can stop the session at any time, or it will end after an hour automatically.

![](/assets/applewatch.png)

repository: andrewmunsell/facealert-website

repo_name: andrewmunsell/facealert-website


text:
---
title: "Blog Bite: Can a Franchise Enforce a Restrictive Covenant Against Its Competitors?"
author<EMAIL_ADDRESS>tags: ["Restrictive Covenants","Non-competition","Commercial Activities","Franchise","frahman"]
date: 2016-07-27 17:55:00
description: "In an interesting case for parties seeking to impose a geographic boundary on competitive operations, an Ontario Court has held that a franchisor was not entitled to enforce a restrictive covenant because it did not have a legitimate interest to protect within the geographic area prescribed in the covenant."
---

In an interesting case for parties seeking to impose a geographic boundary on competitive operations, an Ontario Court has held that a franchisor was not entitled to enforce a **restrictive covenant** because it did not have a legitimate interest to protect within the geographic area prescribed in the covenant.

In [MEDIchair LP v DME Medequip Inc. (2016)](http://www.canlii.org/en/on/onca/doc/2016/2016onca168/2016onca168.html?autocompleteStr=medich&autocompletePos=5), the Ontario Superior Court of Justice held that MEDIchair LP (**“MEDIchair”**), the franchisor, could not enforce a restrictive covenant against Medequip Inc. (**“Medequip”**), the franchisee. MEDIchair operated a franchise network that sold home medical equipment.

DME had owned and operated a MEDIchair franchisee located in Peterborough, Ontario for approximately 20 years. MEDIchair’s franchise agreement with DME contained a restrictive covenant which prevented DME from engaging in “any business similar to the business carried on by MEDIchair or any of its authorized franchisees” for 18 months, within 30 miles of DME’s store or any other franchisee.

In 2008, 2169252 Ontario Inc. (“216”) purchased the DME franchise and agreed to comply with the restrictive covenant.

In 2015, the original franchise agreement between MEDIchair and DME expired and DME began operating an identical business under a new name.

MEDIchair sought to enforce the restrictive covenant against DME. The court held that while the covenant was not ambiguous or unreasonably broad, it was not enforceable because MEDIchair did not have a legitimate or proprietary interest to protect within the territorial scope of the covenant since it did not plan to locate a new franchise in the area prescribed in the covenant.

### Takeaway:

For a franchisor to enforce a restrictive covenant, it must have a legitimate interest to protect within the territorial scope of the covenant.

repository: clausehound/clausehound-blog

gha_language: TypeScript

repo_name: clausehound/clausehound-blog


text:
# MilboxTouch SDK for Unity

This SDK for the developer to use MilboxTouch module.
MilboxTouch is the most flexible and easy touch control device for VR cardboard device.

<http://milbox.tokyo/>

The open-source library allows you to integrate MilboxTouch into your Unity app.

## Getting started

- Download MilboxTouch sdk to your computer.
- import MBTHelper.unitypackage to your project.
- Add MBTHelper.cs to your main game object.
- handling MBTHelper event in your script.

## FEATURES

- Tap - detect tap action.
- DoubleTap - detect double tap action.
- Swipe - detect swipe action.
- Scroll - detect scroll action.
- Charge - detect charge action.

## GIVE FEEDBACK

Please report bugs and issue to this repository.

## CONTRIBUTING

We are able to accept contributions to the MilboxTouch SDK for Unity. To contribute please do the following.

- Follow the instructions in the CONTRIBUTING.md.

## LICENSE

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

repository: white-tokyo/mbtsdk-unity

gha_language: C#

repo_name: white-tokyo/mbtsdk-unity


text:
## Exceptionless Core

This package is the main source of methods that inform all of the other Exceptionless JS packages. It should not be used directly. Instead, you should use one of the following pagages:

`@exceptionless/browser`
`@exceptionless/node`
`@exceptionless/react`
`@exceptionless/angular`


text:
---
layout: post
title: SMART CAMPUS PROJECT, SAMSUNG (SAIT)
author: Misung Kim
date:   2018-12-04 7:00:00 -0400
permalink: /SAIT-project
categories: projects
tags: HQP
excerpt: SNU-SAMSUNG project (2016-2020)

# github: https://github.com/ggory15/HQP_DualArmMobile
external-website: http://dyros.snu.ac.kr/project/%EC%9E%90%EC%9C%A8-%EB%B0%9C%EB%A0%9B-%ED%8C%8C%ED%82%B9/

image: /assets/img/project-images/3.hand/valet_project.png
imageAlt:
image-slider: /assets/img/project-images/3.hand/valet_project.png

---

extension: markdown

filename: 2018-12-04-Robot Hand.markdown


text:
fao-explorer
============

[fao-explorer.knightlab.com/china.html](http://fao-explorer.knightlab.com/china.html)

Example components from a potentially larger tool that supports exploring data over time on a country-by-country basis. This data focuses on China, India, Nigeria and Brazil. Current components include population data from the UN against LANDSAT imagery from Google Earth Engine and livestock production vs. investment in various types of agriculture.

## Data components

The `data` folder contains raw data and various scripts for transformaton. Not all of this data will be used in the application, but we explored many different statistics for possible correlation. The data transformation uses the `pandas` library.

## App components

The `app` folder contains the frontend of the application. There is a flask app here that is not really used as well as a `fabfile` for deployment. To develop on the app, `pip install -r requirements.txt` to use Fabric.

repository: NUKnightLab/fao-explorer

repo_name: NUKnightLab/fao-explorer


text:
---
layout: sidebar-right
title: "Get Ready for School: Numbers"
date: 2018-06-05
author: sophie-green
category: child-family-problems
excerpt: "Books to help children learn numbers and basic maths before starting school."
breadcrumb: childrens-ya-books
meta-description: "Books to help children learn numbers and basic maths before starting school."
---

To reserve any of the following books to help children learn numbers and basic maths before starting school to your local library, click on the links to reserve them from our online catalogue, visit any of our libraries, or contact us on 01473 351249 or<EMAIL_ADDRESS>

You can sign up for a library card online for free. You can sign your child up for a library card at any age.

## [Look I'm a Maths Wizard](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2622496)

> "Perfect for kids ages 3 to 6, Look I'm a Maths Wizard is full of activities to show young readers just how much fun maths can be. Children will discover that maths is in the world all around us and that they already have the tools they need to be magical maths wizards: an inquisitive mind, unlimited imagination, and super senses.

> "Each step-by-step activity is hands-on and practical to encourage budding mathematicians to use their senses as they explore essential early years maths topics. They will discover the magic of numbers with number bugs, investigate addition by creating a hungry adding robot, learn about subtraction by playing skittles, craft 3D shape aliens, and even make a repeating pattern fruit wand."

## [Nibbles Numbers, by Emma Yarlett](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2502061)

> "Look out! Nibbles the book monster has munched his way into this book of numbers!

> "Count along with him as he chomps his way from one to ten... But wherever will he go next?!"

## [Ten Little Engines: count to ten with Thomas and Friends!, by Jude Exley & Dan Crisp](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2640289)

> "Count down from ten to one and back up again with this fun Thomas and Friends adventure. Ten little engines steaming down the track. How many engines will come puffing back?!

> "Children will love joining in counting the engines and spotting who has disappeared as you share the rhyming story in this colourful and fun board book. Perfect for early counting and number recognition."

## [Counting 1, 2, 3, by Violet Peto & Liza Lewis](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2504759)

> "Curious preschoolers will love peeping under the flaps to see who will hatch from each egg in this lift-the-flap, animal counting book. There are eggs to count from 1-10, then lift the flap to find out whose eggs they are."

## [Everybunny Count!, by Ellie Sandall](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2271169)

> "A delightfully exuberant counting story with bunnies galore! Did you know that bunnies love to play hide-and-seek? Count from one to ten with these cheerful bunnies and one not-so-scary fox!"

## [Ceri & Deri: No Time for Clocks, by Max Low](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2332026)

> "Ceri the cat and Deri the dog are best friends who do everything together and love to learn new things.

> "When Deri arrives late for lunch one day, their friend little Gwen explains what a clock is and how it can help them organise their day.

> "Perfect for shared reading, No Time for Clocks will help young children learn how to tell the time and develop their reading skills."

## [10, 9, 8...Owls Up Late!: a countdown to bedtime, by Georgiana Deutsch & Ekaterina Trukhan](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2187000)

> "Ten cheeky, bouncy, noisy owls are playing in a tree. It's bedtime, but they're having far too much fun to go to sleep! Uh-oh. Will Mummy Owl ever convince all her little owlets to fly down to the nest?"

## [Monster Maths: Counting, by Madeline Tyler & Amy Li](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2527394)

> "Is the maths monster biting at your brain? Maths can be scary, but not with 'Monster Maths'. Whether you're counting or measuring, sorting shapes or picking out patterns, these friendly maths monsters can help any young mathematician find the right answer."

## [First Numbers, by Tony Mitton & Ant Parker](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2363199)

> "Three boats bobbing on the sea. Which boat has a sail? What else can you see?"

> "This is a perfect way for young children to learn numbers and counting with their favourite vehicles! Robust, easy-to-hold tabs along the top and side guide young hands to each number from 1 to 10. There are colourful scenes to explore, and questions on each page encourage children to investigate further."

## [Roald Dahl's 1 2 3, by Quentin Blake & Roald Dahl](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2388522)

> "Count from 1 to 10 with the Enormous Crocodile! With one big flap and an enormous surprise, this sturdy board book is perfect for little hands. A brilliant introduction to the world of Roald Dahl."

## [Counting Things, by Anna Kövecses](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2187940)

> "Count to ten with Little Mouse! This cute board book features a large lift-flap on every spread."

## [The Very Hungry Caterpillar's 123, by Eric Carle](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2110590)

> "With this board book, learn your numbers with lots of animal friends. Starting off with one giraffe and finishing with 10 gorgeous animals (including The Very Hungry Caterpillar himself!), this is the perfect introduction to counting for very young children."

## [Count to 100, by Felicity Brooks & Sophia Touliatou](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2020255)

> "This title presents an introduction to numeracy and counting with pictures to illustrate the number on each page. Pages are dedicated to each number, or more than one, teaching children to count to 100."

## [One Banana, Two Bananas, by Adam & Charlotte Guillain & Sam Lloyd](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2701063)

> "Join in the simple, catchy rhyme in this madcap banana adventure.  With a catchy counting rhythm, this is a great way to help children learn to count in a fun, accessible way."

## [In a Minute: take the 60-second challenge!](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ?BRN=2522000)

> "What can you do in a minute? Blink 20 times? Do 77 star jumps?  With engaging contemporary illustrations and irresistible challenges for inquisitive minds, this title encourages children to think about the world around them and ask why and how?"

See also:
* [Reassuring books to help prepare children for their first day of school or nursery](/parents-carers-and-children/parenting-advice-books-to-help-with-raising-a-family/child-family-problems/starting-school-or-nursery/)
* [Get Ready for School book bags](/parents-carers-and-children/bookstart-storytime-resources/)

repository: suffolklibraries/sljekyll

repo_name: suffolklibraries/sljekyll


text:
#StarTrack

monitor old Rainstars

##Disclaimer

This is my very first programming project and my first steps with git.
I'm trying to advance in both as this project progresses.

##Description

Monitoring of piston driven reel irrigation systems (eg. Bauer Rainstar 1975-1995) with a RaspberryPi

##Goals

Software

- [x] measure the current retraction speed
  - [x] calculate the remaining irrigation time
  - [ ] calculate water/area at current speed
- [x] communicate over 3G
  - [ ] alert when retraction is finished / has stopped
  - [x] post status to a server
- [x] possibility for setting remaining length manually
- [ ] web interface for (live) monitoring over external server
  - [x] show chart with speed over time for all machines
  - [ ] push live status to webclients (over websocket)
  - [ ] stop or regulate machines remotely via web interface

Hardware

- [ ] load battery
  - [x] with photovoltaic cell
  - [ ] with generator driven by water from the piston drive
- [ ] regulate retraction speed

##Hardware

My hardware:

- 1x Bauer Rainstar (90-400 ? from ~1985)
- 1x RaspberryPi Model B (512 MB Ram)
- 2x Inductive proximity sensor Omron E2B-M12KS04-WP-B2 2M
- 1x HD44780 compatible 20x4 character LCD
- 1x 3G Stick Huawei E156G

##Node Dependencies

###Operating system

I'm running Debian Wheezy (Raspbian image from 05.05.2015). Additional packages installed:

- git
- python-pip (python3-pip)
- python-dev (python3-dev)
- python-smbus (python3-smbus) req. for Adafruit_CharLCD
- build-essential

For 3G connectivity:

- ppp
- wvdial
- sakis3g: http://www.sakis3g.com/ | https://github.com/taoyuan/sakis3g-source

###Python modules

- Adafruit_CharLCD: Original: https://github.com/adafruit/Adafruit_Python_CharLCD / Python3: https://github.com/matthw/Adafruit_Python_CharLCD
- RPi.GPIO (comes with Raspbian)
- subprocess32 (Python2 - for Python3: subprocess)
- requests
- adnpy (Python 2 only)
- config
- PyJWT

##Server Dependencies

- Webserver of your choice
- PHP 5.?
- Sqlite3
- composer https://getcomposer.org
- ZeroMQ for WebSocket: http://zeromq.org

##Licence

The MIT License (MIT)
Copyright (c) 2016

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

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

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

repository: farmio/StarTrack

gha_language: Python

repo_name: farmio/StarTrack


text:
---
title: OUR COMMUNICATION PRINCIPLES
---

## ALWAYS INFORMATIVE

We communicate with purpose, sharing our stories in ways that feel relevant to our audiences. We aim to surprise and delight but don’t assume knowledge. We are open and honest when things go wrong.

## ALWAYS FRIENDLY

Our tone can be playful or formal, depending on the audience. But as welcoming museums – our voice is always warm and accessible. Our passion and knowledge will inspire our audiences, so we avoid clichés, exclamation marks.

## ALWAYS ENGAGING

We ask questions, we reveal interesting facts and we encourage our audiences to get involved. Clear and succinct, we avoid jargon, but we don’t dumb down. We focus on what our audiences can do, not what they can’t.

## ALWAYS AUTHENTIC

We are genuine and honest, never gimmicky. Everything we say is accurate and relevant. We share what we know about science, even when the subject is controversial, but we avoid expressing personal or political opinions.

# OUR DESIGN PRINCIPLES

## ALWAYS ICONIC

We design with confidence and communicate important ideas with powerful, singular design solutions.

## ALWAYS BRAVE

Like the scientist and inventors whose stories we tell, we must never settle for the expected. We look harder and explore further to uncover something new, aspirational and inspiring.

## ALWAYS COMMUNICATING

Never decoration.
We focus on the essential aspects and eliminate superfluous noise.

## ALWAYS ACCESSIBLE

We work hard to create compelling designs that make it easy for everyone to experience our inspiring content and stories.

repository: TheScienceMuseum/web-design-system

repo_name: TheScienceMuseum/web-design-system


text:
---
layout: post
title: Anxiety
---
**Day 10: Saturday, March 21**

![Post  Office](/public/img/2020-03-21-mail.jpg)

Today I'm trying to stop worrying about the future and just be _present_.  I need to appreciate and enjoy the gifts God has given me, that I have right now.  The future will come, and there's no reason to borrow trouble.

I went with Kate to the post office as she mailed off some packages of clothes she's sold.  The lady at the count was pretty funny.

I went to Academy Sports to get some dummy shells for teaching people how to load the shotgun.  I bought some long-distance walkie-talkies, more shotgun shells and a MOLLE pouch to hold them.

The weather was really nice-bright and sunny and cool.

We decided to the the wood for the deck, but when I got to Lowe's, my anxiety got the best of me, and I just had to go home.  I think this is the first time in over a year that something like this happened. I think the responsibility and uncertainty just caught up with me.  I was/am okay, I just needed to go home and calm down away from the news and numbers.

I took a nap on the couch and Tom said I was talking in my sleep again.

The boys finished the Lego Millenium Falcon.

This last week I've had a lot of time talkint with Kate, and that's been really good for us.  She's so smart, and has grown into a wonderful woman.

Dani and I went for a long walk today.  When we got home, Adam across the street was just getting back from a bike ride.  He said his dad is getting worse, but he's not allowed to go visit him.  I don't know if it's because he has the virus, or if he's in a medical facility on lockdown in general.  He thinks this will blow over in a few weeks.

They announced Jackson, Johnson, and Wyandotte counties will start a stay-at-home order on Tuesday.  It will be enforced by ticketing.  Parks and mass transit will still be open.

There's something going on where the DOJ wants some measures approved where they can jail people indefinitely and without trial as a response to this situation.  Both R's and D's in Congress are flipping out, and for good reason.

### Testing ###

Due to the shortage of test, they want to change the standard for who gets tested.

Up until now, they've only been testing critical cases.  Now, they want to only test people [if the result would change the direction of treatment](https://www.cnn.com/2020/03/22/health/us-coronavirus-wrap-sunday/index.html). Hypothetically, if a Dr thinks a person has lung cancer, they'll probably do a COVID-19 test to ensure they won't need to treat their respiratory issues differently.

This is really, really bad for us.  The lack of tests means we have no idea how many people are infected, hospitalized, in critical condition, or have died from the Coronavirus.  Of course, this affects how policymakers plan and make decisions, but it also lets the local public know how bad their situation is.  For instance, we might have 50 people dying of COVID-19 at Belton Regional, but no one would know it, so people would think they can go about their everyday lives.

US: 24,207; 302 d.

MO: 86; 3 d.

KS: 57; 2 d.

repository: thiscovidlife/blog

repo_name: thiscovidlife/blog


text:
---
title: Card Trick
date: "2019-09-11"
description: "The blurb: you are a magician trying to impress the room with this amazing card trick. But also program it. Help!"
tags: ["c++", "deque", "sorting", "coach", "laaksonen"]
category: "Kattis"
image: ./cards.gif
---

### The card trick problem

Today's challenge is [Card Trick](https://open.kattis.com/problems/cardtrick2)!

**The trick is:**

1. move _one_ card at the bottom of the deque, reveal the next one. It's an **Ace**! :clap:
2. Discard the Ace, move _the next two cards_ one at a time at the bottom of the deque, and the next card you turn is ... a **2**! :clap: :clap:
3. Discard the 2, and again, move three cards :one at a time at the bottom of the deque, and the next is -unbelievably!- ... a **3**! :clap: :clap: :clap:
4. ... and so on and so forth, in front of your enraptured public.

Yes, it is what you think it is: the amateur illusionist can write a program that will allow her to arrange the card, and have it right anytime.

My friend and I sat a long while to get how this was implemented. We cutted out little pieces of paper representing the cards and tried to understand the logical sequence. After a while, our coach (who probably does not want his illustre name sullied in such an amateurish publication) took pity on us and told us ~~the solution~~ a huge hint.

The hint was: **try to put the LAST card first.**

To this powerful insight, we replied: "Thank you, we hungry and dumb, we'll go home now".

### The solution

After a few days, I realized that not only the hint was actually the solution, but that the implementation was given in the problem. We needed a **deque**! Fortunately, most programming languages\* have a data structure called deque.

\*⚠ no, really, I have no idea. But Python and C++ have.

So what is so special about a deque? It's like an array, but we can put values at the front and the back. The key is to reproduce those steps, but in reverse order.

The problem gives us only one number, which is the biggest card. Let's take it from here!

1. We place the biggest card on the top of the deque -let's say it's a 5 :clubs:-. The deque has now one card. Now we pop it out from the bottom of the deque (...I know, it's the same card), place it at the top of the deque _again_ (I know, why?), pop it from the bottom of the deque (yes, it's weird!)... five times.

2. We take the next card, which is a 4 of :clubs:. We place it at the top of the deque, pop the five from the bottom of the deque (now that we have two cards so we look less unhinged!), place the five at the top of the deque, ... four times.

3. take the 3 of :clubs:, and repeat the procedure which looks less insane now that you have three cards ... three times.

4. ... when we reach the one, we have a perfectly organized deque to do this magic!

### Code

> The limit of language is the limit of one's world.
>
> > Ludvig Wittgenstein

A few days ago, I read that quote from Wittgenstein in the Pragmatic Programmer, so I decided to rewrite the code in c++. Here it is!

```cpp
#include <iostream>
#include <deque>

using namespace std;

int main() {
    int testCases;
    cin >> testCases;

    for (int i = 0; i < testCases; ++i) {
        int biggestCard;
        cin >> biggestCard;
        deque<int> cardDeque;
        //remember, first the biggest card...
        for (int i = biggestCard; i > 0; i--) {
            cardDeque.push_front(i);
            //doing the crazy described at 1. here:
            for (int j = 0; j < i; j++) {
                int card_to_move = cardDeque.back();
                cardDeque.pop_back();
                cardDeque.push_front(card_to_move);
            }
        }
        //producing the perfect deque:
        while (not cardDeque.empty()) {
            cout << cardDeque.front() << " ";
            cardDeque.pop_front();
        }
    }
    return 0;
}
```

### Time complexity

Is this a Big-noh-noh solution?

I checked what my much loved and much misunderstood [_Guide to competitive programming_](https://www.springer.com/us/book/9783319725468) had to say:

Here, page 54:

> The operations of a deque also work in _O(1)_ average time. However, deques have larger constant factors than vectors, so deques should be used only if ther is a need to manipulate both ends.

My analysis: So _O(1)_ \* n = _O(n)_. Sounds ok to me!

It works. We'll investigate the "constant factors" another time.

repository: Dajamante/blog

repo_name: Dajamante/blog


text:
# Spring-Configuration-Support

System        | Status
--------------|------------------------------------------------
CI master     | [![Build Status][travis-master]][travis-url]
CI develop    | [![Build Status][travis-develop]][travis-url]
Dependency    | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.namics.oss.spring.support.configuration/spring-configuration-support/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.namics.oss.spring.support.configuration/spring-configuration-support)

`Spring-Configuration-Support` allows to fetch environment-specific property values from a configured data-source.
Additionally, a default user-interface for management of these properties is provided as well.
The configuration of a PropertySourcesPlaceholderConfigurer, which depends on the provided source, allows to resolve the specified property placeholders in your application.

## Usage

You have the choice of either configuring the library yourself (via Java-Config) or use the provided Spring Boot starter dependency.

### Maven Dependency (Latest Version in `pom.xml`):

	<dependency>
		<groupId>com.namics.oss.spring.support.configuration</groupId>
		<artifactId>spring-configuration-support</artifactId>
		<version>1.0.0</version>
	</dependency>

### Spring Boot Starter (Latest Version in `pom.xml`):

    <dependency>
		<groupId>com.namics.oss.spring.support.configuration</groupId>
		<artifactId>spring-configuration-support-starter</artifactId>
		<version>1.0.0</version>
	</dependency>

## Requirements
Java: JDK 8

## Configuration

### Spring Boot Starter Auto-Configuration

Requirements:
Configured DataSource Bean.

The auto-configuration relies on a pre-configured DataSource Bean. If no different table or column names are specified, the following structure of the table named "nmx_configuration" is required:

    configuration_env | configuration_key | configuration_value
    ----------------------------------------------------------------------------
    DEV               | app.base.url      | http://localhost:8080/myapp
    PROD              | app.base.url      | http://prod.customer.com/myapp

The default environment is "*".
The table name, the column names and the default environment can be specified via the following properties in your application.properties file:

    com.namics.oss.spring.support.configuration.dataSource.tableName=my_configuration_table
    com.namics.oss.spring.support.configuration.dataSource.keyColumnName=my_configuration_key
    com.namics.oss.spring.support.configuration.dataSource.valueColumnName=my_configuration_value
    com.namics.oss.spring.support.configuration.dataSource.environmentColumnName=my_configuration_env
    com.namics.oss.spring.support.configuration.dataSource.defaultEnvironment=MY_DEFAULT_ENVIRONMENT

#### User Interface

The user-interface for managing the properties is located at the following url by default:
http://localhost:8080/configuration/properties.html (for localhost)

The servlet-mapping as well as the servlet-name can be specified in your application.properties file as well:

    com.namics.oss.spring.support.configuration.web.servletName=configurationServlet
    com.namics.oss.spring.support.configuration.web.servletMapping=/configuration/*

There is also the possibility to exclude the user-interface from the auto-configuration by excluding the dependency `spring-configuration-support-web`:

    <dependency>
		<groupId>com.namics.oss.spring.support.configuration</groupId>
		<artifactId>spring-configuration-support-starter</artifactId>
		<exclusions>
			<exclusion>
				<groupId>com.namics.oss.spring.support.configuration</groupId>
				<artifactId>spring-configuration-support-web</artifactId>
			</exclusion>
		</exclusions>
	</dependency>

### Configuration via Java-Config

The following example, based on an in-memory database, demonstrates the configuration of the module by using Spring Java-Config.
Depending on the active profiles in your environment, the module adds a PropertiesPropertySource for every profile to your environment.
The PropertiesPropertySource representing the default environment has the lowest priority.

	@Configuration
    public class PropertiesConfig {

    	@Bean(name = "dbSource")
    	public PropertiesPropertySource[] source(
    			@Named("dbProps") OrderedProperties orderedProperties,
    			ConfigurableEnvironment environment) throws Exception {

    		PropertiesPropertySource[] propertiesPropertySources = orderedProperties.toPropertiesPropertySources();
    		for(int i=(propertiesPropertySources.length-1);i>=0;i--){
    			environment.getPropertySources().addFirst(propertiesPropertySources[i]);
    		}
    		return propertiesPropertySources;
    	}

    	@Bean(name = "dbProps")
    	public DaoConfigurationPropertiesFactoryBean databaseConfigFactory(ConfigurationDao configurationDao, Environment environment) throws Exception {
    		return new DaoConfigurationPropertiesFactoryBean(configurationDao, environment.getActiveProfiles(), "*");
    	}

    	@Bean
    	public ConfigurationDaoJdbcImpl configurationDao(DataSource dataSource) {
    		return ConfigurationDaoJdbcImpl.forDataSource(dataSource)
    		                               .tableName("nmx_configuration")
    		                               .environmentColumn("environment")
    		                               .propertyKeyColumn("property_key")
    		                               .valueColumn("property_value")
    		                               .build();
    	}

        @Bean
        public DataSource dataSource(){
            return new EmbeddedDatabaseBuilder()
                    .continueOnError(true)
                    .addScripts("classpath:/META-INF/db/schema.sql","classpath:/META-INF/db/data.sql")
                    .build();
        }
    }

You can also configure a Bean of type ConfigurationValueService to work with the configured properties.
Note that you have to set a specific environment to operate on.

    @Bean
	public ConfigurationValueServiceImpl configurationValueService(ConfigurationDao configurationDao) {
		return new ConfigurationValueServiceImpl(configurationDao, new ConfigurationEnvironment("DEV"));
	}

Configure a PropertySourcesPlaceholderConfigurer, which depends on the loaded property sources, to resolve the placeholders (e.g. @Value(...)) in your application.

	@Bean
	@DependsOn("dbSource")
	public static PropertySourcesPlaceholderConfigurer databaseConfigurer() {
		return new PropertySourcesPlaceholderConfigurer();
	}

### Default values

Certain values remain the same for multiple environments (e.g. maximum password length).
In this case, we configure the length for the default environment "*".

Example:

	configuration_env | configuration_key | configuration_value
	-----------------------------------------------------------
	*                 | password.length   | 60
	PROD              | password.length   | 50

Using the above configuration the property password.length will always resolve to 60 unless the profile "PROD" is active.
If the profile "PROD" is active, all configuration values for the specified environment will be added as a PropertySource to the environment additionally.
The property password.length will then resolve to the value 50.

A SQL-Script creating the default schema is located at:
	`com/namics/oss/spring/support/configuration/default-schema.sql`

[travis-master]: https://travis-ci.org/namics/spring-configuration-support.svg?branch=master
[travis-develop]: https://travis-ci.org/namics/spring-configuration-support.svg?branch=develop
[travis-url]: https://travis-ci.org/namics/spring-configuration-support


text:
# Update-ItemReferrer

Updates references to specified item to point to a new provided in the -NewTarget ore removes links to the item.

## Syntax

Update-ItemReferrer [-Link] <ItemLink> [-NewTarget] <Item>

Update-ItemReferrer [-Link] <ItemLink> -RemoveLink

Update-ItemReferrer [-NewTarget] <Item> [-Item] <Item>

Update-ItemReferrer -NewTarget <Item> -Path <String> [-Language <String[]>]

Update-ItemReferrer -NewTarget <Item> -Id <String> [-Database <String>] [-Language <String[]>]

Update-ItemReferrer -RemoveLink [-Item] <Item>

Update-ItemReferrer -RemoveLink -Path <String> [-Language <String[]>]

Update-ItemReferrer -RemoveLink -Id <String> [-Database <String>] [-Language <String[]>]

## Detailed Description

The cmdlet manipulates link to a specific item. The target item can be provided as an Item object or through Path/ID.
it does not modifies the item itself but rather other items that link to it.
If the -RemoveLink parameter is used the link will be removed rather than modified.
To deliver more fine grained filtering you can provide ItemLink using the -Link parameter. You can obtain ItemLinks using Get-ItemReferrer or Get-ItemReference cmdlets.
Consult Examples for specific use cases of each approach.

© 2010-2017 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions

## Parameters

### -Link  <ItemLink>

ItemLink retrieved from the Link database. Use this parameter to do more granular filtering.

            Aliases

            Required?
            true

            Position?
            1

            Default Value

            Accept Pipeline Input?
            true (ByValue)

            Accept Wildcard Characters?
            false

### -NewTarget  <Item>

New item the links should be pointing to

            Aliases

            Required?
            true

            Position?
            2

            Default Value

            Accept Pipeline Input?
            false

            Accept Wildcard Characters?
            false

### -RemoveLink  <SwitchParameter>

If provided, removes all links to the current target item.

            Aliases

            Required?
            true

            Position?
            named

            Default Value

            Accept Pipeline Input?
            false

            Accept Wildcard Characters?
            false

### -Item  <Item>

The current item to be relinked.

            Aliases

            Required?
            true

            Position?
            1

            Default Value

            Accept Pipeline Input?
            true (ByValue, ByPropertyName)

            Accept Wildcard Characters?
            false

### -Path  <String>

Path to the current item to be relinked - can work with Language parameter to narrow the publication scope.

            Aliases

            Required?
            true

            Position?
            named

            Default Value

            Accept Pipeline Input?
            false

            Accept Wildcard Characters?
            false

### -Id  <String>

Id of the current item to be relinked - can work with Language parameter to specify the language other than current session language. Requires the Database parameter to be specified.

            Aliases

            Required?
            true

            Position?
            named

            Default Value

            Accept Pipeline Input?
            false

            Accept Wildcard Characters?
            false

### -Database  <String>

Database containing the current item to be relinked.

            Aliases

            Required?
            false

            Position?
            named

            Default Value

            Accept Pipeline Input?
            false

            Accept Wildcard Characters?
            false

### -Language  <String[]>

If you need the current item to be relinked in specific Language You can specify it with this parameter. Globbing/wildcard supported.

            Aliases

            Required?
            false

            Position?
            named

            Default Value

            Accept Pipeline Input?
            false

            Accept Wildcard Characters?
            false

## Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

* Sitecore.Data.Items.Item

## Notes

Help Author: Adam Najmanowicz, Michael West

## Examples

### EXAMPLE 1

This example covers global operations

Assuming Sitecore PowerShell Extensions 4.2 or newer is installed
Assuming your Home has an "Image" field of type "Image"
Assuming you have second item next to Home called Home2 that has an "Image" field of type "Image"

```powershell

$coverImage = Get-Item 'master:\media library\Default Website\cover'
$scLogoImage = Get-item 'master:\media library\Default Website\sc_logo'

Write-Host "`nReset 'home', 'child' and 'home2' to link to 'cover'- 3 items" -Foreground Magenta
(Get-item master:\content\home).Image = $coverImage
(Get-item master:\content\Home\child).Image = $coverImage
(Get-item master:\content\home2).Image = $coverImage

Get-ItemReferrer -Item $coverImage

Write-Host "`nRelinking all instances of 'cover' image to  'sc_logo'" -Foreground Yellow
$coverImage | Update-ItemReferrer -NewTarget $scLogoImage

Write-Host "`n'cover' should no longer have links leading to it - 0 items " -Foreground Red
$coverImage | Get-ItemReferrer

Write-Host "`n'sc_logo' should now be linked from all - 3 items" -Foreground Green
$scLogoImage | Get-ItemReferrer

Write-Host "`nRemoving links to 'sc_logo' from all items" -Foreground Yellow
$scLogoImage | Update-ItemReferrer -RemoveLink

Write-Host "`n'sc_logo' should have no links to it - 0 items" -Foreground Red
$scLogoImage | Get-ItemReferrer

```

### EXAMPLE 2

This example covers more fine-grained filtered approach to removing links

Assuming Sitecore PowerShell Extensions 4.2 or newer is installed
Assuming your Home has an "Image" field of type "Image"
Assuming you have second item next to Home called Home2 that has an "Image" field of type "Image"

```powershell

$coverImage = Get-Item 'master:\media library\Default Website\cover'
$scLogoImage = Get-item 'master:\media library\Default Website\sc_logo'

Write-Host "`nReset 'home', 'child' and 'home2' to link to 'cover'- 3 items" -Foreground Magenta
(Get-item master:\content\home).Image = $coverImage
(Get-item master:\content\Home\child).Image = $coverImage
(Get-item master:\content\home2).Image = $coverImage

Get-ItemReferrer -Item $coverImage

Write-Host "`nRemove links to the 'cover' image from all items under 'master:\content\home'" -Foreground Yellow
Get-ChildItem master:\content\home -WithParent -Recurse |   # get items under home
    Get-ItemReference -ItemLink |                           # get all items that they are refering to
    ? { $_.TargetItemID -eq $coverImage.ID } |              # filter only references to $coverImage
    Update-ItemReferrer -RemoveLink                         # remove links

Write-Host "`n'cover' should have 1 link leading from 'home2'" -Foreground Green
$coverImage | Get-ItemReferrer

```

### EXAMPLE 3

This example covers more fine-grained filtered approach to removing links

Assuming Sitecore PowerShell Extensions 4.2 or newer is installed
Assuming your Home has an "Image" field of type "Image"
Assuming you have second item next to Home called Home2 that has an "Image" field of type "Image"

```powershell

$coverImage = Get-Item 'master:\media library\Default Website\cover'
$scLogoImage = Get-item 'master:\media library\Default Website\sc_logo'

Write-Host "`nReset 'home', 'child' and 'home2' to link to 'cover'- 3 items" -Foreground Magenta
(Get-item master:\content\home).Image = $coverImage
(Get-item master:\content\Home\child).Image = $coverImage
(Get-item master:\content\home2).Image = $coverImage

Get-ItemReferrer -Item $coverImage

Write-Host "`nUpdate all links to 'cover' image to point to 'sc_logo' from all immediate children of /sitecore/content" -Foreground Yellow
Get-ChildItem master:\content |                     # get items immediately under 'under home'content'
    Get-ItemReference -ItemLink |                   # get all items that they are refering to
    ? { $_.TargetItemID -eq $coverImage.ID } |      # filter only references to $coverImage
    Update-ItemReferrer -NewTarget $scLogoImage     # point them to 'sc_logo' image

Write-Host "`n'cover' should have link from home2/child - 1 item" -Foreground Green
$coverImage | Get-ItemReferrer

Write-Host "`n'sc_logo' should have links leading from 'home' and 'home2' - 2 items" -Foreground Green
$scLogoImage | Get-ItemReferrer

```

## Related Topics

* [Get-ItemReferrer](/appendix/commands/Get-ItemReferrer.md)
* [Get-ItemReference](/appendix/commands/Get-ItemReference.md)
* https://github.com/SitecorePowerShell/Console/

repository: renjohn/Console

gha_license_id: NOASSERTION

repo_name: renjohn/Console


text:
## CURRENT STATUS

So far little-daw is a minimal skeleton, with one wavetable synthesizer
that allows you to play a melody using the keys on your keyboard.  The timbre
can be a sine wave, square wave, or custom waveform built based on the
amplitudes of the fundamental and the first X harmonics.

## COMPILING

Compile from the /src directory.  You may need to explicitly link to the
'portaudio' library. If you use g++, compilation may look like this:

	      g++ *.cpp -lportaudio -o littledaw -std=c++11

## INVOKING

        ./littledaw

## COMMANDS

When the program initiates it provides a prompt ('>> ').  This is where you
enter all commands, including note changes.  To enter a command, type it and
then hit RETURN.

Here is a schematic showing spatial arrangement of keys
and their associated note values:
```
--------------------- KEYS: ----------------|
                                            |
     [`][1][2][3][4][5][6][7][8]            |
          [q]   [e][r]   [y][u]             |
            [a][s][d][f][g][h][j][k]        |
              [z]   [c][v]   [n][m]         |
                                            |
------------ CORRESPONDING NOTES: ----------|
                                            |
     [g#][a][b][c][d][e][f][g][a]           |
          [a#]  [c#][d#] [f#][g#]           |
            [a][b][c][d][e][f][g][a]        |
              a#]  [c#][d#] [f#][g#]        |
____________________________________________|
```

## PORTAUDIO DEPENDENCY

This program is written using PortAudio, so you will need to download and install
it if you are building this project.  On OSX, with brew, it is easy:

        brew install portaudio

Otherwise, you can download a release from the PortAudio website:

        http://portaudio.com/download.html

## LICENSE

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

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

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


text:
---
title:  inQuire
date:  11/10/2019
---

#### inQuire

Discuss the following questions with your Bible study group.

`How does God change people?`

`What is the relationship between prayer and action?`

`What are the extremes of too much prayer and too much action?`

`Is tact necessary? How can you develop your tactfulness?`

`What is the difference between tact and deceit?`

`Are planning, logistics, and strategy a spiritual gift?`

`Why is planning not a demonstration of a lack of faith?`

`How are spirituality and occupation related to each other? In your life?`

`How has God used individuals in high positions of society in the past?`

`How can you access resources in the world and harness them for the proclamation of the gospel?`

`world and harness them for the proclamation of the gospel?`

repository: Adventech/sabbath-school-lessons

branch_name: refs/heads/stage

repo_name: Adventech/sabbath-school-lessons


text:
---
layout: tool
title: PDK Planning
github: puppetlabs/pdk-planning
description: "Public planning repository for the PDK project."
appveyor: true
codecov_token: false
dependabot: true
gem: false
puppet_module: false
travis_com: false
travis_org: false
workflow: New Project Created
category: PDK
---

This repo has some automation enabled to pull various ticket systems together onto a single board.
Have a look at the [projects](https://github.com/puppetlabs/pdk-planning/projects) on Github to see where everything's at.

repository: puppetlabs/iac

gha_language: Ruby

repo_name: puppetlabs/iac


text:
# Dagstuhl Feature Interaction Breakout Group 3

July 8, 2014
Oscar Nierstrasz, Stefania Gnesi, Reiner Hähnle, Mirco Tribastone, Christian Prehofer, Stefan Sobernig, Sergiy Kolesnikov, Luciano Baresi

## Different perspectives

* RH: from MJ's keynote — features are not just what the user sees
* CP: distinguish solving vs finding FIs
    * SG: design to avoid FI vs discovering FI
        * CP: how to communicate to the user
    * RH: two different approaches
        * Tools
            * Legacy code
        * No tools
            * Requirements
    * SG: need to bridge the static (structural) and dynamic (behavioural) views of features
        * Behaviour is not explicit in the features
* Dimensions
    * Design
        * Understanding requirements
    * System development
        * Focus on code
        * Quality control
            * Bug finding
            * Testing

## Taxonomy

* What's a feature?
    * Still essentially two views: requirements vs implementation
    * A requirement
        * Independent
        * I.e. design view
    * A unit of functionality (17)
        * Additive
        * Optional
        * Includes behaviour
    * A characteristic of a system
        * Or aspect
        * Or profile
        * Or concern
        * I.e. Not necessarily functional
    * Unit of variability
        * SPL view
* What's feature interaction?
    * General definition
        * Feature behaves differently in isolation than in combination
    * Combination
        * Independence
            * Get nice, addition of behaviours
            * MJ: there is no composition; just combination and resolution
        * Dependency
            * Feature depends on (requires) another feature
        * Emergent behaviour
            * Is this the right term?
        * Conflict
            * Logical inconsistency
            * Property violation
            * Unacceptable behaviour
    * How do FIs manifest themselves?
        * See MJ's list
        * disruptions ...
* How to deal with FIs?
    * Modeling
        * Specify desired properties
            * safety, liveness
            * NF properties  – performance etc
        * Open vs closed systems
    * Detect unknown FIs
        * RH: analogy to "hidden channels" in security
        * Testing
        * Model checking
        * Principle component analysis
    * Identify appropriate resolutions
        * Resolve statically or at run time?
        * Coordination patterns
            * priorities
                * don't scale?
            * sequential vs parallel
    * SG: Techniques to use depend on where you are in the lifecycle

## Tasks

* What is common about FI in different domains?
    * MT: Definition: Interference between units of functionality
    * CP: Distinction of levels
    * RH: Synthetic vs analytic approaches
* What are the open issues and challenges?
    * RH: bridging gap between two perspectives
    * SG: feature-aware computational model
    * LB: elicitation of FI patterns
    * SS: map/taxonomy of systems and views
* What are the questions we should address Thursday & Friday?
    * MT: see above!
    * RH: listen to senior researchers about burning research questions
        * ON: concentric circle panel
    * CP: discussion about where we want to be in 10 years
    * CP: Discuss FI patterns

## Challenges

* LB: What would you tell a new PhD student to do?
* MT: develop a feature-aware computational model
    * Expresses when features interact/interfere
        * Behaviour changes
    * Features (of the same system) are *never* truly independent
    * MH: would be useful for reasoning about both views of feature interaction (reqts & implementation)
    * SG: would be something like featured transition systems?
        Link: [projects.info.unamur.be/fts/][1]

* CP: mine FI patterns from case studies

[1]: https://projects.info.unamur.be/fts/

url: https://raw.githubusercontent.com/onierstrasz/iThoughts/b36f33d3f3b6047ec9b1ef0b19ae9d524e506c3c/Workshops/Dagstuhl Feature Interaction Breakout Group.markdown

repository: onierstrasz/iThoughts

repo_name: onierstrasz/iThoughts


text:
# Building and Running Fuzzers

_This page documents building and running fuzzers as part of OSS target source tree._
_See [External Fuzzer](building_running_fuzzers_external.md) process for oss-fuzz fuzzers._

## Prerequisites

[Install Docker]. The toolchain setup necessary to build coverage-guided fuzzers is complicated. Docker is used
to simplify distribution of the toolchain and to produce repeatable results for distributed execution.

## Building Fuzzers

Building fuzzer is a two-step process:

1. Building a container ready to compile fuzzers:

    # in target directory
    docker build -t ossfuzz/$target_name .

2. Build fuzzers:

    # in target directory
docker run -ti -v $PWD:/src/$target_name -v /tmp/out:/out ossfuzz/$target_name

`/tmp/out` will contain fuzzers.

## Running Fuzzers

Fuzzers are statically linked executables and could be executed normally in Unbuntu-like environment.
When Ubuntu environment is not aviable (or restricted environemnt is desirable), the fuzzer can easly be run inside docker
container:

docker run -ti -v /tmp/out:/out -t ossfuzz/libfuzzer-runner /out/$fuzzer --runs=100

[Install Docker]: https://docs.docker.com/engine/installation/

repository: alex/oss-fuzz

repo_name: alex/oss-fuzz


text:
# Traffic4cast 2020
by Team Deadlock: [Ye Hong](https://www.researchgate.net/profile/Ye_Hong9) and [Shengyu Huang]()

## Documentation

## Howto
### Train a model
- Copy the competition raw data into a folder and enter the root in 'util/create_mask.py' and 'Unet/config.py' files.
- Run 'util/create_mask.py' to create a mask for each city
- Run 'Unet/training.py' or 'multiLSTM/training.py' to start training.
- Run `util/create_submission.py` to create submission files using the trained model

### Create submission with the pretrained models
Note that due to time restrictions we only train our proposed model on Moscow, the Berlin model is a simplified network with depth 5, and the Istanbul model is the original UNet as reported from [1].
- Download the pretrained model and copy the 'checkpoint.pt' file to the respective folder 'runs'
- open 'validate_Berlin.py', 'validate_Istanbul.py' or 'validate_Moscow.py', and fill in the 'source_root' and 'submission_root' placeholders.
- Run 'validate_Berlin.py', 'validate_Istanbul.py' or 'validate_Moscow.py'.

### References
[1] Ronneberger, O., Fischer, P. and Brox, T., 2015, October. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computer-assisted intervention (pp. 234-241). Springer, Cham.


text:
# Sample test cases for Jest testing framework.

Sample project ilustrating use of Jest Testing Framework to test mainframe applications. Sample test cases cover the use Zowe CLI as well as Zowe Node.js SDK.

![Run test case](../media/frmwrk-jest.gif)

## Prerequisities
* Node.js
* Zowe CLI with defined default z/OSMF profile for Zowe CLI samples

## Recomendations
* Visual Studio Code
* Jest Runner VSCode extension

## How to initialize this Jest project - cloned from git repository
1. Install needed packages

    `npm install`

## How to initialize your Jest project - when starting completely from scratch

1. Initialize package.json

    `npm init -y`

2. Install needed packages

    `npm install -D jest typescript ts-jest @types/jest @zowe/imperative @zowe/cli`

3. Create ts-jest configuration to use typescript with Jest

    `npx ts-jest config:init`

## Files
* `SORTCLI1.expected.data`
    * Expected data output from the Sort job. It is used for asserting the job output.
* `SORTCLI1.input.data`
    * Input data for the Sort job. It is uploaded to data set for the job to process.
* `SORTCLI1.jcl`
    * Sort job JCL.
* `SORTCLI1.test.ts`
    * This is the actual Jest Testing Framework test case using Zowe CLI to communicate with mainframe.

* `SORTSDK1.expected.data`
    * Expected data output from the Sort job. It is used for asserting the job output.
* `SORTSDK1.input.data`
    * Input data for the Sort job. It is uploaded to data set for the job to process.
* `SORTSDK1.jcl`
    * Sort job JCL.
* `SORTSDK1.test.ts`
    * This is the actual Jest Testing Framework test case using Zowe Node.js SDK to communicate with mainframe.

## How to run test cases
If prerequisities are met, simply execute following command:

    npm run test

Optionaly use defined NPM Scripts through the VSCode Explorer
* test
    * to run all test cases
* testCLI
    * to run only CLI test case
* test SDK
    * to run only SKD test case

Yet another option is using Jest Runner in VSCode. It adds run | debug buttons in front of every test case and test suite.

repository: Jakub-CZ/mf-test-automation

repo_name: Jakub-CZ/mf-test-automation


text:
# next-pre-css
Adds support for both Stylus & Less CSS pre-processing in NextJS v10+.

## Step 1 - Install next-pre-css & Your Choice of Flavor

### for Stylus?
Install both Stylus and the Stylus loader for Webpack:
```
$ npm i -D stylus stylus-loader next-pre-css
```

__NOTE:__ Stylus-Loader v5 drops support for Webpack 4 (which is the default for NextJS v10)
You can opt-in to Webpack5 as noted both on [this page](https://nextjs.org/docs/messages/webpack5) as well as the example illustrated below.
If, however, you wish to stay on Webpack 4 - then you'll need Stylus-Loader v4:
```
$ npm i -D stylus-loader^4.3.3
```

### for Less?
Install both Less and the Less loader for Webpack:
```
$ npm i -D less less-loader next-pre-css
```

## Step 2 - Setup your NextJS Config
If you don't already have a [NextJS Config](https://nextjs.org/docs/api-reference/next.config.js/introduction), create one.
```
touch next.config.js
```
In the config, `require()` the next-pre-css module and wrap your config with it as follows.
```
const addSupport = require('next-pre-css')

module.exports = addSupport({

  /* To opt-in to using Webpack5 in NextJS */
  future: { webpack5: true },

  webpack: (config, options) => {

    /* ...and the rest of your custom webpack config goes here. */

    return config;
  },
})
```
As an extra example; adding GraphQL and the GraphQL-Tag loader (because why not?):
```
const addSupport = require('next-pre-css')

module.exports = addSupport({
  webpack: (config, options) => {
    config.module.rules.push({
      test: /\.(graphql|gql)$/,
      exclude: /node_modules/,
      loader: 'graphql-tag/loader',
    })
    return config
  },
  webpackDevMiddleware: (config) => {
    return config
  },
})
```

## Step 3 - Um... Do Your Thing.
Begin working w/ the same pleasentries that NextJS provides Sass with (such as [component-level styling](https://nextjs.org/docs/basic-features/built-in-css-support#adding-component-level-css) like: `mah-css.module.styl` or `mah-css.module.less`, but for the pre-processor that _you_ prefer. Under-the-hood, this module does little more than modify the webpack rules NextJS sets for Sass & CSS to include both Stylus and Less. So that's it.

Hence forth, Go Nuts!

repository: Aviortheking/next-pre-css

repo_name: Aviortheking/next-pre-css