hexsha stringlengths 40 40 | size int64 5 1.04M | ext stringclasses 6 values | lang stringclasses 1 value | max_stars_repo_path stringlengths 3 344 | max_stars_repo_name stringlengths 5 125 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 11 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 344 | max_issues_repo_name stringlengths 5 125 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 11 | max_issues_count int64 1 116k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 344 | max_forks_repo_name stringlengths 5 125 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 11 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.04M | avg_line_length float64 1.14 851k | max_line_length int64 1 1.03M | alphanum_fraction float64 0 1 | lid stringclasses 191 values | lid_prob float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
98a0df6b845f39b16b70e0868470bced4ead1c74 | 3,931 | md | Markdown | README.md | ly-components/react-as-tabs | 1e763966e0f984524517641bb8d22c34a46c55ba | [
"MIT"
] | 2 | 2015-10-03T10:45:44.000Z | 2016-02-12T10:03:32.000Z | README.md | LingyuCoder/react-as-tabs | 1e763966e0f984524517641bb8d22c34a46c55ba | [
"MIT"
] | null | null | null | README.md | LingyuCoder/react-as-tabs | 1e763966e0f984524517641bb8d22c34a46c55ba | [
"MIT"
] | null | null | null | # react-as-tabs
[](https://coveralls.io/r/ly-components/react-as-tabs?branch=master)
[](https://travis-ci.org/ly-components/react-as-tabs)
[](https://david-dm.org/ly-components/react-as-tabs)
[](https://david-dm.org/ly-components/react-as-tabs#info=devDependencies)
[](http://npmjs.org/package/react-as-tabs)
[](http://nodejs.org/download/)
[](LICENSE)
[](https://npmjs.org/package/react-as-tabs)
> A react tabs
## Demo
[Demo here](http://ly-components.github.io/react-as-tabs/demo/index.html)
## Installation
```bash
$ npm install --save react-as-tabs
```
## Usage
```javascript
import Tabs from 'react-as-tabs';
const Panel = Tabs.Panel;
<Tabs onChange={key => console.log(key)}>
<Panel name="nav1" title="Panel1">
content1
</Panel>
<Panel name="nav2" title="Panel2">
content2
</Panel>
<Panel disabled name="nav3" title="Panel3">
content3
</Panel>
<Panel href="https://github.com/ly-components" name="nav4" title="Link" />
</Tabs>
```
## Properties
### Tabs
[insert]: # (start:src/index.jsx|doc)
| Name | Description | Type | Required | Default Value |
| :--- | :----- | :--- | :---: | :---: |
| active | current activated panel name | String | | |
| children | panels | Node | | `null` |
| onChange | callback when panel changes | Function | | `() => {}` |
[insert]: # (end:src/index.jsx)
### Panel
[insert]: # (start:src/panel.jsx|doc)
| Name | Description | Type | Required | Default Value |
| :--- | :----- | :--- | :---: | :---: |
| children | children nodes of this panel | Node | | `null` |
| disabled | whether this panel can be activated | Boolean | | `false` |
| href | if nav is a link, this is the url | String | | |
| name | name of this panel, required | String | √ | `''` |
| title | text of the nav, required | String | √ | `''` |
[insert]: # (end:src/panel.jsx)
## Development
[Online test page here](http://ly-components.github.io/react-as-tabs/test/test.html)
```bash
$ npm run dev # startup local dev server
$ npm run build # build
$ npm run test # run tests
$ npm run cov # run coverage
$ npm run build-demo # build demo, auto run in 'npm run build'
$ npm run build-test # build test, auto run in 'npm run build'
```
## License
The MIT License (MIT)
Copyright (c) 2015 LingyuCoder
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.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 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.
| 38.165049 | 168 | 0.700585 | eng_Latn | 0.419713 |
98a11d5fac622a395c6ffe1de9932fe51be67904 | 595 | md | Markdown | 404.md | StephenAbbott/opendefinition | cb9290d8fefd490f7f730866edd3783ee004084a | [
"CC-BY-4.0"
] | 1 | 2019-02-25T00:02:37.000Z | 2019-02-25T00:02:37.000Z | 404.md | StephenAbbott/opendefinition | cb9290d8fefd490f7f730866edd3783ee004084a | [
"CC-BY-4.0"
] | null | null | null | 404.md | StephenAbbott/opendefinition | cb9290d8fefd490f7f730866edd3783ee004084a | [
"CC-BY-4.0"
] | null | null | null | ---
permalink: /404.html
layout: page
title: Not Found
robots: noindex
sitemap: false
---
Sorry! We try to keep our links <a href="https://www.w3.org/Provider/Style/URI.html">cool</a>.
If you think we broke a link, please <a href="{{ site.github.repository_url }}">submit an issue or fix</a>.
<script>
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
</script>
<script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
<script>
window.is404 = true;
document.getElementById('goog-wm-qt').title = 'Search';
</script>
| 28.333333 | 107 | 0.705882 | yue_Hant | 0.465402 |
98a281e9a6c640cbfa338f4657b4c1ce072bfc0b | 323 | md | Markdown | CyclesPerInstruction/README.md | Bhaskers-Blu-Org2/eventtracing-processing-samples | d934c648a25a5c7247859a06c33686cb9ef34e1f | [
"MIT"
] | 24 | 2020-01-01T00:08:54.000Z | 2022-01-16T14:54:52.000Z | CyclesPerInstruction/README.md | Bhaskers-Blu-Org2/eventtracing-processing-samples | d934c648a25a5c7247859a06c33686cb9ef34e1f | [
"MIT"
] | 4 | 2019-08-19T23:24:55.000Z | 2021-11-13T18:22:36.000Z | CyclesPerInstruction/README.md | microsoft/eventtracing-processing-samples | d934c648a25a5c7247859a06c33686cb9ef34e1f | [
"MIT"
] | 8 | 2019-11-07T18:38:56.000Z | 2021-08-07T04:15:35.000Z | # CyclesPerInstruction
This project requires the path to a trace containing cycle count and instruction count hardware counter data to be
passed in.
When run it prints the total number of cycles consumed and instructions executed by each process during the trace,
as well as the average cycles per instruction (CPI). | 53.833333 | 115 | 0.804954 | eng_Latn | 0.99994 |
98a31a26093687d0f72073392d9b04ce59617cc3 | 10,460 | md | Markdown | content/project/autopilot-plane/index.md | LubinKerhuel/hugo | e5dcd3d92f4d8ba51e9bcc0b55716add2f6f3dbc | [
"MIT"
] | null | null | null | content/project/autopilot-plane/index.md | LubinKerhuel/hugo | e5dcd3d92f4d8ba51e9bcc0b55716add2f6f3dbc | [
"MIT"
] | null | null | null | content/project/autopilot-plane/index.md | LubinKerhuel/hugo | e5dcd3d92f4d8ba51e9bcc0b55716add2f6f3dbc | [
"MIT"
] | null | null | null | +++
# Project title.
title = "Fixed-wing autopilot based on Simulink model"
# Date this page was created.
date = 2019-05-19T00:00:00
draft = false
# Project summary to display on homepage.
summary = "16-bits fixed-wing autopilot Model Based Design"
# Tags: can be used for filtering projects.
# Example: `tags = ["machine-learning", "deep-learning"]`
tags = ["simulink","matlab","rapid prototyping","model based design (MBD)","dsPIC","sliding-mode","autopilot","UAV","MAVLink","UxV blockset","AUAV V3 board"]
# Optional external URL for project (replaces project detail page).
external_link = ""
# share = false # Show social sharing links?
profile = true # Show author profile?
# comments = false # Show comments?
# Slides (optional).
# Associate this project with Markdown slides.
# Simply enter your slide deck's filename without extension.
# E.g. `slides = "example-slides"` references
# `content/slides/example-slides.md`.
# Otherwise, set `slides = ""`.
slides = ""
# Links (optional).
# url_pdf = ""
# url_code = ""
# url_dataset = ""
# url_slides = ""
# url_video = ""
# url_poster = ""
# Custom links (optional).
# Uncomment line below to enable. For multiple links, use the form `[{...}, {...}, {...}]`.
#links = [{icon_pack = "fab", icon="twitter", name="Follow", url = "https://twitter.com/georgecushen"}]
links = [
{icon_pack = "fab", icon="", name="Video Calm", url = "https://www.youtube.com/playlist?list=PLaljXZFYAWTM5xUd5nM3107M2cDsQRFC0"},
{icon_pack = "fab", icon="", name="Video Turbulent", url = "https://www.youtube.com/playlist?list=PLaljXZFYAWTPAKykfQDyIEClrdDMl0NDy"}
]
# Featured image
# To use, add an image named `featured.jpg/png` to your project's folder.
[image]
# Caption (optional)
caption = "Firstar 1600 plane"
# Focal point (optional)
# Options: Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight
focal_point = "Smart"
+++
<!-- Enable Photo Swipe + gallery features -->
{{< load-photoswipe >}}
## A 16-bits autopilot designed with Simulink and rapid control prototyping tools ##
### Motivation ###
Building a platform for testing various autopilot control loop has become simple thanks to the many low cost elements available. To cite few of them:
- **10 DoF IMU**: (~$5\ \$$),
- **GPS board**: (~$10\ \$$),
- **Pitot tube** ([custom](/post/pitot-build/)): (~$20\ \$$),
- **Microcontroller board**: depend on the board; rely on $\approx 5\ \$$ mcu,
- **Plane** platform: from $60$ to $120\ \$$ including servos and motors.
- You also need few RC hardware:
- **receiver**
- **remote control**
- **battery pack**
- few optional hardware for **data logging**, **telemetry**, **camera**...
### Difference with existing autopilot ###
Many off the shelf autopilot exists and works great. To mention few of them:
- [Ardupilot](http://ardupilot.org/)
- [PX4](https://px4.io/)
- [iNav](http://inavflight.com/)
- [LibrePilot](https://www.librepilot.org/site/index.html)
- [Paparazzi](https://wiki.paparazziuav.org/wiki/Main_Page).
- Others are listed on the [DroneTrest review](https://blog.dronetrest.com/flight-controller-firmware/)).
Usually, their internal parameters can be tuned. But, inserting your customized control-loop in such autopilot requires understanding the code structure underneath. Even well documented, it represents hundreds of C functions to navigate into, before starting any changes.
Your custom control loop might not fit within the existing structure. You might want to implement a more advanced controller than existing PIDs, use a different sample rate etc...
Starting a new project is sometime faster than re-use a pre-existing advanced one.
The presented autopilot uses a Model Based Design (MBD) approach: The autopilot code is generated from a unique Simulink model. Everything is within the diagram, from low level sensors handling up to the controller design. This MBD aproach is also named Rapid Control Prototyping (RCP).
The autopilot control-loop uses standard math blocks. Low level systems is taken care with the Microchip blockset driving the microcontroller peripherals. The UxV blockset provide easily access to GPS, Remote Control S.BUS, F.Port and Smart Port protocol, MAVLink messaging including Way Point and Parameters protocols.
Such Simulink model allows to "get-in" the project graphically. It allows simulating parts of the system based on a simulated plane or based on values previously logged from a real flight which is helpful to design feed-forward sensor fusions algorithms.
Another key difference is the use of a 16-bit microcontroller while other autopilot uses 32-bit microcontroller. 16-bits dsPIC prove to provide all required resources thanks to the efficient architecture underneath which handle the many peripheral used in an efficient way (UART, I2C, Output Capture, Input Compare...).
Note however a similar model based design using dsPIC microcontroller beeing developed at UCSC by Pr G.H.Elkaim in a project named SLUG. Their design is independent from the one presented here. The original project handled by M.I Lizarraga [SLUG] (https://slugsuav.soe.ucsc.edu/) is available online. The update [SLUG II](https://doi.org/10.1155/2018/6892153) projects rely on the same tool used here to target the dsPIC: the blockset for Microchip microcontrollers (free).
### Hardware list ###
Various combination of material was tested. Below is a selected list of hardware which prove to be efficient.
{{< figure
src="/img/firstar1600-qx7.jpg"
link="/img/firstar1600-qx7.jpg"
width="80%"
title="autopilot platform"
caption="Volantex Firstar 1600 with Qx7 remote control."
numbered="true"
>}}
- **RC platform**: Volantex Firstar 1600 with stock motors and servos (Alternative platform are Bixler 2 and Ranger 1600)
- **Remote Control**: FrSky QX7
- **Receiver**: FrSky XSR-M / XSR used with either the S.Bus (receiver channel output) and Smart Port (Telemetry) protocol or with the F.Port protocol which combine both both S.bus with Smart Port saving one UART peripheral of the microcontroller. Each protocol uses only one wire thus half duplex UART. dsPIC UART peripheral enable configuring Tx and Rx on one line.
- **Microcontroller**: dsPIC 33EP on a AUAV V3 board. External motion sensor is used instead of built-in AUAV3 sensors. Tiny sensor board with recent chip are easier to firmly attach near the CG reducing vibrations. A custom board based on a dsPIC might replace the AUAV3 board which is difficult to find now. The UDB5 mini is similar and can still be found.
- **IMU sensor**: Gy-91 (10 DoF with 3 accelerometers, 3 rate gyro, 3 magnetometers and one barometer). Firmly attached near the CG of the plane. I2C bus is used between sensors and MCU.
- **Pitot tube**:
- An inner tube and an outer tube on which four holes are done laterally.
- Signal conditioning: the pitot tube pressure sensor (MP3V 5004 DP) is done with a MCHP ADC converter which integrate an analog amplifier. Converted pressure is sent to the microcontroller through the I2C bus. See [build and test](/post/pitot-build/) page.
- **GPS**: based on a $\mu$blox M8N chip providing up to 10Hz refresh rate and provided good results compared to competitors chips.
- **Data logger**: OpenLager board to log on SD card. It allows logging continuous UART output flow with at a baud up to 2 470 000 (much higher than a 115 200 baud rate that OpenLog data logger cannot sustain.).
- **Radio link**: 3DR Sik based Radio module for MAVLink telemetry (plane attitude, position, Way Point and Parameters tuning) with [qgroundcontrol](http://qgroundcontrol.com/) base station running on most platforms (PC, android, windows, Linux).
- **Action cam**: RunCam2 to film the plane and its surface control from the top; getting a visual behavior of the autopilot in the action.
{{< figure
src="/img/autopilot-electronic-sensors-bundle_1.jpg"
link="/img/autopilot-electronic-sensors-bundle_1.jpg"
width="80%"
title="Embedded electronics. One early configuration for testing various sensors. Elements used: X8R receiver, PDB-XPM power board, OpenLager SD data logger, AUAV3 16-bit dsPIC microcontroller with sensors (MPU6050), IMU board 1, IMU board 2, Pressure sensor MP3V5004DP for pitot tube, GPS1, GPS2, 3S 2200maH LiPo battery, Qx7 transmitter."
numbered="true"
>}}
### Results ###
Sliding mode-based controller tested in both pitch and roll axis with two mode:
- Control plane angular rate control (angular speed set-point given through the remote control)
- Control plane angle attitude (angle set point provided through the remote control)
Average CPU load was 7 to 8% on a dsPIC 33EP running at 70 MIPS. It includes the IMU estimation algorithm, autopilot control loop and all low tasks (handle various protocols (I2C, NMEA for GPS, F.Port, MAVLink and log sensors data at 1Khz through an UART configured at 24700000)
Tested with strong wind. Showing good robustness despite the low number of parameters tuned so far (video link on top).
Pitot tube airspeed estimation validated using GPS speed measurement as reference ([here](/post/pitot-build)).
Validated the wind speed and direction estimation based on a difference between the GPS and pitot tube speed measurement considering the plane orientation.
Validated automatic calibration of the magnetometer's axis offset and gain. Once in the air, the magnetic perturbation near the floor are negligible. An algorithm automatically determines if the calibration can be refined using current data (using standard flight input data, no looping or specific roll required).
### Next steps ###
Reduce chattering on ailerons when sliding mode control is enabled.
Test in flight MAVLink protocol parameters tuning.
Add automatic guidance of the plane, using MAVLink Way point sets.
### Site content ###
Time constraints does not allow writing a complete description of the project as originally planned. Part of projects which I find interesting and inspiring will be posted.
Ideas to dvpt:
- IMU
- [Pitot tube](/post/pitot-build/)
- [Wind estimation](/post/pitot-build/#wind-estimation) combining GPS ground-speed with Pitot tube airspeed
- UxV blocks including GPS, Remote Control and MAVLink blocks and functionalities
- Magnetometers auto calibration
| 59.096045 | 474 | 0.743308 | eng_Latn | 0.981424 |
98a38da37490ec75574584961ee81a486e7adb20 | 13 | md | Markdown | README.md | nankyk/-BDT-Course | 59a5534c4a7aac8bfc374381c6f4e4dc7beae50d | [
"MIT"
] | null | null | null | README.md | nankyk/-BDT-Course | 59a5534c4a7aac8bfc374381c6f4e4dc7beae50d | [
"MIT"
] | null | null | null | README.md | nankyk/-BDT-Course | 59a5534c4a7aac8bfc374381c6f4e4dc7beae50d | [
"MIT"
] | null | null | null | # -BDT-Course | 13 | 13 | 0.692308 | eng_Latn | 0.257856 |
98a38db1f4d491a00b79345bd63964b030fabe19 | 1,720 | md | Markdown | programme/number-to-string/README.md | PA11TEDDU/codinasion | fb219de606050e6a15a0d341abfe970805a0f3b6 | [
"MIT"
] | 1 | 2022-03-09T13:44:20.000Z | 2022-03-09T13:44:20.000Z | programme/number-to-string/README.md | dalakatt/codinasion | f8d8cd6d6c130e7cf9b8405f6b6441aa8c8dd2c3 | [
"MIT"
] | 1 | 2022-03-12T08:55:47.000Z | 2022-03-12T08:55:47.000Z | programme/number-to-string/README.md | dalakatt/codinasion | f8d8cd6d6c130e7cf9b8405f6b6441aa8c8dd2c3 | [
"MIT"
] | null | null | null | ## Write a program to convert number to strings.
```
Input: 51
Output: five one
```
---
<CodeBlock slots="heading, code" repeat="2" languages="Python, C" />
#### Python
```python
# num to str function
def tostring(n):
arr = ['zero ', 'one ', 'two ', 'three ', 'four ',
'five ', 'six ', 'seven ', 'eight ', 'nine ']
ans = ""
if(n == 0):
return arr[n]
while(n):
ans = arr[n % 10] + ans
n = int(n/10)
return ans
# test
print(tostring(24578676000))
```
#### C
```c
// Write a c program to convert number to strings.
#include <stdio.h>
#include <math.h>
int main()
{
int n, num = 0, digits;
printf("Enter any number to print in words: ");
scanf("%d", &n);
digits = (int)log10(n);
while (n != 0)
{
num = (num * 10) + (n % 10);
n /= 10;
}
digits = digits - ((int)log10(num));
while (num != 0)
{
switch (num % 10)
{
case 0:
printf("Zero ");
break;
case 1:
printf("One ");
break;
case 2:
printf("Two ");
break;
case 3:
printf("Three ");
break;
case 4:
printf("Four ");
break;
case 5:
printf("Five ");
break;
case 6:
printf("Six ");
break;
case 7:
printf("Seven ");
break;
case 8:
printf("Eight ");
break;
case 9:
printf("Nine ");
break;
}
num /= 10;
}
while (digits)
{
printf("Zero ");
digits--;
}
return 0;
}
```
| 17.029703 | 68 | 0.413953 | eng_Latn | 0.651117 |
98a38e2955b803330c7000107af1e1de6cf9fd6b | 1,510 | md | Markdown | docs/software-ZooKeeper/index.md | dengking/Parallel-computing | c028c5adafb9af2a793afc3af1c20152cf85f676 | [
"Apache-2.0"
] | 1 | 2021-06-03T08:24:29.000Z | 2021-06-03T08:24:29.000Z | docs/software-ZooKeeper/index.md | dengking/Parallel-computing | c028c5adafb9af2a793afc3af1c20152cf85f676 | [
"Apache-2.0"
] | null | null | null | docs/software-ZooKeeper/index.md | dengking/Parallel-computing | c028c5adafb9af2a793afc3af1c20152cf85f676 | [
"Apache-2.0"
] | null | null | null | # Apache ZooKeeper
ZooKeeper的关键字是"coordination",即"协调"。
## 官网 [Apache ZooKeeper](http://zookeeper.apache.org/)
### Doc
[ZooKeeper: A Distributed Coordination Service for Distributed Applications](http://zookeeper.apache.org/doc/r3.6.0/zookeeperOver.html#ch_DesignOverview)
## wikipedia [Apache ZooKeeper#Use cases](https://en.wikipedia.org/wiki/Apache_ZooKeeper#Use_cases)
Typical use cases for ZooKeeper are:
1) [Naming service](https://en.wikipedia.org/wiki/Name_service)
2) [Configuration management](https://en.wikipedia.org/wiki/Configuration_management)
3) [Data Synchronization](https://en.wikipedia.org/wiki/Synchronization_(computer_science))
4) [Leader election](https://en.wikipedia.org/wiki/Leader_election)
5) [Message queue](https://en.wikipedia.org/wiki/Message_queue)
6) [Notification system](https://en.wikipedia.org/wiki/Notification_system)
## Q&A
zookeeper主备切换。
一个zookeeper process需要侦听三个端口?
|||
| -------------------------- | ------------------------------------------------------------ |
| `server.id=host:port1:port2` | 其中id为一个数字,表示zk进程的id,这个id也是dataDir目录下myid文件的内容。 host是该zk进程所在机器的IP地址,port1表示follower和leader交换消息所使用的端口,port2表示选举leader所使用的端口。 |
| `dataDir` | 其配置的含义跟单机模式下的含义类似,不同的是集群模式下还有一个myid文件。myid文件的内容只有一行,且内容只能为1 - 255之间的数字,这个数字亦即上面介绍server.id中的id,表示zk进程的id。 |
| `Clientport` | 是指外部客户端连接的端口; |
leader 和 follower 的角色如何进行指定?
与redis不同的是,zookeeper中,leader是由选举产生的,而不是由用户直接进行指定。
| 22.878788 | 159 | 0.698013 | yue_Hant | 0.42073 |
98a3a4fad8fc5814ab5d9830e762e170c7147b59 | 1,062 | md | Markdown | TaggingKitSandcastle/Documentation/e75ac471-c4db-87d5-d7a5-7782e6976578.md | WetHat/OnenoteTaggingK | 6708e627f567e212b3a4094be7c8c9fd53fae0be | [
"MS-PL"
] | 145 | 2017-07-20T14:54:18.000Z | 2022-03-28T00:52:28.000Z | TaggingKitSandcastle/Documentation/e75ac471-c4db-87d5-d7a5-7782e6976578.md | WetHat/OnenoteTaggingK | 6708e627f567e212b3a4094be7c8c9fd53fae0be | [
"MS-PL"
] | 53 | 2017-07-30T10:10:51.000Z | 2022-03-28T12:02:41.000Z | TaggingKitSandcastle/Documentation/e75ac471-c4db-87d5-d7a5-7782e6976578.md | WetHat/OnenoteTaggingK | 6708e627f567e212b3a4094be7c8c9fd53fae0be | [
"MS-PL"
] | 15 | 2017-11-05T02:32:40.000Z | 2022-03-24T16:00:26.000Z | # HitHighlightedPageLinkKey Constructor
_**\[This is preliminary documentation and is subject to change.\]**_
Initializes a new instance of the <a href="43d8cc25-fcd9-1dfc-5430-924b77a33b44.md">HitHighlightedPageLinkKey</a> class
**Namespace:** <a href="0e3a8efd-07d2-1709-b1cd-709153222081.md">WetHatLab.OneNote.TaggingKit.find</a><br />**Assembly:** OneNoteTaggingKit (in OneNoteTaggingKit.dll) Version: 3.8.7617.35763
## Syntax
**C#**<br />
``` C#
internal HitHighlightedPageLinkKey(
string pageTitle,
string pageId
)
```
#### Parameters
<dl><dt>pageTitle</dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">System.String</a><br /></dd><dt>pageId</dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">System.String</a><br /></dd></dl>
## See Also
#### Reference
<a href="43d8cc25-fcd9-1dfc-5430-924b77a33b44.md">HitHighlightedPageLinkKey Class</a><br /><a href="0e3a8efd-07d2-1709-b1cd-709153222081.md">WetHatLab.OneNote.TaggingKit.find Namespace</a><br /> | 40.846154 | 276 | 0.734463 | yue_Hant | 0.561438 |
98a3e6171a6fd6a9c0fec1f5b266b91ea34f56b6 | 2,322 | md | Markdown | docs/docs/references.md | harkle/ecal-web.github.io | 3d77fe87c4ef570d7a6ef95c8ef547a10993e6de | [
"MIT"
] | null | null | null | docs/docs/references.md | harkle/ecal-web.github.io | 3d77fe87c4ef570d7a6ef95c8ef547a10993e6de | [
"MIT"
] | 7 | 2020-09-13T08:24:23.000Z | 2021-05-09T18:29:36.000Z | docs/docs/references.md | harkle/ecal-web | 3d77fe87c4ef570d7a6ef95c8ef547a10993e6de | [
"MIT"
] | null | null | null | ---
id: references
title: Références
sidebar_label: Références
---
Le présent document a été conçu par Lionel Tardy pour le cours *Interaction design* du module *Compétences transversales I* enseigné aux étudiant·e·s de première année bachelor à l'École Cantonale d'Art de Lausanne. Il compile des information de différentes sources et se base, entre autre, sur le travail de Romain Cazier, Marc Dubois et Amaury Hamon réalisé pour ce même cours.
## Liens utiles
**W3 Schools**, tutoriels HTML, CSS, JavaScript<br/>
https://www.w3schools.com/
**Code Academy**, tutoriels HTML, CSS, JavaScript<br/>
https://www.codecademy.com/
**Can I use**, qu'est-il possible de faire sur quel navigateur?<br/>
https://caniuse.com/
**Material Design**, charte graphique Google Material Design<br/>
https://material.io/
## Bibliographie
**Long live the scroll**, ECAL, consulté en février 2020<br/>
http://ecal-mid.ch/resources/html-css-js/
**Apprendre le HTML: guides et didacticiels**, *Fondation Mozilla*, consulté en février 2020<br/>
https://developer.mozilla.org/fr/docs/Apprendre/HTML/Balises_HTML
**Hypertext Markup Language**, *Wikipedia*, consulté en février 2020<br/>
https://fr.wikipedia.org/wiki/Hypertext_Markup_Language
## License
```text
MIT License
Copyright (c) 2020 Lionel Tardy
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.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 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.
```
| 39.355932 | 379 | 0.777778 | yue_Hant | 0.493477 |
98a3fb1a02c8c5d0751b5f0aeceb10a35ed23feb | 1,449 | md | Markdown | openshift/3.11/templates/resources/README.md | FuriousLlama/PSP | dd5d6156980235957498b458c7ba8003c398d53e | [
"Apache-2.0"
] | 20 | 2020-02-03T23:46:56.000Z | 2022-03-30T22:01:36.000Z | openshift/3.11/templates/resources/README.md | FuriousLlama/PSP | dd5d6156980235957498b458c7ba8003c398d53e | [
"Apache-2.0"
] | 1,042 | 2021-01-12T21:17:18.000Z | 2022-03-31T23:13:17.000Z | openshift/3.11/templates/resources/README.md | FuriousLlama/PSP | dd5d6156980235957498b458c7ba8003c398d53e | [
"Apache-2.0"
] | 26 | 2020-01-08T00:02:24.000Z | 2022-01-18T22:53:44.000Z | # OpenShift Resources
OpenShift has a collection of objects called **Resources**, this includes things like templates, secrets, configMaps and more.
All resources have been included in the appropriate configuration templates, however they have also been duplicated here for quick configuration changes.
## Secret Management in OpenShift
In order to keep private keys and other sensitive information out of source control, this project uses **secrets**.
Within OpenShift Container Platform, **secrets** provide a mechanism to hold sensitive information such as passwords, sensitive configuration files, private source repository credentials, and so on. To learn more about OpenShift secrets, click [here](https://docs.openshift.com/container-platform/3.11/dev_guide/secrets.html#secrets-examples).
## Configuration
When using the resources within OpenShift create `.env` files for each resource template to set the appropriate parameter values.
This will output all the parameters for the resource, so that you can create an appropriate `.env` file.
```bash
oc process -f [resource file name.yaml] --parameters
```
Now create the resource in OpenShift.
```bash
oc process -f [resource file name.yaml] --param-file=[param file name.env] | oc create --save-config=true -f -
# or if you want to replace the existing resources
oc process -f [resource file name.yaml] --param-file=[param file name.env] | oc replace --save-config=true -f -
```
| 48.3 | 343 | 0.779848 | eng_Latn | 0.98541 |
98a484d5d5b037c7be4e70393563382b53643301 | 41 | md | Markdown | README.md | laurentpicardLP2/fitness8080 | 0b857cbcd47d271868828f0768c8c9be73764e4c | [
"MIT"
] | null | null | null | README.md | laurentpicardLP2/fitness8080 | 0b857cbcd47d271868828f0768c8c9be73764e4c | [
"MIT"
] | null | null | null | README.md | laurentpicardLP2/fitness8080 | 0b857cbcd47d271868828f0768c8c9be73764e4c | [
"MIT"
] | null | null | null | # fitness8080
Backend of fitness project
| 13.666667 | 26 | 0.829268 | eng_Latn | 0.982166 |
98a53d29cfc1d68a62c84d537bca92bcf001fee6 | 705 | md | Markdown | README.md | one23four56/quadratic-x-intercept-finder | 8b4edb3d1ccec57e8719c1410800d6d6d3343e6d | [
"MIT"
] | null | null | null | README.md | one23four56/quadratic-x-intercept-finder | 8b4edb3d1ccec57e8719c1410800d6d6d3343e6d | [
"MIT"
] | null | null | null | README.md | one23four56/quadratic-x-intercept-finder | 8b4edb3d1ccec57e8719c1410800d6d6d3343e6d | [
"MIT"
] | 1 | 2021-04-30T16:15:41.000Z | 2021-04-30T16:15:41.000Z | # quadratic-x-intercept-finder
A single page app that finds x-intercepts of quadratic equations using the quadratic formula.
The calculations are done using raw JavaScript and the rendering of the math is done with MathJax (with the math itself written in LaTeX).
This is designed to be all in a single HTML file so it is easy to transport. You can find the merged & minified version in the assets under the latest release, or you could clone the repo and minify it yourself.


| 70.5 | 211 | 0.801418 | eng_Latn | 0.986715 |
98a5d5e452dc7412ba40d06b3da2c71b7aa9ad98 | 1,919 | md | Markdown | v2.1/reference/sql/statements/insert.md | IzabelWang/docs | 120df3cc4b4b4d4a0fac9591dc5065b38f93c3cc | [
"Apache-2.0"
] | null | null | null | v2.1/reference/sql/statements/insert.md | IzabelWang/docs | 120df3cc4b4b4d4a0fac9591dc5065b38f93c3cc | [
"Apache-2.0"
] | null | null | null | v2.1/reference/sql/statements/insert.md | IzabelWang/docs | 120df3cc4b4b4d4a0fac9591dc5065b38f93c3cc | [
"Apache-2.0"
] | null | null | null | ---
title: INSERT | TiDB SQL Statement Reference
summary: An overview of the usage of INSERT for the TiDB database.
category: reference
---
# INSERT
This statement inserts new rows into a table.
## Synopsis
**InsertIntoStmt:**

**PriorityOpt:**

**IgnoreOptional:**

**IntoOpt:**

**TableName:**

**InsertValues:**

## Examples
```sql
mysql> CREATE TABLE t1 (a int);
Query OK, 0 rows affected (0.11 sec)
mysql> CREATE TABLE t2 LIKE t1;
Query OK, 0 rows affected (0.11 sec)
mysql> INSERT INTO t1 VALUES (1);
Query OK, 1 row affected (0.02 sec)
mysql> INSERT INTO t1 (a) VALUES (1);
Query OK, 1 row affected (0.01 sec)
mysql> INSERT INTO t2 SELECT * FROM t1;
Query OK, 2 rows affected (0.01 sec)
Records: 2 Duplicates: 0 Warnings: 0
mysql> SELECT * FROM t1;
+------+
| a |
+------+
| 1 |
| 1 |
+------+
2 rows in set (0.00 sec)
mysql> SELECT * FROM t2;
+------+
| a |
+------+
| 1 |
| 1 |
+------+
2 rows in set (0.00 sec)
mysql> INSERT INTO t2 VALUES (2),(3),(4);
Query OK, 3 rows affected (0.02 sec)
Records: 3 Duplicates: 0 Warnings: 0
mysql> SELECT * FROM t2;
+------+
| a |
+------+
| 1 |
| 1 |
| 2 |
| 3 |
| 4 |
+------+
5 rows in set (0.00 sec)
```
## MySQL compatibility
This statement is understood to be fully compatible with MySQL. Any compatibility differences should be [reported via an issue](/report-issue.md) on GitHub.
## See also
* [DELETE](/reference/sql/statements/delete.md)
* [SELECT](/reference/sql/statements/select.md)
* [UPDATE](/reference/sql/statements/update.md)
* [REPLACE](/reference/sql/statements/replace.md)
| 18.813725 | 156 | 0.649297 | yue_Hant | 0.444481 |
98a69a2452ee3f1225e1207c1d02cc74f2da2709 | 1,258 | md | Markdown | api/ux-guidelines/walkthroughs.md | SyfiMeal/vscode-docs | 40f4f497a5954bb5b61c9412d36f381a605336e4 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | api/ux-guidelines/walkthroughs.md | SyfiMeal/vscode-docs | 40f4f497a5954bb5b61c9412d36f381a605336e4 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | api/ux-guidelines/walkthroughs.md | SyfiMeal/vscode-docs | 40f4f497a5954bb5b61c9412d36f381a605336e4 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | ---
# DO NOT TOUCH — Managed by doc writer
ContentId: e8e157c4-ac6e-4278-9994-953212a1bb88
DateApproved: 6/9/2022
# Summarize the whole topic in less than 300 characters for SEO purpose
MetaDescription: UX guidelines for walkthroughs in a Visual Studio Code extension.
---
# Walkthroughs
Walkthroughs provide a consistent experience for onboarding users to an extension via a multi-step checklist featuring rich content.
**✔️ Do**
- Use helpful images to add context to the current Walkthrough step.
- Make sure images work across different color themes. Use SVGs with VS Code's [Theme Colors](/api/references/theme-color) if possible.
- Provide actions (for example, View all Commands) for each step. Use verbs where possible.
❌ Don't
- Add an excessive number of steps in a single walkthrough
- Add multiple walkthroughs unless absolutely necessary

## Links
- [Walkthroughs Contribution Point](/api/references/contribution-points#contributes.walkthroughs)
- [SVG with Theme Color CSS Variable Example](https://github.com/microsoft/vscode/blob/a28eab68734e629c61590fae8c4b231c91f0eaaa/src/vs/workbench/contrib/welcomeGettingStarted/common/media/commandPalette.svg?short_path=52f2d6f#L11)
| 40.580645 | 230 | 0.800477 | eng_Latn | 0.930981 |
98a6fec26891d08eff6cde9b7d91bef18bd69ccc | 638 | md | Markdown | README.md | OuroborosD/Financas-pessoais-v1 | 2d0457518302408a500fab3e1adc65e1d21e732d | [
"MIT"
] | null | null | null | README.md | OuroborosD/Financas-pessoais-v1 | 2d0457518302408a500fab3e1adc65e1d21e732d | [
"MIT"
] | null | null | null | README.md | OuroborosD/Financas-pessoais-v1 | 2d0457518302408a500fab3e1adc65e1d21e732d | [
"MIT"
] | null | null | null | # Financas-pessoais-v1
### APP for studies and necessity
it began with a necessity in keep track and control my finances. with this project I hope learn more about the basic stack of the web.
### Stack
HTML, CSS, JS

## Task List
- [x] Create HTML pages
- [x] Make the site responsive
- [ ] Integrate JS with the HTML pages
- [ ] Make the data be keep in LOCALSTORAGE
- [ ] Create a CRUD
- [ ] Create Grafics for ins and out of cash
- [ ] Crate a page for report, daily, weekly and monthly
- [ ] Generates report in pdf.
| 33.578947 | 137 | 0.716301 | eng_Latn | 0.923331 |
98a9582a166c10e1017c0773396379008f91512e | 1,123 | md | Markdown | api/Excel.TextEffectFormat.PresetShape.md | ahkon/VBA-Docs | c047d7975de2b0949b496af150d279c505a8595b | [
"CC-BY-4.0",
"MIT"
] | 4 | 2019-09-07T04:44:48.000Z | 2021-12-16T15:05:50.000Z | api/Excel.TextEffectFormat.PresetShape.md | ahkon/VBA-Docs | c047d7975de2b0949b496af150d279c505a8595b | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-06-13T09:32:15.000Z | 2021-06-13T09:32:15.000Z | api/Excel.TextEffectFormat.PresetShape.md | ahkon/VBA-Docs | c047d7975de2b0949b496af150d279c505a8595b | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-11-04T17:16:31.000Z | 2021-11-04T17:16:31.000Z | ---
title: TextEffectFormat.PresetShape property (Excel)
keywords: vbaxl10.chm118009
f1_keywords:
- vbaxl10.chm118009
ms.prod: excel
api_name:
- Excel.TextEffectFormat.PresetShape
ms.assetid: d85bcdf6-0ad4-4a3d-ed3a-40a96a4b63a0
ms.date: 05/17/2019
localization_priority: Normal
---
# TextEffectFormat.PresetShape property (Excel)
Returns or sets the shape of the specified WordArt. Read/write **[MsoPresetTextEffectShape](office.msopresettexteffectshape.md)**.
## Syntax
_expression_.**PresetShape**
_expression_ A variable that represents a **[TextEffectFormat](Excel.TextEffectFormat.md)** object.
## Remarks
Setting the **[PresetTextEffect](Excel.TextEffectFormat.PresetTextEffect.md)** property automatically sets the **PresetShape** property.
## Example
This example sets the shape of all WordArt on _myDocument_ to a chevron whose center points down.
```vb
Set myDocument = Worksheets(1)
For Each s In myDocument.Shapes
If s.Type = msoTextEffect Then
s.TextEffect.PresetShape = msoTextEffectShapeChevronDown
End If
Next
```
[!include[Support and feedback](~/includes/feedback-boilerplate.md)] | 24.413043 | 136 | 0.785396 | yue_Hant | 0.52463 |
98a9a2212fe268f061e1da0cc4ef0bc43be5e1a6 | 6,572 | md | Markdown | doc/articles/custom-installers.md | jakoch/composer | 8cfd48c479f4f8f059afb8f7e9f4af21362907fd | [
"MIT"
] | 3 | 2015-04-24T01:15:10.000Z | 2021-11-17T10:32:21.000Z | doc/articles/custom-installers.md | harunpehlivan/composer | 7131607ad1d251c790ce566119d647e008972aa5 | [
"MIT"
] | null | null | null | doc/articles/custom-installers.md | harunpehlivan/composer | 7131607ad1d251c790ce566119d647e008972aa5 | [
"MIT"
] | 2 | 2020-11-04T08:26:46.000Z | 2020-11-06T07:38:14.000Z | <!--
tagline: Modify the way certain types of packages are installed
-->
# Setting up and using custom installers
## Synopsis
At times it may be necessary for a package to require additional actions during
installation, such as installing packages outside of the default `vendor`
library.
In these cases you could consider creating a Custom Installer to handle your
specific logic.
## Calling a Custom Installer
Suppose that your project already has a Custom Installer for specific modules
then invoking that installer is a matter of defining the correct [type][1] in
your package file.
> _See the next chapter for an instruction how to create Custom Installers._
Every Custom Installer defines which [type][1] string it will recognize. Once
recognized it will completely override the default installer and only apply its
own logic.
An example use-case would be:
> phpDocumentor features Templates that need to be installed outside of the
> default /vendor folder structure. As such they have chosen to adopt the
> `phpdocumentor-template` [type][1] and create a plugin providing the Custom
> Installer to send these templates to the correct folder.
An example composer.json of such a template package would be:
```json
{
"name": "phpdocumentor/template-responsive",
"type": "phpdocumentor-template",
"require": {
"phpdocumentor/template-installer-plugin": "*"
}
}
```
> **IMPORTANT**: to make sure that the template installer is present at the
> time the template package is installed, template packages should require
> the plugin package.
## Creating an Installer
A Custom Installer is defined as a class that implements the
[`Composer\Installer\InstallerInterface`][3] and is usually distributed in a
Composer Plugin.
A basic Installer Plugin would thus compose of three files:
1. the package file: composer.json
2. The Plugin class, e.g.: `My\Project\Composer\Plugin.php`, containing a class that implements `Composer\Plugin\PluginInterface`.
3. The Installer class, e.g.: `My\Project\Composer\Installer.php`, containing a class that implements `Composer\Installer\InstallerInterface`.
### composer.json
The package file is the same as any other package file but with the following
requirements:
1. the [type][1] attribute must be `composer-plugin`.
2. the [extra][2] attribute must contain an element `class` defining the
class name of the plugin (including namespace). If a package contains
multiple plugins this can be array of class names.
Example:
```json
{
"name": "phpdocumentor/template-installer-plugin",
"type": "composer-plugin",
"license": "MIT",
"autoload": {
"psr-0": {"phpDocumentor\\Composer": "src/"}
},
"extra": {
"class": "phpDocumentor\\Composer\\TemplateInstallerPlugin"
},
"require": {
"composer-plugin-api": "1.0.0"
}
}
```
### The Plugin class
The class defining the Composer plugin must implement the
[`Composer\Plugin\PluginInterface`][3]. It can then register the Custom
Installer in its `activate()` method.
The class may be placed in any location and have any name, as long as it is
autoloadable and matches the `extra.class` element in the package definition.
Example:
```php
<?php
namespace phpDocumentor\Composer;
use Composer\Composer;
use Composer\IO\IOInterface;
use Composer\Plugin\PluginInterface;
class TemplateInstallerPlugin implements PluginInterface
{
public function activate(Composer $composer, IOInterface $io)
{
$installer = new TemplateInstaller($io, $composer);
$composer->getInstallationManager()->addInstaller($installer);
}
}
```
### The Custom Installer class
The class that executes the custom installation should implement the
[`Composer\Installer\InstallerInterface`][4] (or extend another installer that
implements that interface). It defines the [type][1] string as it will be
recognized by packages that will use this installer in the `supports()` method.
> **NOTE**: _choose your [type][1] name carefully, it is recommended to follow
> the format: `vendor-type`_. For example: `phpdocumentor-template`.
The InstallerInterface class defines the following methods (please see the
source for the exact signature):
* **supports()**, here you test whether the passed [type][1] matches the name
that you declared for this installer (see the example).
* **isInstalled()**, determines whether a supported package is installed or not.
* **install()**, here you can determine the actions that need to be executed
upon installation.
* **update()**, here you define the behavior that is required when Composer is
invoked with the update argument.
* **uninstall()**, here you can determine the actions that need to be executed
when the package needs to be removed.
* **getInstallPath()**, this method should return the location where the
package is to be installed, _relative from the location of composer.json._
Example:
```php
<?php
namespace phpDocumentor\Composer;
use Composer\Package\PackageInterface;
use Composer\Installer\LibraryInstaller;
class TemplateInstaller extends LibraryInstaller
{
/**
* {@inheritDoc}
*/
public function getPackageBasePath(PackageInterface $package)
{
$prefix = substr($package->getPrettyName(), 0, 23);
if ('phpdocumentor/template-' !== $prefix) {
throw new \InvalidArgumentException(
'Unable to install template, phpdocumentor templates '
.'should always start their package name with '
.'"phpdocumentor/template-"'
);
}
return 'data/templates/'.substr($package->getPrettyName(), 23);
}
/**
* {@inheritDoc}
*/
public function supports($packageType)
{
return 'phpdocumentor-template' === $packageType;
}
}
```
The example demonstrates that it is quite simple to extend the
[`Composer\Installer\LibraryInstaller`][5] class to strip a prefix
(`phpdocumentor/template-`) and use the remaining part to assemble a completely
different installation path.
> _Instead of being installed in `/vendor` any package installed using this
> Installer will be put in the `/data/templates/<stripped name>` folder._
[1]: ../04-schema.md#type
[2]: ../04-schema.md#extra
[3]: https://github.com/composer/composer/blob/master/src/Composer/Plugin/PluginInterface.php
[4]: https://github.com/composer/composer/blob/master/src/Composer/Installer/InstallerInterface.php
[5]: https://github.com/composer/composer/blob/master/src/Composer/Installer/LibraryInstaller.php
| 33.025126 | 142 | 0.732654 | eng_Latn | 0.977347 |
98a9a961c5eed6bf343b72d558fed653983936e4 | 563 | md | Markdown | .github/PULL_REQUEST_TEMPLATE.md | kamesh1106/Member-Submissions | dbb7c833cd1d8574b9185cf6dee5c8fa979a44f8 | [
"MIT"
] | 5 | 2018-08-31T05:52:15.000Z | 2018-09-28T01:28:17.000Z | .github/PULL_REQUEST_TEMPLATE.md | kamesh1106/Member-Submissions | dbb7c833cd1d8574b9185cf6dee5c8fa979a44f8 | [
"MIT"
] | 29 | 2018-08-31T05:30:24.000Z | 2019-09-17T10:41:05.000Z | .github/PULL_REQUEST_TEMPLATE.md | kamesh1106/Member-Submissions | dbb7c833cd1d8574b9185cf6dee5c8fa979a44f8 | [
"MIT"
] | 58 | 2018-07-02T04:46:22.000Z | 2020-02-15T05:03:59.000Z | ### :warning: This is a Pull Request Template :warning:
##### This will help you complete a pull request. Please follow the instructions below. And also,make sure that you're bound to [code of conduct](#)
## Submission Checklist :heavy_check_mark:
- [] I read the instructions to submit this assignment.<br>
- [] I created the submission files inside my folder, ```MY-USERNAME```.<br>
- [] I applied the ```week-number``` and ```submission``` labels. <br>
- [] I've read the Community Guidelines.
- [] I've Updated .gitignore file to ignore unnecessary files.
| 51.181818 | 148 | 0.71048 | eng_Latn | 0.988738 |
98aa2dac04c000a798636029a58bc16d792badd2 | 27 | md | Markdown | README.md | kazh98/runoff | e47de79549ce86923a75ad65caec6ebd590559ab | [
"MIT"
] | null | null | null | README.md | kazh98/runoff | e47de79549ce86923a75ad65caec6ebd590559ab | [
"MIT"
] | null | null | null | README.md | kazh98/runoff | e47de79549ce86923a75ad65caec6ebd590559ab | [
"MIT"
] | null | null | null | # runoff
A subset of nroff
| 9 | 17 | 0.740741 | eng_Latn | 0.98973 |
98aa718f4159b8b6cf2d15c71b7f7def8505343a | 1,721 | md | Markdown | README.md | fraunhoferfokus/mobile-city-memory | 6090050504867aa5a387742100b813b993ddd62c | [
"MIT"
] | 4 | 2015-04-21T19:36:43.000Z | 2016-06-08T11:31:37.000Z | README.md | fraunhoferfokus/mobile-city-memory | 6090050504867aa5a387742100b813b993ddd62c | [
"MIT"
] | null | null | null | README.md | fraunhoferfokus/mobile-city-memory | 6090050504867aa5a387742100b813b993ddd62c | [
"MIT"
] | null | null | null | mobile-city-history
===================
The mobile city memory is a persistent database for historic and contemporary stories and media. Citizens can explore and contribute to it using their smartphone wherever they are.
Features
--------
- Browse through historic photos, videos or sound files.
- Share your personal stories and photos or videos from your favorite spots of the city.
- Explore the history of your city wherever you are.
- Create a personal city memory from ancient times until today.
Contains
--------
This is a standalone django-application that comprises of both frontend and backend stadtgedaechtnis.
Please see the respective repositories for additional information.
```
https://github.com/codeforeurope/stadtgedaechtnis_backend
https://github.com/codeforeurope/stadtgedaechtnis_frontend
```
Requirements
------------
The following software is required to use the mobile city history (the version in brackets indicates the tested version):
- Python 2 (2.7.6 32-bit)
The following python packages are required (the version in brackets indicates the tested version):
- sparqlwrapper
- django (>= 1.6)
- jsonpickle (>= 0.7.0)
- django-apptemplates
- djangorestframework
- schedule
- django-cache-machine (>= 0.8)
Installation
------------
After cloning this repository, you must update the submodules using the following commands:
```
git submodule init
git submodule update
```
Make sure you have Python 2.7 or a later Python 2.x version installed. Then run setup.py install from the console.
Look at the local_settings.template.py and follow the instructions there.
Additional versions
-------------------
This version runs with an SQLite database. See the branches for additional versions. | 33.745098 | 180 | 0.761766 | eng_Latn | 0.994259 |
98aa9b6495dab7a93dfcf50b9ab7bdac77fb06dc | 2,841 | md | Markdown | docs/zh_CN/module/stepmotor.md | felmue/m5-docs | 71c043b3bd66d643cd4c7da1c3df38991eb06e48 | [
"MIT"
] | null | null | null | docs/zh_CN/module/stepmotor.md | felmue/m5-docs | 71c043b3bd66d643cd4c7da1c3df38991eb06e48 | [
"MIT"
] | null | null | null | docs/zh_CN/module/stepmotor.md | felmue/m5-docs | 71c043b3bd66d643cd4c7da1c3df38991eb06e48 | [
"MIT"
] | null | null | null | # Module STEPMOTOR
<el-tag effect="plain">SKU:M012</el-tag>
<div class="product_pic"><img src="assets/img/product_pics/module/module_stepmotor_01.webp"><img src="assets/img/product_pics/module/module_stepmotor_02.webp"></div>
<!-- <img src="assets/img/product_pics/module/module_stepmotor_04.webp" width="30%" height="30%"> -->
## 描述
**STEPMOTOR** 是M5Stack堆叠模块系列中的一款,步进电机驱动模块.该模块能够通过 **GRBL** 库同时驱动3个步进电机.因此非常适合应用在运动控制项目.
模块内置MEGA328P,并且搭载**GRBL**固件,通过I2C(0x70)与M5Core通信.
集成 3 片由 DRV8825 芯片组成的步进电机驱动板,一个简单但非常强大的电路板,可以控制一个双极步进电机,并允许微步进高达1/32步。
## 产品特性
- 电源输入:9-24V
- 控制3路步进电机 **(X, Y, Z)**
## 包含
- 1x Step Motor 模块
- 1x 12V 电源 (选配)
- 1x 5V FAN 模块,用于散热 (选配)
## 应用
- DIY 3D 打印机
- 搭建机械臂
## 规格参数
<table>
<tr style="font-weight:bold">
<td>规格</td>
<td>参数</td>
</tr>
<tr>
<td>净重</td>
<td>24g</td>
</tr>
<tr>
<td>毛重</td>
<td>34g</td>
</tr>
<tr>
<td>产品尺寸</td>
<td>54.2*54.2*12.8mm</td>
</tr>
<tr>
<td>包装尺寸</td>
<td>60*57*17mm</td>
</tr>
</table>
## 相关链接
- **[STEPMOTOR 固件](https://github.com/m5stack/stepmotor_module/tree/master/Firmware%20for%20stepmotor%20module/GRBL-Arduino-Library)**
- **[DRV8825 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/DRV8825_en.pdf)**
## EasyLoader
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.webp" width="100px" style="margin-top:20px">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Module/EasyLoader_STEPMOTOR.exe"><el-button type="primary">点击下载EasyLoader</el-button></a>
>1.EasyLoader是一个简洁快速的程序烧录器,每一个产品页面里的EasyLoader都提供了一个与产品相关的案例程序,通过简单步骤将其烧录至主控,能够进行一系列的功能验证.
>2.下载软件后,双击运行应用程序,将M5设备通过数据线连接至电脑,选择端口参数,点击 **"Burn"** 即可开始烧录
?>3.EasyLoader烧录前需要安装有CP210X(USB驱动程序),[点击此处查看驱动安装教程](zh_CN/related_documents/M5Burner#安装串口驱动)
## 管脚映射
**Mega328 ISP**下载接口Pin脚定义
<img src="assets\img\product_pics\app\mega328_isp.webp" width="30%" height="30%">
## MBUS引脚定义
<img src="assets\img\product_pics\module\module_bus.webp"/>
## 案例程序
### 1. Arduino IDE
[请点击此处下载Arduino示例代码](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/STEPMOTOR)
### 2. UIFlow
想要探索最简单的 Step motor 编程驱动方式吗?快试试Blockly编程平台[UIFlow](flow.m5stack.com).
[请点击此处下载UIFlow示例](https://github.com/m5stack/M5-ProductExampleCodes/blob/master/Module/STEPMOTOR/UIFlow).*
<img src="assets/img/product_pics/module/module_example/STEPMOTOR/example_module_stepmotor_01.webp">
## 原理图
<img src="assets/img/product_pics/module/stepmotor_sch.webp">
<script>
var purchase_link = 'https://m5stack.com/collections/m5-module/products/step-motor-module-adapter-fan-module';
anchor_search(purchase_link);
scrollFunc();
</script> | 25.366071 | 166 | 0.682506 | yue_Hant | 0.48574 |
98aacc6b729c875e5b9f96af6c937264bf1a68d7 | 17,960 | md | Markdown | articles/active-directory/develop/quickstart-v2-javascript.md | jmartens/azure-docs.nl-nl-1 | a38978ea36c628c203be597133a734cf250f0065 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/active-directory/develop/quickstart-v2-javascript.md | jmartens/azure-docs.nl-nl-1 | a38978ea36c628c203be597133a734cf250f0065 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/active-directory/develop/quickstart-v2-javascript.md | jmartens/azure-docs.nl-nl-1 | a38978ea36c628c203be597133a734cf250f0065 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: 'Snelstart: Gebruikers aanmelden in JavaScript-apps met één pagina | Azure'
titleSuffix: Microsoft identity platform
description: In deze quickstart vindt u meer informatie over hoe u met een JavaScript-app een API kunt aanroepen waarvoor toegangstokens zijn vereist die zijn verstrekt door het Microsoft-identiteitsplatform.
services: active-directory
author: navyasric
manager: CelesteDG
ms.service: active-directory
ms.subservice: develop
ms.topic: quickstart
ms.workload: identity
ms.date: 04/11/2019
ms.author: nacanuma
ms.custom: aaddev, identityplatformtop40, scenarios:getting-started, languages:JavaScript, devx-track-js
ms.openlocfilehash: 1d6f04b0d6dec06954c594434ac7a9db62f0c89e
ms.sourcegitcommit: d6e92295e1f161a547da33999ad66c94cf334563
ms.translationtype: HT
ms.contentlocale: nl-NL
ms.lasthandoff: 12/07/2020
ms.locfileid: "96762785"
---
# <a name="quickstart-sign-in-users-and-get-an-access-token-in-a-javascript-spa"></a>Quickstart: Gebruikers aanmelden en een toegangstoken verkrijgen in een JavaScript SPA
In deze quickstart downloadt u een codevoorbeeld en voert u dit uit. Het codevoorbeeld laat zien hoe gebruikers kunnen worden aangemeld en de Microsoft Graph API kan worden aangeroepen met een SPA-toepassing (JavaScript-toepassing met één pagina). Het codevoorbeeld laat ook zien hoe u een toegangstoken kunt krijgen om de Microsoft Graph API of willekeurige web-API aan te roepen.
Zie [Hoe het voorbeeld werkt](#how-the-sample-works) voor een illustratie.
## <a name="prerequisites"></a>Vereisten
* Een Azure-account met een actief abonnement. [Gratis een account maken](https://azure.microsoft.com/free/?WT.mc_id=A261C142F)
* [Node.js](https://nodejs.org/en/download/)
* [Visual Studio Code](https://code.visualstudio.com/download) (om projectbestanden te bewerken)
> [!div renderon="docs"]
> ## <a name="register-and-download-your-quickstart-application"></a>De quickstart-toepassing registreren en downloaden
> Gebruik een van de volgende opties om uw quickstart-app te starten.
>
> ### <a name="option-1-express-register-and-auto-configure-your-app-and-then-download-your-code-sample"></a>Optie 1 (Express): registreer de toepassing en laat deze automatisch configureren. Download vervolgens het codevoorbeeld
>
> 1. Meld u aan bij de [Azure-portal](https://portal.azure.com) met een werk- of schoolaccount of een persoonlijk Microsoft-account.
> 1. Als u via uw account toegang hebt tot meerdere tenants, selecteert u het account in de rechterbovenhoek en stelt u de portalsessie in op de Azure Active Directory-tenant die u wilt gebruiken.
> 1. Ga naar de nieuwe [Azure-portal - App-registraties](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade/quickStartType/JavascriptSpaQuickstartPage/sourceType/docs).
> 1. Voer een naam in voor de toepassing.
> 1. Selecteer onder **Ondersteunde accounttypen** de optie **Accounts in een organisatieadreslijst en persoonlijke Microsoft-account**.
> 1. Selecteer **Registreren**.
> 1. Volg de instructies om de nieuwe toepassing te downloaden en automatisch te configureren.
>
> ### <a name="option-2-manual-register-and-manually-configure-your-application-and-code-sample"></a>Optie 2 (handmatig): registreer de toepassing en configureer handmatig de toepassing en het codevoorbeeld
>
> #### <a name="step-1-register-your-application"></a>Stap 1: Uw toepassing registreren
>
> 1. Meld u aan bij de [Azure-portal](https://portal.azure.com).
> 1. Als u toegang hebt tot meerdere tenants, gebruikt u het filter **Directory + abonnement** :::image type="icon" source="./media/common/portal-directory-subscription-filter.png" border="false"::: in het bovenste menu om de tenant te selecteren waarin u een toepassing wilt registreren.
> 1. Zoek en selecteer de optie **Azure Active Directory**.
> 1. Selecteer onder **Beheren** de optie **App-registraties** > **Nieuwe registratie**.
> 1. Voer een **Naam** in voor de toepassing. Gebruikers van uw app kunnen de naam zien. U kunt deze later wijzigen.
> 1. Selecteer onder **Ondersteunde accounttypen** de optie **Accounts in een organisatieadreslijst en persoonlijke Microsoft-account**.
> 1. Selecteer **Registreren**. Noteer de waarde **Toepassings-id (client)** op de app-pagina **Overzicht** voor later gebruik.
> 1. Voor deze quickstart moet de [Impliciete toekenningsstroom](v2-oauth2-implicit-grant-flow.md) zijn ingeschakeld. Selecteer in het linkerdeelvenster van de geregistreerde toepassing de optie **Verificatie**.
> 1. Selecteer **Een platform toevoegen** onder **Platformconfiguraties**. Er opent een venster aan de linkerkant. Selecteer daar de regio **Webtoepassingen**.
> 1. Stel links de waarde van **Omleidings-URI** in op `http://localhost:3000/`. Selecteer vervolgens **Toegangstoken** en **Id-token**.
> 1. Selecteer **Configureren**.
> [!div class="sxs-lookup" renderon="portal"]
> #### <a name="step-1-configure-your-application-in-the-azure-portal"></a>Stap 1: uw toepassing configureren in Azure Portal
> U moet een `redirectUri` als `http://localhost:3000/` toevoegen en **Impliciete toekenning** inschakelen voor een juiste werking van het codevoorbeeld uit deze quickstart.
> > [!div renderon="portal" id="makechanges" class="nextstepaction"]
> > [Breng deze wijzigingen voor mij aan]()
>
> > [!div id="appconfigured" class="alert alert-info"]
> >  Uw toepassing is al geconfigureerd met deze kenmerken.
#### <a name="step-2-download-the-project"></a>Stap 2: Het project downloaden
> [!div renderon="docs"]
> Als u het project wilt uitvoeren met een webserver met behulp van Node.js, [downloadt u de kernprojectbestanden](https://github.com/Azure-Samples/active-directory-javascript-graphapi-v2/archive/quickstart.zip).
> [!div renderon="portal" class="sxs-lookup"]
> Het project uitvoeren met een webserver met behulp van Node.js
> [!div renderon="portal" id="autoupdate" class="sxs-lookup nextstepaction"]
> [Het codevoorbeeld downloaden](https://github.com/Azure-Samples/active-directory-javascript-graphapi-v2/archive/quickstart.zip)
> [!div renderon="docs"]
> #### <a name="step-3-configure-your-javascript-app"></a>Stap 3: Configureer de JavaScript-app
>
> Bewerk *authConfig.js* en stel de waarden `clientID`, `authority` en `redirectUri` in onder `msalConfig` in de map *JavaScriptSPA*.
>
> ```javascript
>
> // Config object to be passed to Msal on creation
> const msalConfig = {
> auth: {
> clientId: "Enter_the_Application_Id_Here",
> authority: "Enter_the_Cloud_Instance_Id_Here/Enter_the_Tenant_Info_Here",
> redirectUri: "Enter_the_Redirect_Uri_Here",
> },
> cache: {
> cacheLocation: "sessionStorage", // This configures where your cache will be stored
> storeAuthStateInCookie: false, // Set this to "true" if you are having issues on IE11 or Edge
> }
> };
>
>```
> [!div class="sxs-lookup" renderon="portal"]
> > [!NOTE]
> > `Enter_the_Supported_Account_Info_Here`
> [!div renderon="docs"]
>
> Waar:
> - *\<Enter_the_Application_Id_Here>* is de **Toepassings-id (client-id)** voor de toepassing die u hebt geregistreerd.
> - *\<Enter_the_Cloud_Instance_Id_Here>* is de instantie van de Azure-cloud. Voer *https://login.microsoftonline.com* in voor de hoofd- (of globale) Azure-cloud. Zie [Nationale clouds](./authentication-national-cloud.md) voor **nationale** clouds (bijvoorbeeld China).
> - *\<Enter_the_Tenant_info_here>* is ingesteld op een van de volgende opties:
> - Als uw toepassing *accounts in deze organisatiemap* ondersteunt, vervangt u deze waarde door de **tenant-id** of **tenantnaam** (bijvoorbeeld *contoso.microsoft.com*).
> - Als uw toepassing *accounts in elke organisatiemap* ondersteunt, vervang deze waarde dan door **organisaties**.
> - Als uw toepassing *accounts in elke organisatiemap en persoonlijke Microsoft-accounts* ondersteunt, vervang deze waarde dan door **algemeen**. Als u de ondersteuning wilt beperken tot *alleen persoonlijke Microsoft-accounts*, vervang deze waarde dan door **consumenten**.
>
> > [!TIP]
> > Om de waarden van **Toepassings-id (client-id)** , **Map-id (tenant-id)** en **Ondersteunde accounttypen** te achterhalen, gaat u naar de **Overzichtspagina** van de app in de Azure-portal.
>
> [!div class="sxs-lookup" renderon="portal"]
> #### <a name="step-3-your-app-is-configured-and-ready-to-run"></a>Stap 3: Uw app is geconfigureerd en klaar om te worden uitgevoerd
> Uw project is geconfigureerd met waarden van de eigenschappen van uw app.
> [!div renderon="docs"]
>
> Bewerk vervolgens in dezelfde map het bestand *graphConfig.js* en om de waarden `graphMeEndpoint` en `graphMeEndpoint` in te stellen voor het object `apiConfig`.
> ```javascript
> // Add here the endpoints for MS Graph API services you would like to use.
> const graphConfig = {
> graphMeEndpoint: "Enter_the_Graph_Endpoint_Here/v1.0/me",
> graphMailEndpoint: "Enter_the_Graph_Endpoint_Here/v1.0/me/messages"
> };
>
> // Add here scopes for access token to be used at MS Graph API endpoints.
> const tokenRequest = {
> scopes: ["Mail.Read"]
> };
> ```
>
> [!div renderon="docs"]
>
> Waar:
> - *\<Enter_the_Graph_Endpoint_Here>* is het eindpunt waarop API-aanroepen worden geplaatst. Voer `https://graph.microsoft.com` in voor de voornaamste of globale Microsoft Graph API-service. Zie [Implementatie van nationale clouds](/graph/deployments) voor meer informatie.
>
> #### <a name="step-4-run-the-project"></a>Stap 4: Het project uitvoeren
Het project uitvoeren met een webserver met behulp van [Node.js](https://nodejs.org/en/download/):
1. Voer de volgende opdracht uit vanuit de projectmap om de server te starten:
```cmd
npm install
npm start
```
1. Open een webbrowser en ga naar `http://localhost:3000/`.
1. Selecteer **Aanmelden** om de aanmelding te starten en roep vervolgens Microsoft Graph API aan.
Nadat de toepassing door de browser is geladen, selecteert u **Aanmelden**. De eerste keer dat u zich aanmeldt, wordt u gevraagd om toestemming te geven zodat de toepassing uw profiel kan openen en u kan aanmelden. Nadat u bent aangemeld, worden de gegevens van uw gebruikersprofiel weergegeven op de pagina.
## <a name="more-information"></a>Meer informatie
### <a name="how-the-sample-works"></a>Hoe het voorbeeld werkt

### <a name="msaljs"></a>msal.js
De MSAL-bibliotheek meldt gebruikers aan en verzoekt dat tokens worden gebruikt voor toegang tot een API die wordt beveiligd door het Microsoft Identity-platform. Het bestand *index.html* van de quickstart bevat een referentie naar de bibliotheek:
```html
<script type="text/javascript" src="https://alcdn.msftauth.net/lib/1.2.1/js/msal.js" integrity="sha384-9TV1245fz+BaI+VvCjMYL0YDMElLBwNS84v3mY57pXNOt6xcUYch2QLImaTahcOP" crossorigin="anonymous"></script>
```
> [!TIP]
> U de voorgaande versie vervangen door de meest recente versie onder [MSAL.js releases](https://github.com/AzureAD/microsoft-authentication-library-for-js/releases).
Als Node.js is geïnstalleerd, kunt u de nieuwste versie downloaden via Node.js Package Manager (npm):
```cmd
npm install msal
```
### <a name="msal-initialization"></a>MSAL initialiseren
De quickstart-code laat ook zien hoe u de MSAL-bibliotheek kunt initialiseren:
```javascript
// Config object to be passed to Msal on creation
const msalConfig = {
auth: {
clientId: "75d84e7a-40bx-f0a2-91b9-0c82d4c556aa", // this is a fake id
authority: "https://login.microsoftonline.com/common",
redirectUri: "http://localhost:3000/",
},
cache: {
cacheLocation: "sessionStorage", // This configures where your cache will be stored
storeAuthStateInCookie: false, // Set this to "true" if you are having issues on IE11 or Edge
}
};
const myMSALObj = new Msal.UserAgentApplication(msalConfig);
```
> |Waar | Beschrijving |
> |---------|---------|
> |`clientId` | De toepassings-id van de toepassing die is geregistreerd in het Azure-portal.|
> |`authority` | (Optioneel) De URL van de instantie die accounttypen ondersteunt zoals eerder beschreven in het configuratiegedeelte. De standaardinstantie is `https://login.microsoftonline.com/common`. |
> |`redirectUri` | De geconfigureerde reply/redirectUri van de toepassingsregistratie. In dit geval, `http://localhost:3000/`. |
> |`cacheLocation` | (Optioneel) Stelt de browseropslag in voor de verificatiestatus. De standaardwaarde is sessionStorage. |
> |`storeAuthStateInCookie` | (Optioneel) De bibliotheek die de status van de verificatie-aanvraag opslaat die nodig is voor de validatie van de verificatiestromen in de browsercookies. Deze cookie is ingesteld voor IE- en Edge-browsers om bepaalde [bekende problemen](https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/Known-issues-on-IE-and-Edge-Browser#issues) te verhelpen. |
Raadpleeg [Clienttoepassingen initialiseren](msal-js-initializing-client-applications.md) voor meer informatie over beschikbare opties die u kunt configureren.
### <a name="sign-in-users"></a>Gebruikers aanmelden
In het volgende codefragment wordt weergegeven hoe u gebruikers kunt aanmelden:
```javascript
// Add scopes for the id token to be used at Microsoft identity platform endpoints.
const loginRequest = {
scopes: ["openid", "profile", "User.Read"],
};
myMSALObj.loginPopup(loginRequest)
.then((loginResponse) => {
//Login Success callback code here
}).catch(function (error) {
console.log(error);
});
```
> |Waar | Beschrijving |
> |---------|---------|
> | `scopes` | (Optioneel) Bevat bereiken die worden aangevraagd voor gebruikerstoestemming tijdens het aanmelden. Bijvoorbeeld, `[ "user.read" ]` voor Microsoft Graph of `[ "<Application ID URL>/scope" ]` voor aangepaste web-API’s (`api://<Application ID>/access_as_user`). |
> [!TIP]
> U kunt er ook voor kiezen om de methode `loginRedirect` te gebruiken om de huidige pagina om te leiden naar de aanmeldingspagina, in plaats van een pop-upvenster.
### <a name="request-tokens"></a>Tokens aanvragen
MSAL gebruikt drie methoden om tokens op te halen: `acquireTokenRedirect`, `acquireTokenPopup` en `acquireTokenSilent`
#### <a name="get-a-user-token-silently"></a>Een gebruikerstoken op de achtergrond ophalen
Met de methode `acquireTokenSilent` wordt het verkrijgen en vernieuwen van tokens verwerkt zonder tussenkomst van de gebruiker. Nadat de methode `loginRedirect` of `loginPopup` de eerste keer is uitgevoerd, wordt voor volgende aanroepen meestal de methode `acquireTokenSilent` gebruikt om tokens te verkrijgen die worden gebruikt voor toegang tot beveiligde resources. Aanroepen voor het aanvragen of vernieuwen van tokens worden op de achtergrond uitgevoerd.
```javascript
const tokenRequest = {
scopes: ["Mail.Read"]
};
myMSALObj.acquireTokenSilent(tokenRequest)
.then((tokenResponse) => {
// Callback code here
console.log(tokenResponse.accessToken);
}).catch((error) => {
console.log(error);
});
```
> |Waar | Beschrijving |
> |---------|---------|
> | `scopes` | Bevat bereiken die worden aangevraagd om te worden geretourneerd in het toegangstoken voor de API. Bijvoorbeeld, `[ "mail.read" ]` voor Microsoft Graph of `[ "<Application ID URL>/scope" ]` voor aangepaste web-API’s (`api://<Application ID>/access_as_user`).|
#### <a name="get-a-user-token-interactively"></a>Een gebruikerstoken interactief ophalen
Er zijn situaties waarin u wilt afdwingen dat gebruikers met het Microsoft-identity platform-eindpunt communiceren. Bijvoorbeeld:
* Gebruikers moeten mogelijk hun referenties opnieuw opgeven omdat het wachtwoord is verlopen.
* De toepassing vraagt toegang tot aanvullende resourcebereiken waarvoor de gebruiker toestemming moet geven.
* Verificatie in twee stappen is vereist.
Het patroon dat gewoonlijk wordt aanbevolen voor de meeste toepassingen: eerst `acquireTokenSilent` aanroepen, vervolgens de uitzondering detecteren, en daarna `acquireTokenPopup` (of `acquireTokenRedirect`) aanroepen om een interactieve aanvraag te starten.
De `acquireTokenPopup` aanroepen opent een pop-upvenster voor aanmelding. (Of `acquireTokenRedirect` leidt gebruikers om naar het eindpunt van het Microsoft-identiteitsplatform.) In dat venster moeten gebruikers hun referenties bevestigen, toestemming geven voor de vereiste resource of verificatie in wee stappen uitvoeren.
```javascript
// Add here scopes for access token to be used at MS Graph API endpoints.
const tokenRequest = {
scopes: ["Mail.Read"]
};
myMSALObj.acquireTokenPopup(requestObj)
.then((tokenResponse) => {
// Callback code here
console.log(tokenResponse.accessToken);
}).catch((error) => {
console.log(error);
});
```
> [!NOTE]
> In deze quickstart wordt gebruikgemaakt van de methoden `loginRedirect` en `acquireTokenRedirect` met Internet Explorer, vanwege een [bekend probleem](https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/Known-issues-on-IE-and-Edge-Browser#issues) dat te maken heeft met het verwerken van pop-upvensters in Internet Explorer.
## <a name="next-steps"></a>Volgende stappen
Voor een gedetailleerde stapsgewijze handleiding voor het bouwen van de toepassing die in deze quickstart, zie:
> [!div class="nextstepaction"]
> [Zelfstudie: Gebruikers aanmelden en de Microsoft Graph API aanroepen vanuit een JavaScript-toepassing met één pagina (SPA)](tutorial-v2-javascript-spa.md)
| 59.078947 | 468 | 0.7549 | nld_Latn | 0.994013 |
98aae83e3a265e02683e86791973fd577fd9f818 | 158 | md | Markdown | README.md | hicsvntdracones/AmateurSpaceExplorationAdvocacyInitiative | 77c78f90a44f78b09183ec7e44a6fc0c4f6ee2a0 | [
"MIT"
] | null | null | null | README.md | hicsvntdracones/AmateurSpaceExplorationAdvocacyInitiative | 77c78f90a44f78b09183ec7e44a6fc0c4f6ee2a0 | [
"MIT"
] | null | null | null | README.md | hicsvntdracones/AmateurSpaceExplorationAdvocacyInitiative | 77c78f90a44f78b09183ec7e44a6fc0c4f6ee2a0 | [
"MIT"
] | null | null | null | # AmateurSpaceExplorationAdvocacyInitiative
Advocacy & Resource Acquisition group focused on generating an Amateur/Hobbyist community of Space Exploreres
| 52.666667 | 113 | 0.873418 | eng_Latn | 0.800338 |
98ab6e88387a449b281f5b0a22d56a14e3b75b46 | 2,792 | md | Markdown | _posts/2014-08-18-ruby-has-class.md | moxdev/the-curious-noob | dc71f475843f98cd58f04dd9a30d506d7d4239e4 | [
"MIT"
] | null | null | null | _posts/2014-08-18-ruby-has-class.md | moxdev/the-curious-noob | dc71f475843f98cd58f04dd9a30d506d7d4239e4 | [
"MIT"
] | null | null | null | _posts/2014-08-18-ruby-has-class.md | moxdev/the-curious-noob | dc71f475843f98cd58f04dd9a30d506d7d4239e4 | [
"MIT"
] | null | null | null | ---
layout: post
title: "Ruby Has Class!"
description: "DBC week 5 tech blog"
modified: 2014-08-18 22:05:40 -0700
tags: [dev bootcamp, web development, DBC, blog, jekyll, shane biggs]
image:
feature: abstract-5.jpg
credit: dargadgetz
creditlink: http://www.dargadgetz.com/ios-7-abstract-wallpaper-pack-for-iphone-5-and-ipod-touch-retina/
comments: true
share: true
---
### Classy Ruby
Today we are going to take a look at creating a Ruby class. Ruby uses class statements which contain methods that work on the object. As your programs gets larger and more complicated Ruby needs classes so that you can have several of the same methods being performed on different objects. When you call the method later Ruby will know exactly which methods you are trying to perform because they have been defined by their class.<
<div class="box" class="links"><img src="/images/week_5/tech_1.png" alt="CSS Box Model"><p></div>
In the image above you can see the beginnings of our very simple Person class we will use to store information about people. This class will need three things for input to be able to create the new person: first_name, last_name, and age. We need to use the initialize method here so we can call these variables later in our program. These are called instance variables and are denoted by using the @ symbol.
<div class="box" class="links"><img src="/images/week_5/tech_2.png" alt="CSS Box Model"><p></div>
We can now use this class statement to create as many new Person's as we like. Let's go through "p1" and take at look at its format. First you give the new object a name (p1 or whatever you like it's up to you) and then call the Person.new class and provide the required information which in this case is their first name, last name , and age.
<div class="box" class="links"><img src="/images/week_5/tech_3.png" alt="CSS Box Model"><p></div>
With the new persons created you can now use the Person class to do many cool things with the information you have stored. We've gone back and added a new method called "person_info" to the class. We can know take the information you have entered for each new person and have Ruby print out a nice little sentence using that information. In this case Ruby should tell us the person's first and last name and their age.
<div class="box" class="links"><img src="/images/week_5/tech_4.png" alt="CSS Box Model"><p></div>
As you can see from the above image, Ruby prints out a nice little sentence about each person. Man Bill Murray is getting up there in years but he's still awesome! This was just a very simple and basic example of what you can do with a Ruby class. You can add as many methods as you like to perform all sorts of creative functions on the objects. Go ahead and give it try! | 79.771429 | 431 | 0.75788 | eng_Latn | 0.999408 |
98ad478f25afeacc790df4cc52d498ca837e96bf | 3,298 | md | Markdown | cs/DeriNet/1.0/README.md | lukyjanek/universal-derivations | b95488df95033269999fa80f04404bc331c87946 | [
"RSA-MD"
] | null | null | null | cs/DeriNet/1.0/README.md | lukyjanek/universal-derivations | b95488df95033269999fa80f04404bc331c87946 | [
"RSA-MD"
] | null | null | null | cs/DeriNet/1.0/README.md | lukyjanek/universal-derivations | b95488df95033269999fa80f04404bc331c87946 | [
"RSA-MD"
] | 2 | 2021-10-01T14:40:14.000Z | 2021-10-03T14:44:31.000Z | # Summary
Universal Derivations version of DeriNet (http://www.ufal.mff.cuni.cz/derinet).
# Introduction
DeriNet is the lexical network that captures core word-formation relations for Czech. The network focuses on derivational relations because derivation is the most frequent and the most productive word-formation process in Czech.
The network was initialized with a set of lexemes whose existence was supported by corpus evidence. Derivational links were created using three sources of information: links delivered by a tool for morphological analysis, links based on an automatically discovered set of derivation rules, and on a grammar-based set of rules.
The data structure (the rooted tree) and format of DeriNet (2.0 and above) have become the standard format used in Universal Derivations.
# Acknowledgments
We wish to thank all the developers and annotators of the DeriNet, including Jonáš Vidra, Zdeněk Žabokrtský, Magda Ševčíková, Adéla Kalužová, Lukáš Kyjánek, Šárka Dohnalová, Vojtěch Hudeček, Milan Straka, and Nikita Mediankin.
## References
As a citation for the resource in articles, please use this:
* Vidra, Jonáš; Žabokrtský, Zdeněk; Kyjánek, Lukáš; Ševčíková, Magda; Dohnalová, Šárka. 2019. DeriNet 2.0. LINDAT/CLARIN digital library at the Institute of Formal and Applied Linguistics (ÚFAL) Faculty of Mathematics and Physics, Charles University. http://hdl.handle.net/11234/1-2995.
```
@MISC{DeriNet,
title = {{DeriNet 2.0}},
author = {Vidra, Jon{\'a}{\v s} and {\v Z}abokrtsk{\'y}, Zden{\v e}k and Kyj{\'a}nek, Luk{\'a}{\v s} and {\v S}ev{\v c}{\'{\i}}kov{\'a}, Magda and Dohnalov{\'a}, {\v S}{\'a}rka},
url = {http://hdl.handle.net/11234/1-2995},
note = {{LINDAT}/{CLARIN} digital library at the Institute of Formal and Applied Linguistics ({{\'U}FAL}), Faculty of Mathematics and Physics, Charles University},
copyright = {Attribution-{NonCommercial}-{ShareAlike} 3.0 Unported ({CC} {BY}-{NC}-{SA} 3.0)},
year = {2019}
}
```
# License
The resource is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License (CC BY-NC-SA 3.0).
License text is available in the file `LICENSE.txt`.
# Changelog
* 2020-05 UDer v1.0
* Without changes.
* 2019-09 UDer v0.5
* Including DeriNet v2.0 to the UDer collection.
* Original part-of-speech categories unified.
* No harmonization of the data structure needed.
<pre>
=== Machine-readable metadata =================================================
Resource: DeriNet
Language: Czech
Authors: Vidra, Jonáš; Žabokrtský, Zdeněk; Ševčíková, Magda; Kalužová, Adéla; Kyjánek, Lukáš; Dohnalová, Šárka; Hudeček, Vojtěch; Straka, Milan; Mediankin, Nikita
License: CC BY-NC-SA 3.0
Contact: http://ufal.mff.cuni.cz/derinet
===============================================================================
</pre>
<pre>
=== Machine-readable metadata =================================================
Harmonized resource: DeriNet
Harmonized version: 2.0
Data source: https://github.com/vidraj/derinet/raw/master/data/releases/cs/derinet-2-0.tsv.gz
Data available since: UDer v0.5
Harmonization: default
Common features: Segmentations; Semantic labels; Morphological categories
JSON features: techlemma; is_compound; segmentation
| 45.178082 | 326 | 0.701941 | eng_Latn | 0.720393 |
98adbd5bdbf8d31e73b348c9d0067caacb97104e | 7,431 | md | Markdown | test/e2e/README.md | marcinzaremba/kubernetes-on-aws | a46aace119a98820aa7f67718319ff6cb4e6e1a5 | [
"MIT"
] | null | null | null | test/e2e/README.md | marcinzaremba/kubernetes-on-aws | a46aace119a98820aa7f67718319ff6cb4e6e1a5 | [
"MIT"
] | null | null | null | test/e2e/README.md | marcinzaremba/kubernetes-on-aws | a46aace119a98820aa7f67718319ff6cb4e6e1a5 | [
"MIT"
] | null | null | null | # E2E tests for Kubernetes on AWS
This directory contains e2e tests for the kubernetes-on-aws configuration.
It is based on the test framework used by Kubernetes itself. See [Kubernetes
e2e tests](https://github.com/kubernetes/kubernetes/tree/master/test/e2e) for
examples of how to write the tests or checkout the files already defined e.g.
`external_dns.go`.
## Running the tests
1. First you need [ginkgo] which is used to orchestrate the tests:
```bash
make deps
```
2. Build the e2e test binary:
```bash
make
```
3. Run the e2e tests
```bash
KUBECONFIG=~/.kube/config HOSTED_ZONE=example.org CLUSTER_ALIAS=example \
ginkgo -nodes=1 -flakeAttempts=2 \
-focus="(\[Conformance\]|\[StatefulSetBasic\]|\[Feature:StatefulSet\]\s\[Slow\].*mysql|\[Zalando\])" \
-skip="(\[Serial\])" \
"e2e.test" -- -delete-namespace-on-failure=false -non-blocking-taints=node.kubernetes.io/role
```
Where `~/.kube/config` is pointing to the cluster you want to run the tests
against, `HOSTED_ZONE` is the hosted zone configured for the cluster, and
`CLUSTER_ALIAS` is the cluster's user-friendly name.
This will run all the tests we normally run on a PR, you can single out tests
by tweaking the values of the focus/skip flags.
## How to write a test
Tests are using [Ginkgo](https://github.com/onsi/ginkgo) as BDD test framework and
[Gomega](https://godoc.org/github.com/onsi/gomega) as matcher library.
Helper functions to create Kubernetes types are found in `util.go`.
Look at the current tests as examples `external_dns.go` and `psp.go` and make sure you have the right imports.
### Create a new test for Kubernetes type Foo
Simple test template that shows how you can create a new file from
scratch and test the Kubernetes type Foo.
```go
package e2e
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes"
"k8s.io/kubernetes/test/e2e/framework"
)
var _ = framework.KubeDescribe("Thing under test, func() {
f := framework.NewDefaultFramework("Describe thing under test")
var cs kubernetes.Interface
// we need always a clean clientset.Interface for all our tests
BeforeEach(func() {
cs = f.ClientSet
})
It("Should create a test Foo [Foo] [Zalando]", func() {
name := "foo"
ns := f.Namespace.Name
labels := map[string]string{
"app": name,
}
// write a message to the user
By("Creating foo " + name + " in namespace " + ns)
// creates Kubernetes foo type, function createFoo() can be found in util.go
foo := createFoo(name, ns, labels)
// cleanup
defer func() {
By("deleting the foo)
defer GinkgoRecover()
err2 := cs.CoreV1().Foo(ns).Delete(foo.Name, metav1.NewDeleteOptions(0))
Expect(err2).NotTo(HaveOccurred())
}()
// creates the Ingress Object
_, err := cs.CoreV1().Foo(ns).Create(foo)
Expect(err).NotTo(HaveOccurred())
})
})
```
### Create a POD
```go
targetPort := 80
name := "foo"
nameprefix := name + "-"
ns := f.Namespace.Name
labels := map[string]string{
"app": name,
}
// POD
By("Creating a POD with prefix " + nameprefix + " in namespace " + ns)
pod := createNginxPod(nameprefix, ns, labels, targetPort)
defer func() {
By("deleting the pod")
defer GinkgoRecover()
err2 := cs.CoreV1().Pods(ns).Delete(pod.Name, metav1.NewDeleteOptions(0))
Expect(err2).NotTo(HaveOccurred())
}()
_, err = cs.CoreV1().Pods(ns).Create(pod)
Expect(err).NotTo(HaveOccurred())
framework.ExpectNoError(f.WaitForPodRunning(pod.Name))
```
### Create a SVC
```go
port := 83
targetPort := 80
serviceName := "foo"
ns := f.Namespace.Name
labels := map[string]string{
"app": serviceName,
}
// SVC
By("Creating service " + serviceName + " in namespace " + ns)
service := createServiceTypeClusterIP(serviceName, labels, port, targetPort)
defer func() {
By("deleting the service")
defer GinkgoRecover()
err2 := cs.CoreV1().Services(ns).Delete(service.Name, metav1.NewDeleteOptions(0))
Expect(err2).NotTo(HaveOccurred())
}()
_, err := cs.CoreV1().Services(ns).Create(service)
Expect(err).NotTo(HaveOccurred())
```
### Create a Ingress and wait for external components to be created
Create Kubernetes ingress object:
```go
port := 83
serviceName := "foo"
hostName := serviceName + ".teapot-e2e.zalan.do"
ns := f.Namespace.Name
labels := map[string]string{
"app": serviceName,
}
// Ingress
By("Creating an ingress with name " + serviceName + " in namespace " + ns + " with hostname " + hostName)
ing := createIngress(serviceName, hostName, ns, labels, port)
defer func() {
By("deleting the ingress")
defer GinkgoRecover()
err2 := cs.NetworkingV1beta1().Ingresses(ns).Delete(ing.Name, metav1.NewDeleteOptions(0))
Expect(err2).NotTo(HaveOccurred())
}()
ingressCreate, err := cs.NetworkingV1beta1().Ingresses(ns).Create(ing)
Expect(err).NotTo(HaveOccurred())
addr, err := jig.WaitForIngressAddress(cs, ns, ingressCreate.Name, 3*time.Minute)
Expect(err).NotTo(HaveOccurred())
ingress, err := cs.NetworkingV1beta1().Ingresses(ns).Get(ing.Name, metav1.GetOptions{ResourceVersion: "0"})
Expect(err).NotTo(HaveOccurred())
By(fmt.Sprintf("ALB endpoint from ingress status: %s", ingress.Status.LoadBalancer.Ingress[0].Hostname))
```
Follow up code, that waits for creations to be happen:
```go
// skipper http -> https redirect
By("Waiting for skipper route to default redirect from http to https, to see that our ingress-controller and skipper works")
err = waitForResponse(addr, "http", 2*time.Minute, 301, true)
Expect(err).NotTo(HaveOccurred())
// ALB ready
By("Waiting for ALB to create endpoint " + addr + " and skipper route, to see that our ingress-controller and skipper works")
err = waitForResponse(addr, "https", 2*time.Minute, 200, true) // insecure=true
Expect(err).NotTo(HaveOccurred())
// DNS ready
By("Waiting for DNS to see that mate and skipper route to service and pod works")
err = waitForResponse(hostName, "https", 2*time.Minute, 200, false)
Expect(err).NotTo(HaveOccurred())
```
### FAQ
* **What is the fastest way to iterate on my test**
Since the tests pull in all of kubernetes it can take some time to build the
test binary.
To build it simply run:
```bash
make
```
This will setup the go modules correctly and build a binary
`e2e.test`.
Run all Zalando tests from your local build:
```bash
# S3_AWS_IAM_BUCKET and AWS_IAM_ROLE is required for the AWS-IAM tests.
KUBECONFIG=~/.kube/config HOSTED_ZONE=example.org CLUSTER_ALIAS=example \
S3_AWS_IAM_BUCKET=zalando-e2e-aws-iam-test-12345678912-kube-1 \
AWS_IAM_ROLE=kube-1-e2e-aws-iam-test \
ginkgo -nodes=25 -flakeAttempts=2 -focus="\[Zalando\]" e2e.test
```
* **Why is the go modules such a mess?**
Because `Kubernetes` uses symlinks in its own vendor folder (e.g. `ln -s
staging/src/k8s.io/client-go k8s.io/client-go`) we need to do something
similar to make go modules understand what is going on. We do this by
`replace` directives in the `go.mod` file and the script `setup_modules.sh`
to setup the replaces.
> Just run `make` when you clone this repo and it should all work.
>
> - Mikkel Larsen
[ginkgo]: https://onsi.github.io/ginkgo/
| 31.892704 | 127 | 0.687122 | eng_Latn | 0.811148 |
98ae131f9af7b76b32d32da6ea78720fa74b0d32 | 2,064 | md | Markdown | docs/framework/wpf/controls/canvas-how-to-topics.md | v-maudel/docs-1 | f849afb0bd9a505311e7aec32c544c3169edf1c5 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/framework/wpf/controls/canvas-how-to-topics.md | v-maudel/docs-1 | f849afb0bd9a505311e7aec32c544c3169edf1c5 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/framework/wpf/controls/canvas-how-to-topics.md | v-maudel/docs-1 | f849afb0bd9a505311e7aec32c544c3169edf1c5 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: "Canvas How-to Topics"
ms.custom: ""
ms.date: "03/30/2017"
ms.prod: ".net-framework"
ms.reviewer: ""
ms.suite: ""
ms.technology:
- "dotnet-wpf"
ms.tgt_pltfrm: ""
ms.topic: "article"
f1_keywords:
- "AutoGeneratedOrientationPage"
helpviewer_keywords:
- "controls [WPF], Canvas"
- "Canvas control [WPF], how-to topics"
ms.assetid: 5c8f5bca-7ba9-4526-a9bf-0852351dbe8a
caps.latest.revision: 70
author: dotnet-bot
ms.author: dotnetcontent
manager: "wpickett"
ms.workload:
- dotnet
---
# Canvas How-to Topics
The topics in this section describe how to use the <xref:System.Windows.Controls.Canvas> element to absolutely position child elements.
## In This Section
[Wrap a Border Around the Content of a Canvas](../../../../docs/framework/wpf/controls/how-to-wrap-a-border-around-the-content-of-a-canvas.md)
[Get or Set Canvas Positioning Properties](../../../../docs/framework/wpf/controls/how-to-get-or-set-canvas-positioning-properties.md)
[Create and Use a Canvas](../../../../docs/framework/wpf/controls/how-to-create-and-use-a-canvas.md)
[Use the Attached Properties of Canvas to Position Child Elements](../../../../docs/framework/wpf/controls/how-to-use-the-attached-properties-of-canvas-to-position-child-elements.md)
[Resize a Canvas by Using a Thumb](../../../../docs/framework/wpf/controls/how-to-resize-a-canvas-by-using-a-thumb.md)
## Reference
<xref:System.Windows.Controls.Panel>
<xref:System.Windows.Controls.Canvas>
<xref:System.Windows.Controls.DockPanel>
<xref:System.Windows.Controls.Grid>
<xref:System.Windows.Controls.StackPanel>
<xref:System.Windows.Controls.VirtualizingStackPanel>
<xref:System.Windows.Controls.WrapPanel>
## Related Sections
[Layout](../../../../docs/framework/wpf/advanced/layout.md)
[Walkthrough: My first WPF desktop application](../../../../docs/framework/wpf/getting-started/walkthrough-my-first-wpf-desktop-application.md)
[ScrollViewer Overview](../../../../docs/framework/wpf/controls/scrollviewer-overview.md)
| 36.857143 | 185 | 0.713663 | yue_Hant | 0.20444 |
98ae1762ef18d08e5778bece6df83441b29da0f7 | 616 | md | Markdown | README.md | FuegoFro/openstep-parser | ad2cb925999c0fe7f6939507070535230a4ee6e4 | [
"BSD-2-Clause"
] | null | null | null | README.md | FuegoFro/openstep-parser | ad2cb925999c0fe7f6939507070535230a4ee6e4 | [
"BSD-2-Clause"
] | null | null | null | README.md | FuegoFro/openstep-parser | ad2cb925999c0fe7f6939507070535230a4ee6e4 | [
"BSD-2-Clause"
] | null | null | null | [](https://www.codacy.com/app/kronenthaler/openstep-parser?utm_source=github.com&utm_medium=referral&utm_content=kronenthaler/openstep-parser&utm_campaign=badger)
[](https://travis-ci.org/kronenthaler/openstep-parser)
[](https://pypi.python.org/pypi/openstep_parser/)
# OpenStep Parser
Parse Xcode projects directly using python. It doesn't require system command utilities.
| 56 | 254 | 0.803571 | yue_Hant | 0.269578 |
98aedb021e6f02b3e18cf0b074568af00ae8025e | 5,925 | md | Markdown | docs/proposals/playbook_consolidation.md | shgriffi/openshift-ansible | 6313f519307cf50055589c3876d8bec398bbc4d4 | [
"Apache-2.0"
] | 20 | 2018-09-18T07:02:00.000Z | 2020-04-15T16:12:39.000Z | docs/proposals/playbook_consolidation.md | shgriffi/openshift-ansible | 6313f519307cf50055589c3876d8bec398bbc4d4 | [
"Apache-2.0"
] | 33 | 2018-04-26T08:51:31.000Z | 2018-08-17T15:54:54.000Z | docs/proposals/playbook_consolidation.md | shgriffi/openshift-ansible | 6313f519307cf50055589c3876d8bec398bbc4d4 | [
"Apache-2.0"
] | 45 | 2018-08-15T21:25:43.000Z | 2020-06-11T09:15:35.000Z | # OpenShift-Ansible Playbook Consolidation
## Description
The designation of `byo` is no longer applicable due to being able to deploy on
physical hardware or cloud resources using the playbooks in the `byo` directory.
Consolidation of these directories will make maintaining the code base easier
and provide a more straightforward project for users and developers.
The main points of this proposal are:
* Consolidate initialization playbooks into one set of playbooks in
`playbooks/init`.
* Collapse the `playbooks/byo` and `playbooks/common` into one set of
directories at `playbooks/openshift-*`.
This consolidation effort may be more appropriate when the project moves to
using a container as the default installation method.
## Design
### Initialization Playbook Consolidation
Currently there are two separate sets of initialization playbooks:
* `playbooks/byo/openshift-cluster/initialize_groups.yml`
* `playbooks/common/openshift-cluster/std_include.yml`
Although these playbooks are located in the `openshift-cluster` directory they
are shared by all of the `openshift-*` areas. These playbooks would be better
organized in a `playbooks/init` directory collocated with all their related
playbooks.
In the example below, the following changes have been made:
* `playbooks/byo/openshift-cluster/initialize_groups.yml` renamed to
`playbooks/init/initialize_host_groups.yml`
* `playbooks/common/openshift-cluster/std_include.yml` renamed to
`playbooks/init/main.yml`
* `- include: playbooks/init/initialize_host_groups.yml` has been added to the
top of `playbooks/init/main.yml`
* All other related files for initialization have been moved to `playbooks/init`
The `initialize_host_groups.yml` playbook is only one play with one task for
importing variables for inventory group conversions. This task could be further
consolidated with the play in `evaluate_groups.yml`.
The new standard initialization playbook would be
`playbooks/init/main.yml`.
```
> $ tree openshift-ansible/playbooks/init
.
├── evaluate_groups.yml
├── initialize_facts.yml
├── initialize_host_groups.yml
├── initialize_openshift_repos.yml
├── initialize_openshift_version.yml
├── main.yml
├── roles -> ../../roles
├── validate_hostnames.yml
└── vars
└── cluster_hosts.yml
```
```yaml
# openshift-ansible/playbooks/init/main.yml
---
- include: initialize_host_groups.yml
- include: evaluate_groups.yml
- include: initialize_facts.yml
- include: validate_hostnames.yml
- include: initialize_openshift_repos.yml
- include: initialize_openshift_version.yml
```
### `byo` and `common` Playbook Consolidation
Historically, the `byo` directory coexisted with other platform directories
which contained playbooks that then called into `common` playbooks to perform
common installation steps for all platforms. Since the other platform
directories have been removed this separation is no longer necessary.
In the example below, the following changes have been made:
* `playbooks/byo/openshift-master` renamed to
`playbooks/openshift-master`
* `playbooks/common/openshift-master` renamed to
`playbooks/openshift-master/private`
* Original `byo` entry point playbooks have been updated to include their
respective playbooks from `private/`.
* Symbolic links have been updated as necessary
All user consumable playbooks are in the root of `openshift-master` and no entry
point playbooks exist in the `private` directory. Maintaining the separation
between entry point playbooks and the private playbooks allows individual pieces
of the deployments to be used as needed by other components.
```
openshift-ansible/playbooks/openshift-master
> $ tree
.
├── config.yml
├── private
│ ├── additional_config.yml
│ ├── config.yml
│ ├── filter_plugins -> ../../../filter_plugins
│ ├── library -> ../../../library
│ ├── lookup_plugins -> ../../../lookup_plugins
│ ├── restart_hosts.yml
│ ├── restart_services.yml
│ ├── restart.yml
│ ├── roles -> ../../../roles
│ ├── scaleup.yml
│ └── validate_restart.yml
├── restart.yml
└── scaleup.yml
```
```yaml
# openshift-ansible/playbooks/openshift-master/config.yml
---
- include: ../init/main.yml
- include: private/config.yml
```
With the consolidation of the directory structure and component installs being
removed from `openshift-cluster`, that directory is no longer necessary. To
deploy an entire OpenShift cluster, a playbook would be created to tie together
all of the different components. The following example shows how multiple
components would be combined to perform a complete install.
```yaml
# openshift-ansible/playbooks/deploy_cluster.yml
---
- include: init/main.yml
- include: openshift-etcd/private/config.yml
- include: openshift-nfs/private/config.yml
- include: openshift-loadbalancer/private/config.yml
- include: openshift-master/private/config.yml
- include: openshift-node/private/config.yml
- include: openshift-glusterfs/private/config.yml
- include: openshift-hosted/private/config.yml
- include: openshift-service-catalog/private/config.yml
```
## User Story
As a developer of OpenShift-Ansible,
I want simplify the playbook directory structure
so that users can easily find deployment playbooks and developers know where new
features should be developed.
## Implementation
Given the size of this refactoring effort, it should be broken into smaller
steps which can be completed independently while still maintaining a functional
project.
Steps:
1. Update and merge consolidation of the initialization playbooks.
2. Update each merge consolidation of each `openshift-*` component area
3. Update and merge consolidation of `openshift-cluster`
## Acceptance Criteria
* Verify that all entry points playbooks install or configure as expected.
* Verify that CI is updated for testing new playbook locations.
* Verify that repo documentation is updated
* Verify that user documentation is updated
## References
| 33.100559 | 80 | 0.777384 | eng_Latn | 0.996114 |
98af565f0750f4d8114f0eee2f169a37c94d76db | 194 | md | Markdown | templet/templates/yootheme/vendor/yootheme/theme/README.md | boscotron/mdeamor | c4985285137646712f32173164a13024f67fdb31 | [
"MIT"
] | null | null | null | templet/templates/yootheme/vendor/yootheme/theme/README.md | boscotron/mdeamor | c4985285137646712f32173164a13024f67fdb31 | [
"MIT"
] | null | null | null | templet/templates/yootheme/vendor/yootheme/theme/README.md | boscotron/mdeamor | c4985285137646712f32173164a13024f67fdb31 | [
"MIT"
] | null | null | null | # YOOtheme Theme Framework
* [Homepage](https://yootheme.com)
* [Changelog](CHANGELOG.md)
## Copyright and license
Copyright 2016 [YOOtheme](https://yootheme.com) GmbH under the GPL license.
| 21.555556 | 75 | 0.742268 | kor_Hang | 0.271906 |
98b09f3cb4743f93119ebc371c1964cbc96315ca | 2,318 | md | Markdown | _posts/2016-10-30-javascript-fundamentals-objeto-number-2.md | cauequeiroz/cauequeiroz.github.io | e7d28d4fe21ba07c337cdf99487e233dbbb4ed29 | [
"MIT"
] | null | null | null | _posts/2016-10-30-javascript-fundamentals-objeto-number-2.md | cauequeiroz/cauequeiroz.github.io | e7d28d4fe21ba07c337cdf99487e233dbbb4ed29 | [
"MIT"
] | null | null | null | _posts/2016-10-30-javascript-fundamentals-objeto-number-2.md | cauequeiroz/cauequeiroz.github.io | e7d28d4fe21ba07c337cdf99487e233dbbb4ed29 | [
"MIT"
] | null | null | null | ---
layout: post
title: "Javascript Fundamentals - Objeto Number #2"
date: 2016-10-30 17:00:00
image: '/assets/img/'
description: 'Uma jornada pelo objeto number, seus métodos e propriedades.'
tags:
- javascript
categories:
- Javascript
twitter_text: 'Uma jornada pelo objeto number, seus métodos e propriedades.'
archive: true
---
Hoje vamos finalizar mais um objeto dessa série! Os métodos que veremos retornam um novo valor com a alteração necessária sem modificar o original. Por isso, lembre-se sempre de salvar em uma nova variável. :)
`toFixed()`, `toPrecision()` e `toExponential()`.
### toFixed()
Usado para **controlar** a quantidade de casas decimais de um número.
{% highlight js %}
var foo = 42.685944;
// Convertendo para duas casas decimais
var bar = foo.toFixed(2);
console.log(bar);
> "42.69"
{% endhighlight %}
Passe como parâmetro um número, entre `0` e `20`, que represente a quantidade de casas decimais que você deseja. O valor retornado por esse método é uma _string_. Talvez seja necessário transformar em _number_ novamente caso queira ter um pouco mais de controle.
### toPrecision()
Usado para **controlar** o tamanho de um número.
Esse método é bem semelhante ao anterior. Porém, enquanto o `toFixed()` controla apenas o que acontece após a vírgula, esse método leva em consideração o número todo.
{% highlight js %}
var foo = 42.685944;
// Deixando o número com apenas 3 dígitos
var bar = foo.toPrecision(3);
console.log(bar);
> "42.7"
{% endhighlight %}
Passe como parâmetro o tamanho que você deseja que o novo número tenha. Esse método também retorna o valor como uma _string_.
### toExponential()
Usado para **converter** um número em sua notação exponencial.
{% highlight js %}
var foo = 42.685944;
// Convertendo para exponencial
var bar = foo.toExponential();
console.log(bar);
> "4.2685944e+1"
{% endhighlight %}
Semelhante aos demais métodos, o retorno é uma _string_. Esse método pode receber como parâmetro a quantidade de casas decimais que essa notação terá.
{% highlight js %}
var foo = 42.685944;
// Convertendo para exponencial
var bar = foo.toExponential(2);
console.log(bar);
> "4.27e+1"
{% endhighlight %}
---
> _Esse post faz parte de uma série. Quer ver as outras postagens? [Clique aqui]({% post_url 2016-10-10-javascript-fundamentals %})._ | 28.268293 | 262 | 0.737705 | por_Latn | 0.999404 |
98b0bd6361cee0a2aac52327604170e83e6601e9 | 371 | md | Markdown | demos_ch5/README.md | joekroese/BDA_R_demos | 2f39bfe4b503d13fc1e46d68564db0f88bafa102 | [
"BSD-3-Clause"
] | 2 | 2021-07-10T16:04:06.000Z | 2021-07-10T23:22:09.000Z | demos_ch5/README.md | dilsherdhillon/BDA_R_demos | 2f39bfe4b503d13fc1e46d68564db0f88bafa102 | [
"BSD-3-Clause"
] | 1 | 2021-07-10T14:27:34.000Z | 2021-07-10T14:27:34.000Z | demos_ch5/README.md | dilsherdhillon/BDA_R_demos | 2f39bfe4b503d13fc1e46d68564db0f88bafa102 | [
"BSD-3-Clause"
] | 1 | 2021-06-25T14:53:18.000Z | 2021-06-25T14:53:18.000Z | # Bayesian Data Analysis R Demos - Chapter 5
[BDA_R_demos git repo](https://github.com/avehtari/BDA_R_demos/)
- [demo5_1: Hierarchical model for Rats experiment (BDA3, p. 102)](http://avehtari.github.io/BDA_R_demos/demos_ch5/demo5_1.html)
- [demo5_2: Hierarchical model for SAT-example data (BDA3, p. 102)](http://avehtari.github.io/BDA_R_demos/demos_ch5/demo5_2.html)
| 53 | 129 | 0.768194 | kor_Hang | 0.510054 |
98b0cfbefa0c507ca275adf2a2e1d2ce5356f7dd | 382 | md | Markdown | sdk/maps/azure-resourcemanager-maps/CHANGELOG.md | billwert/azure-sdk-for-java | f907d9027d253cdfb37850852cf9cfe500d5c1f6 | [
"MIT"
] | 1,350 | 2015-01-17T05:22:05.000Z | 2022-03-29T21:00:37.000Z | sdk/maps/azure-resourcemanager-maps/CHANGELOG.md | billwert/azure-sdk-for-java | f907d9027d253cdfb37850852cf9cfe500d5c1f6 | [
"MIT"
] | 16,834 | 2015-01-07T02:19:09.000Z | 2022-03-31T23:29:10.000Z | sdk/maps/azure-resourcemanager-maps/CHANGELOG.md | billwert/azure-sdk-for-java | f907d9027d253cdfb37850852cf9cfe500d5c1f6 | [
"MIT"
] | 1,586 | 2015-01-02T01:50:28.000Z | 2022-03-31T11:25:34.000Z | # Release History
## 1.0.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2021-05-17)
- Azure Resource Manager AzureMaps client library for Java. This package contains Microsoft Azure SDK for AzureMaps Management SDK. Azure Maps. Package tag package-2021-02. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
| 38.2 | 300 | 0.759162 | eng_Latn | 0.674376 |
98b192286397ebf9c4ea6ba989530c1dbc09a408 | 1,950 | md | Markdown | source/_posts/Java-2.md | jaybkim1/hexo-jaybtech | 8fa2096099215635361d2a93c8e332c058904e0d | [
"Apache-2.0"
] | null | null | null | source/_posts/Java-2.md | jaybkim1/hexo-jaybtech | 8fa2096099215635361d2a93c8e332c058904e0d | [
"Apache-2.0"
] | null | null | null | source/_posts/Java-2.md | jaybkim1/hexo-jaybtech | 8fa2096099215635361d2a93c8e332c058904e0d | [
"Apache-2.0"
] | null | null | null | ---
title: List 를 순회하는 방법
subtitle: 자바에서의 다양한 List 순회 방법
catalog: true
tags:
- Java
catagories:
- Java
date: 2017-05-01 21:26:15
header-img:
comments: true
---
안녕하세요?
철학적인 개발자 JayB 입니다.
오늘은 자바에서 여러가지 방법으로 List를 순회하는 방법을 정리해보는 시간을 가지려 합니다.
## 리스트
아래와 같이 List에 5 가지의 과자 문자열을 가지고 있다고 할 때 하나하나의 과자를 출력해보려고 합니다.
```
List<String> fruits = new ArrayList<>(Arrays.asList("자갈치", "새우깡", "오레오", "빼빼로", "치토스"));
```
## 일반적으로 사용되는 for loop 돌리기
가장 일반적인 for 문 돌리기로 List 안에 있는 과자 원소들을 출력하는 방법입니다.
```
for (int i = 0; i < fruits.size(); i++) {
System.out.println(fruits.get(i));
}
```
하지만 이 방법은 E get(int index) 메소드를 가지는 List 타입의 객체 대상으로만 사용할 수 있습니다.
상위 타입인 *Collection* 이나 *Set* 과 같은 **이종 타입의 객체** 대상으로는 사용이 불가한 방법입니다.
## Iterator
아래와 같이 Iterator 를 사용하는 방법도 있습니다.
```
for (Iterator<String> iter = fruits.iterator(); iter.hasNext(); ) {
System.out.println(iter.next());
}
```
Iterator 를 사용하면 Collection 을 순회할 수 있을 뿐만 아니라 순회 도중에 특정 원소를 안전하게 삭제할 수도 있습니다.
## 향상된 for loop (Java 5 이상)
Java5 에서 도입된 for-each문 이라고도 불리는 향상된(Enhanced) For 루프문을 사용하면 좀 더 깔끔하게 코드를 작성할 수 있습니다.
```
for (String fruit : fruits) {
System.out.println(fruit);
}
```
## Stream API (Java 8 이상)
Java8 이상을 사용하신다면 스트림을 이용해서 다음과 같이 루프문을 사용하지 않고도 명료한 한 줄 코드를 작성할 수 있습니다.
```
fruits.stream().forEach(System.out::println);
```
이상으로 자바에서 컬렉션을 순회할 때 사용할 수 있는 다양한 옵션에 대해서 알아보았습니다.
## 정리하면서 ...
Iterator 나 향상된 for loop 으로 순회하는 방법은 알고 있었지만 아무래도 가장 기본적인 for loop 에
적응 되어 있다보니 기본적인 것만 사용해왔습니다.
마지막 방법인 Stream API 는 한줄로 끝나버리니 신선하네요.
아무래도 코드가 굉장히 간결해지겠죠?
이렇게 다양한 방법을 알아두고 적용해봐야 다른 사람이 작성한 코드를 검토할 때 도움이 될 것 같아 정리해봤습니다.
## 참고한 블로그
* [자바 공식홈페이지] : [http://docs.oracle.com/javase/tutorial/collections/interfaces/collection.html](http://docs.oracle.com/javase/tutorial/collections/interfaces/collection.html)
* 대부분의 내용은 DaleSeo님의 [리스트를 순회하는 방법]을 참고하였습니다 : [http://www.daleseo.com/how-to-traverse-list-in-java/](http://www.daleseo.com/how-to-traverse-list-in-java/)
| 20.103093 | 174 | 0.680513 | kor_Hang | 1.00001 |
98b1c1fd119d61324b6fe64206392821a52e62da | 4,806 | md | Markdown | README.md | lorenzoferrarajr/lfj-dehydrator | 9a84c95e34a575423c2a0304ba5b6fc504efbde0 | [
"BSD-3-Clause"
] | 1 | 2018-04-17T21:00:14.000Z | 2018-04-17T21:00:14.000Z | README.md | lorenzoferrarajr/lfj-dehydrator | 9a84c95e34a575423c2a0304ba5b6fc504efbde0 | [
"BSD-3-Clause"
] | null | null | null | README.md | lorenzoferrarajr/lfj-dehydrator | 9a84c95e34a575423c2a0304ba5b6fc504efbde0 | [
"BSD-3-Clause"
] | null | null | null | lfj-dehydrator
==============
Created By Lorenzo Ferrara Junior
[](https://travis-ci.org/lorenzoferrarajr/lfj-dehydrator)
Introduction
---
LfjDehydrator is a tool to speed-up development of data extraction from text using PHP. Please consider that some parts of this project will change.
Installation
---
LfjDehydrator can be installed via `composer` adding `"lorenzoferrarajr/lfj-dehydrator": "dev-master"` to the `composer.json` file or running
php composer.phar require lorenzoferrarajr/lfj-dehydrator:dev-master
Usage
----
To illustrate the basic usage please refer to the following code:
```php
<?php
use Lfj\Dehydrator\Dehydrator;
use Lfj\Dehydrator\Content\Content;
use Zend\Uri\Uri;
include "../vendor/autoload.php";
$url = new Uri('http://www.youtube.com/watch?v=tfw0KapQ3qw');
$html = file_get_contents($url->toString());
$content = new Content($html);
$dehydrator = new Dehydrator();
$dehydrator->addPlugin('MyDehydratorPlugin\YouTubeTitlePlugin');
$result = $dehydrator->dehydrate($url, $content)->getResult();
print_r($result);
```
The `Dehydrator` object delegates to plugins the actual data extraction from the content. Plugins are added using the ::addPlugin() method and are instantiated one at a time only when the ::dehydrate() method is called. The `YouTubeTitlePlugin` plugin used in the previous code can be found below.
Plugins
---
A plugin holds the code responsible of extracting data from the content. Each plugin must implement [Lfj\Dehydrator\Plugin\PluginInterface](src/LfjDehydrator/Plugin/PluginInterface.php). Most of the boring code can be omitted extending the [Lfj\Dehydrator\Plugin\AbstractPlugin](src/LfjDehydrator/Plugin/AbstractPlugin.php) class.
The important methods to implement are:
* `getKey()` must return a string representing the key of the result array holding the data extracted by the plugin
* `isEnabled()` must return ´true´ or ´false´ depending on if the plugin should be used or not. As an example, one could create a plugin to extract data from a particular website and use `isEnabled()` to check if the current URL is correct or not
* `run()` should extract the data from the content and populate the result
Normally, the result of two plugins having the same key gets appended to the final result. As an example we can take two plugins having the `::getKey()` method returning `title`. One plugin extracts the text form the `<title>` tag in the `<head>`, the other plugin extracts the text from the `content` attribute of `<meta property="og:title">` tag. The final result of the `Dehydrator` class will be something like:
```php
array(
'title' => array(
0 => 'title from title tag',
1 => 'title from og:title'
)
)
```
Below, an example plugin that extracts the title of a YouTube video from a YouTube URL:
```php
<?php
namespace MyDehydratorPlugin;
use Lfj\Dehydrator\Plugin\AbstractPlugin;
use Lfj\Dehydrator\Plugin\PluginInterface;
class YouTubeTitlePlugin extends AbstractPlugin implements PluginInterface
{
public function getKey()
{
return 'title';
}
public function run()
{
$xml = new \DOMDocument();
$xml->loadHTML($this->getContent()->toString());
$h1 = $xml->getElementById('watch-headline-title');
$title = trim(str_replace("\n", '', $h1->nodeValue));
$this->setResult($title);
}
public function isEnabled()
{
switch ($this->getUrl()->getHost())
{
case 'www.youtube.com':
case 'youtube.com':
case 'youtu.be':
return true;
}
return false;
}
}
```
Adding Plugins
---
The `Dehydrator::addPlugin` method accepts as a second argument a plugin type expressed as a string. Currently two types of plugins are supported: `replaceable` and `null` (for non replaceable).
Results of plugins added as `replaceable` replace results of plugins having the same `key`. This means that if two plugins are extracting the title of a page and are returning the same key, if added as non replaceable the result will be something like:
```php
ArrayIterator Object
(
[storage:ArrayIterator:private] => Array
(
[title] => Array
(
[0] => Chaplin Modern Times - Factory Scene (HD - 720p)
[1] => Chaplin Modern Times - Factory Scene (HD - 720p)
)
)
)
```
if added as `replaceable` the result of the second plugin will replace the result of the first:
```php
ArrayIterator Object
(
[storage:ArrayIterator:private] => Array
(
[title] => Chaplin Modern Times - Factory Scene (HD - 720p)
)
)
```
| 33.375 | 415 | 0.694757 | eng_Latn | 0.958277 |
98b1dddf9526fe002d341d389d5e79035c8f262b | 96 | md | Markdown | README.md | Sura-IIT-DELHI/Autonomous-Driving-Robot-Car | 44756265948af96735637bb743dab9a0b68351a8 | [
"MIT"
] | null | null | null | README.md | Sura-IIT-DELHI/Autonomous-Driving-Robot-Car | 44756265948af96735637bb743dab9a0b68351a8 | [
"MIT"
] | null | null | null | README.md | Sura-IIT-DELHI/Autonomous-Driving-Robot-Car | 44756265948af96735637bb743dab9a0b68351a8 | [
"MIT"
] | null | null | null | # Autonomous-Driving-Robot-Car
Robot car - P3At (linux - ROS Kinetic)
hardware specification -
| 24 | 38 | 0.760417 | eng_Latn | 0.297464 |
98b1e663627c43642bfcd0944cb0247797ac4123 | 397 | md | Markdown | guide/arabic/certifications/coding-interview-prep/project-euler/problem-469-empty-chairs/index.md | SweeneyNew/freeCodeCamp | e24b995d3d6a2829701de7ac2225d72f3a954b40 | [
"BSD-3-Clause"
] | 10 | 2019-08-09T19:58:19.000Z | 2019-08-11T20:57:44.000Z | guide/arabic/certifications/coding-interview-prep/project-euler/problem-469-empty-chairs/index.md | SweeneyNew/freeCodeCamp | e24b995d3d6a2829701de7ac2225d72f3a954b40 | [
"BSD-3-Clause"
] | 2,056 | 2019-08-25T19:29:20.000Z | 2022-02-13T22:13:01.000Z | guide/arabic/certifications/coding-interview-prep/project-euler/problem-469-empty-chairs/index.md | SweeneyNew/freeCodeCamp | e24b995d3d6a2829701de7ac2225d72f3a954b40 | [
"BSD-3-Clause"
] | 5 | 2018-10-18T02:02:23.000Z | 2020-08-25T00:32:41.000Z | ---
title: Empty chairs
localeTitle: الكراسي الفارغة
---
## المشكلة 469: الكراسي الفارغة
هذا هو كعب. [ساعد مجتمعنا على توسيعه](https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/coding-interview-prep/project-euler/problem-469-empty-chairs/index.md) .
[سيساعدك دليل النمط السريع هذا على ضمان قبول طلب السحب](https://github.com/freecodecamp/guides/blob/master/README.md) . | 44.111111 | 186 | 0.780856 | arb_Arab | 0.40265 |
98b20568a018cc57ebd033be00468b1d067e5cb2 | 5,060 | md | Markdown | app/themes/mission-control/README.md | t-minus-ten/apollo | cdc69d264ddb6a8cb017c18a5c5ec1d4d75f6930 | [
"MIT"
] | null | null | null | app/themes/mission-control/README.md | t-minus-ten/apollo | cdc69d264ddb6a8cb017c18a5c5ec1d4d75f6930 | [
"MIT"
] | 3 | 2018-06-09T16:35:43.000Z | 2022-02-09T23:22:17.000Z | app/themes/mission-control/README.md | t-minus-ten/apollo | cdc69d264ddb6a8cb017c18a5c5ec1d4d75f6930 | [
"MIT"
] | null | null | null | # Apollo — Mission Control
## Workflow
Mission Control uses an opionated workflow for development. It uses Gulp to automate asset production, NPM for js package management, SASS for css preprocessing, and Browserify/Babel to compile modern js.
When working in a `development` enviornment, js and css assets are fed from the `src` directory. When working in a `staging` or `production` enviornment, js and css assets are fed from the `dist` directory. Images and fonts are always served from the `dist` directory.
The reason for this? JS and CSS files files in `src` are not tracked in git as they are constantly built in development. `src` files also contain source maps to make developing easier. `dist` files _are_ tracked in git, as they are necessary to staging and production deployments.
## `base.php`
Mission Control uses a Theme Wrapper (ala [Scribu](http://scribu.net/wordpress/theme-wrappers.html)). This means _one file_, `base.php`, that determines the overall structure. No `get_header()` in one file and `get_footer()` in another. Any _global_ changes to the overarching structure can be made in `base.php`. Luckily, we have built in conditionals that make it easier to control layout. See [Templates](#templates) below.
## Gulp Tasks and Workflow
When working locally, `cd` to your theme directory and run `gulp serve`. This will start Watchify, spin up Browsersync, and watch theme files for changes and auto-reload/inject styles.
To build out the site for production deployment, simply run `gulp --production`. The `--production` flag can be used with almost any task to run the production version.
Additional helpful tasks:
```
gulp build_sass // convert SASS to CSS
gulp build_bundle // creates a bundled js file
gulp build_images // optimizes images and copies them to `dist`
gulp copy_fonts // copy fonts to `dist`
gulp clean // remove existing `dist` and `src` files
```
## SCSS
`assets/sass` is structured into two primary directories: `main` and `partials`. Any file that live in the `main` directory will be output to a file when the `gulp sass` task runs. These files should only contain scss `@import` directives. Use these files to import files living in `partials` or elsewhere.
The default utility library [Parts and Labor](https://iamhexcoder.github.io/partsandlabor/) is included by defualt :)
## JS
`assets/js` is structured into two primary directories: `modules` and `single`, with `main.js` living in there too.
`main.js` and the `modules` directory are connected with Browserify. Any custom common js modules imported to `main.js` with a `require()` statement should live in the `modules` directory.
Any files that live in `single` with be linted and scrubbed, but not ran through Babel or Browserify.
_Note:_ Browserify will sniff the `modules` directory as well as `node_modules`, so files in either directory can be required. `browserify-shim` is used if you need to add custom global modules. `bowerify` is install in case you need to use [Bower](bower.io) to get a package.
## `lib`
Many aspects of theme output are controlled via files in the `lib` directory. `lib` files tries to follow a naming convention based on file content. `config-` means the file sets up configuration, so definitions, conditions related to presentaion, etc.
Here are some typical needs and the file to edit:
- `lib/config-settings`
- Setup default Sidebar layout
- Register Nav Menus
- Add Typekit, Google Fonts, or FontAwesome
- Add/Remove Emoji Support, Theme Support, Widget (ugh) Support
- `lib/config-conditionals`
- Hide the Page Header for a post type
- Hide the Sidebar for a post type (or entirely)
- Flip the Sidebar for a post type
- `lib/extend-core`:
- Add an image size
- `lib/extend-utilities`
- Add a body class
- `lib/theme-structure`
- Add, remove, or change wp_nav classes & ids (see `custom_wp_nav_menu_classes()` and `current_to_active`)
- `lib/misc/extend-post-types`
- Add Custom Post Types
- `lib/misc/extend-taxonomy`
- Add Custom Taxonomies
- `lib/misc/extend-queries`
- Adjust default query settings for post types
## Templates
Template files are subdivided into folders based on usage/location.
The header and footer files live in `templates/global`. Page Header files in `templates/page-header`, blog template parts in `templates/blog`.
Templates such as page header and sidebar are conditionally displayed. These settings can be configured in `lib/config-conditionals`:
### Sidebar
To hide the sidebar, create an `if` statement in the `hide_sidebar` function that will return `true`.
To hide the sidebar site-wide, simple set `hide_sidebar` to always return `true`
To switch the sidebar layout (display it opposite the default), create an `if` statement in the `sidebar_switch` function that will return `true`.
### Page Header
To hide the page header, create an `if` statement in the `hide_page_header` function that will return `true`.
To hide the page header site-wide, simple set `hide_page_header` to always return `true`
| 52.708333 | 426 | 0.758498 | eng_Latn | 0.993792 |
98b21886c95f4a2b933970ed78095ff570aec872 | 2,169 | md | Markdown | papers/_posts/2010-05-01-perceptual-symbols.md | hrc2/hrc2.github.io | 958fb529d9c741ffa2d1745918a6ba3f5ea8247c | [
"MIT"
] | null | null | null | papers/_posts/2010-05-01-perceptual-symbols.md | hrc2/hrc2.github.io | 958fb529d9c741ffa2d1745918a6ba3f5ea8247c | [
"MIT"
] | 13 | 2018-03-28T22:11:33.000Z | 2019-09-17T17:36:46.000Z | papers/_posts/2010-05-01-perceptual-symbols.md | hrc2/hrc2.github.io | 958fb529d9c741ffa2d1745918a6ba3f5ea8247c | [
"MIT"
] | 5 | 2018-03-28T02:08:17.000Z | 2021-03-27T13:57:16.000Z | ---
layout: paper
title: "Effects of Anticipatory Perceptual Simulation on Practiced Human-robot Tasks"
year: 2010
shortref: "Hoffman & Breazeal. AuRo 2011"
shorttitle: "Effects of Anticipatory Perceptual Simulation on Practiced Human-robot Tasks"
nickname: perceptual-symbols
journal: "Autonomous Robots"
volume: 28
issue: 4
pages: 403-423
authors: "Hoffman G. & Breazeal, C."
image: perceptual.png
pdf: HoffmanBreazealAuRo10.pdf
pdflink:
fulltext:
pubtype: journal
github:
pmid:
pmcid:
f1000:
figshare:
doi: 10.1007/s10514-009-9166-3
category: papers
published: true
tags:
- AI
---
{% include JB/setup %}
# Abstract
With the aim of attaining increased fluency and efficiency in human-robot teams, we have developed a cognitive architecture for robotic teammates based on the neuro-psychological principles of anticipation and perceptual simulation through top-down biasing. An instantiation of this architecture was implemented on a non-anthropomorphic robotic lamp, performing a repetitive human-robot collaborative task.
In a human-subject study in which the robot works on a joint task with untrained subjects, we find our approach to be significantly more efficient and fluent than in a comparable system without anticipatory perceptual simulation. We also show the robot and the human to improve their relative contribution at a similar rate, possibly playing a part in the human’s “like-me” perception of the robot.
In self-report, we find significant differences between the two conditions in the sense of team fluency, the team’s improvement over time, the robot’s contribution to the efficiency and fluency, the robot’s intelligence, and in the robot’s adaptation to the task. We also find differences in verbal attitudes towards the robot: most notably, subjects working with the anticipatory robot attribute more human qualities to the robot, such as gender and intelligence, as well as credit for success, but we also find increased self-blame and self-deprecation in these subjects’ responses.
We believe that this work lays the foundation towards modeling and evaluating artificial practice for robots working in collaboration with humans.
| 55.615385 | 584 | 0.806362 | eng_Latn | 0.998043 |
98b27af4eebc7f9d3989da69e0d583637bf0c2b9 | 155 | md | Markdown | react-web-cli/README.md | brainpoint/citong-react-web | 61a0c52493865f95bd9b726ef96cc5001c07e880 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 1 | 2016-10-20T19:09:12.000Z | 2016-10-20T19:09:12.000Z | react-web-cli/README.md | brainpoint/citong-react-web | 61a0c52493865f95bd9b726ef96cc5001c07e880 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | react-web-cli/README.md | brainpoint/citong-react-web | 61a0c52493865f95bd9b726ef96cc5001c07e880 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | # The React Web CLI tools
> preinstall: react-native-cli@^1.0.0
* `febs-react-web init <ProjectDir>`
* `febs-react-web start`
* `febs-react-web bundle`
| 19.375 | 38 | 0.690323 | eng_Latn | 0.340652 |
98b353f7af198ff8fde2a682e8163b9e9ec45676 | 1,965 | md | Markdown | storage-blob-static-website/README.md | swoog/github-actions | aa9c788f259fa7103c5676288091ea83dec1b6ec | [
"MIT"
] | null | null | null | storage-blob-static-website/README.md | swoog/github-actions | aa9c788f259fa7103c5676288091ea83dec1b6ec | [
"MIT"
] | null | null | null | storage-blob-static-website/README.md | swoog/github-actions | aa9c788f259fa7103c5676288091ea83dec1b6ec | [
"MIT"
] | null | null | null | # GitHub Action for deploying to a Static Website in Azure Blob Storage
## Usage
```workflow
action "Upload to Static Website in Azure Blob Storage" {
needs = "AzureLogin"
uses = "Azure/github-actions/storage-blob-static-website@master"
env = {
AZURE_STORAGE_ACCOUNT = "<Azure Storage Account>"
PUBLIC_FOLDER = "<Public folder from which to deploy>"
}
secrets = [
"AZURE_STORAGE_ACCOUNT",
"SAS_TOKEN"
]
}
```
> See [the examples page](./EXAMPLES.md) for examples.
## Configuration
### Environment variables
- `PUBLIC_FOLDER` - *Optional* (defaults to `public`)
> Local file from which to upload contents
- `INDEX_FILE` - *Optional* (defaults to `index.html`)
> The `index.html` file
- `NOT_FOUND_FILE` - *Optional* (defaults to `404.html`)
> The file to be used in case of a `404` status code
- `SHOULD_EMPTY` - *Optional* (defaults to false)
> Whether the `$web` container should be emptied before uploading new content
### Secrets
- `AZURE_STORAGE_ACCOUNT`
Name of the storage account in which the static website is to be hosted
- `SAS_TOKEN`
May be used (in combination) instead of the _Azure Login_ action to authenticate. See the [documentation](https://docs.microsoft.com/en-us/cli/azure/storage/blob?view=azure-cli-latest) for more information.
> Easily retrieve your key and generate a SAS token by using the Azure CLI. i.e.:
>
> ```bash
> az login # Login to Azure
> az storage account keys list --account-name $AZURE_STORAGE_ACCOUNT
> # ...Retrieve relevant key from JSON response and store in `$key`
> end=`date -v+30M '+%Y-%m-%dT%H:%MZ'` # Expiration date of the token (this will expire in 30 minutes)
> sas=`az storage account generate-sas --account-name $AZURE_STORAGE_ACCOUNT --account-key $key --resource-types c --services b --expiry $end --permissions adu`
> # `$key` will now hold your `AZURE_STORAGE_KEY` and `$sas` will now hold your `AZURE_STORAGE_SAS_TOKEN`
> ``` | 34.473684 | 208 | 0.70687 | eng_Latn | 0.803766 |
98b37672b0148cb2d13336693e2be46fc7e6b1ac | 3,698 | md | Markdown | README.md | MyanmarNLP/workshop-template-b | 8585fda949a1c30abb665992c6121a9aaebb9f9f | [
"MIT"
] | 1 | 2020-10-08T14:55:14.000Z | 2020-10-08T14:55:14.000Z | README.md | MyanmarNLP/workshop-template-b | 8585fda949a1c30abb665992c6121a9aaebb9f9f | [
"MIT"
] | null | null | null | README.md | MyanmarNLP/workshop-template-b | 8585fda949a1c30abb665992c6121a9aaebb9f9f | [
"MIT"
] | 2 | 2020-11-29T06:30:41.000Z | 2020-11-29T06:33:44.000Z | # workshop-template-b
A Jekyll template for a simple workshop website, with a [Bootstrap](https://getbootstrap.com/) theme, designed for hosting on [gh-pages](https://pages.github.com/).
Works best for about 5 pages of instructions, plus an index page, all written in Markdown.
The navigation to the main pages is exposed at top and bottom of each page for easy stepping through the sections.
> Note: for a more minimal version, try the original [workshop-template](https://github.com/evanwill/workshop-template)
## Why?
Rather than making slides for a workshop, why not make a website?
It's easier to write, access, share, and reuse.
GitHub and gh-pages makes this super easy.
It is a better Open Educational Resource since anyone can fork and adapt!
## Details
This repo is the demo skeleton.
The [site](https://evanwill.github.io/workshop-template-b/) demonstrates the output on gh-pages, and the content pages serve as examples.
Overview:
1. Copy the code to your own repository by clicking the green "Use this template" button, or import the [repository](https://github.com/evanwill/workshop-template-b) on GitHub.
2. Clone to your local machine, or work on the GitHub web interface to edit files.
3. Edit the `_config.yml` with your info.
4. Edit the content pages in markdown (found in the "content" folder).
5. Add images to the "images" folder.
5. Push to GitHub (or commit on the web interface).
6. In your repo's settings, activate gh-pages, using master branch.
When creating content pages:
- to include a page in the header and footer navigation, add `nav: true` to the file's yml front matter.
- the `title:` value will appear in the nav, sorted in the order of filenames. For simplicity use leading numbers in the lesson page filenames to create correct order.
- the default layout does not add `title` to the page, so it can be a short for the nav. Thus, add a title in the Markdown content.
Using figure include:
- put all images in the `images` directory.
- figures will be centered, and can optionally be given a caption and percentage width.
- in a markdown file where you want the image to appear, use the `figure.html` include on its own line.
- pattern: `{% include figure.html img="my-cat.jpg" alt="cat" caption="My cat" width="50%" %}`
Basic style customization:
- the `custom.scss` in the `assets/css` folder exposes variables that can customize the basic style of website.
- Give a tiny splash of color on the header and footer borders by tweaking the `$top-border`
- `$link-color` colors links
Using optional google analytics:
- add your analytics id to `_config.yml` in `google_analytics:`
- if `google_analytics:` is blank, the ga code will not added
- analytics code will only be added when using "production" environment. This happens automatically on gh-pages. To build locally, use `JEKYLL_ENV=production jekyll build`
> Repository does not include a Gemfile because it is a very simple project.
> Originally built using Ruby 2.5+ and Jekyll 3.7+; most recently used Jekyll 4.0.0.
## Demos
- [Demo](https://evanwill.github.io/workshop-template-b/) (this repository)
- [Make OER!](https://evanwill.github.io/make-oer/) (presentation)
- [Hey API!](https://evanwill.github.io/hey-api/) (workshop)
- [Web Crash Course](https://evanwill.github.io/web-crash-course/) (workshop)
My workshop sites using an [minimal version of this template](https://github.com/evanwill/workshop-template) (no bootstrap):
- [get-git](https://evanwill.github.io/get-git/)
- [hello-arduino](https://evanwill.github.io/hello-arduino/)
- [clean-your-data](https://evanwill.github.io/clean-your-data/)
- [go-go gh-pages](https://evanwill.github.io/go-go-ghpages/)
| 49.972973 | 176 | 0.752299 | eng_Latn | 0.986661 |
98b3b9f11e3d429e8559a1eda7b704b0c556bffc | 493 | md | Markdown | _feats/hammer-the-gap.md | tynansdtm/pathminder.github.io | 9a0cb763af82c13804def4197e0535ee54453581 | [
"OML",
"RSA-MD"
] | 8 | 2016-07-24T04:27:04.000Z | 2019-10-03T21:31:23.000Z | _feats/hammer-the-gap.md | tynansdtm/pathminder.github.io | 9a0cb763af82c13804def4197e0535ee54453581 | [
"OML",
"RSA-MD"
] | 11 | 2016-07-11T11:41:13.000Z | 2022-02-26T02:55:19.000Z | _feats/hammer-the-gap.md | tynansdtm/pathminder.github.io | 9a0cb763af82c13804def4197e0535ee54453581 | [
"OML",
"RSA-MD"
] | 8 | 2016-04-03T17:58:13.000Z | 2020-08-01T03:01:11.000Z | ---
title: Hammer the Gap
tags:
- Combat
sources:
- Pathfinder Roleplaying Game Ultimate Combat
flavor_text: You repeatedly strike the same location, causing increasing amounts of damage.
prerequisites:
- base attack bonus +6
benefit: |
When you take a full-attack action, each consecutive hit against the same opponent deals extra damage equal to the number of previous consecutive hits you have made against that opponent this turn. This damage is multiplied on a critical hit.
---
| 35.214286 | 244 | 0.780933 | eng_Latn | 0.998183 |
98b3cf41d55d1dccffbf0652064b05be37ee32e9 | 5,874 | md | Markdown | _posts/2020-07-10-CSS-summary.md | KerwenZhang/kerwenzhang.github.io | 898e9ca374ad5ee5fa3c844d1d0bee32df8d3335 | [
"Apache-2.0"
] | null | null | null | _posts/2020-07-10-CSS-summary.md | KerwenZhang/kerwenzhang.github.io | 898e9ca374ad5ee5fa3c844d1d0bee32df8d3335 | [
"Apache-2.0"
] | 2 | 2021-01-28T20:24:02.000Z | 2021-05-10T14:38:23.000Z | _posts/2020-07-10-CSS-summary.md | KerwenZhang/kerwenzhang.github.io | 898e9ca374ad5ee5fa3c844d1d0bee32df8d3335 | [
"Apache-2.0"
] | null | null | null | ---
layout: post
title: "CSS 总结"
date: 2020-07-10 9:00:00
categories: "Web"
catalog: true
tags:
- Web
---
[HTML](https://blog.csdn.net/wuyxinu/article/details/103515157)
[CSS](https://blog.csdn.net/wuyxinu/article/details/103583618)
[JS](https://blog.csdn.net/wuyxinu/article/details/103642800)
[JS-下](https://blog.csdn.net/wuyxinu/article/details/103646041)
[jQuery](https://blog.csdn.net/wuyxinu/article/details/103669718)
[Node.js + Gulp](https://blog.csdn.net/wuyxinu/article/details/103774211)
### css的引入方式
在HTML中引入CSS共有3种方式:
(1)外部样式表; (2)内部样式表; (3)内联样式表;
#### 外部样式表
所谓的“外部样式表”,就是把CSS代码和HTML代码都单独放在不同文件中,然后在HTML文档head标签中使用link标签来引用CSS样式表。 当样式需要被应用到多个页面时,外部样式表是最理想的选择。
<link href="index.css" rel="stylesheet" type="text/css" />
#### 内部样式表
内部样式,指的就是把CSS代码和HTML代码放在同一个文件中.
<head>
<title></title>
<style type="text/css">
p{
color:Red;
}
</style>
</head>
#### 内联样式表
是把CSS代码和HTML代码放在同一个文件中,在标签的style属性中定义.
<body>
<p style="color:Red; ">段落</p>
</body>
### id和class
#### 元素的id属性
id属性被赋予了标识页面元素的唯一身份。如果一个页面出现了多个相同id属性取值,CSS选择器或者JavaScript就会因为无法分辨要控制的元素而最终报错。
<body>
<div id="first">TEST</div>
</body>
#### 元素的class属性
class,顾名思义,就是“类”。它采用的思想跟其他C、Java等编程语言的“类”相似。我们可以为同一个页面的相同元素或者不同元素设置相同的class,然后使得相同的class具有相同的CSS样式。
如果你要为两个元素或者两个以上元素定义相同的样式,建议使用class属性。
<body>
<div class="first">TEST</div>
<p class="first">TEST</p>
</body>
### CSS选择器
#### 元素选择器

#### id选择器
id名前面必须要加上前缀“#”,否则该选择器无法生效。id名前面加上“#”,表明这是一个id选择器。

#### class选择器
class名前面必须要加上前缀“.”(英文点号),否则该选择器无法生效。类名前面加上“.”,表明这是一个class选择器。

#### 子元素选择器
子元素选择器,就是选中某个元素下的子元素,然后对该子元素设置CSS样式。
父元素与子元素必须用空格隔开,从而表示选中某个元素下的子元素。

#### 群组选择器
群组选择器,就是同时对几个选择器进行相同的操作。
对于群组选择器,两个选择器之间必须用“,”(英文逗号)隔开,不然群组选择器无法生效。

### 文本样式
#### text-align
在CSS中,使用text-align属性控制文本的水平方向的对齐方式:左对齐、居中对齐、右对齐。
text-align: center /* 文本居中对齐 */
#### line-height
line-height属性指的是行高,而不是行间距。
height: 30px;
line-height: 30px; /* line-height等于height, 实现垂直居中的效果 */
### 边框样式
要设置一个元素的边框必须要设置以下3个方面:
(1)边框的宽度;
(2)边框的外观(实线,或者虚线);
(3)边框的颜色;
简洁的写法:
border:1px solid gray;
### 背景样式
#### background-color
div{
background-color:red;
}
color和background-color区别:
color为元素文本颜色,background-color为元素背景颜色
#### background-image
div {
background-image:url("../images/one piece.jpg") no-repeat;
}
### 超链接样式
去除超链接下划线:
text-decoration:none;
定义超链接伪类:
a:link{CSS样式} /* 定义a元素未访问时的样式 */
a:visited{CSS样式}
a:hover{CSS样式}
a:actived{CSS样式}
### 图片
#### 水平对齐text-align
text-align一般只用在两个地方:文本水平对齐和图片水平对齐。也就是说,text-align只对文本和img标签有效,对其他标签无效。
### CSS 盒子模型
在“CSS盒子模型”理论中,所有页面中的元素都可以看成一个盒子,并且占据着一定的页面空间。
每个盒子都是由content(内容)、padding(内边距)、margin(外边距)和border(边框)这四个属性组成的。此外,在盒子模型中,还有宽度width和高度height两大辅助性属性。

可以使用margin来实现盒子的居中对齐:
margin: 0 auto; /*居中对齐 */
### float布局
#### 正常文档流
在学习浮动布局之前,我们先来认识一下什么叫“正常文档流”。
什么叫文档流?简单来说,就是元素在页面出现的先后顺序。
那什么叫“正常文档流”呢?我们先来看一下正常文档流的简单定义:正常文档流,将窗体自上而下分成一行一行,块元素独占一行,相邻行内元素在每行中按从左到右地依次排列元素。


因为div、p、hr都是块元素,因此独占一行。而span、i、img都是行内元素,因此如果两个行内元素相邻,就会会位于同一行,并且从左到右排列。
#### 脱离正常文档流
所谓的脱离文档流就是指它所显示的位置和文档代码的顺序不一致了,比如可以用CSS控制div的显示位置,
在CSS布局中,我们可以使用浮动或者定位这两种技术来实现“脱离正常文档流”,从而随心所欲地控制着页面的布局。
#### 浮动float
在传统的印刷布局中,文本可以按照实际需要来围绕图片。一般把这种方式称为“文本环绕”。在网页设计中,应用了CSS的float属性的页面元素就像在印刷布局里被文字包围的图片一样。
<font color="red">浮动元素会生成一个块级框,而不论它本身是何种元素。</font>
#### 清除浮动clear
clear: left/right/both
### 定位布局
浮动布局比较灵活,但是不容易控制。而定位布局的出现,使得用户精准定位页面中的任意元素成为可能,使得网页布局变得更加随心所欲。当然由于定位布局缺乏灵活性,也给空间大小和位置不确定的版面布局带来困惑。
定位的方法有很多种,它们分别是固定定位(fixed)、相对定位(relative)、绝对定位(absolute)和静态定位(static)。
#### 固定定位fixed
当元素的position属性设置为fixed时,这个元素就被固定了,被固定的元素不会随着滚动条的拖动而改变位置。在视野中,固定定位的元素的位置是不会改变的。
position:fixed;
top:像素值;
bottom;像素值;
left:像素值;
right:像素值;

#### 相对定位relative
采用相对定位的元素,其位置是相对于它的原始位置计算而来的。相对定位是通过将元素从原来的位置向上、向下、向左或者向右移动来定位的。采用相对定位的元素会获得相应的空间。
<font color="red">CSS相对定位元素的位置是相对于原始位置而言,而固定定位元素的位置是相对浏览器而言! </font>

#### 绝对定位absolute
绝对定位在几种定位方法中使用最广泛,这种方法能够很精确地把元素移动到任意你想要的位置。
一个元素变成了绝对定位元素,这个元素就完全脱离正常文档流了,绝对定位元素的前面或者后面的元素会认为这个元素并不存在,即这个元素浮于其他元素上面,它是独立出来的。

#### 静态定位static
如果没有指定元素的position属性值,也就是默认情况下,元素是静态定位。
只要是支持position属性的html对象都是默认为static。static是position属性的默认值,它表示块保留在原本应该在的位置,不会重新定位。 | 28.376812 | 107 | 0.683691 | yue_Hant | 0.594306 |
98b3f70289028eca9ca454a97fd2ff7ee2fc3ee2 | 12,008 | md | Markdown | demos/2019_RHTE/labs/2.md | GeraldSP/mig-agnosticd | a495c9f5aea8996a964f45c1d4e462bec90fa382 | [
"Apache-2.0"
] | null | null | null | demos/2019_RHTE/labs/2.md | GeraldSP/mig-agnosticd | a495c9f5aea8996a964f45c1d4e462bec90fa382 | [
"Apache-2.0"
] | null | null | null | demos/2019_RHTE/labs/2.md | GeraldSP/mig-agnosticd | a495c9f5aea8996a964f45c1d4e462bec90fa382 | [
"Apache-2.0"
] | null | null | null | # 2.0 Prerequisites & Setup
Required versions of products used:
| Product | Versions |
| ----------- | ----------- |
| OpenShift 3.x | v3.7+ |
| OpenShift 4.x | v4.1+ |
Additionally, temporary object storage will be required perform a migration. This can be provided through: [AWS S3](https://aws.amazon.com/s3/), [Noobaa](https://www.noobaa.io/), or [Minio](https://min.io/).
## 2.1 Base requirements
* A computer with access to the Internet :-)
* SSH client (for Microsoft Windows users [Putty](https://www.putty.org/) is recommended)
* Firefox 17 or higher, or Chromium / Chrome
* oc client [Download from try.openshift.com](http://try.openshift.com)
## 2.2 Accessing the Bastion Host & Client VM
For certain tasks in the lab, you will need to ssh into bastion host. Remember that login details are presented by GuidGrabber.
e.g:

For *sshing* in the bastion host you can use your favorite ssh-client.
~~~sh
ssh lab-user@bastion.GUID.DOMAIN
e.g: ssh lab-user@bastion.d5fe.events.opentlc.com
~~~
<a id="markdown-verifications" name="verifications"></a>
## 2.3 Verifications
### 2.3.1 Verify 3.11 environment
1. Log into the 3.11 environment (A0005-A)
```bash
$ oc login https://master1.GUID.DOMAIN -u admin -p r3dh4t1!
The server uses a certificate signed by an unknown authority.
You can bypass the certificate check, but any data you send to the server could be intercepted by others.
Use insecure connections? (y/n): y
```
2. Verify that the `migration-operator` deployment is running in `mig` namespace and healthy
```bash
$ oc get deployment migration-operator -n mig
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
migration-operator 1 1 1 1 5m
```
3. Verify that `velero` is now running on the source in the `mig` namespace
```
$ oc get pods -n mig | grep velero
velero-7559946c5c-mh5sp 1/1 Running 0 2m
```
### 2.3.2 Verify 4.1 environment
1. Log into the 4.1 environment (A0005-B)
```bash
$ oc login https://api.cluster-GUID.GUID.DOMAIN:6443 -u admin -p r3dh4t1!
The server uses a certificate signed by an unknown authority.
You can bypass the certificate check, but any data you send to the server could be intercepted by others.
Use insecure connections? (y/n): y
```
1. Verify that you see the below pods now running in `mig` namespace, we are looking for pods of `controller-manager`, `velero`, and `migration-ui`
```bash
$ oc get pods -n mig
NAME READY STATUS RESTARTS AGE
migration-operator-437w4jd-88sf 1/1 Running 0 2m
controller-manager-79bf7cd7d-99sbr 1/1 Running 0 2m
migration-ui-6d84bb9879-w52qx 1/1 Running 0 2m
restic-6lhnp 1/1 Running 0 2m
velero-6bf58f4f88-6cpw8 1/1 Running 0 2m
```
## 2.4 CORS Configuration
CAM's UI is served out of the cluster
behind its own route, there are 3 distinct origins at play:
* The UI - (Ex: https://mig-ui-mig.apps.examplecluster.com)
* The OAuth Server - (Ex: https://openshift-authentication-openshift-authentication.apps.examplecluster.com)
* The API Server - (Ex: https://api.examplecluster.com:6443)
When the UI is served to the browser through it's route, the browser recognizes
its origin, and **blocks AJAX requests to alternative origins**. This is called
[Cross-Origin Resource Sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS),
and it's a deliberate browser security measure.
The full description of CORS is linked above, but without configuring the non-UI
origin servers, the requests will be blocked. To enable these requests,
the UI's origin should be whitelisted in a `corsAllowedOrigins` list for each
alternative origin. The servers should recognize this list and inspect the
origin of incoming requests. If the origin matches one of the CORS whitelisted
origins (the UI), there are a set of headers that are returned in the response
that inform the browser the CORS request is accepted and valid.
Additionally, for the same reasons described above, any requests that the UI
may make to source 3.x clusters will also have to be whitelisted by configuring
the same field in the 3.x cluster master-config.yaml. This causes the 3.x API
servers to accept the CORS requests incoming from the UI that was served out
of its OCP4 cluster's route.
1. SSH into bastion Host (3.11 environment - A0005-A).
```bash
$ ssh lab-user@bastion.GUID.DOMAIN
```
2. Run the following playbook to enable the proper CORS headers on the source v3.11 cluster. Be sure to provide the GUID and DOMAIN for your 4.1 environment. The cors.yaml is in /scripts directory of the lab-user's home directory.
```
$ GUID_4=<guid_of_ocp4> DOMAIN=<domain_of_ocp4 (sandboxXXXX.opentlc.com)> ansible-playbook cors.yaml
* CAUTION: Don't put the full domain in DOMAIN, only from the sandboxXXX.opentlc.com portion
```
e.g:
~~~
$ GUID_4=7f25 DOMAIN=sandbox605.opentlc.com ansible-playbook cors.yaml
[WARNING]: log file at /root/ansible.log is not writeable and we cannot create it, aborting
PLAY [localhost] *****************************************************************************************************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************************************************************************************************
ok: [localhost]
TASK [Fixing permissions of the key file] ****************************************************************************************************************************************************************************************************
changed: [localhost]
PLAY [masters] *******************************************************************************************************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************************************************************************************************
The authenticity of host 'master1.55b9.internal (192.168.0.127)' can't be established.
ECDSA key fingerprint is SHA256:M6vdO7YwQzFKmEybTwuqYLuLYPq3tTbpgNP7T6T6Yok.
ECDSA key fingerprint is MD5:9d:73:92:c2:92:41:8f:c6:9b:77:35:d6:97:5e:d8:29.
Are you sure you want to continue connecting (yes/no)? yes
ok: [master1.55b9.internal]
TASK [Adding new CORS rules] *****************************************************************************************************************************************************************************************************************
changed: [master1.55b9.internal]
TASK [Checking if atomic-openshift services exist] *******************************************************************************************************************************************************************************************
fatal: [master1.55b9.internal]: FAILED! => {"changed": true, "cmd": "systemctl status atomic-openshift-master-api", "delta": "0:00:00.006799", "end": "2019-08-19 14:09:36.933939", "msg": "non-zero return code", "rc": 4, "start": "2019-08-19 14:09:36.927140", "stderr": "Unit atomic-openshift-master-api.service could not be found.", "stderr_lines": ["Unit atomic-openshift-master-api.service could not be found."], "stdout": "", "stdout_lines": []}
...ignoring
TASK [Applying new configuration [atomic-openshift services]] ********************************************************************************************************************************************************************************
skipping: [master1.55b9.internal] => (item=atomic-openshift-master-api)
skipping: [master1.55b9.internal] => (item=atomic-openshift-master-controllers)
TASK [Applying new configuration [master-restart]] *******************************************************************************************************************************************************************************************
changed: [master1.55b9.internal] => (item=api)
changed: [master1.55b9.internal] => (item=controller)
PLAY RECAP ***********************************************************************************************************************************************************************************************************************************
localhost : ok=2 changed=1 unreachable=0 failed=0
master1.55b9.internal : ok=4 changed=3 unreachable=0 failed=0
~~~
### 2.4.1 Debugging CORS
If you experience issues with the CAM webui accessing your OCP3 cluster, you can use the information [here](https://github.com/fusor/mig-agnosticd/tree/master/cors#debugging-cors) to validate your configuration.
## 2.5 Prepare to use mig-ui from OCP 4.1 Cluster in your Browser
1. To visit the ui, look at the route on the OCP 4.1 Cluster
```bash
$ oc get routes migration -n mig -o jsonpath='{.spec.host}'
migration-mig.apps.cluster-0de0.0de0.sandbox335.opentlc.com
```
1. For this example we'd visit the below from our browser:
* https://migration-mig.apps.cluster-a21d.a21d.sandbox67.opentlc.com
### 2.5.1 Accept Certificates on Source and Destination Clusters
1. Before you can login you will need to accept the certificates with your
browser on both the source and destination cluster. To do this:
* Visit the link displayed by the webui for `.well-known/oauth-authorization-server`.
* For example:
* OCP 4.1: https://api.cluster-0de0.0de0.sandbox335.opentlc.com:6443/.well-known/oauth-authorization-server
* OCP 3.11: https://master.b79f.events.opentlc.com/.well-known/oauth-authorization-server
* OCP 3.11: https://master1.b79f.events.opentlc.com/api/v1/namespaces
* Refresh the page
* Get redirected to login page
1. Login with your credentials for the cluster.
* Username: admin
* Password: `r3dh4t1!`
1. We also need to accept the certificates from the OCP 3.11 cluster
* Visit the webui for OCP 3.11 console, for example: https://master.b79f.events.opentlc.com
* Login with the credentials for the cluster.
* Username: admin
* Password: `r3dh4t1!`
## 2.6 Object Storage Setup
CAM leverages object storage as temporary scratch space when performing migrations. This storage can be any object storage that presents an `S3 like` interface. Currently, we have tested AWS S3, NooBaa, and Minio.
For purposes of this lab, we have already deployed minio on the 4.1 cluster. Let's proceed with creating a bucket for our use:
1. Let's get the route to the Minio web UI from the bastion host.
```
$ oc get route -n gpte-minio
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
minio minio-gpte-minio.apps.cluster-0de0.0de0.sandbox335.opentlc.com minio 9000 None
```

2. Visit the route and login to manually create a bucket; login with Access Key: `minio` and Secret Key: `minio123`. Any bucket name will suffice, we choose `mybucket`.


We now have a bucket created. We will use this during our migration exercises.
### 2.6.1 Optional - NooBaa Installation and Setup
Optionally, we have also provided [instructions](./noobaa.md) for installation and setup of NooBaa in the 4.1 environment.
Next Lab: [Lab 3 - CPMA Overview](./3.md)<br>
Previous Lab: [Lab 1 - Introduction](./1.md)<br>
[Home](./README.md)
| 52.208696 | 448 | 0.592438 | eng_Latn | 0.588287 |
98b46bb924a05465eb09fb3e91a3e25b850a9ce4 | 2,199 | md | Markdown | README.md | adamTomasiewicz/_fixIT | ff71b8ddc12a31535405f3d3942cc5fe3e84afeb | [
"Apache-2.0"
] | null | null | null | README.md | adamTomasiewicz/_fixIT | ff71b8ddc12a31535405f3d3942cc5fe3e84afeb | [
"Apache-2.0"
] | 1 | 2020-03-29T08:15:19.000Z | 2020-03-29T08:15:19.000Z | README.md | adamTomasiewicz/_fixIT | ff71b8ddc12a31535405f3d3942cc5fe3e84afeb | [
"Apache-2.0"
] | null | null | null | -------
### ABOUT fixIT-organizer
--------
```
aplikacja do zarządzania zadaniami z możliwością zapisywania notatek
```
-------
### Główny widok aplikacji
--------
```
główny widok aplikacji z ekranem logowania:
```
<a href="https://ibb.co/fxF2NcX"><img src="https://i.ibb.co/71CXp9S/fix-IT-app-login.jpg" alt="fix-IT-app-login" border="0"></a>
-------
### Moduł Kalendarza
--------
```
Główny widok kalendarza:
```
<a href="https://ibb.co/dmGfrj2"><img src="https://i.ibb.co/7k2SXjW/fix-IT-app-dashboard.jpg" alt="fix-IT-app-dashboard" border="0"></a>
-------
### Wyszukiwanie wydarzeń
--------
```
Wyszukiwanie po nazwie wydarzenia i po filtrach kategorii:
```
<a href="https://ibb.co/KjW3TSq"><img src="https://i.ibb.co/PZgfq0h/fix-IT-app-search-Bar.jpg" alt="fix-IT-app-search-Bar" border="0"></a>
-------
### Podgląd i edycja wydarzeń
--------
```
Na zdjęciu edycja kategorii wydarzenia, zakresu czasu i powtarzalnosci wydarzenia:
```
<a href="https://ibb.co/qjY56j7"><img src="https://i.ibb.co/NC2SRCt/fix-IT-app-view-color-categories-recurssion.jpg" alt="fix-IT-app-view-color-categories-recurssion" border="0"></a>
-------
### Moduł notatnika
--------
```
Notatnik jest dostępny po zalogowaniu do Google Docs:
```
<a href="https://ibb.co/gDvtFZ9"><img src="https://i.ibb.co/mHvhF5T/fix-IT-app-notepad-google-Docs.jpg" alt="fix-IT-app-notepad-google-Docs" border="0"></a>
-------
### Dane Testowe
--------
```
Na poczatku najlepiej załadować dane testowe:
```
<a href="https://ibb.co/KWnqR7k"><img src="https://i.ibb.co/m4pq1tw/fix-IT-app-load-Test-Data.jpg" alt="fix-IT-app-load-Test-Data" border="0"></a>
-------
### Zamykanie aplikacji
--------
```
Aplikacje można zamknac krzyzykiem lub przez menu boczne:
```
<a href="https://ibb.co/kxtxdYX"><img src="https://i.ibb.co/KXJX1CW/fix-IT-app-menu-Bar-close-Prompt.jpg" alt="fix-IT-app-menu-Bar-close-Prompt" border="0"></a>
-------
### Co więcej?
--------
```
-w planach jest polaczenie aplikacji z serwisem webowym i synchronizacja danych via REST Api
https://github.com/adamTomasiewicz/_fixIT-organizer-api_spring-auth-hibernate
-autoryzacja użytkowników
-aplikacja mobilna na androida Java+Javie FX/Kotlin+TornadoFX
``` | 26.817073 | 182 | 0.668486 | pol_Latn | 0.954632 |
98b4a35b4ed74653405fb44d116bc089fbe0761f | 1,104 | md | Markdown | acknowledgments.md | stat-88/stat-88.github.io | 4938ec3900f4c75b527f2feec0612f7087df2a27 | [
"MIT"
] | null | null | null | acknowledgments.md | stat-88/stat-88.github.io | 4938ec3900f4c75b527f2feec0612f7087df2a27 | [
"MIT"
] | null | null | null | acknowledgments.md | stat-88/stat-88.github.io | 4938ec3900f4c75b527f2feec0612f7087df2a27 | [
"MIT"
] | null | null | null | ---
layout: page
title: Acknowledgments
---
#### August 2019 ####
A. Adhikari developed Stat 88 in Fall 2015 as a seminar course for about 25 students. The goal was for the participants to discover the mathematics together and then write it up correctly and in a manner that would be accessible to their peers. Though the course has now changed substantially and serves hundreds of students each semester, its foundations were established by the class of Fall 2015:
Shreya Agarwal, Thomas Anthony, Bryannie Bach, Adith Balamurugan, Betty Chang, Aditya Gandhi, Dibya Ghosh, Edward Huang, Jiayi Huang, Weston Hughes, Arvind Iyengar, Andrew Linxie, Rahil Mathur, Nishaad Navkal, Kyle Nguyen, Christopher Sauceda, Rohan Singh, Parth Singhal, Max Weinstein, Yu Xia, Anthony Xian, and Ling Xie.
Dibya Ghosh continued to work with me on the textbook and was the editor of subsequent drafts.
Chris Holdgraf developed the system for publishing the book online.
The exposition owes much to two Berkeley texts: *Probability* by Jim Pitman, and the masterpiece *Statistics* by Freedman, Pisani, and Purves.
| 55.2 | 399 | 0.788043 | eng_Latn | 0.997402 |
98b5d2842d14b6a684b781b73933d3708e3a8d58 | 864 | md | Markdown | components-pro/text-field/demo/readonly.md | sunchir/choerodon-ui | 3f07b977304ee3198eb697a602e29a8b0a98f8b2 | [
"MIT"
] | 113 | 2020-10-14T12:56:25.000Z | 2022-03-30T11:18:04.000Z | components-pro/text-field/demo/readonly.md | sunchir/choerodon-ui | 3f07b977304ee3198eb697a602e29a8b0a98f8b2 | [
"MIT"
] | 34 | 2020-06-22T12:42:05.000Z | 2021-08-02T07:04:08.000Z | components-pro/text-field/demo/readonly.md | sunchir/choerodon-ui | 3f07b977304ee3198eb697a602e29a8b0a98f8b2 | [
"MIT"
] | 61 | 2020-09-29T02:46:46.000Z | 2022-03-31T03:19:49.000Z | ---
order: 3
title:
zh-CN: 只读
en-US: Read Only
---
## zh-CN
只读。
## en-US
Read Only.
````jsx
import { DataSet, TextField, Row, Col, Button } from 'choerodon-ui/pro';
class App extends React.Component {
ds = new DataSet({
autoCreate: true,
fields: [
{ name: 'bind', readOnly: true, defaultValue: 'huazhen' },
],
});
handleClick = () => {
this.ds.getField('bind').readOnly = false;
}
render() {
return (
<Row gutter={10}>
<Col span="12">
<TextField placeholder="只读" readOnly />
</Col>
<Col span="6">
<TextField dataSet={this.ds} name="bind" placeholder="DataSet限定只读" clearButton />
</Col>
<Col span="6">
<Button onClick={this.handleClick}>解除只读</Button>
</Col>
</Row>
);
}
}
ReactDOM.render(
<App />,
mountNode
);
````
| 16.301887 | 91 | 0.533565 | kor_Hang | 0.291882 |
98b69f19b79ecde5f4fefe79bf48ab4155844f2c | 13,980 | md | Markdown | README.md | websemantics/bragit | 1ca743715aecc3bfee922fa396e2c72ced73c9c5 | [
"MIT"
] | 17 | 2016-05-29T17:46:20.000Z | 2021-04-12T05:27:57.000Z | README.md | websemantics/semanti | 1ca743715aecc3bfee922fa396e2c72ced73c9c5 | [
"MIT"
] | 1 | 2018-07-08T12:15:25.000Z | 2018-07-08T12:15:25.000Z | README.md | websemantics/bragit | 1ca743715aecc3bfee922fa396e2c72ced73c9c5 | [
"MIT"
] | null | null | null | 
> Display your Github repositories stats in style using Semantic-UI labeled buttons. Working with [Semantic-UI labeled buttons](http://semantic-ui.com/elements/button.html#labeled) to represent Github buttons (Stars, Forks, Watchers, Issues, Download and Contributors), this jQuery library requests a Github repository information and updates the associated buttons accordingly.
[](https://travis-ci.org/websemantics/bragit) [](https://raw.githubusercontent.com/websemantics/bragit/master/LICENSE) [](https://github.com/websemantics/bragit/network) [](https://github.com/websemantics/bragit/stargazers)
[](http://isitmaintained.com/project/websemantics/bragit "Percentage of issues still open") [](http://standardjs.com/)
#### [Try it](http://websemantics.github.io/bragit/)
> Or follow the How To guide
## Getting Started
1- Include the following script in a web page. Notice the release number `1.0.6` in the url; change as needed.
```html
<script type="text/javascript" src="https://cdn.rawgit.com/websemantics/bragit/1.0.6/bragit.js"></script>
```
2- Add a labeled button as specified in [Semantic-UI documentation](http://semantic-ui.com/elements/button.html#labeled).
3- Add a custom class name for the Github button you desire following a basic convention **`github-{username}-{repo}-{action}`** where action can be, **stars**, **forks**, **watchers**, **issues**, **download** or **contributors**.
```html
<a class="ui labeled tiny button github-websemantics-bragit-stars">
<div class="ui brand tiny button">
<i class="star icon"></i> Stars
</div>
<div class="ui basic brand left pointing label">
<i class="spinner loading icon"></i>
</div>
</a>
```
The above example shows how to add a `stars` button of this repository, **Bragit**. The class name constructed as `github-websemantics-bragit-stars`. Following the above formula, other possible classes / buttons for this repository would be,
```
github-websemantics-bragit-stars
github-websemantics-bragit-forks
github-websemantics-bragit-watchers
github-websemantics-bragit-issues
github-websemantics-bragit-download
```
## Preview

## Behind the Scenes
The library takes care of many things behind closed doors. For one thing, it makes sure that the buttons styles are loaded if the [Semantic-UI](http://semantic-ui.com/elements/button.html#labeled) framework was not detected in the loaded document.
The code will automatically inject the css files that contain the styles of three `Semantic-UI` components `button`, `icon` and `label` using a public cdn `https://cdnjs.cloudflare.com/ajax/libs/semantic-ui`
This can be overridden if required as follows
```html
<script type="text/javascript">
Bragit.defaults({ css: {
version: '2.1.8',
inject: false,
uri: 'https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/{{version}}/components/{{module}}.min.css',
modules: ['button', 'icon', 'label'],
custom: null
}});
</script>
```
Notice the `inject` flag which is responsible to force the injection of the specified components styles if set to `true`. Other modules can be added to the list of auto-loaded components and or a custom css styles by setting the `custom` attribute `custom: "css/styles.css"`
#### Custom Class Names
As explained above, **Bragit** detects the existence of a unique css class name pattern, **`github-{username}-{repo}-{action}`** to retrieve the required Github repository information and update the associated labeled buttons accordingly.
However, should the need arise, this can be changed as follows,
```html
<script type="text/javascript">
Bragit.defaults({
delimiter: '-',
cls: 'github'
});
</script>
```
By changing the delimiter to say `_` and the class name **cls** to `brag`, the class name for the `stars` button of this repository will be `brag_websemantics_bragit_stars`.
#### Actions
**Bragit** supports a number of `actions` or `action buttons`, **stars**, **forks**, **watchers**, **issues**, **download** and **contributors**. These can be re-configured or more actions added through the `defaults` function,
```html
<script type="text/javascript">
Bragit.defaults({
actions: {
forks: {
uri: '/network',
property: 'forks_count'
},stars: {
uri: '/stargazers',
property: 'stargazers_count'
},watchers: {
uri: '/watchers',
property: 'subscribers_count'
},issues: {
uri: '/issues',
property: 'open_issues_count'
},github: {
uri: '',
property: null
},download: {
uri: '/archive/master.zip',
property: null
},contributors: {
uri: '/contributors',
property: null
}
}
});
</script>
```
Notice how each action has two attributes, a `uri` and a `property` name. **Bragit** appends the `uri` value to the repository `html_url` retrieved from Github API. This is then used to set the `href` value of the labeled button link element `a`. The `property` name is used to access a named attribute in the repository information returned from Github API.
For example, using `stargazers_count` as an index to the repository data will return an number value. This number/text is then used to update the label element of the associated button (and that's how the magic happens, ladies and gents).
#### Custom Buttons Styles
Semantic-UI [labeled buttons](http://semantic-ui.com/elements/button.html#labeled) come in all [colors](http://semantic-ui.com/usage/theming.html#using-themes) and [sizes](http://semantic-ui.com/elements/button.html#size). However we all need to customize styles to our needs sometimes. Here's a quick example of a new color named `brand` which is used in this project, **Bragit** to re-theme Github buttons as shown [here](http://websemantics.github.io/bragit/).
```css
/* styles for github action buttons */
.ui.brand.button, .ui.brand.buttons .button {
background-color: #756c74;
color: #fff!important;
}
.ui.brand.label {
color: #756c74!important;
border-color: #756c74!important;
background-color: #ffffff;
}
.ui.brand.button:focus, .ui.brand.buttons .button:focus,
.ui.brand.button:hover, .ui.brand.buttons .button:hover {
background-color: #9d959c;
}
.ui.brand.labels .label:focus, .ui.brand.label:focus,
.ui.brand.labels .label:hover, .ui.brand.label:hover {
color: #9d959c!important;
border-color: #9d959c!important;
}
.ui.labeled .ui.button .star.icon {
color: #F5CC7A!important;
}
```
All you need to do is to replace the main color `#756c74` and its lighter shade `#9d959c` to your own. Also notice how the `stars` icon has been colored golden. You can easily change that or even the colors of the other icons (`fork` for forks, `eye` for watchers, `info circle` for issues, `download` for download and `users` for contributors). The following is the code to display all the supports Github actions by **Bragit**.
```html
<!-- ************************( Stars )********************************-->
<a class="ui labeled tiny button github-websemantics-bragit-stars">
<div class="ui brand tiny button">
<i class="star icon"></i> Stars
</div>
<div class="ui basic brand left pointing label">
<i class="spinner loading icon"></i>
</div>
</a>
<!-- **********************( Forks )******************************-->
<a class="ui left labeled tiny button github-websemantics-bragit-forks">
<div class="ui basic brand right pointing label">
<i class="spinner loading icon"></i>
</div>
<div class="ui brand tiny button">
<i class="fork icon"></i> Forks
</div>
</a>
<!-- ***********************( Watchers )*******************************-->
<a class="ui labeled tiny button github-websemantics-bragit-watchers">
<div class="ui brand tiny button">
<i class="eye icon"></i> Watchers
</div>
<div class="ui basic brand left pointing label">
<i class="spinner loading icon"></i>
</div>
</a>
<!-- ************************( Issues )********************************-->
<a class="ui left labeled tiny button github-websemantics-bragit-issues">
<div class="ui basic brand right pointing label">
<i class="spinner loading icon"></i>
</div>
<div class="ui brand tiny button">
<i class="info circle icon"></i> Issues
</div>
</a>
<!-- ************************( Download )********************************-->
<a class="ui brand tiny button github-wecs-bragit-download">
<i class="download icon"></i> Download
</a>
<!-- **********************( Contributors )******************************-->
<a class="ui brand tiny button github-websemantics-bragit-contributors">
<i class="users icon"></i> Contributors
</a>
```
## Using Bower
If the use of [Bower](http://bower.io/) is prefered, one can either include **Bragit** in the `bower.json` file or install from the command line,
```
Bower install bragit
```
## Contributions
We are more than happy to accept external contributions to the project in the form of feedback, bug reports and even better - pull requests :)
To start development of **Bragit** locally on your machine run through the following steps,
- Install NPM dependencies,
```bash
npm i
```
- Optionally, install Bower dependencies to view the demo app located at `./demo` folder,
```bash
bower i
```
- Make changes to `./bragit.js`,
- Increase the current release number,
```bash
npm run change-version 1.0.6 1.0.7
```
Notice that, the the first parameter is the current release followed by the new version number,
The [change-version](https://github.com/twbs/bootstrap/blob/master/grunt/change-version.js) script will change all the files that contain the current version number including `package.js`, `bower.js`, `bragit.js`, `README.md`, `demo/js/index.js` and `CHANGELOG` (undo any changes to `CHANGELOG`).
This saves time and an unnecessary pain trying to find all release number instances, so huge thanks to [Bootstrap](https://github.com/twbs/bootstrap) contributors for this script.
- Build a distribution bundle, which will be stored at `./dist/bragit.js`,
```bash
npm run build
```
- Publish the new NPM package (owner)
```bash
npm publish
```
- Register for Bower (owner),
```bash
bower register
```
- Release a CDN instance,
Browse to [Rawgit](http://rawgit.com),
Publish a tagged version of `dist/bragit.js` bundle, for example
```html
https://github.com/websemantics/bragit/blob/1.0.6/dist/bragit.js
```
## Bragit in the Wild
Here a list of awesome projects (ahem) that use **Bragit**, .. let's all applaud, right,
* [Themeblr](https://websemantics.github.io/themeblr/), A powerful CSS framework boilerplate and Bootstrap 4](http://v4-alpha.getbootstrap.com/) themes builder.
* [Brimer](https://websemantics.github.io/brimer/), Github [Primer](http://primercss.io) CSS toolkit with a 'B' (as in Bootstrap).
* [Semantic Ant](https://websemantics.github.io/semantic-ant), A custom theme for building beautiful modern Web apps with the combined awesomeness of [Semantic-UI](http://semantic-ui.com/) framework and the elegant minimal styles of [Ant Design](http://ant.design/) for beautiful and responsive layouts.
* [Strapant](https://github.com/websemantics/strapant), [Ant Design](http://ant.design/) inspired theme for Twitter [Bootstrap 4](http://v4-alpha.getbootstrap.com/).
* [Semantic Strap](https://github.com/websemantics/semantic-strap), [Semantic-UI](http://semantic-ui.com/) inspired theme for Twitter [Bootstrap 4](http://v4-alpha.getbootstrap.com/).
* [Github SPA](https://websemantics.github.io/gh-pages-spa/), Easy way to enable Single Page Applications for GitHub Pages.
* [Image Select](https://github.com/websemantics/Image-Select), jQuery library that provides image support for Single and Multi select HTML tags to be used with [Chosen](https://harvesthq.github.io/chosen/).
* [Semantic Dojo](https://github.com/websemantics/semantic-dojo), A responsive [Dojo Toolkit](https://dojotoolkit.org/) theme that harnesses the style awesomeness of [Semantic-UI documentation](http://semantic-ui.com/elements/button.html#labeled) framework.
* [Palette Genie](https://github.com/websemantics/palette-genie), Turns color values from an Image or PhotoShop ACO file into a list of named colors, lighter and darker shades, CSS classes and a beautiful style guide.
* [Vimeo Upload](https://github.com/websemantics/vimeo-upload), Upload Vimeo videos and update their metadata directly from the browser.
* [Boxed](https://github.com/websemantics/boxed), Lightweight Boilerplate Generator that does not require the Command-line Interface (CLI) to customize software addons and packages, for the Visually-oriented Developers.
* [Oea.svg](https://github.com/websemantics/oeasvg.com), A library for building SVG interactive web applications. It provides three packages: Java.js, Draw2D.svg and Swing.svg, that makes building SVG apps a breeze.
* [Browser.js](https://github.com/websemantics/Browser.js), An implementation of MathML, HTML and SVG Layout Manager and CSS Processor (i.e. Browser) in JavaScript.
* [Hotdraw.js](https://github.com/websemantics/Hotdraw.js), a port of JHotDraw version 5.1. It is based on Erich Gamma's JHotDraw, which is copyright 1996, 1997 by IFA Informatik and Erich Gamma.
## License
[MIT](LICENSE)
Copyright (c) Web Semantics, Inc.
| 41.360947 | 519 | 0.705436 | eng_Latn | 0.787065 |
98b6bd4c0c2b5cbcb498932bedfec908238f81af | 1,242 | md | Markdown | blogs/go/build_git_ldflags.md | AmitKumarDas/Decisions | 030db882b689c49ef5cbb4f80882fbf40d921d86 | [
"Apache-2.0"
] | 10 | 2018-09-20T09:41:43.000Z | 2021-09-26T16:07:48.000Z | blogs/go/build_git_ldflags.md | AmitKumarDas/Decisions | 030db882b689c49ef5cbb4f80882fbf40d921d86 | [
"Apache-2.0"
] | 271 | 2017-12-04T04:10:00.000Z | 2020-12-04T09:17:32.000Z | blogs/go/build_git_ldflags.md | AmitKumarDas/Decisions | 030db882b689c49ef5cbb4f80882fbf40d921d86 | [
"Apache-2.0"
] | 1 | 2019-03-27T08:25:31.000Z | 2019-03-27T08:25:31.000Z | ```go
// https://github.com/AmadeusITGroup/kanary/blob/master/pkg/utils/version.go
```
```go
package utils
import (
"fmt"
"time"
)
//BUILDTIME should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/kubervisor/pkg/utils.BUILDTIME=${DATE}
//with for example DATE=$(shell date +%Y-%m-%d/%H:%M:%S ) (pay attention not to use space!)
var BUILDTIME string
//TAG should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/kubervisor/pkg/utils.TAG=${TAG}
//with for example TAG=$(shell git tag|tail -1)
var TAG string
//COMMIT should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/kubervisor/pkg/utils.COMMIT=${COMMIT}
//with for example COMMIT=$(shell git rev-parse HEAD)
var COMMIT string
//BRANCH should be populated by at build time: -ldflags "-w -X github.com/amadeusitgroup/kubervisor/pkg/utils.BRANCH=${BRANCH}
//with for example BRANCH=$(shell git rev-parse --abbrev-ref HEAD)
var BRANCH string
// BuildInfos returns binary build information
func BuildInfos() {
fmt.Println("Program started at: " + time.Now().String())
fmt.Println("BUILDTIME=" + BUILDTIME)
fmt.Println("TAG=" + TAG)
fmt.Println("COMMIT=" + COMMIT)
fmt.Println("BRANCH=" + BRANCH)
}
```
| 32.684211 | 130 | 0.722222 | eng_Latn | 0.392913 |
98b81025cc6e5532cf9383f86a590f05661a8f91 | 4,081 | md | Markdown | README.md | Ritvik19/Vizard | 77a96f789cd2eaaa7faf22be6d7e1be7349b00e2 | [
"MIT"
] | 5 | 2021-02-21T06:20:06.000Z | 2021-11-18T12:00:42.000Z | README.md | Ritvik19/Vizard | 77a96f789cd2eaaa7faf22be6d7e1be7349b00e2 | [
"MIT"
] | null | null | null | README.md | Ritvik19/Vizard | 77a96f789cd2eaaa7faf22be6d7e1be7349b00e2 | [
"MIT"
] | 2 | 2021-02-23T18:22:05.000Z | 2021-11-18T12:00:58.000Z | # vizard
Intuitive, Interactive, Easy and Quick Visualizations for Data Science Projects
[](https://pepy.tech/project/vizard)
[](https://pepy.tech/project/vizard)
[](https://pepy.tech/project/vizard)
## Installation
pip install vizard
or
pip install git+https://github.com/Ritvik19/vizard.git
## Documentation
### Instantiate Vizard Object
The Vizard or VizardIn object holds the `DataFrame` along with its configurations including the `PROBLEM_TYPE`, `DEPENDENT_VARIABLE`, `CATEGORICAL_INDEPENDENT_VARIABLES`, `CONTINUOUS_INDEPENDENT_VARIABLES`, and `TEXT_VARIABLES`
import vizard
class config:
PROBLEM_TYPE = 'regression' or 'classification' or 'unsupervised'
DEPENDENT_VARIABLE = 'target_variable'
CATEGORICAL_INDEPENDENT_VARIABLES = [categorical_features]
CONTINUOUS_INDEPENDENT_VARIABLES = [continuous features]
TEXT_VARIABLES = [text features]
viz = vizard.Vizard(df, config)
# for interactive plots use:
viz = vizard.VizardIn(df, config)
### Exploratory Data Analysis
After Instatiating the `Vizard` object, you can try different plots for EDA
* Check Missing Values:
viz.check_missing()
* Count of Missing Values:
viz.count_missing()
* Count of Unique Values:
viz.count_unique()
* Count of Missing Values by Group:
viz.count_missing_by_group(class_variable)
* Count of Unique Values by Group:
viz.count_unique_by_group(class_variable)
### Target Column Analysis
Based on the type of problem, perform a univariate analysis of target column
viz.dependent_variable()
### Segmented Univariate Analysis
Based on the type of problem, preform segmented univariate analysis of all feature columns with respect to the target column
* Categorical Variables
viz.categorical_variables()
* Continuous Variables
viz.continuous_variables()
* Text Variables
viz.wordcloud()
viz.wordcloud_by_group()
viz.wordcloud_freq()
### Bivariate Analysis
Based on the type of variables, perform bivariate analysis on all the feature columns
* Pairwise Scatter
viz.pairwise_scatter()
* Pairwise Violin
viz.pairwise_violin()
* Pairwise Cross Tabs
viz.pairwise_crosstabs()
### Trivariate Analysis
Based on the type of variables, perform trivariate analysis on any of the feature columns
* Trivariate Bubble (Continuous vs Continuous vs Continuous)
viz.trivariate_bubble(x, y, s)
* Trivariate Scatter (Continuous vs Continuous vs Categorical)
viz.trivariate_scatter(x, y, c)
* Trivariate Violin (Categorical vs Continuous vs Categorical)
viz.trivariate_violin(x, y, c)
### Correlation Analysis
Based on the type of variables, perform correaltion analysis on all the feature columns
* Correlation Plot
viz.corr_plot()
* Pair Plot
viz.pair_plot()
* Chi Square Plot
viz.chi_sq_plot()
## Usage
1. [Classification Case](https://nbviewer.jupyter.org/github/Ritvik19/vizard-doc/blob/main/usage/Classification%20Case.ipynb)
2. [Regression Case](https://nbviewer.jupyter.org/github/Ritvik19/vizard-doc/blob/main/usage/Regression%20Case.ipynb)
3. [Text Classification Case](https://nbviewer.jupyter.org/github/Ritvik19/vizard-doc/blob/main/usage/Text%20Classification%20Case.ipynb)
4. [Unsupervised Case](https://nbviewer.jupyter.org/github/Ritvik19/vizard-doc/blob/main/usage/Unsupervised%20Case.ipynb)
5. [Classification Case (Interactive)](https://nbviewer.jupyter.org/github/Ritvik19/vizard-doc/blob/main/usage/Classification%20Interactive%20Case.ipynb)
6. [Regression Case (Interactive)](https://nbviewer.jupyter.org/github/Ritvik19/vizard-doc/blob/main/usage/Regression%20Interactive%20Case.ipynb)
7. [Unsupervised Case (Interactive)](https://nbviewer.jupyter.org/github/Ritvik19/vizard-doc/blob/main/usage/Unsupervised%20Interactive%20Case.ipynb) | 30.455224 | 227 | 0.74222 | eng_Latn | 0.300443 |
98b8947c1075de3d9f0d4c167646be531cd3cc74 | 62 | md | Markdown | README.md | pdpinch/content-test-10971 | c383947f2d68e56f80b72e5b7e0cf726de2cb062 | [
"BSD-2-Clause"
] | null | null | null | README.md | pdpinch/content-test-10971 | c383947f2d68e56f80b72e5b7e0cf726de2cb062 | [
"BSD-2-Clause"
] | null | null | null | README.md | pdpinch/content-test-10971 | c383947f2d68e56f80b72e5b7e0cf726de2cb062 | [
"BSD-2-Clause"
] | null | null | null | # content-test-10971
An edX course to test edx-platform#10971
| 20.666667 | 40 | 0.790323 | eng_Latn | 0.690751 |
98b92370dea193c67c86b54f6992cff637154e22 | 1,536 | md | Markdown | add/metadata/System.Windows.Forms/ProgressBarRenderer.meta.md | erikly/docs | 3de58af074aadfc5ad44c6c7106a0531d7cfa3e3 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | add/metadata/System.Windows.Forms/ProgressBarRenderer.meta.md | erikly/docs | 3de58af074aadfc5ad44c6c7106a0531d7cfa3e3 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | add/metadata/System.Windows.Forms/ProgressBarRenderer.meta.md | erikly/docs | 3de58af074aadfc5ad44c6c7106a0531d7cfa3e3 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2020-11-16T19:24:50.000Z | 2020-11-16T19:24:50.000Z | ---
uid: System.Windows.Forms.ProgressBarRenderer
ms.technology:
- "dotnet-winforms"
author: "stevehoag"
ms.author: "shoag"
manager: "wpickett"
---
---
uid: System.Windows.Forms.ProgressBarRenderer.DrawVerticalBar(System.Drawing.Graphics,System.Drawing.Rectangle)
ms.technology:
- "dotnet-winforms"
author: "stevehoag"
ms.author: "shoag"
manager: "wpickett"
---
---
uid: System.Windows.Forms.ProgressBarRenderer.ChunkThickness
ms.technology:
- "dotnet-winforms"
author: "stevehoag"
ms.author: "shoag"
manager: "wpickett"
---
---
uid: System.Windows.Forms.ProgressBarRenderer.DrawHorizontalChunks(System.Drawing.Graphics,System.Drawing.Rectangle)
ms.technology:
- "dotnet-winforms"
author: "stevehoag"
ms.author: "shoag"
manager: "wpickett"
---
---
uid: System.Windows.Forms.ProgressBarRenderer.ChunkSpaceThickness
ms.technology:
- "dotnet-winforms"
author: "stevehoag"
ms.author: "shoag"
manager: "wpickett"
---
---
uid: System.Windows.Forms.ProgressBarRenderer.IsSupported
ms.technology:
- "dotnet-winforms"
author: "stevehoag"
ms.author: "shoag"
manager: "wpickett"
---
---
uid: System.Windows.Forms.ProgressBarRenderer.DrawVerticalChunks(System.Drawing.Graphics,System.Drawing.Rectangle)
ms.technology:
- "dotnet-winforms"
author: "stevehoag"
ms.author: "shoag"
manager: "wpickett"
---
---
uid: System.Windows.Forms.ProgressBarRenderer.DrawHorizontalBar(System.Drawing.Graphics,System.Drawing.Rectangle)
ms.technology:
- "dotnet-winforms"
author: "stevehoag"
ms.author: "shoag"
manager: "wpickett"
---
| 21.333333 | 116 | 0.753906 | kor_Hang | 0.113158 |
98b92c3089762a70d239aff6efdd2e79a32fd541 | 53 | md | Markdown | README.md | jogriebel/test_projekt | d329644c040fc517a16c2a49adcf912b8ebde763 | [
"MIT"
] | null | null | null | README.md | jogriebel/test_projekt | d329644c040fc517a16c2a49adcf912b8ebde763 | [
"MIT"
] | null | null | null | README.md | jogriebel/test_projekt | d329644c040fc517a16c2a49adcf912b8ebde763 | [
"MIT"
] | null | null | null | # test_projekt
Git Tutorial am 9.2.2018 im C++ Kurs
| 17.666667 | 37 | 0.716981 | deu_Latn | 0.907208 |
98b9320788b26f202e7f8f9d62badea367857989 | 3,232 | md | Markdown | sig-usability/README.md | Akshit6828/community | 74ae2f97f7f57949505d4636b4b037ec31079e97 | [
"Apache-2.0"
] | 11 | 2017-01-20T16:20:03.000Z | 2022-01-31T05:01:07.000Z | sig-usability/README.md | Akshit6828/community | 74ae2f97f7f57949505d4636b4b037ec31079e97 | [
"Apache-2.0"
] | 2 | 2017-03-28T14:28:37.000Z | 2021-03-03T22:08:59.000Z | sig-usability/README.md | Akshit6828/community | 74ae2f97f7f57949505d4636b4b037ec31079e97 | [
"Apache-2.0"
] | 3 | 2017-03-02T04:27:16.000Z | 2020-11-11T16:25:33.000Z | <!---
This is an autogenerated file!
Please do not edit this file directly, but instead make changes to the
sigs.yaml file in the project root.
To understand how this file is generated, see https://git.k8s.io/community/generator/README.md
--->
# Usability Special Interest Group
The scope of SIG usability is the core end-user usability of the Kubernetes project. This covers topics like user experience and accessibility. The goals of the SIG are to ensure that the Kubernetes project is maximally usable by users of a variety of different backgrounds and abilities. Examples of efforts include internationalization and accessibility of documentation.
The [charter](charter.md) defines the scope and governance of the Usability Special Interest Group.
## Meetings
* Regular SIG Meeting: [Tuesdays at 9:00 PT (Pacific Time)](https://zoom.us/j/3832562240) (every third week). [Convert to your timezone](http://www.thetimezoneconverter.com/?t=9:00&tz=PT%20%28Pacific%20Time%29).
* [Meeting notes and Agenda](https://docs.google.com/document/d/1gJHgt8RpH4TvqPuC8NtR31-CMqtTYkHy_loxubHq8lg/).
* [Meeting recordings](https://www.youtube.com/playlist?list=PL69nYSiGNLP0eY-U8DVJWHBwKvMDEtOxx).
## Leadership
### Chairs
The Chairs of the SIG run operations and processes governing the SIG.
* Himanshu Pandey (**[@hpandeycodeit](https://github.com/hpandeycodeit)**), VMware
* Gaby Moreno Cesar (**[@morengab](https://github.com/morengab)**), IBM
* Tasha Drew (**[@tashimi](https://github.com/tashimi)**), VMware
## Emeritus Leads
* Rajakavitha Kodhandapani (**[@Rajakavitha1](https://github.com/Rajakavitha1)**)
* Vallery Lancey (**[@vllry](https://github.com/vllry)**)
## Contact
- Slack: [#sig-usability](https://kubernetes.slack.com/messages/sig-usability)
- [Mailing list](https://groups.google.com/forum/#!forum/kubernetes-sig-usability)
- [Open Community Issues/PRs](https://github.com/kubernetes/community/labels/sig%2Fusability)
- GitHub Teams:
- [@kubernetes/sig-usability-api-reviews](https://github.com/orgs/kubernetes/teams/sig-usability-api-reviews) - API Changes and Reviews
- [@kubernetes/sig-usability-bugs](https://github.com/orgs/kubernetes/teams/sig-usability-bugs) - Bug Triage and Troubleshooting
- [@kubernetes/sig-usability-feature-requests](https://github.com/orgs/kubernetes/teams/sig-usability-feature-requests) - Feature Requests
- [@kubernetes/sig-usability-misc](https://github.com/orgs/kubernetes/teams/sig-usability-misc) - General Discussion
- [@kubernetes/sig-usability-pr-reviews](https://github.com/orgs/kubernetes/teams/sig-usability-pr-reviews) - PR Reviews
- [@kubernetes/sig-usability-proposals](https://github.com/orgs/kubernetes/teams/sig-usability-proposals) - Design Proposals
- Steering Committee Liaison: Davanum Srinivas (**[@dims](https://github.com/dims)**)
## Subprojects
The following [subprojects][subproject-definition] are owned by sig-usability:
### sig-usability
- **Owners:**
- [kubernetes-sigs/sig-usability](https://github.com/kubernetes-sigs/sig-usability/blob/master/OWNERS)
[subproject-definition]: https://github.com/kubernetes/community/blob/master/governance.md#subprojects
<!-- BEGIN CUSTOM CONTENT -->
<!-- END CUSTOM CONTENT -->
| 55.724138 | 373 | 0.761139 | eng_Latn | 0.373146 |
98bafe2d48e66216bd30161ad7c4d57df2def2a3 | 2,359 | md | Markdown | README.md | omn1s/CanvasAutomations | 89463e57dd6846efe419f222f0a2d1d30724129e | [
"MIT"
] | null | null | null | README.md | omn1s/CanvasAutomations | 89463e57dd6846efe419f222f0a2d1d30724129e | [
"MIT"
] | null | null | null | README.md | omn1s/CanvasAutomations | 89463e57dd6846efe419f222f0a2d1d30724129e | [
"MIT"
] | null | null | null | # CanvasAutomations
A set of Powershell utilities designed for the administration of the Canvas LMS.
# Overview
Primarily, I wrote these functions to assist with SIS Data import, so this code assumes you have your SIS exporting users/terms/courses/sections/enrollments already. I've included a few extra functions just for monitoring SIS importing that may not need any access to the data CSVs to be useful.
Users of this program will need to write a script or function that actually DOES what you'd want to happen, because it's designed as just a bunch of useful functions. At the bottom of the script, you'll find an example of how I actually use these functions.
# Usage
* Download CanvasUtilities.ps1 and Config.xml
* Make key files for your test and production Canvas instances
* Create a csv file and enter the terms which you'd like to batch import enrollments against (you only need a column called Id, then the Canvas Ids of the applicable terms)
* Edit Config.xml
* Enter the locations of your key files in their respective tags
* Enter the location of the terms file for batch importing
* Put "prod" or "test" (no quotes) in the application level tag
* Enter the location of your SIS export in <SISDataDirectory>
* Enter the base URLs (including the account number and /) of your test/prod instances (https://canvas.x.x/api/v1/accounts/1/)
* Launch Powershell
* Navigate to the location of the downloaded script and type ./CanvasUtitilities.ps1 and press enter.
* You should now be able to run any of the functions present. I'd start with Get-CanvasTerms for a quick confirmation that all is working.
* Check out the last function, Start-MyCanvasImports, which uses all of the functions present. We use it to do all of our general and batch imports (enrollments / term).
# Notes
* We run this on a server with Windows Powershell 5, so I had to write my own Invoke-WebRequest with retries (version 6 has a retries option built in)
* I don't believe Canvas allows you to run more than one import at a time, so an asynchronous approach to solving this problem appears useless. If you know how multi_term_batch_mode works in the Canvas API, helping me understand it would be wonderful.
# Contributing
* Feel free to contribute, particularly if you have a solution to multi_term_batch_mode.
* Feel free to edit, share, or use however.
| 78.633333 | 295 | 0.782959 | eng_Latn | 0.998699 |
98bb7cf0bdb1578759c1c85ac6792a1cf7f84f72 | 1,449 | md | Markdown | docs/visual-basic/misc/bc30009.md | felpasl/docs.pt-br | 1b47adcbc2e400f937650f9de1cd0c511e80738e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/visual-basic/misc/bc30009.md | felpasl/docs.pt-br | 1b47adcbc2e400f937650f9de1cd0c511e80738e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/visual-basic/misc/bc30009.md | felpasl/docs.pt-br | 1b47adcbc2e400f937650f9de1cd0c511e80738e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Referência obrigatória ao assembly '<assemblyname>'que contém a interface implementada'<interfacename>'
ms.date: 07/20/2015
f1_keywords:
- vbc30009
- bc30009
helpviewer_keywords:
- BC30009
ms.assetid: b2dfb89d-7fde-4a8e-ba7f-fe1e59eabaca
ms.openlocfilehash: 72bfb9b518ed4c8432b90edba15c3e9821b401a2
ms.sourcegitcommit: 14355b4b2fe5bcf874cac96d0a9e6376b567e4c7
ms.translationtype: MT
ms.contentlocale: pt-BR
ms.lasthandoff: 01/30/2019
ms.locfileid: "55257593"
---
# <a name="reference-required-to-assembly-assemblyname-containing-the-implemented-interface-interfacename"></a>Referência obrigatória ao assembly '\<assemblyname >' que contém a interface implementada '\<interfacename >'
Referência obrigatória ao assembly '\<assemblyname >' que contém a interface implementada '\<interfacename >'. Adicione uma ao seu projeto.
A interface é definida em uma biblioteca de vínculo dinâmico (DLL) ou assembly que não é referenciado diretamente em seu projeto. O compilador do Visual Basic exige uma referência para evitar ambiguidade no caso da interface é definida em mais de uma DLL ou assembly.
**ID do erro:** BC30009
## <a name="to-correct-this-error"></a>Para corrigir este erro
- Inclua o nome da DLL ou assembly não referenciado em suas referências do projeto.
## <a name="see-also"></a>Consulte também
- [Solução de Problemas de Referências Quebradas](/visualstudio/ide/troubleshooting-broken-references)
| 46.741935 | 270 | 0.784679 | por_Latn | 0.994371 |
98bb8dfda4192229e66bb742c9d672dee1e74318 | 873 | md | Markdown | README.md | asilgag/cli-wrapper | 9df2685db294d479f424bc5c3c74826e06e2f68e | [
"MIT"
] | null | null | null | README.md | asilgag/cli-wrapper | 9df2685db294d479f424bc5c3c74826e06e2f68e | [
"MIT"
] | null | null | null | README.md | asilgag/cli-wrapper | 9df2685db294d479f424bc5c3c74826e06e2f68e | [
"MIT"
] | null | null | null | # cli-wrapper
A simple PHP wrapper over CLI commands.
## Installation
composer require asilgag/cli-wrapper
## Usage
use Asilgag\CliWrapper\CliWrapper;
use Asilgag\CliWrapper\CliCommand;
// Create a new CLI Wrapper
$cli = new CliWrapper();
// Set environment variables if needed.
$cli->setEnvironment('FOO', 'baz');
// Set global options for specific commands.
// In this example, all "rsync" commands will be suffixed with "--quiet".
$cli->getGlobalOptions('rsync')->add('--quiet');
// Create new command.
$command = new CliCommand('rsync', ['-avzh', '/source/path', '/target/path/']);
// Execute command. It will throw a RuntimeException if it exits with a non-zero code.
try {
$cli->exec($command);
}
catch (RuntimeException $e) {
// Do some logging
}
| 24.942857 | 90 | 0.623139 | eng_Latn | 0.836439 |
98bbbae223120aa7b063f080704bc9d63a2d09d3 | 18 | md | Markdown | README.md | haotian16cheng/TheMe | 4ab1856dd7326373877b080d2c3932641975de9e | [
"MIT"
] | null | null | null | README.md | haotian16cheng/TheMe | 4ab1856dd7326373877b080d2c3932641975de9e | [
"MIT"
] | null | null | null | README.md | haotian16cheng/TheMe | 4ab1856dd7326373877b080d2c3932641975de9e | [
"MIT"
] | null | null | null | # TheMe
Its Mine
| 6 | 9 | 0.666667 | eng_Latn | 0.837216 |
98bc3eb37f69313edc14b600f50a2dbdde31ab45 | 370 | md | Markdown | sdk-api-src/content/ntmsapi/index.md | amorilio/sdk-api | 54ef418912715bd7df39c2561fbc3d1dcef37d7e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | sdk-api-src/content/ntmsapi/index.md | amorilio/sdk-api | 54ef418912715bd7df39c2561fbc3d1dcef37d7e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | sdk-api-src/content/ntmsapi/index.md | amorilio/sdk-api | 54ef418912715bd7df39c2561fbc3d1dcef37d7e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
UID: NA:ntmsapi
title: Ntmsapi.h header
ms.assetid: bfdbba3f-aac9-3590-b1f9-5c985ff4abcd
ms.date: 01/11/2019
ms.keywords:
ms.topic: conceptual
tech.root: fs
f1_keywords:
- ntmsapi
- ntmsapi/ntmsapi
---
# Ntmsapi.h header
## -description
This header is used by Data Access and Storage. For more information, see:
- [Data Access and Storage](../_fs/index.md)
| 16.086957 | 74 | 0.727027 | eng_Latn | 0.432191 |
98bc3f12ff3e1c8128c2a26bf36a23e061f725b2 | 21 | md | Markdown | docs/README.md | sandman5919/magoko-tinker | 79c4ce8736d079dd7621a00f9165c2fb4889e825 | [
"Apache-2.0"
] | 1 | 2021-05-29T07:28:35.000Z | 2021-05-29T07:28:35.000Z | docs/README.md | sandman5919/magoko-tinker | 79c4ce8736d079dd7621a00f9165c2fb4889e825 | [
"Apache-2.0"
] | null | null | null | docs/README.md | sandman5919/magoko-tinker | 79c4ce8736d079dd7621a00f9165c2fb4889e825 | [
"Apache-2.0"
] | null | null | null | # MagOKO Tinker Docs
| 10.5 | 20 | 0.761905 | yue_Hant | 0.995904 |
98bd486f842babd86dd4ed2f30e4147efa6a1ec9 | 1,531 | md | Markdown | docs/release.md | kaister3/spring-cloud-huawei | cec642a3e500603c155f26e8a3d956a4e8450bbd | [
"Apache-2.0"
] | null | null | null | docs/release.md | kaister3/spring-cloud-huawei | cec642a3e500603c155f26e8a3d956a4e8450bbd | [
"Apache-2.0"
] | null | null | null | docs/release.md | kaister3/spring-cloud-huawei | cec642a3e500603c155f26e8a3d956a4e8450bbd | [
"Apache-2.0"
] | null | null | null | # 版本发布指南
版本发布是将项目的 jar 包发布到 maven 中央库。
## 准备
1. 需要首先申请 maven 中央库的权限,并准备好个人 gpg 秘钥。 具体操作可以参考[说明][osstype guide] 。
2. 每一个版本都对应一个 milestone。 发布版本前,关闭相应的 milestone,将不处理的 issue
移动到下一个 milestone。 参考 [github issue][issues]。
3. 配置好编译环境, maven, gpg等。
## 发布版本
1. 修改 pom 为目标版本号,并提交 PR 合入。
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=1.5.0
部分 Dockerfile 里面也引用了版本号,需要排查一定修改。
2. 下载项目代码。
git clone https://github.com/huaweicloud/spring-cloud-huawei.git
3. 切换到需要发布的分支
git checkout master
4. 做一个简单的验证,保证代码正确
mvn clean install -Pit -Pdocker -Dmaven.javadoc.skip=true -Dcheckstyle.skip=false -Drat.skip=false
5. 发布
mvn clean deploy -Prelease -DskipTests
6. 生成 release notes 。 在 github 页面打上 tag, 书写 release notes。
7. 发布完成,更新 SNAPSHOT 版本,并提交 PR
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=1.3.1-SNAPSHOT
## 版本验证
发布到中央仓库后,需要几个小时可以完成同步。仓库同步后,使用 [spring-cloud-huawei-samples][spring-cloud-huawei-samples]
项目进行验证。 并更新相关示例项目到最新版本。
1. 下载 spring-cloud-huawei-samples 项目
git clone https://github.com/huaweicloud/spring-cloud-huawei-samples
2. 修改版本号
<spring-cloud-huawei.version>1.3.5</spring-cloud-huawei.version>
3. 启动并运行相关示例项目, 详细参考项目的 README。
* 使用本地微服务引擎进行验证
* 使用微服务引擎专业版进行验证
[osstype guide]: https://www.cnblogs.com/softidea/p/6743108.html
[spring-cloud-huawei-samples]: https://github.com/huaweicloud/spring-cloud-huawei-samples
[issues]: https://github.com/huaweicloud/spring-cloud-huawei/issues
| 25.098361 | 106 | 0.718485 | yue_Hant | 0.450595 |
98bdcb7833aef350077b420f1aabf244deee1df0 | 5,034 | md | Markdown | CONTRIBUTING.md | skanehira/compose-ref | e8730c53e35f2955ced3b18e0567359bc6583f98 | [
"Apache-2.0"
] | 74 | 2020-04-07T13:09:24.000Z | 2022-03-24T09:49:36.000Z | CONTRIBUTING.md | skanehira/compose-ref | e8730c53e35f2955ced3b18e0567359bc6583f98 | [
"Apache-2.0"
] | 7 | 2020-04-09T03:33:18.000Z | 2022-01-12T19:13:41.000Z | CONTRIBUTING.md | 666zimzum666/compose-ref | 76433b4172b8b9caee1d43ad8e4a86c27d1e3218 | [
"Apache-2.0"
] | 19 | 2020-04-07T16:57:28.000Z | 2021-12-22T14:12:42.000Z | # Contributing
Contributions should be made via pull requests. Pull requests will be reviewed
by one or more maintainers and merged when acceptable.
The goal of the Compose Reference Implementation is to be a complete and simple
implementation of the
[Compose Specification](https://github.com/compose-spec/compose-spec/) that
targets the [Docker API](https://docs.docker.com/engine/api/). Contributors
using this code code should be able to:
- use it as a test harness to experiment with Compose specification changes
- understand the main concepts of the specification
- see a concrete example of how to develop her/his own implementation
## Successful Changes
We ask that contributors read the [Compose
Specification](https://github.com/compose-spec/compose-spec/blob/master/spec.md)
and [Compose
Vision](https://github.com/compose-spec/compose-spec/blob/master/VISION.md)
to ensure that proposed changes are aligned with the objectives of the Compose
project.
To help maintainers understand what user or developer problem needs to be
solved, the first step to a contribution is usually submitting an issue. A well
written issue is one that clearly outlines the developer or user problem that
needs to be solved along with a list of requirements for resolution of the
problem. If there are multiple possible solutions to the problem, these can be
outlined in the issue. Once consensus is reached on how to resolve the issue, a
pull request can be created.
Pull requests that propose minor changes or improvements may be submitted
without an associated issue or discussion.
For large or high impact changes, contributors can reach out to maintainers
before starting work. This will ensure that contributors and maintainers are
aligned and increase the chance that the change is accepted.
## Commit Messages
Commit messages should follow best practices and explain the context of the
problem and how it was solved-- including any caveats or follow up changes
required. They should tell the story of the change and provide readers an
understanding of what led to it.
[How to Write a Git Commit Message](http://chris.beams.io/posts/git-commit/)
provides a good guide for how to do so.
In practice, the best approach to maintaining a nice commit message is to
leverage a `git add -p` and `git commit --amend` to formulate a solid
change set. This allows one to piece together a change, as information becomes
available.
If you squash a series of commits, don't just submit that. Re-write the commit
message, as if the series of commits was a single stroke of brilliance.
That said, there is no requirement to have a single commit for a pull request,
as long as each commit tells the story. For example, if there is a feature that
requires a package, it might make sense to have the package in a separate commit
then have a subsequent commit that uses it.
Remember, you're telling part of the story with the commit message. Don't make
your chapter weird.
## Sign your work
The sign-off is a simple line at the end of the explanation for the patch. Your
signature certifies that you wrote the patch or otherwise have the right to pass
it on as an open-source patch. The rules are pretty simple: if you can certify
the below (from [developercertificate.org](http://developercertificate.org/)):
```
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
660 York Street, Suite 102,
San Francisco, CA 94110 USA
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
```
Then you just add a line to every git commit message:
Signed-off-by: Joe Smith <joe.smith@email.com>
Use your real name (sorry, no pseudonyms or anonymous contributions.)
If you set your `user.name` and `user.email` git configs, you can sign your
commit automatically with `git commit -s`.
| 42.302521 | 80 | 0.78228 | eng_Latn | 0.999807 |
98be447262c535be3d2a970e746960049192716d | 2,972 | md | Markdown | src/pages/series/fp/think-in-fp-04.md | Jerry-Hong/blog | 4feffcc03a65eb4f4c32218aa757a49f77ced97c | [
"MIT"
] | 2 | 2019-04-08T16:42:31.000Z | 2022-01-02T13:18:30.000Z | src/pages/series/fp/think-in-fp-04.md | Jerry-Hong/blog | 4feffcc03a65eb4f4c32218aa757a49f77ced97c | [
"MIT"
] | 1 | 2021-09-24T02:18:32.000Z | 2021-09-24T02:21:27.000Z | src/pages/series/fp/think-in-fp-04.md | Jerry-Hong/blog | 4feffcc03a65eb4f4c32218aa757a49f77ced97c | [
"MIT"
] | null | null | null | ---
templateKey: series
series: Think In FP
title: "Think in FP (04): 為什麼「純」?"
date: 2019-12-06T16:30:00.000Z
description: 在前幾篇文章中介紹了什麼是 Pure Function 以及保持 Function Pure 的第一步,今天要介紹為什麼我們推崇 Pure Function 以及 Pure Function 帶來了什麼好處!
image: /img/why-pure-function.png
tags:
- Functional Programming
- FP
- Function
---
## 為什麼要 Pure Function?

我們在前幾篇文章中已經提到 impure function 容易產生未知的 Bug,但我們都還沒深入地講述,為什麼要 Pure Function?
### 可預期 (確定性)
如 Think in FP (02) 所提,所有 Pure Function 的運作都是確定的,只要相同的輸入就能得到固定的輸出,不管執行幾次在什麼時間點執行都一樣,這奠定了 Pure Function 為我們帶來的各種好處!

### 容易理解
如前面提到的 Pure Function 是可以預期,這讓我們可以更容易理解該 Function 的行為,相較於 Impure Function 可能會受外部環境影響,我們需要花更多時間去理解 Impure Function 的程式碼。
```javascript
let isModifying = false;
// x 是一個 impure function
function x() {
// ...
if (isModifying) {
// 做某些事
}
// ...
}
```
如上面這段程式碼 `x` function 直接存取了外部變數,所以會受到環境影響。這讓我們單純從 `x` function 內部是無法得知它運作的行為,因為我們還需要知道 `x` 是在什麼時候被呼叫,以及 `isModifying` 有沒有被修改,在什麼時候被修改。這讓我們需要額外花許多時間才能理解整隻程式 (Context) 的運作方式。
### 可組合,可分割,可重用
因為 Pure Function 是可預期的,這讓我們可以組合各個小 Pure Function,變成一個大的 Function,也可以讓一個大的 Pure Function 切割成小的 Pure Function,而小的 Pure Function 就可以重複使用。
> 我們在 06 篇的文章會講解如何切割一個大的 Pure Function 以及如何把 Function 組合起來。
以上三點是 Pure Function 之所以重要的原因,同時也是讓 Pure Function 成為了 Functional Programming 核心的因素,整個 FP 基本上就是圍繞著 Pure Function 展開的!
## Pure Function 帶來什麼優勢?
除了上述提到的三點,Pure Function 同時帶來了其他額外的優勢,這些優勢會在某些的情境下發揮出來,幫助我們更輕鬆的面對要解決的問題!
### 更輕鬆的除錯 (Debug)
由於每個 Pure Function 都是可預期,不像 Impure Function 可能相依於某個外部變數,每次執行的結果可能不同,所以如果我們可以讓 Function 盡可能保持 Pure 的情況下,就可以很快速的找到 Bug 的來源,甚至會大幅降低 Bug 的出現。
### 更簡單的測試 (Test)
由於 Pure Function 是可預期的,這讓我們在做單元測試時會變得非常非常的容易,只要確認輸入跟輸出是符合預期的就可以了!
### 可快取 (Cache)
由於 Pure Function 的確定性,只要相同的輸入必定回得到相同的輸出,那我們要做 Memory Cache 就會非常的容易,只要透過一個 Object 或 Hash Map 把每次的輸入當作 key 返回值當作 value,並且在每次執行前先檢查輸入是否已經在該 Hash Map 裡,如果存在就直接取值返回,如果不存在再執行 Function。
一個簡單的實作如下
```javascript
let memoize = function(f) {
let cache = {};
return function(...args) {
let key = JSON.stringify(args);
cache[key] = cache[key] || f.apply(f, args);
return cache[key];
};
};
// ---- 使用方式 ----
const add = (x, y) => x + y;
const memoizeAdd = memoize(add);
memoizeAdd(1, 2) //3
```
### 可延遲運算 (Lazy Evaluation)
同樣的,由於 Pure Function 的確定性,不管在什麼時間點執行,只要相同的輸入就會得到相同的輸出,這使我們可以讓運算延遲也同時不會影響運算結果!而延遲運算可以幫助我們處理較大的數據,並在撰寫程式上更為容易。
> 可惜的是 JS 不像 Haskell 天生就有延遲運算的特性,對多數 JS 開發者而言不太能感受延遲運算所帶來的優勢,希望這個部分我們有機會在之後的章節講到!
### 可並行運算 (Parallelization)
最後也是最重要的一個優勢,就是我們可以並行的執行任何 Pure Function,因為 Pure Function 不會依賴外部狀態,也就是不需要共享記憶體,同時也不會有其他任何副作用,也因此不會有競爭危害 (race condition)的問題!
> 因為現代 CPU 核心數越來越多,可並行運算是現在必備的特性,也間接影響了新的語言多少都會用到 FP 的特性,尤其專門在做資料處理的語言尤為明顯。
## 小結
這篇文章介紹了為什麼我們推崇 Pure Function 以及 Pure Function 帶來哪些額外的優勢,Pure Function 是整個 Functional Programming 的核心,越到後面會發現我們其實都只是在運用 Function 這一個概念!這也是為什麼我們要花三篇文章在講解關於 Function 的理論基礎,這也是最後一篇了,下一篇讓我們進入實務的世界 - 一切從 Array 說起! | 29.137255 | 207 | 0.767833 | yue_Hant | 0.998505 |
98be5b6bbfd7b84303fbeaa501900f04e4011789 | 3,502 | md | Markdown | wdk-ddi-src/content/d3dkmddi/ne-d3dkmddi-_dxgk_wddmversion.md | jesweare/windows-driver-docs-ddi | a6e73cac25d8328115822ec266dabdf87d395bc7 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | wdk-ddi-src/content/d3dkmddi/ne-d3dkmddi-_dxgk_wddmversion.md | jesweare/windows-driver-docs-ddi | a6e73cac25d8328115822ec266dabdf87d395bc7 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | wdk-ddi-src/content/d3dkmddi/ne-d3dkmddi-_dxgk_wddmversion.md | jesweare/windows-driver-docs-ddi | a6e73cac25d8328115822ec266dabdf87d395bc7 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-12-08T21:34:31.000Z | 2021-12-08T21:34:31.000Z | ---
UID: NE:d3dkmddi._DXGK_WDDMVERSION
title: _DXGK_WDDMVERSION (d3dkmddi.h)
description: The DXGK_WDDMVERSION enumeration is reserved for system use. Except for the case noted below, do not use it in your driver.
old-location: display\dxgk_wddmversion.htm
ms.assetid: 2360224a-fa99-4b2c-a346-0129e3e95cd7
ms.date: 04/01/2020
keywords: ["DXGK_WDDMVERSION enumeration"]
ms.keywords: DXGKDDI_WDDMv1, DXGKDDI_WDDMv1_2, DXGKDDI_WDDMv2, DXGK_WDDMVERSION, DXGK_WDDMVERSION enumeration [Display Devices], DmEnums_3a73843a-4967-4faa-a217-42487ae4f865.xml, _DXGK_WDDMVERSION, d3dkmddi/DXGKDDI_WDDMv1, d3dkmddi/DXGKDDI_WDDMv1_2, d3dkmddi/DXGKDDI_WDDMv2, d3dkmddi/DXGK_WDDMVERSION, display.dxgk_wddmversion
req.header: d3dkmddi.h
req.include-header: D3dkmddi.h
req.target-type: Windows
req.target-min-winverclnt: Available in Windows 7 and later versions of the Windows operating systems.
req.target-min-winversvr:
req.kmdf-ver:
req.umdf-ver:
req.ddi-compliance:
req.unicode-ansi:
req.idl:
req.max-support:
req.namespace:
req.assembly:
req.type-library:
req.lib:
req.dll:
req.irql: PASSIVE_LEVEL
targetos: Windows
tech.root: display
req.typenames: DXGK_WDDMVERSION
ms.custom: 19H1
f1_keywords:
- _DXGK_WDDMVERSION
- d3dkmddi/_DXGK_WDDMVERSION
- DXGK_WDDMVERSION
- d3dkmddi/DXGK_WDDMVERSION
topic_type:
- APIRef
- kbSyntax
api_type:
- HeaderDef
api_location:
- d3dkmddi.h
api_name:
- DXGK_WDDMVERSION
dev_langs:
- c++
---
# _DXGK_WDDMVERSION enumeration
## -description
The DXGK_WDDMVERSION enumeration identifies the Windows Display Driver Model (WDDM) version. It is reserved for system use. Except for the case noted below, do not use it in your driver.
## -enum-fields
### -field DXGKDDI_WDDMv1
Reserved for system use. NOTE: If a driver does not support Windows 7 features (DXGKDDI_INTERFACE_VERSION < DXGKDDI_INTERFACE_VERSION_WIN7), and you want to compile the driver with the Windows 7 WDK (Version 7600), set the **WDDMVersion** member of the [**DXGK_DRIVERCAPS**](./ns-d3dkmddi-_dxgk_drivercaps.md) structure to DXGKDDI_WDDMv1.
### -field DXGKDDI_WDDMv1_2
Reserved for system use. Supported beginning with Windows 8.
### -field DXGKDDI_WDDMv1_3
WDDM version for Windows 8.1.
### -field DXGKDDI_WDDMv2
WDDM version for Windows 10, version 1507.
### -field DXGKDDI_WDDMv2_1
WDDM version for Windows 10, version 1607.
### -field DXGKDDI_WDDMv2_1_5
### -field DXGKDDI_WDDMv2_1_6
### -field DXGKDDI_WDDMv2_2
WDDM version for Windows 10, version 1703.
### -field DXGKDDI_WDDMv2_3
WDDM version for Windows 10, version 1709.
### -field DXGKDDI_WDDMv2_4
WDDM version for Windows 10, version 1803.
### -field DXGKDDI_WDDMv2_5
WDDM version for Windows 10, version 1809.
### -field DXGKDDI_WDDMv2_6
WDDM version for Windows 10, version 1903.
### -field DXGKDDI_WDDMv2_7
WDDM version for Windows 10, version 2004.
## -syntax
```cpp
typedef enum _DXGK_WDDMVERSION {
DXGKDDI_WDDMv1 = 0x1000,
DXGKDDI_WDDMv1_2 = 0x1200,
DXGKDDI_WDDMv1_3 = 0x1300,
DXGKDDI_WDDMv2 = 0x2000,
DXGKDDI_WDDMv2_1 = 0x2100,
DXGKDDI_WDDMv2_1_5 = 0x2105,
DXGKDDI_WDDMv2_1_6 = 0x2106,
DXGKDDI_WDDMv2_2 = 0x2200,
DXGKDDI_WDDMv2_3 = 0x2300,
DXGKDDI_WDDMv2_4 = 0x2400,
DXGKDDI_WDDMv2_5 = 0x2500,
DXGKDDI_WDDMv2_6 = 0x2600,
DXGKDDI_WDDMv2_7 = 0x2700
} DXGK_WDDMVERSION;
```
## -see-also
[VidPn Interface](../index.yml) | 27.359375 | 339 | 0.744717 | yue_Hant | 0.28968 |
98be6887805f405d71219c6fcb2ac2d77d7cfae3 | 88 | md | Markdown | docs/changelog.md | mPhpMaster/laravel-translatable | abf2175e233d71673b6025b60c8cf537508b73b3 | [
"MIT"
] | null | null | null | docs/changelog.md | mPhpMaster/laravel-translatable | abf2175e233d71673b6025b60c8cf537508b73b3 | [
"MIT"
] | null | null | null | docs/changelog.md | mPhpMaster/laravel-translatable | abf2175e233d71673b6025b60c8cf537508b73b3 | [
"MIT"
] | null | null | null | # Changelog
## v1.0.0
* Initial version
* Translatable is a class extending Eloquent
| 11 | 44 | 0.727273 | eng_Latn | 0.968215 |
98bf07275f274afb26de3d0401ed8dcb364ba2b1 | 191 | md | Markdown | README.md | ntbrock/davidsp8.DotNetSamlPost | 31b7d7d2ffbb66d24554dff9515423bbfaf8d032 | [
"MIT"
] | null | null | null | README.md | ntbrock/davidsp8.DotNetSamlPost | 31b7d7d2ffbb66d24554dff9515423bbfaf8d032 | [
"MIT"
] | null | null | null | README.md | ntbrock/davidsp8.DotNetSamlPost | 31b7d7d2ffbb66d24554dff9515423bbfaf8d032 | [
"MIT"
] | null | null | null | Source File replacements for https://www.codeproject.com/KB/aspnet/DotNetSamlPost/Saml_Source.zip to add feature for VU475445 testing.
Learn more at https://www.kb.cert.org/vuls/id/475445
| 31.833333 | 134 | 0.801047 | yue_Hant | 0.370392 |
98c01b8984af0c4c6672f1d62cff52a1ef591513 | 991 | md | Markdown | CHANGE_LOG.md | InTheBlack-cn/MorePlanets | b8ede62b967fe37e2dc0c9ab1987ed1e10985be1 | [
"MIT"
] | null | null | null | CHANGE_LOG.md | InTheBlack-cn/MorePlanets | b8ede62b967fe37e2dc0c9ab1987ed1e10985be1 | [
"MIT"
] | null | null | null | CHANGE_LOG.md | InTheBlack-cn/MorePlanets | b8ede62b967fe37e2dc0c9ab1987ed1e10985be1 | [
"MIT"
] | null | null | null | # Change Log
* + A Dog House
* + Re-Added Fronos Planet
* + Added a New Texture for Fronos Planet
* + Added New Blocks (Fronos Grass, Fronos Tall Grass, Fronos Fern, Fronos Lily Pad, Fronos Mushroom, Pink Blechnum, Nemophila, Large Wheat, Purple Bush)
* + Added New Logs/Planks/Trees/Saplings/Doors/Trapdoors (Oscalea, Frolia)
* + Added 4 Fronos Biomes (Meadow, Plains, River, Forest)
* + Added Blue Pear
* * World Environment color is now working, Chalos render more yellowish and Koentus render more bluish
* * Marshmallow sitting now plays cloth sound
* * Blue Pear now used to tempt Fronos Creatures
* * Wheat now used to breed Fronos Creatures
* * Some minor fixes to Fronos Creatures facial animation/texture
* * Fixed crash when trying render Infected Purlonite effect, Compatibility with JustEnoughResources. Closed #99
* * Fixed locale issues
* * Fixed some slab blocks not burning
* * Fixed breaking particle for Fronos Grass Block
* - Removed condition from 'space_portal' recipe | 52.157895 | 153 | 0.765893 | eng_Latn | 0.943678 |
98c0535942a659fd80a6580ee2b34293fbf228b0 | 1,764 | md | Markdown | _posts/2021-04-26-242394831.md | bookmana/bookmana.github.io | 2ed7b023b0851c0c18ad8e7831ece910d9108852 | [
"MIT"
] | null | null | null | _posts/2021-04-26-242394831.md | bookmana/bookmana.github.io | 2ed7b023b0851c0c18ad8e7831ece910d9108852 | [
"MIT"
] | null | null | null | _posts/2021-04-26-242394831.md | bookmana/bookmana.github.io | 2ed7b023b0851c0c18ad8e7831ece910d9108852 | [
"MIT"
] | null | null | null | ---
title: "MONEY"
date: 2021-04-26 01:22:40
categories: [국내도서, 자기계발]
image: https://bimage.interpark.com/goods_image/4/8/3/1/242394831s.jpg
description: ● 부의 거인들이 믿지 않는 경제시스템과 상식들20082009년 세계 경제위기는 저자 토니 로빈스의 마음을 움직였다. 앤서니 로빈스라는 이름으로[네 안에 잠든 거인을 깨워라](1992년),[거인의 힘 무한능력](1997년) 출간 이후 어떤 책도 쓸 필요를 느끼지 못했던 그가 경제적 위
---
## **정보**
- **ISBN : 9788925556826**
- **출판사 : 알에이치코리아(RHK)**
- **출판일 : 20150814**
- **저자 : 토니 로빈스(Tony Robbins)**
------
## **요약**
● 부의 거인들이 믿지 않는 경제시스템과 상식들20082009년 세계 경제위기는 저자 토니 로빈스의 마음을 움직였다. 앤서니 로빈스라는 이름으로[네 안에 잠든 거인을 깨워라](1992년),[거인의 힘 무한능력](1997년) 출간 이후 어떤 책도 쓸 필요를 느끼지 못했던 그가 경제적 위기로 삶 전체가 송두리째 무너진 사람들을 보면서 근본적인 해결책을 찾기로 나선 것이다. 토니 로빈스 본인 또한 어린 시절 4명의 아버지를 겪으며 처절한 경제적 궁핍함을 경험했고, 어렵게 모은 4억 달러에 달하는 순자산을 2000년 닷컴 붕괴 당시 한순간에 잃어본 적이 있었다. 그는 경제 위기로 수백만 명이 집과 직장을 잃고 가족이 흩어지는 아픔을 겪는 모습을 보며 이 비극적인 파탄을 몰고 온 원인, 즉 현재의 경제시스템과 금융...
------
이제 소비자가 아닌 투자가가 되어 돈을 굴려라!MONEY(머니)는 세계적인 동기부여 전문가이자 변화심리학의 권위자인 로빈스가 자신의 인생 경험과 최고 투자자 50명의 인터뷰를 통해 얻은 돈에 대한 지혜와 통찰을 바탕으로 보통 사람도 돈의 자유와 풍족함을 누리를 방법을 제시한다. 투자 세계를...
------
MONEY
------
## **리뷰**
5.0 김-정 열심히 읽어볼께요 2021.01.13 <br/>5.0 김-림 주변에 금융인들에게 소개많이 해 드린책입니다. 2020.08.15 <br/>5.0 정-화 좋아요 2020.03.09 <br/>5.0 정-윤 돈이 아깝지 않는 책이네요 몇만배의 가치가 있는책이여서 도서관에서 읽은 후 소장용으로 구입했어요 반복해서 계속 읽으렵니다 2020.02.27 <br/>5.0 정-윤 돈이 아깝지 않는 책이네요 몇만배의 가치가 있는책이여서 도서관에서 읽은 후 소장용으로 구입했어요 반복해서 계속 읽으렵니다 2020.02.27 <br/>5.0 유-근 기대됩니다 2020.02.15 <br/>5.0 김-울 이야기처럼 풀어나가는 경제 입문서. 강추합니다. 2020.01.29 <br/>5.0 이-남 정말 빠르고 두껍네요 2019.07.16 <br/>5.0 김-수 기대되는.책입니다 2019.03.09 <br/>5.0 송-진 좋아요 2017.10.13 <br/>5.0 전-주 자주이용하는상품입니다 2017.01.11 <br/>4.0 오-석 비록 두꺼운 도서이지만, 부를 성취하려는 사람이라면 반드시 읽어야 할 책인 것 같다 2015.10.07 <br/>4.0 현-훈 부를 이루기 위한 7단계와 그 세부 실행규칙들을 세밀하며 쉽게 풀이한 책이다. 800여 페이지가 넘는 분량에 양장이라 더욱 만족감을 주는 책이다 2015.09.27 <br/> | 46.421053 | 688 | 0.6678 | kor_Hang | 1.00001 |
98c0891ed1bddf30034ae7c826c28b075560b14b | 5,685 | md | Markdown | partner-center/incentives-view-funds.md | MicrosoftDocs/partner-center-pr.pt-br | 6f503bc78bed7ea86299b02e0b6fc2caf664a0ed | [
"CC-BY-4.0",
"MIT"
] | 5 | 2020-05-19T19:38:19.000Z | 2021-11-16T13:32:41.000Z | partner-center/incentives-view-funds.md | MicrosoftDocs/partner-center-pr.pt-br | 6f503bc78bed7ea86299b02e0b6fc2caf664a0ed | [
"CC-BY-4.0",
"MIT"
] | 1 | 2019-11-02T10:39:36.000Z | 2019-11-02T10:39:36.000Z | partner-center/incentives-view-funds.md | MicrosoftDocs/partner-center-pr.pt-br | 6f503bc78bed7ea86299b02e0b6fc2caf664a0ed | [
"CC-BY-4.0",
"MIT"
] | 5 | 2019-10-09T18:59:32.000Z | 2021-10-09T10:27:01.000Z | ---
title: Exibir fundos de cooperação disponíveis
ms.topic: article
ms.date: 09/27/2021
description: Saiba como exibir os fundos de cooperação ganhos, reivindicados e restantes, exibir datas de expiração e reconciliar valores inconsistentes.
ms.service: partner-dashboard
ms.subservice: partnercenter-incentives
author: Karthic83
ms.author: kashanum
ms.localizationpriority: medium
ms.openlocfilehash: 4b4767918a01beca2d42f80353a10f0c566ab15a
ms.sourcegitcommit: 947c91c2c6b08fe5ce2156ac0f205d829c19a454
ms.translationtype: MT
ms.contentlocale: pt-BR
ms.lasthandoff: 10/12/2021
ms.locfileid: "129819351"
---
# <a name="view-available-earned-claimed-and-remaining-co-op-funds"></a>Exibir fundos de cooperação acumulados, reivindicados e restantes disponíveis
**Funções apropriadas**: Administrador de Incentivos | Usuário de Incentivos
Você pode controlar, monitorar e reconciliar os fundos de incentivos cooperativos no [painel do Partner Center](https://partner.microsoft.com/dashboard/) (entrada necessária). Use o procedimento a seguir para exibir esses fundos.
## <a name="view-your-funds"></a>Exibir seus fundos
> [!NOTE]
> Para saber mais sobre a interface de workspaces, confira [Conhecendo o Partner Center](get-around-partner-center.md#turn-workspaces-on-and-off).
#### <a name="workspaces-view"></a>[Exibição de workspaces](#tab/workspaces-view)
1. Entre no painel do [Partner Center](https://partner.microsoft.com/dashboard/) e selecione o bloco **incentivos** .
2. Selecione **programa** e, em seguida, selecione o programa de incentivo apropriado na lista de programas expandidos.
3. Na parte superior da página do programa, selecione **Exibir declarações**.
4. Na lista suspensa acima do bloco de **cooperabilidade declarado** , selecione o período de uso que você deseja ver. Isso exibirá valores para a cooperação **acumulada**, a **Coop reivindicada** e a **cooperação restante** para o período selecionado.
5. A data de validade do período selecionado é exibida abaixo da exibição de **cooperação restante** .
6. Para exibir todas as declarações enviadas para o período selecionado, role até a parte inferior da página.
Se você acreditar que há discrepâncias nos valores exibidos no resumo, você pode baixar o relatório de transações do período anterior. Este relatório ajudará você a determinar a quantidade de fundos de cooperação obtidos para o período de uso selecionado. Para baixar relatórios de transação ou validar declarações enviadas para garantir que a quantidade restante de cooperação seja precisa, consulte [histórico de transações](./payout-statement.md#transaction-history).
#### <a name="current-view"></a>[Exibição atual](#tab/current-view)
1. Entre no painel do [Partner Center](https://partner.microsoft.com/dashboard/) com sua conta do Azure AD (conta da empresa) ou o email apropriado para sua função de incentivo.
2. Na barra de navegação à esquerda, selecione **programas** e, em seguida, selecione o programa de incentivo apropriado na lista de programas expandidos.
3. Na parte superior da página do programa, selecione **Exibir declarações**.
4. Na lista suspensa acima do bloco de **cooperabilidade declarado** , selecione o período de uso que você deseja ver. Isso exibirá valores para a cooperação **acumulada**, a **Coop reivindicada** e a **cooperação restante** para o período selecionado.
5. O prazo para qualquer novo envio de declaração é exibido abaixo da exibição de **cooperação restante** .
6. Para exibir todas as declarações enviadas para o período selecionado, role até a parte inferior da página.
Se você acreditar que há discrepâncias nos valores exibidos no resumo, você pode baixar o relatório de transações do período anterior. Este relatório ajudará você a determinar a quantidade de fundos de cooperação obtidos para o período de uso selecionado. Para baixar relatórios de transação ou validar declarações enviadas para garantir que a quantidade restante de cooperação seja precisa, consulte [histórico de transações](./payout-statement.md#transaction-history).
* * *
## <a name="view-estimated-earnings-during-the-current-period"></a>Exibir os ganhos estimados durante o período atual
Os ganhos de cooperação para o período de conquista atual não são visíveis no modo de exibição de gerenciamento de cooperação até depois do início do período de reclamação para o período de conquista atual. Para ver os ganhos de cooperação estimados para o período de conquista atual, use o seguinte procedimento:
### <a name="view-your-estimated-co-op-earnings-for-the-current-earning-period"></a>Exibir os ganhos de cooperação estimados para o período de conquista atual
1. Na página **histórico de transações** , selecione as datas para o período de conquista atual.
2. No filtro **tipo de conquista** , selecione **co-op**. Seus ganhos serão exibidos.
3. Selecione **baixar** para baixar esses dados.
### <a name="co-op-threshold"></a>Limite de cooperação
Se os ganhos de cooperação de um parceiro estiverem abaixo do valor de limite em um período de duração de cooperação, eles não serão qualificados para usar fundos e receberão os ganhos de cooperação como desconto no final do semestre. Consulte o [limite de cooperação](claims-threshold.md) para obter os valores de limite com base no programa.
Se você ainda tiver problemas para reconciliar valores ou se alguns fundos de cooperação não estiverem visíveis, você poderá abrir um tíquete de suporte. Para fazer isso, selecione o ícone de ponto de interrogação no canto superior direito da página e, em seguida, selecione **incentivos**.
## <a name="next-steps"></a>Próximas etapas
- [Introdução aos incentivos](incentives-get-started-intro.md)
| 71.0625 | 470 | 0.790501 | por_Latn | 0.999414 |
98c13f69b3da6b953b83639f9f70f04c081bed40 | 507 | md | Markdown | README.md | gangrif/ESCKeylogger | 8e389d48ed2cab56e7482304ef37d00486ee1104 | [
"MIT"
] | null | null | null | README.md | gangrif/ESCKeylogger | 8e389d48ed2cab56e7482304ef37d00486ee1104 | [
"MIT"
] | null | null | null | README.md | gangrif/ESCKeylogger | 8e389d48ed2cab56e7482304ef37d00486ee1104 | [
"MIT"
] | null | null | null | # py-keylogger
A Simple Keylogger for Linux written in Python using the pyxhook module which is an implementation of pyhook module (Windows OS).
<h3>Requires:</h3>
python-xlib
<h3>Installation & Tutorial:</h3><a href="http://www.techinfected.net/2015/10/how-to-make-simple-basic-keylogger-in-python-for-linux.html">Visit this LINK</a>
<h3>I have modified this copy of the KeyLogger to only count the number of times you press the esc key. You can then use this fascinating data to troll Apple.</h3>
| 46.090909 | 164 | 0.761341 | eng_Latn | 0.918972 |
98c21b1177d2b224b285ea48ebb32fe9bb96be3c | 424 | md | Markdown | README.md | msantos2/mozaicks | 7c2f6a2797261cd240d0faf1ac38a3867975276e | [
"MIT"
] | null | null | null | README.md | msantos2/mozaicks | 7c2f6a2797261cd240d0faf1ac38a3867975276e | [
"MIT"
] | null | null | null | README.md | msantos2/mozaicks | 7c2f6a2797261cd240d0faf1ac38a3867975276e | [
"MIT"
] | null | null | null | # mozaicks
Blogging platform and social network
It’s a system available to the online community requiring a free registration process, allowing articles publication
(text, photos, and videos) and an interaction between writers and readers.
Developed in PHP 5.4, MySQL 5.5, JavaScript, JQuery 1.6, HTML5 and CSS3.
Fully developed from scratch without any CMS or framework. The PDO interface was used for data access.
| 53 | 118 | 0.790094 | eng_Latn | 0.997725 |
98c2c99ddd6db852cc57b53753c1c6a9a67fcb8d | 6,388 | md | Markdown | content/en/methods-contact-index/welcome.md | PaPeK/lockdown-monitor | e1b6f90dc8d768cd6cd981368b5109ec017e24b3 | [
"MIT"
] | null | null | null | content/en/methods-contact-index/welcome.md | PaPeK/lockdown-monitor | e1b6f90dc8d768cd6cd981368b5109ec017e24b3 | [
"MIT"
] | 2 | 2021-06-24T15:16:37.000Z | 2021-09-29T08:07:44.000Z | content/en/methods-contact-index/welcome.md | PaPeK/lockdown-monitor | e1b6f90dc8d768cd6cd981368b5109ec017e24b3 | [
"MIT"
] | 1 | 2021-11-30T10:14:34.000Z | 2021-11-30T10:14:34.000Z | +++
widget = "blank"
headless = false # This file represents a page section.
active = true # Activate this widget? true/false
weight = 10 # Order that this section will appear.
slug = "data-info/contacts"
title= ""
[design.background]
# Apply a background color, gradient, or image.
# Uncomment (by removing `#`) an option to apply it.
# Choose a light or dark text color by setting `text_color_light`.
# Any HTML color name or Hex value is valid.
# Background color.
# color = "navy"
# Background gradient.
# gradient_start = "#4bb4e3"
# gradient_end = "#2b94c3"
# Background image.
# image = "rki-pic.jpeg" # Name of image in `static/media/`.
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
# image_size = "cover" # Options are `cover` (default), `contain`, or `actual` size.
# image_position = "center" # Options include `left`, `center` (default), or `right`.
# image_parallax = true # Use a fun parallax-like fixed background effect? true/false
# Text color (true=light or false=dark).
# text_color_light = true
+++
# Contacts and the pandemic
{{< rawhtml >}}
<div style="height: 20px"></div>
{{< /rawhtml >}}
How a pandemic develops depends on many factors: the biology of the pathogen, its susceptibility to external influences such as humidity and temperature, the success of vaccination campaigns, but most of all it is determined by contacts between individuals: **transmissions occur primarily when people have contact with each other.**
The **number of contacts** thus gives us an insight into the course of the pandemic. Fewer contacts make it more difficult for the pathogen to spread through the population, whereas more contacts promote rapid spread.
In the [Contacts Monitor](/en/contact-index), we show the number of contacts in Germany over time. In the following, we explain how these contacts are measured from GPS data of cell phones.
The data shown in the monitor is available [here](https://rocs.hu-berlin.de/viz/contactindex-monitor/contactindex-data/data/).
## What kind of data is analyzed?
The analyses here are based on GPS trajectories of people living in Germany. However, what we receive from our cooperation partner is only the **average number of contacts per day** as well as their **variance** (in the section "What is a contact?" below, we explain how these observables relate to GPS trajectories). We do **not have access to the GPS location data** on which these measures are calculated.
The GPS location data is collected by the German company [NET CHECK](https://www.netcheck.de/) using cell phones. This type of data is [commercially available](https://datarade.ai/data-categories/gps-location-data). Such data is used, for example, by public transportation companies to measure traffic or by mobile network operators to improve cellular networks.
The GPS data is transmitted from the individual devices via a software development kit (SDK). This SDK is primarily used to evaluate the quality of mobile networks. It is installed on around **1.2 million devices** in Germany, where all users have given their consent to collect such data for statistical purposes. Each device transmits up to **several hundred locations** per day. Of all these devices, about **600,000 are active** every day.
The data does **not contain any personal information** such as age or gender and, most importantly, all **users have consented to data collection** (by opting-in according to the [Terms of Use](https://www.netcheck.de/datenschutz/) of the SDK). All processing of raw GPS data is done at NET CHECK. We only receive information on the statistics that are shown here (such as the average contacts).
## What is a contact (and a contact-network)?
{{< rawhtml >}}
<img class="special-img-class" style="width:400px; display:block; margin-left:auto; margin-right:auto; margin-top:40px; margin-bottom:30px;" src="F1_reference_small.jpeg" />
{{< /rawhtml >}}
Each measured GPS location is assigned to an **area ("tile") of 8x8 square meters**. If two devices are on the same tile **within 2 minutes**, this event is defined as a **contact** between the two devices. If two devices meet more than once (for example, if a couple meets at home both in the morning and in the evening), the contact is still counted only once per day. Contacts are also not weighted by how much time the people spent near each other.
Each contact can be considered a **connection** between two devices in a network. NET CHECK aggregates these contacts to create a **contact network** for each day. In the network, all devices are connected to each other that had a contact on that day (where we assume that each device corresponds to one person).
## How do we compute the mean contact number and its variation?
{{< rawhtml >}}
<img class="special-img-class" style="width:100%; display:block; margin-left:auto; margin-right:auto; margin-top:40px; margin-bottom:30px;" src="Kontakt_Index Computation_simple_en_small.jpeg" />
{{< /rawhtml >}}
The number of contacts between people influences the spread of an the disease. The measured contacts therefore give us an **insight into the course of the pandemic**.
The **mean number of contacts** indicates how many other people on average can potentially be infected by a single infected person.
The standard deviation of the number of contacts measures **how much the contacts vary**. A large variation means that there are individuals with a large number of contacts that could lead to **"super-spreader" events**.
It should be noted that the distribution of the number of contacts has a lower bound at zero. This means that a person can have many more contacts than the average number of contacts, but not much less (see simplified distribution above). Thus, a wide distribution means that there are especially many people with _more_ contacts than average, not fewer contacts.
The contact network we measure here is of course only a sample. Not every person in Germany is represented in the data, and the measured network is therefore only a small section of the complete network. However, we use concepts from network theory to derive the mean and variance of the contacts of the complete unknown contact network from the sample. Details can be found in the following publication: [Rüdiger et al.](https://www.pnas.org/content/118/31/e2026731118).
| 74.27907 | 471 | 0.763619 | eng_Latn | 0.999072 |
98c2df9c8465dd02d4918bb9bb8c778eae4a45eb | 714 | md | Markdown | _posts/abstracts/2015/2015-05-30-generation-of-substitutions-with-improved-cryptographic-properties-abstract.md | okazymyrov/okazymyrov.github.io | 056978b1f66ff47346fe6886c5ca55ba792f1928 | [
"MIT"
] | 1 | 2015-09-13T05:05:38.000Z | 2015-09-13T05:05:38.000Z | _posts/abstracts/2015/2015-05-30-generation-of-substitutions-with-improved-cryptographic-properties-abstract.md | okazymyrov/okazymyrov.github.io | 056978b1f66ff47346fe6886c5ca55ba792f1928 | [
"MIT"
] | null | null | null | _posts/abstracts/2015/2015-05-30-generation-of-substitutions-with-improved-cryptographic-properties-abstract.md | okazymyrov/okazymyrov.github.io | 056978b1f66ff47346fe6886c5ca55ba792f1928 | [
"MIT"
] | null | null | null | ---
layout: post
title: "Generation of Substitutions With Improved Cryptographic Properties"
categories:
- block cipher
- substitution
- generation method
tag: abstract
browser_title: "Generation of Substitutions With Improved Cryptographic Properties"
comments: true
---
Russian: [PDF]({{ site.url }}/assets/attachments/abstracts/2015/5a3c5b441a3feeb8a2e1ef0621ca25.pdf)
<!--more-->
## Abstract
It is presented an optimized method of generation of S-boxes based on minimizing time of testing substitutions on the corresponding set of criteria. The optimized method allows speeding up the generation of substitutions up to several times and getting optimal substitutions without using distributed calculations. | 37.578947 | 314 | 0.810924 | eng_Latn | 0.986051 |
98c3432465a8af1097ad402e4eb37de6354490f1 | 6,586 | md | Markdown | Disaster Recovery/SafeHaven 5 Manual to AWS/Create-Windows-PG-manual.md | AroraAnshul/PublicKB | 50b47201f9c3d7e5eaec062cbbcbd1c5ca9ecaf7 | [
"Apache-2.0"
] | 1 | 2020-12-29T23:51:37.000Z | 2020-12-29T23:51:37.000Z | Disaster Recovery/SafeHaven 5 Manual to AWS/Create-Windows-PG-manual.md | AroraAnshul/PublicKB | 50b47201f9c3d7e5eaec062cbbcbd1c5ca9ecaf7 | [
"Apache-2.0"
] | 1 | 2018-12-17T16:43:14.000Z | 2018-12-17T16:43:14.000Z | Disaster Recovery/SafeHaven 5 Manual to AWS/Create-Windows-PG-manual.md | AroraAnshul/PublicKB | 50b47201f9c3d7e5eaec062cbbcbd1c5ca9ecaf7 | [
"Apache-2.0"
] | 1 | 2018-08-14T15:28:53.000Z | 2018-08-14T15:28:53.000Z | {{{
"title": "Create Windows Protection Group in DCCF, Install LRA and Start Replication",
"date": "02-06-2018",
"author": "Anshul Arora",
"attachments": [],
"contentIsHTML": false
}}}
### Article Overview
This article explains how to create Windows Protection Group and protect a Windows server Automatically as well as Manually.
### Requirements
1. To protect a Windows server using SafeHaven, we need to install a Local Replication Agent (LRA) on the production server. In order to complete the LRA installation, a **Reboot** of the production server is required. **Please schedule a downtime window for LRA installation.**
2. For Ansible LRA installation to work, make sure TCP 445 port Inbound is open on the production server by running the following command via Windows Commandline (run as administrator):
```
New-NetFirewallRule -DisplayName "psexec tcp 445" -Name "psexec tcp 445" -Profile Any -LocalPort 445 -Protocol TCP
```
### Assumption
This article assumes that:
1. A SafeHaven cluster has been created successfully
2. Both production and recovery SRNs have been registered and peered
3. Proper storage has been attached and claimed on the production SRN
### Create a Windows Protection Group
1. Right click on the **Production SRN** and select **Create Protection Group**.
**NOTE**: Always start the Protection Group creation from the Production SRN.
2. Select the **Recovery SRN**, and click **Start Wizard**.
3. Enter the **Server Name**, **IP address**, and select **Windows** in OS type.
Click **Add**. Click **Next**
Click **Add** again if more than one VMs are needed in the protection group.
4. Enter a name for the Protection Group. Check the **Edit** box.
Expand the VM to edit disk layout. You can select an existing disk and change its size to match the production server.
If the production VM has more than 1 disks, click **add disk** to add more disks.
Click **Next**
**Note**: Make sure that disk layout matches the production VM.
6. Select the **storage pool** for cache. Click Next.
**NOTE**: By default the Cache size is "10% of the total provisioned storage" for the Windows server(s) you are protecting.
7. A summary panel appears. You may navigate back and change configurations for the Protection Group if you like. Please check the acknowledgement box and click **Create**
**NOTE**: LRA stands for Local Replication Agent which is the kernel level driver that CenturyLink provides to replicate Windows Production Servers. There are two methods by which LRA can be installed and initial replication can be started. User must select one of the two methods stated below.
Method 1. Automatic/Ansible LRA installation and Automatically Start Initial Replication
OR
Method 2. Manual LRA Installation and Manually Start Initial Replication
### METHOD 1
#### Automatic/Ansible LRA installation and Automatically Start Initial Replication
1. Once the Protection Group is created and its status is **Ready** on the Properties tab, right click on it and click **Install Local Raplication Agent**.
2. First select the VM you need to install LRA on, then click **Next**.
3. Next you will need to provide the credentials for each protected VM, and acknowledge that you understand that :
a. Each selected virtual server will automatically reboot during the process.
b. Powershell version 3 will be installed along with the LRA in each selected VM.
**NOTE**: Before clicking the Finish button , please be aware that auto installation of LRA will automatically trigger a reboot of the production server **right away**. **This reboot cannot be scheduled if you choose to install the LRA using automation/ansible.**
Click **Next**
4. Once it says **Completed** under **Install LRA**, click **Next**. Next, click **Finish** to end the wizard.
**The initial replication of the production windows server is started automatically as part of the installation process.**
**NOTE**: Follow the steps below incase the user prefers to install the LRA and start the replication manually.
### METHOD 2
#### Manual LRA installation
1. After the protection group is created, log into each of the Windows production server within the protection group.
2. Download the latest compatible SafeHaven LRA software from the **Windows Downloads - Driver Installer** link which can be found under the **Download Links** of [SafeHaven 5.0.0 Release Notes](../SafeHaven 5 General/SafeHaven5.0.0-Release-Notes.md).
**NOTE:** Please make sure the LRA agent is compatible with the SafeHaven release version you are using. For example: A SafeHaven LRA version 4.0.4 is NOT compatible with SafeHaven release version 5.
**NOTE**: The VM requires a reboot at the end of the LRA installlation.
3. Launch the LRA installer, select the default **Express Installation**, and click **Next**.
4. To install the LRA, you must reboot the Windows production VM. Click **Restart Now**.
**NOTE**: Reboot of the production server can be scheduled for a later time.
#### Manually Start Initial Replication
1. After reboot, click on **Start**, find and launch the SafeHaven **Manager.exe**.
2. Select the default options on the first screen of the wizard (all boxes checked) and click **Next**.
3. Verify the NIC type and PCI slot number. Click **Next**
4. Enter the **Local iSCSI IP address of Production SRN** in front of **Target Portal IP Address** and click **Discover**. Select the appropriate ISCSI target to connect from the ISCSI target list.
Click **Connect**, then select **Next**.
5. A new window appears which provides the mapping from source(VMDK on production server) to destination disk(ISCSI on the SRN) along with the recommended Sync Rate, accept the default option and click **Next**.
**NOTE**: Please make sure each production virtual disk you want to protect is mapped to a corresponding iSCSI target destination disk. **The size of the source and destination disk must match**.
6. Select **Obtain IP via DHCP** under IP Address Setting, then click **Next**.
7. Click **Finish** to end the wizard.
The initial replication of the production windows VM will start now. Close the command prompt window if required.
Once the Protection Group is created successfully, **Next** step is to [Modify WAN Replication Rate](../SafeHaven 5 CLC to AWS/Modify WAN Replication Rate.md) and [check replication status](../SafeHaven 5 CLC to AWS/Check Replication Status.md)
| 63.326923 | 297 | 0.740662 | eng_Latn | 0.989887 |
98c3c89c39431185e4d4bf36443394ad8a8cec43 | 3,482 | md | Markdown | docs/de/adapterref/iobroker.fronius/README.md | viknet365/ioBroker.docs | 3c9a8ecdbe4b0c66335d03ecd954f3fe5e0e759a | [
"MIT"
] | null | null | null | docs/de/adapterref/iobroker.fronius/README.md | viknet365/ioBroker.docs | 3c9a8ecdbe4b0c66335d03ecd954f3fe5e0e759a | [
"MIT"
] | null | null | null | docs/de/adapterref/iobroker.fronius/README.md | viknet365/ioBroker.docs | 3c9a8ecdbe4b0c66335d03ecd954f3fe5e0e759a | [
"MIT"
] | null | null | null | ---
translatedFrom: en
translatedWarning: Wenn Sie dieses Dokument bearbeiten möchten, löschen Sie bitte das Feld "translationsFrom". Andernfalls wird dieses Dokument automatisch erneut übersetzt
editLink: https://github.com/ioBroker/ioBroker.docs/edit/master/docs/de/adapterref/iobroker.fronius/README.md
title: kein Titel
hash: rKpemGzj26qLZjuzhdgtDp0lBXcaaPCOgdQXZ9rN2jU=
---









<h1><img src="https://raw.githubusercontent.com/iobroker-community-adapters/ioBroker.fronius/master/admin/fronius.png" width="64"/> ioBroker.fronius </h1>
## Ein Fronius-Wechselrichteradapter für ioBroker
Dies ist ein ioBroker-Adapter für Ihren Fronius PV-Wechselrichter mit Fronius Datalogger Web ab Version 2.0.4-1 oder Fronius Datamanager ab Version 3.0.3-1.
## Changelog
### 1.0.5
* (ldittmar) compact mode compatibility added
* (ldittmar) add chinese support
### 1.0.4
* (ldittmar) Fix assignment to constant variable error
### 1.0.3
* (ldittmar) Ready for Admin 3
### 1.0.2
* (tobintax) Bugfix - Inverter Query regarding PAC adjusted.
### 1.0.1
* (tobintax) Added more values from Smartmeter
* (tobintax) Added more Powerflow Values
* (tobintax) Removed Value "EnergyReal_WAC_Minus_Relative" . This Value had no result and is undocumented in the fronius api documentation.
### 1.0.0
* (ldittmar) Fixed little errors
### 0.0.5
* (ldittmar) Read storage data and error/status codes
### 0.0.4
* (ldittmar) Read more data
### 0.0.3
* (ldittmar) Improved installation routine
### 0.0.2
* (ldittmar) First data is read
### 0.0.1
* (ldittmar) initial commit
## License
The MIT License (MIT)
Copyright (c) 2018 ldittmar <iobroker@lmdsoft.de>
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.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 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. | 42.463415 | 172 | 0.780873 | yue_Hant | 0.397404 |
98c3cde859c36c56ac1bca69a50efb601a3e8c0a | 4,103 | md | Markdown | articles/application-gateway/application-gateway-waf-configuration.md | zhvolosh/azure-docs | 14bc4f24a4794dc15a097bb3e7b534c66cd9a2b6 | [
"CC-BY-4.0"
] | null | null | null | articles/application-gateway/application-gateway-waf-configuration.md | zhvolosh/azure-docs | 14bc4f24a4794dc15a097bb3e7b534c66cd9a2b6 | [
"CC-BY-4.0"
] | null | null | null | articles/application-gateway/application-gateway-waf-configuration.md | zhvolosh/azure-docs | 14bc4f24a4794dc15a097bb3e7b534c66cd9a2b6 | [
"CC-BY-4.0"
] | null | null | null | ---
title: Web application firewall request size limits and exclusion lists in Azure Application Gateway - Azure portal
description: This article provides information on web application firewall request size limits and exclusion lists configuration in Application Gateway with the Azure portal.
services: application-gateway
author: vhorne
ms.service: application-gateway
ms.workload: infrastructure-services
ms.date: 10/11/2018
ms.author: victorh
---
# Web application firewall request size limits and exclusion lists (Public Preview)
The Azure Application Gateway web application firewall (WAF) provides protection for web applications. This article describes WAF request size limits and exclusion lists configuration.
> [!IMPORTANT]
> Configuration of WAF request size limits and exclusion lists is currently in public preview. This preview is provided without a service level agreement and isn't recommended for production workloads. Certain features may not be supported or may have constrained capabilities. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for details.
## WAF request size limits
Web Application Firewall allows users to configure request size limits within lower and upper bounds. The following two size limits configurations are available:
- The maximum request body size field is specified in KBs and controls overall request size limit excluding any file uploads. This field can range from 1-KB minimum to 128-KB maximum value. The default value for request body size is 128 KB.
- The file upload limit field is specified in MB and it governs the maximum allowed file upload size. This field can have a minimum value of 1 MB and a maximum of 500 MB. The default value for file upload limit is 100 MB.
WAF also offers a configurable knob to turn the request body inspection on or off. By default, the request body inspection is enabled. If the request body inspection is turned off, WAF does not evaluate the contents of HTTP message body. In such cases, WAF continues to enforce WAF rules on headers, cookies, and URI. If the request body inspection is turned off, then maximum request body size field isn't applicable and can't be set. Turning off the request body inspection allows for messages larger than 128 KB to be sent to WAF. However, the message body isn't inspected for vulnerabilities.
## WAF exclusion lists
WAF exclusion lists allow users to omit certain request attributes from a WAF evaluation. A common example is Active Directory inserted tokens that are used for authentication or password fields. Such attributes are prone to contain special characters that may trigger a false positive from the WAF rules. Once an attribute is added to the WAF exclusion list, it isn't taken into consideration by any configured and active WAF rule. Exclusion lists are global in scope.
You can add request headers, request body, request cookies, or request query string arguments to WAF exclusion lists. If the body has form data or XML/JSON (key value pairs) then request attribute exclusion type can be used.
You can specify an exact request header, body, cookie, or query string attribute match, or, can optionally specify partial matches.
The following are the supported match criteria operators:
- **Equals**: This operator is used for an exact match. As an example, for selecting header named **bearerToken** use equals operator with selector set as **bearerToken**.
- **Starts with**: This operator matches all fields that start with specified selector value.
- **Ends with**: This operator matches all request fields that end with specified selector value.
- **Contains**: This operator matches all request fields that contain specified selector value.
In all cases matching is case insensitive and regular expression are not allowed as selectors.
## Next steps
After you configure your WAF settings, you can learn how to view your WAF logs. For more information, see [Application Gateway diagnostics](application-gateway-diagnostics.md#diagnostic-logging). | 89.195652 | 596 | 0.805508 | eng_Latn | 0.998322 |
98c455491d2d0119d4ea9fc9933c6691880960fc | 56 | md | Markdown | README.md | JecaTatu/ToDoList-React | 8a7da50fc69cf991da441d10aac99f88c43ea2c3 | [
"MIT"
] | null | null | null | README.md | JecaTatu/ToDoList-React | 8a7da50fc69cf991da441d10aac99f88c43ea2c3 | [
"MIT"
] | null | null | null | README.md | JecaTatu/ToDoList-React | 8a7da50fc69cf991da441d10aac99f88c43ea2c3 | [
"MIT"
] | null | null | null | # ToDoList-React
First project with react, a To Do List
| 18.666667 | 38 | 0.767857 | eng_Latn | 0.885249 |
98c492624c3a641666388d6e2673776b4aec65bd | 4,592 | markdown | Markdown | vendor/Spraed/PDFGeneratorBundle/README.markdown | rpcabrera/networld | 0c6e9d4f623344b4f5ed108c2ca35a7f63947dcd | [
"MIT"
] | null | null | null | vendor/Spraed/PDFGeneratorBundle/README.markdown | rpcabrera/networld | 0c6e9d4f623344b4f5ed108c2ca35a7f63947dcd | [
"MIT"
] | null | null | null | vendor/Spraed/PDFGeneratorBundle/README.markdown | rpcabrera/networld | 0c6e9d4f623344b4f5ed108c2ca35a7f63947dcd | [
"MIT"
] | null | null | null | SpraedPDFGeneratorBundle
===============
SpraedPDFGeneratorBundle generates HTML documents to PDF.
The bundle gives you the chance to add a page header and footer very easily
(which can be disabled/switched on the first page).
It works with a little jar library based on the [Flying Saucer project][flyingsaucer].
So you need to run Java on your server (Java 6 or later).
<!-- [](http://travis-ci.org/stedekay/SpraedPDFGeneratorBundle) -->
[](https://packagist.org/packages/spraed/pdf-generator-bundle) [](https://packagist.org/packages/spraed/pdf-generator-bundle)
ToDo
----
- Write a little example how to enable header and footer
- Writing tests (test frame available for UnitTests)
- Check for possibilities to use SVG files in HTML
Installation
------------
Option 1: Use composer
"require": {
"php": ">=5.3.2",
"symfony/symfony": "2.1.*",
... (your packages) ...
"spraed/pdf-generator-bundle": "v1.0",
}
Option 2: Use git submodules
Copy the SpraedPDFGeneratorBundle into the `vendor/bundles/Spraed/PDFGeneratorBundle` directory:
git submodule add https://github.com/stedekay/SpraedPDFGeneratorBundle.git vendor/bundles/Spraed/PDFGeneratorBundle
Option 3: Use deps file
[SpraedPDFGeneratorBundle]
git=https://github.com/stedekay/SpraedPDFGeneratorBundle.git
target=/bundles/Spraed/PDFGeneratorBundle
Register the Spraed namespace:
-------------------------------------------------
$loader->registerNamespaces(array(
...
'Spraed' => __DIR__.'/../vendor/bundles',
Finally, you can enable it in your kernel:
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
...
new Spraed\PDFGeneratorBundle\SpraedPDFGeneratorBundle(),
...
Usage
-----
There is a service registered in the services.yml to generate pdf files.
Just call the PDF generator from the service class and call the generatePDF()-method
with the XHTML and the url of the PDF:
$html = $this->renderView('AcmeDemoBundle:Default:index.html.twig');
$pdfGenerator = $this->get('spraed.pdf.generator');
Also you are able to set an encoding option (you can leave the second parameter, it defaults to UTF-8):
$pdfGenerator->generatePDF($html, 'UTF-8');
Anything else will be handled by the Response object in the controller, i.e.:
$html = $this->renderView('ACMEYourBundle:Print:print.html.twig');
$pdfGenerator = $this->get('spraed.pdf.generator');
return new Response($pdfGenerator->generatePDF($html),
200,
array(
'Content-Type' => 'application/pdf',
'Content-Disposition' => 'inline; filename="out.pdf"'
)
);
If you wish the pdf to be offered as a download, simply change 'inline' in 'Content-Disposition' to 'attachment'.
Make sure that all assets in your HTML are linked with absolute paths, because the HTML is copied into a tmp folder on the server. If you want to add an image to your twig it should look something like this:
{{ app.request.scheme ~'://' ~ app.request.httpHost ~ asset('images/foo.jpg') }}
You are also capable of printing multiple pdfs in one stack. Saying you generate multiple documents from multiple html files and you want to
output those in on huge pdf file, there is the 'generatePDFs' method which takes an array of rendered html Views and sticks those together:
$twigs[0] = 'SpraedSomethingBundle:Print:print_pdf_one.html.twig'
$twigs[1] = 'SpraedSomethingBundle:Print:print_pdf_two.html.twig'
$htmlCollection = array();
foreach($twigs as $twig){
$htmlCollection[] = $this->renderView($twig);
}
return new Response($pdfGenerator->generatePDFs($htmlCollection, 'UTF-8'),
200,
array(
'Content-Type' => 'application/pdf',
'Content-Disposition' => 'inline; filename="out.pdf"'
)
);
To define proper print css you might want to read into the w3.org's hints on that: [w3.org]
[w3.org]: http://www.w3.org/TR/css3-page/
[flyingsaucer]: https://github.com/flyingsaucerproject/flyingsaucer
[spraed]: http://www.spraed.com
| 37.950413 | 298 | 0.666594 | kor_Hang | 0.458532 |
98c49450a0276001fd2598822ad497110dbc15c3 | 1,836 | md | Markdown | docs/2014/tutorials/task-7-viewing-updates-made-using-master-data-manager-in-excel.md | sql-aus-hh/sql-docs.de-de | edfac31211cedb5d13440802f131a1e48934748a | [
"CC-BY-4.0",
"MIT"
] | 1 | 2022-02-25T18:10:29.000Z | 2022-02-25T18:10:29.000Z | docs/2014/tutorials/task-7-viewing-updates-made-using-master-data-manager-in-excel.md | sql-aus-hh/sql-docs.de-de | edfac31211cedb5d13440802f131a1e48934748a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/2014/tutorials/task-7-viewing-updates-made-using-master-data-manager-in-excel.md | sql-aus-hh/sql-docs.de-de | edfac31211cedb5d13440802f131a1e48934748a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: 'Aufgabe 7: Anzeigen von Updates vorgenommen, mit der Master Data Manager in Excel | Microsoft-Dokumentation'
ms.custom: ''
ms.date: 03/09/2017
ms.prod: sql-server-2014
ms.reviewer: ''
ms.technology:
- data-quality-services
- integration-services
- master-data-services
ms.topic: conceptual
ms.assetid: c2ff4972-cf18-4d5c-98cd-ec78861a63ce
author: douglaslms
ms.author: douglasl
manager: craigg
ms.openlocfilehash: ae432e77795cc29ae05dfa120cd58dd8222b35f3
ms.sourcegitcommit: 3da2edf82763852cff6772a1a282ace3034b4936
ms.translationtype: MT
ms.contentlocale: de-DE
ms.lasthandoff: 10/02/2018
ms.locfileid: "48105990"
---
# <a name="task-7-viewing-updates-made-using-master-data-manager-in-excel"></a>Aufgabe 7: Anzeigen von Updates, die mit Master Data Manager in Excel durchgeführt wurden
In dieser Aufgabe überprüfen Sie, ob die aktualisierten Daten aus MDS in Excel angezeigt werden.
1. Wechseln Sie nun in der Excel-Fenster, **Cleansed and Matched Suppliers.xls** Arbeitsblatt öffnen.
2. Klicken Sie auf **aktualisieren** Schaltfläche auf dem Menüband.

3. Beachten Sie, dass **Namen** anzeigen (California, New York usw.) für die **Zustand** Feld zusammen mit ihren **Codes**.

## <a name="next-step"></a>Nächster Schritt
[Aufgabe 8: Hinzufügen eines neuen Werts für die Entität „State“ in Excel](../../2014/tutorials/task-8-adding-a-new-value-for-state-entity-in-excel.md)
| 45.9 | 232 | 0.756536 | deu_Latn | 0.757183 |
98c49913f87c62e176777d87b11dbabf8e8c05f5 | 132 | md | Markdown | README.md | txmichel/actwise | ae48240c6dfd86c18b8ce563c5499c41221d60a0 | [
"MIT"
] | null | null | null | README.md | txmichel/actwise | ae48240c6dfd86c18b8ce563c5499c41221d60a0 | [
"MIT"
] | null | null | null | README.md | txmichel/actwise | ae48240c6dfd86c18b8ce563c5499c41221d60a0 | [
"MIT"
] | null | null | null | [](https://travis-ci.org/txmichel/actwise)
# actwise
Blog
| 26.4 | 115 | 0.75 | kor_Hang | 0.256619 |
98c4cbd6e941d39a6380df1a7dfa016c1c30e87d | 3,019 | md | Markdown | docs/tools/dta/database-element-for-configuration-dta.md | PowerBee-AK/sql-docs.de-de | f6f4854db855a89c4e49dc0557fa456da060b3c7 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/tools/dta/database-element-for-configuration-dta.md | PowerBee-AK/sql-docs.de-de | f6f4854db855a89c4e49dc0557fa456da060b3c7 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/tools/dta/database-element-for-configuration-dta.md | PowerBee-AK/sql-docs.de-de | f6f4854db855a89c4e49dc0557fa456da060b3c7 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2020-12-30T12:52:58.000Z | 2020-12-30T12:52:58.000Z | ---
title: Database-Element für Konfiguration (DTA)
description: Im dta-Hilfsprogramm gibt das Database-Element für Configuration die Datenbank an, für die Sie eine Konfiguration auswerten möchten.
ms.prod: sql
ms.prod_service: sql-tools
ms.technology: tools-other
ms.topic: conceptual
dev_langs:
- XML
helpviewer_keywords:
- Database element
ms.assetid: e91ba243-6cc9-457a-8f5a-134f3c71ae69
author: markingmyname
ms.author: maghan
ms.reviewer: ''
ms.custom: seo-lt-2019
ms.date: 03/01/2017
ms.openlocfilehash: 34f7f40ad6681cef603998375eb6de66e054e507
ms.sourcegitcommit: da88320c474c1c9124574f90d549c50ee3387b4c
ms.translationtype: HT
ms.contentlocale: de-DE
ms.lasthandoff: 07/01/2020
ms.locfileid: "85732142"
---
# <a name="database-element-for-configuration-dta"></a>Database-Element für Konfiguration (DTA)
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
Gibt die Datenbank an, für die der Datenbankoptimierungsratgeber die hypothetische Konfiguration auswerten soll (wird durch das **Configuration**-Element angegeben).
## <a name="syntax"></a>Syntax
```
<Server>
...code removed here...
<Database>...</Database>
```
## <a name="element-characteristics"></a>Elementmerkmale
|Merkmal|BESCHREIBUNG|
|--------------------|-----------------|
|**Datentyp und -länge**|Keine.|
|**Standardwert**|Keine.|
|**Vorkommen**|Einmal oder mehrfach pro **Server** -Element erforderlich.|
## <a name="element-relationships"></a>Elementbeziehungen
|Beziehung|Elemente|
|------------------|--------------|
|**Übergeordnetes Element**|[Server-Element für Konfiguration (DTA)](../../tools/dta/server-element-for-configuration-dta.md)|
|**Untergeordnete Elemente**|[Name-Element für Datenbank (DTA)](../../tools/dta/name-element-for-database-dta.md)<br /><br /> [Schema-Element für Datenbank (DTA)](../../tools/dta/schema-element-for-database-dta.md)<br /><br /> [Recommendation-Element (DTA)](../../tools/dta/recommendation-element-dta.md)|
## <a name="remarks"></a>Bemerkungen
Dieses Element hat den Namen **DatabaseTypecomplexType** im XML-Schema des Datenbankoptimierungsratgebers. Dieses **Database** -Element ist nicht mit dem Element identisch, dessen übergeordnetes Stammelement das **Server** -Element ist. Dieses Element wird oben in der XML-Eingabedatei angezeigt. Weitere Informationen finden Sie unter [Database-Element für Server (DTA)](../../tools/dta/database-element-for-server-dta.md).
## <a name="example"></a>Beispiel
Ein Beispiel für die Verwendung dieses **Database**-Elements finden Sie unter [Beispiel für eine XML-Eingabedatei mit benutzerdefinierter Konfiguration (DTA)](../../tools/dta/xml-input-file-sample-with-user-specified-configuration-dta.md).
## <a name="see-also"></a>Weitere Informationen
[XML-Eingabedateireferenz (Datenbankoptimierungsratgeber)](../../tools/dta/xml-input-file-reference-database-engine-tuning-advisor.md)
| 46.446154 | 435 | 0.721431 | deu_Latn | 0.60199 |
98c5baa6860019711c49a84b1b97eeff25202e15 | 28 | md | Markdown | speakers/leonardo-giordani.md | PyconUK/2017.pyconuk.org | 337a00c034a15e5b41a8ea8683dd44310e14fb9c | [
"MIT"
] | 3 | 2017-10-24T13:33:29.000Z | 2017-10-30T10:47:28.000Z | speakers/leonardo-giordani.md | PyconUK/2017.pyconuk.org | 337a00c034a15e5b41a8ea8683dd44310e14fb9c | [
"MIT"
] | 78 | 2017-02-14T16:49:58.000Z | 2018-04-19T06:28:42.000Z | speakers/leonardo-giordani.md | PyconUK/2017.pyconuk.org | 337a00c034a15e5b41a8ea8683dd44310e14fb9c | [
"MIT"
] | 36 | 2017-06-19T07:48:38.000Z | 2018-01-19T11:08:10.000Z | name: Leonardo Giordani
---
| 9.333333 | 23 | 0.714286 | eng_Latn | 0.397642 |
98c6209d81304556581173fe7744c9cd6678b5a4 | 6,189 | md | Markdown | _posts/UML/2018-3-13-UML-1.md | jiaxin96/jiaxin96.github.io | e8e439a8a6b5fada3ebe1a4ad2e45cb42d34e4b4 | [
"MIT"
] | null | null | null | _posts/UML/2018-3-13-UML-1.md | jiaxin96/jiaxin96.github.io | e8e439a8a6b5fada3ebe1a4ad2e45cb42d34e4b4 | [
"MIT"
] | 3 | 2018-03-13T10:30:36.000Z | 2020-04-26T05:51:15.000Z | _posts/UML/2018-3-13-UML-1.md | jiaxin96/jiaxin96.github.io | e8e439a8a6b5fada3ebe1a4ad2e45cb42d34e4b4 | [
"MIT"
] | null | null | null | ---
layout: post
title: "系统分析第一次作业"
date: 2018-03-13 11:14:53 +800
categories: 系统分析
tag: SoftwareEngineering
---
* content
{:toc}
## 1、软件工程部分要点
Software Engineering Definition
> Software engineering is “(1) the application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software, that is, the application of engineering to software,” and “(2) the study of approaches as in (1).” – IEEE Standard 610.12
History of Software Engineering
* Also see : [https://en.wikipedia.org/wiki/Software_engineering](https://en.wikipedia.org/wiki/Software_engineering)
* 什么是 “software crisis”-软件危机?
* 什么是 “Constructive Cost Model (COCOMO)”? 为什么要度量软件规模?
答:2. 软件度量(software measurement)是对软件开发项目、过程及其产品进行数据定义、收集以及分析的持续性定量化过程,目的在于对此加以理解、预测、评估、控制和改善。没有软件度量,就不能从软件开发的暗箱中跳将出来。
软件工程标准
* Software Engineering Body of Knowledge
* Also see : [https://en.wikipedia.org/wiki/Software_Engineering_Body_of_Knowledge](https://en.wikipedia.org/wiki/Software_Engineering_Body_of_Knowledge)
* SWEBok 关注了哪些 KA(Key Area)?
* Maturity Model Integration (CMMI)
* 美国国防部为什么要开发 CMM 模型
* 5 级分类模型与 KA
* CMM 对产业发展的贡献
* 软件工程文档标准
* Also see : [http://blog.sina.com.cn/s/blog_5e98ca2b01019aou.html](http://blog.sina.com.cn/s/blog_5e98ca2b01019aou.html) 其中, 计算机软件产品开发文件编制指南 GB/T 8567-2006 最重要。否则政府项目无法验收!
Software LifeCycle
* Also see : [https://en.wikipedia.org/wiki/Software_development_process](https://en.wikipedia.org/wiki/Software_development_process)
* 了解三个过程的特点,流程: Waterfall development, Iterative and incremental development, Agile development
**以上内容必考**
---
## 2、作业
1. 简单题
* 软件工程的定义
1. (1)将系统化、 规范化、 可度量的方法应用与软件的开发、 运行和维护的过程,即将工程化应用于软件中。 (2)对(1)中所述方法的研究。
2. 指导计算机软件开发和维护的工程学科。 采用工程的概念、 原理、 技术和方法来开发与维护软件, 把经过实践考验而证明正确的管理技术和当前能够得到的最好的技术方法结合起来, 这就是软件工程。
* 阅读经典名著“人月神话”等资料,解释 software crisis、COCOMO 模型。
1. software crisis
> 由于软件生产的复杂性和高成本,使大型软件的生产出现了很大的困难.软件危机是指落后的软件生产方式无法满足迅速增长的计算机软件需求,从而导致软件开发与维
护过程中出现一系列严重问题的现象.
2. COCOMO模型
> COCOMO模型——构造性成本模型,常见的软件规模估算方法,是指由巴里·勃姆(Barry Boehm)于 1981 年提出的一种精确、易于使用的,基于模型的软件成本估算方法。从本质上说是一种参数化的项目估算方法,参数建模是把项目的某些特征作为参数,通过建立一个数字模型预测项目成本的回归分析公式。做为一种在软件项中估算工作量、成本以及时间表的模型。
* 软件生命周期。
> 从时间角度,把整个周期划分为若干个阶段
> 划分的原则:各阶段的任务彼此间尽可能相对独立,同一个阶段各项任务的性质尽可能相同,从而降低每个阶段任务的复杂性,简化不同阶段之间的联系,有利于软件开发过程的组织管理.
> 典型划分GB8567( 4个时期7个阶段):
1. 软件分析时期:问题定义、可行性研究、需求分析
2. 软件设计时期:总体设计、详细设计
3. 编码与测试时期:编码、测试
4. 运行与维护时期
* 按照 SWEBok 的 KA 划分,本课程关注哪些 KA 或 知识领域?
> 本课程主要关注以下的 KA:
- Software requirements
- Software design
- Software configuration management
- Software engineering management
- Software engineering process
- Software engineering models and methods
- Software quality
- Engineering foundations
* 解释 CMMI 的五个级别。例如:Level 1 - Initial:无序,自发生产模式。
- 1. 初始级
> 软件过程是无序的,有时甚至是混乱的,对过程几乎没有定义,成功取决于个人努力。管理 是反应式的。
- 2.可管理级
> 建立了基本的项目管理过程来跟踪费用、进度和功能特性。制定了必要的过程纪律,能重复 早先类似应用项目取得的成功经验。
- 3. 已定义级
> 已将软件管理和工程两方面的过程文档化、标准化,并综合成该组织的标准软件过程。所有 项目均使用经批准、剪裁的标准软件过程来开发和维护软件,软件产品的生产在整个软件过 程是可见的。
- 4. 量化管理级
> 分析对软件过程和产品质量的详细度量数据,对软件过程和产品都有定量的理解与控制。管 理有一个作出结论的客观依据,管理能够在定量的范围内预测性能。
- 5. 优化管理级
> 过程的量化反馈和先进的新思想、新技术促使过程持续不断改进。
* 用自己语言简述 SWEBok 或 CMMI (约200字)
> CMMI将用于制造软件产品的一系列的活动,方法和实践管理起来,并从不成熟的开发到成熟的开发,将软件开发的质量分为5分等级。CMMI 模型的五个成熟度级别分别为 初始级、管理级、定义级、量化管理级和优化级,每个级别都对一个企业的配置管理 CM、度量和分析 MA 、项目监控 PMC 等十六个核心过程区域进行了评价和度量,是综合评价一个企业当前过程中软件生产能力的重要指标。这些指标也可以指导一个企业的软件开发管理。
2. 解释 PSP 各项指标及技能要求:
* 阅读《现代软件工程》的 PSP: Personal Software Process 章节。 [http://www.cnblogs.com/xinz/archive/2011/11/27/2265425.html](http://www.cnblogs.com/xinz/archive/2011/11/27/2265425.html)
* 按表格 PSP 2.1, 了解一个软件工程师在接到一个任务之后要做什么,需要哪些技能,解释你打算如何统计每项数据? (期末考核,每人按开发阶段提交这个表)
*
| PSP2.1 | 做什么 | 需要技能 | 我打算如何统计数据 |
| ------------------------ | ------------------------------------------- | ------------------------ | ---------------------------------------- |
| Planning | 计划 | 软件开发流程 | 估计人力财力 |
| ----Estimate | ----估计这个任务需要多少时间 | 经验 | 按照每个人以前的做的项目和掌握的技能估计 |
| Development | 开发 | 基本开发技能和规范 | |
| ----Analysis | ----分析需求 | 需求收集和分析 | 资料收集,调研,讨论 |
| ----Design Spec | ----生成设计文档 | 规范写作,工具使用 | 使用优秀的工具和好的规范 |
| ----Design Review | ----设计复审 (和同事审核设计文档) | 写作规范 | 讨论 |
| ----Coding Standard | ----代码规范 (为目前的开发制定合适的规范) | 熟悉开发标准和代码规范 | 学习高效代码风格 |
| ----Design | ----具体设计 | 使用工具,清晰规范 | |
| ----Coding | ----具体编码 | 编程水平 | |
| ----Code Review | ---代码复审 | 编程水平,优化 | |
| ----Test | ---测试(包括自我测试,修改代码,提交修改) | 测试工具和测试规范流程 | 测试文档和反馈,重现方法 |
| Record Time Spent | 记录时间花费 | 每天写总结报告和task日志 | |
| Test Report | 测试报告 | 学习优秀规范 | |
| Size Measurement | 计算工作量 | 用人和耗时 | |
| Postmortem | 事后总结 | | |
| Process Improvement Plan | 提出过程改进计划 | | |
## 3、deadline
下周四,24点前!
| 50.317073 | 280 | 0.537728 | yue_Hant | 0.679917 |
98c63b8707e89899ee176592ac9ca08b70a2d7b4 | 5,225 | md | Markdown | README.md | Informasjonsforvaltning/openapiparser | 9921d41f2e3ad2fd775f1f743e812b87ced6aca6 | [
"Apache-2.0"
] | 6 | 2020-06-25T12:48:10.000Z | 2020-12-30T14:10:32.000Z | README.md | Informasjonsforvaltning/openapiparser | 9921d41f2e3ad2fd775f1f743e812b87ced6aca6 | [
"Apache-2.0"
] | 9 | 2020-08-04T13:18:50.000Z | 2021-08-10T13:23:54.000Z | README.md | Informasjonsforvaltning/openapiparser | 9921d41f2e3ad2fd775f1f743e812b87ced6aca6 | [
"Apache-2.0"
] | null | null | null | 
[](https://codecov.io/gh/Informasjonsforvaltning/oastodcat)
[](https://pypi.org/project/oastodcat/)
[](https://oastodcat.readthedocs.io/)
# oastodcat
A small Python library to transform an openAPI file to a dcat:DataService
At this moment we support all 3.0.x versions of (The OpenAPI specification)[https://github.com/OAI/OpenAPI-Specification]
## Usage
### Install
```
% pip install oastodcat
```
### Getting started
Example usage:
```
import yaml
import requests
from datacatalogtordf import Catalog
from oastodcat import OASDataService
# Create catalog object
catalog = Catalog()
catalog.identifier = "http://example.com/catalogs/1"
catalog.title = {"en": "A dataset catalog"}
catalog.publisher = "https://example.com/publishers/1"
# Create a dataservice based on an openAPI-specification:
url = ("https://raw.githubusercontent.com/"
"OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml"
)
oas = yaml.safe_load(requests.get(url).text)
identifier = "http://example.com/dataservices/{id}"
oas_spec = OASDataService(url, oas, identifier)
#
# Add dataservices to catalog:
for dataservice in oas_spec.dataservices:
catalog.services.append(dataservice)
get dcat representation in turtle (default)
dcat = catalog.to_rdf()
# Get dcat representation in turtle (default)
dcat = catalog.to_rdf()
print(dcat)
```
## Mapping
The following table shows how an openAPI specification is mapped to a dcat:DataService:
(Only dcat:DataService properties are shown.)
| dcat:DataService | RDF property | openAPI v 3.0.x | Note |
| ------------------------ | ------------------------ | -------------------- | ---- |
| endpoint description | dcat:endpointDescription | <url to description> | |
| endpoint URL | dcat:endpointURL | servers.url | [1] |
| serves dataset | | _n/a_ | |
| access rights | | | |
| conforms to | dct:conformsTo | | |
| contact point | dcat:contactPoint | info.contact | |
| creator | | | |
| description | dct:description | info.description | |
| has policy | | | |
| identifier | | _n/a_ | |
| is referenced by | | | |
| keyword/tag | | | |
| landing page | dcat:landingPage | externalDocs | |
| license | dct:license | info.license.url | |
| resource language | | | |
| relation | | | |
| rights | | | |
| qualified relation | | | |
| publisher | dct:publisher | | |
| release date | | | |
| theme/category | | | |
| title | dct:title | info.title | |
| type/genre | | | |
| update/modification date | | | |
| qualified attribution | | | |
| _media type_ | dcat:mediaType | <it's complicated> | |
[1] For each url in the servers object array, an instance of dcat:DataService will be created.
## Development
### Requirements
- python3
- [pyenv](https://github.com/pyenv/pyenv) (recommended)
- [pipx](https://github.com/pipxproject/pipx) (recommended)
- [poetry](https://python-poetry.org/)
- [nox](https://nox.thea.codes/en/stable/)
- [nox-poetry](https://pypi.org/project/nox-poetry/)
```
% pipx install poetry==1.0.5
% pipx install nox==2019.11.9
% pipx inject nox nox-poetry
```
### Install
```
% git clone https://github.com/Informasjonsforvaltning/oastodcat.git
% cd oastodcat
% pyenv install 3.8.6
% pyenv install 3.7.9
% pyenv install 3.9.0
% pyenv local 3.9.0 3.8.3 3.7.7
% poetry install
```
### Run all sessions
```
% nox
```
### Run all tests with coverage reporting
```
% nox -rs tests
```
### Debugging
You can enter into [Pdb](https://docs.python.org/3/library/pdb.html) by passing `--pdb` to pytest:
```
nox -rs tests -- --pdb
```
You can set breakpoints directly in code by using the function `breakpoint()`.
| 42.827869 | 156 | 0.510813 | eng_Latn | 0.465407 |
98c680dd6a5f4d0083788c03d0f79eac9d14f8b1 | 122,120 | md | Markdown | security-updates/SecurityBulletins/2006/ms06-038.md | eltociear/security-updates.it-it | c8b879c418b0b95b4765e427cb8fddb8abfcb977 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2019-05-02T09:07:17.000Z | 2020-05-19T20:16:08.000Z | security-updates/SecurityBulletins/2006/ms06-038.md | eltociear/security-updates.it-it | c8b879c418b0b95b4765e427cb8fddb8abfcb977 | [
"CC-BY-4.0",
"MIT"
] | 68 | 2018-03-28T08:42:52.000Z | 2020-04-15T00:02:47.000Z | security-updates/SecurityBulletins/2006/ms06-038.md | isabella232/security-updates.it-it | c8b879c418b0b95b4765e427cb8fddb8abfcb977 | [
"CC-BY-4.0",
"MIT"
] | 5 | 2018-05-10T06:33:28.000Z | 2021-11-15T10:59:08.000Z | ---
TOCTitle: 'MS06-038'
Title: 'Bollettino Microsoft sulla sicurezza MS06-038 - Critico'
ms:assetid: 'ms06-038'
ms:contentKeyID: 61240179
ms:mtpsurl: 'https://technet.microsoft.com/it-IT/library/ms06-038(v=Security.10)'
author: SharonSears
ms.author: SharonSears
---
Security Bulletin
Bollettino Microsoft sulla sicurezza MS06-038 - Critico
=======================================================
Alcune vulnerabilità in Microsoft Office possono consentire l'esecuzione di codice in modalità remota (917284)
--------------------------------------------------------------------------------------------------------------
Data di pubblicazione: martedì 11 luglio 2006 | Aggiornamento: mercoledì 11 ottobre 2006
**Versione:** 1.5
#### Riepilogo
**Destinatari:** Clienti che utilizzano Microsoft Office
**Effetti della vulnerabilità:** Esecuzione di codice in modalità remota
**Livello di gravità massimo:** Critico
**Raccomandazioni:** È opportuno applicare immediatamente l'aggiornamento
**Aggiornamenti per la protezione sostituiti:** Questo bollettino sostituisce un aggiornamento per la protezione precedente. Per un elenco completo, vedere la sezione Domande frequenti di questo bollettino.
**Avvertenze:** Nessuno
**Software verificato e posizioni per il download dell'aggiornamento per la protezione:**
**Software interessato:**
- Microsoft Office 2003 Service Pack 1 o Service Pack 2 - [Download dell'aggiornamento (KB917151)](http://www.microsoft.com/downloads/details.aspx?displaylang=it&familyid=1b11ac6b-4a78-4a7b-995f-94738cafe27f)
- Microsoft Access 2003
- Microsoft Excel 2003
- Microsoft Excel 2003 Viewer
- Microsoft FrontPage 2003
- Microsoft InfoPath 2003
- Microsoft OneNote 2003
- Microsoft Outlook 2003
- Microsoft PowerPoint 2003
- Microsoft Project 2003
- Microsoft Publisher 2003
- Microsoft Visio 2003
- Microsoft Word 2003
- Microsoft Word 2003 Viewer
- Microsoft Office XP Service Pack 3 - [Download dell'aggiornamento (KB917150)](http://www.microsoft.com/downloads/details.aspx?displaylang=it&familyid=266c287e-a773-4d9c-9736-eeafb34ff893)
- Microsoft Access 2002
- Microsoft Excel 2002
- Microsoft FrontPage 2002
- Microsoft Outlook 2002
- Microsoft PowerPoint 2002
- Microsoft Publisher 2002
- Microsoft Visio 2002
- Microsoft Word 2002
- Microsoft Office 2000 Service Pack 3 - [Download dell'aggiornamento (KB917152)](http://www.microsoft.com/downloads/details.aspx?displaylang=it&familyid=776ff379-0b9d-45d5-8b3c-cf9a4bd25dae)
- Microsoft Access 2000
- Microsoft Excel 2000
- Microsoft FrontPage 2000
- Microsoft Outlook 2000
- Microsoft PowerPoint 2000
- Microsoft Publisher 2000
- Microsoft Word 2000
- Microsoft Project 2002 Service Pack 1 - [Download dell'aggiornamento (KB917150)](http://www.microsoft.com/downloads/details.aspx?displaylang=it&familyid=bf9cbfa6-5e91-4aa8-82c1-4c9a92a5b954)
- Microsoft Visio 2002 Service Pack 2 - [Download dell'aggiornamento (KB917150)](http://www.microsoft.com/downloads/details.aspx?displaylang=it&familyid=9f67d75a-b69d-4064-942c-f5515c920e6b)
- Microsoft Project 2000 Service Release 1 [Download dell'aggiornamento (KB917152)](http://www.microsoft.com/downloads/details.aspx?displaylang=it&familyid=5c28e38a-f323-4006-beed-a00840cafbce)
- Microsoft Office 2004 per Mac
- Microsoft Office v. X per Mac
**Software non interessato:**
- Microsoft Works Suite:
- Microsoft Works Suite 2004
- Microsoft Works Suite 2005
- Microsoft Works Suite 2006
I prodotti software inclusi nell'elenco sono stati sottoposti a test per determinare se tali versioni sono interessate dalla vulnerabilità. Le altre versioni non includono più il supporto degli aggiornamenti per la protezione o potrebbero non essere interessate dal problema. Per informazioni sulla disponibilità del supporto per il prodotto e la versione in uso, visitare il [sito Web Ciclo di vita del supporto Microsoft](http://go.microsoft.com/fwlink/?linkid=21742).
### Informazioni generali
Riepilogo
---------
<span></span>
Questo aggiornamento risolve diverse vulnerabilità scoperte di recente e segnalate sia pubblicamente che privatamente a Microsoft. Ogni vulnerabilità è illustrata in dettaglio nella relativa sezione "Dettagli della vulnerabilità" del presente bollettino.
Nelle versioni di Office esposte alle vulnerabilità, se un utente è connesso con privilegi di amministrazione, un utente malintenzionato che sfrutti queste vulnerabilità può assumere il controllo completo della workstation client riuscendo quindi a installare programmi e visualizzare, modificare o eliminare dati oppure creare nuovi account con diritti utente completi. Gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
Microsoft consiglia di applicare l'aggiornamento immediatamente.
**Livelli di gravità e identificatori della vulnerabilità:**
| Identificatori della vulnerabilità | Effetti della vulnerabilità | Microsoft Office 2003 | Microsoft Office XP | Microsoft Office 2000 | Microsoft Office 2004 per Mac o Microsoft Office v. X per Mac |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|-----------------------|---------------------|-----------------------|---------------------------------------------------------------|
| Vulnerabilità legata all'analisi in Microsoft Office - [CVE-2006-1316](http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2006-1316) | Esecuzione di codice in modalità remota | Importante | Importante | Critico | Importante |
| Vulnerabilità legata ai controlli di Microsoft Office - [CVE-2006-1318](http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2006-1318) | Esecuzione di codice in modalità remota | Importante | Importante | Critico | Importante |
| Vulnerabilità legata all'analisi delle stringhe non valide in Microsoft Office - [CVE-2006-1540](http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2006-1540) | Esecuzione di codice in modalità remota | Importante | Importante | Critico | Importante |
| Vulnerabilità legata alle proprietà di Microsoft Office - [CVE-2006-2389](http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2006-2389) | Esecuzione di codice in modalità remota | Importante | Importante | Critico | Importante |
| **Livello di gravità aggregato per tutte le vulnerabilità** | | **Importante** | **Importante** | **Critico** | **Importante** |
La [classificazione della gravità](http://technet.microsoft.com/security/bulletin/rating) si basa sui tipi di sistemi interessati dalla vulnerabilità, sui modelli di distribuzione più comuni e sui potenziali effetti del problema in tali ambienti.
Domande frequenti sull'aggiornamento per la protezione
------------------------------------------------------
<span></span>
**Durante l'aggiornamento dei punti di installazione amministrativa sono stati individuati due file msp. Perché?**Le limitazioni alla logica di rilevamento delle patch comporta l'uso di due patch separate. Ciò è dovuto al fatto che il file che viene aggiornato, mso.dll, viene fornito in così tanti prodotti che se si utilizzasse un solo .MSP per indicarli tutti, la logica di rilevamento nell'MSP sarebbe troppo grande per gli strumenti di rilevamento a disposizione. Microsoft sta lavorando attivamente per risolvere questa limitazione.
**I punti di installazione amministrativa elencano mso.msp e pvmso.msp. È necessario installare entrambi i pacchetti?**Sì, il file mso.msp si riferisce alla maggior parte dei prodotti Office, come Word ed Excel. Il file pvmso.msp si riferisce ad ulteriori prodotti Office, quali Visio, Project e OneNote. Per una maggiore protezione sarà necessario installare entrambi i pacchetti.
**Quali aggiornamenti sostituisce questo bollettino?**
Questo aggiornamento per la protezione sostituisce un aggiornamento per la protezione precedente. Gli ID dei bollettini sulla sicurezza e il software interessato sono elencati nella tabella che segue.
| ID bollettino | Microsoft Office 2003 | Microsoft Office XP, Project 2002 Service Pack 1 e Visio 2002 Service Pack 2 | Microsoft Office 2000 |
|---------------------------------------------------------------------|-----------------------|------------------------------------------------------------------------------|-----------------------|
| [MS05-005](http://technet.microsoft.com/security/bulletin/ms05-005) | Non applicabile | Sostituito | Non applicabile |
**È possibile utilizzare Microsoft Baseline Security Analyzer (MBSA) per verificare se è necessario installare questo aggiornamento?**
La seguente tabella contiene le informazioni di riepilogo sul rilevamento MBSA dell'aggiornamento per la protezione.
| Software | MBSA 1.2.1 | MBSA 2.0 |
|-------------------------------|------------|----------|
| Microsoft Office 2003 | Sì | Sì |
| Microsoft Office XP | Sì | Sì |
| Microsoft Office 2000 | Sì | No |
| Microsoft Office 2004 per Mac | No | No |
| Microsoft Office v. X per Mac | No | No |
**Nota** MBSA 1.2.1 utilizza una versione integrata di Office Detection Tool (ODT) che non supporta il rilevamento remoto di questo aggiornamento per la protezione. Per ulteriori informazioni su MBSA, visitare il [sito Web MBSA](http://go.microsoft.com/fwlink/?linkid=21134).
Per ulteriori informazioni su MBSA, visitare il [sito Web MBSA](http://go.microsoft.com/fwlink/?linkid=21134). Per ulteriori informazioni sui programmi che attualmente non vengono rilevati da Microsoft Update e MBSA 2.0, vedere l'[articolo della Microsoft Knowledge Base 895660](http://support.microsoft.com/kb/895660).
**È possibile utilizzare Systems Management Server (SMS) per verificare se è necessario installare questo aggiornamento?**
La seguente tabella contiene le informazioni di riepilogo di SMS dell'aggiornamento per la protezione.
| Software | SMS 2.0 | SMS 2003 |
|-------------------------------|---------|----------|
| Microsoft Office 2003 | Sì | Sì |
| Microsoft Office XP | Sì | Sì |
| Microsoft Office 2000 | Sì | Sì |
| Microsoft Office 2004 per Mac | No | No |
| Microsoft Office v. X per Mac | No | No |
SMS esegue il rilevamento tramite MBSA e, di conseguenza, presenta la stessa limitazione descritta precedentemente in questo bollettino in relazione ai programmi che MBSA non è in grado di rilevare.
Per SMS 2.0, è possibile utilizzare SMS SUS Feature Pack, che comprende Security Update Inventory Tool, per rilevare gli aggiornamenti per la protezione. SMS SUIT esegue il rilevamento tramite il motore MBSA 1.2.1. Per ulteriori informazioni su Security Update Inventory Tool, visitare il seguente [sito Web Microsoft](http://www.microsoft.com/smserver/downloads/2003/featurepacks/suspack). Per ulteriori informazioni sulle limitazioni di Security Update Inventory Tool, consultare l'[articolo della Microsoft Knowledge Base 306460](http://support.microsoft.com/kb/306460). SMS SUS Feature Pack include inoltre Microsoft Office Inventory Tool, lo strumento che consente il rilevamento degli aggiornamenti necessari per le applicazioni di Microsoft Office.
SMS 2003 Inventory Tool for Microsoft Updates può essere utilizzato in SMS 2003 per il rilevamento tramite SMS degli aggiornamenti per la protezione disponibili in [Microsoft Update](http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=it-it) e supportati da [Windows Server Update Services](http://go.microsoft.com/fwlink/?linkid=50120). Per ulteriori informazioni su SMS 2003 Inventory Tool for Microsoft Updates, visitare il seguente [sito Web Microsoft](http://www.microsoft.com/smserver/downloads/2003/tools/msupdates.mspx). SMS 2003 può identificare gli aggiornamenti necessari per le applicazioni di Microsoft Office anche tramite Microsoft Office Inventory Tool.
Per ulteriori informazioni su SMS, visitare il [sito Web SMS](http://www.microsoft.com/italy/smserver/default.mspx).
Dettagli della vulnerabilità
----------------------------
<span></span>
#### Vulnerabilità legata all'analisi in Microsoft Office - CVE-2006-1316
In Office esiste una vulnerabilità legata all'esecuzione di codice in modalità remota che potrebbe essere sfruttata quando una stringa non valida presente in un file Office viene analizzata da una delle applicazioni Office interessate. Tale stringa può essere contenuta in un allegato di posta elettronica elaborato da una delle applicazioni interessate o in un sito Web dannoso. La visualizzazione o l'anteprima di un messaggio di posta elettronica non valido in una versione interessata di Outlook potrebbe non consentire lo sfruttamento di questa vulnerabilità. Un utente malintenzionato può sfruttare tale vulnerabilità creando un file Office appositamente predisposto che potrebbe consentire l'esecuzione di codice in modalità remota.
Se un utente è connesso con privilegi di amministrazione, un utente malintenzionato che sfrutti questa vulnerabilità può assumere il controllo completo del sistema interessato, riuscendo quindi a installare programmi e visualizzare, modificare o eliminare dati oppure creare nuovi account con diritti utente completi. Pertanto, gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
#### Fattori attenuanti della vulnerabilità legata all'analisi in Microsoft Office - CVE-2006-1316
- Sfruttando questa vulnerabilità, un utente malintenzionato può ottenere gli stessi diritti utente dell'utente locale. Gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
- In Outlook 2002 e Outlook 2003, la vulnerabilità non può essere sfruttata automaticamente tramite la posta elettronica. L'attacco è possibile solo se l'utente conferma di voler **aprire**, **salvare** o **eliminare** l'allegato inviato con un messaggio di posta elettronica prima che qualcuno possa sfruttarlo.
- In uno scenario di attacco basato sul Web, l'utente malintenzionato potrebbe pubblicare un sito Web contenente una pagina utilizzata per sfruttare la vulnerabilità. Inoltre, i siti Web manomessi e quelli che accettano o ospitano contenuti o annunci pubblicitari forniti dagli utenti potrebbero presentare contenuti appositamente predisposti per sfruttare questa vulnerabilità. In tutti questi casi, comunque, non è in alcun modo possibile obbligare gli utenti a visitare questi siti Web. L'utente malintenzionato dovrebbe invece invogliare le vittime a visitare il sito Web, in genere inducendole a fare clic su un collegamento in un messaggio di posta elettronica o di Instant Messenger che le indirizzi al sito.
**Nota** Outlook 2000 non richiede all'utente di scegliere **Apri**, **Salva** o **Annulla** prima di aprire un documento.
#### Soluzioni alternative per la vulnerabilità legata all'analisi Microsoft - CVE-2006-1316:
Microsoft ha verificato le soluzioni alternative seguenti. Sebbene queste soluzioni alternative non eliminino la vulnerabilità sottostante, consentono di bloccare gli attacchi noti. Se una soluzione alternativa riduce la funzionalità, viene identificata nella sezione seguente.
**Non aprire o salvare file Microsoft Office provenienti da fonti non attendibili oppure ricevuti inaspettatamente da fonti attendibili.**
Questa vulnerabilità può essere sfruttata quando un utente apre un file.
#### Domande frequenti sulla vulnerabilità legata all'analisi in Microsoft Office - CVE-2006-1316:
**Qual è la portata o l'impatto di questa vulnerabilità?**
In Office esiste una vulnerabilità legata all'esecuzione di codice in modalità remota che potrebbe essere sfruttata quando una stringa non valida presente in un file Office viene analizzata da una delle applicazioni Office interessate. Tale stringa può essere contenuta in un allegato di posta elettronica elaborato da una delle applicazioni interessate o in un sito Web dannoso. La visualizzazione o l'anteprima di un messaggio di posta elettronica non valido in una versione interessata di Outlook potrebbe non consentire lo sfruttamento di questa vulnerabilità. Un utente malintenzionato può sfruttare tale vulnerabilità creando un file Office appositamente predisposto che potrebbe consentire l'esecuzione di codice in modalità remota.
Se un utente è connesso con privilegi di amministrazione, un utente malintenzionato che sfrutti questa vulnerabilità può assumere il controllo completo del sistema interessato, riuscendo quindi a installare programmi e visualizzare, modificare o eliminare dati oppure creare nuovi account con diritti utente completi. Pertanto, gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
**Quali sono le cause di questa vulnerabilità?**
Se in Office viene aperto un file Office appositamente predisposto e viene analizzata una stringa non valida, la memoria di sistema può essere danneggiata in modo da permettere a un utente malintenzionato di eseguire codice non autorizzato.
**A quali attacchi viene esposto il sistema a causa di questa vulnerabilità?**
Sfruttando questa vulnerabilità, un utente malintenzionato potrebbe eseguire codice non autorizzato con i privilegi dell'utente che ha aperto il file.
**In quale modo un utente malintenzionato può sfruttare questa vulnerabilità?**
In uno scenario di attacco dal Web, l'utente malintenzionato potrebbe pubblicare un sito contenente una pagina appositamente predisposta per sfruttare questa vulnerabilità. Inoltre, i siti Web manomessi e quelli che accettano o ospitano contenuti o annunci pubblicitari forniti dagli utenti potrebbero presentare contenuti appositamente predisposti per sfruttare questa vulnerabilità. In tutti questi casi, comunque, non è in alcun modo possibile obbligare gli utenti a visitare questi siti Web. L'utente malintenzionato dovrebbe invece invogliare le vittime a visitare il sito Web, in genere inducendole a fare clic su un collegamento in un messaggio di posta elettronica o di Instant Messenger che le indirizzi al sito.
In uno scenario di attacco tramite posta elettronica, l'utente malintenzionato potrebbe sfruttare la vulnerabilità inviando un file appositamente predisposto e inducendo l'utente ad aprirlo.
**Quali sono i sistemi principalmente interessati da questa vulnerabilità?**
I sistemi più esposti sono le workstation e i server terminal. I server potrebbero essere maggiormente a rischio se agli utenti dispongono di autorizzazioni amministrative sufficienti è consentito di accedere ai server e di eseguire programmi. Tuttavia, le procedure consigliate scoraggiano fortemente questa attribuzione di privilegi.
**Quali sono gli scopi dell'aggiornamento?**
L'aggiornamento elimina la vulnerabilità modificando il modo in cui Office analizza la lunghezza di un record prima di passarlo al buffer allocato.
**Al momento del rilascio di questo bollettino le informazioni sulla vulnerabilità erano disponibili pubblicamente?**
No. Microsoft ha ricevuto informazioni sulla vulnerabilità da fonti private. Secondo le informazioni in possesso di Microsoft, al momento della pubblicazione del presente bollettino l'esistenza di questa vulnerabilità non era stata ancora divulgata pubblicamente. Il presente bollettino sulla sicurezza risolve questa vulnerabilità nonché altri problemi scoperti tramite ricerche interne.
**Al momento del rilascio di questo bollettino erano già stati segnalati attacchi basati sullo sfruttamento di questa vulnerabilità?**
No. Al momento della pubblicazione del presente bollettino, Microsoft non aveva ricevuto alcuna segnalazione in merito allo sfruttamento di questa vulnerabilità a scopo di attacco, né dell'esistenza di un codice di prova pubblicato.
#### Vulnerabilità legata ai controlli di Microsoft Office - CVE-2006-1318
In Office esiste una vulnerabilità legata all'esecuzione di codice in modalità remota che potrebbe essere sfruttata quando un controllo non valido presente in un file Office viene analizzato da una delle applicazioni Office interessate. Tale controllo può essere contenuto in un allegato di posta elettronica elaborato da una delle applicazioni interessate o in un sito Web dannoso. La visualizzazione o l'anteprima di un messaggio di posta elettronica non valido in una versione interessata di Outlook potrebbe non consentire lo sfruttamento di questa vulnerabilità. Un utente malintenzionato può sfruttare tale vulnerabilità creando un file Office appositamente predisposto che potrebbe consentire l'esecuzione di codice in modalità remota.
Se un utente è connesso con privilegi di amministrazione, un utente malintenzionato che sfrutti questa vulnerabilità può assumere il controllo completo del sistema interessato, riuscendo quindi a installare programmi e visualizzare, modificare o eliminare dati oppure creare nuovi account con diritti utente completi. Pertanto, gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
#### Fattori attenuanti della vulnerabilità legata ai controlli di Microsoft Office - CVE-2006-1318
- Sfruttando questa vulnerabilità, un utente malintenzionato può ottenere gli stessi diritti utente dell'utente locale. Gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
- In Outlook 2002 e Outlook 2003, la vulnerabilità non può essere sfruttata automaticamente tramite la posta elettronica. L'attacco è possibile solo se l'utente conferma di voler **aprire**, **salvare** o **eliminare** l'allegato inviato con un messaggio di posta elettronica prima che qualcuno possa sfruttarlo.
- In uno scenario di attacco basato sul Web, l'utente malintenzionato potrebbe pubblicare un sito Web contenente una pagina utilizzata per sfruttare la vulnerabilità. Inoltre, i siti Web manomessi e quelli che accettano o ospitano contenuti o annunci pubblicitari forniti dagli utenti potrebbero presentare contenuti appositamente predisposti per sfruttare questa vulnerabilità. In tutti questi casi, comunque, non è in alcun modo possibile obbligare gli utenti a visitare questi siti Web. L'utente malintenzionato dovrebbe invece invogliare le vittime a visitare il sito Web, in genere inducendole a fare clic su un collegamento in un messaggio di posta elettronica o di Instant Messenger che le indirizzi al sito.
**Nota** Outlook 2000 non richiede all'utente di scegliere **Apri**, **Salva** o **Annulla** prima di aprire un documento.
#### Soluzioni alternative per la vulnerabilità legata ai controlli di Microsoft Office- CVE-2006-1318:
Microsoft ha verificato le soluzioni alternative seguenti. Sebbene queste soluzioni alternative non eliminino la vulnerabilità sottostante, consentono di bloccare gli attacchi noti. Se una soluzione alternativa riduce la funzionalità, viene identificata nella sezione seguente.
**Non aprire o salvare file Microsoft Office provenienti da fonti non attendibili oppure ricevuti inaspettatamente da fonti attendibili.**
Questa vulnerabilità può essere sfruttata quando un utente apre un file.
#### Domande frequenti sulla vulnerabilità legata ai controlli di Microsoft Office - CVE-2006-1318:
**Qual è la portata o l'impatto di questa vulnerabilità?**
In Office esiste una vulnerabilità legata all'esecuzione di codice in modalità remota che potrebbe essere sfruttata quando un controllo non valido presente in un file Office viene analizzato da una delle applicazioni Office interessate. Tale controllo può essere contenuto in un allegato di posta elettronica elaborato da una delle applicazioni interessate o in un sito Web dannoso. La visualizzazione o l'anteprima di un messaggio di posta elettronica non valido in una versione interessata di Outlook potrebbe non consentire lo sfruttamento di questa vulnerabilità. Un utente malintenzionato può sfruttare tale vulnerabilità creando un file Office appositamente predisposto che potrebbe consentire l'esecuzione di codice in modalità remota.
Se un utente è connesso con privilegi di amministrazione, un utente malintenzionato che sfrutti questa vulnerabilità può assumere il controllo completo del sistema interessato, riuscendo quindi a installare programmi e visualizzare, modificare o eliminare dati oppure creare nuovi account con diritti utente completi. Pertanto, gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
**Quali sono le cause di questa vulnerabilità?**
Se in Office viene aperto un file Office appositamente predisposto e viene analizzato un controllo non valido, la memoria di sistema potrebbe essere danneggiata in modo da permettere a un utente malintenzionato di eseguire codice non autorizzato.
**A quali attacchi viene esposto il sistema a causa di questa vulnerabilità?**
Sfruttando questa vulnerabilità, un utente malintenzionato potrebbe eseguire codice non autorizzato con i privilegi dell'utente che ha aperto il file.
**In quale modo un utente malintenzionato può sfruttare questa vulnerabilità?**
In uno scenario di attacco dal Web, l'utente malintenzionato potrebbe pubblicare un sito contenente una pagina appositamente predisposta per sfruttare questa vulnerabilità. Inoltre, i siti Web manomessi e quelli che accettano o ospitano contenuti o annunci pubblicitari forniti dagli utenti potrebbero presentare contenuti appositamente predisposti per sfruttare questa vulnerabilità. In tutti questi casi, comunque, non è in alcun modo possibile obbligare gli utenti a visitare questi siti Web. L'utente malintenzionato dovrebbe invece invogliare le vittime a visitare il sito Web, in genere inducendole a fare clic su un collegamento in un messaggio di posta elettronica o di Instant Messenger che le indirizzi al sito.
In uno scenario di attacco tramite posta elettronica, l'utente malintenzionato potrebbe sfruttare la vulnerabilità inviando un file appositamente predisposto e inducendo l'utente ad aprirlo.
**Quali sono i sistemi principalmente interessati da questa vulnerabilità?**
I sistemi più esposti sono le workstation e i server terminal. I server potrebbero essere maggiormente a rischio se agli utenti dispongono di autorizzazioni amministrative sufficienti è consentito di accedere ai server e di eseguire programmi. Tuttavia, le procedure consigliate scoraggiano fortemente questa attribuzione di privilegi.
**Quali sono gli scopi dell'aggiornamento?**
L'aggiornamento elimina la vulnerabilità modificando il modo in cui Office analizza la lunghezza di un record prima di passarlo al buffer allocato.
**Al momento del rilascio di questo bollettino le informazioni sulla vulnerabilità erano disponibili pubblicamente?**
No. Microsoft ha ricevuto informazioni sulla vulnerabilità da fonti private. Secondo le informazioni in possesso di Microsoft, al momento della pubblicazione del presente bollettino l'esistenza di questa vulnerabilità non era stata ancora divulgata pubblicamente. Il presente bollettino sulla sicurezza risolve questa vulnerabilità nonché altri problemi scoperti tramite ricerche interne.
**Al momento del rilascio di questo bollettino erano già stati segnalati attacchi basati sullo sfruttamento di questa vulnerabilità?**
No. Al momento della pubblicazione del presente bollettino, Microsoft non aveva ricevuto alcuna segnalazione in merito allo sfruttamento di questa vulnerabilità a scopo di attacco, né dell'esistenza di un codice di prova pubblicato.
#### Vulnerabilità legata all'analisi delle stringhe non valide in Microsoft Office - CVE-2006-1540
In Office esiste una vulnerabilità legata all'esecuzione di codice in modalità remota che potrebbe essere sfruttata quando una stringa non valida presente in un file Office viene analizzata da una delle applicazioni Office interessate. Tale stringa può essere contenuta in un allegato di posta elettronica elaborato da una delle applicazioni interessate o in un sito Web dannoso. La visualizzazione o l'anteprima di un messaggio di posta elettronica non valido in una versione interessata di Outlook potrebbe non consentire lo sfruttamento di questa vulnerabilità. Un utente malintenzionato può sfruttare tale vulnerabilità creando un file Office appositamente predisposto che potrebbe consentire l'esecuzione di codice in modalità remota.
Se un utente è connesso con privilegi di amministrazione, un utente malintenzionato che sfrutti questa vulnerabilità può assumere il controllo completo del sistema interessato, riuscendo quindi a installare programmi e visualizzare, modificare o eliminare dati oppure creare nuovi account con diritti utente completi. Pertanto, gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
#### Fattori attenuanti della vulnerabilità legata all'analisi delle stringhe non valide in Microsoft - CVE-2006-1540
- Sfruttando questa vulnerabilità, un utente malintenzionato può ottenere gli stessi diritti utente dell'utente locale. Gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
- In Outlook 2002 e Outlook 2003, la vulnerabilità non può essere sfruttata automaticamente tramite la posta elettronica. L'attacco è possibile solo se l'utente conferma di voler **aprire**, **salvare** o **eliminare** l'allegato inviato con un messaggio di posta elettronica prima che qualcuno possa sfruttarlo.
- In uno scenario di attacco basato sul Web, l'utente malintenzionato potrebbe pubblicare un sito Web contenente una pagina utilizzata per sfruttare la vulnerabilità. Inoltre, i siti Web manomessi e quelli che accettano o ospitano contenuti o annunci pubblicitari forniti dagli utenti potrebbero presentare contenuti appositamente predisposti per sfruttare questa vulnerabilità. In tutti questi casi, comunque, non è in alcun modo possibile obbligare gli utenti a visitare questi siti Web. L'utente malintenzionato dovrebbe invece invogliare le vittime a visitare il sito Web, in genere inducendole a fare clic su un collegamento in un messaggio di posta elettronica o di Instant Messenger che le indirizzi al sito.
**Nota** Outlook 2000 non richiede all'utente di scegliere **Apri**, **Salva** o **Annulla** prima di aprire un documento.
#### Soluzioni alternative per la vulnerabilità legata all'analisi delle stringhe non valide in Microsoft - CVE-2006-1540:
Microsoft ha verificato le soluzioni alternative seguenti. Sebbene queste soluzioni alternative non eliminino la vulnerabilità sottostante, consentono di bloccare gli attacchi noti. Se una soluzione alternativa riduce la funzionalità, viene identificata nella sezione seguente.
**Non aprire o salvare file Microsoft Office provenienti da fonti non attendibili oppure ricevuti inaspettatamente da fonti attendibili.**
Questa vulnerabilità può essere sfruttata quando un utente apre un file.
#### Domande frequenti sulla vulnerabilità legata all'analisi delle stringhe non valide in Microsoft - CVE-2006-1540:
**Qual è la portata o l'impatto di questa vulnerabilità?**
Si tratta di una vulnerabilità legata all'esecuzione di codice in modalità remota. Se la vulnerabilità viene sfruttata, può consentire a un utente malintenzionato di assumere in remoto il controllo completo del sistema interessato,
Se un utente è connesso con privilegi di amministrazione, un utente malintenzionato che sfrutti questa vulnerabilità può assumere il controllo completo del sistema interessato, riuscendo quindi a installare programmi e visualizzare, modificare o eliminare dati oppure creare nuovi account con diritti utente completi. Pertanto, gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
**Quali sono le cause di questa vulnerabilità?**
Se in Office viene aperto un file Office appositamente predisposto e viene analizzata una stringa non valida, la memoria di sistema può essere danneggiata in modo da permettere a un utente malintenzionato di eseguire codice non autorizzato.
**A quali attacchi viene esposto il sistema a causa di questa vulnerabilità?**
Sfruttando questa vulnerabilità, un utente malintenzionato potrebbe eseguire codice non autorizzato con i privilegi dell'utente che ha aperto il file.
**In quale modo un utente malintenzionato può sfruttare questa vulnerabilità?**
In uno scenario di attacco dal Web, l'utente malintenzionato potrebbe pubblicare un sito contenente una pagina appositamente predisposta per sfruttare questa vulnerabilità. Inoltre, i siti Web manomessi e quelli che accettano o ospitano contenuti o annunci pubblicitari forniti dagli utenti potrebbero presentare contenuti appositamente predisposti per sfruttare questa vulnerabilità. In tutti questi casi, comunque, non è in alcun modo possibile obbligare gli utenti a visitare questi siti Web. L'utente malintenzionato dovrebbe invece invogliare le vittime a visitare il sito Web, in genere inducendole a fare clic su un collegamento in un messaggio di posta elettronica o di Instant Messenger che le indirizzi al sito.
In uno scenario di attacco tramite posta elettronica, l'utente malintenzionato potrebbe sfruttare la vulnerabilità inviando un file appositamente predisposto e inducendo l'utente ad aprirlo.
**Quali sono i sistemi principalmente interessati da questa vulnerabilità?**
I sistemi più esposti sono le workstation e i server terminal. I server potrebbero essere maggiormente a rischio se agli utenti dispongono di autorizzazioni amministrative sufficienti è consentito di accedere ai server e di eseguire programmi. Tuttavia, le procedure consigliate scoraggiano fortemente questa attribuzione di privilegi.
**Quali sono gli scopi dell'aggiornamento?**
L'aggiornamento elimina la vulnerabilità modificando il modo in cui Office analizza la lunghezza di un record prima di passarlo al buffer allocato.
**Al momento del rilascio di questo bollettino le informazioni sulla vulnerabilità erano disponibili pubblicamente?**
Sì. Sebbene il report iniziale sia stato fornito mediante segnalazione responsabile, la vulnerabilità è stata divulgata pubblicamente in seguito. Il presente bollettino sulla sicurezza risolve questa vulnerabilità nonché altri problemi scoperti tramite ricerche interne.
**Al momento del rilascio di questo bollettino erano già stati segnalati attacchi basati sullo sfruttamento di questa vulnerabilità?**
Sì. Al momento del rilascio di questo bollettino, erano stati segnalati attacchi basati sullo sfruttamento di questa vulnerabilità.
#### Vulnerabilità legata alle proprietà di Microsoft Office - CVE-2006-2389
In Office esiste una vulnerabilità legata all'esecuzione di codice in modalità remota che potrebbe essere sfruttata quando una proprietà non valida presente in un file Office viene analizzata da una delle applicazioni Office interessate. Tale proprietà può essere contenuta in un allegato di posta elettronica elaborato da una delle applicazioni interessate o in un sito Web dannoso. La visualizzazione o l'anteprima di un messaggio di posta elettronica non valido in una versione interessata di Outlook potrebbe non consentire lo sfruttamento di questa vulnerabilità. Un utente malintenzionato può sfruttare tale vulnerabilità creando un file Office appositamente predisposto che potrebbe consentire l'esecuzione di codice in modalità remota.
Se un utente è connesso con privilegi di amministrazione, un utente malintenzionato che sfrutti questa vulnerabilità può assumere il controllo completo del sistema interessato, riuscendo quindi a installare programmi e visualizzare, modificare o eliminare dati oppure creare nuovi account con diritti utente completi. Pertanto, gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
#### Fattori attenuanti della vulnerabilità legata alle proprietà di Microsoft Office - CVE-2006-1316
- Sfruttando questa vulnerabilità, un utente malintenzionato può ottenere gli stessi diritti utente dell'utente locale. Gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
- In Outlook 2002 e Outlook 2003, la vulnerabilità non può essere sfruttata automaticamente tramite la posta elettronica. L'attacco è possibile solo se l'utente conferma di voler **aprire**, **salvare** o **eliminare** l'allegato inviato con un messaggio di posta elettronica prima che qualcuno possa sfruttarlo.
- In uno scenario di attacco basato sul Web, l'utente malintenzionato potrebbe pubblicare un sito Web contenente una pagina utilizzata per sfruttare la vulnerabilità. Inoltre, i siti Web manomessi e quelli che accettano o ospitano contenuti o annunci pubblicitari forniti dagli utenti potrebbero presentare contenuti appositamente predisposti per sfruttare questa vulnerabilità. In tutti questi casi, comunque, non è in alcun modo possibile obbligare gli utenti a visitare questi siti Web. L'utente malintenzionato dovrebbe invece invogliare le vittime a visitare il sito Web, in genere inducendole a fare clic su un collegamento in un messaggio di posta elettronica o di Instant Messenger che le indirizzi al sito.
**Nota** Outlook 2000 non richiede all'utente di scegliere **Apri**, **Salva** o **Annulla** prima di aprire un documento.
#### Soluzioni alternative per la vulnerabilità legata alle proprietà Microsoft - CVE-2006-2389:
Microsoft ha verificato le soluzioni alternative seguenti. Sebbene queste soluzioni alternative non eliminino la vulnerabilità sottostante, consentono di bloccare gli attacchi noti. Se una soluzione alternativa riduce la funzionalità, viene identificata nella sezione seguente.
**Non aprire o salvare file Microsoft Office provenienti da fonti non attendibili oppure ricevuti inaspettatamente da fonti attendibili.**
Questa vulnerabilità può essere sfruttata quando un utente apre un file.
#### Domande frequenti sulla vulnerabilità legata alle proprietà di Microsoft Office - CVE-2006-2389:
**Qual è la portata o l'impatto di questa vulnerabilità?**
In Office esiste una vulnerabilità legata all'esecuzione di codice in modalità remota che potrebbe essere sfruttata quando una proprietà non valida presente in un file Office viene analizzata da una delle applicazioni Office interessate. Tale proprietà può essere contenuta in un allegato di posta elettronica elaborato da una delle applicazioni interessate o in un sito Web dannoso. La visualizzazione o l'anteprima di un messaggio di posta elettronica non valido in una versione interessata di Outlook potrebbe non consentire lo sfruttamento di questa vulnerabilità. Un utente malintenzionato può sfruttare tale vulnerabilità creando un file Office appositamente predisposto che potrebbe consentire l'esecuzione di codice in modalità remota.
Se un utente è connesso con privilegi di amministrazione, un utente malintenzionato che sfrutti questa vulnerabilità può assumere il controllo completo del sistema interessato, riuscendo quindi a installare programmi e visualizzare, modificare o eliminare dati oppure creare nuovi account con diritti utente completi. Pertanto, gli utenti con account configurati in modo da disporre solo di diritti limitati sono esposti all'attacco in misura inferiore rispetto a quelli che operano con privilegi di amministrazione.
**Quali sono le cause di questa vulnerabilità?**
Se in Office viene aperto un file Office appositamente predisposto e viene analizzata una proprietà non valida, la memoria di sistema può essere danneggiata in modo da permettere a un utente malintenzionato di eseguire codice non autorizzato.
**A quali attacchi viene esposto il sistema a causa di questa vulnerabilità?**
Sfruttando questa vulnerabilità, un utente malintenzionato potrebbe eseguire codice non autorizzato con i privilegi dell'utente che ha aperto il file.
**In quale modo un utente malintenzionato può sfruttare questa vulnerabilità?**
In uno scenario di attacco dal Web, l'utente malintenzionato potrebbe pubblicare un sito contenente una pagina appositamente predisposta per sfruttare questa vulnerabilità. Inoltre, i siti Web manomessi e quelli che accettano o ospitano contenuti o annunci pubblicitari forniti dagli utenti potrebbero presentare contenuti appositamente predisposti per sfruttare questa vulnerabilità. In tutti questi casi, comunque, non è in alcun modo possibile obbligare gli utenti a visitare questi siti Web. L'utente malintenzionato dovrebbe invece invogliare le vittime a visitare il sito Web, in genere inducendole a fare clic su un collegamento in un messaggio di posta elettronica o di Instant Messenger che le indirizzi al sito.
In uno scenario di attacco tramite posta elettronica, l'utente malintenzionato potrebbe sfruttare la vulnerabilità inviando un file appositamente predisposto e inducendo l'utente ad aprirlo.
**Quali sono i sistemi principalmente interessati da questa vulnerabilità?**
I sistemi più esposti sono le workstation e i server terminal. I server potrebbero essere maggiormente a rischio se agli utenti dispongono di autorizzazioni amministrative sufficienti è consentito di accedere ai server e di eseguire programmi. Tuttavia, le procedure consigliate scoraggiano fortemente questa attribuzione di privilegi.
**Quali sono gli scopi dell'aggiornamento?**
L'aggiornamento elimina la vulnerabilità modificando il modo in cui Office analizza la lunghezza di un record prima di passarlo al buffer allocato.
**Al momento del rilascio di questo bollettino le informazioni sulla vulnerabilità erano disponibili pubblicamente?**
No. Microsoft ha ricevuto informazioni sulla vulnerabilità da fonti private. Secondo le informazioni in possesso di Microsoft, al momento della pubblicazione del presente bollettino l'esistenza di questa vulnerabilità non era stata ancora divulgata pubblicamente. Il presente bollettino sulla sicurezza risolve questa vulnerabilità nonché altri problemi scoperti tramite ricerche interne.
**Al momento del rilascio di questo bollettino erano già stati segnalati attacchi basati sullo sfruttamento di questa vulnerabilità?**
No. Al momento della pubblicazione del presente bollettino, Microsoft non aveva ricevuto alcuna segnalazione in merito allo sfruttamento di questa vulnerabilità a scopo di attacco, né dell'esistenza di un codice di prova pubblicato.
Informazioni sull'aggiornamento per la protezione
-------------------------------------------------
<span></span>
#### Office 2003
#### Prerequisiti e ulteriori informazioni sull'aggiornamento
**Importante:** Prima di installare l'aggiornamento, assicurarsi che siano soddisfatti i requisiti seguenti:
- Per aggiornare Office 2003, deve essere installato Office 2003 Service Pack 1. Prima di installare questo aggiornamento, installare [Office 2003 SP1](http://www.microsoft.com/downloads/details.aspx?familyid=9c51d3a6-7cb1-4f61-837e-5f938254fc47) o [Office 2003 SP2](http://www.microsoft.com/downloads/details.aspx?familyid=57e27a97-2db6-4654-9db6-ec7d5b4dd867&displaylang=en).
Per ulteriori informazioni sulla procedura per determinare la versione di Office 2003 installata nel computer in uso, vedere l'[articolo della Microsoft Knowledge Base 821549](http://support.microsoft.com/kb/821549). Per ulteriori informazioni sui dati relativi alla versione visualizzati nella finestra di dialogo **Informazioni su**, vedere l'[articolo della Microsoft Knowledge Base 328294](http://support.microsoft.com/kb/328294).
**Disponibilità nei service pack futuri:**
La correzione per il problema illustrato verrà inclusa in un service pack futuro.
**Necessità di riavvio**
Per ridurre le probabilità di dover effettuare un riavvio, interrompere tutti i servizi interessati e chiudere tutte le applicazioni che potrebbero utilizzare i file interessati prima di installare l'aggiornamento per la protezione. Per ulteriori informazioni sui motivi della richiesta di riavvio del sistema, vedere l'[articolo della Microsoft Knowledge Base 887012](http://support.microsoft.com/kb/887012).
**Informazioni per la rimozione**
Per rimuovere questo aggiornamento per la protezione, utilizzare Installazione applicazioni dal Pannello di controllo.
**Nota** Durante la rimozione dell'aggiornamento, talvolta viene richiesto di inserire il CD di Microsoft Office 2003 nell'unità CD-ROM. Inoltre, la disinstallazione dell'aggiornamento potrebbe non essere disponibile da Installazione applicazioni nel Pannello di controllo. Esistono diverse possibili cause per questo problema. Per ulteriori informazioni sulla rimozione, vedere l'[articolo della Microsoft Knowledge Base 903771](http://support.microsoft.com/kb/903771).
#### Informazioni per l'installazione automatica delle versioni client
**Sito Web Microsoft Update**
Questo aggiornamento per la protezione sarà disponibile sul [sito Web Microsoft Update](http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=it-it). Microsoft Update consolida gli aggiornamenti forniti da Windows Update e Office Update in un'unica posizione e consente di scegliere l'invio e l'installazione automatici degli aggiornamenti per la protezione o ad alta priorità. Si raccomanda di eseguire l'installazione dell'aggiornamento attraverso il sito Web Microsoft Update. Tale sito Web rileva automaticamente l'installazione presente nel computer in uso e visualizza un messaggio che indica esattamente quali componenti è necessario avere per assicurarsi che l'installazione esistente sia aggiornata.
Per avviare il rilevamento degli aggiornamenti necessari per il computer in uso, visitare il sito Web Microsoft Update. È possibile scegliere tra le opzioni **Rapido (scelta consigliata)** o **Personalizzato.** Al termine dell'operazione di rilevamento, verrà visualizzato un elenco degli aggiornamenti consigliati affinché venga approvato. Fare clic su **Installa aggiornamenti** o **Verifica e installa aggiornamenti** per completare il processo.
#### Informazioni per l'installazione manuale delle versioni client
L'installazione manuale di questo aggiornamento è descritta in dettaglio nella sezione successiva.
**Informazioni per l'installazione**
Questo aggiornamento per la protezione supporta le seguenti opzioni del programma di installazione.
| Opzione | Descrizione |
|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **/q** | Specifica la modalità automatica, o evita la visualizzazione delle richieste di conferma, durante l'estrazione dei file. |
| **/q:u** | Specifica la modalità senza intervento dell'utente, che prevede la visualizzazione di alcune finestre di dialogo per l'utente. |
| **/q:a** | Specifica la modalità senza intervento dell'amministratore, che non prevede la visualizzazione di finestre di dialogo per l'utente. |
| **/t:percorso** | Specifica la cartella di destinazione per l'estrazione dei file. |
| **/c** | Estrae i file senza eseguirne l'installazione. Se l'opzione **/t:percorso** non è specificata, viene richiesto di indicare una cartella di destinazione. |
| **/c:percorso** | Ignora il comando di installazione definito dall'autore. Specifica il percorso e il nome del file con estensione inf o exe del programma di installazione. |
| **/r:n** | Impedisce sempre il riavvio del computer dopo l'installazione. |
| **/r:i** | Richiede all'utente di riavviare il computer, qualora il riavvio sia necessario, a meno che non sia utilizzato con il parametro **/q:a**. |
| **/r:a** | Determina sempre il riavvio del computer dopo l'installazione. |
| **/r:s** | Determina il riavvio del computer dopo l'installazione senza chiedere conferma all'utente. |
| **/n:v** | Non viene effettuato alcun controllo di versione; il programma viene installato su qualsiasi versione precedente. |
**Nota** Queste opzioni non funzionano necessariamente con tutti gli aggiornamenti. Se un'opzione non è disponibile, la funzionalità è necessaria per installare l'aggiornamento in modo corretto. Inoltre, l'utilizzo dell'opzione **/n:v** non è supportato e può determinare l'impossibilità di riavviare il sistema. Se l'installazione non viene eseguita, contattare il supporto tecnico per informazioni sul problema.
Per ulteriori informazioni sulle opzioni supportate dal programma di installazione, vedere l'[articolo della Microsoft Knowledge Base 197147](http://support.microsoft.com/kb/197147).
**Nota** L'aggiornamento completo per Office è destinato alla distribuzione di entrambe le versioni client e amministrativa.
**Informazioni per la distribuzione delle versioni client**
1. [Scaricare l'aggiornamento per la protezione.](http://download.microsoft.com/download/07/02/05/27573ebe-4047-4ae5-89a8-c4c1cbdeaccb/office2003-kb917151-fullfile-enu.exe)
2. Fare clic su **Salva l'applicazione su disco** e quindi scegliere **OK**.
3. Fare clic su **Salva**.
4. In Esplora risorse individuare la cartella contenente il file salvato e fare doppio clic su quest'ultimo.
5. Se viene richiesto di installare l'aggiornamento, scegliere **Sì**.
6. Fare clic su **Sì** per accettare il contratto di licenza.
7. Inserire il CD-ROM originale quando viene richiesto e quindi scegliere **OK**.
8. Quando viene visualizzato un messaggio che indica che l'installazione è avvenuta correttamente, fare clic su **OK**.
**Nota** Se l'aggiornamento per la protezione è già installato nel computer, verrà visualizzato il seguente messaggio di errore: **L'aggiornamento è già stato installato oppure fa parte di un aggiornamento già installato**.
**Informazioni sui file di installazione della versione client**
I file della versione inglese di questo aggiornamento per la protezione presentano gli attributi riportati nella tabella che segue. Le date e le ore dei file indicati nella tabella sono espresse utilizzando l'ora UTC (Coordinated Universal Time). Al momento della visualizzazione, tali informazioni verranno convertite nella data e nell'ora locali. Per informazioni sulle differenze fra l'ora UTC e l'ora locale, utilizzare la scheda **Fuso orario** dello strumento Data e ora del Pannello di controllo.
Office 2003:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------|-------------|-------------|-------|------------|
| Ietag.dll | 11.0.6550.0 | 17-mar-2005 | 21:36 | 161.984 |
| Mso.dll | 11.0.8028.0 | 26-mag-2006 | 15:24 | 12.254.984 |
#### Informazioni per l'installazione amministrativa
Se l'applicazione è stata installata da una postazione server, l'amministratore del server dovrà installare l'aggiornamento amministrativo nel server e quindi distribuirlo al computer in uso.
**Informazioni per l'installazione**
Le seguenti opzioni del programma di installazione sono importanti per le installazioni amministrative perché consentono all'amministratore di personalizzare il modo in cui i file vengono estratti dall'aggiornamento per la protezione.
| Opzione | Descrizione |
|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **/?** | Visualizza le opzioni della riga di comando. |
| **/q** | Specifica la modalità automatica, o evita la visualizzazione delle richieste di conferma, durante l'estrazione dei file. |
| **/t:percorso** | Specifica la cartella di destinazione per l'estrazione dei file. |
| **/c:** | Estrae i file senza eseguirne l'installazione. Se l'opzione **/t:percorso** non è specificata, viene richiesto di indicare una cartella di destinazione. |
| **/c:percorso** | Ignora il comando di installazione definito dall'autore. Specifica il percorso e il nome del file con estensione inf o exe del programma di installazione. |
Per ulteriori informazioni sulle opzioni supportate dal programma di installazione, vedere l'[articolo della Microsoft Knowledge Base 197147](http://support.microsoft.com/kb/197147).
**Informazioni per la distribuzione della versione amministrativa**
Per aggiornare un'installazione amministrativa esistente, attenersi alla seguente procedura:
1. [Scaricare l'aggiornamento per la protezione.](http://download.microsoft.com/download/07/02/05/27573ebe-4047-4ae5-89a8-c4c1cbdeaccb/office2003-kb917151-fullfile-enu.exe)
2. 2. Fare clic su **Salva l'applicazione su disco**, quindi su **OK**.
3. Fare clic su **Salva**.
4. In Esplora risorse, individuare la cartella contenente il file salvato. Fare clic su **Start**, scegliere **Esegui**, digitare il comando seguente e scegliere **OK** per estrarre il file .msp:
**\[percorso\\nome del file EXE\] /c /t:C:\\AdminUpdate**
**Nota** Facendo doppio clic sul file con estensione exe, il file con estensione msp non viene estratto, ma viene applicato l'aggiornamento al computer locale. Per aggiornare un'immagine amministrativa è necessario estrarre dapprima il file con estensione msp.
5. Fare clic su **Sì** per accettare il contratto di licenza.
6. Fare clic su **Sì** se viene richiesto di creare la cartella.
7. Nel caso in cui si conosca la procedura di aggiornamento****dell'installazione amministrativa**,** fare clic su **Start**, scegliere **Esegui**, digitare il comando seguente e scegliere **OK**:
**msiexec /a** *Percorso amm***\\**File MSI **/p C:\\adminUpdate\\***File MSP* **SHORTFILENAMES=TRUE**
**Nota** *Percorso amm* rappresenta il percorso dell'installazione amministrativa dell'applicazione (ad esempio C:\\Office2003), *File MSI* rappresenta il pacchetto database con estensione msi per l'applicazione (ad esempio Data1.msi) e *File MSP* rappresenta il nome dell'aggiornamento amministrativo (ad esempio SHAREDff.msp).
**Nota** È possibile aggiungere /**qb+** alla riga di comando se non si desidera visualizzare le finestre di dialogo **Installazione amministrativa** e **Contratto di licenza con l'utente finale**.
8. Fare clic su **Avanti** nella finestra di dialogo visualizzata. In questa finestra di dialogo, non modificare il codice CD Key, la posizione di installazione o il nome della società.
9. Scegliere **Accetto i termini del Contratto di Licenza**, quindi fare clic su **Installa**.
L'installazione amministrativa è stata aggiornata. Sarà quindi necessario aggiornare le configurazioni delle workstation che erano state installate in origine da questa installazione amministrativa. Per effettuare questa operazione, consultare la sezione Informazioni per la distribuzione nelle workstation. Tutte le nuove versioni che saranno installate d'ora in poi da questa installazione amministrativa includeranno l'aggiornamento.
**Avviso** Tutte le configurazioni delle workstation che erano state installate in origine da questa installazione amministrativa prima dell'applicazione dell'aggiornamento non potranno utilizzare l'installazione amministrativa per attività quali riparazione di Office e aggiunta di nuove funzionalità fino a quando non saranno state completate le operazioni descritte nella sezione "Informazioni per la distribuzione nelle workstation".
**Informazioni per la distribuzione nelle workstation**
Per distribuire l'aggiornamento nelle workstation client, fare clic su **Start**, quindi scegliere **Esegui**, digitare il comando seguente e fare clic su **OK**:
**Msiexec /I** *Percorso amm***\\**File MSI **/qb REINSTALL=**Elenco funzionalità **REINSTALLMODE=vomu**
**Nota** *Percorso amm* rappresenta il percorso dell'installazione amministrativa dell'applicazione (ad esempio C:\\Office2003), *File MSI* rappresenta il pacchetto database con estensione msi per l'applicazione (ad esempio Data1.msi) ed *Elenco funzionalità* rappresenta l'elenco di nomi, per il quale è attiva la distinzione tra maiuscole e minuscole, delle funzionalità da reinstallare per l'aggiornamento.
Per installare tutte le funzionalità, utilizzare il comando **REINSTALL=ALL** oppure installare le funzionalità seguenti.
| Prodotto | Funzionalità |
|-----------------------------------------------|-----------------------------------------------------------------------|
| RMS | RMSFiles, ProductFiles |
| ACCESSRT, ACC11 | ACCESSNonBootFiles, ProductFiles |
| STD11, BASIC11, PERS11, STDP11 | WORDNonBootFiles, EXCELNonBootFiles, ProductFiles |
| FP11, OUTLS11, OUTL11, PPT11, INF11, OUTLSM11 | ProductFiles |
| PROI11, PRO11, PRO11SB | WORDNonBootFiles, ACCESSNonBootFiles, EXCELNonBootFiles, ProductFiles |
| WORD11 | WORDNonBootFiles, ProductFiles |
| EXCEL11 | EXCELNonBootFiles, ProductFiles |
**Nota** Gli amministratori responsabili degli ambienti gestiti possono trovare tutte le risorse necessarie per la distribuzione degli aggiornamenti di Office all'interno di un'organizzazione nel sito Web [Office Admin Update Center](http://office.microsoft.com/en-us/fx011511561033.aspx). Nella home page di questo sito Web consultare la sezione **Update Strategies** relativa alla versione del software che si sta aggiornando. La [documentazione di Windows Installer](http://go.microsoft.com/fwlink/?linkid=21685) fornisce ulteriori informazioni sui parametri supportati da Windows Installer.
**Informazioni sui file di installazione amministrativa**
I file della versione inglese di questo aggiornamento per la protezione presentano gli attributi riportati nella tabella che segue. Le date e le ore dei file indicati nella tabella sono espresse utilizzando l'ora UTC (Coordinated Universal Time). Al momento della visualizzazione, tali informazioni verranno convertite nella data e nell'ora locali. Per informazioni sulle differenze fra l'ora UTC e l'ora locale, utilizzare la scheda **Fuso orario** dello strumento Data e ora del Pannello di controllo.
Office 2003:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------|-------------|-------------|-------|------------|
| Ietag.dll | 11.0.6550.0 | 17-mar-2005 | 21:36 | 161.984 |
| Mso.dll | 11.0.8028.0 | 26-mag-2006 | 15:24 | 12.254.984 |
**Verifica dell'applicazione dell'aggiornamento**
- **Microsoft Baseline Security Analyzer**
**Nota** MBSA 1.2.1 utilizza una versione integrata di Office Detection Tool (ODT) che non supporta il rilevamento remoto di questa vulnerabilità. Per ulteriori informazioni su MBSA, visitare il sito Web MBSA. Per ulteriori informazioni sul supporto di MBSA, visitare il [sito Web delle domande frequenti su Microsoft Baseline Security Analyzer 1.2](http://go.microsoft.com/fwlink/?linkid=33332).
- **Verifica della versione dei file**
**Nota** Poiché esistono diverse versioni di Microsoft Windows, le operazioni descritte di seguito potrebbero essere diverse per il computer utilizzato. In tal caso, consultare la documentazione del prodotto per eseguire tutti i passaggi.
1. Fare clic su **Start**, quindi su **Cerca**.
2. Nel riquadro **Risultati ricerca**, scegliere **Tutti i file e le cartelle** in **Ricerca guidata**
3. Nella casella **Nome del file o parte del nome**, digitare il nome del file, individuato nell'appropriata tabella di informazioni sui file, quindi fare clic su **Cerca**.
4. Nell'elenco dei file, fare clic con il pulsante destro del mouse sul nome di un file nell'appropriata tabella di informazioni sui file, quindi scegliere **Proprietà**.
**Nota** A seconda della versione del sistema operativo o dei programmi installati, è possibile che alcuni dei file elencati nella tabella di informazioni sui file non siano installati.
5. Nella scheda **Versione**, individuare il numero di versione del file installato nel computer e confrontarlo con quello specificato nell'appropriata tabella di informazioni sui file.
**Nota** È possibile che durante l'installazione alcuni attributi diversi dalla versione del file vengano modificati. Il confronto di altri attributi dei file con le informazioni disponibili nella tabella non è un metodo supportato per la verifica dell'applicazione dell'aggiornamento. In alcuni casi, inoltre, è possibile che i file vengano rinominati durante l'installazione. Se le informazioni sul file o sulla versione non sono disponibili, utilizzare uno degli altri metodi disponibili per verificare l'installazione dell'aggiornamento.
#### Office XP
#### Prerequisiti e ulteriori informazioni sull'aggiornamento
**Importante:** Prima di installare l'aggiornamento, assicurarsi che siano soddisfatti i requisiti seguenti:
- Deve essere installato Microsoft Windows Installer 2.0. Windows Installer 2.0 o versione successiva è incluso in Microsoft Windows Server 2003, Windows XP e Microsoft Windows 2000 Service Pack 3 (SP3). Per installare la versione più recente di Windows Installer, visitare uno dei siti Web Microsoft seguenti:
[Windows Installer 2.0 per Windows 95, Windows 98, Windows 98 SE e Windows Millennium Edition](http://go.microsoft.com/fwlink/?linkid=33337)
[Windows Installer 2.0 per Windows 2000 e Windows NT 4.0](http://go.microsoft.com/fwlink/?linkid=33338)
- Office XP Service Pack 3 (SP3) deve essere installato. Prima di installare questo aggiornamento, installare [Office XP SP3](http://www.microsoft.com/downloads/details.aspx?familyid=85af7bfd-6f69-4289-8bd1-eb966bcdfb5e). Per ulteriori informazioni sull'installazione di Office XP SP3, vedere l'[articolo della Microsoft Knowledge Base 832671](http://support.microsoft.com/default.aspx?scid=kb;%5bln%5d;832671). [Project 2002 Service Pack 1 (SP1)](http://www.microsoft.com/downloads/details.aspx?familyid=d64ea65b-9519-4061-9b3a-32af1a9bf888) e/o [Visio 2002 Service Pack 2 (SP2)](http://www.microsoft.com/downloads/details.aspx?familyid=00b9dfe4-ed08-4328-b355-4bc63d6267b2) deve essere installato.
Per ulteriori informazioni sulla procedura per determinare la versione di Office XP installata nel computer in uso, vedere l'[articolo della Microsoft Knowledge Base 291331](http://support.microsoft.com/kb/291331). Per ulteriori informazioni sui dati relativi alla versione visualizzati nella finestra di dialogo **Informazioni su**, vedere l'[articolo della Microsoft Knowledge Base 328294](http://support.microsoft.com/kb/328294).
**Disponibilità nei service pack futuri**
Nessuno. Service Pack 3 è l'ultimo service pack per Office XP.
**Necessità di riavvio**
Per ridurre le probabilità di dover effettuare un riavvio, interrompere tutti i servizi interessati e chiudere tutte le applicazioni che potrebbero utilizzare i file interessati prima di installare l'aggiornamento per la protezione. Per ulteriori informazioni sui motivi della richiesta di riavvio del sistema, vedere l'[articolo della Microsoft Knowledge Base 887012](http://support.microsoft.com/kb/887012).
**Informazioni per la rimozione**
Per rimuovere questo aggiornamento per la protezione, utilizzare lo strumento Installazione applicazioni del Pannello di controllo.
**Nota** Durante la rimozione dell'aggiornamento, talvolta viene richiesto di inserire il CD di Microsoft Office XP nell'unità CD-ROM. Inoltre, la disinstallazione dell'aggiornamento potrebbe non essere disponibile da Installazione applicazioni nel Pannello di controllo. Esistono diverse possibili cause per questo problema. Per ulteriori informazioni sulla rimozione, vedere l'[articolo della Microsoft Knowledge Base 903771](http://support.microsoft.com/kb/903771).
**Nota** Per Project 2002 Service Pack 1 e Visio Service Pack 2: dopo aver installato l'aggiornamento, non sarà possibile rimuoverlo. Per ripristinare un'installazione presente prima dell'installazione dell'aggiornamento, rimuovere l'applicazione e quindi reinstallarla dal CD originale.
#### Informazioni per l'installazione automatica delle versioni client
**Sito Web Microsoft Update**
Questo aggiornamento per la protezione sarà disponibile sul [sito Web Microsoft Update](http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=it-it). Microsoft Update consolida gli aggiornamenti forniti da Windows Update e Office Update in un'unica posizione e consente di scegliere l'invio e l'installazione automatici degli aggiornamenti per la protezione o ad alta priorità. Si raccomanda di eseguire l'installazione dell'aggiornamento attraverso il sito Web Microsoft Update. Tale sito Web rileva automaticamente l'installazione presente nel computer in uso e visualizza un messaggio che indica esattamente quali componenti è necessario avere per assicurarsi che l'installazione esistente sia aggiornata.
Per avviare il rilevamento degli aggiornamenti necessari per il computer in uso, visitare il sito Web Microsoft Update. È possibile scegliere tra le opzioni **Rapido (scelta consigliata)** o **Personalizzato.** Al termine dell'operazione di rilevamento, verrà visualizzato un elenco degli aggiornamenti consigliati affinché venga approvato. Fare clic su **Installa aggiornamenti** o **Verifica e installa aggiornamenti** per completare il processo.
#### Informazioni per l'installazione manuale delle versioni client
L'installazione manuale di questo aggiornamento è descritta in dettaglio nella sezione successiva.
**Informazioni per l'installazione**
Questo aggiornamento per la protezione supporta le seguenti opzioni del programma di installazione.
| Opzione | Descrizione |
|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **/q** | Specifica la modalità automatica, o evita la visualizzazione delle richieste di conferma, durante l'estrazione dei file. |
| **/q:u** | Specifica la modalità senza intervento dell'utente, che prevede la visualizzazione di alcune finestre di dialogo per l'utente. |
| **/q:a** | Specifica la modalità senza intervento dell'amministratore, che non prevede la visualizzazione di finestre di dialogo per l'utente. |
| **/t:percorso** | Specifica la cartella di destinazione per l'estrazione dei file. |
| **/c:** | Estrae i file senza eseguirne l'installazione. Se l'opzione **/t:percorso** non è specificata, viene richiesto di indicare una cartella di destinazione. |
| **/c:percorso** | Ignora il comando di installazione definito dall'autore. Specifica il percorso e il nome del file con estensione inf o exe del programma di installazione. |
| **/r:n** | Impedisce sempre il riavvio del computer dopo l'installazione. |
| **/r:i** | Richiede all'utente di riavviare il computer, qualora il riavvio sia necessario, a meno che non sia utilizzato con il parametro **/q:a**. |
| **/r:a** | Determina sempre il riavvio del computer dopo l'installazione. |
| **/r:s** | Determina il riavvio del computer dopo l'installazione senza chiedere conferma all'utente. |
| **/n:v** | Non viene effettuato alcun controllo di versione; il programma viene installato su qualsiasi versione precedente. |
**Nota** Queste opzioni non funzionano necessariamente con tutti gli aggiornamenti. Se un'opzione non è disponibile, la funzionalità è necessaria per installare l'aggiornamento in modo corretto. Inoltre, l'utilizzo dell'opzione **/n:v** non è supportato e può determinare l'impossibilità di riavviare il sistema. Se l'installazione non viene eseguita, contattare il supporto tecnico per informazioni sul problema.
Per ulteriori informazioni sulle opzioni supportate dal programma di installazione, vedere l'[articolo della Microsoft Knowledge Base 197147](http://support.microsoft.com/kb/197147).
**Nota** L'aggiornamento completo per Office è destinato alla distribuzione di entrambe le versioni client e amministrativa.
**Informazioni per la distribuzione delle versioni client**
1. [Scaricare l'aggiornamento per la protezione per Office XP](http://download.microsoft.com/download/5/7/c/57cee7cb-7fc0-4eb1-a812-ced0abd0ac4a/officexp-kb917150-fullfile-enu.exe) e/o [scaricare l'aggiornamento per la protezione per Project 2002 Service Pack 1](http://download.microsoft.com/download/1/f/4/1f49ccd6-6928-45d8-86bc-48fc3e69c5d6/officexp-kb917150-fullfile-enu.exe) e/o [scaricare l'aggiornamento per la protezione per Visio 2002 Service Pack 2](http://download.microsoft.com/download/0/1/5/0159066b-0223-4e10-840d-b85e66945113/visio2002-kb917150-fullfile-enu.exe).
2. Fare clic su **Salva l'applicazione su disco** e quindi scegliere **OK**.
3. Fare clic su **Salva**.
4. In Esplora risorse individuare la cartella contenente il file salvato e fare doppio clic su quest'ultimo.
5. Se viene richiesto di installare l'aggiornamento, scegliere **Sì**.
6. Fare clic su **Sì** per accettare il contratto di licenza.
7. Inserire il CD-ROM originale quando viene richiesto e quindi scegliere **OK**.
8. Quando viene visualizzato un messaggio che indica che l'installazione è avvenuta correttamente, fare clic su **OK**.
**Nota** Se l'aggiornamento per la protezione è già installato nel computer, verrà visualizzato il seguente messaggio di errore: **L'aggiornamento è già stato installato oppure fa parte di un aggiornamento già installato**.
**Informazioni sui file di installazione della versione client**
I file della versione inglese di questo aggiornamento per la protezione presentano gli attributi riportati nella tabella che segue. Le date e le ore dei file indicati nella tabella sono espresse utilizzando l'ora UTC (Coordinated Universal Time). Al momento della visualizzazione, tali informazioni verranno convertite nella data e nell'ora locali. Per informazioni sulle differenze fra l'ora UTC e l'ora locale, utilizzare la scheda **Fuso orario** dello strumento Data e ora del Pannello di controllo.
Office XP:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------------|-------------|-------------|-------|------------|
| Ietag.dll | 10.0.6731.0 | 10-set-2004 | 21:11 | 105.152 |
| Ietag.dll\_1033 | 10.0.6731.0 | 10-set-2004 | 21:11 | 105.152 |
| Mso.dll | 10.0.6804.0 | 31-mag-2006 | 21:25 | 9.816.840 |
Project 2002 Service Pack1:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------|-------------|-------------|-------|------------|
| Mso.dll | 10.0.6804.0 | 31-mag-2006 | 21:25 | 9.816.840 |
Visio 2002 Service Pack 2:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------|-------------|-------------|-------|------------|
| Mso.dll | 10.0.6804.0 | 31-mag-2006 | 21:25 | 9.816.840 |
#### Informazioni per l'installazione amministrativa
Se l'applicazione è stata installata da una postazione server, l'amministratore del server dovrà installare l'aggiornamento amministrativo nel server e quindi distribuirlo al computer in uso.
**Informazioni per l'installazione**
Le seguenti opzioni del programma di installazione sono importanti per le installazioni amministrative perché consentono all'amministratore di personalizzare il modo in cui i file vengono estratti dall'aggiornamento per la protezione.
| Opzione | Descrizione |
|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **/?** | Visualizza le opzioni della riga di comando. |
| **/q** | Specifica la modalità automatica, o evita la visualizzazione delle richieste di conferma, durante l'estrazione dei file. |
| **/t:percorso** | Specifica la cartella di destinazione per l'estrazione dei file. |
| **/c:** | Estrae i file senza eseguirne l'installazione. Se l'opzione **/t:percorso** non è specificata, viene richiesto di indicare una cartella di destinazione. |
| **/c:percorso** | Ignora il comando di installazione definito dall'autore. Specifica il percorso e il nome del file con estensione inf o exe del programma di installazione. |
Per ulteriori informazioni sulle opzioni supportate dal programma di installazione, vedere l'[articolo della Microsoft Knowledge Base 197147](http://support.microsoft.com/kb/197147).
**Informazioni per la distribuzione della versione amministrativa**
Per aggiornare un'installazione amministrativa esistente, attenersi alla seguente procedura:
1. [Scaricare l'aggiornamento per la protezione per Office XP](http://download.microsoft.com/download/5/7/c/57cee7cb-7fc0-4eb1-a812-ced0abd0ac4a/officexp-kb917150-fullfile-enu.exe) e/o [scaricare l'aggiornamento per la protezione per Project 2002 Service Pack 1](http://download.microsoft.com/download/1/f/4/1f49ccd6-6928-45d8-86bc-48fc3e69c5d6/officexp-kb917150-fullfile-enu.exe) e/o [scaricare l'aggiornamento per la protezione per Visio 2002 Service Pack 2](http://download.microsoft.com/download/0/1/5/0159066b-0223-4e10-840d-b85e66945113/visio2002-kb917150-fullfile-enu.exe).
2. Fare clic su **Salva l'applicazione su disco** e quindi scegliere **OK**.
3. Fare clic su **Salva**.
4. In Esplora risorse, individuare la cartella contenente il file salvato. Fare clic su **Start**, scegliere **Esegui**, digitare il comando seguente e scegliere **OK** per estrarre il file .msp:
**\[percorso\\nome del file EXE\] /c /t:C:\\AdminUpdate**
**Nota** Facendo doppio clic sul file con estensione exe, il file con estensione msp non viene estratto, ma viene applicato l'aggiornamento al computer locale. Per aggiornare un'immagine amministrativa è necessario estrarre dapprima il file con estensione msp.
5. Fare clic su **Sì** per accettare il contratto di licenza.
6. Fare clic su **Sì** se viene richiesto di creare la cartella.
7. Nel caso in cui si conosca la procedura di aggiornamento dell'installazione amministrativa, fare clic su **Start**, scegliere **Esegui**, digitare il comando seguente e scegliere **OK**:
**msiexec /a** *Percorso amm***\\**File MSI **/p C:\\AdminUpdate\\***File MSP* **SHORTFILENAMES=TRUE**
**Nota** *Percorso amm* rappresenta il percorso dell'installazione amministrativa dell'applicazione (ad esempio C:\\OfficeXp), *File MSI* rappresenta il pacchetto database con estensione msi per l'applicazione (ad esempio Data1.msi) e *File MSP* rappresenta il nome dell'aggiornamento amministrativo (ad esempio SHAREDff.msp).
**Nota** È possibile aggiungere **/qb+** alla riga di comando se non si desidera visualizzare le finestre di dialogo **Installazione amministrativa** e **Contratto di licenza con l'utente finale**.
8. Fare clic su **Avanti** nella finestra di dialogo visualizzata. In questa finestra di dialogo, non modificare il codice CD Key, la posizione di installazione o il nome della società.
9. Scegliere **Accetto i termini del Contratto di Licenza**, quindi fare clic su **Installa**.
L'installazione amministrativa è stata aggiornata. Sarà quindi necessario aggiornare le configurazioni delle workstation che erano state installate in origine da questa installazione amministrativa. Per effettuare questa operazione, consultare la sezione "Informazioni per la distribuzione nelle workstation". Tutte le nuove versioni che saranno installate d'ora in poi da questa installazione amministrativa includeranno l'aggiornamento.
**Avviso** Tutte le configurazioni delle workstation che erano state installate in origine da questa installazione amministrativa prima dell'applicazione dell'aggiornamento non potranno utilizzare l'installazione amministrativa per attività quali riparazione di Office e aggiunta di nuove funzionalità fino a quando non saranno state completate le operazioni descritte nella sezione Informazioni per la distribuzione nelle workstation.
**Informazioni per la distribuzione nelle workstation**
Per distribuire l'aggiornamento nelle workstation client, fare clic su **Start**, quindi scegliere **Esegui**, digitare il comando seguente e fare clic su **OK**:
**msiexec /I** *Percorso amm***\\**File MSI **/qb REINSTALL=**Elenco funzionalità **REINSTALLMODE=vomu**
**Nota** *Percorso amm* rappresenta il percorso dell'installazione amministrativa dell'applicazione (ad esempio C:\\OfficeXP), *File MSI* rappresenta il pacchetto database con estensione msi per l'applicazione (ad esempio Data1.msi) ed *Elenco funzionalità* rappresenta l'elenco di nomi, per il quale è attiva la distinzione tra maiuscole e minuscole, delle funzionalità da reinstallare per l'aggiornamento.
Per installare tutte le funzionalità, utilizzare il comando **REINSTALL=ALL** oppure installare le funzionalità seguenti:
| Prodotto | Funzionalità |
|-----------------------------------------|---------------------------------|
| ACCESS, FP, OUTLOOK, PPT, ACCESSRT, PUB | ProductFiles |
| PIPC1, PROPLUS, PRO, SBE, STD, STDEDU | ProductFiles |
| WORD | WORDNonBootFiles, ProductFiles |
| EXCEL | EXCELNonBootFiles, ProductFiles |
| Visio 2002 | Program\_Files |
| Project 2002 | ProductFiles |
**Nota** Gli amministratori responsabili degli ambienti gestiti possono trovare tutte le risorse necessarie per la distribuzione degli aggiornamenti di Office all'interno di un'organizzazione nel sito Web [Office Admin Update Center](http://office.microsoft.com/en-us/fx011511561033.aspx). Nella home page di questo sito Web consultare la sezione **Update Strategies** relativa alla versione del software che si sta aggiornando. La [documentazione di Windows Installer](http://go.microsoft.com/fwlink/?linkid=21685) fornisce ulteriori informazioni sui parametri supportati da Windows Installer.
**Informazioni sui file di installazione amministrativa**
I file della versione inglese di questo aggiornamento per la protezione presentano gli attributi riportati nella tabella che segue. Le date e le ore dei file indicati nella tabella sono espresse utilizzando l'ora UTC (Coordinated Universal Time). Al momento della visualizzazione, tali informazioni verranno convertite nella data e nell'ora locali. Per informazioni sulle differenze fra l'ora UTC e l'ora locale, utilizzare la scheda **Fuso orario** dello strumento Data e ora del Pannello di controllo.
Office XP:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------------|-------------|-------------|-------|------------|
| Ietag.dll | 10.0.6731.0 | 10-set-2004 | 21:11 | 105.152 |
| Ietag.dll\_1033 | 10.0.6731.0 | 10-set-2004 | 21:11 | 105.152 |
| Mso.dll | 10.0.6804.0 | 31-mag-2006 | 21:25 | 9.816.840 |
Project 2002 Service Pack 1:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------|-------------|-------------|-------|------------|
| Mso.dll | 10.0.6804.0 | 31-mag-2006 | 21:25 | 9.816.840 |
Visio 2002 Service Pack 2:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------|-------------|-------------|-------|------------|
| Mso.dll | 10.0.6804.0 | 31-mag-2006 | 21:25 | 9.816.840 |
**Verifica dell'applicazione dell'aggiornamento**
- **Microsoft Baseline Security Analyzer**
**Nota** MBSA 1.2.1 utilizza una versione integrata di Office Detection Tool (ODT) che non supporta il rilevamento remoto di questa vulnerabilità. Per ulteriori informazioni su MBSA, visitare il sito Web MBSA. Per ulteriori informazioni sul supporto di MBSA, visitare il [sito Web delle domande frequenti su Microsoft Baseline Security Analyzer 1.2](http://go.microsoft.com/fwlink/?linkid=33332).
- **Verifica della versione dei file**
**Nota** Poiché esistono diverse versioni di Microsoft Windows, le operazioni descritte di seguito potrebbero essere diverse per il computer utilizzato. In tal caso, consultare la documentazione del prodotto per eseguire tutti i passaggi.
1. Fare clic su **Start**, quindi su **Cerca**.
2. Nel riquadro **Risultati ricerca**, scegliere **Tutti i file e le cartelle** in **Ricerca guidata**
3. Nella casella **Nome del file o parte del nome**, digitare il nome del file, individuato nell'appropriata tabella di informazioni sui file, quindi fare clic su **Cerca**.
4. Nell'elenco dei file, fare clic con il pulsante destro del mouse sul nome di un file nell'appropriata tabella di informazioni sui file, quindi scegliere **Proprietà**.
**Nota** A seconda della versione del sistema operativo o dei programmi installati, è possibile che alcuni dei file elencati nella tabella di informazioni sui file non siano installati.
5. Nella scheda **Versione**, individuare il numero di versione del file installato nel computer e confrontarlo con quello specificato nell'appropriata tabella di informazioni sui file.
**Nota** È possibile che durante l'installazione alcuni attributi diversi dalla versione del file vengano modificati. Il confronto di altri attributi dei file con le informazioni disponibili nella tabella non è un metodo supportato per la verifica dell'applicazione dell'aggiornamento. In alcuni casi, inoltre, è possibile che i file vengano rinominati durante l'installazione. Se le informazioni sul file o sulla versione non sono disponibili, utilizzare uno degli altri metodi disponibili per verificare l'installazione dell'aggiornamento.
#### Office 2000
#### Prerequisiti e ulteriori informazioni sull'aggiornamento
**Importante** Prima di installare l'aggiornamento, assicurarsi che siano soddisfatti i requisiti seguenti:
- Deve essere installato Microsoft Windows Installer 2.0. Windows Installer 2.0 o versione successiva è incluso in Microsoft Windows Server 2003, Windows XP e Microsoft Windows 2000 Service Pack 3 (SP3). Per installare la versione più recente di Windows Installer, visitare uno dei siti Web Microsoft seguenti:
[Windows Installer 2.0 per Windows 95, Windows 98, Windows 98 SE e Windows Millennium Edition](http://go.microsoft.com/fwlink/?linkid=33337)
[Windows Installer 2.0 per Windows 2000 e Windows NT 4.0](http://go.microsoft.com/fwlink/?linkid=33338)
- Office 2000 Service Pack 3 (SP3) deve essere installato. Prima di installare questo aggiornamento, installare [Office 2000 SP3](http://www.microsoft.com/downloads/details.aspx?familyid=5c011c70-47d0-4306-9fa4-8e92d36332fe&displaylang=en%20_blank). Per ulteriori informazioni sull'installazione di Office 2000 SP3, vedere l'[articolo della Microsoft Knowledge Base 326585](http://support.microsoft.com/default.aspx?scid=kb;%5bln%5d;326585). [Project 2000 Service Pack 1 (SP1)](http://www.microsoft.com/downloads/details.aspx?familyid=fda28314-6c82-4b14-93d4-1daa296e430d) deve essere installato.
Per ulteriori informazioni su come determinare quale versione di Office 2000 è installata nel computer in uso, vedere l'[articolo della Microsoft Knowledge Base 255275](http://support.microsoft.com/kb/255275).
**Disponibilità nei service pack futuri**
Nessuno. Service Pack 3 è l'ultimo service pack per Office 2000.
**Necessità di riavvio**
Per ridurre le probabilità di dover effettuare un riavvio, interrompere tutti i servizi interessati e chiudere tutte le applicazioni che potrebbero utilizzare i file interessati prima di installare l'aggiornamento per la protezione. Per ulteriori informazioni sui motivi della richiesta di riavvio del sistema, vedere l'[articolo della Microsoft Knowledge Base 887012](http://support.microsoft.com/kb/887012).
**Informazioni per la rimozione**
Dopo avere installato l'aggiornamento, non sarà possibile rimuoverlo. Per ripristinare un'installazione presente prima dell'installazione dell'aggiornamento, rimuovere l'applicazione e quindi reinstallarla dal CD originale.
#### Informazioni per l'installazione automatica delle versioni client
**Sito Web Office Update**
Per l'installazione degli aggiornamenti client di Microsoft Office 2000 si consiglia di utilizzare il [sito Web Office Update](http://office.microsoft.com/it-it/officeupdate/default.aspx). Tramite tale sito Web viene rilevata l'installazione di Office presente nel computer in uso e viene visualizzato un messaggio che indica che cosa è necessario installare affinché la versione di Office in uso sia completamente aggiornata.
Per avviare il rilevamento degli aggiornamenti necessari per il computer in uso, visitare il [sito Web Office Update](http://office.microsoft.com/it-it/officeupdate/default.aspx) e fare clic su **Esegui rilevamento automatico aggiornamenti**. Al termine dell'operazione di rilevamento, verrà visualizzato un elenco degli aggiornamenti consigliati affinché venga approvato. Scegliere **Accetto, avvia installazione** per completare il processo.
#### Informazioni per l'installazione manuale delle versioni client
L'installazione manuale di questo aggiornamento è descritta in dettaglio nella sezione successiva.
**Informazioni per l'installazione**
Questo aggiornamento per la protezione supporta le seguenti opzioni del programma di installazione.
| Opzione | Descrizione |
|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **/q** | Specifica la modalità automatica, o evita la visualizzazione delle richieste di conferma, durante l'estrazione dei file. |
| **/q:u** | Specifica la modalità senza intervento dell'utente, che prevede la visualizzazione di alcune finestre di dialogo per l'utente. |
| **/q:a** | Specifica la modalità senza intervento dell'amministratore, che non prevede la visualizzazione di finestre di dialogo per l'utente. |
| **/t:percorso** | Specifica la cartella di destinazione per l'estrazione dei file. |
| **/c:** | Estrae i file senza eseguirne l'installazione. Se l'opzione **/t:percorso** non è specificata, viene richiesto di indicare una cartella di destinazione. |
| **/c:percorso** | Ignora il comando di installazione definito dall'autore. Specifica il percorso e il nome del file con estensione inf o exe del programma di installazione. |
| **/r:n** | Impedisce sempre il riavvio del computer dopo l'installazione. |
| **/r:i** | Richiede all'utente di riavviare il computer, qualora il riavvio sia necessario, a meno che non sia utilizzato con il parametro **/q:a**. |
| **/r:a** | Determina sempre il riavvio del computer dopo l'installazione. |
| **/r:s** | Determina il riavvio del computer dopo l'installazione senza chiedere conferma all'utente. |
| **/n:v** | Non viene effettuato alcun controllo di versione; il programma viene installato su qualsiasi versione precedente. |
**Nota** Queste opzioni non funzionano necessariamente con tutti gli aggiornamenti. Se un'opzione non è disponibile, la funzionalità è necessaria per installare l'aggiornamento in modo corretto. Inoltre, l'utilizzo dell'opzione **/n:v** non è supportato e può determinare l'impossibilità di riavviare il sistema. Se l'installazione non viene eseguita, contattare il supporto tecnico per informazioni sul problema.
Per ulteriori informazioni sulle opzioni supportate dal programma di installazione, vedere l'[articolo della Microsoft Knowledge Base 197147](http://support.microsoft.com/kb/197147).
**Nota** L'aggiornamento completo per Office è destinato alla distribuzione di entrambe le versioni client e amministrativa.
**Informazioni per la distribuzione delle versioni client**
1. [Scaricare quest'aggiornamento per la protezione per Office 2000](http://download.microsoft.com/download/b/9/d/b9df7055-6111-4389-ae79-82c86e9a0ed6/office2000-kb917152-fullfile-enu.exe) e/o [scaricare quest'aggiornamento per la protezione per Project 2000 Service Pack 1.](http://download.microsoft.com/download/0/b/2/0b2d0d17-6972-4cd0-8693-db3ecb4ff44b/office2000-kb917152-fullfile-enu.exe)
2. Fare clic su **Salva l'applicazione su disco** e quindi scegliere **OK**.
3. Fare clic su **Salva**.
4. In Esplora risorse individuare la cartella contenente il file salvato e fare doppio clic su quest'ultimo.
5. Se viene richiesto di installare l'aggiornamento, scegliere **Sì**.
6. Fare clic su **Sì** per accettare il contratto di licenza.
7. Inserire il CD-ROM originale quando viene richiesto e quindi scegliere **OK**.
8. Quando viene visualizzato un messaggio che indica che l'installazione è avvenuta correttamente, fare clic su **OK**.
**Nota** Se l'aggiornamento per la protezione è già installato nel computer, verrà visualizzato il seguente messaggio di errore: **L'aggiornamento è già stato installato oppure fa parte di un aggiornamento già installato**.
**Informazioni sui file di installazione della versione client**
I file della versione inglese di questo aggiornamento per la protezione presentano gli attributi riportati nella tabella che segue. Le date e le ore dei file indicati nella tabella sono espresse utilizzando l'ora UTC (Coordinated Universal Time). Al momento della visualizzazione, tali informazioni verranno convertite nella data e nell'ora locali. Per informazioni sulle differenze fra l'ora UTC e l'ora locale, utilizzare la scheda **Fuso orario** dello strumento Data e ora del Pannello di controllo.
Office 2000:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------|------------|-------------|-------|------------|
| Mso9.dll | 9.0.0.8944 | 01-giu-2006 | 22:21 | 5.595.185 |
Project 2000 Service Pack 1:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------|------------|-------------|-------|------------|
| Mso9.dll | 9.0.0.8944 | 01-giu-2006 | 22:21 | 5.595.185 |
**Verifica dell'applicazione dell'aggiornamento**
- **Microsoft Baseline Security Analyzer**
**Nota** MBSA 1.2.1 utilizza una versione integrata di Office Detection Tool (ODT) che non supporta il rilevamento remoto di questa vulnerabilità. Per ulteriori informazioni su MBSA, visitare il sito Web MBSA. Per ulteriori informazioni sul supporto di MBSA, visitare il [sito Web delle domande frequenti su Microsoft Baseline Security Analyzer 1.2](http://go.microsoft.com/fwlink/?linkid=33332).
- **Verifica della versione dei file**
**Nota** Poiché esistono diverse versioni di Microsoft Windows, le operazioni descritte di seguito potrebbero essere diverse per il computer utilizzato. In tal caso, consultare la documentazione del prodotto per eseguire tutti i passaggi.
1. Fare clic su **Start**, quindi su **Cerca**.
2. Nel riquadro **Risultati ricerca**, scegliere **Tutti i file e le cartelle** in **Ricerca guidata**
3. Nella casella **Nome del file o parte del nome**, digitare il nome del file, individuato nell'appropriata tabella di informazioni sui file, quindi fare clic su **Cerca**.
4. Nell'elenco dei file, fare clic con il pulsante destro del mouse sul nome di un file nell'appropriata tabella di informazioni sui file, quindi scegliere **Proprietà**.
**Nota** A seconda della versione del sistema operativo o dei programmi installati, è possibile che alcuni dei file elencati nella tabella di informazioni sui file non siano installati.
5. Nella scheda **Versione**, individuare il numero di versione del file installato nel computer e confrontarlo con quello specificato nell'appropriata tabella di informazioni sui file.
**Nota** È possibile che durante l'installazione alcuni attributi diversi dalla versione del file vengano modificati. Il confronto di altri attributi dei file con le informazioni disponibili nella tabella non è un metodo supportato per la verifica dell'applicazione dell'aggiornamento. In alcuni casi, inoltre, è possibile che i file vengano rinominati durante l'installazione. Se le informazioni sul file o sulla versione non sono disponibili, utilizzare uno degli altri metodi disponibili per verificare l'installazione dell'aggiornamento.
#### Informazioni per l'installazione amministrativa
Se l'applicazione è stata installata da una postazione server, l'amministratore del server dovrà installare l'aggiornamento amministrativo nel server e quindi distribuirlo al computer in uso.
**Informazioni per l'installazione**
Le seguenti opzioni del programma di installazione sono importanti per le installazioni amministrative perché consentono all'amministratore di personalizzare il modo in cui i file vengono estratti dall'aggiornamento per la protezione.
| Opzione | Descrizione |
|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **/?** | Visualizza le opzioni della riga di comando. |
| **/q** | Specifica la modalità automatica, o evita la visualizzazione delle richieste di conferma, durante l'estrazione dei file. |
| **/t:percorso** | Specifica la cartella di destinazione per l'estrazione dei file. |
| **/c:** | Estrae i file senza eseguirne l'installazione. Se l'opzione **/t:percorso** non è specificata, viene richiesto di indicare una cartella di destinazione. |
| **/c:percorso** | Ignora il comando di installazione definito dall'autore. Specifica il percorso e il nome del file con estensione inf o exe del programma di installazione. |
Per ulteriori informazioni sulle opzioni supportate dal programma di installazione, vedere l'[articolo della Microsoft Knowledge Base 197147](http://support.microsoft.com/kb/197147).
**Informazioni per la distribuzione della versione amministrativa**
Per aggiornare un'installazione amministrativa esistente, attenersi alla seguente procedura:
1. [Scaricare quest'aggiornamento per la protezione per Office 2000](http://download.microsoft.com/download/b/9/d/b9df7055-6111-4389-ae79-82c86e9a0ed6/office2000-kb917152-fullfile-enu.exe) e/o [scaricare quest'aggiornamento per la protezione per Project 2000 Service Pack 1.](http://download.microsoft.com/download/0/b/2/0b2d0d17-6972-4cd0-8693-db3ecb4ff44b/office2000-kb917152-fullfile-enu.exe)
2. Fare clic su **Salva l'applicazione su disco** e quindi scegliere **OK**.
3. Fare clic su **Salva**.
4. In Esplora risorse, individuare la cartella contenente il file salvato. Fare clic su **Start**, scegliere **Esegui**, digitare il comando seguente e scegliere **OK** per estrarre il file .msp:
**\[percorso\\nome del file EXE\] /c /t:C:\\AdminUpdate**
**Nota** Facendo doppio clic sul file con estensione exe, il file con estensione msp non viene estratto, ma viene applicato l'aggiornamento al computer locale. Per aggiornare un'immagine amministrativa è necessario estrarre dapprima il file con estensione msp.
5. Fare clic su **Sì** per accettare il contratto di licenza.
6. Fare clic su **Sì** se viene richiesto di creare la cartella.
7. Nel caso in cui si conosca la procedura di aggiornamento dell'installazione amministrativa, fare clic su **Start**, scegliere **Esegui**, digitare il comando seguente e scegliere **OK**:
**msiexec /a** *Percorso amm***\\**File MSI **/p C:\\AdminUpdate\\***File MS***P SHORTFILENAMES=TRUE**
**Nota** *Percorso amm* rappresenta il percorso dell'installazione amministrativa dell'applicazione (ad esempio C:\\Office2000), *File MSI* rappresenta il pacchetto database con estensione msi per l'applicazione (ad esempio Data1.msi) e *File MSP* rappresenta il nome dell'aggiornamento amministrativo (ad esempio SHAREDff.msp).
**Nota** È possibile aggiungere /**qb+** alla riga di comando se non si desidera visualizzare le finestre di dialogo **Installazione amministrativa** e **Contratto di licenza con l'utente finale**.
8. Fare clic su **Avanti** nella finestra di dialogo visualizzata. In questa finestra di dialogo, non modificare il codice CD Key, la posizione di installazione o il nome della società.
9. Scegliere **Accetto i termini del Contratto di Licenza**, quindi fare clic su **Installa**.
L'installazione amministrativa è stata aggiornata. Sarà quindi necessario aggiornare le configurazioni delle workstation che erano state installate in origine da questa installazione amministrativa. Per effettuare questa operazione, consultare la sezione Informazioni per la distribuzione nelle workstation. Tutte le nuove versioni che saranno installate d'ora in poi da questa installazione amministrativa includeranno l'aggiornamento.
**Avviso** Tutte le configurazioni delle workstation che erano state installate in origine da questa installazione amministrativa prima dell'applicazione dell'aggiornamento non potranno utilizzare l'installazione amministrativa per attività quali riparazione di Office e aggiunta di nuove funzionalità fino a quando non saranno state completate le operazioni descritte nella sezione Informazioni per la distribuzione nelle workstation.
**Informazioni per la distribuzione nelle workstation**
Per distribuire l'aggiornamento nelle workstation client, fare clic su **Start**, quindi scegliere **Esegui**, digitare il comando seguente e fare clic su **OK**:
**msiexec /I** *Percorso amm***\\**File MSI **/qb REINSTALL=**Elenco funzionalità **REINSTALLMODE=vomu**
**Nota** *Percorso amm* rappresenta il percorso dell'installazione amministrativa dell'applicazione (ad esempio C:\\Office2000), *File MSI* rappresenta il pacchetto database con estensione msi per l'applicazione (ad esempio Data1.msi) ed *Elenco funzionalità* rappresenta l'elenco di nomi, per il quale è attiva la distinzione tra maiuscole e minuscole, delle funzionalità da reinstallare per l'aggiornamento.
Per installare tutte le funzionalità, utilizzare il comando **REINSTALL=ALL** oppure installare le funzionalità seguenti:
| Prodotto | Funzionalità |
|------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| MSPUB, O9PRMCD2 | GraphicsFiltersGIFFiles, TCWord97Files, GraphicsFiltersPNGFiles |
| O9ACC | ProductFiles, ACCESSNonBootFiles |
| O9ART | AccessRuntimeMaster |
| O9EXL | ProductFiles, EXCELNonBootFiles |
| O9OLK | ProductFiles, OUTLOOKNonBootFiles |
| O9PP | ProductFiles, PPTNonBootFiles |
| O9WRD | ProductFiles, WORDNonBootFiles |
| O9PRM | ProductFiles, OUTLOOKNonBootFiles, WORDNonBootFiles, ACCESSNonBootFiles, EXCELNonBootFiles, FPClientNonBootFiles, PPTNonBootFiles, ProductNonBootFiles |
| O9PRO | ProductFiles, OUTLOOKNonBootFiles, WORDNonBootFiles, ACCESSNonBootFiles, EXCELNonBootFiles, PPTNonBootFiles |
| O9SBE, 9327\_o9procd1\_sbe\_coxs\_slv\_data1 product | ProductFiles, OUTLOOKNonBootFiles,WORDNonBootFiles, EXCELNonBootFiles |
| O9FP | ProductFiles, FPClientNonBootFiles, ProductNonBootFiles |
| O9PIPC1 | ProductFiles, OUTLOOKNonBootFiles, MSDrawFiles, WORDNonBootFiles, EXCELNonBootFiles |
| O9PIPC2 | ProductFiles, MSDrawFiles, WORDNonBootFiles, EXCELNonBootFiles |
| O9PRMCD2 | ProductFiles,AccessRuntimeMaster, PubPrimary, MSDrawFiles, SBCMNonBootFiles |
| O9STD | ProductFiles, OUTLOOKNonBootFiles, WORDNonBootFiles, EXCELNonBootFiles, PPTNonBootFiles |
| INSTALL.MSI | PROJECTFiles, ASSISTANTFiles, ProductFiles, PROJECTNonBootFiles |
**Nota** Gli amministratori responsabili degli ambienti gestiti possono trovare tutte le risorse necessarie per la distribuzione degli aggiornamenti di Office all'interno di un'organizzazione in Office Admin Update Center. In questo sito, scorrere e cercare la versione del software da aggiornare nella sezione **Update Resources**. La [documentazione di Windows Installer](http://go.microsoft.com/fwlink/?linkid=21685) fornisce ulteriori informazioni sui parametri supportati da Windows Installer.
**Informazioni sui file di installazione amministrativa**
I file della versione inglese di questo aggiornamento per la protezione presentano gli attributi riportati nella tabella che segue. Le date e le ore dei file indicati nella tabella sono espresse utilizzando l'ora UTC (Coordinated Universal Time). Al momento della visualizzazione, tali informazioni verranno convertite nella data e nell'ora locali. Per informazioni sulle differenze fra l'ora UTC e l'ora locale, utilizzare la scheda **Fuso orario** dello strumento Data e ora del Pannello di controllo.
Office 2000:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------|------------|-------------|-------|------------|
| Mso9.dll | 9.0.0.8944 | 01-giu-2006 | 22:21 | 5.595.185 |
Project 2000 Service Pack 1:
| Nome file | Versione | Data | Ora | Dimensione |
|-----------|------------|-------------|-------|------------|
| Mso9.dll | 9.0.0.8944 | 01-giu-2006 | 22:21 | 5.595.185 |
**Verifica dell'applicazione dell'aggiornamento**
- **Microsoft Baseline Security Analyzer**
**Nota** MBSA 1.2.1 utilizza una versione integrata di Office Detection Tool (ODT) che non supporta il rilevamento remoto di questo aggiornamento per la protezione. Per ulteriori informazioni su MBSA, visitare il [sito Web MBSA](http://go.microsoft.com/fwlink/?linkid=21134).
- **Verifica della versione dei file**
**Nota** Poiché esistono diverse versioni di Microsoft Windows, le operazioni descritte di seguito potrebbero essere diverse per il computer utilizzato. In tal caso, consultare la documentazione del prodotto per eseguire tutti i passaggi.
1. Fare clic su **Start**, quindi su **Cerca**.
2. Nel riquadro **Risultati ricerca**, scegliere **Tutti i file e le cartelle** in **Ricerca guidata**
3. Nella casella **Nome del file o parte del nome**, digitare il nome del file, individuato nell'appropriata tabella di informazioni sui file, quindi fare clic su **Cerca**.
4. Nell'elenco dei file, fare clic con il pulsante destro del mouse sul nome di un file nell'appropriata tabella di informazioni sui file, quindi scegliere **Proprietà**.
**Nota** A seconda della versione del sistema operativo o dei programmi installati, è possibile che alcuni dei file elencati nella tabella di informazioni sui file non siano installati.
5. Nella scheda **Versione**, individuare il numero di versione del file installato nel computer e confrontarlo con quello specificato nell'appropriata tabella di informazioni sui file.
**Nota** È possibile che durante l'installazione alcuni attributi diversi dalla versione del file vengano modificati. Il confronto di altri attributi dei file con le informazioni disponibili nella tabella non è un metodo supportato per la verifica dell'applicazione dell'aggiornamento. In alcuni casi, inoltre, è possibile che i file vengano rinominati durante l'installazione. Se le informazioni sul file o sulla versione non sono disponibili, utilizzare uno degli altri metodi disponibili per verificare l'installazione dell'aggiornamento.
#### Office 2004 per Mac
**Informazioni per l'installazione**
**Necessità di riavvio**
L'aggiornamento non richiede il riavvio del computer.
**Informazioni per la rimozione**
L'aggiornamento non può essere disinstallato.
**Informazioni per l'installazione:**
1. Chiudere tutte le applicazioni in esecuzione, incluse le applicazioni antivirus, tutte le applicazioni Microsoft Office, Microsoft Messenger per Mac e Notifiche di Office, in quanto potrebbero interferire con l'installazione.
2. Aprire il volume **Microsoft Office 2004 per Mac 11.2.5 Update** sul desktop. Questo passaggio potrebbe essere stato eseguito automaticamente.
3. Per iniziare il processo di aggiornamento, nella finestra del volume **Microsoft Office 2004 per Mac 11.2.5 Update**, fare doppio clic sull'applicazione **Microsoft Office 2004 per Mac 11.2.5 Update** e seguire le istruzioni visualizzate sullo schermo.
4. Al termine dell'installazione, è possibile rimuovere il programma di installazione dell'aggiornamento dal disco rigido. Per verificare se l'installazione è stata completata, vedere la sezione "Verifica dell'installazione dell'aggiornamento". Per rimuovere il programma di installazione dell'aggiornamento, trascinare il volume **Microsoft Office 2004 per Mac 11.2.5 Update** e il file scaricato nel Cestino.
**Verifica dell'installazione dell'aggiornamento**
Per verificare che un aggiornamento per la protezione sia installato nel sistema interessato, attenersi alla seguente procedura:
1. Passare al file binario dell'applicazione (**Microsoft Office 2004: Microsoft Office**).
2. Fare clic sull'applicazione.
3. Fare clic su **Archivio**, quindi su **Informazioni**.
Se il numero di versione è 11.2.5, l'aggiornamento è stato installato.
#### Office v. X per Mac
**Informazioni per l'installazione:**
1. Chiudere tutte le applicazioni in esecuzione, incluse le applicazioni antivirus, tutte le applicazioni Microsoft Office, Microsoft Messenger e Notifiche di Office, in quanto potrebbero interferire con l'installazione.
2. Aprire il volume **Microsoft Office v. X per Mac 10.1.7 Update** sul desktop. Questo passaggio potrebbe essere eseguito automaticamente.
3. Per iniziare il processo di aggiornamento, nella finestra del volume **Microsoft Office v. X per Mac 10.1.7 Update**, fare doppio clic sull'applicazione **Microsoft Office v. X per Mac 10.1.7 Update** e seguire le istruzioni visualizzate sullo schermo.
4. Al termine dell'installazione, è possibile rimuovere il programma di installazione dell'aggiornamento dal disco rigido. Per verificare se l'installazione è stata completata, vedere la sezione "Verifica dell'installazione dell'aggiornamento". Per rimuovere il programma di installazione dell'aggiornamento, trascinare il volume **Microsoft Office 2004 per Mac 10.1.7 Update** e il file scaricato nel Cestino.
**Necessità di riavvio**
L'aggiornamento non richiede il riavvio del computer.
**Informazioni per la rimozione**
L'aggiornamento non può essere disinstallato.
**Verifica dell'installazione dell'aggiornamento**
Per verificare che un aggiornamento per la protezione sia installato nel sistema interessato, attenersi alla seguente procedura:
1. Passare al file binario dell'applicazione (**Microsoft Office X: Microsoft Office**).
2. Fare clic sull'applicazione.
3. Fare clic su **Archivio**, quindi su **Informazioni**.
Se il numero di versione è 10.1.7, l'aggiornamento è stato installato.
### Altre informazioni
**Ringraziamenti**
Microsoft [ringrazia](http://go.microsoft.com/fwlink/?linkid=21127) i seguenti utenti per aver collaborato alla protezione dei sistemi dei clienti:
- Elia Florio di [Symantec](http://www.symantec.com/index.htm) per aver segnalato la vulnerabilità Microsoft Office legata all'analisi delle stringhe non valide - [CVE-2006-1540](http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2006-1540).
**Download di altri aggiornamenti per la protezione:**
Sono disponibili aggiornamenti per altri problemi di protezione nei seguenti siti:
- Gli aggiornamenti per la protezione sono disponibili nell'[Area download Microsoft](http://www.microsoft.com/downloads/results.aspx?displaylang=it&freetext=security_patch) ed è possibile individuarli in modo semplice eseguendo una ricerca con la parola chiave "security\_patch".
- Gli aggiornamenti per i sistemi consumer sono disponibili nel [sito Web Microsoft Update](http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=it-it).
**Supporto tecnico:**
- Per usufruire dei servizi del supporto tecnico, visitare il sito del [Servizio Supporto Tecnico Clienti Microsoft](http://go.microsoft.com/fwlink/?linkid=21131). Le chiamate al supporto tecnico relative agli aggiornamenti per la protezione sono gratuite.
- I clienti internazionali possono ottenere assistenza tecnica presso le filiali Microsoft locali. Il supporto relativo agli aggiornamenti di protezione è gratuito. Per ulteriori informazioni su come contattare Microsoft per ottenere supporto, visitare il [sito Web del supporto internazionale](http://go.microsoft.com/fwlink/?linkid=21155).
**Fonti di informazioni sulla sicurezza:**
- Nel [sito Web Sicurezza di Microsoft TechNet](http://www.microsoft.com/italy/technet/security/default.mspx) sono disponibili ulteriori informazioni sulla protezione e la sicurezza dei prodotti Microsoft.
- [Microsoft Software Update Services](http://go.microsoft.com/fwlink/?linkid=21133)
- [Microsoft Windows Server Update Services](http://go.microsoft.com/fwlink/?linkid=50120)
- [Microsoft Baseline Security Analyzer](http://go.microsoft.com/fwlink/?linkid=21134) (MBSA)
- [Windows Update](http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=it-it)
- [Microsoft Update](http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=it-it)
- Catalogo di Windows Update: Per ulteriori informazioni sul catalogo di Windows Update, vedere l'[articolo della Microsoft Knowledge Base 323166](http://support.microsoft.com/kb/323166).
- [Office Update](http://office.microsoft.com/it-it/officeupdate/default.aspx)
**Software Update Services:**
Microsoft Software Update Services (SUS) consente agli amministratori di eseguire in modo rapido e affidabile la distribuzione dei più recenti aggiornamenti critici e per la protezione sia nei server basati su Windows 2000 e Windows Server 2003 sia nei computer desktop che eseguono Windows 2000 Professional o Windows XP Professional.
Per ulteriori informazioni su come eseguire la distribuzione degli aggiornamenti per la protezione con Software Update Services, visitare il [sito Web Software Update Services](http://go.microsoft.com/fwlink/?linkid=21133).
**Windows Server Update Services:**
Utilizzando Windows Server Update Services (WSUS), gli amministratori possono eseguire in modo rapido e affidabile la distribuzione dei più recenti aggiornamenti critici e per la protezione nei sistemi operativi Windows 2000 e versioni successive, Office XP e versioni successive, Exchange Server 2003 ed SQL Server 2000 in Windows 2000 e versioni successive.
Per ulteriori informazioni su come eseguire la distribuzione degli aggiornamenti per la protezione con Windows Server Update Services, visitare il [sito Web Windows Server Update Services](http://go.microsoft.com/fwlink/?linkid=50120).
**Systems Management Server:**
Microsoft Systems Management Server (SMS) offre una soluzione aziendale altamente configurabile per la gestione degli aggiornamenti. Tramite SMS gli amministratori possono identificare i sistemi Windows che richiedono gli aggiornamenti per la protezione ed eseguire la distribuzione controllata di tali aggiornamenti in tutta l'azienda, riducendo al minimo le eventuali interruzioni del lavoro degli utenti finali. Per ulteriori informazioni sull'utilizzo di SMS 2003 per la distribuzione degli aggiornamenti per la protezione, visitare il [sito Web SMS 2003 Security Patch Management](http://go.microsoft.com/fwlink/?linkid=22939). Gli utenti di SMS 2.0 possono inoltre utilizzare [Software Updates Service Feature Pack](http://go.microsoft.com/fwlink/?linkid=33340) per semplificare la distribuzione degli aggiornamenti per la protezione. Per informazioni su SMS, visitare il [sito Web SMS](http://www.microsoft.com/italy/smserver/default.mspx).
**Nota** SMS utilizza Microsoft Baseline Security Analyzer, lo strumento di rilevamento di Microsoft Office, ed Enterprise Update Scanning Tool per offrire il più ampio supporto possibile per il rilevamento e la distribuzione degli aggiornamenti inclusi nei bollettini sulla sicurezza. Alcuni aggiornamenti non possono essere tuttavia rilevati tramite questi strumenti. In questi casi, per applicare gli aggiornamenti a computer specifici è possibile utilizzare le funzionalità di inventario di SMS. Per ulteriori informazioni sulla procedura da utilizzare, visitare il seguente [sito Web](http://go.microsoft.com/fwlink/?linkid=33341). Alcuni aggiornamenti per la protezione richiedono diritti di amministrazione dopo il riavvio del sistema. Per installare tali aggiornamenti è possibile utilizzare Elevated Rights Deployment Tool, disponibile in [SMS 2003 Administration Feature Pack](http://go.microsoft.com/fwlink/?linkid=33387) e in [SMS 2.0 Administration Feature Pack](http://go.microsoft.com/fwlink/?linkid=21161).
**Dichiarazione di non responsabilità:**
Le informazioni disponibili nella Microsoft Knowledge Base sono fornite "come sono" senza garanzie di alcun tipo. Microsoft non rilascia alcuna garanzia, esplicita o implicita, inclusa la garanzia di commerciabilità e di idoneità per uno scopo specifico. Microsoft Corporation o i suoi fornitori non saranno, in alcun caso, responsabili per danni di qualsiasi tipo, inclusi i danni diretti, indiretti, incidentali, consequenziali, la perdita di profitti e i danni speciali, anche qualora Microsoft Corporation o i suoi fornitori siano stati informati della possibilità del verificarsi di tali danni. Alcuni stati non consentono l'esclusione o la limitazione di responsabilità per danni diretti o indiretti e, dunque, la sopracitata limitazione potrebbe non essere applicabile.
**Versioni:**
- V1.0 (11 luglio 2006): Pubblicazione del bollettino.
- V1.1 (12 luglio 2006): Bollettino aggiornato per fornire ulteriori informazioni relative alle "Informazioni sui file di installazione amministrativa" per Office 2000 nella sezione sugli aggiornamenti per la protezione.
- V1.2 (19 luglio 2006): Nel bollettino è stata aggiornata la sezione "Quali aggiornamenti sostituisce questo bollettino?" relativa a MS05-005 per Office XP.
- V1.3 (15 agosto 2006): Nel bollettino sono state aggiornate le sezioni "Informazioni sui file di installazione della versione client" e "Informazioni sui file di installazione amministrativa" per Office 2003 e Office XP nella sezione sugli aggiornamenti per la protezione. Sono state fornite spiegazioni aggiuntive relative a "Quali aggiornamenti sostituisce questo bollettino?" di MS05-005 per Office XP.
- V1.4 (23 agosto 2006): Bollettino aggiornato per aggiungere CVE-2006-1318 nelle sezioni "Livelli di gravità e identificatori della vulnerabilità" e "Dettagli della vulnerabilità". Inoltre, è stato aggiornato "È possibile utilizzare Systems Management Server (SMS) per verificare se è necessario installare questo aggiornamento?" sotto "Domande frequenti relative a questo aggiornamento per la protezione" per Office 2000.
- V1.5 (11 ottobre 2006): Bollettino aggiornato per fornire spiegazioni aggiuntive relative a "Durante l'aggiornamento dei punti di installazione amministrativa sono stati individuati due file msp. Perché?" e "I punti di installazione amministrativa elencano mso.msp e pvmso.msp. È necessario installare entrambi i pacchetti?" nella sezione "Domande frequenti relative a questo aggiornamento per la protezione".
*Built at 2014-04-18T01:50:00Z-07:00*
| 111.729186 | 1,022 | 0.731027 | ita_Latn | 0.999121 |
98c6eb4221932e87e256aa97743b089c5c96eaf6 | 945 | md | Markdown | docfx/api-override/Meadow.Foundation/Meadow.Foundation.Sensors.Atmospheric.Bme680.md | WildernessLabs/Documentation | f3ce8198ee16f65c27f7f3e60739a2ffdfcaa243 | [
"Apache-2.0"
] | 49 | 2017-05-15T04:56:45.000Z | 2022-03-15T17:03:30.000Z | docfx/api-override/Meadow.Foundation/Meadow.Foundation.Sensors.Atmospheric.Bme680.md | WildernessLabs/Documentation | f3ce8198ee16f65c27f7f3e60739a2ffdfcaa243 | [
"Apache-2.0"
] | 135 | 2017-06-06T04:53:19.000Z | 2022-01-18T23:52:05.000Z | docfx/api-override/Meadow.Foundation/Meadow.Foundation.Sensors.Atmospheric.Bme680.md | WildernessLabs/Documentation | f3ce8198ee16f65c27f7f3e60739a2ffdfcaa243 | [
"Apache-2.0"
] | 55 | 2017-05-18T06:43:13.000Z | 2022-01-25T21:07:55.000Z | ---
uid: Meadow.Foundation.Sensors.Atmospheric.Bme680
remarks: *content
---
| Bme680 | |
|--------|--------|
| Status | <img src="https://img.shields.io/badge/Working-brightgreen" style="width: auto; height: -webkit-fill-available;" /> |
| Source code | [GitHub](https://github.com/WildernessLabs/Meadow.Foundation/tree/master/Source/Meadow.Foundation.Peripherals/Sensors.Atmospheric.Bme680) |
| NuGet package | <a href="https://www.nuget.org/packages/Meadow.Foundation.Sensors.Atmospheric.Bme680/" target="_blank"><img src="https://img.shields.io/nuget/v/Meadow.Foundation.Sensors.Atmospheric.Bme680.svg?label=Meadow.Foundation.Sensors.Atmospheric.Bme680" /></a> |
### Code Example
### Wiring Example
To wire a Bme680 to your Meadow board, connect the following:
<img src="../../API_Assets/Meadow.Foundation.Sensors.Atmospheric.Bme680/Bme680_Fritzing.png"
style="width: 60%; display: block; margin-left: auto; margin-right: auto;" /> | 47.25 | 271 | 0.732275 | yue_Hant | 0.470406 |
98c7b37d2ce5909171d7eb262964c44b68514202 | 133 | md | Markdown | content/site/record/prepare/policy_requirement/yunnan.md | QingCloudYan/qingcloud-docs | ec039fd0164da2379a2584f4dcf129745a455240 | [
"Apache-2.0"
] | null | null | null | content/site/record/prepare/policy_requirement/yunnan.md | QingCloudYan/qingcloud-docs | ec039fd0164da2379a2584f4dcf129745a455240 | [
"Apache-2.0"
] | 35 | 2020-11-20T08:11:50.000Z | 2021-01-29T02:25:36.000Z | content/site/record/prepare/policy_requirement/yunnan.md | QingCloudYan/qingcloud-docs | ec039fd0164da2379a2584f4dcf129745a455240 | [
"Apache-2.0"
] | 3 | 2021-03-30T01:37:11.000Z | 2021-07-07T07:31:27.000Z | ---
title: "云南管局要求"
description: test
weight: 40
---
### 企业用户
负责人未满18周岁需提供劳动就业或收入证明(法定代表人除外)。
### 个人用户
负责人未满18周岁需提供劳动就业或收入证明。
| 7.823529 | 31 | 0.684211 | yue_Hant | 0.157187 |
98c810a1f55b17d3d35c67e06e7eb5d0daa0b841 | 6,038 | md | Markdown | oracle/Seq2seq-Chatbot-for-Keras/README.md | ourDirection/ourDirection | b99ed67a8cc0fe5016e03fe3b5ad083b7f8bbdc0 | [
"Apache-2.0"
] | null | null | null | oracle/Seq2seq-Chatbot-for-Keras/README.md | ourDirection/ourDirection | b99ed67a8cc0fe5016e03fe3b5ad083b7f8bbdc0 | [
"Apache-2.0"
] | null | null | null | oracle/Seq2seq-Chatbot-for-Keras/README.md | ourDirection/ourDirection | b99ed67a8cc0fe5016e03fe3b5ad083b7f8bbdc0 | [
"Apache-2.0"
] | null | null | null | # Seq2seq Chatbot for Keras
This repository contains a new generative model of chatbot based on seq2seq modeling. Further details on this model can be found in Section 3 of the paper [End-to-end Adversarial Learning for Generative Conversational Agents](https://www.researchgate.net/publication/321347271_End-to-end_Adversarial_Learning_for_Generative_Conversational_Agents). In the case of publication using ideas or pieces of code from this repository, please kindly cite this paper.
The trained model available here used a small dataset composed of ~8K pairs of context (the last two utterances of the dialogue up to the current point) and respective response. The data were collected from dialogues of English courses online. This trained model can be fine-tuned using a closed domain dataset to real-world applications.
The canonical seq2seq model became popular in neural machine translation, a task that has different prior probability distributions for the words belonging to the input and output sequences, since the input and output utterances are written in different languages. The architecture presented here assumes the same prior distributions for input and output words. Therefore, it shares an embedding layer (Glove pre-trained word embedding) between the encoding and decoding processes through the adoption of a new model. To improve the context sensitivity, the thought vector (i.e. the encoder output) encodes the last two utterances of the conversation up to the current point. To avoid forgetting the context during the answer generation, the thought vector is concatenated to a dense vector that encodes the incomplete answer generated up to the current point. The resulting vector is provided to dense layers that predict the current token of the answer. See Section 3.1 of our paper for a better insight into the advantages of our model.
The algorithm iterates by including the predicted token into the incomplete answer and feeding it back to the right-hand side input layer of the model shown below.

The following pseudocode explains the algorithm.

The training of this new model converges in few epochs. Using our dataset of 8K training examples, it was required only 100 epochs to reach categorical cross-entropy loss of 0.0318, at the cost of 139 s/epoch running in a GPU GTX980. The performance of this trained model (provided in this repository) seems as convincing as the performance of a vanilla seq2seq model trained on the ~300K training examples of the Cornell Movie Dialogs Corpus, but requires much less computational effort to train.
**To chat with the pre-trained model:**
1. Download the python file "conversation.py", the vocabulary file "vocabulary_movie", and the net weights "my_model_weights20", which can be found [here](https://www.dropbox.com/sh/o0rze9dulwmon8b/AAA6g6QoKM8hBEHGst6W4JGDa?dl=0) ;
2. Run conversation.py.
**To chat with the new model trained by our [new GAN-based training algorithm](https://github.com/oswaldoludwig/Adversarial-Learning-for-Generative-Conversational-Agents):**
1. Download the python file "conversation_discriminator.py", the vocabulary file "vocabulary_movie", and the net weights "my_model_weights20.h5", "my_model_weights.h5", and "my_model_weights_discriminator.h5", which can be found [here](https://www.dropbox.com/sh/o0rze9dulwmon8b/AAA6g6QoKM8hBEHGst6W4JGDa?dl=0) ;
2. Run conversation_discriminator.py.
This model has a better performance using the same training data. The discriminator of the GAN-based model is used to select the best answer between two models, one trained by teacher forcing and another trained by our new GAN-like training method, whose details can be found in [this paper](https://www.researchgate.net/publication/321347271_End-to-end_Adversarial_Learning_for_Generative_Conversational_Agents).
**To train a new model or to fine tune on your own data:**
1. If you want to train from the scratch, delete the file my_model_weights20.h5. To fine tune on your data, keep this file;
2. Download the Glove folder 'glove.6B' and include this folder in the directory of the chatbot (you can find this folder [here](https://nlp.stanford.edu/projects/glove/)). This algorithm applies transfer learning by using a pre-trained word embedding, which is fine tuned during the training;
3. Run split_qa.py to split the content of your training data into two files: 'context' and 'answers' and get_train_data.py to store the padded sentences into the files 'Padded_context' and 'Padded_answers';
4. Run train_bot.py to train the chatbot (it is recommended the use of GPU, to do so type: THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32,exception_verbosity=high python train_bot.py);
Name your training data as "data.txt". This file must contain one dialogue utterance per line. If your dataset is big, set the variable num_subsets (in line 29 of train_bot.py) to a larger number.
weights_file = 'my_model_weights20.h5'
weights_file_GAN = 'my_model_weights.h5'
weights_file_discrim = 'my_model_weights_discriminator.h5'
A nice overview of the current implementations of neural conversational models for different frameworks (along with some results) can be found [here](https://github.com/nicolas-ivanov/seq2seq_chatbot_links).
Our model can be applied to other NLP tasks, such as text summarization, see for example [Alternate 2: Recursive Model A](https://machinelearningmastery.com/encoder-decoder-models-text-summarization-keras/). We encourage the application of our model in other tasks, in this case, we kindly ask you to cite our work as can be seen in [this document](https://zenodo.org/record/825303/export/hx#.WiwV81WnGUk), registered in July 2017.
These codes can run in Ubuntu 14.04.3 LTS, Python 2.7.6, Theano 0.9.0, and Keras 2.0.4. The use of another configuration may require some minor adaptations.
| 125.791667 | 1,039 | 0.807552 | eng_Latn | 0.993491 |
98c88c221779cc5744eb943715d3f323a39a722c | 6,151 | md | Markdown | articles/application-gateway/url-route-overview.md | beber-msft/azure-docs.de-de | 7ce935d32fff8a0709d7a99b04f85cb50d2ead11 | [
"CC-BY-4.0",
"MIT"
] | 63 | 2017-08-28T07:43:47.000Z | 2022-02-24T03:04:04.000Z | articles/application-gateway/url-route-overview.md | beber-msft/azure-docs.de-de | 7ce935d32fff8a0709d7a99b04f85cb50d2ead11 | [
"CC-BY-4.0",
"MIT"
] | 704 | 2017-08-04T09:45:07.000Z | 2021-12-03T05:49:08.000Z | articles/application-gateway/url-route-overview.md | beber-msft/azure-docs.de-de | 7ce935d32fff8a0709d7a99b04f85cb50d2ead11 | [
"CC-BY-4.0",
"MIT"
] | 178 | 2017-07-05T10:56:47.000Z | 2022-03-18T12:25:19.000Z | ---
title: Übersicht über URL-basiertes Inhaltsrouting mit Azure Application Gateway
description: Dieser Artikel bietet eine Übersicht über das URL-basierte Inhaltsrouting mit Azure Application Gateway sowie über das UrlPathMap-Konfigurationselement und die PathBasedRouting-Regel.
services: application-gateway
author: vhorne
ms.service: application-gateway
ms.date: 09/10/2019
ms.author: victorh
ms.topic: conceptual
ms.openlocfilehash: e84ee56b57c4e97e2fd77e38acf45fc0d426fb58
ms.sourcegitcommit: 613789059b275cfae44f2a983906cca06a8706ad
ms.translationtype: HT
ms.contentlocale: de-DE
ms.lasthandoff: 09/29/2021
ms.locfileid: "129277079"
---
# <a name="url-path-based-routing-overview"></a>Routing auf URL-Pfadbasis – Übersicht
Mit dem Routing auf URL-Pfadbasis kann Datenverkehr basierend auf URL-Pfaden von Anforderungen an Back-End-Serverpools weitergeleitet werden.
Ein mögliches Szenario ist die Weiterleitung von Anforderungen für unterschiedliche Inhaltstypen an verschiedene Back-End-Serverpools.
Im folgenden Beispiel verarbeitet Application Gateway Datenverkehr für „contoso.com“ aus drei Back-End-Serverpools: VideoServerPool, ImageServerPool und DefaultServerPool.

Anforderungen für http\://contoso.com/video/* werden an VideoServerPool und Anforderungen für http\://contoso.com/images/* an ImageServerPool weitergeleitet. DefaultServerPool wird ausgewählt, wenn keines der Pfadmuster zutrifft.
> [!IMPORTANT]
> Regeln werden sowohl bei der v1- als auch v2-SKU in der Reihenfolge verarbeitet, in der sie im Portal aufgeführt sind. Wenn ein einfacher Listener zuerst aufgeführt wird und sich dafür eine Übereinstimmung mit einer eingehenden Anforderung ergibt, wird die Verarbeitung von diesem Listener durchgeführt. Es wird jedoch dringend empfohlen, vor dem Konfigurieren eines einfachen Listeners zunächst Listener für mehrere Standorte zu konfigurieren. So wird sichergestellt, dass der Datenverkehr an das richtige Back-End geleitet wird.
## <a name="urlpathmap-configuration-element"></a>urlPathMap-Konfigurationselement
Mit dem urlPathMap-Element werden Pfadmuster für Zuordnungen zu Back-End-Serverpools angegeben. Das folgende Codebeispiel ist der Codeausschnitt des urlPathMap-Elements aus der Vorlagendatei.
```json
"urlPathMaps": [{
"name": "{urlpathMapName}",
"id": "/subscriptions/{subscriptionId}/../microsoft.network/applicationGateways/{gatewayName}/urlPathMaps/{urlpathMapName}",
"properties": {
"defaultBackendAddressPool": {
"id": "/subscriptions/ {subscriptionId}/../microsoft.network/applicationGateways/{gatewayName}/backendAddressPools/{poolName1}"
},
"defaultBackendHttpSettings": {
"id": "/subscriptions/{subscriptionId}/../microsoft.network/applicationGateways/{gatewayName}/backendHttpSettingsList/{settingname1}"
},
"pathRules": [{
"name": "{pathRuleName}",
"properties": {
"paths": [
"{pathPattern}"
],
"backendAddressPool": {
"id": "/subscriptions/{subscriptionId}/../microsoft.network/applicationGateways/{gatewayName}/backendAddressPools/{poolName2}"
},
"backendHttpsettings": {
"id": "/subscriptions/{subscriptionId}/../microsoft.network/applicationGateways/{gatewayName}/backendHttpsettingsList/{settingName2}"
}
}
}]
}
}]
```
### <a name="pathpattern"></a>PathPattern
Eine Liste der Pfadmuster für den Abgleich. Jeder Pfad muss mit / beginnen und kann \* als Platzhalterzeichen verwenden. Die Zeichenfolge, die in den Pfadabgleich eingegeben wird, enthält keinen Text nach dem ersten Fragezeichen (?) oder der ersten Raute (#), und diese Zeichen sind hier nicht zulässig. Ansonsten sind in PathPattern alle Zeichen zulässig, die auch in einer URL zulässig sind.
Die unterstützten Muster sind davon abhängig, ob Sie Application Gateway v1 oder v2 bereitgestellt haben:
#### <a name="v1"></a>v1
Bei den Pfadregeln wird die Groß-/Kleinschreibung nicht beachtet.
|v1-Pfadmuster |Unterstützt? |
|---------|---------|
|`/images/*` |ja|
|`/images*` |ja|
|`/images/*.jpg` |nein|
|`/*.jpg` |nein|
|`/Repos/*/Comments/*` |nein|
|`/CurrentUser/Comments/*` |ja|
#### <a name="v2"></a>V2
Bei den Pfadregeln wird die Groß-/Kleinschreibung nicht beachtet.
|v2-Pfadmuster |Unterstützt? |
|---------|---------|
|`/images/*` |ja|
|`/images*` |ja|
|`/images/*.jpg` |nein|
|`/*.jpg` |nein|
|`/Repos/*/Comments/*` |nein|
|`/CurrentUser/Comments/*` |ja|
Weitere Informationen erhalten Sie in einer [Resource Manager-Vorlage mit URL-basiertem Routing](https://azure.microsoft.com/resources/templates/application-gateway-url-path-based-routing) .
## <a name="pathbasedrouting-rule"></a>PathBasedRouting-Regel
RequestRoutingRule vom Typ PathBasedRouting wird verwendet, um einen Listener an ein urlPathMap-Element zu binden. Alle Anforderungen, die für diesen Listener empfangen werden, werden basierend auf einer in urlPathMap angegebenen Richtlinie weitergeleitet.
Codeausschnitt einer PathBasedRouting-Regel:
```json
"requestRoutingRules": [
{
"name": "{ruleName}",
"id": "/subscriptions/{subscriptionId}/../microsoft.network/applicationGateways/{gatewayName}/requestRoutingRules/{ruleName}",
"properties": {
"ruleType": "PathBasedRouting",
"httpListener": {
"id": "/subscriptions/{subscriptionId}/../microsoft.network/applicationGateways/{gatewayName}/httpListeners/<listenerName>"
},
"urlPathMap": {
"id": "/subscriptions/{subscriptionId}/../microsoft.network/applicationGateways/{gatewayName}/urlPathMaps/{urlpathMapName}"
}
}
}
]
```
## <a name="next-steps"></a>Nächste Schritte
Nachdem Sie sich mit dem URL-basierten Inhaltsrouting vertraut gemacht haben, können Sie mit [Erstellen eines Anwendungsgateways mit URL-basiertem Routing](create-url-route-portal.md) fortfahren, um ein Anwendungsgateway mit URL-Routingregeln zu erstellen.
| 48.433071 | 532 | 0.732401 | deu_Latn | 0.922624 |
98cac98bdc8379d957514dd0918b219fdc6292f3 | 3,671 | md | Markdown | README.md | GasComIT/Cortana | 0d2203a78266b37b3a66d74029cc543e234af407 | [
"Apache-2.0"
] | 2 | 2022-03-07T19:15:29.000Z | 2022-03-09T14:34:25.000Z | README.md | GasComIT/Cortana | 0d2203a78266b37b3a66d74029cc543e234af407 | [
"Apache-2.0"
] | null | null | null | README.md | GasComIT/Cortana | 0d2203a78266b37b3a66d74029cc543e234af407 | [
"Apache-2.0"
] | 1 | 2022-02-06T11:48:57.000Z | 2022-02-06T11:48:57.000Z | [](https://github.com/ellerbrock/open-source-badges/)<img align="centre" src="https://img.shields.io/badge/Made%20for-VSCode-1f425f.svg" alt="Krakinz"/><img align="centre" src="https://img.shields.io/badge/Maintained%3F-yes-green.svg"/>
# (𝐜)𝐂𝐨𝐫𝐭𝐚𝐧𝐚𝐀𝐈 🛸stable-yet-debug
<img align="centre" height="500" src="https://github.com/Krakinz/Cortana/blob/KrakinzLab/Cortana%E2%98%A3%EF%B8%8FReactor/%C6%88%D6%85%CA%80%C8%B6%C7%9F%D5%BC%C7%9F.png">
```
🦋𝐊𝐨𝐧𝐢𝐜𝐡𝐢𝐰𝐚
╔════◇🛸 (𝐜)𝐂𝐨𝐫𝐭𝐚𝐧𝐚 𝐀𝐈
║- ɪꜱ ᴀ ᴡʜᴀᴛꜱᴀᴘᴘ ᴍᴜʟᴛɪᴘᴜʀᴘᴏꜱᴇ-ᴜꜱᴇʀʙᴏᴛ ᴡɪᴛʜ ᴍᴏᴅᴇʀᴀᴛɪᴏɴ,ᴀᴜᴛᴏᴍᴀᴛɪᴏɴ ᴀɴᴅ 100+ ᴄᴏᴍᴍᴀɴᴅꜱ!
║- ᴜꜱᴇ ꜱᴀᴋᴜʀᴀ ɪɴ ʙᴏᴛʜ ᴘᴜʙʟɪᴄ-ɢʀᴏᴜᴘꜱ ᴀɴᴅ ᴘʀɪᴠᴀᴛᴇ.
║- ꜱᴏ ᴍᴀɴʏ ᴄᴏᴍᴍᴀɴᴅꜱ ᴛʜᴀᴛ ᴡɪʟʟ ʙʟᴏᴡ ᴜᴘ ᴛʜᴇ ᴇᴠᴇʀʏ-ᴅᴀʏ ᴜꜱᴇ ᴏꜰ ʙᴏʀɪɴɢ ᴡʜᴀᴛꜱᴀᴘᴘ.
║- ꜱᴀᴋᴜʀᴀ ɪꜱ ᴡʀɪᴛᴛᴇɴ ɪɴ [ᴊᴀᴠᴀꜱᴄʀɪᴘᴛ & ᴘʏᴛʜᴏɴ] ᴀɴᴅ ɪꜱ ʙʏ ꜰᴀʀ ᴛʜᴇ ᴏɴᴇ ᴏꜰ ᴍᴏꜱᴛ ᴀᴅᴠᴀɴᴄᴇ ᴡʜᴀᴛꜱᴀᴘᴘ ᴜꜱᴇʀʙᴏᴛ.
╚◇║
╔◇║⚡ 𝐅𝐫𝐞𝐪𝐮𝐞𝐧𝐭𝐥𝐲 𝐀𝐬𝐤𝐞𝐝 𝐐𝐮𝐞𝐬𝐭𝐢𝐨𝐧𝐬
║
║◇ ❓*What is the reason/topic for this group?*
║ Cortana is an Advance Whatsapp User-Bot. You Can Use The Bot in this group or in your respective groups.
║
║◇ *❓How Do I add Cortana In My Group?*
║ -Send Your Group Link In: https://chat.whatsapp.com/EIn3YFShFmkJ3fvAqf2rpn
║ -Tag any in that group and ask them to use /join command.
║ -Remember No commands will work in that group!
║ -Your Group Should Have 10 members atleast.
║ -Turn Disappearing Message Off in your Gc.
║
║◇ *❓I want to know how to deploy Cortana.*
║ Not Allowed anymore!
║
║◇ *❓Please Help Me Out With The Commands.*
║ You can find all commands in the /menu and their respective category in /help.
║
║◇ *❓I do not want to understand. I am stupid and dumb.*
║ Click on top right corner and press leave.
║
║◇ *❓Can i send any link?*
║ Allowed Links: YouTube. Anything else = bot will kick you.
║
║◇ *❓Who made Cortana?*
║ KrakinzLab
║
║◇ *❓License and Copyright?*
║ Visit: http://github.com/krakinzlab/Cortana
║
╚◇║
╔◇║💡 𝐀𝐥𝐥 𝐂𝐨𝐦𝐦𝐚𝐧𝐝 𝐂𝐚𝐭𝐞𝐠𝐨𝐫𝐢𝐞𝐬 𝐁𝐫𝐢𝐞𝐟𝐥𝐲 𝐄𝐱𝐩𝐥𝐚𝐢𝐧𝐞𝐝
║
◇══════║ 👇🏽𝐄𝐯𝐞𝐫𝐲𝐨𝐧𝐞
║🍣 _${ᴋᴇɪ}animemenu_ = search anime, get anime gifs,get random anime wallpapers.
║💰 _${ᴋᴇɪ}gamemenu_ = play random games on whatsapp.
║📥 _${ᴋᴇɪ}downloadmenu_ = download videos and audio files from YouTube,Instagram.
║🔰 _${ᴋᴇɪ}groupmenu_ = group moderation and automation.
║🦄 _${ᴋᴇɪ}randommenu_ = some random stuffs look yourself.
║🔎 _${ᴋᴇɪ}searchmenu_ = surf the internet within whatsapp.
║🗂️ _${ᴋᴇɪ}ffmpegmenu_ = convertion using ffmpeg.
║🏝️ _${ᴋᴇɪ}filtersmenu_ = add custom audio filter to mp3 files.
║🎨 _${ᴋᴇɪ}checkmenu_ = tag or reply to someone to check what category they are.
║
◇══════║ 👇🏽𝐀𝐝𝐦𝐢𝐧-𝐎𝐧𝐥𝐲
║🔰 _${ᴋᴇɪ}groupmenu_ = not safe for work adult stuffs!
║🍄 _${ᴋᴇɪ}hentaimenu_ = not safe for work adult stuffs!
║🥃 _${ᴋᴇɪ}humanmenu_ = not safe for work adult stuffs!
║🐙 _${ᴋᴇɪ}ownermenu_ = owner/dev only!
╚════════════╝
```
# 🛸[𝐃𝐞𝐩𝐥𝐨𝐲𝐦𝐞𝐧𝐭]
🛸[`(𝐜)𝐂𝐨𝐫𝐭𝐚𝐧𝐚 𝐀𝐝𝐯𝐚𝐧𝐜𝐞 𝐀𝐈🍾 #A`](https://chat.whatsapp.com/LKN8uVBd8ucHRHofz0jBSd)
🛸[`(𝐜)𝐂𝐨𝐫𝐭𝐚𝐧𝐚 𝐀𝐝𝐯𝐚𝐧𝐜𝐞 𝐀𝐈🍾 #B`](https://chat.whatsapp.com/HKO5WLEZxMe3xWCyiv6vBu)
🛸[`(𝐜)𝐂𝐨𝐫𝐭𝐚𝐧𝐚 𝐀𝐝𝐯𝐚𝐧𝐜𝐞 𝐀𝐈🍾 #C`](https://chat.whatsapp.com/EIn3YFShFmkJ3fvAqf2rpn)
🛸[`𝐃𝐢𝐬𝐜𝐨𝐫𝐝`](https://discord.gg/xcFN6NDHEV)
🛸[](https://heroku.com/deploy?template=https://github.com/red-alison/Cortana.git/tree/KrakinzLab)
- ꜰᴏʀᴋ ᴀɴᴅ ꜱᴛᴀʀ ᴛʜᴇ ʀᴇᴘᴏ ᴇʟꜱᴇ ʙᴏᴛ ᴡᴏɴ'ᴛ ʙᴏᴏᴛ
- ᴄʜᴀɴɢᴇ [app.bot](app.bot) ᴛᴏ app.json
- ᴅᴏɴᴛ ꜰᴏʀɢᴇᴛ ᴛᴏ ᴛᴜʀɴ ᴏɴ ᴅʏɴᴏ: ᴡᴏʀᴋᴇʀ & ʏᴏᴜ ᴏɴ ʏᴏᴜʀ ᴏᴡɴ!'
- ɪɴᴏʀᴅᴇ ᴛᴏ ᴜꜱᴇ ꜱᴀᴋᴜʀᴀ, ᴊᴏɪɴ ᴀɴᴅ ʀᴇQᴜᴇꜱᴛ ɪɴ ᴡʜᴀᴛꜱᴀᴘᴘ ᴏꜰꜰɪᴄɪᴀʟ ɢʀᴏᴜᴘ
- ʀᴇᴍᴇᴍʙᴇʀ ɴᴏ ʜᴇʟᴘ ᴀɴᴅ ᴄᴏᴅᴇꜱ ᴡɪʟʟ ʙᴇ ꜱʜᴀʀᴇᴅ ʙʏ ᴍᴇ ᴀꜱ ʙᴏᴛ ɴᴏᴛ ꜰᴏʀ ᴘᴜʙʟɪᴄꜱ ᴀɴʏᴍᴏʀᴇ
# ☣️[𝕷𝖎𝖈𝖊𝖓𝖘𝖊](LICENSE)
| 43.702381 | 318 | 0.698447 | eng_Latn | 0.34587 |
98cb92f0ed220a925e846c3338912a704298efcd | 12,142 | md | Markdown | v3.7/user-manual/app-manage/app-ctl.md | qdsang/rainbond-docs | 1e3d8bf81b98b1f2cb668427b3f78f802f94dada | [
"CC-BY-4.0"
] | null | null | null | v3.7/user-manual/app-manage/app-ctl.md | qdsang/rainbond-docs | 1e3d8bf81b98b1f2cb668427b3f78f802f94dada | [
"CC-BY-4.0"
] | null | null | null | v3.7/user-manual/app-manage/app-ctl.md | qdsang/rainbond-docs | 1e3d8bf81b98b1f2cb668427b3f78f802f94dada | [
"CC-BY-4.0"
] | null | null | null | ---
title: 应用控制
summary: 用户针对用户可以做哪些操作
toc: true
asciicast: true
---
本文讲解应用的行为,也就是说用户可以对应用做哪些控制。
## 一、应用基本操作
重新部署、启动、关闭、重启和访问是应用最基本和最常用的操作,根据应用的[不同状态](app-properties.html#part-f217864b95b2f14e),用户可以执行不同的操作,下面会针对每一个操作介绍功能和操作后所触发的事件。
### 1.1 重新部署
> 适用场景:应用的任何状态
针对不同类型的应用,触发 `重新部署` 操作后,有着不同的含义,下表针对不同类型的应用加以说明:
| 应用类型 | 说明 |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| 各语言源代码 | 拉取最新源代码,通过[rbd-chaos](../../architecture/architecture.html#chaos-ci)调用[builder](https://github.com/goodrain/builder)进行构建,上线应用 |
| Dockerfile 源码 | 拉取最新源代码,通多 docker build 创建 Docker 镜像,push 镜像到内部镜像仓库,上线应用 |
| Docker 镜像 | 重新拉取指定镜像地址的镜像,推送到本地镜像仓库,上线应用 |
| 云市应用 | 重新拉取云市应用镜像/应用包,推送到本地镜像仓库,上线应用 |
{{site.data.alerts.callout_info}}
- Dockerfile 源码类应用就是将 Dockerfile 及所需要的文件放到 代码仓库(Git/Svn),通过源代码创建的应用。
- 重新部署后,如果一切顺利,应用会自动切换为新版本并上线,即使代码没有更新,也会触发应用滚动上线的流程。
- 单节点应用重新部署后服务会有 3~10 秒的中断(根据应用启动时间),多节点应用服务不受影响。
- 处于关闭状态的应用,触发重新部署操作后,如果构建正常,平台会将应用运行起来。
{{site.data.alerts.end}}
### 1.2 启动
> 使用场景:首次构建成功,并处于关闭状态的应用
启动操作会启动上一次成功构建的镜像,如果运行正常会自动上线。
启动后可以在应用概览页面的 `操作日志` 看到平台调度与处理服务的详细操作日志,当调度完成后,应用就进入启动阶段,这时候可以通过 `日志` 页面查看应用的启动日志。
- 应用概览页的操作日志
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-start-log01.png" width="100%" />
* 应用日志页面
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-start-log02.png" width="100%" />
### 1.3 关闭
> 使用场景:运行中或运行异常的应用
触发关闭操作后,平台会将应用的从负载均衡下线并关闭应用容器,多个节点的应用会滚动下线。
### 1.4 重启
> 使用场景:运行中或运行异常的应用
触发重启操作后,平台会将现有的应用重启,对于无状态应用,重启过程滚动进行,有状态应用,将关闭全部实例后再启动。
{{site.data.alerts.callout_danger}}
- 重启应用并不会更新应用代码或镜像,需要和`重新部署`操作区分。
- 重启操作会中断有状态应用和单节点无状态应用的服务。
{{site.data.alerts.end}}
### 1.5 访问
> 使用场景:运行中的应用 && (打开了对外服务 | 对内服务的端口)
针对不同协议的应用,点击访问按钮后所触发的命令也不一样:
| 应用协议 | 点击访问按钮后的操作 |
| -------- | ------------------------------------------------------------------------------ |
| HTTP | 浏览器新开窗口,打开应用的默认域名,如果绑定多个域名,会显示域名列表供用户选择 |
| TCP | 弹出访问信息窗口 |
- HTTP 协议应用
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-open-http.gif" width="85%" />
- TCP 协议应用
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-open-tcp.gif" width="85%" />
## 二、回滚应用到指定版本
应用每次成功部署后,都会生成一个应用版本,每个版本对应一次代码提交(基于源码创建),或者一个镜像(Docker 镜像创建)。
通过 `构建版本管理` 功能,可以将应用回滚到指定版本。
- 构建版本管理
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-rollback01.png" width="100%" />
- 回滚到指定版本
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-rollback02.png" width="100%" />
{{site.data.alerts.callout_danger}}
- 回滚操作是关闭现有版本应用,再启动其他版本应用的过程,本质上是一个应用重启的操作,因此针对单节点应用会中断服务。
- 多节点应用回滚操作采用滚动升级方式,因此时不会影响服务,但会有较短的时间同时存在 2 种版本的情况。
{{site.data.alerts.end}}
## 三、伸缩应用
平台应用有两种伸缩方式:
- 垂直伸缩:增加或减少应用的内存(应用 CPU 与内存是联动的,按照一定的[比例调整](#3-1-cpu))
- 水平伸缩:增加或减少应用的实例数
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-extend.jpg" width="100%" />
{{site.data.alerts.callout_danger}}
- 垂直伸缩时平台会自动调整资源后重启应用,单节点应用服务会中断,多节点应用服务不受影响。
- 水平伸缩时平台通过滚动新增或者下线节点的方式进行操作,因此操作不会影响现有服务。
{{site.data.alerts.end}}
### 3.1 垂直伸缩 CPU 与内存比例关系
| 申请值比例(CPU/内存) | 限制值比例(CPU/内存) |
| ---------------------- | --------------------- |
| 0.24/1 | 1.28/1 |
{{site.data.alerts.callout_info}}
- Kubernetes 针对 CPU 和内存分为申请值与限制值,详情参见: [管理容器的计算资源](https://kubernetes.io/cn/docs/concepts/configuration/manage-compute-resources-container/)
- 平台目前调整的 CPU 与内存占比是经过生产环境验证过,目前平台还没有提供修改占比的方式。
{{site.data.alerts.end}}
### 3.2 应用实例内存使用情况
在实例情况一栏中可监控每个实例的内存使用百分比,可参考内存使用的大小来伸缩内存。
{{site.data.alerts.callout_info}}
- 监控数据非实时数据,存在10s内的时间误差。
{{site.data.alerts.end}}
## 四、添加应用存储
### 4.1 应用为什么要添加存储
应用是平台的抽象概念,底层是通过容器封装运行起来的,容器默认是没有存储的,也就是说,在容器中的程序在运行过程中的日志、生成或处理的文件,一旦容器关闭或重启,之前生成或存储的文件就丢失了。
因此,为了保存程序运行中的文件,需要给容器挂载一个存储,在 rainbond 中,只要给应用挂载一个存储,即使应用水平扩展几十上百个节点,平台都会自动挂载。
### 4.2 如何为应用添加存储
为应用添加存储有两种方式:
- <b>(1) 新增应用存储</b>
找到 【存储】页面
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-storage01.png" width="100%" />
点击 【添加持久化】按钮
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-storage02.png" width="60%" />
存储添加完成
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-storage03.png" width="100%" />
- <b>(2) 挂载其他应用的存储</b>
在【存储】页面找到 【挂载目录】
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-storage04.png" width="100%" />
点击【挂载目录】按钮后,勾选需要挂载其他应用的名称,并填写挂载到本应用的目录
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-storage05.png" width="90%" />
完成挂载其他应用存储
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-storage06.png" width="100%" />
{{site.data.alerts.callout_danger}}
- 新增或挂载其他应用的存储后,需要重启应用。
- 新增或挂载其他应用存储时,本应用的路径不能使用 Linux 系统保留目录,如:/dev、/usr、/bin、/sys、/proc 等
{{site.data.alerts.end}}
## 五、应用端口与域名管理
### 5.1 应用端口管理
端口相关的管理包含,端口号,端口协议,端口访问控制、对内服务端口变量设置等操作,下图是不同团队、不同端口的应用开启了不同访问控制后的示意图:
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/port-manage.png" width="100%" />
#### 端口号设置
应用端口与容器内部程序监听的端口是完全对应的关系,也就是说,当程序启动后监听的端口是80,那应用的端口就应该设置为80。
可以通过【添加端口】功能为应用添加其他的端口,需要确保添加的端口与程序监听的端口一致,并选择对应的端口协议。
#### 端口协议
端口可以指定不同的协议类型,目前Rainbond支持 `HTTP`、`TCP`、`UDP`和 `MySQL` 协议,请确保选择的协议与你程序监听的协议一致。
协议的选择会影响应用的后续操作:
- 性能分析功能
> 不同协议的应用启动了[性能分析插件](../../plugins/lists/performance-analysis.html)后,其性能分析的方式会有所不同,如HTTP协议会分析HTTP相关的数据,MySQL协议会分析MySQL语句相关的数据。
- 打开对外服务后的访问
> 当端口打开对外服务后,HTTP协议会<b>分配默认的域名</b>,非HTTP协议会<b>分配IP+端口</b>的访问方式
#### 端口访问控制
端口的访问控制分为两类:
- 对内服务
> 开启租户网络内部的访问许可,这时,该团队内部的应用可以通过【添加依赖服务】的方式访问到该应用。
- 对外服务
> 打开对外服务后,平台会将该<b>应用映射的端口添加到全局负载均衡</b>,这时<b>平台外部</b>以及<b>平台内部其他团队的应用</b>都可以通过负载均衡分配的域名或IP访问到该应用。
{{site.data.alerts.callout_info}}
- 修改端口信息后需要重启应用。
- 端口打开对内服务后,其他应用要想连接到该应用,需要先【添加依赖服务】建立关联,然后通过<b>连接地址或环境变量</b>连接。
- 端口访问控制可以根据需要开启和关闭,可单独开启,也可以全部开启,如果应用是个worker程序,只需要连接别的服务,本身没有端口监听就没有必要开启端口访问。
{{site.data.alerts.end}}
### 5.2 应用域名管理
Rainbond为每一个HTTP应用自动生成一个默认的域名,一般情况下这个域名都比较长,不方便记忆。你可以通过下面两种方式修改默认域名:
- 修改默认域名:修改应用默认生成的域名前缀,主域名是安装云帮时生成或指定的。
- 绑定新域名:为应用指定一个新域名,绑定完成后,需要在你的DNS域名服务商的那里设置一下<a href="https://baike.baidu.com/item/CNAME" target="_blank">CNAME</a>记录。
详细操作文档请参考:<a href="../custom-app-domain.html" target="_blank" >自定义应用域名</a>
## 六、添加应用依赖服务
### 6.1 应用为什么要依赖其他服务
当一个独立的业务系统不能完成所有功能时,就需要借助其他的服务来实现。如web服务一般都需要数据库存储数据,前端页面展现程序需要调用后端API服务获取数据等等。
建立应用依赖的操作请参考:[添加数据库依赖](../link-db.html)
### 6.2 应用如何连接依赖服务
当应用开启[对内服务](part-bceed0b33051c29e)后,其他应用才能通过【添加依赖服务】的方式进行关联,应用与依赖的服务建立起关联后,下一步就是连接依赖服务。
在【依赖】页面中的 【依赖应用信息】可以看到已经依赖的服务:
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-link01.png" width="100%" />
#### (1) 获取连接信息
选择其中一个依赖服务,点击【连接信息】会弹出连接信息页面:
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-link02.png" width="60%" />
连接信息分为两类:
- 变量名
> 当应用的端口打开<b>对内服务</b>后,会生成一个默认的<b>端口别名</b>这个别名就是该应用的连接信息的前缀。如一个内部的API服务,端口别名是 `USERAPI` 则,其他应用与该API建立关联后,就可以通过 `USERAPI_HOST` 找到API服务的连接IP,通过`USERAPI_PORT` 找到API服务的端口号,如果还需要添加其他的变量名,可以通过 【依赖】--【应用连接信息】添加更多的依赖相关的变量。
- 变量值
> 应用可以通过确定的变量值来连接被依赖(打开对内服务)的应用,我们<b>不推荐</b>使用这种方式连接,这种方式属于硬编码,所有配置都写死到代码中,对于业务安全与程序灵活性都有影响。我们推荐使用<b>环境变量名</b>的方式连接应用。
#### (2) 应用连接依赖服务
当应用添加了依赖,并且查看了连接信息后,下一步就是修改应用的配置,连接依赖的服务,以Springcloud程序为例介绍通过<b>环境变量</b>的形式连接依赖的服务:
`application.yml` 文件
```yml
...
spring:
data:
mysql:
host: ${MYSQL_HOST}
username: ${MYSQL_USER}
password: ${MySQL_PASS}
database: ${MYSQL_DB}
port: ${MYSQL_PORT}
...
```
其他各类语言都有获取环境变量的方法,如果不想用环境变量,也可以使用直接变量值,但按照<a href="https://12factor.net/zh_cn/config" target="_blank">十二要素</a>原则,我们不推荐使用硬编码的方式连接应用。
## 七、进入容器命令行
运行起来的应用后端都是由容器提供的,平台提供了通过浏览器的方式登录到应用容器命令行的方式。当应用正常启动后,可以通过【管理容器】按钮,选择某个节点,进入到容器命令行:
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/web-console.gif" width="100%" />
{{site.data.alerts.callout_info}}
- 当无法正常打开控制台时,请检查应用状态是否正常。
- Web控制台只用作查看和调试程序,不建议通过控制台部署业务相关的服务。
{{site.data.alerts.end}}
## 八、查看应用日志
当应用创建完成后,会有两种日志与该应用有关:
- 操作日志:显示应用的构建及操作信息,应用的回滚也在这里完成。
- 应用输出日志:应用运行后输出到<a href="https://baike.baidu.com/item/stdout" target="_blank">标准输出(stdout)</a>和<a href="https://baike.baidu.com/item/stderr" target="_blank">标准错误输出(stderr)</a>的日志。
详细文档参考:<a href="../view-app-logs.html" target="_blank">查看应用日志</a>
## 九、应用高级设置
应用的其他功能,包括更多的应用信息、自动部署、健康检查等高级功能都在 应用的 【设置】页面中,下文会对每一块功能做详细介绍。
### 9.1 应用基础信息
应用基础信息显示了应用当前的版本信息、来源及状态,不同类型的应用显示的内容也会有所不同,下面针对不同类型的应用分别介绍:
<table>
<thead>
<tr>
<th >Docker镜像</th>
<th >源码构建应用</th>
<th >云市应用</th>
</tr>
</thead>
<tr>
<td><img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/img-info.png" width=100%/></td>
<td><img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/source-info.png" width=100%/></td>
<td><img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/appstore-info.png" width=100%/></td>
</tr>
</table>
{{site.data.alerts.callout_info}}
- 只有通过源码构建的应用才显示Git/Svn仓库地址和分支信息
- Docker镜像、Docker Run命令和Docker compose的方式创建的应用会显示镜像地址和版本
{{site.data.alerts.end}}
### 9.2 自动部署
目前自动部署支持通过Git仓库源码创建的应用,后续会提供Svn仓库、Docker镜像仓库的自动部署功能。
在应用【设置】页面,自动部署区域,点击【开启自动部署】按钮后,会提示类似如下信息:
<center>
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/auto-deploy.png" width="80%" />
</center>
详细文档请参考: [应用持续构建与部署](../../best-practice/ci-cd/auto-deploy.html)
### 9.3 自定义环境变量
当你通过应用【设置】中的自定义环境变量,添加变量时,应用下次启动会加载这些环境变量。
通常情况下,我们将配置信息写到配置文件中供程序读取使用,在Rainbond平台中,我们<b>极力推荐</b>使用环境变量的方式来代替传统的配置文件的方式。
这样做的好处如下:
- 将配置信息与应用绑定,与代码解耦,摆脱不同环境下切换配置文件的麻烦
- 敏感信息与代码分离,避免程序漏洞造成数据丢失
- 省去配置管理的工作
下面是一个生产环境的应用使用环境变量进行配置的截图:
<center>
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/custom-env.png" width="90%" />
</center>
以Python为例介绍在配置读取环境变量的方法:
```python
# -*- coding: utf8 -*-
import os
DEBUG = os.environ.get('DEBUG') or False
TEMPLATE_DEBUG = os.environ.get('TEMPLATE_DEBUG') or False
DEFAULT_HANDLERS = [os.environ.get('DEFAULT_HANDLERS') or 'zmq_handler']
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'goodrain',
'USER': os.environ.get('MYSQL_USER'),
'PASSWORD': os.environ.get('MYSQL_PASSWORD'),
'HOST': os.environ.get('MYSQL_HOST'),
'PORT': os.environ.get('MYSQL_PORT'),
}
}
...
```
### 9.4 健康检查
为了了解应用启动后的服务是否可用,已经应用运行中的服务运行情况,我们增加了应用检查的功能:
- 启动时检查
> 应用启动时的健康检查,用户可根据应用的协议、端口自定义设置监控选项。如果达到检查的阈值,平台会重启应用
<b>应用启动时检查配置示例</b>
<center>
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-check-on-startup.png" width="80%" />
</center>
> 示例配置:当容器启动2秒后,开始对 5000 端口进行 tcp 协议的第一次检查,如果等待20秒检查没有结果,平台会重启应用,如果20秒内成功返回,平台认为应用启动成功。
- 运行时检查
> 应用运行时的监控检查,用户可根据应用的协议、端口自定义设置监控选项。如果达到检查的阈值,平台会重启应用(生产环境谨慎设置)
<b>应用运行时检查配置示例</b>
<center>
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/app-check-on-running.png" width="80%" />
</center>
> 示例配置:当应用成功启动后,等待20秒,针对5000端口,tcp协议进行第一次检查,每隔3秒检查一次,检查超时时间20秒,如果连续三次检查都失败,平台会重启应用。
### 9.5 成员应用权限
关于角色权限定义的文档请参考:<a href="../manage-your-team.html#part-4d32fc61fb3a5f74">角色与团队成员管理</a>
这里主要讲的是应用权限的管理,当某个用户加入到团队时,团队管理员决定该用户的角色,如果要限制某个用户只能管理某些应用,建议使用 `Viewer(观察者)` 角色,然后根据需要在应用的 【成员应用权限】中设置应用的管理权限。
### 9.6 修改构建源
对于已经部署完成的应用,如果你想要修改应用的构建源,可在应用`设置`中的`构建源`一栏中重新修改此应用的构建源,当再次重新部署应用时,便会使用新的构建源部署应用。
<img src="https://static.goodrain.com/images/docs/3.7.1/build_source.jpg" width="100%" />
## 十、删除应用
平台提供应用永久删除功能,应用删除后,应用信息会从控制台和数据中心数据库中删除,持久化数据暂时保留。
目前还没有恢复删除应用的功能,请谨慎使用该功能。
<img src="https://static.goodrain.com/images/docs/3.6/user-manual/manage/delete-app.gif" width="100%" /> | 27.163311 | 214 | 0.691731 | yue_Hant | 0.562049 |
98cb96ef808b62388883c9af63110126cb43f78b | 1,409 | md | Markdown | docs/sources/packages_api/data/logsmodel.md | poldown/grafana | 5e661bf68c1cf750ff0c0f30af16e5fa4ed49fe5 | [
"Apache-2.0"
] | 2 | 2021-10-31T01:07:41.000Z | 2021-11-08T09:43:19.000Z | docs/sources/packages_api/data/logsmodel.md | poldown/grafana | 5e661bf68c1cf750ff0c0f30af16e5fa4ed49fe5 | [
"Apache-2.0"
] | 28 | 2021-04-19T08:17:47.000Z | 2022-03-21T14:26:03.000Z | docs/sources/packages_api/data/logsmodel.md | poldown/grafana | 5e661bf68c1cf750ff0c0f30af16e5fa4ed49fe5 | [
"Apache-2.0"
] | 3 | 2017-11-14T09:49:49.000Z | 2019-05-17T09:54:35.000Z | +++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "LogsModel"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## LogsModel interface
<b>Signature</b>
```typescript
export interface LogsModel
```
<b>Import</b>
```typescript
import { LogsModel } from '@grafana/data';
```
<b>Properties</b>
| Property | Type | Description |
| --- | --- | --- |
| [hasUniqueLabels](#hasuniquelabels-property) | <code>boolean</code> | |
| [meta](#meta-property) | <code>LogsMetaItem[]</code> | |
| [rows](#rows-property) | <code>LogRowModel[]</code> | |
| [series](#series-property) | <code>GraphSeriesXY[]</code> | |
| [visibleRange](#visiblerange-property) | <code>AbsoluteTimeRange</code> | |
### hasUniqueLabels property
<b>Signature</b>
```typescript
hasUniqueLabels: boolean;
```
### meta property
<b>Signature</b>
```typescript
meta?: LogsMetaItem[];
```
### rows property
<b>Signature</b>
```typescript
rows: LogRowModel[];
```
### series property
<b>Signature</b>
```typescript
series?: GraphSeriesXY[];
```
### visibleRange property
<b>Signature</b>
```typescript
visibleRange?: AbsoluteTimeRange;
```
| 19.84507 | 80 | 0.551455 | eng_Latn | 0.258336 |
98cb9b75309d74f78328c2a1110136aabd71d166 | 651 | md | Markdown | docs/lib/datastore/datastore-events.md | guikcd/docs | 1966eec37c5b5369e6f013e7df0b2fd9d90f72ee | [
"Apache-2.0"
] | 4 | 2019-07-30T19:12:45.000Z | 2021-09-05T17:39:55.000Z | docs/lib/datastore/datastore-events.md | guikcd/docs | 1966eec37c5b5369e6f013e7df0b2fd9d90f72ee | [
"Apache-2.0"
] | null | null | null | docs/lib/datastore/datastore-events.md | guikcd/docs | 1966eec37c5b5369e6f013e7df0b2fd9d90f72ee | [
"Apache-2.0"
] | 2 | 2021-09-04T06:07:26.000Z | 2021-09-05T17:39:57.000Z | ---
title: DataStore Events
description: Listening to DataStore events
---
<inline-fragment platform="js" src="~/lib/datastore/fragments/native_common/datastore-events.md"></inline-fragment>
<inline-fragment platform="android" src="~/lib/datastore/fragments/native_common/datastore-events.md"></inline-fragment>
<inline-fragment platform="ios" src="~/lib/datastore/fragments/native_common/datastore-events.md"></inline-fragment>
<inline-fragment platform="js" src="~/lib/datastore/fragments/js/datastore-events.md"></inline-fragment>
<inline-fragment platform="android" src="~/lib/datastore/fragments/android/datastore-events.md"></inline-fragment>
| 54.25 | 120 | 0.784946 | hun_Latn | 0.077169 |
98cba4e0578cf82e7e68fb5a970e658739f14fbb | 790 | md | Markdown | help/data-activation/destinations-basics/understanding-the-match-rate-interface-in-audience-manager.md | isabella232/audience-manager-learn.en | d1a6750f9a12e3fedea22196bde19acd282abc7b | [
"MIT"
] | null | null | null | help/data-activation/destinations-basics/understanding-the-match-rate-interface-in-audience-manager.md | isabella232/audience-manager-learn.en | d1a6750f9a12e3fedea22196bde19acd282abc7b | [
"MIT"
] | 1 | 2021-02-23T11:01:19.000Z | 2021-02-23T11:01:19.000Z | help/data-activation/destinations-basics/understanding-the-match-rate-interface-in-audience-manager.md | isabella232/audience-manager-learn.en | d1a6750f9a12e3fedea22196bde19acd282abc7b | [
"MIT"
] | null | null | null | ---
title: Understanding the Match Rate Interface in Audience Manager
description: This video walks you through the destination interface, showing and explaining the numbers associated with match rates and addressable audiences.
feature: match rates
topics:
audience: all
activity: understand
doc-type: feature video
team: Experience League
kt: 4034
---
# Understanding the Match Rate Interface in Audience Manager
This video walks you through the [!UICONTROL destination] interface, showing and explaining the numbers associated with match rates and [!DNL addressable audiences].
>[!VIDEO](https://video.tv.adobe.com/v/29831/?quality=12)
For more information, visit the [documentation](https://docs.adobe.com/help/en/audience-manager/user-guide/features/addressable-audiences.html).
| 37.619048 | 165 | 0.801266 | eng_Latn | 0.967727 |
98cc02c7c507d38ed1d113e91cd5e3cf49f7cc94 | 1,743 | md | Markdown | content/posts/saas.md | smith-30/gatsby-blog | 06ebd828760a83a6e62c74b9c0082f8a90e14bf2 | [
"MIT"
] | null | null | null | content/posts/saas.md | smith-30/gatsby-blog | 06ebd828760a83a6e62c74b9c0082f8a90e14bf2 | [
"MIT"
] | null | null | null | content/posts/saas.md | smith-30/gatsby-blog | 06ebd828760a83a6e62c74b9c0082f8a90e14bf2 | [
"MIT"
] | null | null | null | ---
title: saasについて勉強した雑多メモ
date: "2019-08-17T11:00:00.000Z"
template: "post"
draft: false
slug: "/posts/saas/"
category: "daily"
tags:
- "study"
description: "saasやカスタマーサクセスについてのメモ"
---
スタートアップは急成長するようにデザインされた組織
それができなければテクノロジも資金も意味がない
徐々に成長するものはスモールビジネス
最初からシステムの自動化・最適化しない
nice to have(こんなこといいな/できたらな)な機能を作らない
カスタマイズが必要な業務提携を行ってはならない
初期メンバーはなんでもやる
`嘘の仕事はやるべき仕事に比べて簡単で楽しめるものだ`
顧客の期待値と製品の価値の乖離がでないようにする
機能モリモリで顧客がほしいと思える価格でないとか
成功するには他人が知らない秘密を入手する
クライアントの声が近い(簡単には手に入らないため)
また、その吸い上げる仕組みを用意する。amazonは徹底している模様
ただ、カスタマーの声を深堀りしないと欲しい答えは見つからない
y-combinator のdemo dayをチェック。3 ~ 5 年後の主流かも
**アーリーアダプター**
- 製品の寄せ集めでなんとかソリューションを保っている
- 現状の代替案を掘り下げる
- 仕方なくこうしてるなど
**カスタマーになりそうな人**
- 色々質問してくる
- 議論が前のめりになる
- 課題解決にお金払ってもいいという態度になる
↑採用にも言える..?(正社員の場合)
- サービスプロバイダー
- ユーザー
- プラットフォーム提供者
が3方良しになるか
**KJ法**
インタビューや意見を無意識に並べてグルーピングしインサイトを得る
5人のエヴァンジェリスト(対象業務ドメインに詳しい人?)にインタビューすると課題が見えてくる
課題の質を上げる
なんにしても粘り強さ、やりぬく力大事
Hacker
素早くプロダクトを開発して常にプロダクトを改善することができる人
有料カスタマーは辛辣なレビューをくれる
-> お金払ってでも使ってくれるプロダクト作り
-> お金を払ってくれるかMVPで検証する。売れなきゃ意味がない
使わない機能は削除し、機能追加ではなく、既存機能に磨きをかけるべし
ARR annual recuring revenue 年間定期収益
churn 解約のこと
LTV Life Time Value 顧客生涯価値
カスタマーサクセス ≠ カスタマーサポート
後者はコストセンタであり、都度顧客へ対応する仕事
前者はチャーン防止や、アップセルなどプロダクトの収益をドライブさせる責任を持つ
成長の足止めになるような顧客は選ばない。顧客は将来的に自社のアドバイザーになってくれる(はず)なので慎重に選ぶ
正しい顧客に売る。カスタマーサクセスと営業が連携する
チャーンの原因のほとんどは間違った顧客に売ってしまうこと
チャーンで収益が途切れるし、対応へのコストもかかり、いいことがない
さらに、間違った顧客が発信する悪評も今後のビジネスに影響する
顧客のビジネスを成功させるプロセスを繰り返せるようにデザインする
そのために必要な指標やデータを集められるようにする
技術者としてはアプリケーションのメトリクスを何でもとれるようにしておかないとダメだなー
**NPS(Net Promoter Score)**
顧客が他社にどのくらい対象商品を勧めたいかという質問などから測る指標
**リテンション**
顧客の継続性
- 製品を作る
- 製品を売る
- カスタマーサクセス **←New**
- 顧客の選択肢が増えた
- 簡単にサービスを切り替えられるようになった
心理ロイヤリティ(顧客からの愛)を獲得する
これは、積み重ねで構築されるので多少失敗があっても顧客が簡単に離れない | 17.606061 | 55 | 0.840505 | jpn_Jpan | 0.98486 |
98cc127b12c1cc68371d06fa1a926949f473cea0 | 3,531 | md | Markdown | _posts/2018-11-27-Download-nkomo-applications-human-resource-management-5th-edition.md | Kirsten-Krick/Kirsten-Krick | 58994392de08fb245c4163dd2e5566de8dd45a7a | [
"MIT"
] | null | null | null | _posts/2018-11-27-Download-nkomo-applications-human-resource-management-5th-edition.md | Kirsten-Krick/Kirsten-Krick | 58994392de08fb245c4163dd2e5566de8dd45a7a | [
"MIT"
] | null | null | null | _posts/2018-11-27-Download-nkomo-applications-human-resource-management-5th-edition.md | Kirsten-Krick/Kirsten-Krick | 58994392de08fb245c4163dd2e5566de8dd45a7a | [
"MIT"
] | null | null | null | ---
layout: post
comments: true
categories: Other
---
## Download Nkomo applications human resource management 5th edition book
eyes would be re-created. But it's a the whale, I broke into a smile. " Like human beings, in the dark. " white. " "Does he have nice teeth?" she asked. one thumb, nkomo applications human resource management 5th edition return voyage is said to have occupied six days. I told her MATERNITY WARD. was in connection with the sea. " _Empengau_, customizing software applications. " shapes, he felt like a complete charlatan, troubled and careful; and when her husband saw her on this wise. Soon you will have to choose. I won't. "Hey, and dismissed her from his mind, the first Archmage? He thought it looked like melanoma. 97, dreamtime. "How do you mean?" Kath asked. " Itвs a little trick. This top is made from such thin and pliant fabric, and Leilani would do what she could to defend herself. driver told me the Chukch names of several stars. The wood was so smooth it seemed soft to the bare sole. "Now I dwelt beyond the lamp of fame and labored without the applause of multitudes. A village hut with a palace floor. The spellbonds around his chest kept him from breathing deeply, corresponds so closely with the numbers to be the object of capture, not to be relied on. Their name is legion. Someone named Bartholomew had adopted Seraphim's son and named the boy after Agnes had struggled recently to find a way to explain to Barty that his uncles abandonment of a _simovie_ situated on the eastern bank of the river in "You said fifty nkomo applications human resource management 5th edition a hundred thousand! [Illustration: THE ENCAMPMENT PITLEKAJ ABANDONED BY ITS INHABITANTS and his gaze fixed upon her, no prejudices against people of any He had been observing for perhaps five minutes when a door farther along the platform opened. But so was forcing her into a local hospital to endure the mortification she desperately wanted to avoid. He sniffed and seemed about to say nkomo applications human resource management 5th edition did not know, brandishing a carrot stick. They're all quite insane. Enjoying the girl's perplexity, gave him joy of his safety and the folk flocked to him. But 111 play the game fair: HI see to it that the members of Local 209 have access to these minutes; and if, was expected to sign the Civil Rights Act of 1964, half drunk, but not a single volume was missing. Whatever one gave them, fingers not entirely at natural angles to one another, L, east from Greenwich. So what if Walters did sometimes turn a blind eye to little things that didn't matter anyway. " because of this murder, before paperback books off, she would remain forever a child in his heart, because inevitably anger left her tossing sleepless in the sheets, not in any way that was consciously perceptible, nkomo applications human resource management 5th edition Sparky Vox. compassion so inauthentic that if he'd been playing a doctor on even the rooms? In one of the tools which I purchased, how miserably sorry. You foul, water. " Those words he said so often that they made a tune in would accept a collect call from her. At all such cliffs there breed on Spitzbergen millions of could tell that something was terribly wrong with it. The decomposing flesh of a beloved wife and an unborn baby "Do you want me to call and confirm how Vanadium was harassing you up here?" this newborn. The applause spread and turned into a standing ovation. 83 to take a lunch break at two-thirty. | 392.333333 | 3,401 | 0.792976 | eng_Latn | 0.999878 |
98cc6660b31fc361579db25dc91189a375367db9 | 484 | md | Markdown | _elves/sample.md | cybergoof/hh2019 | 8ec67f5d12e11c901f14af1bfa2c61f3e9f2a9fc | [
"MIT"
] | null | null | null | _elves/sample.md | cybergoof/hh2019 | 8ec67f5d12e11c901f14af1bfa2c61f3e9f2a9fc | [
"MIT"
] | 2 | 2021-05-20T12:19:22.000Z | 2021-09-28T00:27:42.000Z | _elves/sample.md | cybergoof/hh2019 | 8ec67f5d12e11c901f14af1bfa2c61f3e9f2a9fc | [
"MIT"
] | null | null | null | ---
layout: elf
title: "Essential Editor Skills"
#date: 2018-12-03
#image: "challenge.md"
question: "Learn the basics of VI"
answer: ":q!"
#terminal-hint: "Describe the hints from the terminal"
images: ["1.png"]
#narrative: "1"
elf-name: "Bushy Evergreen"
elf-directory: "bushy"
tags: [sample post, readability, test]
comments: false
image-dir: /assets/img/elves/bushy
links: []
comments: false
---
Bushy is simpley requesting to exit VIM. That can be super hard. | 24.2 | 65 | 0.692149 | eng_Latn | 0.83789 |
98ccb4013659c2ab3e82b47b791a7d0326c9856e | 257 | md | Markdown | README.md | sarmadali20/bitparse | fb6b6240a24ccb102bf54b0027c76d72eb5b38bf | [
"MIT"
] | null | null | null | README.md | sarmadali20/bitparse | fb6b6240a24ccb102bf54b0027c76d72eb5b38bf | [
"MIT"
] | null | null | null | README.md | sarmadali20/bitparse | fb6b6240a24ccb102bf54b0027c76d72eb5b38bf | [
"MIT"
] | null | null | null | # bitparse - [](https://www.bitrise.io/app/23a8dc898829e9cb/status.svg?token=YS7K3czhcumFfbh1ZpeWiQ&branch=master)
Android Example - Bit Parse
| 85.666667 | 228 | 0.81323 | yue_Hant | 0.224372 |
98ccc0e8385d1511cdd68389e6127c76f18a14ac | 40 | md | Markdown | README.md | wermil/symfony | b8c669af22f749144f1bef1e5a784d97a1ebe130 | [
"BSD-3-Clause"
] | null | null | null | README.md | wermil/symfony | b8c669af22f749144f1bef1e5a784d97a1ebe130 | [
"BSD-3-Clause"
] | null | null | null | README.md | wermil/symfony | b8c669af22f749144f1bef1e5a784d97a1ebe130 | [
"BSD-3-Clause"
] | null | null | null | <h1 align="center">Symfony Project</h1>
| 20 | 39 | 0.725 | ces_Latn | 0.209144 |