text:
This documentation is built using [Sphinx](http://sphinx-doc.org). It also uses some extensions for theming and REST API
documentation support.

Start by installing the requirements:

    pip install -r requirements.txt

Then you can generate the HTML version of the docs:

    make html

The root of the documentation will be at `_build/html/index.html`

While editing the documentation, you can get a live preview using python-livepreview. Install the Python library:

    pip install livereload

Then run the monitoring script in the background:

    python autoreload.py &

If you install the [browser extensions](http://livereload.com/) then everything should update every time any files are
saved without any manual steps on your part.

Note: If you're already running the autoreloader, you may need to run `make clean html` if you add new sections.

repository: jasonmorganson/cp-docker-images

repo_name: jasonmorganson/cp-docker-images


text:
## One Month Simple - Payroll Application

One Month Simple is a vulnerable version of the Ruby on Rails Framework based off the OWASP RailsGoat project. It includes vulnerabilities from the OWASP Top 10, as well as some "extras" that the initial project contributors felt worthwhile to share. This project is designed to educate both developers, as well as security professionals.

## Getting Started

To begin, make sure SQLite is installed:

For macports
```
# port install sqlite3 +universal
```

For linux:
```
# yum install sqlite-devel'

or

# apt-get install libsqlite3-dev'
```

Install the Ruby Version Manager (RVM):

```
$ curl -L https://get.rvm.io | bash
```

Install and run ruby 2.1.2:
Note - You may need to run "bash --login" to start a new shell with rvm.

```
rvm install ruby-2.1.2
```

Clone the code:

```
$ git clone https://github.com/jrose400/onemonthsimple
```

Install `bundler`:

```
$ gem install bundler
```

Navigate into the directory and install the dependencies:

```
$ cd onemonthsimple
$ bundle install
```

Initialize the database:

```
$ rake db:setup
```

Start the Thin web server:

```
$ rails server
```

Open your favorite browser, navigate to `http://localhost:3000` and start hacking!

# License

The MIT License (MIT)

Copyright (c) 2013-2014 The Open Web Application Security Project

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.

license: MIT

branch_name: refs/heads/master

extension: md

license_type: permissive


text:
---
layout: default
title:  "AppService"
excerpt: "Learn how to use BELLATRIX AppService."
date:   2018-05-30 06:50:17 +0200
parent: desktop-automation
permalink: /desktop-automation/app-service/
anchors:
  example: Example
  explanations: Explanations
---
Example
-------
```
Feature: Navigate to BELLATRIX Online Rocket Shop
	To purchase a new rocket
	As a Nuclear Engineer
	I want to be able to buy a new rocket.

Background:
Given I use app with path AssemblyFolder\Demos\Wpf\WPFSampleApp.exe
And I restart the app on test fail
And I take a screenshot for failed tests
And I record a video for failed tests
And I open app

Scenario: Successfully Transfer Item
	When I click app's back button
	And I click app's forward button
    And I maximize the app
    Then I assert that Item2 right item is selected
```

Explanations
------------
With the BELLATRIX desktop library, you can test various Windows applications written in different technologies such as- WPF, WinForms or UWP (Universal Windows Platform).
```
Given I use app with path AssemblyFolder\Demos\WPFSampleApp.exe
And I open app
```
For the first two, you need to pass the path to your application's executable.
```
Given I use app with path AssemblyFolder\Demos\WindowsFormsSampleApp.exe
And I open app
```
Starts WinForms app.
```
Given I use app with path 369ede42-bebe-41ea-a02a-0da04991478e_q6s448gyj2xsw!App
And I open app
```
For Universal applications you need to set the application's installation GUID.
```
When I click app's back button
And I click app's forward button
And I maximize the app
Then I assert that Item2 right item is selected
```
Through predefined steps you can control the certain aspects of your application such as maximise it or going backwards or forward.


text:
### [CVE-2018-2376](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-2376)
![](https://img.shields.io/static/v1?label=Product&message=SAP%20HANA%20Extended%20Application%20Services&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%201.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Information%20Disclosure&color=brighgreen)

### Description

In SAP HANA Extended Application Services, 1.0, a controller user who has SpaceAuditor authorization in a specific space could retrieve application environments within that space.

### POC

#### Reference
No PoCs from references.

#### Github
- https://github.com/lmkalg/my_cves

repository: trickest/cve

branch_name: refs/heads/main

gha_language: HTML

gha_license_id: MIT

repo_name: trickest/cve


text:
---
layout: post
title: Menu bar 2.0, released from Belgium!
created:<PHONE_NUMBER>
categories: ["drupal"]
---
A little less than one month ago, I released version 1.0 of my Drupal admin menu bar.

Today, here at EuroOSCON 2006 in Belgium, I am pleased to announce that version 2.0  of Menu bar for Drupal is now out--a full blown module, fully contained, no more theming hacks necessary :-)

So what's new? Here's a short list:

Self contained module that can be turned on and off

Access permissions for viewing the entire menu

Better devel module integration--new option to turn links on and off

Optionally choose which menu to show in the menu bar

Auto menu expansion on the fly--no need to expand your menu, the code automatically grabs the full menu without actually modifying your current menu structure

New menu effects thanks to jQuery

Improved menu item widths

However, there is one caveat (isn't there always?). This module is for Drupal 5.0 only. Why's that? Well it relies on jQuery which is now in core for Drupal 5.0. It also relies on another small improvement to 5.0 for sharing data between PHP and JS code. In short, making it work for 4.7 is a bit more of a hassel and code I do not want to maintain. Hence the 5.0 version :-)

repository: tedserbinski/www-jekyll

extension: markdown

repo_name: tedserbinski/www-jekyll


text:
Authentication is done in various ways:
- The GUI uses SimpleSamlPhp authentication
- The old API uses a signature in the url based on the username/password in the database
- The new REST API uses HTTP Basic authentication based on the based on the username/password in the database

#Configuration

## admin.name *string*
The name of the administrator of the installation
Example:
```yml
admin:
   name: admin
```

## admin.email *string*
The email address of the administrator
Example:
```yml
admin:
   email<EMAIL_ADDRESS>```

## auth *string*
The auth source used to gain access to JANUS. Must be configured in the `authsources.php` file in SSP
Example:
```yml
auth: user
```

## useridattr *string*
Name of the attribute used to uniquely identify the users. Must be unique across all users
Example:
```yml
useridattr: username
```
## user.autocreate *boolean*
Whether or not new uses should be auto created in JANUS
Example:
```yml
user:
    autocreate: true
```

repository: janus-ssp/janus

branch_name: refs/heads/develop

gha_language: PHP

repo_name: janus-ssp/janus


text:
---
layout: default
---

# 1996-01-23 - Re: Query over PZ

## Header Data

From<EMAIL_ADDRESS>(David Mandl)

To<EMAIL_ADDRESS>(tallpaul)

Message Hash: af84453d1464d06f7ca9221e2f450178c928328b93ddf3847449855613bb7c3e

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1996-01-23 05:32:09 UTC

Raw Date: Mon, 22 Jan 96 21:32:09 PST

## Raw message

```
{% raw  %}From<EMAIL_ADDRESS>(David Mandl)
Date: Mon, 22 Jan 96 21:32:09 PST
To<EMAIL_ADDRESS>(tallpaul)
Subject: Re: Query over PZ
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

At 12:00 AM 1/23/96, tallpaul wrote:
>Anonymous User had a question over PZ's politics.
>
>PZ has posted to the list and thus has, I believe, his address available to
>list subscribers.
>
>How did PZ answer the question privately when Anonymous User posed the
>question to PZ on private e-mail?
>
>If Anonymous User did not first pose the question to PZ privately, why did
>he post it to the list publically?

Seems to me Ms. Anonymous wasn't taking it seriously, but was posting the
news clip here for our amusement, or to show the kind of shabby work some
journalists do, or to scare us by demonstrating how insane rumors get
started.

I can't imagine that anyone who knows the address of the cypherpunks list
and can use an anonymous remailer could take a ridiculous claim like that
seriously.

   --Dave.

--
Dave Mandl
<EMAIL_ADDRESS>http://www.wfmu.org/~davem

{% endraw %}
```

## Thread

+ Return to [January 1996](/archive/1996/01)

+ Return to<EMAIL_ADDRESS>(David Mandl)](/authors/dmandl_at_panix_com_david_mandl_)"

+ 1996-01-23 (Mon, 22 Jan 96 21:32:09 PST) - Re: Query over PZ -<EMAIL_ADDRESS>(David Mandl)_


text:
# Meeting 7 (Agenda)

**Chairman: R. Sirokov**

**Secretary: J. Nieland**

**Date: 25/03/2019**

## TA Session Agenda
- Demo:
    - Show how the workflow of the vegetarian meal feature
    - Show the code & tests
    - Discuss the demo results

- Discuss the upcoming project's end
    - Final reports
    - Presentation

- Responsible code?

## Points of action
- Implementing fractal trees (#33)
    - Are there still any problems?
    - Coloured branches? (#42)

- Discuss features for Week 8 demo (#52)
    - What needs to be implemented?
    - Who is responsible for what?
    - #58 #59 #60

- Discuss upcoming tough weeks
    - We again need to speed up

- Discuss external APIs for calculation models

- Create planning for next weeks:
  - Who will develop what?
  - Add issues to the scrum board

## Any other business
> If anybody has something that should be discussed but came up with that after the agenda was finalized, he/she should bring that up now so that it can be discussed after all.

## Closing
- Choose next meeting Chairman & Secretary
- Make a small analysis of how the demo went and what we can do better next demo

repository: romatallinn/sustainme

repo_name: romatallinn/sustainme


text:
# 2017 Team 3543 Robot

## Design Notes

ToDo...

## Calibration of the wheel encoders.

1. Put the robot at a known position, mark front edge with tape
2. enter 24 into the "Drive Forward Distance" and put in Teleop mode
3. click "Drive Forward"
4. measure distance traveled
5. change "Wheel encoder distance per pulse" to be current_value * 24 / distance_traveled
6. re-test (go to step 1) until satisfied with calibration

## Troubleshooting

Here are some troubleshooting tips.

### Suddenly Driver Station cannot communicate with RIO

Symptoms: "Address already in use" errors, RoboRio-3543-FRC.local not found, despite connection to router.  Happens on Windows (at least).

Solution: 1) Open windows Control Panel, then Services. 2) bounce (restart) all the NI services.

### Robot banging into gear drop in autonomous mode

Re-calibrate the wheel encoders.  See "calibration" above.

### Robot "shuddering" when moving with arcade drive

Check the battery charge, this is usually due to a low battery.

gha_language: Java


text:
# Stream-Chat
A Stream Chat for Twitch - built with React

## Features
- Messages have timestamps indicating how long ago they were sent
- Messages from non-interrupted users are merged as one
- Any mentions (@username) are colored to reference the color used for viewers in the chat

## Requested Features
- Scroll Through Previous Messages
- Limit Number Of Saved Messages
- Animations (Fade In, Slide, Spring)
- Censorship/Filtering/Replace Messages
- Settings Page
- Auto Update
- Twitch Emotes


text:
[![Travis Build Status](https://travis-ci.org/cortesi/devd.svg?branch=master)](https://travis-ci.org/cortesi/devd)
[![Build status](https://ci.appveyor.com/api/projects/status/5tg8en127chbuve6/branch/master?svg=true)](https://ci.appveyor.com/project/cortesi/devd/branch/master)

# devd: a local webserver for developers

![screenshot](docs/devd-terminal.png "devd in action")

# Install

Go to the [releases page](https://github.com/cortesi/devd/releases/latest), download the package for your OS, and copy the binary to somewhere on your PATH.

If you have a working Go installation, you can also say

    go get github.com/cortesi/devd/cmd/devd

# Quick start

Serve the current directory, open it in the browser (**-o**), and livereload when files change (**-l**):

```bash
devd -ol .
```

Reverse proxy to http://localhost:8080, and livereload when any file in the **src** directory changes:

```bash
devd -w ./src http://localhost:8080
```

# Using devd with modd

[Modd](https://github.com/cortesi/modd) is devd's sister project - a dev tool
that runs commands and manages daemons in response to filesystem changes. Devd
can be used with modd to rebuild a project and reload the browser when
filesystem changes are detected.

Here's a quick example of a simple *modd.conf* file to illustrate.

```
./src/** {
    prep: render ./src ./rendered
}

./rendered/*.css ./rendered/*.html {
    daemon: devd -m ./rendered
}
```

The first block runs the *render* script whenever anything in the *src*
directory changes. The second block starts a devd instance, and triggers
livereload with a signal whenever a .css or .html file in the *rendered*
directory changes.

See the [modd](https://github.com/cortesi/modd) project page for details.

# Features

### Cross-platform and self-contained

Devd is a single statically compiled binary with no external dependencies, and
is released for OSX, Linux and Windows. Don't want to install Node or Python in
that light-weight Docker instance you're hacking in? Just copy over the devd
binary and be done with it.

### Designed for the terminal

This means no config file, no daemonization, and logs that are designed to be
read in the terminal by a developer. Logs are colorized and log entries span
multiple lines. Devd's logs are detailed, warn about corner cases that other
daemons ignore, and can optionally include things like detailed timing
information and full headers.

### Convenient

To make quickly firing up an instance as simple as possible, devd automatically
chooses an open port to run on (unless it's specified), and can open a browser
window pointing to the daemon root for you (the **-o** flag in the example
above). It also has utility features like the **-s** flag, which auto-generates
a self-signed certificate for devd, stores it in ~/.devd.certs and enables TLS
all in one step.

### Livereload

When livereload is enabled, devd injects a small script into HTML pages, just
before the closing *head* tag. The script listens for change notifications over
a websocket connection, and reloads resources as needed. No browser addon is
required, and livereload works even for reverse proxied apps. If only changes
to CSS files are seen, devd will only reload external CSS resources, otherwise
a full page reload is done. This serves the current directory with livereload
enabled:

devd -l .

You can also trigger livereload for files that are not being served, letting
you reload reverse proxied applications when source files change. So, this
command watches the *src* directory tree, and reverse proxies to a locally
running application:

devd -w ./src http://localhost:8888

The **-x** flag excludes files from triggering livereload based on a [pattern
specification](#excluding-files-from-livereload). The following command
disables livereload for all files with the ".less" extension:

devd -x "**.less" -l .

When livereload is enabled (with the **-L**, **-l** or **-w** flags), devd
responds to a SIGHUP by issuing a livereload notice to all connected browsers.
This allows external tools, like devd's sister project **modd**, to trigger
livereload. If livereload is not enabled, SIGHUP causes the daemon to exit.

The closing *head* tag must be found within the first 30kb of the remote file,
otherwise livereload is disabled for the file.

### Reverse proxy + static file server + flexible routing

Modern apps tend to be collections of web servers, and devd caters for this
with flexible reverse proxying. You can use devd to overlay a set of services
on a single domain, add livereload to services that don't natively support it,
add throttling and latency simulation to existing services, and so forth.

Here's a more complicated example showing how all this ties together - it
overlays two applications and a tree of static files. Livereload is enabled for
the static files (**-l**) and also triggered whenever source files for reverse
proxied apps change (**-w**):

devd -l \
-w ./src/ \
/=http://localhost:8888 \
/api/=http://localhost:8889 \
/static/=./assets

The [route specification syntax](#routes) is compact but powerful enough to cater for most use cases.

### Light-weight virtual hosting

Devd uses a dedicated domain - **devd.io** - to do simple virtual hosting. This
domain and all its subdomains resolves to <IP_ADDRESS>, which we use to set up
virtual hosting without any changes to */etc/hosts* or other local
configuration. Route specifications that don't start with a leading **/** are
taken to be subdomains of **devd.io**. So, the following command serves a
static site from devd.io, and reverse proxies a locally
running app on api.devd.io:

devd ./static api=http://localhost:8888

### Latency and bandwidth simulation

Want to know what it's like to use your fancy 5mb HTML5 app from a mobile phone
in Botswana? Look up the bandwidth and latency
[here](http://www.cisco.com/c/en/us/solutions/collateral/service-provider/global-cloud-index-gci/CloudIndex_Supplement.html),
and invoke devd like so (making sure to convert from kilobits per second to
kilobytes per second and account for the location of your server):

devd -d 114 -u 51 -n 275 .

Devd tries to be reasonably accurate in simulating bandwidth and latency - it
uses a token bucket implementation for throttling, properly handles concurrent
requests, and chunks traffic up so data flow is smooth.

## Routes

The devd command takes one or more route specifications as arguments. Routes
have the basic format **root=endpoint**. Roots can be fixed, like
"/favicon.ico", or subtrees, like "/images/" (note the trailing slash).
Endpoints can be filesystem paths or URLs to upstream HTTP servers.

Here's a route that serves the directory *./static* under */assets* on the server:

```
/assets/=./static
```

To use a **devd.io** subdomain (which will resolve to <IP_ADDRESS>), just add it
to the the front of the root specification. We recognize subdomains by the fact
that they don't start with a leading **/**. So, this route serves the
**/static** directory under **static.devd.io/assets**:

```
static/assets=./static
```

Reverse proxy specifications are similar, but the endpoint specification is a
URL. The following serves a local URL from the root **app.devd.io/login**:

```
app/login=http://localhost:8888
```

If the **root** specification is omitted, it is assumed to be "/", i.e. a
pattern matching all paths. So, a simple directory specification serves the
directory tree directly under **devd.io**:

```
devd ./static
```

Similarly, a simple reverse proxy can be started like this:

```
devd http://localhost:8888
```

## Excluding files from livereload

The **-x** flag supports the following terms:

Term          | Meaning
------------- | -------
`*`           | matches any sequence of non-path-separators
`**`          | matches any sequence of characters, including path separators
`?`           | matches any single non-path-separator character
`[class]`     | matches any single non-path-separator character against a class of characters
`{alt1,...}`  | matches a sequence of characters if one of the comma-separated alternatives matches

Any character with a special meaning can be escaped with a backslash (`\`). Character classes support the following:

Class      | Meaning
---------- | -------
`[abc]`    | matches any single character within the set
`[a-z]`    | matches any single character in the range
`[^class]` | matches any single character which does *not* match the class

## About reverse proxying

Devd does not validate upstream SSL certificates when reverse proxying. For our
use case, development servers will usually be running locally, often with
self-signed certificates for testing. You shouldn't use devd in cases where
upstream cert validation matters.

The *X-Forwarded-Host* header is set to the devd server's address for reverse
proxied traffic. You might need to enable support for this in your application
for redirects and the like to work correctly.

# Development

The scripts used to build this package for distribution can be found
[here](https://github.com/cortesi/godist). External packages are vendored using
[gvt](https://github.com/FiloSottile/gvt), and I use
[deplist](https://github.com/cespare/deplist) to make sure all dependencies are
covered.

repository: Astrades/Random-Git-Stuff

repo_name: Astrades/Random-Git-Stuff


text:
# Logger Design

## Story
Production systems usually need to record user behavior and provide self (or manager) to trace the behavior of (someone) at certain times.
So provide simple log back-end library and front-end page examples.

---

## Use Case
### Log action
Log user's behavior when he do any action on system.

### View self-behavior records
- Joe wants to find his actions on last night, he goes to specific page and searches for data by date range.
- He wants to see information as: datetime, user, function, action, status, message.

#### Collection
- list page, has search form as date range, sort
- fields: datetime, user, function, action, status, message
- Data permission for user
- Support search for "user" field. but user can only select himself.
- Support search for "data time range" field.

### View someone's behavior record as an administrator
- The manager wants to find Joe's 10 o'clock action, he needs to go to the behavior record page to search for data.

#### Collection
- Data permission for manager
- Support search for "user" field.

### Export behavior records
- Joe wants to search for someone's behavior record and export it to excel.

#### Collection
- send export signal with search parameter.
- Excel builder.

### Data isolation
- Joe is normal user, he can only search his own data, but cannot get other people's data.
- Mars is a manager, he can search the data of everyone under his leadership.
- Eric is the manager of another company, and he cannot search Joe's data.

#### Collection
- Data permission for manager,user.
- Data isolation through company feature.

### Search logs for specific features
- Joe wants to search for his behavior data in the member center.

#### Collection
- Support search for "function" field.

### Log rotate
- After a period of time, the behavior data will be automatically deleted.

#### Collection
- A schedule tools, it will delete old data and running as schedule.

---

## Requestment
- list page.
- add, read, export, search, sort, pagination.
- fields: datetime, user, function, action, status, message.
- Permission for Organization.
- Data isolation by Permissions and Organizations.

---

## Affect

---

## Functions & Flows

### Log view
- A page for user to view log data.
- Element: List table, Search form, Export button

### Log library
- A library which Provide function to add, read, export, rotate

---

## Pages

---

## Data formate

---

## Interfases

---

## Libraries

---

## Tasks

---

## Test Items

---

## Reference

---

## Logs


text:
---
layout: archive
title: "Research"
permalink: /Research articles/
author_profile: true
---

**Preprints**
1. A gauge theoretic aspects of parabolic bundles over Klein surfaces
Sanjay Amrutiya and Ayush Jaiswal
[(arxiv)](https://arxiv.org/abs/2202.06210)

2. On d-holomorphic connections
Sanjay Amrutiya and Ayush Jaiswal
[(arxiv)](https://arxiv.org/abs/2208.04354)

  **My Ph.D. supervisor**
  [Dr. Sanjay Amrutiya](https://sites.google.com/site/amrutsanj)

  **My co-authors**
  1. Dr. Sanjay Amrutiya

path: /_pages/Research articles.md

filename: Research articles.md

gha_language: JavaScript


text:
# A rpi_nano API for RPi

## Overview

This API allow you to control easily the  ** ARM-nano ** module. You will be able to send and receive data on the sigfox network and local network. You can visit the web page of ARM-nano for more informations.

## Installation

There is no installation. To use this API, just copy or include the
files **rpi_nano.h** and **rpi_nano.c** from rpi_nano/api in you project.

## Documentation

To generate the doc you need to have doxygen installed locally; then run :
	'make doc'
The documentation is generated  locally in the doc/html/index.html folder.

## Report a Bug

To report your problem, open an issue.

## Note

This API is old, prefer to use the armapi API.

repository: JimAmel/rpi-nano

repo_name: JimAmel/rpi-nano


text:
# Gigaspora reticulata Koske, D.D. Mill. & C. Walker, 1983 SPECIES

#### Status
SYNONYM

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

#### Published in
Mycotaxon 16(2): 429 (1983)

#### Original name
Gigaspora reticulata Koske, D.D. Mill. & C. Walker, 1983

### Remarks
null

repository: mdoering/backbone

path: /life/Fungi/Glomeromycota/Glomeromycetes/Diversisporales/Gigasporaceae/Scutellospora/Scutellospora reticulata/ Syn. Gigaspora reticulata/README.md

repo_name: mdoering/backbone


text:
###
- When to use serial flow control
- How to implement serial flow control
- How to implement parallel flow control
- How to leverage third-party modules for flow control

#### When to use serial flow control

In order to execute a number of asynchronous tasks in sequece, you could use callbacks. but if you have a significant number of tasks, you should organize them, or you'll end up with messy code due to excessive callback nesting.

#### Notice path
The default execute path is `process.cwd()`, You may need `path.resolve(__dirname, _path)`, the `__dirname` always give the current parent path the file your executed

repository: ivanberry/chatroom

repo_name: ivanberry/chatroom


text:
# OpenGL Shader Test App
This project requires Third Party libraries to build, please see thirdparty/readme.txt for instructions.

Before running in Visual Studio, please set the Working Directory in the project debug settings to $(OutDir)

Source code is licensed under the MIT License

Fonts in x64/fonts are licensed under Apache 2.0 License

Sponza Model originally by Marko Dabrovic
http://hdri.cgtechniques.com/~sponza/files/

Sponza OBJ File and Textures downloaded from:
https://github.com/NCCA/Sponza/tree/master/models

repository: densioli/oglshaderdemo

repo_name: densioli/oglshaderdemo


text:
# The Noob Project

 The Noob Project is a small project that I made.
 It is a compilation of all the usefull python scripts and applications.
 It is open source. You can find the sourcecode at [*GitHub*](https://github.com/newtoallofthis123/Noob)
 You can install The Noob Project from Github. [**Install**](https://newtoallofthis123.github.io/Noob)

# About

 Noob is a simple script containing a compilation of many applications.
 It has about **20 Applications** embedded into it
 I made this project for fun. Hope you Enjoy it
 .Please Read the full documentation to understand.

## Installation

You can get the latest release from [**GitHub Releases**](https://github.com/newtoallofthis123/Noob/releases)

You can also **Directly install from here**

Install basic python script noob.py without chat functionality: Install

Install chat.py for chat dependency: [Install]()

Install full noob.py: [Install]()

Install Dependencies: [Install]()

## How to Use

#### 1. Launching from the Terminal:

go to the directory containing noob.py and use the following command

```Launching from the terminal
cd directory
python noob.py
```

#### 2. Double Click the file to run using py.exe
![noob_example](https://github.com/newtoallofthis123/Noob/blob/main/Assets/noob_example1.png)

## Uses

###### There are many uses to noob.py

You can look at all the installed **Applications** below. It is very useful, lightweight and awesome. I Recommend **learning a little python**  before using this. This can also be used to learn python as it is **beginner friendly**

It is registered under the [**MIT License**](https://mit-license.org/) which makes it open source. You can use it as you like.

# Included Applications

You can find all the below listed Applications on my [*Github*](https://github.com/newtoallofthis123)

**Alarm:** is a script that sets an Alarm at a given time in the terminal

**Calculator:** is a cli calculator

**Calendar:** is a cli calendar which displays a text calendar in your terminal

**StopWatch:** is a cli stopwatch which is simple and light weight

**Google:** for searching google from the terminal

**Time:** tells you the current time

**Joke:** Tells a joke using the pyjoke module

**Qr-Code Generator:** A simple script to generate a Qr-Code

**Timer:** A simple gui for setting a Timer

**Url-Shortener:** A Simple url shorterner using [tinyurl](https://tinyurl.com)

**Player:** A simple Music Player written in python

**News:** Get the latest headlines from Google News

**NSnote:** A simple text editor written in python. No indent, no syntax just a plain editor

**Wiki-Cli:** A Simple tool to search wikipedia in your terminal

**Wiki:** A simple Wiki Search Gui

**Password Generator:** A simple password generator

**Site Opener:** Open any Website from your terminal

**Chat:** Chat with the Noob

All the above listed Applications are **open source**.
They are all written in **Python**
Most of the listed Applications use the **deflaut Modules** installed in python, but some of them use **trusted third party Modules**
You can either run the Setup.bat or Setup.sh to install all of them or install all of them from [*Pypi*](https://pypi.org)

# Modules Used

You can find all the Modules at [*Pypi*](https://pypi.org)
You can directly install these modules using **setup.bat** or **setup.sh**
Please install all of these to have a nice experience.
Noob.py **loses it's functionality** without these Modules

### Modules and Installation:

**gTTS:** gTTS is used to convert text to audio which Noob Speaks. If you don't want to install this, you can unzip the file audio.zip in the directory you stored noob.py. You can find audio.zip at [*Github*](https://github.com/newtoallofthis123/Noob/Assets/)

 **PlaySound:** PlaySound is used to play Audio in the script

**Pygame:** Pygame is a popular Module

**Speedtest-cli:** Okala Speedtest in the terminal

**PyQrCode:** A Module to Generate Qr-Code in python

.**PyperClip:** Used to copy to clipboard

**PyShorterner:** Module to shortern url using python

**Google:** Google search in python

**DDGR:** Duckduckgo Search in python

**Youtube-dl:** Download youtube videos in the terminal

**PyJoke:** Jokes in the terminal using python

**Wikipedia:** Module to use Wikipedia in python

**Pillow:** Show Pictures in python

**Calendar:** Calendar in python

**Time:** Time Module in Python

**Tkinter:** Tkinter is used for creating a Gui in python

**BeautifulSoup4:** For WebScraping

**SSl:** For Password generator

**Random:** Randomize something in python

**pyttsx3** For speaking

### Just Paste the below command in your terminal

```
pip install pyperclip3 PyQRCode wikipedia google ddgr youtube_dl Pillow pygame PyJoke beautifulsoup4 playsound gTTS speedtest-cli
```

### Dependencies:

Chat.py to chat, written by [**ShadowGuy**]()

[Download]()

## Contribute

For now the best way you can contribute to this project is to promote and report any issues at [GitHub Issues](https://github.com/newtoallofthis123/Noob/issues)

```markdown
                        Noob Science 2021
```


text:
# VideoProcessingService
A c++ backend rest server provide a simple api for client to demux and docde network video stream or video file

## Description
VideoProcessingService is a rest server aim to provide a simple api for application or web developer to get information or data from a video streaming(RTSP, RTMP, HLS, etc.) or a video file, developers can get the following information and data from this service
- Video
    - Image width and height
    - Video length with milliseconds
    - RGB data and its related pts
- Audio
    - PCM raw data and its related pts

## Feature
The following module have been implement and integrate to the processing flow
- Demux [(API)](src/Demuxer/demuxerabstract.h)
- Decode [(API)](src/Decoder/decoderabstract.h)
- Color space converter [(API)](src/YUV2RGB/colorspaceconverterabstract.h)
- Audio resample [(API)](src/Resampler/resamplerabstract.h)

## Example
- [Demo file](example/restservertest.cpp)
Provide a sample demostrate how to get video data and information from this service and showing image with OpenCV and playback audio with RtAudio

- [Test file](test/cppbackendtest.cpp)
Provide a sample demostrate how to get video data and information directly from C++ backend and showing image with OpenCV and playback audio with RtAudio (This method do not need the reset server, but need to compile all c++ backend and integrate to your project)

- Todo
    - Plugin for Qt
    - Plugin for flutter

## How to run this server
```
# pull image from dockerhub
sudo docker pull andywang0607/video-processing-service

# Run docker (you can use another port)
sudo docker run --rm -p 9080:9080 andywang0607/video-processing-service
```

## How to build this server
1. Prepare third-party library
    - Setup vcpkg
      ```
      $ git clone https://github.com/microsoft/vcpkg
      $ cd vcpkg
      $ bootstrap-vcpkg.bat
      ```
    - Install required library
      ```
      $ ./vcpkg install ffmpeg:x64-linux
      $ ./vcpkg install pistache:x64-linux
      $ ./vcpkg install nlohmann-json:x64-linux
      ```

2. Build this project
    ```
    $ cd $PROJECTPATH
    $ mkdir build
    $ cd build
    $ cmake ..
    $ make
    ```

## Note
This is my weekend project just a practice for building a rest service with c++.
Get decode video and audio data from this service is not a efficent methoud indeed,
But it is quite **simple** and **easy** for developer to write a video player in every ui framework


text:
---
layout: "post"
title: "SQLSaturday #160 - Kalamazoo 2012"
prettydate: "22 September 2012"
---
# SQLSaturday #160 - Kalamazoo 2012

**Event Date**: 09/22/2012 00:00:00

**Event Location**:
- Kalamazoo Valley Community College
- 6767 West O Avenue
- Kalamazoo, Michigan

PDF of Schedule

This event has completed. All data shown below is from the historical XML public data available.

Sessions

Speakers

Sponsors

If there are any data quality issues or corrections needed, please contact the webmaster for this site or submit a pull request for the appropriate file(s).

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

# Sessions
This is a list of sessions from the event, based on the schedule in the XML files.

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

## Title: Dive into the Query Optimizer-Undocumented Insight

**Abstract**:
This 400 (or maybe 500) level session will focus on using undocumented statements and trace flags to get insight into how the query optimizer works and show you which operations it performs during query optimization. I will use these undocumented features to explain what the query optimizer does from the moment a query is submitted to SQL Server until an execution plan is generated including operations like parsing, binding, simplification, trivial plan, and full optimization. Concepts like transformation rules, the memo structure, how the query optimizer generates possible alternative execution plans, and how the best alternative is chosen based on those costs will be explained as well.

**Speaker(s):**
- Benjamin Nevarez

*Track and Room*: Track 1 - N/A

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

## Title: Introduction to SSIS with a Real-World Example

**Abstract**:
SSIS is a powerful and east to use data Extract, Transform, Load (ETL) tool SSIS providing a rich set of components to perform the most common ETL tasks with “drag-and-drop” ease. Packages can be constructed with rigorous error and exception handling as well as verbose logging allowing deployment of robust ETL processes.. This session will demonstrate a process for loading a comma-delimited data file into a staging table for further processing then validating the data and moving specific data into host tables using a a thorough example of a non-trivial ETL project with “real” data. The intended audience includes beginning SSIS developers, DBAs, and anyone with a desire to experience the magic of data management with this remarkable tool.

**Speaker(s):**
- Ron Johnson

*Track and Room*: Track 1 - N/A

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

## Title: Hierarchies... on Steroids the No RBAR Way

**Abstract**:
Hierarchical data sets are everywhere. If you haven't worked with one yet, you will. If you're already working with them, you know they can be horribly complex, slow performing, difficult to maintain resource hogs that can really take the steam out of any GUI or batch process. This simple but code intensive "black arts" session shows you how to quickly and easily get around all of that using all 3 common hierarchical structures and a new structure that just might make Nested Sets obsolete. For stalwarts, it also includes a very high performance method (100,000 nodes in 6 seconds) for converting Adjacency Lists to Nested Sets that even a beginner can understand.  You just have to know that a Tally Table is involved somewhere in this. ;-)

**Speaker(s):**
- Jeff Moden

*Track and Room*: Track 2 - N/A

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

## Title: Wish you could live the glamorous consulting life?

**Abstract**:
Consulting is a great career choice, from the increased pay, (sometimes less), to the flexible hours, (working nights and weekends), you will work with a wide range of customers, (if you can find them), that will lead you to wonder why you didn't start earlier? (and walk away from a cushy job).

I would not trade my consulting career for any other choice, I love the rewards and the freedom it provides me, but I've learned the hard way.
In this session you will lean sales, marketing and management strategies to get your practice off the ground, sand traps to avoid along the way and a honest, down to earth assessment of the consulting life. An essential session for those thinking about this choice and/or those who are just starting out

**Speaker(s):**
- Juan Soto

*Track and Room*: Track 2 - N/A

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

## Title: Manage SQL Server 2012 on Server Core w/PowerShell

**Abstract**:
Windows Server 2008 introduced Server Core, the operating system without the Graphical User Interface. SQL Server 2012 is the first version of SQL Server to support Server Core. To gain the maximum efficiency from your servers you want to make use of Server Core and with PowerShell you can effectively manage SQL Server in that environment. This session will demonstrate how to manage SQL Server 2012 on Windows Server Core and provide scripts to help you perform the common tasks you need to perform on that platform.

**Speaker(s):**
- Allen White

*Track and Room*: Track 5 - N/A

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

## Title: NoSQL: Know Your Enemy

**Abstract**:
A current trend among application developers to is move data storage away from a traditional relational database model. This presentation will provide an introduction into the technology known as NoSQL. We will discuss who’s who in the NoSQL world and explain the different ways that NoSQL databases store data. We will also cover which types of applications are best suited for the NoSQL approach and when a relational database would be a more appropriate choice.

**Speaker(s):**
- Shelly Noll

*Track and Room*: Track 3 - N/A

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

## Title: Introduction to Microsoft StreamInsight

**Abstract**:
Are you buidling systems to monitor and analyze mountains of data, and querying that from the typical relational database just isn't cutting it? Well, my friend, StreamInsight might just be the ticket for you! StreamInsight is Microsoft's platform for building high throughput, low-latency complex event processing (CEPs) systems. In this session, we will delve into what StreamInsight is and how to use it along with other entities such as Analysis Services and Integration Services to provide you big data customers the operational intelligence solutions that they deserve!

**Speaker(s):**
- Arie Jones

*Track and Room*: Track 1 - N/A

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

## Title: Women in Technology Panel Discussion

**Abstract**:
Join some of the Women in Technology as we share our experiences and field questions from the audience.

**Speaker(s):**
- Shelly Noll

*Track and Room*: Track 4 - N/A

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

## Title: SRS Report Builder for Business Intelligence

**Abstract**:
Learn how easy it is to utilize the free download from Microsoft that allows users to create maps, charts, dashboard objects and reports against any kind of data easily without having to use Visual Studio.  See how SQL Report Builder makes creating executive dashboards easy!

**Speaker(s):**
- David Eichner

*Track and Room*: Track 3 - N/A

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

## Title: Transactional Replication 101

**Abstract**:
Replication simplified! Learn the basic parts that make up replication, what tools are included to help you along plus a look into monitoring.

We will cover the players in the game: Pubishers, Subscribers and Distributors, then delve into the data delivery process with Publications, Subscriptions and Articles, finishing up with the Log Reader and how to make sure everything is working and running smoothly.

**Speaker(s):**
- Wendy Pastrick

*Track and Room*: Track 5 - N/A

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

## Title: SQL 2012 -- All About HA and DR

**Abstract**:
Have you heard about all of the new Availability Group features in SQL 2012? Thinking about implementing a DR solution, but don't know where to start. In this presentation you'll learn all about the new DR features in SQL Server 2012 and see them in practice.

**Speaker(s):**
- Joseph D'Antoni

*Track and Room*: Track 2 - N/A

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

## Title: BI2 Big Data Analytics - Hadoop and Microsoft BI

**Abstract**:
This session is a deep dive that will show you how to use the Hadoop platform to extend traditional Microsoft BI solutions.  The first half of the session covers big data architectures, the MapReduce process and strategies for integration of Hadoop data with traditional BI tools. The second half of the session demonstrates how to combine Hadoop, SQL Server Analysis Services, Power View and SharePoint 2010 into an end-to-end solution.

**Speaker(s):**
- Rob Kerr

*Track and Room*: Track 4 - N/A

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

## Title: Anatomy of a Join

**Abstract**:
A lot of database professionals today  do not have a Computer-Science Degree  so they never attended a  “Introduction to Databases” course. In this session we are trying to fix at least one thing and we’ll look in depth at the three types of join operations, visualize how their algorithms work in order to understand how query plans are computed, explain why these join operations have very different performance characteristics and why the optimizer chooses a specific  join operator to use in a query plan. Will demonstrate that empirical cost calculations are similar to what Query Optimizer actually outputs. Good understanding of join algorithms is vital in order to diagnose and remedy issues related to bad query plans.

**Speaker(s):**
- Luke Jian

*Track and Room*: Track 2 - N/A

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

## Title: 45 min to build your first SSRS Report

**Abstract**:
Does this sound like you? You were just given access to SSRS and you want to make a report. Or, you're a DBA and could use a daily report. Either way, I've got your back! You will learn everything you need to know to get that first report out the door quickly and how to tweak it once it’s deployed. We’ll even look at the differences between building a report in BIDS (Business Intelligence Development Studio) and Report Builder 3.0. We’ll use SSRS (SQL Server Reporting Services) 2008 R2 and go interstellar with some space data!

**Speaker(s):**
- Tamera Clark

*Track and Room*: Track 5 - N/A

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

## Title: Performance Enhancing Laziness

**Abstract**:
Walk-up work. New database requests. Users running ad-hoc queries with 18 LEFT OUTER JOINS against heaps.Surprise SQL instances created by vendors without our knowledge crashing around us!It's enough to drive a lesser DBA crazy-insane.  That's why it's important to take as many steps as you can to simplify, automate, tweak, and tune the tasks you can manage so you have time to deal with those situations you can't control.  In this session Tim will go over many of performance-enhancing methods he's developed over the last dozen years as a DBA for a major healthcare concern and show you how you can give yourself some breathing room to make the difficult seem easy.

**Speaker(s):**
- Tim Ford

*Track and Room*: Track 4 - N/A

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

## Title: Free SQL Tools for Your Toolbox

**Abstract**:
Every SQL developer or DBA should have a fully stocked toolbox that they can turn to in times of need. SQL Server enjoys a wide variety of support from 3rd party vendors that provide tools to help us peek under the hood and pinpoint issues. Sometimes we either don't have the budget for everything we would like, or we need something for a one-off project. In this session we will examine some of the free tools published by members of the SQL community and 3rd party vendors.

**Speaker(s):**
- Kevin Bullen

*Track and Room*: Track 3 - N/A

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

## Title: PowerShell, the New SQL Hammer

**Abstract**:
You've seen all the amazing scripts that use PowerShell, but writing your own is raising more questions. This session will help fill in the gaps by explaining all the moving parts of PowerShell 2.0, the integration with SQL Server and answer the following questions as well as others. Why is Invoke-Sqlcmd necessary? What is and why is there a Minishell for SQL Server? What makes the SQLSERVER: PS Drive so powerful? How does a remote SQL Server get added to the SQLSERVER: PS Drive?

**Speaker(s):**
- Norman Kelm

*Track and Room*: Track 3 - N/A

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

## Title: So I started this blog... now what?

**Abstract**:
Ever thought about trying your hand at blogging?  Or maybe you've started a blog but struggle with what to write about.  We'll take a beginner's look at blogging and examine common roadblocks, finding topics, building readership, and setting you on the road to blogging stardom.

**Speaker(s):**
- Colleen Morrow

*Track and Room*: Track 1 - N/A

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

## Title: Scaling SQL Server to HUNDREDS of Terabytes!

**Abstract**:
Provide an introduction to the Massive Parallel Processing (MPP) Architecture. Describe how Microsoft’s MPP Appliance, Parallel Data Warehouse (PDW), allows SQL Server to scale to hundreds of terabytes. The presentation will also contain real world performance metrics and lessons learned directly from someone who actually developed a Parallel Data Warehouse Solution.

**Speaker(s):**
- Garrett Edmondson

*Track and Room*: Track 2 - N/A

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

## Title: DB2: Let's Talk Internals

**Abstract**:
Performance tuning is both an art and a science. The more science you bring to your efforts, the better your art will be.
There are many tools and techniques for finding performance problems, but solving them is usually left to the person using those techniques. This extended session focuses on what’s going on under SQL Server’s hood for a set of tasks normally hidden from users, such as: memory allocation, data manipulation, and on-disk and in-memory data structures. Armed with this knowledge, you will be better prepared to solve a variety of performance problems through deeper insight into the processes working behind the scenes.

**Speaker(s):**
- Eddie Wuerch

*Track and Room*: Track 4 - N/A

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

## Title: SQL Azure Federations

**Abstract**:
This session is to introduce to SQL Azure Federations.

Will walk you through the process of setting up federation, managing feredations etc and converting an existing database to Federations.

This topic requires rudimentary SQL Azure understanding

**Speaker(s):**
- Nitin Salgar

*Track and Room*: Track 2 - N/A

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

## Title: SQL Server 2012 AlwaysOn Readable Secondaries

**Abstract**:
One of the most talked about new features in SQL Server 2012 is AlwaysOn Availability Groups and the ability to have readable secondary replicas. In this session, we will cover the pros and cons of using AlwaysOn as well as the basics of how to set it up and take advantage of readable secondary replicas. If you want to improve the availability and performance of your applications  databases, are currently using Database Mirroring, or if you're just curious about AlwaysOn, then you won't want to miss this session.

**Speaker(s):**
- Adam Belebczuk

*Track and Room*: Track 1 - N/A

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

## Title: Load Balancing Analysis Services

**Abstract**:
Have you ever wondered how to scale Analysis Services across the globe?

This session will cover a unique approach to load balancing SQL Server Analysis services using a unique approach created by Carl Rabler and Josh Caplan to load balance SQL Server Analysis services using features already built in to SQL Server Analysis Services and some standard Microsoft technologies.

**Speaker(s):**
- Anthony Mattas

*Track and Room*: Track 1 - N/A

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

## Title: Effective Data Visualization: The Ideas of Edward

**Abstract**:
We spend much of our time collecting and analyzing data. That data is only useful if it can be displayed in a meaningful, understandable way.
Yale professor Edward Tufte presented many ideas on how to effectively present data to an audience or end user.
In this session, I will explain some of Tufte's most important guidelines about data visualization and how you can apply those guidelines to your own data. You will learn what to include, what to remove, and what to avoid in your charts, graphs, maps and other images that represent data.

**Speaker(s):**
- David Giard

*Track and Room*: Track 5 - N/A

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

## Title: DB1: Let's Talk Internals

**Abstract**:
Performance tuning is both an art and a science. The more science you bring to your efforts, the better your art will be.
There are many tools and techniques for finding performance problems, but solving them is usually left to the person using those techniques. This extended session focuses on what’s going on under SQL Server’s hood for a set of tasks normally hidden from users, such as: memory allocation, data manipulation, and on-disk and in-memory data structures. Armed with this knowledge, you will be better prepared to solve a variety of performance problems through deeper insight into the processes working behind the scenes.

**Speaker(s):**
- Eddie Wuerch

*Track and Room*: Track 4 - N/A

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

## Title: Building Faster SQL Servers

**Abstract**:
SQL Server speed boils down to how fast we can get data in and out of storage. Sooner or later, we're going to run out of memory to cache. In this session, we take a lesson from Microsoft's blazing-fast Fast Track Reference Architectures, look at why they work so well for the wildest queries, and explain how to build our own SQL Servers for quick queries. Brent Ozar shows you how to test your own servers and compares them to servers he's worked with in the field.

**Speaker(s):**
- Brent Ozar

*Track and Room*: Track 4 - N/A

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

## Title: DBA Basics: The Four Tasks Every DBA Should Know.

**Abstract**:
There are four basic tasks every DBA should know how to do. They are, in this order: Restore, Backup, Index and Stats maintenance, and Consistency Checking. After this session, beginning and "involuntary" DBAs will know the basic ins and outs of each of these four critical tasks, as well as how to set up recurring  maintenance on their servers, and handle some of the common issues these tasks present

**Speaker(s):**
- David Maxwell

*Track and Room*: Track 3 - N/A

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

## Title: PowerPivot  BISM in SQL Server 2012

**Abstract**:
Want to create snazzy reports to impress the boss but aren't a BI expert?  Don't climb the clock tower just yet, go get yourself PowerPivot 2012 and come to my session.  We'll go over some very real world issues and ways PowerPivot can help solve it.  Demos will be jam packed with many of the new features in 2012 at same time giving you a good base to get you started.  And this session wouldn't be complete without covering BISM.  We will definitely will cover how the BI world is all coming together as one to have hold and cherish in the BI Semantic Model.

**Speaker(s):**
- Hope Foley

*Track and Room*: Track 5 - N/A

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

## Title: BI1 Big Data Analytics - Hadoop and Microsoft BI

**Abstract**:
This session is a deep dive that will show you how to use the Hadoop platform to extend traditional Microsoft BI solutions.  The first half of the session covers big data architectures, the MapReduce process and strategies for integration of Hadoop data with traditional BI tools. The second half of the session demonstrates how to combine Hadoop, SQL Server Analysis Services, Power View and SharePoint 2010 into an end-to-end solution.

**Speaker(s):**
- Rob Kerr

*Track and Room*: Track 4 - N/A

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

## Title: Discovering the Plan Cache

**Abstract**:
Execution plans are stored after execution in the plan cache. This metadata about how queries are executed can provide insight into how your SQL Server environment is functioning. By using XQuery to browse and search the plan cache you can find potential performance issues and opportunities to tune your queries. This information can be used to help reduce issues related to parallelism, shift queries from using scans to using seek operations, or discover exactly which queries are using what indexes. All of this and more is readily available through the plan cache. In this session we will explore the plan cache and start you on the road to discovery.

**Speaker(s):**
- Jason Strate

*Track and Room*: Track 5 - N/A

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

## Title: Profiler? What is this tool you speak of?

**Abstract**:
Many new DBA's are unaware of the power of SQL Profiler.  Many don't know it exists.  And better yet, it's FREE.  This session will generalize the importance of using Profiler to troubleshoot and tune your SQL queries.  By demonstrating Profiler on a running server, attendees will get a look at what SQL is currently executing.  This session will show how to discover query duration, reads, writes, locks, deadlocks, stored procedure executions and more.

**Speaker(s):**
- Jason Spangler

*Track and Room*: Track 3 - N/A

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

## Speakers
This is a list of speakers from the XML Guidebook records. The details and URLs were valid at the time of the event.

**Arie Jones**

Twitter:  - [@programmersedge](https://www.twitter.com/@programmersedge)

LinkedIn: [Arie Jones](http://www.linkedin.com/in/ariejones)

Contact: [http://www.programmersedge.com](http://www.programmersedge.com)

Arie Jones (quot;AJquot;) is one of the owners and Vice President of Emerging Technologies for Indy Data Partners, Inc. in Indianapolis, IN. AJ is a frequent speaker at national conferences and local user groups. With over 15 years of experience in application development and database administration on various platforms, he specializes in developing cross-platform solutions with an emphasis on .NET and SQL Server technologies. He blogs extensively at http://www.programmersedge.com.

**Joseph D'Antoni**

Twitter:  - [jdanton](https://www.twitter.com/jdanton)

LinkedIn: [Joseph D'Antoni](http://www.linkedin.com/profile/view?id=3997984amp;trk=hb_tab_pro_top)

Contact: [http://joeydantoni.com](http://joeydantoni.com)

Joseph D'Antoni is a Senior Consultant and Microsoft Data Platform MVP with over 20 years of experience working in both Fortune 500 and smaller firms. He is a Principal Consultant for Denny Cherry  Associates and lives in Malvern, PA. He is a frequent speaker at major tech events like Microsoft Ignite, PASS Summit, and Enterprise Data World. He blogs about all topics technology at joeydantoni.com. He believes that no single platform is the answer to all technology problems. Joseph holds a BS in Computer Information Systems from Louisiana Tech University and an MBA from North Carolina State University, and is the co-author of the Microsoft book "Introducing SQL Server 2016”.

**Colleen Morrow**

Twitter:  - [@ClevelandDBA](https://www.twitter.com/@ClevelandDBA)

LinkedIn: [Colleen Morrow](http://www.linkedin.com/pub/colleen-morrow/2a/95a/651/)

Contact: [http://colleenmorrow.com](http://colleenmorrow.com)

Colleen Morrow is a database professional living in Cleveland, OH who has been working with database systems since 1996. For more than 12 years, she was a Database Administrator at a large law firm where she developed an appreciation for auditing, automation, and performance tuning.  Since that time she has worked with clients in the healthcare, manufacturing, software, and distribution/freight delivery industries.  Colleen is currently a Senior Consultant at Fortified Data. She is an active member of the Ohio North SQL Server User Group and has presented at many SQLSaturday events as well as PASS Summit 2014 and 2015.

**Kevin Bullen**

Twitter:  - [sqlpadawan](https://www.twitter.com/sqlpadawan)

LinkedIn: [Kevin Bullen](https://www.linkedin.com/in/kevinbullen/)

Kevin has been working with SQL Server since 2006, as a application developer, SQL developer, and Database Administrator. He is currently a Premiere Field Engineer at Microsoft. When he's not working, he's usually hiding in his garage working on one of his jeeps.

**Eddie Wuerch**

Twitter:  - [@EddieW](https://www.twitter.com/@EddieW)

LinkedIn: [Eddie Wuerch](http://www.linkedin.com/in/eddiewuerch)

Contact: [http://www.indydba.com](http://www.indydba.com)

Eddie Wuerch has 20 years of experience as a SQL Server specialist in a much-longer IT career. A Microsoft Certified Master, Eddie spends his days in the Salesforce Marketing Cloud, focusing on performance, scale, and uptime for the massive SQL Server backend. These SQL Servers churn billions of transactions daily against trillions of rows of data in a 24x7 continuously-available online system accessed by millions worldwide every day.

**Jason Strate**

Twitter:  - [@stratesql](https://www.twitter.com/@stratesql)

LinkedIn: [Jason Strate](http://www.linkedin.com/in/jasonstrate/)

Contact: [http://www.jasonstrate.com/](http://www.jasonstrate.com/)

Jason Strate is a SQL Server Solutions Architect with Pragmatic Works. He is also a Microsoft SQL Server MVP and MCM. He has over 15 years of experience developing, architecting, and managing data platforms. Jason writes, blogs, and presents on SQL Server.

**Tim Ford**

Twitter:  - [@SQLAgentMan](https://www.twitter.com/@SQLAgentMan)

LinkedIn: [Tim Ford](https://www.linkedin.com/in/timothyford)

Contact: [http://thesqlagentman.com](http://thesqlagentman.com)

Tim Ford is a Data Professional, Author and Community Leader whose technical passions lie in creative solutions for managing and presenting data.  He#39;s been a healthcare DBA since 2000 and leads SQL Agent Man Consultancy and SQL Cruise.  He takes 25 students and leaders in the SQL Community and places them on cruise ships for technical and professional development training without the distractions of the office and internet twice a year on SQL Cruises (www.sqlcruise.com). Currently Tim serves on the Board of Directors for PASS and is passionate about taking fellow Data Professionals to the next level in their careers. He enjoys telling stories with data.

**Shelly Noll**

Shelly Noll is a .NET Developer and recovering DBA with over 15 years of IT experience. Currently serving as a Software Developer with Learning Care Group in Novi, MI, she is involved in the .NET developer community and serves as Vice-President for the Great Lakes Area .NET Users Group. Her education includes a BS in Psychology from Loyola University Chicago and a MS in Information Systems from Lawrence Technological University.

**Adam Belebczuk**

Twitter:  - [@SQLDiablo](https://www.twitter.com/@SQLDiablo)

LinkedIn: [Adam Belebczuk](http://www.linkedin.com/in/itacb)

Contact: [http://www.sqldiablo.com/](http://www.sqldiablo.com/)

Adam Belebczuk is the Owner amp; Principal Consultant at Belebczuk Consulting Services, LLC and has more than 10 years of experience in IT, ranging from customer service to server/network administration to software and database development and administration. Adam is the Chapter Leader for the Ohio North SQL Server Users Group, a frequent speaker and volunteer at PASS events, and specializes in SQL Server development, performance tuning, high availability, and disaster recovery.

**Jeff Moden**

With more than 51,000 posts and 39 mostly 5 star articles, Jeff Moden is a strong contributor on SQLServerCentral.com where he coined the term “RBAR” (Row By Agonizing Row) and helped make the "Tally Table" a household name.  Jeff has more than 2 decades of experience with SQL Server and is mostly self-trained in what he calls the “Black Arts” of T-SQL.  He’s known worldwide for his informative articles, high performance T-SQL coding methods, and methods of mentoring.  His dedication to helping others earned him the MS SQL Server MVP award for nine years and the RedGate Exceptional DBA Award in 2011.  His mantra is "Performance is in the code".

**David Giard**

Contact: [http://DavidGiard.com](http://DavidGiard.com)

David Giard has been developing solutions using Microsoft technologies since 1993.  He is a Microsoft MVP; a INETA Board of Directors member; and a past President of the Great Lakes Area .Net User Group. David has presented at many of the conferences and user groups around the country.  He is the host and producer of the mildly popular online TV show Technology and Friends. He is the co-author of the Wrox book Real World .NET C# and Silverlight. You can read his latest thoughts at DavidGiard.com

**Nitin Salgar**

Nitin C Salgar has over 7 years of DBA experience including planning,design, development and implementation of line of business database applications. Nitin has worked primarily as a  consultant holding  positions primarily in the Benefit Management, Transportation and Government. He has worked on OLTP and OLAP applications housed on Premise (Co-Lo/Datacenter) as well as Cloud. He also possesses several Microsoft certifications on 2008, gearing toward 2012

I'll be co-presenting with @andythir

**Ron Johnson**

Contact: [http://rjssqlservernotes.wordpress.com/](http://rjssqlservernotes.wordpress.com/)

A 20 year veteran of the IT industry with over 10 years experience as a software engineer Ron is a seasoned SQL Server performance optimization professional.Ron is currently supporting various clients as a consulting DBA specializing in PTO,Replication,HA/DR,and Security with Xtivia, Inc. a full-service IT company with offices in Dallas,TX, Colorado Springs,CO,and Edison,NJ.Ron earned a M.Sc. in Computer Science and a B.Sc. in Physics.Ron has 10 years of experience as an adjunct faculty member.

**Tamera Clark**

Twitter:  - [https://twitter.com/tameraclark](https://www.twitter.com/https://twitter.com/tameraclark)

LinkedIn: [Tamera Clark](http://www.linkedin.com/in/tameraclark/)

Contact: [http://tameraclark.com](http://tameraclark.com)

Tamera Clark has been involved in the IT industry for greater than ten years, with experiences ranging from systems analysis/engineering to SQL Server and SSRS administration/development. She is an active member of the SQL Server community, participating in the Women in Technology Virtual Chapter, Co-leading the Nashville BI Chapter, assisting the Nashville PASS Chapter and serving as a Regional Mentor.  Tamera is also the event chair of SQLSaturday Nashville.

**David Eichner**

Twitter:  - [@ICANSoftware](https://www.twitter.com/@ICANSoftware)

LinkedIn: [David Eichner](http://www.linkedin.com/in/icansoftware)

David Eichner is a licensed CPA and is also CEO of ICAN Software Corporation, a Microsoft Dynamics amp; Acumatica ERP partner firm that sell and implements ERP and CRM software, develops software solutions and provides technology consulting.  He is the host of a radio show called Business In The Cloud that airs weekly on KLAY 1180AM.  He is skilled in building integrated cloud app solutions. His career spans more than 20 years in various technical/managerial positions within industries as diverse as military service,  engineering/construction, municipal government, consulting and certified public accounting.  Additionally, he holds various national certificates in technology (MCDBA, MCSE, CNE, CITP, Dynamics CRM and ERP, Acumatica CRM and ERP)

**Hope Foley**

Contact: [http://hopefoley.com/](http://hopefoley.com/)

Hope has over 12 years experience in the IT world, she has worked across many industries from small business enterprises to Fortune 500 companies. She has a vast knowledge of database design, administration and support, data warehousing and data mining, and custom database solutions. Hope joined PTI in 2007 as a SQL Server Database Administrator/Analyst, and took over as Principal Microsoft Consultant, where she now leads a team of expert DBAs and developers. She is also a SQL Server MVP.

**Benjamin Nevarez**

Contact: [http://www.benjaminnevarez.com/](http://www.benjaminnevarez.com/)

Benjamin Nevarez is a SQL Server MVP and independent consultant based in Los Angeles, California who specializes in SQL Server query tuning and optimization. He is the author of “SQL Server 2014 Query Tuning  Optimization”, “Inside the SQL Server Query Optimizer” and has contributed to other SQL Server books including “SQL Server 2012 Internals”. Benjamin has also been a speaker at many SQL Server conferences, including the PASS Summit, SQL Server Connections and SQLBits.

**Eddie Wuerch**

Twitter:  - [@EddieW](https://www.twitter.com/@EddieW)

LinkedIn: [Eddie Wuerch](http://www.linkedin.com/in/eddiewuerch)

Contact: [http://www.indydba.com](http://www.indydba.com)

Eddie Wuerch has 20 years of experience as a SQL Server specialist in a much-longer IT career. A Microsoft Certified Master, Eddie spends his days in the Salesforce Marketing Cloud, focusing on performance, scale, and uptime for the massive SQL Server backend. These SQL Servers churn billions of transactions daily against trillions of rows of data in a 24x7 continuously-available online system accessed by millions worldwide every day.

  Since 2001, he has been a full time DBA with additional duties in Altiris, Sharepoint, and software development.  For 12 years, he has also been a volunteer Firefighter and EMT helping his community through fire prevention and teaching firefighting and vehicle extrication techniques to new firefighters.

**Shelly Noll**

Shelly Noll is a .NET Developer and recovering DBA with over 15 years of IT experience. Currently serving as a Software Developer with Learning Care Group in Novi, MI, she is involved in the .NET developer community and serves as Vice-President for the Great Lakes Area .NET Users Group. Her education includes a BS in Psychology from Loyola University Chicago and a MS in Information Systems from Lawrence Technological University.

**Rob Kerr**

Twitter:  - [@robkerrbi](https://www.twitter.com/@robkerrbi)

LinkedIn: [Rob Kerr](http://www.linkedin.com/in/kerrrob/)

Contact: [http://www.robkerr.com](http://www.robkerr.com)

Rob is CTO with BlueGranite, is a Microsoft SQL Server MVP and holds top Microsoft certifications in both SQL Server Database Administration and BI Development.  Rob has implemented data warehouse and business analytics systems for many Fortune 500 companies, and focuses on large-scale data warehousing, geospatial data analysis and mobile solutions.  Rob is the lead contributor to msbiacademy.com, a site providing free on-demand training covering a variety of Microsoft BI topics.

**Allen White**

Twitter:  - [SQLRunr](https://www.twitter.com/SQLRunr)

LinkedIn: [Allen White](http://www.linkedin.com/pub/allen-white-sql-server-mvp/5/784/b08/)

Contact: [http://dataperfpro.com/blog/](http://dataperfpro.com/blog/)

Allen White is a Data Platform consultant. He has been both a developer and an administrator, so he understands both perspectives towards database technology. He loves sharing his experiences and helping people learn how to use SQL Server. Allen has spent over 40 years in IT, using SQL Server since 1992, and has been awarded Microsoft’s MVP Award for the last 13 years. Allen was a PASS Director from 2016 - 2018.

**Luke Jian**

Twitter:  - [@sensware](https://www.twitter.com/@sensware)

LinkedIn: [Luke Jian](http://www.linkedin.com/in/ljian)

Contact: [http://blog.sqlpositive.com](http://blog.sqlpositive.com)

Luke Jian is an experienced database architect with a leading healthcare information company. A frequent speaker at conferences and local user groups he has  15+ years of experience in database design, development and optimization on SQL Server and Big Data  projects.

**Rob Kerr**

Twitter:  - [@robkerrbi](https://www.twitter.com/@robkerrbi)

LinkedIn: [Rob Kerr](http://www.linkedin.com/in/kerrrob/)

Contact: [http://www.robkerr.com](http://www.robkerr.com)

Rob is CTO with BlueGranite, is a Microsoft SQL Server MVP and holds top Microsoft certifications in both SQL Server Database Administration and BI Development.  Rob has implemented data warehouse and business analytics systems for many Fortune 500 companies, and focuses on large-scale data warehousing, geospatial data analysis and mobile solutions.  Rob is the lead contributor to msbiacademy.com, a site providing free on-demand training covering a variety of Microsoft BI topics.

**Norman Kelm**

Contact: [http://www.gerasus.com/](http://www.gerasus.com/)

Norman Kelm is the owner of Gerasus Software, http://www.gerasus.com/, the maker of SSIS-DTS Package Search the only utility that can search SSIS and DTS packages. Norman has been working in IT for over 20 years. He worked as a FORTRAN and C developer for 8 years before making the jump to databases with Sybase. He then moved on to SQL Server working as a production and development DBA on SQL Server since version 6.5. He is also a founding member of the Tampa Bay SQL Server User Group.

**Anthony Mattas**

Twitter:  - [amattas](https://www.twitter.com/amattas)

LinkedIn: [Anthony Mattas](http://www.linkedin.com/in/amattas)

Contact: [http://www.anthonymattas.com](http://www.anthonymattas.com)

Anthony Mattas is a Sr. Solution Architect on a world wide team at Microsoft focused on helping customers with distributed data systems.

Anthony has a B.S. in Computer Science Theory and Analysis from Western Michigan University, has multiple MCSE certifications, and is a Microsoft Certified Trainer.

Prior to joining Microsoft Anthony worked as a Business Intelligence consultant for the Microsoft Partner BlueGranite, and also formerly Technical Lead and Architect for a large medical device manufacturer's global business intelligence platform.

**Brent Ozar**

Twitter:  - [BrentO](https://www.twitter.com/BrentO)

LinkedIn: [Brent Ozar](https://www.linkedin.com/in/brentozar)

Contact: [https://www.BrentOzar.com](https://www.BrentOzar.com)

Brent Ozar loves to make SQL Server faster. He created sp_Blitz and the SQL Server First Responder Kit. He shares what he's learned at BrentOzar.com.

**Juan Soto**

Twitter:  - [jsoto22](https://www.twitter.com/jsoto22)

LinkedIn: [Juan Soto](https://www.linkedin.com/in/juansoto)

Contact: [https://accessexperts.com/blog/](https://accessexperts.com/blog/)

I’m the President of IT Impact, a Microsoft Access MVP and a frequent author on the official Microsoft Access blog as well as the first Access developer to be profiled on their site. I’m also a frequent speaker at Access User Groups throughout the USA, covering subjects such as SQL Server with Access as well as providing tools and resources for Access developers on the web. My expertise is optimizing Access with SQL Server and helping SQL Server DBAs understand how to design tables for Access.

**David Maxwell**

Twitter:  - [https://twitter.com/dmmaxwell](https://www.twitter.com/https://twitter.com/dmmaxwell)

LinkedIn: [David Maxwell](https://www.linkedin.com/in/davidmmaxwell)

Contact: [https://dmmaxwell.wordpress.com/](https://dmmaxwell.wordpress.com/)

David Maxwell has almost 20 years of experience with SQL Server, with a keen interest in performance tuning, monitoring, and troubleshooting. He has experience in environments as diverse as health care institutions, auto manufacturers, and insurance companies. David has been a frequent presenter at SQLSaturday events around the United States since 2012, as well as a presenter for the DBA Fundamentals Virtual Group, the Performance Virtual Group, 24 Hours of PASS, and the annual PASS Summit. David participates in his local Columbus Ohio PASS Local Group, where he serves on the board of directors as SQLSaturday coordinator.

**Garrett Edmondson**

Contact: [http://garrettedmondson.wordpress.com/](http://garrettedmondson.wordpress.com/)

Garrett Edmondson, MCITP has 10+ years experience working with the full Microsoft BI Stack. He has built several Operational and Financial Data Warehouses for large and small organizations. . During the past year he has been working on Microsoft’s Parallel Data Warehouse (PDW) Appliance, which allows SQL Server to scale to hundreds of terabytes.

**Wendy Pastrick**

Twitter:  - [@wendy_dance](https://www.twitter.com/@wendy_dance)

Contact: [http://wendyverse.blogspot.com](http://wendyverse.blogspot.com)

Wendy Pastrick is from Chicago, IL, and for the past 15 years has served as a Database Administrator supporting both development and production environments. Her many years of involvement with PASS include WIT Virtual Chapter and the Chicago Suburban User Group, serving as Regional Mentor, and as a PASS Board member since 2013. Wendy has organized several highly successful SQLSaturday events in Chicago.

## Sponsors
The following is a list of sponsors that helped fund the event:

- [Confio](http://www.confio.com)

- [Idera](http://www.idera.com/Content/Home.aspx)

- [New Horizons Computer Learning Centers](http://www.nhgreatlakes.com)

- [Melissa Data Corp.](http://www.melissadata.com)

- [iQ for Business](http://www.halobi.com)

- [Tek Systems](http://www.teksystems.com/)

- [UpSearch](https://upsearch.com/microsoft-sql-server-dba-services/)

- [Redgate Software (GAP)](http://rd.gt/2j7SNf9)

- [Cozy Roc](http://www.cozyroc.com)

- [SRT Solutions](http://www.srtsolutions.com)

- [SQL Cruise](http://sqlcruise.com/2013-cruises/)

- [Yanni Robel](http://yannirobel.com)

- [Gerasus Software](http://www.gerasus.com/)

- [Quicken Loans](http://www.quickenloanscareers.com)

- [BlueGranite](http://www.blue-granite.com)

[Back to the SQLSaturday Event List](/past)

[Back to the home page](/index)

repository: red-gate/sql-saturday-website

repo_name: red-gate/sql-saturday-website


text:
# Coosos/TagBundle

[![SensioLabsInsight](https://insight.sensiolabs.com/projects/15b5ca2c-ff07-46e0-b258-da8218961e12/mini.png)](https://insight.sensiolabs.com/projects/15b5ca2c-ff07-46e0-b258-da8218961e12)

_TagBundle is a bundle created from the
[Grafikart video](https://www.grafikart.fr/tutoriels/symfony/tags-form-type-882)._

## Requirements

* Symfony 3.0 and greater
* PHP 7.0 and greater
* [jQuery tagEditor](https://github.com/Pixabay/jQuery-tagEditor) (optional)
* [jQuery UI Autocomplete](https://jqueryui.com/autocomplete/) (optional)

## Installation

### Step 1 : Download the bundle

Open a command console, enter your project directory and execute the
following command to download the latest stable version of this bundle :

    $ composer require coosos/tag-bundle

This command is used if composer is installed in your system.

### Step 2: Enable the Bundle

Then, enable the bundle by adding the following line in the ``app/AppKernel.php``
file of your project :

    // app/AppKernel.php
    // ...
    class AppKernel extends Kernel
    {
        public function registerBundles()
        {
            $bundles = array(
                // ...
                new Coosos\TagBundle\CoososTagBundle(),
            );
            // ...
        }
        // ...
    }

### Step 3: Insert tag entity in your database

Use this command to insert tag entity in your database

    $ php bin/console doctrine:schema:update -f

## Usage

### Tags fields in entity

    namespace AppBundle\Entity;

    use Coosos\TagBundle\Model\Taggable\TaggableTrait;

    class Actuality {

        use TaggableTrait;

    }

### Form type

To create a field for tags, you must use a field type provided by the bundle

    use Coosos\TagBundle\Form\Type\TagsType;
    ...
    $builder->add("tags", TagsType::class);

#### Options

##### Configuration list

            Config name
            Default value
            Values
            Description

            coosos_tag_auto_complete
            true
            true | false
            If you want to use auto completion

            coosos_tag_persist_new
            true
            true | false
            If you want the tags not exist is created

            coosos_tag_category
            "default"
            string
            If you want to separate tags in different categories

##### Usage

    $builder->add("tags", TagsType::class, [
        ...,
        "coosos_tag_auto_complete"  => false,
        "coosos_tag_persist_new"    => false,
        "coosos_tag_category"       => "House"
    ]);

### Routing

You must include the route to the bundle controller

    # app/config/routing.yml

    tag:
        resource: "@CoososTagBundle/Controller/"
        type: annotation

### Form theme

You must have [jQuery tagEditor](https://github.com/Pixabay/jQuery-tagEditor) included in your project

    twig:
        form_themes:
            - "CoososTagBundle:Form:fields.html.twig"

##### Auto complete

The auto completion uses the library [jQuery UI Autocomplete](https://jqueryui.com/autocomplete/)

repository: Coosos/TagBundle

repo_name: Coosos/TagBundle


text:
**[Installation](#installation)** |
**[Configuration](#configuration)** |
**[Resources Displayed](#resources-displayed)** |
**[Contributing](#contributing)**

# NBResuse

[![GitHub](https://img.shields.io/badge/issue_tracking-github-blue?logo=github)](https://github.com/edina/nbresuse/issues)
[![TravisCI build status](https://img.shields.io/travis/jupyter/nbviewer/master?logo=travis)](https://travis-ci.org/edina/nbresuse)
[![Build Status](https://dev.azure.com/tpaine154/jupyter/_apis/build/status/timkpaine.nbresuse?branchName=master)](https://dev.azure.com/tpaine154/jupyter/_build/latest?definitionId=17&branchName=master)
[![Coverage](https://img.shields.io/azure-devops/coverage/tpaine154/jupyter/17)](https://dev.azure.com/tpaine154/jupyter/_build?definitionId=17&_a=summary)

Docker NB Resource Usage (DNBResuse) is a fork of NBResuse.

Hereafter, it's called nbresuse

![Screenshot with three limits showing](standard-metrics-screenshot.png)

It is a small extension for Jupyter Notebooks running in a docker notebook, and
displays an indication of how much resources your current notebook server and
its children (kernels, terminals, etc) are using. This is displayed in the
main toolbar in the notebook itself, refreshing every 5s.

Reminder: This version is specific from notebooks running in docker containers.

Whilst running directly on a host, details can be pulled from pustil (which
pulls data from the `/proc` tree, however in a docker image the correct place
to pull this data is from the `/sys/fs/cgroup/`)

## Installation

You currently install this package by cloning from GitHub. In your dockerfile, add:

```bash
WORKDIR /srv
RUN git clone --depth 1 https://github.com/edina/nbresuse
# COPY . nbresuse
RUN pip install -e nbresuse
```
(swap the `RUN git ...` command for the `COPY . nbresuse` command when developing locally)

**If your notebook version is < 5.3**, you need to enable the extension manually.

```
jupyter serverextension enable --py nbresuse --sys-prefix
jupyter nbextension install --py nbresuse --sys-prefix
jupyter nbextension enable --py nbresuse --sys-prefix
```

## Configuration

### Memory Limit

`nbresuse` displays a memory usage against a maximum value. You can set this
in several ways:

1. `MEM_LIMIT` environment variable. This is set by [JupyterHub](https://github.com/jupyterhub/jupyterhub/)
   if using a spawner that supports it.
2. In the commandline when starting `jupyter notebook`, as `--ResourceUseDisplay.mem_limit=246579200`.
3. In your Jupyter notebook [traitlets](https://traitlets.readthedocs.io/en/stable/) config file:
 `c.NotebookApp.ResourceUseDisplay.mem_limit = 246579200`

The limit needs to be set as an integer in Bytes.

If unset, it reads the maximum memory available

### CPU Usage

`nbresuse` also displays CPU usage, reporting a `cpu_percent`.

You can set the `cpu_limit` in several ways:

1. `CPU_LIMIT` environment variable. This is set by [JupyterHub](https://github.com/jupyterhub/jupyterhub/)
   if using a spawner that supports it.
2. In the command line when starting `jupyter notebook`, as `--ResourceUseDisplay.cpu_limit=1.5`.
3. In your Jupyter notebook config file: `c.NotebookApp.ResourceUseDisplay.cpu_limit = 1.5`

The limit corresponds to the number of cpus the user has access to, but does not enforce it.

Reporting of this can be disabled:

1. In the command line when starting `jupyter notebook`, as `--ResourceUseDisplay.track_cpu_percent=False`.
2. In your Jupyter notebook config file: `c.NotebookApp.ResourceUseDisplay.track_cpu_percent=False`

### Disk Usage

`nbresuse` also displays Disk usage, reporting current & maximum values.

It uses `psutil` to determine values.

The `disk_maximum` is defined as the total byte size for the disk partition the directory is on, and that
directory defaults to `/home/joyan`, but can be defined (as outlined for `memory` and `cpu` above) using the
evironment variable `DISK_DIR` or the config variable `disk_dir`

An artificial limit can be set as above, using either the `DISK_LIMIT` environment variable or the config
element `disk_limit`. This limit needs to be set as an integer in Bytes.

If `disk_limit` is unset, it reports `disk_maximum`

Reporting of this can be disabled:

1. In the command line when starting `jupyter notebook`, as `--ResourceUseDisplay.track_disk_usage=False`.
2. In your Jupyter notebook config file: `c.NotebookApp.ResourceUseDisplay.track_disk_usage=False`

## Resources Displayed

Out the box, all three metrics are displayed.

Items can me removed, see above.

Resources are displayed as a named box, with a bar to indicate a level of use.

The bar is green for normal use, turns orange at 75%, red at 90%, and goes maroon when over 100%

![Screenshot with warning disk shown](metrics-screenshot.png)

The bar is green for normal use, turns orange at 75%, red at 90%, and goes maroon when over 100%

If you wish to see the actual values, each box has a tool-tip that displays the numeric values at the
time the tool-tip is raised.

## Contributing

If you would like to contribute to the project, please read the [`CONTRIBUTING.md`](CONTRIBUTING.md). The `CONTRIBUTING.md` file
explains how to set up a development installation and how to run the test suite.

repository: edina/nbresuse

gha_language: Python

repo_name: edina/nbresuse


text:
# Davidiella woronichinii (Woronow) Aptroot, 2006 SPECIES

#### Status
ACCEPTED

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

#### Published in
Mycosphaerella and its anamorphs: 2. Conspectus of Mycosphaerella 207 (2006)

#### Original name
Mycosphaerella woronichinii Woronow, 1923

### Remarks
null


text:
---
title: Extended Network Support from UKCloud Service Definition
description: Provides an overview of what is provided by the Extended Network Support from UKCloud service
services: managed-services
author: Sue Highmoor
reviewer: Steve Dixon
lastreviewed: 16/07/2020
toc_rootlink: Extended Network Support
toc_sub1:
toc_sub2:
toc_sub3:
toc_sub4:
toc_title: Extended Network Support from UKCloud Service Definition
toc_fullpath: Extended Network Support/man-sd-network.md
toc_mdlink: man-sd-network.md
---

# Extended Network Support from UKCloud Service Definition

## Why UKCloud?

UKCloud is dedicated to helping the UK Public Sector and UK citizens by delivering more choice and flexibility through safe and trusted cloud technology. We own and operate a UK-sovereign, industry-leading, multi-cloud platform, located within the Government's Crown Campus, offering multiple cloud technologies, including VMware, Azure, OpenStack, OpenShift and Oracle. This enables customers to choose the right technology for creating new workloads or migrating existing applications to the cloud.

We recognise the importance of government services in making the country run smoothly, which is why we include the highest level of support to all our customers at no extra cost. This includes a dedicated 24/7 UK telephone and ticket support, and Network Operations Centre (NOC) utilising protective and proactive monitoring tools, and access to UKCloud's technical experts.

![UKCloud services](images/ukc-services.png)

## What is Extended Network Support from UKCloud?

The Extended Network Support from UKCloud service reduces the burden customer traditionally must consider in supporting their virtual network infrastructure to enable the reliable and stable connectivity for their solution.

As a natural extension of the Basic Managed Compute from UKCloud service, our Extended Network Support from UKCloud allows customers to choose from an extensive list of officially supported network appliances of which UKCloud undertaking the initial deployment (or assume ownership of valid existing networks) and configuration of the various elements of your virtual network, along with the ongoing monitoring and support, further enabling customers to focus upon their applications and business outcomes rather than worry about their connectivity uptime.

For full information regarding this product, we have Service Scopes, FAQs and other relevant documents on our [Knowledge Centre](https://docs.ukcloud.com).

## What the service can help you achieve

- Reduce operational tasks

- Reduce effort on tasks such as network appliance and vLAN deployment, configuration, patching and rebooting

- Concentrate on creating and managing applications and solutions rather than managing virtual infrastructure

- Help increase service uptime through proactive monitoring and incident response.

## Product options

The service is designed to be flexible and allows you to choose from the options below to match your requirements.

- Initial deployment and configuration of vLANs

- Initial deployment of UKCloud approved virtual network appliances (for example, NSX Edge, Load Balancers, Firewalls, VPN endpoints)

- Ongoing support of UKCloud deployed and configured vLANs and virtual network appliances

- Note that this service is in addition to the provision and cost of any IaaS compute or applicable software license/support charges (for example, NSX Edge, Octavia Load Balancer, Azure VPN, etc.)

## Pricing and packaging

Prices start from £100 per month for a supported VLAN. Full pricing with all options including licensing and connectivity is available in the [UKCloud Pricing Guide](https://ukcloud.com/pricing-guide).

## Accreditation and information assurance

The security of our platform is our number one priority. We've always been committed to adhering to exacting standards, frameworks and best practice. Everything we do is subject to regular independent validation by government accreditors, sector auditors, and management system assessors. Details are available on the [UKCloud website](https://ukcloud.com/governance/).

## Connectivity options

UKCloud provides one of the best-connected cloud platforms for the UK Public Sector. We offer a range of flexible connectivity options detailed in the [UKCloud Pricing Guide](https://ukcloud.com/pricing-guide) which enable access to our secure platform by DDoS-protected internet, native PSN, Janet, HSCN and RLI and your own lease lines via our HybridConnect service.

## An SLA you can trust

We understand that enterprise workloads need a dependable service that underpins the reliability of the application to users and other systems, which is why we offer one of the best SLAs on G-Cloud. As the SLA varies based on the chosen cloud technology, you can find full details on each service's SLA, including measurements and service credits, in the [*SLA defintion article*](../other/other-ref-sla-definition.md) on the UKCloud Knowledge Centre.

## The small print

For full terms and conditions including onboarding and responsibilities, please refer to the [*Terms and conditions documents*](../other/other-ref-terms-and-conditions.md).

## Feedback

If you find a problem with this article, click **Improve this Doc** to make the change yourself or raise an [issue](https://github.com/UKCloud/documentation/issues) in GitHub. If you have an idea for how we could improve any of our services, send an email to<EMAIL_ADDRESS>

repository: myoung-ukcloud/documentation

repo_name: myoung-ukcloud/documentation


text:
# Getting Started with an existing Magento application

We've designed Mage2Docker to be as simple as possible to use with an existing Magento 2 Open Source or Magento 2 Commerce project.

> This setup assumes that you have already setup your Magento account, composer, and your Magento composer credentials. If you have not done this, see the [new project setup](./new-project.md).

Setup is broken down into a few discrete steps, follow along and in a few minutes you will have a working local Magento 2 project.

1. [Setting up the Mage2Docker environment](#setting-up-the-mage2docker-environment)
2. [Installing the Magento 2 Dependencies](#installing-the-magento-2-dependencies)
3. [Finalizing Magento 2 Installation](#finalizing-magento-2-installation)
4. [Taking the Environment Down](#taking-the-environment-down)

## Setting up the Mage2Docker Project

:no_entry: **In the root of your Magento 2 project:**

```bash
git clone https://www.github.com/graycoreio/mage2docker \
    && echo -e "\nmage2docker/" >> .gitignore \
    && cd mage2docker
```

The end result should look like:

![Folder Structure](../images/folder-structure.png)

> From here on out, we assume that you're working within the new `mage2docker` directory nested inside your project, not the root Magento folder.

### Configuring Docker Compose
Mage2Docker comes with a basic environment configuration file `.env.sample`, you can utilize this file to tailor your environment to your needs.

#### Copy this file into a new `.env` file.**

```bash
cp .env.sample .env
```

You will need to uncomment the following configurations and select the [appropriate configurations](./configuring.md) for your environment. We've configured some basic defaults for out-of-the-box behavior.

```bash
COMPOSE_PROJECT_NAME
COMPOSE_FILE
```

For further configuration [see the configuration guide](./configuring.md).

> If you have multiple Magento projects on your system, **please ensure that the COMPOSE_PROJECT_NAME value is unique**, otherwise you will find out that you've accidentally shared data between different projects and you'll be in for a world of pain.

### Configuring Your Hosts File
Add the following entry to your **host** system's `/etc/hosts` file.

> On WSL2 this is the Native Windows host file (`/c/Windows/System32/drivers/etc/hosts`)

```bash
<IP_ADDRESS> magento2.test
```

### Elasticsearch
On Linux enviroments (including WSL), you will need to [increase the Virtual Memory available to Elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html). You can do so by:

```bash
sysctl -w vm.max_map_count=262144
```

> This setting will not persist upon reboot. To persist this setting, see the above link.

## Starting the Mage2Docker Environment
With all the configuration behind us, you can simply:

```bash
docker-compose up -d
```

> Note that the `-d` detaches from the container logstream so that you can continue to use the same terminal. You can remove it if you'd like to see the logs for all the containers.

## Installing the Magento 2 Dependencies
You can run `composer` commands directly on the container to install the Magento 2 dependencies.

```bash
docker-compose exec magento2 composer install
```

## Finalizing Magento 2 Installation
We can now finalize the Magento 2 installation and configure Magento 2 to use the utilities provided by the Mage2Docker environment.

```bash
docker-compose exec magento2 bin/magento setup:install --base-url=https://magento2.test \
--db-host=database --db-name=magento2 --db-user=magento2 --db-password=magento2 \
--admin-firstname=Magento --admin-lastname=User<EMAIL_ADDRESS>\
--admin-user=admin --admin-password=admin123 --language=en_US \
--currency=USD --timezone=America/Chicago \
--cleanup-database

docker-compose exec magento2 bin/magento setup:config:set --cache-backend=redis --cache-backend-redis-server=cache --cache-backend-redis-db=0
docker-compose exec magento2 bin/magento setup:config:set --page-cache=redis --page-cache-redis-server=fullpagecache --page-cache-redis-db=0
docker-compose exec magento2 bin/magento setup:config:set --session-save=redis --session-save-redis-host=sessioncache --session-save-redis-db=0
docker-compose exec magento2 bin/magento setup:config:set --amqp-host="message_queue" --amqp-port="5672" --amqp-user="guest" --amqp-password="guest"

bin/magento deploy:mode:set developer
```

## Taking the Environment Down
Taking the environment down is fairly simple as well.

> Note: The data for your database is PERSISTENT, so you can tear down the containers and your database will still remain. The next time you `docker-compose up` you will be right where you left off.

```bash
docker-compose down
```

gha_language: Dockerfile