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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
145a242047ccace4a0af5fe80fcd0f44b00906fa | 2,521 | md | Markdown | docs/relational-databases/system-dynamic-management-views/sys-dm-exec-compute-nodes-transact-sql.md | gmilani/sql-docs.pt-br | 02f07ca69eae8435cefd74616a8b00f09c4d4f99 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/relational-databases/system-dynamic-management-views/sys-dm-exec-compute-nodes-transact-sql.md | gmilani/sql-docs.pt-br | 02f07ca69eae8435cefd74616a8b00f09c4d4f99 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/relational-databases/system-dynamic-management-views/sys-dm-exec-compute-nodes-transact-sql.md | gmilani/sql-docs.pt-br | 02f07ca69eae8435cefd74616a8b00f09c4d4f99 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: sys.dm_exec_compute_nodes (Transact-SQL) | Microsoft Docs
ms.custom: ''
ms.date: 03/15/2017
ms.prod: sql
ms.prod_service: database-engine, sql-data-warehouse, pdw
ms.reviewer: ''
ms.technology: system-objects
ms.topic: language-reference
f1_keywords:
- DM_EXEC_COMPUTE_NODES_TSQL
- DM_EXEC_COMPUTE_NODES
- SYS.DM_EXEC_COMPUTE_NODES_TSQL
dev_langs:
- TSQL
helpviewer_keywords:
- sys.dm_exec_compute_nodes management view
- PolyBase, views
- PolyBase management views
- dm_exec_compute_nodes management view
ms.assetid: 0de4b7a4-401f-4e2d-9ab0-c54587e05154
author: stevestein
ms.author: sstein
monikerRange: '>=aps-pdw-2016||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current'
ms.openlocfilehash: 44664805dc9b728ecbd48acbf38c4565601c631a
ms.sourcegitcommit: 4c7151f9f3f341f8eae70cb2945f3732ddba54af
ms.translationtype: MT
ms.contentlocale: pt-BR
ms.lasthandoff: 09/27/2019
ms.locfileid: "71326143"
---
# <a name="sysdm_exec_compute_nodes-transact-sql"></a>sys.dm_exec_compute_nodes (Transact-SQL)
[!INCLUDE[tsql-appliesto-ss2016-xxxx-asdw-pdw-md](../../includes/tsql-appliesto-ss2016-xxxx-asdw-pdw-md.md)]
Contém informações sobre os nós usados com o gerenciamento de dados do polybase. Ele lista uma linha por nó.
Use essa DMV para ver a lista de todos os nós no cluster de expansão com sua função, o nome e o endereço IP.
|Nome da coluna|Tipo de dados|Descrição|Intervalo|
|-----------------|---------------|-----------------|-----------|
|compute_node_id|**int**|ID numérica exclusiva associada ao nó. Chave para esta exibição.|Exclusivo entre o cluster de escala horizontal, independentemente do tipo.|
|type|**nvarchar(32)**|Tipo do nó.|"COMPUTE", "HEAD"|
|name|**nvarchar(32)**|Nome lógico do nó.|Qualquer cadeia de caracteres de comprimento apropriado.|
|address|**nvarchar(32)**|Endereço IP deste nó.|Intervalo de endereços IP|
## <a name="see-also"></a>Consulte também
[Solução de problemas do polybase com exibições de gerenciamento dinâmico](https://msdn.microsoft.com/library/ce9078b7-a750-4f47-b23e-90b83b783d80)
[Exibições e funções de gerenciamento dinâmico (Transact-SQL)](~/relational-databases/system-dynamic-management-views/system-dynamic-management-views.md)
[Exibições (de gerenciamento dinâmico relacionadas ao banco de dados TRANSACT-SQL)](../../relational-databases/system-dynamic-management-views/database-related-dynamic-management-views-transact-sql.md)
| 48.480769 | 212 | 0.759619 | por_Latn | 0.616468 |
145ac3779241f2e4c2cb057e5c6c68b60ed83a33 | 537 | md | Markdown | catalog/edo-no-tamamono/en-US_edo-no-tamamono.md | htron-dev/baka-db | cb6e907a5c53113275da271631698cd3b35c9589 | [
"MIT"
] | 3 | 2021-08-12T20:02:29.000Z | 2021-09-05T05:03:32.000Z | catalog/edo-no-tamamono/en-US_edo-no-tamamono.md | zzhenryquezz/baka-db | da8f54a87191a53a7fca54b0775b3c00f99d2531 | [
"MIT"
] | 8 | 2021-07-20T00:44:48.000Z | 2021-09-22T18:44:04.000Z | catalog/edo-no-tamamono/en-US_edo-no-tamamono.md | zzhenryquezz/baka-db | da8f54a87191a53a7fca54b0775b3c00f99d2531 | [
"MIT"
] | 2 | 2021-07-19T01:38:25.000Z | 2021-07-29T08:10:29.000Z | # Edo no Tamamono

- **type**: manga
- **volumes**: 1
- **chapters**: 9
- **original-name**: 江戸のたまもの
- **start-date**: 2013-09-20
- **end-date**: 2013-09-20
## Tags
- historical
- seinen
## Authors
- Masahara
- Kouichi (Story & Art)
## Sinopse
1. Kanzashi
2. Choubikei
3. Menboku
4. Kappa
5. Sobakiri
6. Ominaeshi
7. Honkai
8. Kataguruma
9. Oyakozake
## Links
- [My Anime list](https://myanimelist.net/manga/123057/Edo_no_Tamamono)
| 14.513514 | 73 | 0.640596 | kor_Hang | 0.086006 |
145c8ef0d1908a98f6a49abd3f34081f83d312e1 | 1,749 | md | Markdown | catalog/choujuu-densetsu-gestalt/en-US_choujuu-densetsu-gestalt-ova.md | htron-dev/baka-db | cb6e907a5c53113275da271631698cd3b35c9589 | [
"MIT"
] | 3 | 2021-08-12T20:02:29.000Z | 2021-09-05T05:03:32.000Z | catalog/choujuu-densetsu-gestalt/en-US_choujuu-densetsu-gestalt-ova.md | zzhenryquezz/baka-db | da8f54a87191a53a7fca54b0775b3c00f99d2531 | [
"MIT"
] | 8 | 2021-07-20T00:44:48.000Z | 2021-09-22T18:44:04.000Z | catalog/choujuu-densetsu-gestalt/en-US_choujuu-densetsu-gestalt-ova.md | zzhenryquezz/baka-db | da8f54a87191a53a7fca54b0775b3c00f99d2531 | [
"MIT"
] | 2 | 2021-07-19T01:38:25.000Z | 2021-07-29T08:10:29.000Z | # Choujuu Densetsu Gestalt

- **type**: ova
- **episodes**: 2
- **original-name**: 超獣伝説ゲシュタルト
- **start-date**: 1997-01-22
- **end-date**: 1997-01-22
- **ending-song**: "Get up, Right now" by Yuzuru Oka
- **rating**: PG-13 - Teens 13 or older
## Tags
- adventure
- comedy
- fantasy
## Sinopse
The story circulates around a mysterious and dangerous island referred to simply as "G". A long time ago, a powerful god named Gestalt was banished to the earth and he had found refuge in the island known as G. To utter the name for which it stands is forbidden, for people were so afraid of the wrath of the god that they considered his name a curse. Father Oliver is a priest who has left his order and traveled to the island of G in order to discover the truth behind it. He ends up making the acquaintance of a young girl named Ohri, who turns out to be quite adept in magic.
Meanwhile, the head of the order has hired a dark elf named, Suzu, to track down Oliver and bring him back. Suzu finds him easily enough. However, she hadn't anticipated the powerful sorceress in his company, Ohri. The girl disposes of Suzu for the moment, and she and the Father continue on. As if things weren't rough enough, the island of G has it's share of monsters and magic-users to get in the way of their travels.
(Source: Wikipedia)
## Links
- [My Anime list](https://myanimelist.net/anime/1283/Choujuu_Densetsu_Gestalt)
- [AnimeDB](http://anidb.info/perl-bin/animedb.pl?show=anime&aid=597)
- [AnimeNewsNetwork](http://www.animenewsnetwork.com/encyclopedia/anime.php?id=952)
- [Wikipedia](https://en.wikipedia.org/wiki/Gestalt_%28manga%29#OVA)
| 53 | 579 | 0.737564 | eng_Latn | 0.993741 |
145caaf81633b159db4c24a92b3f54b04b7145f3 | 2,795 | md | Markdown | README.md | kristapsPelna/react-advertising | 1a29bbc4505dec78455831d9c34b0cde4c5b5609 | [
"MIT"
] | 22 | 2018-05-07T01:54:10.000Z | 2020-05-23T00:36:12.000Z | README.md | kristapsPelna/react-advertising | 1a29bbc4505dec78455831d9c34b0cde4c5b5609 | [
"MIT"
] | 32 | 2020-09-21T01:42:05.000Z | 2022-03-10T07:40:53.000Z | README.md | kristapsPelna/react-advertising | 1a29bbc4505dec78455831d9c34b0cde4c5b5609 | [
"MIT"
] | 12 | 2020-09-14T16:50:31.000Z | 2022-02-24T08:55:35.000Z | 
# react-advertising
A JavaScript library for display ads in [React](https://reactjs.org)
applications.
**Integrate ads in your app the “React way”: by adding ad components to your JSX
layout!**
- One central configuration file for all your Google Publisher Tags and Prebid
placements (Prebid is optional)
- One provider component that handles all the “plumbing” with _googletag_ and
_pbjs_, nicely hidden away
- Ad slot components that get filled with creatives from the ad server when they
mount to the DOM
- Works well in single page applications with multiple routes
- Suitable for server-side-rendering
- Supports lazy loading, even for Prebid ads, individually configurable per ad
slot
[](https://github.com/eBayClassifiedsGroup/react-advertising/actions/workflows/ci.yml)[](https://coveralls.io/github/eBayClassifiedsGroup/react-advertising?branch=master)
## Prerequisites
To use it, you need to have a [Google Ad Manager](https://admanager.google.com/)
account set up to deliver display ads through
[Google Publisher Tags](https://developers.google.com/publisher-tag/guides/get-started)
(GPT).
Optionally, _react-advertising_ supports use of real-time header bidding with
[Prebid](http://prebid.org/overview/intro.html).
## Demo
You can view a demo of this library online on _CodeSandbox_:
- [https://codesandbox.io/s/gptprebid-npmes6-k5czp](https://codesandbox.io/s/gptprebid-npmes6-k5czp)
The demo uses the same test Prebid configuration as the
[code examples from the official documentation](http://prebid.org/dev-docs/examples/basic-example.html).
## Documentation
You can find documentation on how to use this library in the project's wiki:
- [Usage](https://github.com/eBayClassifiedsGroup/react-advertising/wiki/Usage)
- [Usage with Prebid](https://github.com/eBayClassifiedsGroup/react-advertising/wiki/Usage-with-Prebid)
- [Internet Explorer 11 Compatibility](https://github.com/eBayClassifiedsGroup/react-advertising/wiki/Internet-Explorer-11-Compatibility)
- [Advanced Usage](https://github.com/eBayClassifiedsGroup/react-advertising/wiki/Advanced-Usage)
- [API](https://github.com/eBayClassifiedsGroup/react-advertising/wiki/API)
- [Configuration](https://github.com/eBayClassifiedsGroup/react-advertising/wiki/Configuration)
- [Custom Events](https://github.com/eBayClassifiedsGroup/react-advertising/wiki/Custom-Events)
- [Plugins](https://github.com/eBayClassifiedsGroup/react-advertising/wiki/Plugins)
## License
[MIT licensed](LICENSE)
Copyright © 2018-2021 mobile.de GmbH
| 45.819672 | 387 | 0.792844 | eng_Latn | 0.387738 |
145dc3318a176770cd34637175b6440f86c2e869 | 137 | md | Markdown | docs/en/index.md | mak001/silverstripe-data-to-arraylist | a5aa94271be2198d37ecffeec94bf9458700b03f | [
"BSD-3-Clause"
] | 2 | 2016-08-02T20:24:04.000Z | 2016-08-02T20:25:18.000Z | docs/en/index.md | mak001/silverstripe-data-to-arraylist | a5aa94271be2198d37ecffeec94bf9458700b03f | [
"BSD-3-Clause"
] | 2 | 2017-01-25T21:59:47.000Z | 2019-09-21T18:11:13.000Z | docs/en/index.md | mak001/silverstripe-data-to-arraylist | a5aa94271be2198d37ecffeec94bf9458700b03f | [
"BSD-3-Clause"
] | 6 | 2016-10-01T07:13:16.000Z | 2019-03-19T03:28:09.000Z | # data-to-arraylist
A helper class that converts DataList to ArrayList and allows adding of additional sort options
## Getting started
| 22.833333 | 95 | 0.80292 | eng_Latn | 0.996688 |
145e22434cc14905956fe3949041c1d02f0c93dd | 410 | md | Markdown | README.md | AIS05/hangman | d54b93a045b8111fb224a2d07f62ea57b98527da | [
"Unlicense"
] | null | null | null | README.md | AIS05/hangman | d54b93a045b8111fb224a2d07f62ea57b98527da | [
"Unlicense"
] | null | null | null | README.md | AIS05/hangman | d54b93a045b8111fb224a2d07f62ea57b98527da | [
"Unlicense"
] | null | null | null | # hangman
(School Project)
[](https://deepsource.io/gh/AIS05/hangman/?ref=repository-badge)
[](https://deepsource.io/gh/AIS05/hangman/?ref=repository-badge)
| 68.333333 | 191 | 0.790244 | yue_Hant | 0.481187 |
145e240c06deff2283d8c8d6c4735cdef834d812 | 110 | md | Markdown | README.md | spoese/Text-Predict | cf53ee8c43a5577cf79f102e1a8075797d5e6483 | [
"MIT"
] | null | null | null | README.md | spoese/Text-Predict | cf53ee8c43a5577cf79f102e1a8075797d5e6483 | [
"MIT"
] | null | null | null | README.md | spoese/Text-Predict | cf53ee8c43a5577cf79f102e1a8075797d5e6483 | [
"MIT"
] | null | null | null | # Text-Predict
Shiny app that predicts the next word in a phrase and gives the user some other likely choices. | 55 | 95 | 0.8 | eng_Latn | 0.99989 |
145f12e0dfbf1416431a041e5f360d4f9a2bbf18 | 1,597 | md | Markdown | config/README.md | brightbox/brightbox-cloud-controller-manager | f0316e0581e01b8e1a24828c5ee4f5903e09ba33 | [
"Apache-2.0"
] | 5 | 2018-06-28T08:14:29.000Z | 2020-08-28T14:08:32.000Z | config/README.md | brightbox/brightbox-cloud-controller-manager | f0316e0581e01b8e1a24828c5ee4f5903e09ba33 | [
"Apache-2.0"
] | null | null | null | config/README.md | brightbox/brightbox-cloud-controller-manager | f0316e0581e01b8e1a24828c5ee4f5903e09ba33 | [
"Apache-2.0"
] | 3 | 2018-06-08T09:45:35.000Z | 2019-10-07T09:51:05.000Z | # Running the Cloud Controller on a Cluster
## Intro
As well as directly in the master node, the cloud controller can be run
as a Daemonset within the `kube-system` namespace.
The [YAML file](cloud-controller.yml) within this directory is the latest recommended
configuration to use on Kubernetes.
By far the easiest way to get the Brightbox cloud controller running on
a k8s cluster is to [create a new one](https://www.brightbox.com/docs/guides/kubernetes/deploy-kubernetes-on-brightbox-cloud/).
## Create Secrets
To use the configuration, first create a secret config map containing
the Brightbox credentials. You can get a
[suitable api client from the Brightbox Manager](https://www.brightbox.com/docs/guides/manager/api-clients/)
```
$ kubectl -n kube-system create secret generic brightbox-cloud-controller \
'--from-literal=controller-client=cli-xxxxx' \
'--from-literal=controller-client-secret=my_secret' \
'--from-literal=apiurl=https://api.gb1.brightbox.com'
```
## Running the config
- Ensure your cluster is running with the [cloud provider switches set to external](https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/#administration)
- Put the YAML file somewhere where kubectl can see it.
- Edit the file and make sure that the server path in `cloud-controller.conf` points to your k8s apiserver, and the version number of the cloud-controller docker image is what you want to run
- Run `kubectl apply -f <your_file_path>.yml`
This will run the cloud-controller on all your master nodes, with one
of them electing itself as the leader.
| 48.393939 | 191 | 0.777708 | eng_Latn | 0.978799 |
145f338c43646741d2fcfac78558fc8577b35d70 | 3,164 | md | Markdown | controls/radchart/legend-control/legendcontrol-unboundmode.md | telerik/uwp-docs | 59ded5c5b7abe2ffeee9e851575776aee5417c36 | [
"MIT",
"Unlicense"
] | 10 | 2017-02-14T07:19:09.000Z | 2021-06-11T13:28:28.000Z | controls/radchart/legend-control/legendcontrol-unboundmode.md | telerik/uwp-docs | 59ded5c5b7abe2ffeee9e851575776aee5417c36 | [
"MIT",
"Unlicense"
] | 9 | 2017-06-12T14:40:04.000Z | 2020-05-20T13:23:50.000Z | controls/radchart/legend-control/legendcontrol-unboundmode.md | telerik/uwp-docs | 59ded5c5b7abe2ffeee9e851575776aee5417c36 | [
"MIT",
"Unlicense"
] | 11 | 2017-10-19T16:22:40.000Z | 2021-12-02T16:11:15.000Z | ---
title: Implement a Legend Control in Unbound Mode
page_title: Implement a Legend Control in Unbound Mode
description: Check our "Implement a Legend Control in Unbound Mode" documentation article for RadChart for UWP control.
slug: radchart-legendcontrol-unboundmode
tags: implement,a,legend,control,in,unbound,mode
published: True
position: 4
---
# Implement a Legend Control in Unbound Mode
The **RadLegendControl** allows a complete customization of the legend items - if you don’t want the content of the
legend to be bound to a chart, then you can specify the items explicitly by adding **LegendItem** items to the **LegendItems** collection.
## Example
The following example demonstrates how to implement a **RadLegendControl** for a **BarSeries** in unbound mode:

1. First, create a class that will represent a single **DataPoint**:
public class CustomPoint
{
public double Value { get; set; }
public string Category { get; set; }
}
1. Then, create a **ViewModel** class to hold a collection of points:
public class ViewModel
{
public ViewModel()
{
this.SeriesData = new List<CustomPoint>()
{
new CustomPoint { Category = "Dogs", Value = 10 },
new CustomPoint { Category = "Cats", Value = 14 },
new CustomPoint { Category = "Birds", Value = 5 },
};
}
public List<CustomPoint> SeriesData { get; set; }
}
1. Create the **RadCartesianChart** in XAML:
<telerikChart:RadCartesianChart PaletteName="DefaultDark" Width="200" Height="200">
<telerikChart:RadCartesianChart.DataContext>
<local:ViewModel/>
</telerikChart:RadCartesianChart.DataContext>
<telerikChart:BarSeries ItemsSource="{Binding SeriesData}" PaletteMode="DataPoint">
<telerikChart:BarSeries.HorizontalAxis>
<telerikChart:CategoricalAxis/>
</telerikChart:BarSeries.HorizontalAxis>
<telerikChart:BarSeries.VerticalAxis>
<telerikChart:LinearAxis/>
</telerikChart:BarSeries.VerticalAxis>
<telerikChart:BarSeries.CategoryBinding>
<telerikChart:PropertyNameDataPointBinding PropertyName="Category"/>
</telerikChart:BarSeries.CategoryBinding>
<telerikChart:BarSeries.ValueBinding>
<telerikChart:PropertyNameDataPointBinding PropertyName="Value"/>
</telerikChart:BarSeries.ValueBinding>
</telerikChart:BarSeries>
</telerikChart:RadCartesianChart>
1. Finally, create the **RadLegendControl** using XAML specifying each legend item independently of the chart.
<telerikPrimitives:RadLegendControl>
<telerikPrimitives:RadLegendControl.LegendItems>
<telerikPrimitives:LegendItem Fill="#1E98E4" Stroke="#1E98E4" Title="Dogs"/>
<telerikPrimitives:LegendItem Fill="#FFC500" Stroke="#FFC500" Title="Cats"/>
<telerikPrimitives:LegendItem Fill="#FF2A00" Stroke="#FF2A00" Title="Birds"/>
</telerikPrimitives:RadLegendControl.LegendItems>
</telerikPrimitives:RadLegendControl>
| 40.050633 | 138 | 0.70354 | kor_Hang | 0.285993 |
145f4db5b18b3eb52cd7cf72d440f03ca55e96ee | 14,651 | md | Markdown | src/content/lesson/bootstrap-tutorial-of-bootstrap-4.es.md | Carlosbrit/content | 1d40cfc0b450d93d9593c39f4ca0f0046e767e78 | [
"MIT"
] | null | null | null | src/content/lesson/bootstrap-tutorial-of-bootstrap-4.es.md | Carlosbrit/content | 1d40cfc0b450d93d9593c39f4ca0f0046e767e78 | [
"MIT"
] | null | null | null | src/content/lesson/bootstrap-tutorial-of-bootstrap-4.es.md | Carlosbrit/content | 1d40cfc0b450d93d9593c39f4ca0f0046e767e78 | [
"MIT"
] | null | null | null | ---
title: "Tutorial de Bootstrap: Aprende Bootstrap 4 en 10 minutos"
subtitle: "¡Después de decadas de lucha, la luz ha llegado! Con este tutorial de Bootstrap, diseñar un sitio web va a ser pan comido. Es absurdo, y casi imposible, pensar en hacer un sitio web sin un framework de CSS como Bootstrap."
cover_local: "../../assets/images/4cc6fa0b-2530-4052-aa7e-8dac03788ac3.png"
textColor: "white"
date: "2020-10-19T16:36:30+00:00"
tags: ["bootstrap"]
status: "published"
---
## Bootstrap viene a arreglar el 90% de los problemas de CSS
Hay una luz al final del túnel y no es Chuck Norris con una linterna. ¡Finalmente alguien arregló CSS! Es una biblioteca hecha por [Mark Otto](https://twitter.com/mdo?lang=en) y [Jacob Thornton](https://twitter.com/fat)- personas normales, programadores como tú y como yo, y ¡es genial!
Dos chicos, mientras trabajaban en Twitter, estaban sufriendo los mismos problemas que nosotros con HTML y CSS. Hartos de esta situación (como tú y yo), decidieron crear una **hoja base que puede importarse en cualquier sitio web**. Esto hizo el trabajo de todos los desarrolladores front-end 4 veces más fácil.

Además, Bootstrap te da una gran cantidad de elementos nuevos que vas a querer usar siempre y que actualmente no existen en CSS+HTML: Los componentes de Bootstrap.
## Layouts: Solucionado el modelo de cajas
Uno de los defectos en CSS, es la forma en que funcionan los layouts: trabajar con **float**, **display** y **position** ¡es lo peor! Así es como Bootstrap lo soluciona:
## Ahora todo está dividido en Filas y Columnas
Los creadores de Bootstrap, replicaron el mismo concepto que tienen las `<tables>`, pero en vez de usar tablas usaron `<div>` (contenedores de cajas). Ellos no podían crear sus propias etiquetas en HTML, porque eso requiere una nueva versión de HTML e iba a hacer a Bootstrap incompatible con los navegadores actuales. Las etiquetas debían ser las mismas - por eso decidieron anular el comportamiento que tiene un `<div>` por defecto con las clases.
```html
Esto es una fila: <div class="row">
Esto es una columna: <div class"col–sm–x">
```

Bootstrap ha dividido el ancho de la pantalla en `12 slots` (espacios) - cada uno de ellos con un ancho de fila total de 8.33%. El tamaño de una columna, puede ir de entre 1 y 12 slots o espacios.
Por otro lado, las columnas fueron hechas para vivir dentro de las filas (como pasa entre `<td>` y `<tr>`), siempre necesitas abrir una fila antes de abrir una columna. Todas las columnas en una fila deben sumar un máximo de 12 espacios.

## Nuestro primer ejemplo de diseño:
Tal cual como lo hicimos en el capítulo sobre diseños, vamos a crear una página con dos grandes secciones, una barra lateral a la derecha y un contenido principal a la izquierda:
<iframe width="100%" height="300" src="//jsfiddle.net/BreatheCode/th7uLrow/4/embedded/html,css,result/" allowfullscreen="allowfullscreen" allowpaymentrequest frameborder="0"></iframe>
<div align="right"><small><a href="//jsfiddle.net/BreatheCode/th7uLrow/4/embedded/html,css,result/">Click aquí para ver el demo en una ventana nueva</a></small></div>
## Bootstrap es 100% adaptable
Es muy fácil decidir como se verá tu página web en pantallas de diferente tamaño; cuando añades cada columna dentro de las filas, debes asignar una clase con el siguiente formato:
```html
<div class="col–md–x">
```
|**Col** |**md** |**x**
|:---------|:--------|:----|
|Significa que este elemento debe comportarse como una columna de Bootstrap. |Significa que estoy especificando sólo para dispositivos con tamaño de pantalla mediano. |Especifica cuantos espacios quiero que abarque la columna (recuerda que puede abarcar max 12 espacios por fila). |
> :point_up:Bootstrap device sizes: |Smartphones |Big-phone/small-tablet |Tablets |Desktops |Extra-large desktops |
|:----------|:---------------|:-------------|:-----------|:------------|:---------|
| |Nothing |sm |md |lg |xl |
> :point_up: Nota: si no especificas el tamaño de pantalla (ej. usando 'sm', 'md', or 'xl'), el sitio web va a renderizar para teléfonos móviles por defecto.
## Define móvil, tablet y escritorio/sobremesa (Desktop) al mismo tiempo
Vamos a configurar el diseño (usando las clases de columnas xs, sm, md y lg) para estas dos filas en todos los dispositivos al mismo tiempo:

```html
<!-- Apila las columnas en el móvil ocupando el ancho completo y el otro medio ancho -->
<div class="row">
<div class="col-12 col-md-8">.col-12 .col-md-8</div>
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
</div>
<!-- Las columnas comienzan en un 50% de ancho en dispositivos móviles y alcanzan hasta un 33,3% de ancho en el Desktops -->
<div class="row">
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
</div>
<!-- Las columnas son siempre del 50% de ancho, en dispositivos móviles y de Desktops -->
<div class="row">
<div class="col-6">.col-6</div>
<div class="col-6">.col-6</div>
</div>
```
## Estructura básica de Bootstrap 4
Ya sabemos sobre el esqueleto basico de HTML5 que todo sitio web debe tener. Ahora solo debes agregar unas lineas en tu esqueleto para hacerlo compatible con Bootstrap:
```html
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<title>¡Hola, mundo!</title>
</head>
<body>
<h1>¡Hola, mundo!</h1>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
</body>
</html>
```
Recuerda, Bootstrap es solo una hoja de estilos. Es por eso que es muy simple agregarlo a tu sitio web. Utiliza el `<link>` tag para incluir los estilos, y si quieres para usar la etiqueta de javascript `<script>` y así incluir los archivos de javascript de Bootstrap.
La funcionalidad de Javascript en Bootstrap requiere que se incluyean las librerias propias de jQuery y Javascript primero pero no te preocupes por esto aún. Sólo incluye las librerias de JS usando la etiqueta script y más adelante lo entenderás.
> :link: Encuentra aquí [increíbles archivos de Bootstrap para que puedas empezar.](https://getbootstrap.com/docs/4.0/getting-started/introduction/)
## Componentes de Bootstrap 4
HTML es súper básico, sólo tiene un par de etiquetas - ya los sabíamos. Pero cuando revisas la web hoy en día, ves otra cosa… actualmente las páginas web tienen menús, iconos, barras de carga, etc. ¿Dónde están esas etiquetas? ¡Ninguna de ellas está definida en HTML!
Todos los desarrolladores tienen que simular estos elementos adicionales cada vez que crean un sitio web, tienen que hacer todo desde cero y eso toma muchísimo tiempo.
Cuando importas Bootstrap en tu página web, tendrás un nuevo conjunto de componentes a tu disposición. Esta es una pequeña parte de esos elementos:

### Estos son los componentes más usados e importantes de Bootstrap:
#### Barra de navegación o NavBar
Esto es tan popular que se encuentra en el 99% de los menús de todos los sitios web. Normalmente contiene el logo de la compañia y una series de links - dependiendo de la lógica de negocio de la página.
Aquí hay un ejemplo de como se ve un NavBar en un sitio web:

> :link:[**Lee más sobre el "NavBar" aquí**](https://getbootstrap.com/docs/4.0/components/navbar/)
```html
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="#">Website Brand</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="#">
<a class="btn btn-success">Create a new post</a>
</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Settings
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</li>
</ul>
</div>
</div>
</nav>
```
#### Card
Este es probablemente el componente de Bootstrap más usado, cada sitio web tiene unas cuantas "Card" porque es ideal para listar objetos de una forma bonita. Algunos ejemplos del uso de "Card" pueden ser:
+ La sección de "equipo" de un sitio web donde listas los distintos empleados.
+ Un típico muro de Pinterest.
+ Cualquier historia de una red social como Instagram, Facebook, twitter, etc.
Aquí hay un ejemplo de como puede verse un sitio web con una "Card":

> :link: [**Lee más sobre la "Card" aquí**](https://getbootstrap.com/docs/4.0/components/card/)
```html
<div class="card" style="width: 20rem;">
<img class="card-img-top" src="..." alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Card title</h4>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
```
#### El Modal
Todo el mundo odia el modal, es dmuy molesto, ¡siempre pregunta si te quieres incribir a una revista! 🙂
Así es como se ve modal por defecto con Bootstrap.

> :link:[**Lee más sobre el "Modal" aquí**](https://getbootstrap.com/docs/4.0/components/modal/)
```html
div class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Modal body text goes here.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary">Save changes</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
```
> :point_up: Importante! El Modal necesita Javascript para poder funcionar. Recuerda incluir los archivos de Javascript necesarios en el típico esqueleto de Bootstrap: jQuery, Popper and Bootstrap.js
## Lo que realmente necesitas saber sobre Bootstrap
La documentación oficial de Bootstrap es increible!! No necesitamos copiar y pegar todos los post. Por favor visita los siguientes sitios web y enfócate en leer estos temas:
+ [The grid system.](https://getbootstrap.com/docs/4.1/layout/grid/)
+ [Styling Forms.](https://getbootstrap.com/docs/4.1/components/forms/)
+ [List of components available to use on your website.](https://getbootstrap.com/docs/4.1/components/alerts/)
+ [Utilities or Helper classes:](https://getbootstrap.com/docs/4.1/utilities/borders/) Very useful and constantly used classes to do stuff like centering the text, centering a column or container, adding a background, etc.
| :point_up : Versiones de Bootstrap y su descarga:
Bootstrap tiene varias versiones, siempre verifica que estés usando la última versión de Bootstrap en tu proyecto. Aquí podrás encontrar todas las versiones disponibles:[https://getbootstrap.com/docs/versions/](https://getbootstrap.com/docs/versions/).
Te recomendamos que uses el CDN para importar bootstrap en tu archivo HTML, de este modo: [https://www.bootstrapcdn.com/](https://www.bootstrapcdn.com/)
Si estás migrando tu proyecto a nueva versión de Bootstrap, recuerda siempre verificar su documentación.
## Gana RE2PECT.
El éxito no llega de la noche a la mañana. Este es tu primer logro. Déjame pregunterte ¿te sientes capaz de usar HTML, CSS, Layouts y Bootstrap? ¡No te mientas!
No más Lecciones sobre este tema - es momento de entregar. Es hora de enfocarse en el proyecto de clase. Recuerda honrar los valores de los desarrolladores. Calma.
<iframe src="https://www.youtube.com/embed/RqHNyyvfafE" frameborder="0" allowfullscreen></iframe>
<div align="right"><small><a href="https://www.youtube.com/embed/RqHNyyvfafE">Click here to open video in new window</a></small></div>
| 49 | 449 | 0.696881 | spa_Latn | 0.924798 |
145f8a94193736172eb8cffd11466cd962d0b224 | 4,600 | md | Markdown | desktop-src/DMWmiBridgeProv/mdm-devicestatus-cellularidentities01-01.md | citelao/win32 | bf61803ccb0071d99eee158c7416b9270a83b3e4 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2022-03-18T02:46:08.000Z | 2022-03-18T03:19:15.000Z | desktop-src/DMWmiBridgeProv/mdm-devicestatus-cellularidentities01-01.md | citelao/win32 | bf61803ccb0071d99eee158c7416b9270a83b3e4 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | desktop-src/DMWmiBridgeProv/mdm-devicestatus-cellularidentities01-01.md | citelao/win32 | bf61803ccb0071d99eee158c7416b9270a83b3e4 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: MDM_DeviceStatus_CellularIdentities01_01 class
description: The MDM\_DeviceStatus\_CellularIdentities01\_01 class allows you to query whether device are in compliance with enterprise encryption policy.
ms.assetid: e117ff72-48c0-4b25-8b09-c096851c18ac
keywords:
- MDM_DeviceStatus_CellularIdentities01_01 class
- MDM_DeviceStatus_CellularIdentities01_01 class, described
topic_type:
- apiref
api_name:
- MDM_DeviceStatus_CellularIdentities01_01
- MDM_DeviceStatus_CellularIdentities01_01.InstanceID
- MDM_DeviceStatus_CellularIdentities01_01.ParentID
api_location:
- DMWmiBridgeProv.dll
api_type:
- DllExport
ms.topic: reference
ms.date: 05/31/2018
---
# MDM\_DeviceStatus\_CellularIdentities01\_01 class
\[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.\]
The **MDM\_DeviceStatus\_CellularIdentities01\_01** class allows you to query whether device are in compliance with enterprise encryption policy.
The following syntax is simplified from MOF code and includes all inherited properties.
## Syntax
``` syntax
[InPartition("local-system"), dynamic, provider("DMWmiBridgeProv")]
class MDM_DeviceStatus_CellularIdentities01_01
{
string InstanceID;
string ParentID;
string IMSI;
string ICCID;
string PhoneNumber;
string CommercializationOperator;
boolean RoamingStatus;
boolean RoamingCompliance;
};
```
## Members
The **MDM\_DeviceStatus\_CellularIdentities01\_01** class has these types of members:
- [Properties](#properties)
### Properties
The **MDM\_DeviceStatus\_CellularIdentities01\_01** class has these properties.
<dl> <dt>
[CommercializationOperator](/windows/client-management/mdm/devicestatus-csp#devicestatus-cellularidentities-imei-commercializationoperator)
</dt> <dd> <dl> <dt>
Data type: **string**
</dt> <dt>
Access type: Read/write
</dt> </dl>
</dd> <dt>
[ICCID](/windows/client-management/mdm/devicestatus-csp#devicestatus-cellularidentities-imei-iccid)
</dt> <dd> <dl> <dt>
Data type: **string**
</dt> <dt>
Access type: Read/write
</dt> </dl>
</dd> <dt>
[IMSI](/windows/client-management/mdm/devicestatus-csp#devicestatus-cellularidentities-imei-imsi)
</dt> <dd> <dl> <dt>
Data type: **string**
</dt> <dt>
Access type: Read/write
</dt> </dl>
</dd> <dt>
**InstanceID**
</dt> <dd> <dl> <dt>
Data type: **string**
</dt> <dt>
Access type: Read-only
</dt> <dt>
Qualifiers: [**key**](/windows/desktop/WmiSdk/key-qualifier)
</dt> </dl>
Node for queries on SIM cards.
</dd> <dt>
**ParentID**
</dt> <dd> <dl> <dt>
Data type: **string**
</dt> <dt>
Access type: Read-only
</dt> <dt>
Qualifiers: [**key**](/windows/desktop/WmiSdk/key-qualifier)
</dt> </dl>
Describes the full path to the parent node. For this class, the string is "./Vendor/MSFT/DeviceStatus"
</dd> <dt>
[PhoneNumber](/windows/client-management/mdm/devicestatus-csp#devicestatus-cellularidentities-imei-phonenumber)
</dt> <dd> <dl> <dt>
Data type: **string**
</dt> <dt>
Access type: Read/write
</dt> </dl>
</dd> <dt>
[RoamingCompliance](/windows/client-management/mdm/devicestatus-csp#devicestatus-cellularidentities-imei-roamingcompliance)
</dt> <dd> <dl> <dt>
Data type: **boolean**
</dt> <dt>
Access type: Read/write
</dt> </dl>
</dd> <dt>
[RoamingStatus](/windows/client-management/mdm/devicestatus-csp#devicestatus-cellularidentities-imei-roamingstatus)
</dt> <dd> <dl> <dt>
Data type: **boolean**
</dt> <dt>
Access type: Read/write
</dt> </dl>
</dd> </dl>
## Requirements
| | |
|-------------------------------------|------------------------------------------------------------------------------------------------|
| Minimum supported client<br/> | Windows 10 \[desktop apps only\]<br/> |
| Minimum supported server<br/> | None supported<br/> |
| Namespace<br/> | Root\\cimv2\\mdm\\dmmap<br/> |
| MOF<br/> | <dl> <dt>DMWmiBridgeProv.mof</dt> </dl> |
| DLL<br/> | <dl> <dt>DMWmiBridgeProv.dll</dt> </dl> |
## See also
<dl> <dt>
[Using PowerShell scripting with the WMI Bridge Provider](/windows/client-management/mdm/using-powershell-scripting-with-the-wmi-bridge-provider)
</dt> </dl>
| 25.555556 | 221 | 0.651522 | eng_Latn | 0.399759 |
145f92596074e158a7e64eaeaefe8bfa6e898e9d | 1,599 | md | Markdown | projects.md | sawhuang/sawhuang.github.io | 44dea6aada043369a864f72098869849e2881c89 | [
"MIT"
] | null | null | null | projects.md | sawhuang/sawhuang.github.io | 44dea6aada043369a864f72098869849e2881c89 | [
"MIT"
] | null | null | null | projects.md | sawhuang/sawhuang.github.io | 44dea6aada043369a864f72098869849e2881c89 | [
"MIT"
] | null | null | null | ---
layout: page
title: Projects
subtitle: Previous projects and experience
---
I have project experience in data science, analytics, and visualization. Below is a list of my projects and a short description for each.
___
### [Analyzing Trends in IUCN Critically Endangered Species](https://github.com/sawhuang/INFO2950/tree/main/Final%20Project)
In this project, I worked with a partner on analyzing trends in IUCN Critically Endangered Species. We used exploratory data analysis to visualize statistically significant trends and better understand the common traits associated with critically endangered animals.
___
### [Examining the Relationship Between Fracking and Water Contamination](https://github.com/sawhuang/ORIE4741)
I worked with a small group to analyze the relationship between the level of water contamination in the world and fracking facilities. We assembled the dataset by combining various datasets in each topic and were able to predict the level of water contamination in the surrounding area around a fracking facility using details from the specific facility nearby.
___
### [Predicting Election Data](https://github.com/sawhuang/CS4780)
This project was a Kaggle competition that used voting demographic data from the 2016 election to see who could best predict the votes of other voters from the 2016 election. Our team used feature engineering to analyze new features and built out various models to maximize our prediction accuracy. Our best models were an SVM and a neural network that allowed our team to score in the top 10 teams out of over 400 participants.
| 69.521739 | 428 | 0.813008 | eng_Latn | 0.999231 |
145ff0d6fee2b4670738de29e8ee52336fb8d41d | 4,935 | md | Markdown | README.md | cuisonghui/tera | 99a3f16de13dd454a64d64e938fcfeb030674d5f | [
"Apache-2.0",
"BSD-3-Clause"
] | 2,003 | 2015-07-13T08:36:45.000Z | 2022-03-26T02:10:07.000Z | README.md | a1e2w3/tera | dbcd28af792d879d961bf9fc7eb60de81b437646 | [
"Apache-2.0",
"BSD-3-Clause"
] | 981 | 2015-07-14T00:03:24.000Z | 2021-05-10T09:50:01.000Z | README.md | a1e2w3/tera | dbcd28af792d879d961bf9fc7eb60de81b437646 | [
"Apache-2.0",
"BSD-3-Clause"
] | 461 | 2015-07-14T02:53:35.000Z | 2022-03-10T10:31:49.000Z | # Tera - An Internet-Scale Database
[](https://travis-ci.org/baidu/tera)
[](https://scan.coverity.com/projects/tera)
[](readme-cn.md)
Copyright 2015, Baidu, Inc.
Tera is a high performance distributed NoSQL database, which is inspired by google's [BigTable](http://static.googleusercontent.com/media/research.google.com/zh-CN//archive/bigtable-osdi06.pdf) and designed for real-time applications. Tera can easily scale to __petabytes__ of data across __thousands__ of commodity servers. Besides, Tera is widely used in many Baidu products with varied demands,which range from throughput-oriented applications to latency-sensitive service, including web indexing, WebPage DB, LinkBase DB, etc. ([中文](readme-cn.md))
## Features
* Linear and modular scalability
* Automatic and configurable sharding
* Ranged and hashed sharding strategies
* MVCC
* Column-oriented storage and locality group support
* Strictly consistent
* Automatic failover support
* Online schema change
* Snapshot support
* Support RAMDISK/SSD/DFS tiered cache
* Block cache and Bloom Filters for real-time queries
* Multi-type table support (RAMDISK/SSD/DISK table)
* Easy to use [C++](doc/en/sdk_guide.md)/[Java](doc/en/sdk_guide_java.md)/[Python](doc/en/sdk_guide_python.md)/[REST-ful](doc/en/sdk_guide_http.md) API
## Data model
Tera is the collection of many sparse, distributed, multidimensional tables. The table is indexed by a row key, column key, and a timestamp; each value in the table is an uninterpreted array of bytes.
* (row:string, (column family+qualifier):string, time:int64) → string
To learn more about the schema, you can refer to [BigTable](http://static.googleusercontent.com/media/research.google.com/zh-CN//archive/bigtable-osdi06.pdf).
## Architecture

Tera has three major components: sdk, master and tablet servers.
- __SDK__: a library that is linked into every application client to access Tera cluster.
- __Master__: master is responsible for managing tablet servers and tablets, automatic load balance and garbage collection of files in filesystem.
- __Tablet Server__: tablet server is the core module in tera, and it uses an __enhance__ [Leveldb](https://github.com/google/leveldb) as a basic storage engine. Tablet server manages a set of tablets, handles read/write/scan requests and schedule tablet split and merge online.
## Building blocks
Tera is built on several pieces of open source infrastructure.
- __Filesystem__ (required)
Tera uses the distributed file system to store transaction log and data files. So Tera uses an abstract file system interface, called Env, to adapt to different implementations of file systems (e.g., [BFS](https://github.com/baidu/bfs), HDFS, HDFS2, POXIS filesystem).
- __Distributed lock service__ (required)
Tera relies on a highly-available and persistent distributed lock service, which is used for a variety of tasks: to ensure that there is at most one active master at any time; to store meta table's location, to discover new tablet server and finalize tablet server deaths. Tera has an adapter class to adapt to different implementations of lock service (e.g., ZooKeeper, [Nexus](https://github.com/baidu/ins))
- __High performance RPC framework__ (required)
Tera is designed to handle a variety of demanding workloads, which range from throughput-oriented applications to latency-sensitive service. So Tera needs a high performance network programming framework. Now Tera heavily relies on [Sofa-pbrpc](https://github.com/baidu/sofa-pbrpc/) to meet the performance demand.
- __Cluster management system__ (not necessary)
A Tera cluster in Baidu typically operates in a shared pool of machines that runs a wide variety of other distributed applications. So Tera can be deployed in a cluster management system [Galaxy](https://github.com/baidu/galaxy), which uses for scheduling jobs, managing resources on shared machines, dealing with machine failures, and monitoring machine status. Besides, Tera can also be deployed on RAW machine or in Docker container.
## Documents
* [Developer Doc](doc/en/README.md)
## Quick start
* __How to build__
Use sh [./build.sh](BUILD) to build Tera.
* __How to deploy__
[Pseudo Distributed Mode](doc/en/onebox.md)
[Build on Docker](example/docker)
* __How to access__
[teracli](doc/en/teracli.md)
[API](doc/en/sdk_guide.md)
## Contributing to Tera
Contributions are welcomed and greatly appreciated.
Read [Roadmap](doc/en/roadmap.md) to get a general knowledge about our development plan.
See [Contributions](doc/en/contributor.md) for more details.
## Follow us
To join us, please send resume to tera-user at baidu.com.
| 51.947368 | 551 | 0.777508 | eng_Latn | 0.955915 |
14616ff10b2f14275ca74ba3b8b8a69d2ccdb11f | 3,428 | md | Markdown | vendor/square/square/doc/models/upsert-catalog-object-response.md | brightwillies/kravspie | 867021cbbaaee85e5de4255b48c339b817f2d2a9 | [
"MIT"
] | 62 | 2020-06-12T00:32:09.000Z | 2022-03-28T15:37:17.000Z | vendor/square/square/doc/models/upsert-catalog-object-response.md | brightwillies/kravspie | 867021cbbaaee85e5de4255b48c339b817f2d2a9 | [
"MIT"
] | 30 | 2020-06-14T00:37:37.000Z | 2022-03-31T23:31:46.000Z | vendor/square/square/doc/models/upsert-catalog-object-response.md | brightwillies/kravspie | 867021cbbaaee85e5de4255b48c339b817f2d2a9 | [
"MIT"
] | 35 | 2020-06-12T06:30:58.000Z | 2022-03-14T16:27:12.000Z |
# Upsert Catalog Object Response
## Structure
`UpsertCatalogObjectResponse`
## Fields
| Name | Type | Tags | Description | Getter | Setter |
| --- | --- | --- | --- | --- | --- |
| `errors` | [`?(Error[])`](/doc/models/error.md) | Optional | Any errors that occurred during the request. | getErrors(): ?array | setErrors(?array errors): void |
| `catalogObject` | [`?CatalogObject`](/doc/models/catalog-object.md) | Optional | The wrapper object for the catalog entries of a given object type.<br><br>Depending on the `type` attribute value, a `CatalogObject` instance assumes a type-specific data to yield the corresponding type of catalog object.<br><br>For example, if `type=ITEM`, the `CatalogObject` instance must have the ITEM-specific data set on the `item_data` attribute. The resulting `CatalogObject` instance is also a `CatalogItem` instance.<br><br>In general, if `type=<OBJECT_TYPE>`, the `CatalogObject` instance must have the `<OBJECT_TYPE>`-specific data set on the `<object_type>_data` attribute. The resulting `CatalogObject` instance is also a `Catalog<ObjectType>` instance.<br><br>For a more detailed discussion of the Catalog data model, please see the<br>[Design a Catalog](https://developer.squareup.com/docs/catalog-api/design-a-catalog) guide. | getCatalogObject(): ?CatalogObject | setCatalogObject(?CatalogObject catalogObject): void |
| `idMappings` | [`?(CatalogIdMapping[])`](/doc/models/catalog-id-mapping.md) | Optional | The mapping between client and server IDs for this upsert. | getIdMappings(): ?array | setIdMappings(?array idMappings): void |
## Example (as JSON)
```json
{
"catalog_object": {
"id": "R2TA2FOBUGCJZNIWJSOSNAI4",
"is_deleted": false,
"item_data": {
"abbreviation": "Ch",
"description": "Hot Chocolate",
"name": "Cocoa",
"product_type": "REGULAR",
"variations": [
{
"id": "QRT53UP4LITLWGOGBZCUWP63",
"is_deleted": false,
"item_variation_data": {
"item_id": "R2TA2FOBUGCJZNIWJSOSNAI4",
"name": "Small",
"ordinal": 0,
"pricing_type": "VARIABLE_PRICING",
"stockable": true
},
"present_at_all_locations": true,
"type": "ITEM_VARIATION",
"updated_at": "2021-06-14T15:51:39.021Z",
"version": 1623685899021
},
{
"id": "NS77DKEIQ3AEQTCP727DSA7U",
"is_deleted": false,
"item_variation_data": {
"item_id": "R2TA2FOBUGCJZNIWJSOSNAI4",
"name": "Large",
"ordinal": 1,
"price_money": {
"amount": 400,
"currency": "USD"
},
"pricing_type": "FIXED_PRICING",
"stockable": true
},
"present_at_all_locations": true,
"type": "ITEM_VARIATION",
"updated_at": "2021-06-14T15:51:39.021Z",
"version": 1623685899021
}
]
},
"present_at_all_locations": true,
"type": "ITEM",
"updated_at": "2021-06-14T15:51:39.021Z",
"version": 1623685899021
},
"id_mappings": [
{
"client_object_id": "#Cocoa",
"object_id": "R2TA2FOBUGCJZNIWJSOSNAI4"
},
{
"client_object_id": "#Small",
"object_id": "QRT53UP4LITLWGOGBZCUWP63"
},
{
"client_object_id": "#Large",
"object_id": "NS77DKEIQ3AEQTCP727DSA7U"
}
]
}
```
| 39.402299 | 1,019 | 0.611727 | eng_Latn | 0.287364 |
14623a8d219f3413f548ec9b5c0d2f7d605f29be | 901 | md | Markdown | README.md | cdanielss/password_generator | e09ddd01ac92205334c4355d43ac0f1329255771 | [
"MIT"
] | null | null | null | README.md | cdanielss/password_generator | e09ddd01ac92205334c4355d43ac0f1329255771 | [
"MIT"
] | null | null | null | README.md | cdanielss/password_generator | e09ddd01ac92205334c4355d43ac0f1329255771 | [
"MIT"
] | null | null | null | <h2 align="center">
Gerador de Senhas
</h2>
<h3 align="center">
<img alt="Main" width="260" title="#logo" src="./img/PrintPass.png">
<br>
</h3>
O projeto foi feito com a biblioteca PySimpleGUI, esse foi o meu primeiro contato com a Interface Gráfica do Python.
Os recursos disponíveis são:
- [x] Adicionar o site e o usuário que você vai gerar a senha.
- [x] Escolher a quantidade de caracteres do tamanho total da senha.
- [x] Poder criar senhas com ou sem caracteres especiais.
- [x] Salvar em um arquivo e ter todas as senhas geradas.
**Instalação**: É necessário ter o Python e a biblioteca PySimpleGUI, com o comando ``` pip3 install pysimplegui ``` você instala a biblioteca. ***Obs:*** Também é necessário ter o tkinter, no Ubuntu com o comando ```sudo apt-get install python3-tk``` você instala.
**Execução**: Com o comando ``` python3 pass.py ``` você executa a aplicação.
| 40.954545 | 266 | 0.714761 | por_Latn | 0.999653 |
14635cc4747e39b327474b3307b40464c8c62563 | 2,769 | md | Markdown | windows-driver-docs-pr/storage/ms-sm-eventcontrol-wmi-class.md | i35010u/windows-driver-docs.zh-cn | e97bfd9ab066a578d9178313f802653570e21e7d | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-02-04T01:49:58.000Z | 2021-02-04T01:49:58.000Z | windows-driver-docs-pr/storage/ms-sm-eventcontrol-wmi-class.md | i35010u/windows-driver-docs.zh-cn | e97bfd9ab066a578d9178313f802653570e21e7d | [
"CC-BY-4.0",
"MIT"
] | null | null | null | windows-driver-docs-pr/storage/ms-sm-eventcontrol-wmi-class.md | i35010u/windows-driver-docs.zh-cn | e97bfd9ab066a578d9178313f802653570e21e7d | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: MS \_ SM \_ EventControl WMI 类
description: MS \_ SM \_ EventControl WMI 类
ms.localizationpriority: medium
ms.date: 10/17/2018
ms.openlocfilehash: 996b03c575ced8dc0a80964b0b7e542123452bd7
ms.sourcegitcommit: 418e6617e2a695c9cb4b37b5b60e264760858acd
ms.translationtype: MT
ms.contentlocale: zh-CN
ms.lasthandoff: 12/07/2020
ms.locfileid: "96811537"
---
# <a name="ms_sm_eventcontrol-wmi-class"></a>MS \_ SM \_ EventControl WMI 类
MS \_ SM \_ EventControl wmi 类定义 wmi 方法,这些方法允许 wmi 客户端控制链接、端口和目标事件的传送。 此 WMI 类没有数据块。 因此,WMI 工具套件将为包含属于类的方法的参数数据的结构生成声明,但不会生成对应于类本身的结构声明。
此类的每个方法的 MOF 语法在方法的参考页中进行了介绍。 以下主题介绍了这些方法及其随附的结构:
[**SM \_ AddTarget**](sm-addtarget.md)
[**SM \_ RemoveTarget**](sm-removetarget.md)
[**SM \_ AddPort**](sm-addport.md)
[**SM \_ RemovePort**](sm-removeport.md)
[**SM \_ AddLink**](sm-addlink.md)
[**SM \_ RemoveLink**](sm-removelink.md)
MS \_ SM \_ EventControl 类在 *Hbaapi* 中定义如下:
```cpp
class MS_SM_EventControl
{
[key]
string InstanceName;
boolean Active;
//
// These methods are used to control delivery of MS_SM_TargetEvents
//
[ Implemented, WmiMethodId(1) ]
void SM_AddTarget(
[in, HBAType("HBA_WWN") ] uint8 HbaPortWWN[8],
[in, HBAType("HBA_WWN") ] uint8 DiscoveredPortWWN[8],
[in, HBAType("HBA_WWN") ] uint8 DomainPortWWN[8],
[in ] uint32 AllTargets,
[out, HBA_STATUS_QUALIFIERS ] HBA_STATUS HBAStatus
);
[ Implemented, WmiMethodId(2) ]
void SM_RemoveTarget(
[in, HBAType("HBA_WWN") ] uint8 HbaPortWWN[8],
[in, HBAType("HBA_WWN") ] uint8 DiscoveredPortWWN[8],
[in, HBAType("HBA_WWN") ] uint8 DomainPortWWN[8],
[in ] uint32 AllTargets,
[out, HBA_STATUS_QUALIFIERS ] HBA_STATUS HBAStatus
);
//
// These methods are used to control delivery of MS_SM_PortEvents
//
[ Implemented, WmiMethodId(3) ]
void SM_AddPort(
[in, HBAType("HBA_WWN") ] uint8 PortWWN[8],
[in, EVENT_TYPES_QUALIFIERS ] uint32 EventType,
[out, HBA_STATUS_QUALIFIERS ] HBA_STATUS HBAStatus
);
[ Implemented, WmiMethodId(4) ]
void SM_RemovePort(
[in, HBAType("HBA_WWN") ] uint8 PortWWN[8],
[in, EVENT_TYPES_QUALIFIERS ] uint32 EventType,
[out, HBA_STATUS_QUALIFIERS ] HBA_STATUS HBAStatus
);
//
// These methods are used to control delivery of MSFC_LinkEvents
//
[ Implemented, WmiMethodId(10) ]
void SM_AddLink(
[out, HBA_STATUS_QUALIFIERS ] HBA_STATUS HBAStatus
);
[ Implemented, WmiMethodId(11) ]
void SM_RemoveLink(
[out, HBA_STATUS_QUALIFIERS ] HBA_STATUS HBAStatus
);
};
```
| 26.883495 | 136 | 0.646082 | yue_Hant | 0.896802 |
1464f102a8fa210214375859fc59e15d9d9f3ec9 | 27 | md | Markdown | README.md | Kalia7/teste | 3eea3a797d8e450c5aefd4245dfa1cdbe1ca0654 | [
"MIT"
] | null | null | null | README.md | Kalia7/teste | 3eea3a797d8e450c5aefd4245dfa1cdbe1ca0654 | [
"MIT"
] | null | null | null | README.md | Kalia7/teste | 3eea3a797d8e450c5aefd4245dfa1cdbe1ca0654 | [
"MIT"
] | null | null | null | # teste
testando uma ideia
| 9 | 18 | 0.777778 | por_Latn | 1.000006 |
1464f39bdc6223031e617cf0954ca7c2ae9d91d5 | 5,564 | md | Markdown | cards/pediatric-assessment-triangle/card.md | RyanFNichols/aliemcards | 56200aed18b60ff1a8d7e7a2c0e71e9b0cd0dc3b | [
"MIT"
] | 6 | 2017-01-24T18:07:55.000Z | 2017-08-07T01:24:38.000Z | cards/pediatric-assessment-triangle/card.md | RyanFNichols/aliemcards | 56200aed18b60ff1a8d7e7a2c0e71e9b0cd0dc3b | [
"MIT"
] | 315 | 2016-12-04T18:51:20.000Z | 2018-11-06T21:52:20.000Z | cards/pediatric-assessment-triangle/card.md | RyanFNichols/aliemcards | 56200aed18b60ff1a8d7e7a2c0e71e9b0cd0dc3b | [
"MIT"
] | 10 | 2017-01-22T23:14:19.000Z | 2018-03-28T02:38:59.000Z | ---
title: Pediatric Assessment Triangle
authors:
- Michelle Reina, MD
- Rob Bryant, MD
created: 2013/05/30
updates:
categories:
- Pediatrics
- Critical Care
---
# Pediatric Assessment Triangle

The PAT functions as a rapid, initial assessment to determine “sick” or “not sick,” and should be immediately followed by/not delay the ABCDEs. It can be utilized for serial assessment of patients to track response to therapy.
## Appearance: The “Tickles” (TICLS) Mnemonic
| Characteristic | Normal features |
| ------------------- | -------------------------------------------------------------------------------------------------------------- |
| **T**one | Move spontaneously, resists examination, sits or stands (age appropriate) |
| **I**nteractiveness | Appears alert/engaged with clinician or caregiver, interacts well with people/environment, reaches for objects |
| **C**onsolability | Stops crying with holding/comforting by caregiver, has differential response to caregiver vs. examiner |
| **L**ook/gaze | Makes eye contact with clinician, tracks visually |
| **S**peech/cry | Uses age-appropriate speech |
## Work of breathing
| Characteristic | Abnormal features |
| ---------------------- | ------------------------------------------------------------------- |
| Abnormal airway sounds | Snoring, muffled/hoarse speech, stridor, grunting, wheezing |
| Abnormal positioning | Sniffing position, tripoding, prefers seated posture |
| Retraction | Supraclavicular, intercostal, or substernal, head bobbing (infants) |
| Flaring | Flaring of the nares on inspiration |
## Circulation of skin
| Characteristic | Abnormal features |
| --------------- | ---------------------------------------------------------- |
| Pallor | White/pale skin or mucous membranes |
| Mottling | Patchy skin discoloration due to variable vasoconstriction |
| Cyanosis | Bluish discoloration of skin/mucous membranes |
## Relationship of the PAT components to physiological categories and management priorities
| Presentation | Appearance | Work of breathing | Circulation | Management |
| --------------------------------- | ------------ | ---------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Stable | Normal | Normal | Normal | Specific therapy based on possible etiologies |
| Respiratory distress | Normal | **ABNORMAL** | Normal | Position of comfort, O2/suction, specific therapy (e.g. albuterol, diphenhydramine, epinephrine), labs/x-rays |
| Respiratory failure | **ABNORMAL** | **ABNORMAL** | Normal or **ABNORMAL** | Position head/open airway, BVM, FB removal, advanced airway, labs/x-rays |
| Shock (compensated) | Normal | Normal | **ABNORMAL** | O2, peripheral IV, fluid resuscitation, specific therapy based on etiology (antibiotics, surgery, antidysrhythmics), labs/x-rays |
| Shock (decompensated/hypotensive) | **ABNORMAL** | Normal or **ABNORMAL** | **ABNORMAL** | O2, vascular access, fluid resuscitation, specific therapy based on etiology (antibiotics, vasopressors, blood products, surgery, antidysrhythmics, cardioversion), labs/x-rays |
| CNS/Metabolic dysfunction | **ABNORMAL** | Normal | Normal | O2, POC glucose, consider other etiologies, labs/x-rays |
| Cardiopulmonary failure/arrest | **ABNORMAL** | **ABNORMAL** | **ABNORMAL** | Position head/open airway, BMV with 100% O2, CPR, specific therapy based on etiology (defibrillation, epinephrine, amiodarone), labs/x-rays |
## References
- Dieckmann RA, Brownstein D, Gausche-Hill M. The pediatric assessment triangle: a novel approach for the rapid evaluation of children. Pediatr Emerg Care. 2010 Apr;26(4):312-5. doi: 10.1097/PEC.0b013e3181d6db37. [[PubMed](https://www.ncbi.nlm.nih.gov/pubmed/?term=20386420)]
- ER CAST: Courtesy of Dr. Michelle Reina & Dr. Rob Bryant [[Source](http://blog.ercast.org/2010/05/the-toxic-neonate/)]
| 89.741935 | 280 | 0.465672 | eng_Latn | 0.775806 |
14652218e132ecb9f47013baf9f0523279e8ac26 | 4,531 | md | Markdown | content/news/combine-a-dynamic-design-with-reliable-performance-hp.md | onweru/compute | 41da580a965999fc4bb583c96c920dcec1eff914 | [
"Apache-2.0"
] | null | null | null | content/news/combine-a-dynamic-design-with-reliable-performance-hp.md | onweru/compute | 41da580a965999fc4bb583c96c920dcec1eff914 | [
"Apache-2.0"
] | null | null | null | content/news/combine-a-dynamic-design-with-reliable-performance-hp.md | onweru/compute | 41da580a965999fc4bb583c96c920dcec1eff914 | [
"Apache-2.0"
] | 2 | 2018-08-09T15:39:59.000Z | 2018-08-12T11:34:32.000Z | +++
title = "Combine a Dynamic Design With Reliable Performance Hp"
date = "2021-09-27T10:51:44+03:00"
class = "inline-images"
[image]
name = "hp-proBook-450-G8-Notebook-PC_webbanner.jpg"
description = "Combine a Dynamic Design With Reliable Performance Hp"
+++
What Do you Get when you combine a dynamic Design & Reliable Performance?
Figure 1: HP Authorized Dealer, Reseller, Partner and Seller in Nairobi, Kenya , Kampala, Uganda , Tanzania & Zambia.
What do you get when you combine a dynamic design, reliable performance & multi-layered security? __The HP ProBook 450 G8!__ The go-to PC for the fast-paced remote worker.
Apart from its lightweight chassis and remarkable processing power, this PC is packed with commercial-grade security features that protect your data on the go, embracing the WFH culture.

Want to work in style during this #NewNormal? Call us for a discounted price on this limited offer.
### A new design for wherever work takes you.

The compact, light, slim chassis with aluminum components is easy to carry from place to place. An optional high-brightness display provides an over 87% screen-to-body ratio and a new keyboard delivers a quiet and responsive experience.



### Multi-layered security protection.

Your growing business requires the protection of a PC with commercial-grade security features. The HP ProBook 450 is enhanced with security and privacy from the BIOS up.
### Power that lasts
Figure 8: High Performance & Power that Lasts with the HP Pro Book 450 G8
- Equipped with the latest optional quad-core Intel® processor with breakthrough __Intel® Iris® Xᵉ graphics__ and fast, upgradeable dual channel SODIMM memory , the HP ProBook 450 drives performance with long battery life and high-speed solid-state drives.
- A __lightweight chassis__ with aluminum components brings a stylish look. Confidence in performance comes from 120,000 hours of the HP Total Test Process and MIL-STD 810H testing.
- Help speed up demanding business applications with an optional quad-core Intel® Core™ processor.
- Get going fast with Connected Modern Standby and wake your PC from the optional match-on-sensor fingerprint sensor.
- Enjoy the consistent feel and extremely quiet typing experience of the redesigned keyboard with rubber dome keys.
- Firmware attacks can completely devastate your PC. Stay protected with HP Sure Start Gen6, the self-healing BIOS that automatically recovers itself from attacks or corruption.
- Fortify your security with multiple factors of authentication and policies hardened at the silicon level.
- The portability of your PC and the reliability of a fast connection determines where you can work. Get a fast and reliable connection in dense wireless environments with gigabit-speed Wi-Fi 6.
- Instantly block prying eyes by making your screen appear dark and unreadable from the side with optional HP Sure View Gen3.
- Get peace-of-mind with a built-in HP Privacy Camera that blocks the lens of your camera.
### Get Started with a HP Amplify Power Partner
Compact Design, Multi-layered Security, and Power that Lasts all at an affordable price. The HP ProBook 450 G8 offers convenience for the modern worker who is always on the go.
With its light chassis, durable design, and powerful processor this ProBook ensures work continuity, wherever you are. Remote work isn’t going anywhere anytime soon, get yourself this powerful machine at a __Discounted offer__ from a __Hp Power Amplify Partner. Call us on: +254729110005 or +254705511182.__
### Contact Us.
Feel free to reach out for any further IT inquiries on your Enterprise Solutions ranging from:
- Data Centers.
- Cyber Security
- Servers & Storage
- PC & Printer Repair
- Software Solutions
- End Point Solutions
[](tel:+254730141000) | 62.930556 | 307 | 0.786802 | eng_Latn | 0.984938 |
146547c80dd423d980ab3f2978813d012df19031 | 1,847 | md | Markdown | README.md | piaoyun0223/tuya-home-android-sdk | decf78441de671b1d53f88ec86bd4e099a9172b5 | [
"MIT"
] | 2 | 2020-12-07T09:06:54.000Z | 2020-12-11T02:37:55.000Z | README.md | piaoyun0223/tuya-home-android-sdk | decf78441de671b1d53f88ec86bd4e099a9172b5 | [
"MIT"
] | 1 | 2020-12-07T09:06:08.000Z | 2020-12-11T06:52:17.000Z | README.md | piaoyun0223/tuya-home-android-sdk | decf78441de671b1d53f88ec86bd4e099a9172b5 | [
"MIT"
] | 3 | 2020-12-03T08:58:34.000Z | 2020-12-11T05:17:35.000Z | > **Note:** This repository is will be deprecated soon, please use this [repository](https://github.com/tuya/tuya-home-android-sdk-sample-java) for Tuya Smart Life App SDK development instead. For the changing steps, see [Change a Remote URL]( https://docs.github.com/en/free-pro-team@latest/github/using-git/changing-a-remotes-url).
## Tuya Smart Android SDK (Deprecated)
[](https://circleci.com/gh/TuyaInc/tuyasmart_home_android_sdk/tree/master) [](https://opensource.org/licenses/MIT) [](https://developer.tuya.com/en/docs/app-development/android-app-sdk/change-log/changelog?id=Ka6o3br3pb4fo) [](https://developer.tuya.com/en/docs/app-development/android-app-sdk/featureoverview?id=Ka69nt97vtsfu)
[中文版](README-zh.md)|[English](README.md)
## Features Overview
Tuya Smart App SDK provides the interface package for communication with hardware and Tuya Cloud to accelerate the application development process.
Tuya Smart Android SDK includes the following features:
- Account system (phone number, email registration, login, password reset, and other general account functions)
- Home system (home management, room management, home-sharing, and other functions)
- Hardware functions (network configuration, control, status reporting, timed tasks, groups, firmware upgrades, sharing)
- IPC module (including live video, playback, cloud storage, message panel)
## Docs
Please refer to [Tuya Smart Doc - Android SDK](https://developer.tuya.com/en/docs/app-development/android-app-sdk/featureoverview?id=Ka69nt97vtsfu).
## Latest version
3.25.0
| 59.580645 | 617 | 0.781267 | eng_Latn | 0.469773 |
14660e9bb314d658052f28bacdb19529c5a53962 | 163 | md | Markdown | README.md | MLKiiwy/my-mini-printer-api | cb57e72fb5252a1fd21ff686531625f86ebe5c8b | [
"MIT"
] | null | null | null | README.md | MLKiiwy/my-mini-printer-api | cb57e72fb5252a1fd21ff686531625f86ebe5c8b | [
"MIT"
] | 2 | 2016-01-14T12:22:36.000Z | 2016-10-02T18:00:59.000Z | README.md | MLKiiwy/my-mini-printer-api | cb57e72fb5252a1fd21ff686531625f86ebe5c8b | [
"MIT"
] | null | null | null | My Mini printer api
==========================
docker-machine start default
eval "$(docker-machine env default)"
docker-compose build
docker-compose run web bash | 20.375 | 36 | 0.668712 | eng_Latn | 0.436439 |
1466baceb227fb949ffab16a3162eb2275d1dca4 | 3,241 | md | Markdown | molecule/README.md | kbendl/ansible-role-openhpc | a0d6f53dde8471fa4685d557bff59ec9b8ed886b | [
"Apache-2.0"
] | null | null | null | molecule/README.md | kbendl/ansible-role-openhpc | a0d6f53dde8471fa4685d557bff59ec9b8ed886b | [
"Apache-2.0"
] | null | null | null | molecule/README.md | kbendl/ansible-role-openhpc | a0d6f53dde8471fa4685d557bff59ec9b8ed886b | [
"Apache-2.0"
] | null | null | null | Molecule tests for the role.
# Test Matrix
Test options in "Other" column flow down through table unless changed.
Test | # Partitions | Groups in partitions? | Other
--- | --- | --- | ---
test1 | 1 | N | 2x compute node, sequential names (default test), config on all nodes
test1b | 1 | N | 1x compute node
test1c | 1 | N | 2x compute nodes, nonsequential names
test2 | 2 | N | 4x compute node, sequential names
test3 | 1 | Y | -
test4 | 1 | N | 2x compute node, accounting enabled
test5 | 1 | N | As for #1 but configless
test6 | 1 | N | 0x compute nodes, configless
test7 | 1 | N | 1x compute node, no login node so specified munge key, configless (checks image build should work)
test8 | 1 | N | 2x compute node, 2x login-only nodes, configless
test9 | 1 | N | As test8 but uses `--limit=testohpc-control,testohpc-compute-0` and checks login nodes still end up in slurm.conf
test10 | 1 | N | As for #5 but then tries to add an additional node
test11 | 1 | N | As for #5 but then deletes a node (actually changes the partition due to molecule/ansible limitations)
test12 | 1 | N | As for #5 but enabling job completion and testing `sacct -c`
test13 | 1 | N | As for #5 but tests `openhpc_config` variable.
test14 | 1 | | As for #5 but also tests `extra_nodes` via State=DOWN nodes.
# Local Installation & Running
Local installation on a CentOS 8 machine looks like:
sudo yum install -y gcc python3-pip python3-devel openssl-devel python3-libselinux
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install -y docker-ce docker-ce-cli containerd.io
sudo yum install -y iptables
sudo systemctl start docker
sudo usermod -aG docker ${USER}
# if not running as centos, also run:
sudo usermod -aG docker centos
newgrp docker
docker run hello-world # test docker works without sudo
sudo yum install -y git
git clone git@github.com:stackhpc/ansible-role-openhpc.git
cd ansible-role-openhpc/
python3 -m venv venv
. venv/bin/activate
pip install -U pip
pip install -r molecule/requirements.txt
Then to run tests, e.g.::
cd ansible-role-openhpc/
MOLECULE_IMAGE=centos:7 molecule test --all # NB some won't work as require OpenHPC v2.x (-> CentOS 8.x) features - see `.github/workflows/ci.yml`
MOLECULE_IMAGE=centos:8.2.2004 molecule test --all
MOLECULE_IMAGE=centos:8.3.2011 molecule test --all
During development you may want to:
- See some debugging information by prepending:
MOLECULE_NO_LOG="false" ...
- Prevent destroying insstances using:
molecule test --destroy never
| 49.106061 | 163 | 0.585005 | eng_Latn | 0.884976 |
1467a0c3d20cd621cf749db6251b4919a240e9f9 | 1,007 | md | Markdown | README.md | DanielKartafla/AutoCar | 26dccd1d5e43ea2ccbb177536fc9ee7137d1cea9 | [
"MIT"
] | null | null | null | README.md | DanielKartafla/AutoCar | 26dccd1d5e43ea2ccbb177536fc9ee7137d1cea9 | [
"MIT"
] | null | null | null | README.md | DanielKartafla/AutoCar | 26dccd1d5e43ea2ccbb177536fc9ee7137d1cea9 | [
"MIT"
] | null | null | null | # AutoCar
The goal of this project is to automatically generate cars with machine learning based on the dataset provided.
## Dataset
The dataset used is https://github.com/nicolas-gervais/predicting-car-price-from-scraped-data/tree/master/picture-scraper
Please download the dataset and extract the images inside the AutoCar/Images folder. I did not include it in the repository because the dataset is ~690 MB in size.
The dataset also contains many images from a "real life" environment, meaning pictures on streets and so on. We only want pictures from cars that have a white background. To achieve this, please use the ImageSanitizerCLI.exe inside AutoCar\ImageSanitizer\bin.
You need to specify the Images folder, so typically, you should start the program with
```
./ImageSanitizer.exe ./../../Images
```
The deletion process takes a while and at the end of it you should have about 26.000 images left. Some of them might not fit our criteria exactly, however, the percentage should be very small.
| 71.928571 | 260 | 0.792453 | eng_Latn | 0.998449 |
1467ad3a55cf11010f8f4c7cd7572a03e7c2260f | 465 | md | Markdown | _posts/TIL/2020-10-16-TIL.md | devejs/devejs.github.io | 7a957050e8b38389e5778b6a0ad98a67d6c4954b | [
"MIT"
] | null | null | null | _posts/TIL/2020-10-16-TIL.md | devejs/devejs.github.io | 7a957050e8b38389e5778b6a0ad98a67d6c4954b | [
"MIT"
] | null | null | null | _posts/TIL/2020-10-16-TIL.md | devejs/devejs.github.io | 7a957050e8b38389e5778b6a0ad98a67d6c4954b | [
"MIT"
] | null | null | null | ---
layout: post
title: 201016 TIL
category: TIL
---
*Publishing Date:2020-10-16*
### 오늘 할 예정이었던 것
* `About Swift` 문서 번역
* 임베디드 질문한 내용 정리
* 피어세션 후 내용 추가 정리
### 오늘 한 것
* 라즈베리파이 카메라 테스트 및 OpenCV 설치
안 되던게 어메이징하게도 모듈 새로 구매하자마자 바로 된다^^7 하드웨어란..
OpenCV는 설치중!
* 피어세션 후 내용 추가 정리
`defer`구문이 역순으로 실행되는 원리 -> 스택 추가
`Never(비반환 함수)` 추가
* `About Swift` 문서 번역
의역 오역 난무..
### 내일 할 것
* `Version Compatibility` 문서 번역
* 토픽 공부(Never)
* OpenCV 라이브러리 테스트
* 스탠포드 강의 듣기
| 15 | 45 | 0.627957 | kor_Hang | 1.00001 |
1467ba068f9d831861cacf908d57b9605c835df4 | 2,555 | md | Markdown | aula02/Readme.md | nlnadialigia/dev.finances | bb262f29ddf1befce2a5a95ad379ab65c0bcac2a | [
"MIT"
] | 1 | 2021-03-14T14:38:14.000Z | 2021-03-14T14:38:14.000Z | aula02/Readme.md | nlnadialigia/dev.finances | bb262f29ddf1befce2a5a95ad379ab65c0bcac2a | [
"MIT"
] | null | null | null | aula02/Readme.md | nlnadialigia/dev.finances | bb262f29ddf1befce2a5a95ad379ab65c0bcac2a | [
"MIT"
] | null | null | null | <p align="center"><img src="./assets/logo.png" width=200></p>
<h2 align="center">Aula 02</h2>
---
<p align="center">
<img alt="Last commit" src="https://img.shields.io/github/last-commit/nlnadialigia/dev.finances?color=91091e&style=flat-square"/>
<img alt="Repo size" src="https://img.shields.io/github/repo-size/nlnadialigia/dev.finances?color=91091e"/>
<a href="./license.md">
<img alt="License" src="https://img.shields.io/static/v1?label=licence&message=MIT&color=91091e"/>
</a>
</p>
---
<p align="center">
<a href="#-information_source-sobre-a-aula">Sobre</a> •
<a href="#-open_file_folder-aulas">Aulas</a> •
<a href="#-woman_office_worker-autora">Autora</a> •
<a href="#-pencil-licença">Licença</a>
</p>
<br>
# ℹ️ Sobre a aula
Finalização do HTML + CSS
📌 Imagens<br>
📌 Acessibilidade<br>
📌 Disposição dos elementos na página<br>
📌 Responsividade<br>
📌 Formulário para cadastro de dados<br>
📌 Modal<br>
📌 Uma pitadinha de JavaScript<br>
<br>
# 📂 Conteúdo
## 📚 Apresentação
<br>
<p align="center">
<img src="./assets/class02.gif" height=400>
</p>
<br>
## 📚 Tarefa 03: Assistir aos cursos/aulas
<br>
### 📌 Revisão
* HTML
- [Posso ver e ouvir o HTML](https://app.rocketseat.com.br/node/posso-ver-e-ouvir-o-html)
- [Exemplo](../aula01/exemplo)
- [Formulários de outro planeta](https://app.rocketseat.com.br/node/formularios-de-outro-planeta)
- [Forms](../aula01/forms)
* CSS
- [Nem só de classes ou ID's](https://app.rocketseat.com.br/node/nem-so-de-classes-ou-i-ds)
- [Css](../aula01/css)
### Para acompanhar a próxima aula
* [O guia estelar de JavaScript](https://app.rocketseat.com.br/node/o-guia-estelar-de-java-script)
- [javascript](./javascript)
<br>
# 👩💼 Autora
<img style="border-radius: 50%" src="../assets/picture.jpg" width="100px;" alt="Picture"/>
<p><b>Nádia Ligia, desenvolvedora back-end em formação.</b></p>
<a href="https://www.linkedin.com/in/nlnadialigia/">
<img alt="Linkedin" src="https://img.shields.io/badge/-Linkedin -91091e?style=flat&logo=Linkedin&logoColor=white&link=https://www.linkedin.com/in/nlnadialigia/" />
</a>
<a href="mailto:nlnadialigia@gmail.com">
<img alt="Email" src="https://img.shields.io/badge/-Email-91091e?style=flat&logo=Gmail&logoColor=white&link=mailto:nlnadialigia@gmail.com" />
</a>
<a href="https://www.nlnadialigia.com">
<img alt="Homepage" src="https://img.shields.io/badge/-Homepage-91091e" />
</a>
<br><br>
# 📝 Licença
Esse projeto está sob a licença MIT. Veja o arquivo [LICENSE](../LICENSE) para mais detalhes. | 30.416667 | 165 | 0.683366 | por_Latn | 0.408697 |
146883d50ff16787471c3a0e2d1c0218a5b1112a | 1,017 | md | Markdown | _posts/2016-01-31-Long-Allure-Bridals-Chiffon-Bridesmaids-Dress-1371.md | lastgown/lastgown.github.io | f4a71e2a12910bc569ac7e77f819c2be1598d8e6 | [
"MIT"
] | null | null | null | _posts/2016-01-31-Long-Allure-Bridals-Chiffon-Bridesmaids-Dress-1371.md | lastgown/lastgown.github.io | f4a71e2a12910bc569ac7e77f819c2be1598d8e6 | [
"MIT"
] | null | null | null | _posts/2016-01-31-Long-Allure-Bridals-Chiffon-Bridesmaids-Dress-1371.md | lastgown/lastgown.github.io | f4a71e2a12910bc569ac7e77f819c2be1598d8e6 | [
"MIT"
] | null | null | null | ---
layout: post
date: '2016-01-31'
title: "Long Allure Bridals Chiffon Bridesmaids Dress 1371"
category: Long
tags: [Long]
---
### Long Allure Bridals Chiffon Bridesmaids Dress 1371
Just **$231.99**
###
<a href="https://www.eudances.com/en/long/1893-allure-bridals-long-chiffon-bridesmaids-dress-1371.html"><img src="//www.eudances.com/5516-thickbox_default/allure-bridals-long-chiffon-bridesmaids-dress-1371.jpg" alt="Allure Bridals Long Chiffon Bridesmaids Dress 1371" style="width:100%;" /></a>
<!-- break --><a href="https://www.eudances.com/en/long/1893-allure-bridals-long-chiffon-bridesmaids-dress-1371.html"><img src="//www.eudances.com/5515-thickbox_default/allure-bridals-long-chiffon-bridesmaids-dress-1371.jpg" alt="Allure Bridals Long Chiffon Bridesmaids Dress 1371" style="width:100%;" /></a>
Buy it: [https://www.eudances.com/en/long/1893-allure-bridals-long-chiffon-bridesmaids-dress-1371.html](https://www.eudances.com/en/long/1893-allure-bridals-long-chiffon-bridesmaids-dress-1371.html)
| 59.823529 | 308 | 0.759095 | yue_Hant | 0.09505 |
1468b051919b6c9967020f507e84ace74127e219 | 4,575 | md | Markdown | _posts/2016-02-18-choices.md | bennettscience/nodes | 864260235904fbf56f7347dac24894c593da7a3e | [
"MIT"
] | null | null | null | _posts/2016-02-18-choices.md | bennettscience/nodes | 864260235904fbf56f7347dac24894c593da7a3e | [
"MIT"
] | null | null | null | _posts/2016-02-18-choices.md | bennettscience/nodes | 864260235904fbf56f7347dac24894c593da7a3e | [
"MIT"
] | null | null | null | ---
id: 4233
title: Choices
date: 2016-02-18T15:47:49+00:00
author: Brian Bennett
layout: post
guid: http://blog.ohheybrian.com/?p=4233
permalink: /2016/02/choices/
categories:
- All
- Teaching
---
Before I dive in, I think [Justin Aion](http://www.twitter.com/justinaion) and I are parallels of one another in the multiverse. [His day](http://blog.relearningtoteach.com/2016/02/day-103-loud-noises.html?spref=tw) was similar to mine.
—
Six weeks into this semester, I have three of six classes with averages in the 50% range. Some of those classes include students with sub 30% grades. Most of it is from choosing not to engage in any way, shape or form. I’ve tried blanket policies. I’ve tried meeting in the middle. I’ve tried strategy after strategy to no avail in some cases.
So I sat down with each class and asked them what to do.
Five of my six classes had _fantastic_ conversations about the choices that have been made. We’ve talked about why we come to school, what the purpose of the class is, why I do what I do…it was much more insightful than I expected. But, there was still business to attend to.
<img src="http://blog.ohheybrian.com/wp-content/uploads/2016/02/IMG_20160218_153707-1024x768.jpg" alt="IMG_20160218_153707" width="1024" height="768" class="aligncenter size-large wp-image-4237" srcset="https://blog.ohheybrian.com/wp-content/uploads/2016/02/IMG_20160218_153707-1024x768.jpg 1024w, https://blog.ohheybrian.com/wp-content/uploads/2016/02/IMG_20160218_153707-300x225.jpg 300w, https://blog.ohheybrian.com/wp-content/uploads/2016/02/IMG_20160218_153707-768x576.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" />
Most classes came up with conduct agreements that we all signed (students added their names to a Google doc which I then printed and signed) and are now hanging up on the wall as a reminder of what we’ve all agreed to. It includes things like:
– One day each week to go over the week’s stuff to make sure we’re all on the same page.
– Group roles (similar to POGIL) to be used _any_ time group work is being done, not just special tasks.
– An actual tray to turn papers in to, not just the corner of the lab bench.
– An actual dedicated place to find extra copies of stuff (rather than relying on me).
And then the elephant: phones.
They’ve been a problem for the majority of my students. Some classes more than others. Most agreed to a Phone Jail system where the phone goes when it’s reached the limit. They came up with particular infractions which will be self policed (that’s the idea anyways). I’m the final say in Phone Jail.
<img src="http://blog.ohheybrian.com/wp-content/uploads/2016/02/IMG_20160218_153655-1024x768.jpg" alt="IMG_20160218_153655" width="1024" height="768" class="aligncenter size-large wp-image-4236" srcset="https://blog.ohheybrian.com/wp-content/uploads/2016/02/IMG_20160218_153655-1024x768.jpg 1024w, https://blog.ohheybrian.com/wp-content/uploads/2016/02/IMG_20160218_153655-300x225.jpg 300w, https://blog.ohheybrian.com/wp-content/uploads/2016/02/IMG_20160218_153655-768x576.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" />
I’m trying to keep it lighthearted. They know when they’re distracted, I think calling it out with something silly/serious like Phone Jail will help.
All in all, I think they were healthy conversations that helped us all understand each other a little better.
—
Then, The Class Who Chose Not To Choose.
I prompted, they were silent. They came up with, “You need to be more strict” and “Just kick people out.”
Another asked, “Dude, why are you asking kids how to do _your_ job?”
That was a good one.
It’s sad that our culture is one in which students can’t imagine a better way to work together. I’m the teacher. They’re the students. What I say goes (unless they disagree with it, of course).
I made it very clear that their indecision and unwillingness to work with me meant lockdown. No phones, no freedoms to choose seats…nothing. I was met with silence. When we got to work and I gave two students a phone warning…well, you can imagine how that went.
—
Changing culture takes time. I have to remind myself that it’s a multi-year process. I’m blessed that the majority of my classes are willing to _try_ and address culture shifts. It’s jarring when one group of very talented people choose not to take that step of faith.
| 73.790323 | 528 | 0.76918 | eng_Latn | 0.991039 |
14695af1770c43a9412fa58b35aaf8d8c5b08e63 | 1,239 | md | Markdown | _posts/10/DONE/c/2021-04-07-khloe-kwon.md | chito365/ukdat | 382c0628a4a8bed0f504f6414496281daf78f2d8 | [
"MIT"
] | null | null | null | _posts/10/DONE/c/2021-04-07-khloe-kwon.md | chito365/ukdat | 382c0628a4a8bed0f504f6414496281daf78f2d8 | [
"MIT"
] | null | null | null | _posts/10/DONE/c/2021-04-07-khloe-kwon.md | chito365/ukdat | 382c0628a4a8bed0f504f6414496281daf78f2d8 | [
"MIT"
] | null | null | null | ---
id: 11030
title: Khloe Kwon
date: 2021-04-07T09:24:18+00:00
author: victor
layout: post
guid: https://ukdataservers.com/khloe-kwon/
permalink: /04/07/khloe-kwon
tags:
- claims
- lawyer
- doctor
- house
- multi family
- online
- poll
- business
category: Guides
---
* some text
{: toc}
## Who is Khloe Kwon
Dancer and model known for competing in the 24 SEVEN Dance Convention, a competition that tours the United States. She has earned more than 40,000 followers on her khloekwon Instagram account.
## Prior to Popularity
She started dancing when she was two years old.
## Random data
She has stated that she loves to swim and make videos.
## Family & Everyday Life of Khloe Kwon
Her mother, Sonya Kwon, owns PAVE School of the Arts in California. Her father is named Johnny Kwon. She has an older sister named Kylie Kwon.
## People Related With Khloe Kwon
She has performed with her best friend Everleigh Soutas.
| 17.208333 | 192 | 0.56255 | eng_Latn | 0.998603 |
146ab75990596ea95ec69e290c1f04bd8749bb16 | 23 | md | Markdown | README.md | huaqingse/test | 735e3742380fd107d559f68ff3a862b018a079d0 | [
"MIT"
] | null | null | null | README.md | huaqingse/test | 735e3742380fd107d559f68ff3a862b018a079d0 | [
"MIT"
] | null | null | null | README.md | huaqingse/test | 735e3742380fd107d559f68ff3a862b018a079d0 | [
"MIT"
] | null | null | null | # test
computer vision
| 7.666667 | 15 | 0.782609 | eng_Latn | 0.962256 |
146ac36af1e59c091ceec0e0a431883348453df8 | 1,387 | md | Markdown | README.md | bazbt3/10cbazbt3 | fbbb2ff65b8b6b60331acab313a9a94730f5f9c2 | [
"MIT"
] | 8 | 2016-03-06T20:01:21.000Z | 2017-02-10T20:26:15.000Z | README.md | bazbt3/10cbazbt3 | fbbb2ff65b8b6b60331acab313a9a94730f5f9c2 | [
"MIT"
] | 34 | 2016-03-06T20:16:50.000Z | 2017-02-01T19:58:20.000Z | README.md | bazbt3/10cbazbt3 | fbbb2ff65b8b6b60331acab313a9a94730f5f9c2 | [
"MIT"
] | null | null | null | # What is '10cbazbt3'?
A Python 3 application to interact with the social, blogging and podcasting site [10Centuries.org](http://10centuries.org). My work here is starting to cover the basics, moving nicely.
## A couple of recent screenshots:
[](/images/10cbazbt3_login_success.PNG)
[](/images/10cbazbt3_timeline.PNG)
## What's needed to make this work?
Python 3 and a [10Centuries.org](http://10centuries.org) account. (I'm new to Python so don't know how much work would be necessary to convert this to Python 2.x.)
### Repo structure:
If you want to know more, the most important things to look at here are:
* The **[Documentation.](/docs/00-index.md)** A work in progress,
* The [CHANGELOG,](CHANGELOG.md)
* Inside the [10cbazbt3 code folder](/10cbazbt3/). The code comments will always be more recent than the documentation,
* This README file.
## Why did I do this?
10Centuries creator, Jason Irwin (aka @matigo), made it relatively easy by publishing [the API docs](https://docs.10centuries.org/) early in the evolution of the site. Though the documentation is incomplete (the site is still evolving!) for anyone with programming and/or bash shell script experience it's fairly straightforward to get stuff working. Working *correctly* though is another matter entirely...
| 63.045455 | 409 | 0.762076 | eng_Latn | 0.978241 |
146b82cd9b63a8a4d98be1e49047c5fe7881492a | 58 | md | Markdown | README.md | powermosfet/barcode-backend | db766fcc4e1cdfe67b72bf4f30fb3b9e1b4dd296 | [
"BSD-3-Clause"
] | null | null | null | README.md | powermosfet/barcode-backend | db766fcc4e1cdfe67b72bf4f30fb3b9e1b4dd296 | [
"BSD-3-Clause"
] | null | null | null | README.md | powermosfet/barcode-backend | db766fcc4e1cdfe67b72bf4f30fb3b9e1b4dd296 | [
"BSD-3-Clause"
] | null | null | null | # barcode-backend
A simple shopping list barcode database
| 19.333333 | 39 | 0.827586 | eng_Latn | 0.831964 |
146c53837c4536485ab364777ba00a51575e24ed | 1,736 | md | Markdown | ru/monitoring/operations/metric/list.md | 16depo/docs | 985b444f38a6d1c2627acdba0e7967aed5f79024 | [
"CC-BY-4.0"
] | null | null | null | ru/monitoring/operations/metric/list.md | 16depo/docs | 985b444f38a6d1c2627acdba0e7967aed5f79024 | [
"CC-BY-4.0"
] | null | null | null | ru/monitoring/operations/metric/list.md | 16depo/docs | 985b444f38a6d1c2627acdba0e7967aed5f79024 | [
"CC-BY-4.0"
] | null | null | null | # Получение списка метрик
Чтобы получить список метрик, принадлежащих определенному облаку и каталогу, воспользуйтесь методом [listMetrics](../../api-ref/MetricsMeta/listMetrics.md).
{% include [before-beginning](../../../_includes/monitoring/before-beginning.md) %}
### Пример запроса
Отправьте запрос и сохраните ответ в файл, например `output.json`:
```bash
$ export IAM_TOKEN=CggaATEVAgA...
$ curl -H "Content-Type: application/json" \
-H "Authorization: Bearer ${IAM_TOKEN}" \
'https://monitoring.api.cloud.yandex.net/monitoring/v1/metrics/?cloud_id=b1ebkpesobgv2i2266vg&folder_id=b1ehmo15rmnlod3hrf8&service=compute' > output.json
```
Пример ответа на запрос. В свойстве `result` перечислен список метрик, а свойстве `page` – параметры пагинации:
**body.json:**
```json
{
"result": [
{
"name": "memory_usage",
"labels": {
"cluster": "b1ghmo15rmnlod3hrf8p",
"instance_id": "epdpmp80p408he72k3mf",
"metric": "memory_usage",
"service": "compute",
"resource_type": "vm",
"project": "b1gbkpesobgv2i2266vg",
"resource_id": "epdpmp80p408he72k3mf"
},
"kind": "DGAUGE",
"createdAt": "2019-04-02T07:47:37Z"
},
{
"name": "cpu_usage",
"labels": {
"cluster": "b1ghmo15rmnlod3hrf8p",
"instance_id": "epderigcmk645crlnlvt",
"metric": "cpu_usage",
"service": "compute",
"resource_type": "vm",
"project": "b1gbkpesobgv2i2266vg",
"resource_id": "epderigcmk645crlnlvt"
},
"kind": "DGAUGE",
"createdAt": "2019-04-02T03:38:01Z"
},
...
],
"page": {
"pagesCount": 3,
"totalCount": 72,
"pageSize": 30,
"current": 0
}
}
```
| 28 | 158 | 0.621544 | kor_Hang | 0.096639 |
146c68a69ecc309c269f22d056a53c943797ad36 | 7,537 | md | Markdown | desktop-src/SecAuthN/best-practices-for-designing-authentication-web-pages.md | weijiechai/win32 | 6b707eecd167607ce836a92096c337def7a5b43a | [
"CC-BY-4.0",
"MIT"
] | 552 | 2019-08-20T00:08:40.000Z | 2022-03-30T18:25:35.000Z | desktop-src/SecAuthN/best-practices-for-designing-authentication-web-pages.md | weijiechai/win32 | 6b707eecd167607ce836a92096c337def7a5b43a | [
"CC-BY-4.0",
"MIT"
] | 1,143 | 2019-08-21T20:17:47.000Z | 2022-03-31T20:24:39.000Z | desktop-src/SecAuthN/best-practices-for-designing-authentication-web-pages.md | weijiechai/win32 | 6b707eecd167607ce836a92096c337def7a5b43a | [
"CC-BY-4.0",
"MIT"
] | 1,287 | 2019-08-20T05:37:48.000Z | 2022-03-31T20:22:06.000Z | ---
description: This topic describes best practices for designing web pages that use Web Authentication Broker for logging on.
ms.assetid: 271EC68B-5E58-4C1C-B631-DED6A694E98F
title: Best Practices for designing authentication web pages
ms.topic: article
ms.date: 05/31/2018
---
# Best Practices for designing authentication web pages
This topic describes best practices for designing web pages that use Web Authentication Broker for logging on.
- [Use of metatags](#use-of-metatags)
- [Use of Windows 8 CSS styling](#use-of-windows-8-css-styling)
- [Use of color and themes](#use-of-color-and-themes)
- [Alignment](#alignment)
- [Designing for snap](#designing-for-snap)
- [Designing for a fast and fluid login experience](#designing-for-a-fast-and-fluid-login-experience)
- [Security Considerations](#security-considerations)
- [Related topics](#related-topics)
## Use of metatags
Using metatags, the provider "Contoso Social" can specify the title, the icon and the color of the header. In the sample HTML file (WebAuthLogin.html), this is done by using the following code.
```HTML
<meta name="mswebdialog-title" content="Contoso Social" />
<meta name="mswebdialog-header-color" content="#326464" /> <!-- Your brand color -->
<meta name="mswebdialog-logo" content="contoso_social_glyph.png" />
```
This allows Windows to integrate the presence of the provider in a prominent way in the header of the UI as highlighted by the red box in the following screenshot. 
## Use of Windows 8 CSS styling
The provided ui-light.css stylesheet is the Windows 8 stylesheet used by Windows Store apps. It defines Windows Store app styling for typography and standard controls, like buttons, text boxes, hyperlinks, and check boxes to make sure they are touch friendly. When designing and tailoring web authorization pages for Windows 8, we encourage you to use this stylesheet as is and update it as needed as long as your web page still follows best-practices in its own way.
For example, if you have a special stylesheet for what hyperlinks should look and feel like on your web page, it's good to be thoughtful to make sure that the styling you provide is touch friendly in the same way as standard Windows 8 hyperlinks. This is essential for the consumer base using Windows 8 on their touch devices.
## Use of color and themes
This sample demonstrates a thoughtful use of color in a few different ways.
- White background for the web page. As you can tell from the previous screenshot, the web page is hosted within a white surface that spans the width of the screen. To make sure that the web page integrates with the surface, it is advised that the web page should have a white background.
- Colorizing controls based on your brand color. The CSS file theme-colors.css provides styling to override the standard colors of controls in the ui-light stylesheet to match the theming of the controls to the color of the header. For example, in the following screenshot, the buttons and hyperlinks take on colors derived from the header color. 
- Header color. The use of Contoso's brand color in the header creates a unified personality for the provider's brand within the system UI.
## Alignment
The web page itself has no padding on the left or the right to allow for typographic alignment with the title in the header on the left and the icon in the header on the right.
You will also notice that buttons are always bottom-right aligned in the web page (and right aligned with the icon in the header). This is best-practice as Windows 8 users will be accustomed to similar dialog flows having buttons in the bottom-right.
## Designing for snap
In the following image, you can see the login and permissions pages in snap state.
 . 
In the sample file ui-webauth.css, you can see the use of media queries that optimize the layout of the page for snap state based on width available for the web page. The code snippet enclosed in the following scope implements CSS tailored for snap state.
```HTML
@media screen and (max-width: 500px)
{
…
}
```
In Windows 8, the width of the snap state is 320 pixels. The web-auth page occupies 260 pixels in the UI above. We're using a max-width value with enough margin, so the media query code of the provider is not bound to the exact width of the snap state.
In tailoring your app for the snap view, it's important that user does not lose any context that they have in the other views of web auth experience (full, fill or charm views), but it's valuable to re-structure the layout and hierarchy of the elements in the page so that the information needed to retain context is visible and interactive. We've called out some examples of how the sample tailors the web page for the snap state.
- As an example, for the login page in snap state, the width property of the input text field (as specified in ui-light.css) has been overridden and been set as smaller numerical value, so that the text field is not horizontally clipped.
- As another example, in snap state, the font size of the h1 and h2 headers is reduced to 20 pt and 11 pt from 42 pt and 20 pt respectively. This is done in accordance with the Windows 8 type ramp, and optimizes text to be more compact in the changed viewport.
- As another example, notice the sizes of the icons in the permissions page are smaller (compare to the full view page above). Again, this is done to retain context, while swapping design assets for those more optimal for the changed viewport.
## Designing for a fast and fluid login experience
Early in the designing of this web page, we made a stake in the ground that one thing that this page is best at is a fast and fluid login experience. Thus, the UI that is most prominent in the flow is the username and password field in the login page for a quick credential entry experience. While we identified that there are other common scenarios such as password retrieval, and referencing privacy statements, the rich experience of the web is a better place for those experiences. For all flows not related to secure web auth experience, we recommend navigating the user to the browser. This is shown in the sample HTML file (WebAuthLogin.html) as follows: `<meta name="mswebdialog-newwindowurl" content="*" />` This opens all web pages linked to from the login or permissions page in the user's default browser where the user can complete these flows and then return to the app to log in.
## Security Considerations
The following articles provide guidance for writing secure C++ code.
- [Security Best Practices for C++](/cpp/security/security-best-practices-for-cpp)
- [Patterns & Practices Security Guidance for Applications](/previous-versions/msp-n-p/ff650760(v=pandp.10))
## Related topics
<dl> <dt>
[Considerations for the web page development](considerations-for-the-web-page-development.md)
</dt> <dt>
[FAQ for Web Authentication Broker](faq-for-web-authentication-broker.yml)
</dt> <dt>
[Web Authentication Broker SDK sample app](https://github.com/microsoft/Windows-universal-samples/tree/master/Samples/WebAuthenticationBroker)
</dt> <dt>
[**Windows.Security.Authentication.Web**](/uwp/api/Windows.Security.Authentication.Web)
</dt> </dl>
| 66.699115 | 894 | 0.777365 | eng_Latn | 0.998162 |
146c7252e7bff6104fa6644886c730fda3b36a6b | 102 | md | Markdown | README.md | SaraJohar2020/Self-design---1-2 | 596ff90b2870522069126e000acad024abeb9310 | [
"MIT"
] | null | null | null | README.md | SaraJohar2020/Self-design---1-2 | 596ff90b2870522069126e000acad024abeb9310 | [
"MIT"
] | null | null | null | README.md | SaraJohar2020/Self-design---1-2 | 596ff90b2870522069126e000acad024abeb9310 | [
"MIT"
] | null | null | null | # C42RV_SpeedRacer_ReferenceCode
Reference Code
https://sarajohar2020.github.io/Self-design---1-2/
| 17 | 51 | 0.794118 | yue_Hant | 0.594292 |
146cfd8be5aa3ee4f25db66f041e024bca49014e | 2,388 | md | Markdown | README.md | xmeta/gulp-scaffold | b4e50a55d2d9f1394f6740a6423a63b364ad5b0d | [
"MIT"
] | null | null | null | README.md | xmeta/gulp-scaffold | b4e50a55d2d9f1394f6740a6423a63b364ad5b0d | [
"MIT"
] | null | null | null | README.md | xmeta/gulp-scaffold | b4e50a55d2d9f1394f6740a6423a63b364ad5b0d | [
"MIT"
] | null | null | null | # Project template for [gulp.js](http://gulpjs.com/)
<img width="114px" height="257px" align="right" src="https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png"/>
### What it does
* [Jade](http://jade-lang.com) files to HTML
* [Stylus](http://learnboost.github.io/stylus) files to CSS
* [TypeScript](http://www.typescriptlang.org/) files to Javascript through [browserify](http://browserify.org/)
* You are able to use 'require' in your client-side code
* Serves your static files to localhost:9001
* Reloads your browser with LiveReload when files change
## Getting things up and running
- Install [Node.js](http://nodejs.org)
```
git clone git@github.com:leonidas/gulp-project-template.git <your project name>
cd <your project name>
npm install
npm start
open http://localhost:9001 in your browser
````
### Enable LiveReload
Install [LiveReload for Chrome](https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei?hl=en)
## CLI Commands
* npm install
* Installs server-side dependencies from NPM and client-side dependencies from Bower
* npm start
* Compiles your files, starts watching files for changes, serves static files to port 9001
* npm run build
* Builds everything
Minification, uglification and other tasks you're expected to run before deploying your product can be made by running the build command with env variable NODE_ENV set to "production"
NODE_ENV=production npm run build
## Development guidelines
* **public** - directory should be dedicated only to compiled/copied files from **src** - directory.
It should be possible to delete directory completely and after **npm start** or **npm run build** everything should be as they were before the deletion.
* All backend dependencies should be installed with **npm**. Browser dependencies should be installed with **bower** or with **npm**.
### Using JavaScript instead of CoffeeScript
Remove coffeeify transform from package.json file (browserify.transform field)
```diff
"transform": [
- "coffeeify",
"debowerify",
"deamdify"
]
```
and change the ".coffee" extension to ".js" from gulpfile.coffee
```diff
config =
scripts:
- source: './src/coffee/main.coffee'
- extensions: ['.coffee']
+ source: './src/js/main.js'
+ extensions: ['.js']
```
You also can change the directory name to scripts or what ever.
| 38.516129 | 183 | 0.734925 | eng_Latn | 0.963291 |
146d74a42da816e432ac9ac1af9f65f691a4be28 | 124 | md | Markdown | README.md | Dipti-Pro/Bank_Atm | d194f0fbee686f367758626167b6495ce6eaa410 | [
"MIT"
] | null | null | null | README.md | Dipti-Pro/Bank_Atm | d194f0fbee686f367758626167b6495ce6eaa410 | [
"MIT"
] | null | null | null | README.md | Dipti-Pro/Bank_Atm | d194f0fbee686f367758626167b6495ce6eaa410 | [
"MIT"
] | null | null | null | # Bank_Atm

| 31 | 111 | 0.806452 | yue_Hant | 0.086349 |
146db04043d65d672ab06d00a8a11fe92e1ca8dd | 638 | md | Markdown | README.md | b4ldr/docker-ncdc | 71c9502ff614a43fd6ac05760c6180cae2da0b3d | [
"MIT"
] | null | null | null | README.md | b4ldr/docker-ncdc | 71c9502ff614a43fd6ac05760c6180cae2da0b3d | [
"MIT"
] | null | null | null | README.md | b4ldr/docker-ncdc | 71c9502ff614a43fd6ac05760c6180cae2da0b3d | [
"MIT"
] | null | null | null | # docker-ncdc
```
docker build repo for ncdc
```
## Build
```
docker build -t ncdc .
```
## Run
You will need to manually forward port 4242 to the docker host.
```
docker run -it -p 4242:4242 --name ncdc ncdc
```
if you want to run with a persistent store and mount a ro share
directory you can use
```
./run.sh $share_dir $ncdc_dir
```
in this case `$share_dir` will be mounted as `/mnt/share` so you can add files to
your share with something like the following
```
/share film /mnt/share/film/
```
`$ncdc_dir` will be mounted to `${HOME}/.ncdc` and include all the persistent
storage and setting needed for running the daemon
| 18.228571 | 81 | 0.700627 | eng_Latn | 0.998955 |
146dfe60b26bdd572883f7ed91567bcfcef9b25e | 1,251 | md | Markdown | docs/docs/getting-started/changing-environment.md | annajung/same-project | d37795cf0a2d58ef956ad89075ea63b66c019e9e | [
"Apache-2.0"
] | null | null | null | docs/docs/getting-started/changing-environment.md | annajung/same-project | d37795cf0a2d58ef956ad89075ea63b66c019e9e | [
"Apache-2.0"
] | null | null | null | docs/docs/getting-started/changing-environment.md | annajung/same-project | d37795cf0a2d58ef956ad89075ea63b66c019e9e | [
"Apache-2.0"
] | null | null | null | ---
type: docs
title: "Changing Environment"
description: "Requiring that certain steps use different base images."
weight: 40
---
Often times, a specific step will require a particular base image to execute inside of. This may be because the image was pre-built with particular dependencies (packages, libraries, drivers, etc) which Jupyter does not need to execute, but may be necessary on the back end. This feature allows to specify the base image required to execute a given step.
### Editing the Notebook to Allow Tags
First, go to the notebook settings and view "Cell Metadata":

### Adding an Environment Specifier
You can add alternate base images with the following tag structure:
```bash
environment=environment_name
```
For example:
```bash
environment=default
```

or:
```bash
environment=private-training-env
```

### Update SAME File
Then in your SAME file, you'll add a section that maps to the specific image you'll need.

| 27.8 | 354 | 0.76259 | eng_Latn | 0.974915 |
14713b2c174deb3d08877c602cf79bcfc9268325 | 168 | md | Markdown | README.md | monkdaf/boilerplate-nodejs | 39067a1296274ceafa635b99d212fdbcdeb9efd3 | [
"MIT"
] | null | null | null | README.md | monkdaf/boilerplate-nodejs | 39067a1296274ceafa635b99d212fdbcdeb9efd3 | [
"MIT"
] | null | null | null | README.md | monkdaf/boilerplate-nodejs | 39067a1296274ceafa635b99d212fdbcdeb9efd3 | [
"MIT"
] | null | null | null | # boilerplate-nodejs
boilerplate for nodejs app
## Setup
```
make install
```
P.S. based on hexlet boilerplate https://github.com/hexlet-boilerplates/nodejs-package
| 15.272727 | 86 | 0.755952 | kor_Hang | 0.436268 |
1471b7f7fe1018639d0600eaaedf5a135fdcf43c | 1,898 | markdown | Markdown | blog/_posts/2011-11-29-a-list-of-words-containing-rent.markdown | dylanmtaylor/dylanmtaylor.github.io | 0f3c5a2aa5c2b0843f826d6284cf7d1f2a29e4cc | [
"MIT"
] | null | null | null | blog/_posts/2011-11-29-a-list-of-words-containing-rent.markdown | dylanmtaylor/dylanmtaylor.github.io | 0f3c5a2aa5c2b0843f826d6284cf7d1f2a29e4cc | [
"MIT"
] | null | null | null | blog/_posts/2011-11-29-a-list-of-words-containing-rent.markdown | dylanmtaylor/dylanmtaylor.github.io | 0f3c5a2aa5c2b0843f826d6284cf7d1f2a29e4cc | [
"MIT"
] | null | null | null | ---
layout: post
status: publish
published: false
title: A List of Words Containing "Rent"
author:
display_name: Dylan Taylor
login: dylanmtaylor
email: dylan@dylanmtaylor.com
date: '2011-11-29 15:43:01 +0000'
date_gmt: '2011-11-29 15:43:01 +0000'
---
<p>So Barnes & Noble College is currently doing a word game called "Words With RENT" where you can submit a word with "rent" in it in order to have a chance at winning $100. Here's a list of all of them (generated using cat /usr/share/dict/words | grep -i "rent" in Linux):<br />
abhorrent, adherent, adherent's, adherents, apparent, apparently, apprentice, apprentice's, apprenticed, apprentices, apprenticeship, apprenticeship's, apprenticeships, apprenticing, belligerent, belligerently, belligerents, coherent, coherently, concurrent, concurrently, current, currently, currents, deferential, deferentially, deterrent, deterrent's, deterrents, different, differential, differentials, differentiate, differentiated, differentiates, differentiating, differentiation, differentiation's, differently, godparent, godparent's, godparents, grandparent, grandparent's, grandparents, incoherent, incoherently, indifferent, indifferently, inferential, inherent, inherently, irreverent, irreverently, overenthusiastic, parent, parent's, parentage, parentage's, parental, parented, parentheses, parenthesis, parenthesis's, parenthesize, parenthesized, parenthesizes, parenthesizing, parenthetic, parenthetical, parenthetically, parenthood, parenthood's, parenting, parents, preferential, preferentially, recurrent, referent, referent's, referential, referential's, rent, rent's, rental, rental's, rentals, rented, renter, renter's, renters, renting, rents, reverent, reverential, reverently, stepparent, stepparent's, stepparents, torrent, torrent's, torrential, torrents, transparent, transparently, undercurrent, undercurrent's, undercurrents</p>
| 126.533333 | 1,359 | 0.797682 | eng_Latn | 0.617437 |
1474025d05d405a8ee79062fa1c6a37b265316fd | 8,817 | md | Markdown | docs/xamarin-forms/user-interface/indicatorview.md | yoichinak/xamarin-docs.ja-jp | b75b04a6bad506b9e4f75fb4fa92afad1b4ec8f1 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/xamarin-forms/user-interface/indicatorview.md | yoichinak/xamarin-docs.ja-jp | b75b04a6bad506b9e4f75fb4fa92afad1b4ec8f1 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/xamarin-forms/user-interface/indicatorview.md | yoichinak/xamarin-docs.ja-jp | b75b04a6bad506b9e4f75fb4fa92afad1b4ec8f1 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Xamarin.Forms IndicatorView
description: IndicatorView は、CarouselView 内の項目数と現在位置を表すインジケーターを表示するコントロールです。
ms.prod: xamarin
ms.assetId: BBCC223B-4B02-46B7-80BB-EE0E86A67CE2
ms.technology: xamarin-forms
author: davidbritch
ms.author: dabritch
ms.date: 02/24/2021
no-loc:
- Xamarin.Forms
- Xamarin.Essentials
ms.openlocfilehash: 27ee2892a25a86210bc86ad4d329fd1f1ca2c788
ms.sourcegitcommit: 322e7bcf9fb8c1ad52ab8e929bea95d45e280834
ms.translationtype: MT
ms.contentlocale: ja-JP
ms.lasthandoff: 03/03/2021
ms.locfileid: "101751423"
---
# <a name="xamarinforms-indicatorview"></a>Xamarin.Forms IndicatorView
[サンプルのダウンロード](/samples/xamarin/xamarin-forms-samples/userinterface-indicatorviewdemos/)
は、 [`IndicatorView`](xref:Xamarin.Forms.IndicatorView) 内の項目数と現在位置を表すインジケーターを表示するコントロールです [`CarouselView`](xref:Xamarin.Forms.CarouselView) 。
[](indicatorview-images/circles-large.png#lightbox "IndicatorView の円")
[`IndicatorView`](xref:Xamarin.Forms.IndicatorView) では、次のプロパティが定義されています。
- `Count`インジケーターの数を示す型の `int` 。
- `HideSingle`型のは、 `bool` 1 つだけ存在する場合にインジケーターを非表示にするかどうかを示します。 既定値は `true` です。
- `IndicatorColor``Color`インジケーターの色 (型)。
- `IndicatorSize``double`インジケーターのサイズ (型)。 既定値は6.0 です。
- `IndicatorLayout`型のは、の `Layout<View>` レンダリングに使用されるレイアウトクラスを定義し [`IndicatorView`](xref:Xamarin.Forms.IndicatorView) ます。 このプロパティはによって設定され Xamarin.Forms 、通常、開発者が設定する必要はありません。
- `IndicatorTemplate`型の `DataTemplate` 。各インジケーターの外観を定義するテンプレート。
- `IndicatorsShape`型の、 `IndicatorShape` 各インジケーターの形状。
- `ItemsSource`型の `IEnumerable` 。インジケーターが表示されるコレクション。 プロパティが設定されると、このプロパティは自動的に設定され `CarouselView.IndicatorView` ます。
- `MaximumVisible`型の、 `int` 表示されるインジケーターの最大数。 既定値は `int.MaxValue` です。
- `Position`型の、 `int` 現在選択されているインジケーターインデックス。 このプロパティは、 `TwoWay` バインディングを使用します。 プロパティが設定されると、このプロパティは自動的に設定され `CarouselView.IndicatorView` ます。
- `SelectedIndicatorColor`型の `Color` 。の現在の項目を表すインジケーターの色 [`CarouselView`](xref:Xamarin.Forms.CarouselView) 。
これらのプロパティは、[`BindableProperty`](xref:Xamarin.Forms.BindableProperty) オブジェクトが基になっています。つまり、これらは、データ バインディングの対象にすることができ、スタイルを設定できます。
## <a name="create-an-indicatorview"></a>IndicatorView を作成する
次の例は、XAML でをインスタンス化する方法を示してい [`IndicatorView`](xref:Xamarin.Forms.IndicatorView) ます。
```xaml
<StackLayout>
<CarouselView ItemsSource="{Binding Monkeys}"
IndicatorView="indicatorView">
<CarouselView.ItemTemplate>
<!-- DataTemplate that defines item appearance -->
</CarouselView.ItemTemplate>
</CarouselView>
<IndicatorView x:Name="indicatorView"
IndicatorColor="LightGray"
SelectedIndicatorColor="DarkGray"
HorizontalOptions="Center" />
</StackLayout>
```
この例では、の下にが [`IndicatorView`](xref:Xamarin.Forms.IndicatorView) レンダリングされ、 [`CarouselView`](xref:Xamarin.Forms.CarouselView) 内の各項目のインジケーターが表示され `CarouselView` ます。 には、 `IndicatorView` プロパティをオブジェクトに設定することによって、データが設定され `CarouselView.IndicatorView` `IndicatorView` ます。 各インジケーターは薄い灰色の円であり、の現在の項目を表すインジケーターは `CarouselView` 濃い灰色です。
> [!IMPORTANT]
> プロパティを設定すると、プロパティがプロパティにバインドされ、プロパティがプロパティ `CarouselView.IndicatorView` `IndicatorView.Position` にバインドされ `CarouselView.Position` `IndicatorView.ItemsSource` `CarouselView.ItemsSource` ます。
## <a name="change-indicator-shape"></a>インジケーター形状の変更
[`IndicatorView`](xref:Xamarin.Forms.IndicatorView)クラスには `IndicatorsShape` 、インジケーターの形状を決定するプロパティがあります。 このプロパティは、列挙体のメンバーの1つに設定でき `IndicatorShape` ます。
- `Circle` インジケーター図形を円形にすることを指定します。 これは、`IndicatorView.IndicatorsShape` プロパティの既定値です。
- `Square` インジケーターの形状が正方形であることを示します。
次の例は、 [`IndicatorView`](xref:Xamarin.Forms.IndicatorView) 正方形のインジケーターを使用するように構成されたを示しています。
```xaml
<IndicatorView x:Name="indicatorView"
IndicatorsShape="Square"
IndicatorColor="LightGray"
SelectedIndicatorColor="DarkGray" />
```
## <a name="change-indicator-size"></a>インジケーターサイズの変更
[`IndicatorView`](xref:Xamarin.Forms.IndicatorView)クラスには `IndicatorSize` `double` 、デバイスに依存しない単位でインジケーターのサイズを決定する型のプロパティがあります。 このプロパティの既定値は6.0 です。
次の例は、 [`IndicatorView`](xref:Xamarin.Forms.IndicatorView) より大きなインジケーターを表示するように構成されたを示しています。
```xaml
<IndicatorView x:Name="indicatorView"
IndicatorSize="18" />
```
## <a name="limit-the-number-of-indicators-displayed"></a>表示されるインジケーターの数を制限する
[`IndicatorView`](xref:Xamarin.Forms.IndicatorView)クラスには `MaximumVisible` 、表示される `int` インジケーターの最大数を決定する型のプロパティがあります。
次の例は、 [`IndicatorView`](xref:Xamarin.Forms.IndicatorView) 最大6つのインジケーターを表示するように構成されたを示しています。
```xaml
<IndicatorView x:Name="indicatorView"
MaximumVisible="6" />
```
## <a name="define-indicator-appearance"></a>インジケーターの外観を定義する
各インジケーターの外観は、プロパティをに設定することによって定義でき `IndicatorView.IndicatorTemplate` [`DataTemplate`](xref:Xamarin.Forms.DataTemplate) ます。
```xaml
<StackLayout>
<CarouselView ItemsSource="{Binding Monkeys}"
IndicatorView="indicatorView">
<CarouselView.ItemTemplate>
<!-- DataTemplate that defines item appearance -->
</CarouselView.ItemTemplate>
</CarouselView>
<IndicatorView x:Name="indicatorView"
Margin="0,0,0,40"
IndicatorColor="Transparent"
SelectedIndicatorColor="Transparent"
HorizontalOptions="Center">
<IndicatorView.IndicatorTemplate>
<DataTemplate>
<Label Text=""
FontFamily="{OnPlatform iOS=Ionicons, Android=ionicons.ttf#}, Size=12}" />
</DataTemplate>
</IndicatorView.IndicatorTemplate>
</IndicatorView>
</StackLayout>
```
「」で指定された要素は、 [`DataTemplate`](xref:Xamarin.Forms.DataTemplate) 各インジケーターの外観を定義します。 この例では、各インジケーターは、 [`Label`](xref:Xamarin.Forms.Label) フォントアイコンを表示するです。
次のスクリーンショットは、フォントアイコンを使用して表示されるインジケーターを示しています。
[](indicatorview-images/templated-large.png#lightbox "テンプレート化 IndicatorView")
## <a name="set-visual-states"></a>表示状態の設定
[`IndicatorView`](xref:Xamarin.Forms.IndicatorView) には `Selected` 、の現在位置を示すインジケーターに対する視覚的な変化を開始するために使用できる表示状態があり `IndicatorView` ます。 一般的なユースケースで [`VisualState`](xref:Xamarin.Forms.VisualState) は、現在の位置を表すインジケーターの色を変更します。
```xaml
<ContentPage ...>
<ContentPage.Resources>
<Style x:Key="IndicatorLabelStyle"
TargetType="Label">
<Setter Property="VisualStateManager.VisualStateGroups">
<VisualStateGroupList>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal">
<VisualState.Setters>
<Setter Property="TextColor"
Value="LightGray" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="Selected">
<VisualState.Setters>
<Setter Property="TextColor"
Value="Black" />
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
</VisualStateGroupList>
</Setter>
</Style>
</ContentPage.Resources>
<StackLayout>
...
<IndicatorView x:Name="indicatorView"
Margin="0,0,0,40"
IndicatorColor="Transparent"
SelectedIndicatorColor="Transparent"
HorizontalOptions="Center">
<IndicatorView.IndicatorTemplate>
<DataTemplate>
<Label Text=""
FontFamily="{OnPlatform iOS=Ionicons, Android=ionicons.ttf#}, Size=12}"
Style="{StaticResource IndicatorLabelStyle}" />
</DataTemplate>
</IndicatorView.IndicatorTemplate>
</IndicatorView>
</StackLayout>
</ContentPage>
```
この例では、表示状態は、 `Selected` 現在の位置を表すインジケーターが黒に設定されていることを示してい [`TextColor`](xref:Xamarin.Forms.Label.TextColor) ます。 それ以外の場合、 `TextColor` インジケーターのは薄い灰色になります。

ビジュアルの状態の詳細については、「[Xamarin.Forms Visual State Manager](visual-state-manager.md)」をご覧ください。
## <a name="related-links"></a>関連リンク
- [IndicatorView (サンプル)](/samples/xamarin/xamarin-forms-samples/userinterface-indicatorviewdemos/)
- [Xamarin.Forms CarouselView](~/xamarin-forms/user-interface/carouselview/index.md)
- [Xamarin.Forms Visual State Manager](visual-state-manager.md)
| 44.306533 | 322 | 0.696269 | yue_Hant | 0.6164 |
14743702666e624a18f1e6d258f2727d6cfec0e4 | 8,101 | md | Markdown | README.md | Maxyee/Julhas_Playlist_Angular7_Django | e2ed7ec34ab2317f5bf8202bb122b1f42ade771f | [
"MIT"
] | 2 | 2019-05-17T17:36:41.000Z | 2019-07-03T05:51:38.000Z | README.md | Maxyee/Julhas_Playlist_Angular7_Django | e2ed7ec34ab2317f5bf8202bb122b1f42ade771f | [
"MIT"
] | 8 | 2019-07-07T10:39:27.000Z | 2022-02-10T11:05:45.000Z | README.md | Maxyee/Julhas_Playlist_Angular7_Django | e2ed7ec34ab2317f5bf8202bb122b1f42ade771f | [
"MIT"
] | 2 | 2019-05-22T08:44:18.000Z | 2021-04-02T13:08:31.000Z | 
# Julhas PlayList Solver (Youtube)
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.3.8. (FrontEnd)
And another was created with Django Rest Framework version 2.2.3 (BackEnd)
## Theme of This Project
This project is simple crud operation between two-end using 'REST API' both Frontend and backend (frontend is developed with Angular 7 which can make request CRUD to the server end. And the backend service is made with Django rest framework.)
That backend service is all made into this resposity a folder called Backend.
Simple Idea is This project hold a users favourite play list of his youtube. Suppose a user have shown so many videos in youtube but he want to collect all of those video as a list of favourite on his own software not in the youtube favourite list.
## How to Run this project on your machine (FrontEnd)
1.At first install `nodejs` to your machine go to the folder called Frontend(Angular)
then run this command
`npm install -g @angular/cli`
after installing the angular/cli. run another command
`npm install`
Then
`npm start`
Navigate to `http://localhost:4200/home`. Because I didn't Implement the Login Register Section Right now. Thats why you need to navigate to this URL.
## How to Run this project on your machine (BackEnd)
2.First you have to install `python 3` and `pip` to your machine also install the `virtualenv` for installing Django project
so after installing this three thing run commad from cmd/bash
intall django commad
`pip install django`
install virtual env command
`pip install virtualenv`
Now go to the folder called `BackEnd(Django)` into this folder run cmd and make a `virtualenv` you can write this for making env folder
`virtualenv env`
this command will create a env file to that BackEnd(Django) folder. After this activate your env file and then all of this pakages for this project
Command for activate env (windows)
`env\Scripts\activate`
After activating your env, then switch to the project folder named playlistBackend
`cd playlistBackend`
then install all of the pakages form the file called `requirement.txt` you just write this command into the cmd
`pip install -r requirement.txt`
Now we have to migrate our models so that we can make table to the database and can make CRUD operation.
Screen shot of Categories Model:

Screen shot of Videos Model:

The migrate command is :
`python manage.py migrate`
Then run the backend server using command
`python manage.py runserver`
You will see that a development server will start at the port 8000 `http://localhost:8000/`
## Class Diagram for Backend

## CRUD API Check By PostMan
Now you have to check that all the api is working fine or not . You can install postman software where we can generate request for the serversite
to see the response of that api request
At first you need to make a access token becasue the application in backend is authenticated by the django defualt authentication feature.
So when you want to hit a request to the server site you need to pass a token for every API
So at first hit a API for registartion a User
http://localhost:8000/rest-auth/registration/
take help from this Screen Shot

then hit another API for Login User an this APi will give you the access token
http://localhost:8000/rest-auth/login/
Take help from the Screen Shot

Check For Video GET request:
http://localhost:8000/api/v1/videos/

Check For Video POST request:
http://localhost:8000/api/v1/videos/

Note: When You going to post the `video_url` value just add ta watch string provided by youtube. Take help from the screen Shot.

Check For Video PUT request:
http://localhost:8000/api/v1/videos/19

Check For Video DELETE request:
http://localhost:8000/api/v1/videos/18

So After checking all of this APi is working fine you can move to the frontend section and call those API from the Angular Project
## FrontEnd Calling API Angular Preview
Already we see that two of our application is running into the localhost two ports. one is running into port number : 4200 and another is
running into the port number: 8000 .
Now Rest of the work is we need to make request using `HttpClientModule` from angular module to handle our data through this CRUD API which I Already described in PostMan Check Section
Into this section I am describing all of the methods and Service I make in FrontEnd Angular for the project
# For GET Data:
At first you will see the home page where a REST API request GET is called. Which Brings All of the data from the database about Video.
a method is called when page load which is `ngOnInit()` into the `home.component.ts` file

Into that method I called another method `refreshList()` which is define into a service called `video.service.ts` this `refreshList()` hit the server GET request and get's all the data.

# For POST Data:
if you need to post a data to the application you also need to hit Post Api. And Post request is also created form `video.service.ts` file
click on the nav bar Add Videos Button you will get a Form which is model binding form our `video.model.ts` file
After clicking the Upload button we fire a POST request to the server with the Form Data.

# For PUT Data:
When You want to update your specific data for this application video just click the button called Update Video you will get another page with the binding data and then when you press Upload button it fires another service method `putVideo()` . This method is define into the `video.service.ts` file
note that we need to pass the specific model for update the specific video as a parameter to that `putVideo(Video)` method

# For DELETE Data:
And deleting the video just click the Delete Video button from home. It will call a method `deleteVideo()` from `video.service.ts` file
note that we need to pass the specific Id for delete the specific video as a parameter to that `deleteVideo(id)` method

## Further help
Mail me into this email address : julhas.glostars@gmail.com
## Contributors
- Md Julhas Hossain
## License & copyright
© Md Julhas Hossain, Self Learning Software Development
Licensed under the [MIT License](LICENSE)
| 46.557471 | 299 | 0.796568 | eng_Latn | 0.974431 |
1475389a35986b334357ee37dde5a36948128bc4 | 1,275 | md | Markdown | vendor/github.com/aaronland/go-json-query/README.md | sfomuseum/go-sfomuseum-airports | e9393205d0fe1cacac595b2e5d5e41bafb1655d3 | [
"BSD-3-Clause"
] | 7 | 2020-06-27T11:18:16.000Z | 2021-09-17T09:56:39.000Z | vendor/github.com/aaronland/go-json-query/README.md | sfomuseum/go-sfomuseum-airports | e9393205d0fe1cacac595b2e5d5e41bafb1655d3 | [
"BSD-3-Clause"
] | 29 | 2020-04-01T15:36:03.000Z | 2022-02-11T16:33:11.000Z | vendor/github.com/aaronland/go-json-query/README.md | whosonfirst/go-whosonfirst-spatial-database-sqlite | b79b00b095a92e4240e66683a040d147d6144f5e | [
"BSD-3-Clause"
] | 2 | 2019-08-21T15:53:25.000Z | 2020-03-31T13:58:21.000Z | # go-json-query
Go package for querying and filter JSON documents using tidwall/gjson-style paths and regular expressions for testing values.
## Documentation
[](https://pkg.go.dev/github.com/aaronland/go-json-query)
## Important
Documentation is incomplete.
## Example
```
import (
"context"
"flag"
"fmt"
"github.com/aaronland/go-json-query"
"io"
"os"
"strings"
)
func main() {
var queries query.QueryFlags
flag.Var(&queries, "query", "One or more {PATH}={REGEXP} parameters for filtering records.")
valid_modes := strings.Join([]string{query.QUERYSET_MODE_ALL, query.QUERYSET_MODE_ANY}, ", ")
desc_modes := fmt.Sprintf("Specify how query filtering should be evaluated. Valid modes are: %s", valid_modes)
query_mode := flag.String("query-mode", query.QUERYSET_MODE_ALL, desc_modes)
flag.Parse()
paths := flag.Args()
qs := &query.QuerySet{
Queries: queries,
Mode: *query_mode,
}
ctx := context.Background()
for _, path := range paths {
fh, _ := os.Open(path)
defer fh.Close()
body, _ := io.ReadAll(fh)
matches, _ := query.Matches(ctx, qs, body)
fmt.Printf("%s\t%t\n", path, matches)
}
}
```
## See also
* https://github.com/tidwall/gjson | 20.238095 | 137 | 0.692549 | eng_Latn | 0.316398 |
14757b36bcc7c324494b3d4bde43a438d51b9285 | 4,971 | markdown | Markdown | documentation/versioning_policy.markdown | er0ck/puppetdb | 3b4bdc6a5203edf7dca57fda7833a57ec9d82fc5 | [
"Apache-2.0"
] | null | null | null | documentation/versioning_policy.markdown | er0ck/puppetdb | 3b4bdc6a5203edf7dca57fda7833a57ec9d82fc5 | [
"Apache-2.0"
] | null | null | null | documentation/versioning_policy.markdown | er0ck/puppetdb | 3b4bdc6a5203edf7dca57fda7833a57ec9d82fc5 | [
"Apache-2.0"
] | null | null | null | ---
title: "PuppetDB 4.4: Versioning policy"
layout: default
canonical: "/puppetdb/latest/versioning_policy.html"
---
[semver]: http://semver.org
[commands]: ./api/command/v1/commands.html
This document aims to create some transparency about how we version the PuppetDB software, so that both developers and users can understand the rules we try to follow internally.
There are a few different levels of versioning we have to consider when it comes to PuppetDB:
* PuppetDB software
* HTTP API
* Metrics API
* Commands and wire formats
* Upgrades
Some general statements about this policy:
* The API versioning policy only applies to versions after v3.
* If it's not written down, one shouldn’t assume it to be true or false. We expect people to raise bugs on this policy if they find a matter that needs clarification and is not already covered.
## PuppetDB software
This relates to the versioning associated with an overall PuppetDB release. In this case, we follow the rules of [Semantic Versioning][semver] as closely as possible. We’ll speak about that in this document using the X.Y.Z notation:
> "A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. X is the major version, Y is the minor version, and Z is the patch version." - semver.org
## HTTP API
This means the top level (such as /v2, /v3, /v4 ... /v10) parts we see prefixed to HTTP end-points. Today, this includes the query API, metrics API, and the command submission API.
There are four states a versioned API can be in:
* Current
* Experimental/Future
* Deprecated
* Retired
### Current
Changes to the existing "stable" or "current" API can be made if the change is largely deemed backward compatible (so long as the consumer is less strict about new unexpected parameters).
For example:
* Adding a new optional parameter to an existing query end-point response
* A new end-point
* A new query operator
* New content-type support for submission (for example: application/json or application/msgpack)
* A new optional parameter for /command submission
Changes that remove or rename endpoints, fields, and query operators, however, must be performed in experimental API versions only.
### Experimental
The experimental API is where non-backward-compatible "breaking" changes belong. This API version also includes features that require some experimentation and user testing before they are able to be moved into the current version.
The experimental API may change without notice to allow us to refine this future API rapidly. However, we will endeavor to notify users of this change in our release notes.
The experimental API will usually become current on the next major version boundary of PuppetDB (a version X release from a semver perspective).
### Deprecated
A deprecated API is no longer current and is on its way to retirement. These APIs are no longer actively maintained/changed. As soon as a version is marked as deprecated, users should be moving off of it immediately.
Deprecation of an old API version implies retirement on the next major version boundary of PuppetDB (a version X release from a semver perspective).
### Retired
Retired APIs have been removed and no longer function. A deprecated API will usually become retired implicitly on the next PuppetDB X release boundary.
At this stage all functionality is removed and documentation is removed.
## Commands and wire formats
Commands can be versioned on an individual command basis, so we are generally free to create revisions as required. This is quite different from the query API, where we need to version all endpoints at the same time.
Commands are primarily represented by a corresponding wire format. Wire formats are versioned along with the corresponding command.
Changes to an existing command version can be made if the change is backward compatible. For example:
* Addition of optional parameters within a command or wire format
* Change of a required parameter to optional
* Addition of a new enum value for an existing field
Some examples of changes that *will* require a new command version:
* Removal or renaming of parameters or parameter values within a command or wire format
* Change to serialization for wire formats inside payload
The [API commands][commands] documentation contains more concrete information about the existing commands, versions and statuses for this version of PuppetDB.
## Upgrades
PuppetDB supports upgrading from prior releases. Upgrading ensures data and configuration information is preserved across releases. Upgrades are only supported from any previous release in the same major version or any release in the prior major version. As an example, it's safe to upgrade from 2.0.0 to 2.2.2, or from 1.6.0 to 2.2.2. We don't support upgrading from 1.6.0 straight to 3.0.0. Users in this situation will want to first upgrade from 1.6.0 to 2.2.2, then from 2.2.2 to 3.0.0.
| 50.72449 | 490 | 0.787769 | eng_Latn | 0.999448 |
14774817cf60f60237ad61a71b03d1c2ce49f2ad | 2,756 | md | Markdown | README.md | Aldnoah-Labs/tempe | 29d96128227ecaaaed64bc4b19a942bf22910dc6 | [
"MIT"
] | null | null | null | README.md | Aldnoah-Labs/tempe | 29d96128227ecaaaed64bc4b19a942bf22910dc6 | [
"MIT"
] | null | null | null | README.md | Aldnoah-Labs/tempe | 29d96128227ecaaaed64bc4b19a942bf22910dc6 | [
"MIT"
] | null | null | null |
<center>
<img src='logo/tempe.png' height='120' align="center" alt='Tempe Logo' />
</center>
> Featherlight (< 2kB) helper for Javascript date formatting
Sometimes all you need is just a simple date formatting without all of those super powers.
Name is taken from `tempo` and [tempe](https://en.wikipedia.org/wiki/Tempeh)
## 📦 Install
```
$ yarn add tempe
or
$ npm install tempe --save
```
## 💻 Usage
Use the default export, pass existing date object or you can initialize it like normal Javascript Date object.
```js
import tempe from 'tempe';
// use tempe as Date initializer
tempe(2020, 0, 13).format('dd, DD MMM YYYY'); // "Monday, 13 Jan 2020"
// pass existing Date object to tempe
tempe(new Date(2020, 0, 13)).format('dd, DD MMM YYYY'); // "Monday, 13 Jan 2020"
// time formatting
tempe(2020, 2, 25, 23, 59).format('DD MMMM YYYY hh:mm:ss'); // "25 March 2020 23:59:00"
tempe(2020, 2, 25, 23, 59).format('H at DD/MM/YYYY'); // "11 PM at 25/03/2020"
```
## 🌐 i18n
Tempe supports internationalization by specifying the locale while formatting
```js
import tempe from 'tempe';
tempe(2020, 5, 13).format('DD MMM YYYY', 'ja'); // "13日 6月 2020年"
tempe(2020, 5, 13).format('DD MMM YYYY', 'vi'); // "13 Tháng 6 2020"
tempe(2020, 5, 13).format('DD MMM YYYY', 'id'); // "13 Juni 2020"
```
## 📝 List of all available formats
| Format | Output | Description |
| ------ | ---------------- | ------------------------------------- |
| `YY` | 18 | Two-digit year |
| `YYYY` | 2018 | Four-digit year |
| `M` | 1-12 | The month, beginning at 1 |
| `MM` | 01-12 | The month, 2-digits |
| `MMM` | Jan-Dec | The abbreviated month name |
| `MMMM` | January-December | The full month name |
| `D` | 1-31 | The day of the month |
| `DD` | 01-31 | The day of the month |
| `dd` | Sun-Sat | The short name of the day of the week |
| `ddd` | Sunday-Saturday | The name of the day of the week |
| `H` | 0-23 AM/PM | The hour with AM/PM |
| `h` | 01-12 | The hour, 12-hour clock |
| `hh` | 01-12 | The hour, 12-hour clock |
| `m` | 0-59 | The minute |
| `mm` | 00-59 | The minute, 2-digits |
| `s` | 0-59 | The second |
| `ss` | 00-59 | The second, 2-digits |
---
This project was bootstrapped with [TSDX](https://github.com/jaredpalmer/tsdx).
| 35.333333 | 110 | 0.507257 | eng_Latn | 0.911166 |
14778f3b711adc0356ddda4bfd7066c94e18c9e7 | 958 | md | Markdown | docs/framework/wcf/diagnostics/tracing/microsoft-transactions-transactionbridge-protocolstarted.md | rprouse/docs-microsoft | af49757a2295db7fab1a4aea118fbb896861dba8 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/framework/wcf/diagnostics/tracing/microsoft-transactions-transactionbridge-protocolstarted.md | rprouse/docs-microsoft | af49757a2295db7fab1a4aea118fbb896861dba8 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/framework/wcf/diagnostics/tracing/microsoft-transactions-transactionbridge-protocolstarted.md | rprouse/docs-microsoft | af49757a2295db7fab1a4aea118fbb896861dba8 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: "Microsoft.Transactions.TransactionBridge.ProtocolStarted"
ms.custom: ""
ms.date: "03/30/2017"
ms.prod: ".net-framework"
ms.reviewer: ""
ms.suite: ""
ms.technology:
- "dotnet-clr"
ms.tgt_pltfrm: ""
ms.topic: "article"
ms.assetid: ac770da2-218e-4708-aeb5-465369c94a8d
caps.latest.revision: 5
author: "dotnet-bot"
ms.author: "dotnetcontent"
manager: "wpickett"
---
# Microsoft.Transactions.TransactionBridge.ProtocolStarted
The WS-Atomic Transaction protocol service was started.
## Description
Traced during Transaction Manager startup to indicate which protocol has been successfully started.
## See Also
[Tracing](../../../../../docs/framework/wcf/diagnostics/tracing/index.md)
[Using Tracing to Troubleshoot Your Application](../../../../../docs/framework/wcf/diagnostics/tracing/using-tracing-to-troubleshoot-your-application.md)
[Administration and Diagnostics](../../../../../docs/framework/wcf/diagnostics/index.md)
| 34.214286 | 156 | 0.735908 | eng_Latn | 0.303754 |
1477c75864169b4a1a799567240502b3d1a64358 | 302 | md | Markdown | _people/weil_ray.md | ThrivingAgSystems/thrivingagsystems.github.io | 62240db8a0c3f83b3ca4db18db5db403faf20b1b | [
"MIT"
] | null | null | null | _people/weil_ray.md | ThrivingAgSystems/thrivingagsystems.github.io | 62240db8a0c3f83b3ca4db18db5db403faf20b1b | [
"MIT"
] | null | null | null | _people/weil_ray.md | ThrivingAgSystems/thrivingagsystems.github.io | 62240db8a0c3f83b3ca4db18db5db403faf20b1b | [
"MIT"
] | null | null | null | ---
name: Ray Weil
image: assets/img/rayweil.jpg
professional-title: " Professor of Soil Science, University of Maryland "
email: rweil@umd.edu
link-to-bio-page: https://enst-old.seed.umd.edu/people/faculty/ray-weil
link-to-personal-website: ''
linkedin: ''
twitter: ''
facebook: ''
instagram: ''
---
| 21.571429 | 73 | 0.721854 | eng_Latn | 0.142721 |
1478050d07d0c17d63d1ef56c88880581c39475a | 2,433 | md | Markdown | CHANGELOG.md | chempro/hi-b2b-client-dotnet | 5d3c76dad67f88c5e7b2d84339c89b8bd976a64f | [
"Apache-2.0"
] | 7 | 2018-06-26T06:49:19.000Z | 2021-01-11T07:15:28.000Z | CHANGELOG.md | chempro/hi-b2b-client-dotnet | 5d3c76dad67f88c5e7b2d84339c89b8bd976a64f | [
"Apache-2.0"
] | 4 | 2019-05-06T01:56:24.000Z | 2021-11-25T02:36:16.000Z | CHANGELOG.md | chempro/hi-b2b-client-dotnet | 5d3c76dad67f88c5e7b2d84339c89b8bd976a64f | [
"Apache-2.0"
] | 8 | 2018-06-12T02:12:29.000Z | 2022-01-30T09:58:13.000Z | ### Change Log/Revision History
1.7.0
------------------
* Added support for NUNIT testing exposing interfaces for dummy responses to can test locally
1.6.0
-----
* Added modified R40-CreateVerifiedIHI-Mod.cs file for HIPS
1.5.1
-----
* Referencing latest Common Library to fix Serialize issue with HI Service
1.5.0
-----
* Updated the signedXml.CheckSignature function passing in certificate as fw 4.6.2 fails if not there
1.4.0
-----
* removed redundant code/libs
* updated mapper to nuget package
* Latest common library
1.3.1
-----
* Removed duplicate calls to web service in :
ProviderSearchForProviderOrganisationClient.cs (5.0) and ProviderSearchForProviderIndividualClient.cs (5.0)
1.3.0
-----
+ Added ProviderManageProviderDirectoryEntryClient, ProviderManageProviderOrganisationClient and ProviderReadProviderOrganisationClient.
+ Added australian unstructured address search.
+ Added ProviderBatchAsyncSearchForProviderIndividualClient and ProviderBatchAsyncSearchForProviderOrganisationClient.
+ Added CreateVerifiedIHI for new Borns
* Updated ConsumerSearchIHI, ConsumerSearchIHIBatchSync and ConsumerSearchIHIBatchAsync client to include support for unstructured addresses.
* Removed prohibition on "history" field.
1.2.1
-----
* Fixed issue with state not being serialized due to the absence of the "stateFieldSpecified" field in Australian Postal and Australian Street Addresses.
1.2.0
-----
+ Added client for ProviderSearchForProviderIndividual.
+ Added client for ProviderSearchForProviderOrganisation.
1.1.6
-----
* Change the clients to expose the property SoapMessages, which further contains SOAP request and response XMLs and Message IDs.
1.1.4
-----
+ Added CSP support to the header of the request.
1.1.3
-----
* ConsumerSearchIHIBatchSyncClient has time out values on the client increased.
1.1.2
-----
- Removed ValidateUri from Validation class
* Updated clients throw a specific FaultException when one is returned from Medicare which gives details on the problem
1.1.1
-----
* Changed namespaces of generated classes to Nehta.MCAR3 and Nehta.MCAR32
+ Added a sample project
+ Added validation to ID length for batch IHI search
1.1.0
-----
+ Added ProviderReadReferenceDataClient
+ Added the following properties to all clients:
- LastSoapRequestTimestamp
- LastSoapRequestMessageID
- HIServiceOperation
- HIServiceVersion
1.0.0
-----
+ Original release
| 23.621359 | 153 | 0.774764 | eng_Latn | 0.94912 |
14785f662da9cba3a8da8ca172d6c0b59daef829 | 1,115 | md | Markdown | docs/mfc/do-i-have-to-derive-new-classes-from-cobject-q.md | Chrissavi/cpp-docs.de-de | 6cc90f896a0a1baabb898a00f813f77f058bb7e5 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/do-i-have-to-derive-new-classes-from-cobject-q.md | Chrissavi/cpp-docs.de-de | 6cc90f896a0a1baabb898a00f813f77f058bb7e5 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/do-i-have-to-derive-new-classes-from-cobject-q.md | Chrissavi/cpp-docs.de-de | 6cc90f896a0a1baabb898a00f813f77f058bb7e5 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Muss ich von CObject neue Klassen ableiten?
ms.date: 11/04/2016
helpviewer_keywords:
- derived classes [MFC], from CObject
- CObject class [MFC], when to use
ms.assetid: 26021031-feaf-424c-80d1-9547c4409d6a
ms.openlocfilehash: 371ede0f0921182c066b4cb224e66b18eb6f1208
ms.sourcegitcommit: c21b05042debc97d14875e019ee9d698691ffc0b
ms.translationtype: MT
ms.contentlocale: de-DE
ms.lasthandoff: 06/09/2020
ms.locfileid: "84616744"
---
# <a name="do-i-have-to-derive-new-classes-from-cobject"></a>Muss ich von CObject neue Klassen ableiten?
Nein, das ist nicht.
Leiten Sie eine Klasse von [CObject](reference/cobject-class.md) ab, wenn Sie die Funktionen benötigen, die Sie bereitstellt, z. b. Serialisierung oder dynamische Erstellung. Viele Daten Klassen müssen in Dateien serialisiert werden. Daher ist es häufig ratsam, Sie von abzuleiten `CObject` . Ein Beispiel für eine von abgeleitete Klasse `CObject` finden Sie im [Scribble](../overview/visual-cpp-samples.md)-Beispiel.
## <a name="see-also"></a>Siehe auch
[CObject-Klasse: Häufig gestellte Fragen](cobject-class-frequently-asked-questions.md)
| 46.458333 | 417 | 0.789238 | deu_Latn | 0.907334 |
14787097c610ef031198b22581499df9d77bde4c | 3,024 | md | Markdown | _posts/운영체제/2021-01-31-교착상태(Deadlock).md | CHS96/CHS96.github.io | a1309fb6fb2af15ff550bb88dd8d2026b480e3a6 | [
"MIT"
] | 1 | 2021-01-17T02:43:58.000Z | 2021-01-17T02:43:58.000Z | _posts/운영체제/2021-01-31-교착상태(Deadlock).md | CHS96/CHS96.github.io | a1309fb6fb2af15ff550bb88dd8d2026b480e3a6 | [
"MIT"
] | null | null | null | _posts/운영체제/2021-01-31-교착상태(Deadlock).md | CHS96/CHS96.github.io | a1309fb6fb2af15ff550bb88dd8d2026b480e3a6 | [
"MIT"
] | null | null | null | ---
title: "교착상태(Deadlock)"
excerpt: "교착상태(Deadlock)를 알아보자!"
categories:
- 운영체제
last_modified_at: 2021-01-31T18:35:00
---
다중 프로그래밍 환경에서는 여러 프로세스들이 한정된 자원을 사용하려고 서로 경쟁할 수 있다. 한 프로세스가 자원을 요청했을 때, 자원을 사용할 수 없는 상황이 발생할 수 있고, 그 경우 프로세스는 대기 상태로 들어간다. 이처럼 대기 중인 프로세스들이 대기 상태를 변경할 수 없는 상황을 **교착상태**라고 한다.
즉, 교착상태는 **두 개 이상의 작업이 서로 상대방의 작업이 끝나기 만을 기다리고 있기 때문에 결과적으로 아무것도 완료되지 못하는 상태를 의미**한다.
교착상태가 발생하기 위해서는 다음 네 가지 조건이 모두 충족되어야 한다.

현재의 대부분의 운영체제들은 교착상태를 막을 수 없다. 따라서 교착상태가 발생했을 때 이를 처리하는 3가지 방법이 존재한다.

그렇다면 교착상태를 처리하는 방법들에 대해서 간단하게 알아보자.
먼저 **교착상태 예방(Deadlock Prevention)**이다. 교착상태 예방은 **자원의 요청 조건을 제한함으로써 교착상태가 발생하기 위한 네 가지 조건 중 적어도 한 조건을 성립하지 않도록 보장하는 방법**이다.
그렇다면 교착상태가 발생하기 위한 네 가지 조건들을 어떻게 제한할까? 다음과 같이 제한한다.

하지만 mutex 락과 세마포어 같은 자원에는 적용할 수 없는 등 많은 문제들이 발생하게 된다. 또한, 자원 낭비가 굉장히 심하기 때문에 사실상 교착상태를 예방하는 것은 불가능한 수준이다.
다음으로 **교착상태 회피(Deadlock Avoidance)**이다. 교착상태 회피는 **교착상태에 빠질 가능성이 있는지 없는지를 운영체제가 검사하고 빠질 가능성이 없을 경우에만 자원을 할당함으로써 교착상태 발생을 피하는 방법**이다.
교착상태에 빠질 가능성이 있는지 없는지를 판단하기 위해 **'안전 상태'**와 **'불안전 상태'**로 구분한다. 운영체제는 안전 상태를 유지할 수 있는 친구에게만 자원을 할당해 줌으로써 교착상태 발생을 회피한다.
상태를 구분하기 시스템은 프로세스들이 실행되기 전에 각자 자원이 얼마나 필요하고 어떻게 요청할 것인지에 대한 추가 정보를 제공하도록 요구한다.
교착상태 회피를 위한 대표적인 알고리즘으로는 **은행원 알고리즘(Banker's Algorithm)**이 있다.
다음으로 **교착상태 탐지(Deadlock Detection)**이다.
교착상태 탐지는 **시스템에 교착상태가 발생했는지를 점검하여 교착상태에 있는 프로세스와 자원을 발견하는 것을 의미**한다. 이를 위해 교착상태 탐지 알고리즘과 자원 할당 그래프 등을 활용한다.
교착상태 탐지 알고리즘이나 자원 할당 그래프를 통해 교착상태가 존재한다고 결정되면 이를 처리해야 한다. 한 가지 방법은 교착상태가 발생한 것을 운영자에게 통지해, 운영자가 수작업으로 처리하게 하는 방법이고 다른 방법은 시스템이 자동적으로 교착상태로부터 회복하게 하는 **교착상태 회복(Deadlock Recovery)**이다.
회복을 위해선 교착상태를 깨뜨려야 하는데 두 가지 방법이 존재한다. 첫 번째 방법은 순환 대기를 깨뜨리기 위해 단순히 한 개 이상의 프로세스를 중지(abort) 시키는 **프로세스 종료(Process Termination)**이다.
프로세스 종료하는 방법은 **교착상태 프로세스를 모두 중지시키는 방법**과 **교착상태가 제거될 때까지 한 프로세스 씩 종료하는 방법**이 있다.
모두 중지시키는 방법은 확실하게 교착상태의 사이클을 깨뜨릴 수 있지만 이에 따른 비용이 크다. 왜냐하면 현재 프로세스 중 오랫동안 연산했을 프로세스가 존재할 수도 있기 때문이다. 현재 작업 중인 프로세스도 종료되기 때문에 그만큼의 손실을 가지게 된다.
한 프로세스씩 종료하는 방법 역시 매번 탐지 알고리즘을 호출하여 교착상태에 빠졌는지를 확인해야 하기 때문에 상당한 오버헤드를 유발한다. 또한 비용을 최소화시키기 위해 어떤 프로세스부터 종료시킬 건 지를 결정해야 한다. 프로세스의 우선순위를 매기기 위한 다양한 요인들이 존재하기 때문에 이 또한 쉽지 않은 문제이다.
두 번째 방법은 교착상태에 있는 하나 이상의 프로세스들로부터 **자원을 선점(Resource Preemption)** 하는 방법이다. 자원 선점을 이용해 교착상태를 제거하려면, 교착상태가 깨어질 때까지 프로세스로부터 자원을 계속적으로 선점해 이들을 다른 프로세스들에게 주어야 한다.
선점이 필요할 경우 다음의 세 가지 사항들을 고려해야 한다.

현대에 우리가 주로 사용하는 Linux와 Windows 등 대부분의 운영체제들은 **교착상태가 발생하게 되면 무시하는 방법**을 사용한다.
그 이유는 첫 번째로 대부분의 시스템에서 교착상태가 발생할 확률이 상당히 낮기 때문이다. 또한 위에서 각 방법들을 살펴봤듯이 교착상태 예방, 회피, 탐지, 회복 방법은 별로 발생하지 않는 교착상태를 위해 많은 자원과 비용이 필요하기 때문에 굉장히 비효율적인 방법이다.
| 47.25 | 184 | 0.720238 | kor_Hang | 1.00001 |
1478a9af6970d98680fb8cbab4f041d080606c5c | 1,827 | md | Markdown | README.md | marissaverdonck/zorgcowboys | 4817450cfc378b852531692f200b828b1d819463 | [
"MIT"
] | null | null | null | README.md | marissaverdonck/zorgcowboys | 4817450cfc378b852531692f200b828b1d819463 | [
"MIT"
] | null | null | null | README.md | marissaverdonck/zorgcowboys | 4817450cfc378b852531692f200b828b1d819463 | [
"MIT"
] | null | null | null | # Zorgcowboys

## Live Demo
https://marissaverdonck.github.io/zorgcowboys/
## De opdracht
In opdracht van Pointer brengen we fraude in kaart van zorginstellingen in Nederland. Er wordt een interactieve visualisatie verwacht waarmee je door de winstcijfers van zorginstellingen kunt zoeken. De winstcijfers van zorginstellingen zijn inzichtelijk, zodat
* Pointer nieuwe verhalen kan vinden
* Lezers hun eigen organisatie kunnen controleren
## Het concept

## Features
* Zoekfunctie
* Filter
* Sorteer
* Grafieken
## Onderzoek
Bekijk hoe de code geschreven is en waarom bepaalde keuzes gemaakt zijn in de [Wiki](https://github.com/marissaverdonck/zorgcowboys/wiki)
## Data
De data is afkomstig van CIBG, Ministerie van Volksgezondheid, Welzijn en sport. Het gaat om data met daarin 20.000 zorginstellingen, over de periode 2011-2018, met winst, omzet, percentages en het soort zorgbedrijf. Ik heb de data omgevormd naar een JSON-bestand.
## Installatie
1. Open de terminal
2. Navigeer in de CLI naar de map waar de applicatie geinstaleerd kan worden
3. Typ <br/>
```
Git clone https://github.com/marissaverdonck/zorgcowboys.git
```
4. Installeer NPM en de dependencies<br/>
```
npm install
```
## Tools
* NPM
* D3
## Credits
* Pointer - Voor deze kans, feedback en de data
* Maaike van Cruchten - Voor de feedback
* Violet Jim en Rick Bos - Voor de fijne samenwerking en het visuele design
* Curran Kelleher - Making a bar chart https://vizhub.com/curran/326730c80fc54969ae501fb58c8cb94b
## License
[MIT License](https://github.com/marissaverdonck/zorgcowboys/blob/master/license)
| 32.625 | 264 | 0.783251 | nld_Latn | 0.996792 |
14799b908e928d5781ddf3259dfa17405892535e | 194 | md | Markdown | README.md | jdelibas/flutter-apps | 270a1fc75d2042b6b16bc9275f529fea7fd070df | [
"FTL"
] | 1 | 2021-03-22T09:54:35.000Z | 2021-03-22T09:54:35.000Z | README.md | jdelibas/flutter-apps | 270a1fc75d2042b6b16bc9275f529fea7fd070df | [
"FTL"
] | null | null | null | README.md | jdelibas/flutter-apps | 270a1fc75d2042b6b16bc9275f529fea7fd070df | [
"FTL"
] | null | null | null | # flutter-apps
> Collection of flutter apps/demos
## Install
```
yay -S flutter android-studio
flutter doctor --android-licenses
```
## New Project
```
flutter create ${NAME}
``` | 12.933333 | 37 | 0.64433 | eng_Latn | 0.530127 |
147a2a5bd179c68640a8a405f3ae393fe5cc16a3 | 956 | md | Markdown | README.md | legionth/http-middleware | c1d849f58727fa6cf409965194fde956a590996b | [
"MIT"
] | null | null | null | README.md | legionth/http-middleware | c1d849f58727fa6cf409965194fde956a590996b | [
"MIT"
] | null | null | null | README.md | legionth/http-middleware | c1d849f58727fa6cf409965194fde956a590996b | [
"MIT"
] | null | null | null | # legionth/http-middleware
HTTP middleware interfaces based on the current status (2016-12-05) of the equivalent [PSR document from fig-php](https://github.com/php-fig/fig-standards/blob/master/proposed/http-middleware/middleware.md)
**Table of Contents**
* [Usage](#usage)
* [Install](#install)
## Usage
This is collection of all interfaces defined the currently proposed PSR-15 document.
It MAY can change in the future because this document is under discussions.
Create your own middleware e.g. using:
```php
class MyMiddleWare implements ClientMiddlewareInterface
{
public function process(RequestInterface $request, DelegateInterface $next)
{
return $next->next($request);
}
}
```
Checkout the PSR-15 proposed definitions.
## Install
[New to Composer?](https://getcomposer.org/doc/00-intro.md)
This will install the latest supported version:
```bash
$ composer require legionth/http-middleware:^0.1
```
## License
MIT
| 23.317073 | 206 | 0.748954 | eng_Latn | 0.897071 |
147cbac39ad982f3a15955f5dea9238fbdc27cfb | 868 | md | Markdown | _posts/2021-07-04-deputado-federal-apoiou-grupo-religioso-em-oferta-de-vacinas-ao-ministerio-da-saude.md | tatudoquei/tatudoquei.github.io | a3a3c362424fda626d7d0ce2d9f4bead6580631c | [
"MIT"
] | null | null | null | _posts/2021-07-04-deputado-federal-apoiou-grupo-religioso-em-oferta-de-vacinas-ao-ministerio-da-saude.md | tatudoquei/tatudoquei.github.io | a3a3c362424fda626d7d0ce2d9f4bead6580631c | [
"MIT"
] | null | null | null | _posts/2021-07-04-deputado-federal-apoiou-grupo-religioso-em-oferta-de-vacinas-ao-ministerio-da-saude.md | tatudoquei/tatudoquei.github.io | a3a3c362424fda626d7d0ce2d9f4bead6580631c | [
"MIT"
] | 1 | 2022-01-13T07:57:24.000Z | 2022-01-13T07:57:24.000Z | ---
layout: post
item_id: 3373435235
title: >-
Deputado federal apoiou grupo religioso em oferta de vacinas ao Ministério da Saúde
author: Tatu D'Oquei
date: 2021-07-04 21:06:23
pub_date: 2021-07-04 21:06:23
time_added: 2021-07-24 08:22:23
category:
tags: []
image: https://apublica.org/wp-content/uploads/2021/07/materia-04-07-facebook.png
---
As negociações paralelas de vacinas entre a Secretaria Nacional de Assuntos Humanitários (Senah), presidida pelo reverendo Amilton Gomes de Paula, a empresa Davati Medical Supply e o Ministério da Saúde contaram com apoio do deputado federal Roberto de Lucena (Podemos-SP).
**Link:** [https://apublica.org/2021/07/deputado-federal-apoiou-grupo-religioso-em-oferta-de-vacinas-ao-ministerio-da-saude/](https://apublica.org/2021/07/deputado-federal-apoiou-grupo-religioso-em-oferta-de-vacinas-ao-ministerio-da-saude/)
| 45.684211 | 273 | 0.778802 | por_Latn | 0.861971 |
147ce95d234d70bd3f998ee98940f6ca0a0af910 | 3,287 | md | Markdown | articles/cognitive-services/Bing-Entities-Search/includes/quickstarts/entity-search-client-library-javascript.md | fuatrihtim/azure-docs.tr-tr | 6569c5eb54bdab7488b44498dc4dad397d32f1be | [
"CC-BY-4.0",
"MIT"
] | 16 | 2017-08-28T08:29:36.000Z | 2022-01-02T16:46:30.000Z | articles/cognitive-services/Bing-Entities-Search/includes/quickstarts/entity-search-client-library-javascript.md | fuatrihtim/azure-docs.tr-tr | 6569c5eb54bdab7488b44498dc4dad397d32f1be | [
"CC-BY-4.0",
"MIT"
] | 470 | 2017-11-11T20:59:16.000Z | 2021-04-10T17:06:28.000Z | articles/cognitive-services/Bing-Entities-Search/includes/quickstarts/entity-search-client-library-javascript.md | fuatrihtim/azure-docs.tr-tr | 6569c5eb54bdab7488b44498dc4dad397d32f1be | [
"CC-BY-4.0",
"MIT"
] | 25 | 2017-11-11T19:39:08.000Z | 2022-03-30T13:47:56.000Z | ---
title: Bing Varlık Arama JavaScript istemci kitaplığı hızlı başlangıç
titleSuffix: Azure Cognitive Services
services: cognitive-services
author: aahill
manager: nitinme
ms.service: cognitive-services
ms.topic: include
ms.date: 03/06/2020
ms.author: aahi
ms.custom: devx-track-js
ms.openlocfilehash: b145cc1689ad2c1a39591df0e39bb8d0445333c7
ms.sourcegitcommit: eb6bef1274b9e6390c7a77ff69bf6a3b94e827fc
ms.translationtype: MT
ms.contentlocale: tr-TR
ms.lasthandoff: 10/05/2020
ms.locfileid: "91376328"
---
JavaScript için Bing Varlık Arama istemci kitaplığıyla varlıkları aramaya başlamak için bu hızlı başlangıcı kullanın. Bing Varlık Arama, çoğu programlama dili ile uyumlu bir REST API sahip olsa da, istemci kitaplığı, hizmeti uygulamalarınızla tümleştirmenin kolay bir yolunu sağlar. Bu örneğe ilişkin kaynak kodu [GitHub](https://github.com/Azure-Samples/cognitive-services-node-sdk-samples/blob/master/Samples/entitySearch.js)' da bulunabilir.
## <a name="prerequisites"></a>Önkoşullar
* [Node.js](https://nodejs.org/en/download/)'in en son sürümü.
* [JavaScript için Bing varlık arama SDK 'sı](https://www.npmjs.com/package/@azure/cognitiveservices-entitysearch)
* Yüklemek için şunu çalıştırın `npm install @azure/cognitiveservices-entitysearch`
* `CognitiveServicesCredentials` `@azure/ms-rest-azure-js` İstemcinin kimliğini doğrulamak için paketteki sınıf.
* Yüklemek için şunu çalıştırın `npm install @azure/ms-rest-azure-js`
[!INCLUDE [cognitive-services-bing-news-search-signup-requirements](~/includes/cognitive-services-bing-entity-search-signup-requirements.md)]
## <a name="create-and-initialize-the-application"></a>Uygulamayı oluşturma ve başlatma
1. En sevdiğiniz IDE veya düzenleyicide yeni bir JavaScript dosyası oluşturun ve aşağıdaki gereksinimleri ekleyin.
```javascript
const CognitiveServicesCredentials = require('@azure/ms-rest-azure-js').CognitiveServicesCredentials;
const EntitySearchAPIClient = require('@azure/cognitiveservices-entitysearch');
```
2. `CognitiveServicesCredentials`Abonelik anahtarınızı kullanarak bir örnek oluşturun. Ardından, bununla birlikte arama istemcisinin bir örneğini oluşturun.
```javascript
let credentials = new CognitiveServicesCredentials('YOUR-ACCESS-KEY');
let entitySearchApiClient = new EntitySearchAPIClient(credentials);
```
## <a name="send-a-request-and-receive-a-response"></a>İstek gönderme ve yanıt alma
1. İle bir varlık arama isteği gönderin `entitiesOperations.search()` . Bir yanıt aldıktan sonra, `queryContext` döndürülen sonuç sayısını ve ilk sonucun açıklamasını yazdırın.
```javascript
entitySearchApiClient.entitiesOperations.search('seahawks').then((result) => {
console.log(result.queryContext);
console.log(result.entities.value);
console.log(result.entities.value[0].description);
}).catch((err) => {
throw err;
});
```
<!-- Removing until we can replace with a sanitized version.

-->
## <a name="next-steps"></a>Sonraki adımlar
> [!div class="nextstepaction"]
> [Tek sayfalı web uygulaması oluşturma](../../tutorial-bing-entities-search-single-page-app.md)
* [Bing Varlık Arama API'si nedir?](../../overview.md) | 46.295775 | 444 | 0.771524 | tur_Latn | 0.973251 |
147d151a908b46f064bad5a3df481c7be2968e98 | 2,985 | md | Markdown | README.md | PaulAYoun/handbook | 5b6f1a87e209f85f3082443506c62ea85e61cdfb | [
"MIT"
] | null | null | null | README.md | PaulAYoun/handbook | 5b6f1a87e209f85f3082443506c62ea85e61cdfb | [
"MIT"
] | null | null | null | README.md | PaulAYoun/handbook | 5b6f1a87e209f85f3082443506c62ea85e61cdfb | [
"MIT"
] | null | null | null | # Our Company Handbook
*A Collaborative Handbook for Team & Community*
Every company wants to build a healthy, dynamic, values-driven, and inclusive (add more fancy buzzwords here...) organizational culture but it's much easier said than done. And we understand as we know that most companies, especially early-stage ventures like ours, struggle with simply taking the time to write out and codify their beliefs and cultural values when there are 1,000 other things to be doing!
But we know, after having built a few companies previously, that the consistent effort is :100: worth it in the short and long-run. And by also making these documents open to the public and by encouraging our own team to collaborate on it allows us the opportunity and chance to minimize bias and exclusionary behavior while modeling our beliefs publicly in a way that will benefit everyone.
In short, we want to walk-the-walk and not just talk-the-talk when it comes to organizational health!
Consequently, this WIP ("Work in Progress") repository will contain most (but certainly not all) of the current organizational policies that we use at Yen. It's not perfect just as the founders of Yen and our growing team are not perfect. Rather, we want it to be an open dialogue and representation of who we are today and who we want to be in the future.
It's the starting block rather than the finish line.
Feel free to use this repository for your own needs, fork it, share it, and even consider making a pull request if you see something that doesn't look right. We welcome all feedback and suggestions so the more the merrier!
Here's to making our company as good as the products we sell, if not better.
— [John](mailto:john@yen.io)
***
## Table of Contents
1. [Introduction](https://github.com/yenio/handbook/blob/master/0-introduction.md) - Mission, Values, Staff, & Story
2. [Onboarding](https://github.com/yenio/handbook/blob/master/1-onboarding.md) - Getting Started on the Right Foot
3. [Benefits & Insurance](https://github.com/yenio/handbook/blob/master/2-benefits.md) - We Got You Fam
4. [Employment Policies](https://github.com/yenio/handbook/blob/master/3-employment.md) - These are Important
5. [PeopleOps Resources](https://github.com/yenio/handbook/blob/master/99-resources.md) - A Curated List of Posts, Tools, and More
6. [Growth](https://github.com/yenio/handbook/blob/master/4-growth.md) - How We Communicate Who We Are
7. [YEN](https://github.com/yenio/changelog/wiki/1.-FAQ) - The FAQ and Don't Forget the [Changelog](https://github.com/yenio/changelog) & [Our Roadmap](https://github.com/yenio/changelog/wiki/2.-Roadmap)!
7. [Policy Changes](https://github.com/yenio/handbook/blob/master/98-policy-changes.md) - Change is the only constant...
## Work @ Yen
We currently don't have open roles, but are always open to conversations to get to know you and to share more about what we're building.
Please feel free to [ping us](mailto:su@yen.io) and tell us about yourself!
| 78.552632 | 407 | 0.771524 | eng_Latn | 0.994699 |
147d7b1cdc8a70ed37150131d4d4540c0c43231a | 2,459 | md | Markdown | governance.md | lpaglione/DUO | 771e6df71e104ab2a534cc93d9389c6dd7e89474 | [
"CC-BY-4.0"
] | 48 | 2017-03-30T09:01:04.000Z | 2022-02-16T08:19:27.000Z | governance.md | lpaglione/DUO | 771e6df71e104ab2a534cc93d9389c6dd7e89474 | [
"CC-BY-4.0"
] | 105 | 2016-11-30T16:34:03.000Z | 2022-02-09T18:59:20.000Z | governance.md | lpaglione/DUO | 771e6df71e104ab2a534cc93d9389c6dd7e89474 | [
"CC-BY-4.0"
] | 16 | 2019-01-02T16:39:47.000Z | 2021-12-15T08:53:45.000Z | # DUO - governance process
Authors: Melanie Courtot, Moran cabili, Laura Paglione
Date : 11/29/2018
Status : Draft v2. First round of comments done. To undergo final approval.
* Changes and modifications to DUO should be use cases driven. Requests should include a concise description of the use case and datasets to which the changes/new terms would apply, as well as contact details for a representative of the project requesting the change.
* Changes and requests are to be publicly posted on our [GH tracker](https://github.com/EBISPOT/DUO/issues)
* We will attribute via ORCID contributions of the community, such as annotation properties at the term level referring to the submitter etc
* Contribution from the global scientific community (in addition to and beyond GA4GH) are welcome
* Proposed changes when they affect existing terms in the DUO will be communicated on the DU mailing-list, inviting feedback and comments at least 2 weeks in advance.
* We will make efforts to directly engage with specific groups when we know they have a stake in a specific aspect of DUO. However, this is not always possible and interested parties should subscribe to [GH notifications](https://github.com/EBISPOT/DUO) and [mailing-lists](https://groups.google.com/a/ga4gh.org/d/forum/duri) to keep informed of latest developments and discussions.
* The DUO governance committee (DUO GC) reviews and votes on proposed changes. The GC aims at providing feedback within 2 weeks.
* The DUO GC:
* Is composed of the DU chairs and representatives of driver projects. It is expected that membership will rotate. Initial rotation will be staggered over several years to prevent global turn-over at once.
* Nominations will be invited on a yearly basis (including re appointment of current GC members). This includes self-nominations. Eligibility for the GC is based on being part of the DURI group or a GA4GH driver project. If there are more nominations than open spaces the GC will vote to determine new members.
* The DUO GC comprises an odd number of at least 5 members.
* Decisions are made by majority consensus of the elected members (e.g., If the GC comprises 5 members, a consensus will be reached when 3 consistent votes are received).
* Initial membership will include the DU chairs and representative of groups that are **actively consuming** DUO (e.g., they have an implementation that references DUO terms).
| 102.458333 | 384 | 0.780805 | eng_Latn | 0.99943 |
147e1068c7d50c87769b6febbef676bb98497d14 | 3,608 | md | Markdown | README.md | Pehon1/Solar | 9d30448f802bfe1feb10108dc567f892d1f719c9 | [
"MIT"
] | null | null | null | README.md | Pehon1/Solar | 9d30448f802bfe1feb10108dc567f892d1f719c9 | [
"MIT"
] | null | null | null | README.md | Pehon1/Solar | 9d30448f802bfe1feb10108dc567f892d1f719c9 | [
"MIT"
] | 1 | 2020-04-25T04:00:33.000Z | 2020-04-25T04:00:33.000Z | <div align="center">
<img src="./solar-logo.png" />
</div>
# Solar
[](http://cocoapods.org/pods/Solar) [](https://github.com/Carthage/Carthage) [](https://travis-ci.org/ceeK/Solar)
[](https://raw.githubusercontent.com/hyperium/hyper/master/LICENSE)
A Swift helper for generating Sunrise and Sunset times.
Solar performs its calculations locally using an algorithm from the [United States Naval Observatory](http://edwilliams.org/sunrise_sunset_algorithm.htm), and thus does not require the use of a network.
## Usage
Solar simply needs a date and a location specified as a latitude and longitude:
```swift
let solar = Solar(for: someDate, latitude: 51.528308, longitude: -0.1340267)
let sunrise = solar.sunrise
let sunset = solar.sunset
```
We can also omit providing a date if we just need the sunrise and sunset for today:
```swift
let solar = Solar(latitude: 51.528308, longitude: -0.1340267)
let sunrise = solar.sunrise
let sunset = solar.sunset
```
Note that all dates are UTC. Don't forget to format your date into the appropriate timezone if required.
### Types of sunrise and sunset
There are several types of sunrise and sunset that Solar generates. They differ by how many degrees the sun lies below the horizon:
- **Official** (~0°)
- **Civil** (6° below horizon)
- **Nautical** (12° below horizon)
- **Astronomical** (18° below horizon)
For more information, see https://www.timeanddate.com/astronomy/different-types-twilight.html
## Convenience methods
Solar also comes packaged with some convenience methods:
```swift
// Whether the location specified by the `latitude` and `longitude` is in daytime on `date`
let isDaytime = solar.isDaytime
// Whether the location specified by the `latitude` and `longitude` is in nighttime on `date`
let isNighttime = solar.isNighttime
```
## Installation
Solar is available through CocoaPods and Carthage.
### Cocoapods
To install, simply add the following line to your podfile:
```ruby
pod "Solar"
```
Then run `pod install`
### Carthage
Add the `ceek/Solar` project to your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile)
```ruby
github "ceeK/Solar"
```
Then run `carthage update`
# License
The MIT License (MIT)
Copyright (c) 2016-2018 Chris Howell
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.
| 33.719626 | 341 | 0.763858 | eng_Latn | 0.766529 |
147e828a691300ad09ec89c67ab7b9fdbef6d761 | 150 | md | Markdown | README.md | MartinLasek/vaporberlinBE | ae26f9ec3f69d4572729a1d45139301b705e6fbb | [
"MIT"
] | 7 | 2017-10-19T20:53:48.000Z | 2019-02-17T15:06:03.000Z | README.md | martinlasek/vaporberlinBE | ae26f9ec3f69d4572729a1d45139301b705e6fbb | [
"MIT"
] | null | null | null | README.md | martinlasek/vaporberlinBE | ae26f9ec3f69d4572729a1d45139301b705e6fbb | [
"MIT"
] | 2 | 2017-12-13T09:35:32.000Z | 2017-12-24T20:38:36.000Z | <h1 align="center">
<a href="http://vapor.berlin/">vapor.berlin</a>
</h1>
<h3 align="center">
the backend of our meetup website for VaporBerlin
</h3>
| 21.428571 | 49 | 0.693333 | yue_Hant | 0.385103 |
147e8a80f681069dbec9b5a5fe1dabe5c0e6e0c2 | 1,544 | md | Markdown | site/docs/4.12.0/overview/releaseNotes.md | pkumar-singh/bookkeeper | fe671ea51bc837d71c54a9db265c3dbd5c990e47 | [
"Apache-2.0"
] | 1,545 | 2015-01-12T07:49:24.000Z | 2022-03-31T10:30:49.000Z | site/docs/4.12.0/overview/releaseNotes.md | pkumar-singh/bookkeeper | fe671ea51bc837d71c54a9db265c3dbd5c990e47 | [
"Apache-2.0"
] | 2,613 | 2015-12-02T13:57:01.000Z | 2022-03-31T23:35:22.000Z | site/docs/4.12.0/overview/releaseNotes.md | pkumar-singh/bookkeeper | fe671ea51bc837d71c54a9db265c3dbd5c990e47 | [
"Apache-2.0"
] | 843 | 2015-02-09T03:11:58.000Z | 2022-03-31T10:31:41.000Z | ---
title: Apache BookKeeper 4.12.0 Release Notes
---
This is the 23rd release of Apache BookKeeper, it is a great milestone for the project, and we are introducing a few breaking changes on the API.
There are not changes on the wire protocol, on metadata and on persisted data on disks by default, so the new version is totally compatible with the previous ones.
With BookKeeper 4.12.0 we are making a step toward better deployment on environments with dynamic network addresses with BP-41.
We are also enhancing the new Client API by adding features that were still missing, like the ability of queryng for ledger metadata.
Apache BookKeeper users are encouraged to [upgrade to 4.12.0](../../admin/upgrade). The technical details of this release are summarized
below.
## News and noteworthy
- [https://github.com/apache/bookkeeper/pull/1901] Enable ExplicitLAC but default on the reader side and in the New org.apache.bookkeeper.client.api.ReadHandle API
- [https://github.com/apache/bookkeeper/issues/2396] BP-41 Bookie Network Address Change Tracking + BookieId
- [https://github.com/apache/bookkeeper/issues/2422] BP-42 List and Access LedgerMetadata on the new API
- [https://github.com/apache/bookkeeper/pull/2433] Support Java 11 and switch to Java 11 default Docker images
- [https://github.com/apache/bookkeeper/pull/2455] BP-40 clean up output for tools
- [https://github.com/apache/bookkeeper/pull/2429] Certificate role based authorization
## Details
https://github.com/apache/bookkeeper/issues?q=+label%3Arelease%2F4.12.0+
| 61.76 | 163 | 0.784974 | eng_Latn | 0.954643 |
147f4ba8877ef2d7c583def8e8d33fc475204b1d | 2,576 | md | Markdown | README.md | chettriyuvraj/httpserver | b11c829457faa5051ee4c29937f8936cbbbf155c | [
"MIT"
] | null | null | null | README.md | chettriyuvraj/httpserver | b11c829457faa5051ee4c29937f8936cbbbf155c | [
"MIT"
] | null | null | null | README.md | chettriyuvraj/httpserver | b11c829457faa5051ee4c29937f8936cbbbf155c | [
"MIT"
] | null | null | null | # httpserver
Python implementation of a HTTP server for serving static html files - text only. Can be used to fire up a local server that accepts http requests and serves html text-only files from the same directory. The script uses only the standard library and handles HTTP requests by itself without handlers such as SimpleHTTPRequestHandler.
## Screenshots:
Here, we fire up the code by running the main httpserver.py script. The TCP/IP socket uses port 50009. The server is now listening for HTTP requests.

Opening the browser, we type in 'localhost:50009/index.html'.
On pressing enter - http request is sent to local server -the content of the index.html file (Hello World in this case) is displayed in the browser.

Finally, on going back to the terminal, as evidence of the http request from the browser - the script displays the entire request header here.

## How to run
1. The repository is to be cloned to the computer, following which the main script httpserver.py can be run straightaway - this creates TCP/IP socket, fires up the server which then listens for HTTP requests. (Screenshot 1)
2. Opening the browser, type in 'localhost:50009/index.html'. This means we are sending an HTTP request to the localserver - at port 50009 - requesting for index.html file.
Ensure that there is an index.html file in the directory of the main httpserver script. (For convenience - the file is already provided)
On pressing enter - http request is sent to local server -the content of the index.html file (Hello World in this case) is displayed in the browser. (Screenshot 2)
3. To confirm http request and response, go back to terminal. The script displays the HTTP request from the browser in full. This is the http 'GET' request that clients send to servers when asking for a file.(Screenshot 3)
Possible issue: Connection refused when firing up the server - this might happen if the PORT(50009) is already being used by some other service. Change the PORT variable in httpserver script to some other large number (say 50008) and run the script again.
## Future
- This was an extremely minimal implementation demonstrating the HTTP 'Get' request that clients send to servers. Would want to implement other HTTP requests (POST, et al) as well as a full-scale implementation of the 'GET' request.
- Figure out how to access server through remote computer using port forwarding
- Possibly write a piece on Medium documenting how/what I did
| 62.829268 | 332 | 0.779503 | eng_Latn | 0.996734 |
147f7ac4e2c1dd8360eee470900606c55ce85912 | 319 | md | Markdown | Projects/Project1/project_submit/README.md | EthanRao/COMP-4320 | 81dd0bc0250bdd0de21ba2b7fe2f8c16e2bf9408 | [
"MIT"
] | 2 | 2020-07-19T05:38:36.000Z | 2021-09-14T04:58:48.000Z | Projects/Project1/project_submit/README.md | EthanRao/COMP-4320 | 81dd0bc0250bdd0de21ba2b7fe2f8c16e2bf9408 | [
"MIT"
] | null | null | null | Projects/Project1/project_submit/README.md | EthanRao/COMP-4320 | 81dd0bc0250bdd0de21ba2b7fe2f8c16e2bf9408 | [
"MIT"
] | null | null | null | # Project1
## Author
+ Qiang Wu
+ Xi Rao
+ Zikai Zhang
## Description
The script of the execution traces of the programs are ***UDPServer.txt and UDPClient.txt***
The file that was sent by the server, and the file that was received by the client are ***printed in UDPServer.txt and UDPClient.txt*** | 26.583333 | 135 | 0.69906 | eng_Latn | 0.998001 |
147fb360f00090cd07bbf6b0f38a572f5520a1a6 | 639 | md | Markdown | shared/getting-started/deployingCode/rust.md | IndoorAirQuality/docs | 7f2b055ef0905185727d6575c60ba02881fbda6e | [
"Apache-2.0"
] | 38 | 2018-11-19T20:15:02.000Z | 2022-02-11T08:06:09.000Z | shared/getting-started/deployingCode/rust.md | alanos95/docs-1 | ae664a62b2092c35fcd42f9ec7e2033509876163 | [
"Apache-2.0"
] | 1,169 | 2018-10-31T15:24:12.000Z | 2022-03-28T18:14:09.000Z | shared/getting-started/deployingCode/rust.md | alanos95/docs-1 | ae664a62b2092c35fcd42f9ec7e2033509876163 | [
"Apache-2.0"
] | 142 | 2018-10-30T13:15:56.000Z | 2022-03-26T14:39:43.000Z | A nice first project to get started is a simple [Rust][rust] hello world program, which will print a `Hello, world!` message to the logs on the dashboard. All the project source code can be found [here on GitHub][balena-rust-hello-world-link]. Download a zipped file of the project from [here][balena-rust-hello-world-download], and when downloaded, unzip the file and open a terminal in the root of the project directory.
[balena-rust-hello-world-link]:{{ $links.githubLabs }}/balena-rust-hello-world
[balena-rust-hello-world-download]:{{ $links.githubLabs }}/balena-rust-hello-world/archive/master.zip
[rust]:https://www.rust-lang.org/
| 106.5 | 422 | 0.766823 | eng_Latn | 0.892704 |
147fd4110a2e5fbb69193d18ce364ea88f7a09d7 | 3,289 | md | Markdown | docs/framework/unmanaged-api/hosting/iclrtask2-endpreventasyncabort-method.md | emrekas/docs.tr-tr | 027bd2c6c93900a75cac7ac42531c89085f87888 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2020-01-06T07:30:24.000Z | 2020-01-06T07:30:24.000Z | docs/framework/unmanaged-api/hosting/iclrtask2-endpreventasyncabort-method.md | emrekas/docs.tr-tr | 027bd2c6c93900a75cac7ac42531c89085f87888 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/framework/unmanaged-api/hosting/iclrtask2-endpreventasyncabort-method.md | emrekas/docs.tr-tr | 027bd2c6c93900a75cac7ac42531c89085f87888 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: ICLRTask2::EndPreventAsyncAbort Yöntemi
ms.date: 03/30/2017
api_name:
- ICLRTask2.EndPreventAsyncAbort
api_location:
- mscoree.dll
api_type:
- COM
f1_keywords:
- ICLRTask2::EndPreventAsyncAbort
helpviewer_keywords:
- EndPreventAsyncAbort method [.NET Framework hosting]
- ICLRTask2::EndPreventAsyncAbort method [.NET Framework hosting]
ms.assetid: d8013659-e3df-44b3-814f-a6b534ce62f8
topic_type:
- apiref
author: rpetrusha
ms.author: ronpet
ms.openlocfilehash: 36947eb33460fe3f15cf4ade1cad55cb5e77f1cc
ms.sourcegitcommit: 7f616512044ab7795e32806578e8dc0c6a0e038f
ms.translationtype: MT
ms.contentlocale: tr-TR
ms.lasthandoff: 07/10/2019
ms.locfileid: "67770236"
---
# <a name="iclrtask2endpreventasyncabort-method"></a>ICLRTask2::EndPreventAsyncAbort Yöntemi
Yeni izin verir veya bekleyen iş parçacığı elde etmek iş parçacığı durdurma isteği geçerli iş parçacığı üzerinde durdurur.
## <a name="syntax"></a>Sözdizimi
```cpp
HRESULT EndPreventAsyncAbort();
```
## <a name="return-value"></a>Dönüş Değeri
Bu yöntem aşağıdaki özel HRESULT'ları yanı sıra HRESULT döndürür yöntemi hatayı gösteren hatalar.
|HRESULT|Açıklama|
|-------------|-----------------|
|S_OK|Yöntem başarıyla tamamlandı.|
|HOST_E_INVALIDOPERATION|Yöntem, geçerli iş parçacığı olmayan bir iş parçacığında çağrıldı.|
## <a name="remarks"></a>Açıklamalar
Bu yöntem azaltır gecikme iş parçacığı iptal sayaç için geçerli iş parçacığı tarafından çağrılıyor.
Çağrılar [Iclrtask2::beginpreventasyncabort](../../../../docs/framework/unmanaged-api/hosting/iclrtask2-beginpreventasyncabort-method.md) ve `EndPreventAsyncAbort` yuvalanabilir. Sayaç sıfırdan büyük olduğu sürece, geçerli iş parçacığı için iş parçacığı iptalleri gecikir.
Bu özellik tarafından sunulan işlevselliği, sanal makine (VM) tarafından dahili olarak kullanılır. Bu yöntemlerin kötüye, VM'yi belirsiz davranışa neden olabilir. Örneğin, çağırma `EndPreventAsyncAbort` ilk çağırmadan `BeginPreventAsyncAbort` sayaç VM daha önce artan olduğunda sıfır olarak ayarlayabilirsiniz. Benzer şekilde, iç sayaç için taşma işaretlenmemiştir. Hem konak hem de VM tarafından artar çünkü tam sayı sınırını aşarsa, sonuçta ortaya çıkan davranış belirtilmemiş.
## <a name="requirements"></a>Gereksinimler
**Platformlar:** Bkz: [sistem gereksinimleri](../../../../docs/framework/get-started/system-requirements.md).
**Üst bilgi:** MSCorEE.h
**Kitaplığı:** Bir kaynak olarak MSCorEE.dll dahil
**.NET framework sürümleri:** [!INCLUDE[net_current_v40plus](../../../../includes/net-current-v40plus-md.md)]
## <a name="see-also"></a>Ayrıca bkz.
- [BeginPreventAsyncAbort Yöntemi](../../../../docs/framework/unmanaged-api/hosting/iclrtask2-beginpreventasyncabort-method.md)
- [ICLRTask2 Arabirimi](../../../../docs/framework/unmanaged-api/hosting/iclrtask2-interface.md)
- [ICLRTaskManager Arabirimi](../../../../docs/framework/unmanaged-api/hosting/iclrtaskmanager-interface.md)
- [IHostTask Arabirimi](../../../../docs/framework/unmanaged-api/hosting/ihosttask-interface.md)
- [IHostTaskManager Arabirimi](../../../../docs/framework/unmanaged-api/hosting/ihosttaskmanager-interface.md)
- [Barındırma Arabirimleri](../../../../docs/framework/unmanaged-api/hosting/hosting-interfaces.md)
| 48.367647 | 482 | 0.761326 | tur_Latn | 0.974087 |
148000886a4bf34f3e77bb3d83cdb85b01634de2 | 44 | md | Markdown | packages/utils/README.md | the-emerald/workspace | 1c933b21cbd8bd30b2bc7cbe849e3437c284aab6 | [
"MIT"
] | null | null | null | packages/utils/README.md | the-emerald/workspace | 1c933b21cbd8bd30b2bc7cbe849e3437c284aab6 | [
"MIT"
] | null | null | null | packages/utils/README.md | the-emerald/workspace | 1c933b21cbd8bd30b2bc7cbe849e3437c284aab6 | [
"MIT"
] | 1 | 2021-04-19T19:44:47.000Z | 2021-04-19T19:44:47.000Z | # @popcorn/utils
Helper functions library.
| 11 | 25 | 0.772727 | eng_Latn | 0.442115 |
148054f007e6fec19a7f53cec637942ba62a68dd | 1,370 | md | Markdown | CONTRIBUTING.md | bbingju/bitcraze-vm | 861863f44a0a0ba436069cd5cedd845bd925f53a | [
"MIT"
] | 46 | 2015-01-23T11:32:33.000Z | 2022-03-26T09:23:53.000Z | CONTRIBUTING.md | bbingju/bitcraze-vm | 861863f44a0a0ba436069cd5cedd845bd925f53a | [
"MIT"
] | 37 | 2015-03-13T19:24:17.000Z | 2022-03-25T06:42:24.000Z | CONTRIBUTING.md | bbingju/bitcraze-vm | 861863f44a0a0ba436069cd5cedd845bd925f53a | [
"MIT"
] | 23 | 2015-03-30T13:44:29.000Z | 2022-01-06T08:17:22.000Z | Contributing
============
👍🎉 Thanks a lot for considering contributing 🎉👍
We welcome and encourage contribution. There is many ways to contribute: you can
write bug report, contribute code or documentation.
You can also go to the [bitcraze forum](https://forum.bitcraze.io) and help others.
## Reporting issues
When reporting issues the more information you can supply the better.
- **Information about the environment:** On what OS, version of OS etc are you running the scripts
- **How to reproduce the issue:** Step-by-step guide on how the issue can be reproduced (or at least how you reproduce it).
Include everything you think might be useful, the more information the better.
## Improvements request and proposal
Feel free to make an issue to request a new functionality.
## Contributing code/Pull-Request
We welcome code contribution, this can be done by starting a pull-request.
If the change is big, typically if the change span to more than one file, consider starting an issue first to discuss the improvement.
This will makes it much easier to accept the changes.
There is some basic requirement for us to merge a pull request:
- Describe the change
- Refer to any issues it effects
- Separate one pull request per functionality: if you start writing "and" in the feature description consider if it could be separated in two pull requests.
| 41.515152 | 157 | 0.772263 | eng_Latn | 0.999524 |
14807be9f6240e3277d40c42c011d39c4677a3ab | 815 | md | Markdown | README.md | writetome51/array-append-prepend-many | e95bdd268cc8fa9dea05e71ab13bf6eb60e1b745 | [
"MIT"
] | null | null | null | README.md | writetome51/array-append-prepend-many | e95bdd268cc8fa9dea05e71ab13bf6eb60e1b745 | [
"MIT"
] | null | null | null | README.md | writetome51/array-append-prepend-many | e95bdd268cc8fa9dea05e71ab13bf6eb60e1b745 | [
"MIT"
] | null | null | null | # prependMany\<T\>(values: T[], array: T[]): void
Adds `values` to beginning of `array`. Alternative to `array.unshift(...values)`
# appendMany\<T\>(values: T[], array: T[]): void
Adds `values` to end of `array`. Alternative to `array.push(...values)`
## Examples
```js
let arr = [1, 2, 3];
prependMany([10, 11], arr);
// arr === [10, 11, 1, 2, 3]
arr = [1, 2, 3];
appendMany([10, 11], arr);
// arr === [1, 2, 3, 10, 11]
arr = [ [1, 2, 3] ];
prependMany([ [10,11], [12,13] ], arr);
// arr === [ [10,11], [12,13], [1, 2, 3] ]
arr = [ [1, 2, 3] ];
appendMany([ [10,11], [12,13] ], arr);
// arr === [ [1, 2, 3], [10,11], [12,13] ]
```
## Installation
`npm i @writetome51/array-append-prepend-many`
## Loading
```js
import {prependMany, appendMany} from '@writetome51/array-append-prepend-many';
```
| 22.638889 | 81 | 0.553374 | eng_Latn | 0.187452 |
14809df11e1cf5faa6996268eb270b8590ff9901 | 2,342 | md | Markdown | docs/flexbox/flex-shrink.md | Xantier/react-native-tailwindcss | 023743cf31d28f2fde4d81b0c52866e0fc6c8f2e | [
"MIT"
] | 549 | 2019-01-09T04:12:58.000Z | 2022-03-23T20:18:10.000Z | docs/flexbox/flex-shrink.md | Xantier/react-native-tailwindcss | 023743cf31d28f2fde4d81b0c52866e0fc6c8f2e | [
"MIT"
] | 52 | 2019-05-15T11:46:23.000Z | 2022-01-21T21:03:01.000Z | docs/flexbox/flex-shrink.md | Xantier/react-native-tailwindcss | 023743cf31d28f2fde4d81b0c52866e0fc6c8f2e | [
"MIT"
] | 37 | 2019-01-25T07:41:44.000Z | 2021-11-13T22:23:57.000Z | ---
layout: post
title: "Flex Shrink"
description: "Utilities for controlling how flex items shrink."
classes:
name: flexShrink
key: flexShrink
values:
[
['', '1'],
['0', '0'],
]
---
<div class="mt-0 border-t border-b border-gray-300 overflow-hidden relative">
<div class="lg:max-h-sm overflow-y-auto scrollbar-w-2 scrollbar-track-gray-lighter scrollbar-thumb-rounded scrollbar-thumb-gray scrolling-touch">
<table class="w-full text-left table-collapse mb-0">
<thead>
<tr>
<th class="text-sm font-semibold text-gray-700 p-2 bg-gray-100">Class</th>
<th class="text-sm font-semibold text-gray-700 p-2 bg-gray-100">Properties</th>
</tr>
</thead>
<tbody class="align-baseline">
{%- for value in page.classes.values -%}
<tr>
<td class="p-2 border-t border-gray-300 font-mono text-xs text-purple-700 whitespace-no-wrap"><span class="rnt-object">t</span>.{{ page.classes.name }}{{ value[0] }}</td>
<td class="p-2 border-t border-gray-300 font-mono text-xs text-blue-700 whitespace-pre">{{ page.classes.key }}: {{ value[1] }}</td>
</tr>
{%- endfor -%}
</tbody>
</table>
</div>
</div>
## Shrink
Use <code class="language-plaintext"><span class="rnt-object">t</span>.flexShrink</code> to allow a flex item to shrink if needed:
<div class="flex bg-gray-200">
<div class="flex-none text-gray-700 text-center bg-gray-400 px-4 py-2 m-2">
Longer content that cannot flex
</div>
<div class="flex-shrink text-gray-800 text-center bg-gray-500 px-4 py-2 m-2">
Item that will shrink even if it causes the content to wrap
</div>
<div class="flex-none text-gray-700 text-center bg-gray-400 px-4 py-2 m-2">
Longer content that cannot flex
</div>
</div>
## Don't shrink
Use <code class="language-plaintext"><span class="rnt-object">t</span>.flexShrink0</code> to prevent a flex item from shrinking:
<div class="flex bg-gray-200">
<div class="flex-shrink text-gray-700 text-center bg-gray-400 px-4 py-2 m-2">
Item that can shrink if needed
</div>
<div class="flex-shrink-0 text-gray-800 text-center bg-gray-500 px-4 py-2 m-2">
Item that cannot shrink below its initial size
</div>
<div class="flex-shrink text-gray-700 text-center bg-gray-400 px-4 py-2 m-2">
Item that can shrink if needed
</div>
</div>
| 32.527778 | 178 | 0.661401 | eng_Latn | 0.557281 |
1480e26a3ddfc04b0917465afb9a79d490c12bf6 | 17,050 | md | Markdown | src/CodeFixes/README.md | tralivali1234/Roslynator | f1256bee0417c3fe3e6514573677317d787f9488 | [
"Apache-2.0"
] | null | null | null | src/CodeFixes/README.md | tralivali1234/Roslynator | f1256bee0417c3fe3e6514573677317d787f9488 | [
"Apache-2.0"
] | null | null | null | src/CodeFixes/README.md | tralivali1234/Roslynator | f1256bee0417c3fe3e6514573677317d787f9488 | [
"Apache-2.0"
] | 1 | 2018-12-06T04:32:42.000Z | 2018-12-06T04:32:42.000Z | ## Compiler Diagnostics Fixable with Roslynator
| Id | Title |
| --- | ----- |
| [CS0019](../../docs/cs/CS0019.md) | Operator 'operator' cannot be applied to operands of type 'type' and 'type'\. |
| [CS0021](../../docs/cs/CS0021.md) | Cannot apply indexing with \[\] to an expression of type 'type'\. |
| [CS0023](../../docs/cs/CS0023.md) | Operator 'operator' cannot be applied to operand of type 'type'\. |
| [CS0029](../../docs/cs/CS0029.md) | Cannot implicitly convert type 'type' to 'type'\. |
| [CS0030](../../docs/cs/CS0030.md) | Cannot convert type 'type' to 'type'\. |
| [CS0037](../../docs/cs/CS0037.md) | Cannot convert null to 'type' because it is a non\-nullable value type\. |
| [CS0069](../../docs/cs/CS0069.md) | An event in an interface cannot have add or remove accessors\. |
| [CS0077](../../docs/cs/CS0077.md) | The as operator must be used with a reference type or nullable type \('type' is a non\-nullable value type\)\. |
| [CS0080](../../docs/cs/CS0080.md) | Constraints are not allowed on non\-generic declarations\. |
| [CS0101](../../docs/cs/CS0101.md) | The namespace 'namespace' already contains a definition for 'type'\. |
| [CS0102](../../docs/cs/CS0102.md) | The type 'type name' already contains a definition for 'identifier'\. |
| [CS0103](../../docs/cs/CS0103.md) | The name 'identifier' does not exist in the current context\. |
| [CS0106](../../docs/cs/CS0106.md) | The modifier 'modifier' is not valid for this item\. |
| [CS0107](../../docs/cs/CS0107.md) | More than one protection modifier\. |
| [CS0108](../../docs/cs/CS0108.md) | 'member1' hides inherited member 'member2'\. Use the new keyword if hiding was intended\. |
| [CS0109](../../docs/cs/CS0109.md) | The member 'member' does not hide an inherited member\. The new keyword is not required\. |
| [CS0112](../../docs/cs/CS0112.md) | A static member 'function' cannot be marked as override, virtual or abstract\. |
| [CS0114](../../docs/cs/CS0114.md) | 'function1' hides inherited member 'function2'\. To make the current method override that implementation, add the override keyword\. Otherwise add the new keyword\. |
| [CS0115](../../docs/cs/CS0115.md) | 'function': no suitable method found to override\. |
| [CS0119](../../docs/cs/CS0119.md) | 'identifier' is a 'construct', which is not valid in the given context\. |
| [CS0120](../../docs/cs/CS0120.md) | An object reference is required for the nonstatic field, method, or property 'member'\. |
| [CS0123](../../docs/cs/CS0123.md) | No overload for 'method' matches delegate 'delegate'\. |
| [CS0126](../../docs/cs/CS0126.md) | An object of a type convertible to 'type' is required\. |
| [CS0127](../../docs/cs/CS0127.md) | Since 'function' returns void, a return keyword must not be followed by an object expression\. |
| [CS0128](../../docs/cs/CS0128.md) | A local variable named 'variable' is already defined in this scope\. |
| [CS0132](../../docs/cs/CS0132.md) | 'constructor': a static constructor must be parameterless\. |
| [CS0133](../../docs/cs/CS0133.md) | The expression being assigned to 'variable' must be constant\. |
| [CS0136](../../docs/cs/CS0136.md) | A local variable named 'var' cannot be declared in this scope because it would give a different meaning to 'var', which is already used in a 'parent or current/child' scope to denote something else\. |
| [CS0139](../../docs/cs/CS0139.md) | No enclosing loop out of which to break or continue\. |
| [CS0152](../../docs/cs/CS0152.md) | The switch statement contains multiple cases with same label value\. |
| [CS0161](../../docs/cs/CS0161.md) | 'method': not all code paths return a value\. |
| [CS0162](../../docs/cs/CS0162.md) | Unreachable code detected\. |
| [CS0163](../../docs/cs/CS0163.md) | Control cannot fall through from one case label \('label'\) to another\. |
| [CS0164](../../docs/cs/CS0164.md) | This label has not been referenced\. |
| [CS0165](../../docs/cs/CS0165.md) | Use of unassigned local variable 'name'\. |
| [CS0168](../../docs/cs/CS0168.md) | The variable 'var' is declared but never used\. |
| [CS0173](../../docs/cs/CS0173.md) | Type of conditional expression cannot be determined because there is no implicit conversion between 'class1' and 'class2'\. |
| [CS0177](../../docs/cs/CS0177.md) | The out parameter 'parameter' must be assigned to before control leaves the current method\. |
| [CS0192](../../docs/cs/CS0192.md) | Readonly field 'name' cannot be used as ref or out value \(except in a constructor\)\. |
| [CS0201](../../docs/cs/CS0201.md) | Only assignment, call, increment, decrement, and new object expressions can be used as a statement\. |
| [CS0214](../../docs/cs/CS0214.md) | Pointers and fixed size buffers may only be used in an unsafe context\. |
| [CS0216](../../docs/cs/CS0216.md) | The operator 'operator' requires a matching operator 'missing\_operator' to also be defined\. |
| [CS0219](../../docs/cs/CS0219.md) | The variable 'variable' is assigned but its value is never used\. |
| [CS0221](../../docs/cs/CS0221.md) | Constant value 'value' cannot be converted to a 'type' \(use 'unchecked' syntax to override\)\. |
| [CS0225](../../docs/cs/CS0225.md) | The params parameter must be a single dimensional array\. |
| [CS0238](../../docs/cs/CS0238.md) | 'identifier' cannot be sealed because it is not an override\. |
| [CS0246](../../docs/cs/CS0246.md) | The type or namespace name 'type/namespace' could not be found \(are you missing a using directive or an assembly reference?\)\. |
| [CS0260](../../docs/cs/CS0260.md) | Missing partial modifier on declaration of type 'type'; another partial declaration of this type exists\. |
| [CS0262](../../docs/cs/CS0262.md) | Partial declarations of 'type' have conflicting accessibility modifiers\. |
| [CS0266](../../docs/cs/CS0266.md) | Cannot implicitly convert type 'type1' to 'type2'\. An explicit conversion exists \(are you missing a cast?\)\. |
| [CS0267](../../docs/cs/CS0267.md) | The partial modifier can only appear immediately before 'class', 'struct', or 'interface'\. |
| [CS0275](../../docs/cs/CS0275.md) | 'accessor': accessibility modifiers may not be used on accessors in an interface\. |
| [CS0305](../../docs/cs/CS0305.md) | Using the generic type 'generic type' requires 'number' type arguments\. |
| [CS0401](../../docs/cs/CS0401.md) | The new\(\) constraint must be the last constraint specified\. |
| [CS0403](../../docs/cs/CS0403.md) | Cannot convert null to type parameter 'name' because it could be a non\-nullable value type\. Consider using default\('T'\) instead\. |
| [CS0405](../../docs/cs/CS0405.md) | Duplicate constraint 'constraint' for type parameter 'type parameter'\. |
| [CS0407](../../docs/cs/CS0407.md) | 'return\-type method' has the wrong return type\. |
| [CS0409](../../docs/cs/CS0409.md) | A constraint clause has already been specified for type parameter 'type parameter'\. All of the constraints for a type parameter must be specified in a single where clause\. |
| [CS0428](../../docs/cs/CS0428.md) | Cannot convert method group 'identifier' to non\-delegate type 'type'\. Did you intend to invoke the method? |
| [CS0441](../../docs/cs/CS0441.md) | 'class': a class cannot be both static and sealed\. |
| [CS0442](../../docs/cs/CS0442.md) | 'property': abstract properties cannot have private accessors\. |
| [CS0449](../../docs/cs/CS0449.md) | The 'class' or 'struct' constraint must come before any other constraints\. |
| [CS0450](../../docs/cs/CS0450.md) | 'type parameter name': cannot specify both a constraint class and the 'class' or 'struct' constraint\. |
| [CS0451](../../docs/cs/CS0451.md) | The 'new\(\)' constraint cannot be used with the 'struct' constraint\. |
| [CS0472](../../docs/cs/CS0472.md) | The result of the expression is always 'value1' since a value of type 'value2' is never equal to 'null' of type 'value3'\. |
| [CS0500](../../docs/cs/CS0500.md) | 'class member' cannot declare a body because it is marked abstract\. |
| [CS0501](../../docs/cs/CS0501.md) | 'member function' must declare a body because it is not marked abstract, extern, or partial\. |
| [CS0507](../../docs/cs/CS0507.md) | 'function1': cannot change access modifiers when overriding 'access' inherited member 'function2'\. |
| [CS0508](../../docs/cs/CS0508.md) | 'type1': return type must be 'type2' to match overridden member 'member name'\. |
| [CS0513](../../docs/cs/CS0513.md) | 'function' is abstract but it is contained in nonabstract class 'class'\. |
| [CS0515](../../docs/cs/CS0515.md) | 'function': access modifiers are not allowed on static constructors\. |
| [CS0524](../../docs/cs/CS0524.md) | 'identifier': interfaces cannot declare types\. |
| [CS0525](../../docs/cs/CS0525.md) | Interfaces cannot contain fields\. |
| [CS0527](../../docs/cs/CS0527.md) | Type 'type' in interface list is not an interface\. |
| [CS0531](../../docs/cs/CS0531.md) | 'member': interface members cannot have a definition\. |
| [CS0541](../../docs/cs/CS0541.md) | 'declaration': explicit interface declaration can only be declared in a class or struct\. |
| [CS0549](../../docs/cs/CS0549.md) | New virtual member in sealed class\. |
| [CS0558](../../docs/cs/CS0558.md) | User\-defined operator 'operator' must be declared static and public\. |
| [CS0567](../../docs/cs/CS0567.md) | Interfaces cannot contain operators\. |
| [CS0568](../../docs/cs/CS0568.md) | Structs cannot contain explicit parameterless constructors\. |
| [CS0573](../../docs/cs/CS0573.md) | 'field declaration': cannot have instance field initializers in structs\. |
| [CS0574](../../docs/cs/CS0574.md) | Name of destructor must match name of class\. |
| [CS0575](../../docs/cs/CS0575.md) | Only class types can contain destructors\. |
| [CS0579](../../docs/cs/CS0579.md) | Duplicate 'attribute' attribute\. |
| [CS0592](../../docs/cs/CS0592.md) | Attribute 'attribute' is not valid on this declaration type\. It is valid on 'type' declarations only\. |
| [CS0621](../../docs/cs/CS0621.md) | 'member': virtual or abstract members cannot be private\. |
| [CS0628](../../docs/cs/CS0628.md) | member' : new protected member declared in sealed class\. |
| [CS0659](../../docs/cs/CS0659.md) | 'class' overrides Object\.Equals\(object o\) but does not override Object\.GetHashCode\(\)\. |
| [CS0660](../../docs/cs/CS0660.md) | 'class' defines operator == or operator \!= but does not override Object\.Equals\(object o\)\. |
| [CS0661](../../docs/cs/CS0661.md) | 'class' defines operator == or operator \!= but does not override Object\.GetHashCode\(\)\. |
| [CS0678](../../docs/cs/CS0678.md) | 'variable': a field can not be both volatile and readonly\. |
| [CS0693](../../docs/cs/CS0693.md) | Type parameter 'type parameter' has the same name as the type parameter from outer type 'type'\. |
| [CS0708](../../docs/cs/CS0708.md) | 'field': cannot declare instance members in a static class\. |
| [CS0710](../../docs/cs/CS0710.md) | Static classes cannot have instance constructors |
| [CS0713](../../docs/cs/CS0713.md) | Static class 'static type' cannot derive from type 'type'\. Static classes must derive from object\. |
| [CS0714](../../docs/cs/CS0714.md) | Static class cannot implement interfaces\. |
| [CS0718](../../docs/cs/CS0718.md) | 'type': static types cannot be used as type arguments\. |
| [CS0750](../../docs/cs/CS0750.md) | A partial method cannot have access modifiers or the virtual, abstract, override, new, sealed, or extern modifiers\. |
| [CS0751](../../docs/cs/CS0751.md) | A partial method must be declared in a partial class or partial struct\. |
| [CS0753](../../docs/cs/CS0753.md) | Only methods, classes, structs, or interfaces may be partial\. |
| [CS0756](../../docs/cs/CS0756.md) | A partial method may not have multiple defining declarations\. |
| [CS0759](../../docs/cs/CS0759.md) | No defining declaration found for implementing declaration of partial method 'method'\. |
| [CS0766](../../docs/cs/CS0766.md) | Partial methods must have a void return type\. |
| [CS0815](../../docs/cs/CS0815.md) | Cannot assign 'expression' to an implicitly typed local\. |
| [CS0819](../../docs/cs/CS0819.md) | Implicitly typed locals cannot have multiple declarators\. |
| [CS0822](../../docs/cs/CS0822.md) | Implicitly typed locals cannot be const\. |
| [CS1002](../../docs/cs/CS1002.md) | ; expected\. |
| [CS1003](../../docs/cs/CS1003.md) | Syntax error, 'char' expected\. |
| [CS1004](../../docs/cs/CS1004.md) | Duplicate 'modifier' modifier\. |
| [CS1023](../../docs/cs/CS1023.md) | Embedded statement cannot be a declaration or labeled statement\. |
| [CS1031](../../docs/cs/CS1031.md) | Type expected\. |
| [CS1057](../../docs/cs/CS1057.md) | 'member': static classes cannot contain protected members\. |
| [CS1061](../../docs/cs/CS1061.md) | 'type' does not contain a definition for 'member' and no extension method 'name' accepting a first argument of type 'type' could be found \(are you missing a using directive or an assembly reference?\)\. |
| [CS1100](../../docs/cs/CS1100.md) | Method 'name' has a parameter modifier 'this' which is not on the first parameter\. |
| [CS1105](../../docs/cs/CS1105.md) | Extension methods must be static\. |
| [CS1106](../../docs/cs/CS1106.md) | Extension methods must be defined in a non\-generic static class\. |
| [CS1503](../../docs/cs/CS1503.md) | Argument 'number' cannot convert from 'type1' to 'type2'\. |
| [CS1522](../../docs/cs/CS1522.md) | Empty switch block\. |
| [CS1526](../../docs/cs/CS1526.md) | A new expression requires \(\), \[\], or \{\} after type\. |
| [CS1527](../../docs/cs/CS1527.md) | Elements defined in a namespace cannot be explicitly declared as private, protected, protected internal or private protected\. |
| [CS1591](../../docs/cs/CS1591.md) | Missing XML comment for publicly visible type or member 'name'\. |
| [CS1597](../../docs/cs/CS1597.md) | Semicolon after method or accessor block is not valid\. |
| [CS1609](../../docs/cs/CS1609.md) | Modifiers cannot be placed on event accessor declarations\. |
| [CS1615](../../docs/cs/CS1615.md) | Argument 'number' should not be passed with the 'keyword' keyword\. |
| [CS1620](../../docs/cs/CS1620.md) | Argument 'number' must be passed with the 'keyword' keyword\. |
| [CS1621](../../docs/cs/CS1621.md) | The yield statement cannot be used inside an anonymous method or lambda expression\. |
| [CS1622](../../docs/cs/CS1622.md) | Cannot return a value from an iterator\. Use the yield return statement to return a value, or yield break to end the iteration\. |
| [CS1623](../../docs/cs/CS1623.md) | Iterators cannot have ref or out parameters\. |
| [CS1624](../../docs/cs/CS1624.md) | The body of 'identifier' cannot be an iterator block because 'type' is not an iterator interface type\. |
| [CS1643](../../docs/cs/CS1643.md) | Not all code paths return a value in method of type 'type'\. |
| [CS1674](../../docs/cs/CS1674.md) | 'T': type used in a using statement must be implicitly convertible to 'System\.IDisposable'\. |
| [CS1689](../../docs/cs/CS1689.md) | Attribute 'attribute' is only valid on methods or attribute classes\. |
| [CS1715](../../docs/cs/CS1715.md) | 'type1': type must be 'type2' to match overridden member 'member'\. |
| [CS1717](../../docs/cs/CS1717.md) | Assignment made to same variable; did you mean to assign something else? |
| [CS1722](../../docs/cs/CS1722.md) | Base class 'class' must come before any interfaces\. |
| [CS1737](../../docs/cs/CS1737.md) | Optional parameters must appear after all required parameters\. |
| [CS1743](../../docs/cs/CS1743.md) | Cannot specify a default value for the 'this' parameter\. |
| [CS1750](../../docs/cs/CS1750.md) | A value of type 'type1' cannot be used as a default parameter because there are no standard conversions to type 'type2\. |
| [CS1751](../../docs/cs/CS1751.md) | Cannot specify a default value for a parameter array\. |
| [CS1955](../../docs/cs/CS1955.md) | Non\-invocable member 'name' cannot be used like a method\. |
| [CS1983](../../docs/cs/CS1983.md) | The return type of an async method must be void, Task or Task\<T>\. |
| [CS1988](../../docs/cs/CS1988.md) | Async methods cannot have ref or out parameters\. |
| [CS1994](../../docs/cs/CS1994.md) | The 'async' modifier can only be used in methods that have a body\. |
| [CS1997](../../docs/cs/CS1997.md) | Since 'RemoveReturnKeywordOrReturnExpression\.FooAsync\(\)' is an async method that returns 'Task', a return keyword must not be followed by an object expression\. Did you intend to return 'Task\<T>>'? |
| [CS8050](../../docs/cs/CS8050.md) | Only auto\-implemented properties can have initializers\. |
| [CS8070](../../docs/cs/CS8070.md) | Control cannot fall out of switch from final case label \('default'\)\. |
| [CS8112](../../docs/cs/CS8112.md) | 'function' is a local function and must therefore always have a body\. |
| [CS8139](../../docs/cs/CS8139.md) | Cannot change tuple element names when overriding inherited member\. |
| [CS8340](../../docs/cs/CS8340.md) | Instance fields of read\-only structs must be read\-only\. |
*\(Generated with [DotMarkdown](http://github.com/JosefPihrt/DotMarkdown)\)* | 109.294872 | 243 | 0.679179 | eng_Latn | 0.931553 |
148103dab1468bf0fbbde0857e39de70d9db7a2d | 1,003 | md | Markdown | _posts/2021-01-19-empresario-luciano-hang-e-internado-com-covid-19-em-hospital-de-sp.md | tatudoquei/tatudoquei.github.io | a3a3c362424fda626d7d0ce2d9f4bead6580631c | [
"MIT"
] | null | null | null | _posts/2021-01-19-empresario-luciano-hang-e-internado-com-covid-19-em-hospital-de-sp.md | tatudoquei/tatudoquei.github.io | a3a3c362424fda626d7d0ce2d9f4bead6580631c | [
"MIT"
] | null | null | null | _posts/2021-01-19-empresario-luciano-hang-e-internado-com-covid-19-em-hospital-de-sp.md | tatudoquei/tatudoquei.github.io | a3a3c362424fda626d7d0ce2d9f4bead6580631c | [
"MIT"
] | 1 | 2022-01-13T07:57:24.000Z | 2022-01-13T07:57:24.000Z | ---
layout: post
item_id: 3233824953
title: >-
Empresário Luciano Hang é internado com Covid-19 em hospital de SP
author: Tatu D'Oquei
date: 2021-01-19 18:08:29
pub_date: 2021-01-19 18:08:29
time_added: 2021-01-20 15:51:58
category:
tags: []
image: https://s2.glbimg.com/q3O6d4soD8wE-2wdCd4El8dBLps=/1200x/smart/filters:cover():strip_icc()/i.s3.glbimg.com/v1/AUTH_59edd422c0c84a879bd37670ae4f538a/internal_photos/bs/2019/G/E/ERs4bdTXOl5W3fEK1FdA/dono-da-havan.jpg
---
Apoiador do presidente Jair Bolsonaro, Hang costuma contestar o isolamento social e usar as redes sociais para defender uso de hidroxicloroquina. O medicamento não tem eficácia científica comprovada na prevenção ou tratamento da doença causada pelo coronavírus.
**Link:** [https://g1.globo.com/sp/sao-paulo/noticia/2021/01/19/empresario-luciano-hang-e-internado-com-covid-19-em-hospital-de-sp.ghtml](https://g1.globo.com/sp/sao-paulo/noticia/2021/01/19/empresario-luciano-hang-e-internado-com-covid-19-em-hospital-de-sp.ghtml)
| 52.789474 | 264 | 0.788634 | por_Latn | 0.720549 |
14814088a3ea939f9bd188ddc66699bfdb86eabb | 9 | md | Markdown | db/flask.md | Knowledge-Precipitation-Tribe/go-framework | f5138fa1568e83cb1cda5dd67d47414f0e323040 | [
"MIT"
] | null | null | null | db/flask.md | Knowledge-Precipitation-Tribe/go-framework | f5138fa1568e83cb1cda5dd67d47414f0e323040 | [
"MIT"
] | null | null | null | db/flask.md | Knowledge-Precipitation-Tribe/go-framework | f5138fa1568e83cb1cda5dd67d47414f0e323040 | [
"MIT"
] | null | null | null | # flask
| 3 | 7 | 0.555556 | dan_Latn | 0.820855 |
1481c50e8535c382ea5439eb85ea5981430a6ea0 | 4,874 | md | Markdown | hacking/_posts/2020-10-10-lemonsqueezy.md | 0xordinaryday/blog | 8b7bc6c3ad43f6631daa5337b2f2e4f6e3656ac4 | [
"MIT"
] | null | null | null | hacking/_posts/2020-10-10-lemonsqueezy.md | 0xordinaryday/blog | 8b7bc6c3ad43f6631daa5337b2f2e4f6e3656ac4 | [
"MIT"
] | 3 | 2021-05-20T19:06:26.000Z | 2021-09-12T09:55:32.000Z | hacking/_posts/2020-10-10-lemonsqueezy.md | 0xordinaryday/blog | 8b7bc6c3ad43f6631daa5337b2f2e4f6e3656ac4 | [
"MIT"
] | null | null | null | ---
layout: post
title: "Vulnhub - LemonSqueezy: 1"
date: 2020-10-10 20:00:00 +1000
category: hacking
---
## Introduction
*This is a beginner boot2root in a similar style to ones I personally enjoy like Mr Robot, Lazysysadmin and MERCY.*
*This is a VMware machine. DHCP is enabled, add lemonsqueezy to your hosts. It’s easypeasy!*
This box is on the [NetSecFocus Admin list](https://docs.google.com/spreadsheets/d/1dwSMIAPIam0PuRBkCiDI88pU3yzrqqHkDtBngUHNCw8/edit#gid=0) of OSCP-like machines. It's [LEMONSQUEEZY: 1](https://www.vulnhub.com/entry/lemonsqueezy-1,473/) from vulnhub.
## Ports
We've got one port only; HTTP on 80.
## HTTP
So with a quick *gobuster* fishing expedition we find a couple of interesting things - in particular, *wordpress* and *phpMyAdmin*.
Running wpscan gets us two users, *lemon* and *orange*. A password attack gets an easy win:
{% highlight shell %}
root@kali:/opt/vulnhub/lemonsqueezy# wpscan --url http://192.168.1.98/wordpress -U 'lemon,orange' -P /usr/share/wordlists/rockyou.txt
[+] Performing password attack on Xmlrpc against 2 user/s
[SUCCESS] - orange / ginger
{% endhighlight %}
Using these credentials we can log in to Wordpress, but *orange* is not an admin. However we can find a post called *Keep this safe!* which contains a password: **n0t1n@w0rdl1st!**.
With this, we can login to *phpMyAdmin* as *orange*. Once there, we can grab the hash for *lemon* and try to crack it with Hashcat - it doesn't work easily. So instead we can change it to the same hash as used by *orange*, because we know this is *ginger*. Once we've done that we can log in to Wordpress as *lemon*.
## Wordpress
Normally we could run some PHP code in wordpress in a few different ways. We could edit an existing plugin, we could upload a new (malicious) plugin, or we could edit the PHP code of an existing theme. Unfortunately, none of these work because the temporary upload folder hasn't been set in *wp-config.php* - and we can't change it. What's more, the existing plugin and theme files are all set as non-editable. Again, something we can't change from the dashboard. Now what?
## phpMyAdmin
Back in phpMyAdmin, we can create a new table and then run this SQL on it:
``
SELECT "<?php system($_GET['cmd']); ?>" into outfile "/var/www/html/wordpress/wp-content/uploads/test.php"
``
Once we've done that, we can visit http://lemonsqueezy/wordpress/wp-content/uploads/test.php and run commands - finally, RCE! Note that I did also set the *uploads* directory in wp-options in phpMyAdmin but I don't know if this was actually necessary or not.
This one gets me a shell:
``
http://lemonsqueezy/wordpress/wp-content/uploads/test.php?cmd=php+-r+%27$sock%3dfsockopen(%22192.168.1.77%22,1234)%3bexec(%22/bin/sh+-i+%3C%263+%3E%263+2%3E%263%22)%3b%27
``
## On the box
Running *linpeas.sh* shows a cronjob of interest:
{% highlight shell %}
www-data@lemonsqueezy:/dev/shm$ cat /etc/crontab
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
*/2 * * * * root /etc/logrotate.d/logrotate
#
{% endhighlight %}
So this sure looks like a candidate for the *logrotten* exploit, right? But first let's just check the contents:
{% highlight shell %}
www-data@lemonsqueezy:/dev/shm$ cat /etc/logrotate.d/logrotate
cat /etc/logrotate.d/logrotate
#!/usr/bin/env python
import os
import sys
try:
os.system('rm -r /tmp/* ')
except:
sys.exit()
{% endhighlight %}
Ah! Shenanigans! Well it's fine, because we can write to the file. Let's replace the contents:
{% highlight shell %}
www-data@lemonsqueezy:/dev/shm$ printf '#!/bin/bash\nbash -i >& /dev/tcp/192.168.1.77/1235 0>&1\n' > /etc/logrotate.d/logrotate
<.168.1.77/1235 0>&1\n' > /etc/logrotate.d/logrotate
www-data@lemonsqueezy:/dev/shm$ cat /etc/logrotate.d/logrotate
cat /etc/logrotate.d/logrotate
#!/bin/bash
bash -i >& /dev/tcp/192.168.1.77/1235 0>&1
{% endhighlight %}
And now we wait ....
## Root
{% highlight shell %}
root@kali:/opt/vulnhub/lemonsqueezy# nc -nvlp 1235
Ncat: Version 7.80 ( https://nmap.org/ncat )
Ncat: Listening on :::1235
Ncat: Listening on 0.0.0.0:1235
Ncat: Connection from 192.168.1.98.
Ncat: Connection from 192.168.1.98:35102.
bash: cannot set terminal process group (23760): Inappropriate ioctl for device
bash: no job control in this shell
root@lemonsqueezy:~# cd /root/
root@lemonsqueezy:~# cat root.txt
cat root.txt
NvbWV0aW1lcyBhZ2FpbnN0IHlvdXIgd2lsbC4=
{% endhighlight %}
I enjoyed this one and learned some little tricks. Nice one.
| 43.132743 | 473 | 0.724046 | eng_Latn | 0.936963 |
148336543bd09a7d995e156eb19cc835de5f0fa5 | 24 | md | Markdown | README.md | 861007/lottery | 78e68279f07ca9446defaac269fec0480e309bf2 | [
"Apache-2.0"
] | null | null | null | README.md | 861007/lottery | 78e68279f07ca9446defaac269fec0480e309bf2 | [
"Apache-2.0"
] | null | null | null | README.md | 861007/lottery | 78e68279f07ca9446defaac269fec0480e309bf2 | [
"Apache-2.0"
] | null | null | null | # lottery
first lottery
| 8 | 13 | 0.791667 | eng_Latn | 0.998917 |
1483ba33765101f098814c024b033991f066bdf6 | 3,244 | md | Markdown | material/icon/do-not-disturb-off.md | liuwave/icon-helper | 6339786f595d6f12a432db71e7aaccb693b9fe59 | [
"MIT"
] | 2 | 2020-10-26T16:32:26.000Z | 2021-01-13T09:28:45.000Z | material/icon/do-not-disturb-off.md | liuwave/icon-helper | 6339786f595d6f12a432db71e7aaccb693b9fe59 | [
"MIT"
] | 48 | 2020-04-04T12:39:59.000Z | 2022-02-27T01:30:09.000Z | material/icon/do-not-disturb-off.md | liuwave/icon-helper | 6339786f595d6f12a432db71e7aaccb693b9fe59 | [
"MIT"
] | null | null | null | ---
title: do not disturb off(不要打扰) ICON转svg、png下载
name: do-not-disturb-off
zhTips: 不要打扰
tags: []
search:
image: https://iconhelper.cn/svg/material/do-not-disturb-off.svg
---
# do not disturb off <small style="font-size: 60%;font-weight: 100">不要打扰</small>
<div class="detail-page">
<p>
<span><span class="badge-success badge">免费图标</span> </span>
<br/>
<span>
ICON库:
<span class="badge-secondary badge">Material Design Icons</span>
</span>
<br/>
<span>
CSS名称:
<span class="badge-secondary badge">mdi-do-not-disturb-off</span>
</span>
<br/>
<span>
unicode:
<span class="badge-secondary badge">F0699</span>
<copy-btn content='F0699' btn-title=""></copy-btn>
<copy-btn :content='String.fromCodePoint(parseInt("F0699", 16))' btn-title="复制U"></copy-btn>
</span>
<br/>
<span>
版本:
<span class="badge-secondary badge">1.7.12</span>
</span>
<br/>
<span>图标来源/作者:<span class="badge-light badge">Google</span></span>
<br/>
<span class="zh-detail">中文描述:<span class="badge-primary badge">不要打扰</span><span class="help-link"><span>帮助改进</span>(<a href="https://gitee.com/liuwave/icon-helper/edit/master/json/material/do-not-disturb-off.json" target="_blank" rel="noopener noreferrer">gitee</a><a href="https://github.com/liuwave/icon-helper/edit/master/json/material/do-not-disturb-off.json" target="_blank" rel="noopener noreferrer">github</a></span>)</span><br/>
</p>
</div>
<div class="alert alert-dark">
<i class="mdi mdi-do-not-disturb-off mdi-48px"></i>
<i class="mdi mdi-do-not-disturb-off mdi-36px"></i>
<i class="mdi mdi-do-not-disturb-off mdi-24px"></i>
<i class="mdi mdi-do-not-disturb-off mdi-18px"></i>
</div>
<div>
<p>引入css文件后,可以用<code><span></code>包裹,放在页面中。具体如下所示:
</p>
<div class="alert alert-primary" style="font-size: 14px">
<span class="mdi mdi-do-not-disturb-off" aria-hidden="true"></span>
<copy-btn content='<span class="mdi mdi-do-not-disturb-off" aria-hidden="true"></span>'></copy-btn>
</div>
<div class="alert alert-secondary">
<i class="mdi mdi-do-not-disturb-off"
style="font-size: 24px"
aria-hidden="true"></i> mdi-do-not-disturb-off
<copy-btn content="mdi-do-not-disturb-off" btn-title="复制图标名称"></copy-btn>
</div>
</div>
<div id="svg" class="svg-wrap">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17,11V13H15.54L20.22,17.68C21.34,16.07 22,14.11 22,12A10,10 0 0,0 12,2C9.89,2 7.93,2.66 6.32,3.78L13.54,11H17M2.27,2.27L1,3.54L3.78,6.32C2.66,7.93 2,9.89 2,12A10,10 0 0,0 12,22C14.11,22 16.07,21.34 17.68,20.22L20.46,23L21.73,21.73L2.27,2.27M7,13V11H8.46L10.46,13H7Z" /></svg>
</div>
<detail full-name='mdi-do-not-disturb-off'></detail>
<div class="icon-detail__container">
<p>关于“<b>do not disturb off</b>”的评论:</p>
</div>
<Vssue title="关于“do not disturb off”的评论" />
<div><p>图标do not disturb off来源于Material Design Icons,可免费使用,更多关于 Material Design Icons的信息,参见:<a target="_blank" href="https://iconhelper.cn/material.html"> Material Design Icons</a>
</p></div>
<div style="padding:2rem 0 " class="page-nav"><p class="inner"><span class="prev">←<router-link to="/icon/do-not-disturb.html">do-not-disturb</router-link></span> <span class="next"><router-link to="/icon/dock-bottom.html">dock-bottom</router-link>→</span></p></div>
| 41.063291 | 436 | 0.68434 | yue_Hant | 0.175656 |
1485294db64527d72f4a4f18e46fad1aec7c7925 | 41 | md | Markdown | README.md | Nyagakanime/Nyagak-Anime | 1922ec98df7d8cabc4e03a0412b86eaa7e7da1d3 | [
"MIT"
] | 1 | 2021-12-10T16:45:33.000Z | 2021-12-10T16:45:33.000Z | README.md | Nyagakanime/Nyagak-Anime | 1922ec98df7d8cabc4e03a0412b86eaa7e7da1d3 | [
"MIT"
] | null | null | null | README.md | Nyagakanime/Nyagak-Anime | 1922ec98df7d8cabc4e03a0412b86eaa7e7da1d3 | [
"MIT"
] | null | null | null | # Nyagak-Anime
Site De Streaming Gratuit
| 13.666667 | 25 | 0.804878 | nld_Latn | 0.367292 |
148599791b696084aa24f4924859633daf9c1c7f | 2,663 | md | Markdown | wdk-ddi-src/content/ntdddump/nc-ntdddump-dump_read.md | DeviceObject/windows-driver-docs-ddi | be6b8ddad4931e676fb6be20935b82aaaea3a8fb | [
"CC-BY-4.0",
"MIT"
] | null | null | null | wdk-ddi-src/content/ntdddump/nc-ntdddump-dump_read.md | DeviceObject/windows-driver-docs-ddi | be6b8ddad4931e676fb6be20935b82aaaea3a8fb | [
"CC-BY-4.0",
"MIT"
] | null | null | null | wdk-ddi-src/content/ntdddump/nc-ntdddump-dump_read.md | DeviceObject/windows-driver-docs-ddi | be6b8ddad4931e676fb6be20935b82aaaea3a8fb | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
UID: NC:ntdddump.DUMP_READ
title: DUMP_READ (ntdddump.h)
description: The Dump_Read callback routine is called after the read from the dump port driver. The filter driver can access the dump data during the call to this routine.
old-location: storage\dump_read.htm
tech.root: storage
ms.assetid: 5F95D38C-8E11-49D4-82C4-718BD846A834
ms.date: 03/29/2018
keywords: ["DUMP_READ callback function"]
ms.keywords: Dump_Read, Dump_Read routine [Storage Devices], PDUMP_READ, ntdddump/Dump_Read, storage.dump_read
f1_keywords:
- "ntdddump/Dump_Read"
- "Dump_Read"
req.header: ntdddump.h
req.include-header: Ntdddump.h
req.target-type: Desktop
req.target-min-winverclnt: Available starting with Windows 8
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:
topic_type:
- APIRef
- kbSyntax
api_type:
- UserDefined
api_location:
- ntdddump.h
api_name:
- Dump_Read
targetos: Windows
req.typenames:
---
# DUMP_READ callback function
## -description
The <i>Dump_Read</i> callback routine is called after the read from the dump port driver. The filter driver can access the dump data during the call to this routine.
## -parameters
### -param FilterExtension [in]
A pointer to a <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ntdddump/ns-ntdddump-_filter_extension">FILTER_EXTENSION</a> structure.
### -param DiskByteOffset [in]
The value, in bytes, relative to the source partition for the crash dump or hibernation. Filter drivers should not modify this field.
### -param Mdl [in]
A pointer to an <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/wdm/ns-wdm-_mdl">MDL</a> structure that describes the data buffer containing the dump data. Filter drivers should not modify this field.
## -returns
If the routine succeeds, it must return STATUS_SUCCESS. Otherwise, it must return one of the error status values defined in <i>Ntstatus.h</i>.
## -remarks
Filter drivers can read the data that was read by the crashdump process.
Filter drivers can modify the contents of the data buffer contained in <b>Mdl</b> to revert any changes made to the data when it was written to disk.
## -see-also
<a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ntdddump/nc-ntdddump-dump_write">Dump_Write</a>
<a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/ntdddump/ns-ntdddump-_filter_extension">FILTER_EXTENSION</a>
| 24.88785 | 218 | 0.732257 | eng_Latn | 0.866951 |
14859c885efc8c242294845c7a32d231a54581c5 | 74 | md | Markdown | README.md | lishnih/index_launcher | 267547682c9748b7e4d1547ea2ab876292c3ce7f | [
"Unlicense"
] | null | null | null | README.md | lishnih/index_launcher | 267547682c9748b7e4d1547ea2ab876292c3ce7f | [
"Unlicense"
] | null | null | null | README.md | lishnih/index_launcher | 267547682c9748b7e4d1547ea2ab876292c3ce7f | [
"Unlicense"
] | null | null | null | index_launcher
==============
A launcher for starting indexing of files.
| 14.8 | 42 | 0.662162 | eng_Latn | 0.944298 |
1485da7ce0813d1af2264bca376c955f32e78974 | 171 | md | Markdown | README.md | Yuuto-Project/image-generator | db889f10af3a8776d6ed250068dfd01ce81608be | [
"MIT"
] | null | null | null | README.md | Yuuto-Project/image-generator | db889f10af3a8776d6ed250068dfd01ce81608be | [
"MIT"
] | 4 | 2020-05-08T13:06:40.000Z | 2021-02-02T16:14:16.000Z | README.md | Yuuto-Project/image-generator | db889f10af3a8776d6ed250068dfd01ce81608be | [
"MIT"
] | 3 | 2020-04-23T16:08:53.000Z | 2020-05-08T13:02:41.000Z | # Image generator
Image generator for the bot
## Notices:
This project contains modified code from https://github.com/stil/gd-text to fix some bugs that the library has
| 24.428571 | 110 | 0.777778 | eng_Latn | 0.983505 |
1485fb4b06ac00ebb01dd9454d84e0661c3ae466 | 1,547 | md | Markdown | de/common/docker-login.md | reinhart1010/nix | a1803c718ead3b79854b65396c8967bd5ec32874 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | de/common/docker-login.md | reinhart1010/nix | a1803c718ead3b79854b65396c8967bd5ec32874 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | de/common/docker-login.md | reinhart1010/nix | a1803c718ead3b79854b65396c8967bd5ec32874 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
layout: page
title: common/docker-login (Deutsch)
description: "Bei einer Docker Registry einloggen."
content_hash: 88d8e8463791c73cabdd687ace6a74f3f418ba36
related_topics:
- title: English version
url: /en/common/docker-login.html
icon: bi bi-globe
---
# docker login
Bei einer Docker Registry einloggen.
Weitere Informationen: <https://docs.docker.com/engine/reference/commandline/login/>.
- Interaktives Einloggen bei einer Registry:
`docker login`
- Einloggen mit einem angegebenen Benutzernamen (fragt nach dem Passwort):
`docker login --username `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">benutzername</span>
- Einloggen mit einem angegebenen Benutzernamen und Passwort:
`docker login --username `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">benutzername</span>` --password `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">passwort</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">server</span>
- Einloggen mit einem Passwort, welches von stdin gelesen wird:
`echo "`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">passwort</span>`" | docker login --username `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">benutzername</span>` --password-stdin`
| 49.903226 | 411 | 0.765352 | deu_Latn | 0.339496 |
1486acef3c43ca6e29cecdbbab82b6ad36cfaee8 | 1,716 | md | Markdown | tensorflow_io/oss/README.md | rjpower/tensorflow-io | 39aa0b46cfaa403121fdddbd491a03d2f3190a87 | [
"Apache-2.0"
] | null | null | null | tensorflow_io/oss/README.md | rjpower/tensorflow-io | 39aa0b46cfaa403121fdddbd491a03d2f3190a87 | [
"Apache-2.0"
] | null | null | null | tensorflow_io/oss/README.md | rjpower/tensorflow-io | 39aa0b46cfaa403121fdddbd491a03d2f3190a87 | [
"Apache-2.0"
] | null | null | null | # TensorFlow OSS Filesystem Extension
OSS is an object storage service provided by Alibaba Cloud, see [here](https://www.alibabacloud.com/product/oss) for more information about the service.
This module provides an extension that emulates a filesystem using the object storage service. The directory structures are encoded in object keys and file contents are stored in objects. The extension is implemented using [OSS C SDK](https://github.com/aliyun/aliyun-oss-c-sdk).
To use the extension, first get your OSS credential from [Alibaba OSS Service](https://www.alibabacloud.com/product/oss), including:
```
host = your_oss_cluster_host
access_id = your_oss_access_id
access_key = you_oss_access_key
bucket = your_oss_bucket_name
```
In Python code, import the extension `ossfs_op` module to use the extension with `gfile`. The files and directory URI should have `oss://` prefix, followed by an oss bucket name, access_id, access_key, oss_host, then the directory hierarchy.
```python
import tensorflow_io.oss
from tensorflow.python.platform import gfile
gfile.MkDir('oss://${bucket}\x01id=${access_id}\x02key=${access_key}\x02host=${host}/test_dir')
```
With the extension installed, OSS files can be used with Dataset Ops, etc., in the same fashion as other files.
```python
dataset = tf.data.TextLineDataset(["oss://${bucket}\x01id=${access_id}\x02key=${access_key}\x02host=${host}/data_dir/file1"])
```
## Test
File `tests/test_oss.py` contains basic filesystem functionality tests. See `README.md` in the root directory for more information about running tests. Make sure OSS credential has been set before running `pytest tests`. You can also just run the OSS test using `pytest tests/test_oss.py`
| 50.470588 | 288 | 0.778555 | eng_Latn | 0.942789 |
1486f6ae900829fff51abe17ba9313558257627e | 3,271 | md | Markdown | README.md | VINTO1819/Self-Check-Security | c2080f875f6c2dd96f26de6edbabab51d032b927 | [
"MIT"
] | 11 | 2020-10-09T05:28:28.000Z | 2021-09-20T11:34:57.000Z | README.md | VINTO1819/Self-Check-Security | c2080f875f6c2dd96f26de6edbabab51d032b927 | [
"MIT"
] | null | null | null | README.md | VINTO1819/Self-Check-Security | c2080f875f6c2dd96f26de6edbabab51d032b927 | [
"MIT"
] | 2 | 2020-10-12T23:23:10.000Z | 2020-11-25T16:52:03.000Z | # 구 자가진단 사이트 취약점 보고서
> 이 보고서는 VINTO가 작성하였으며 MIT 라이센스로 배포됩니다.
> 또한 이 보고서를 악용하여 발생하는 법적 책임은 모두 당사자에게 있습니다.
> 교육부의 권고/안내사항 및 정보통신망법 제44조의2 1항에 따라 이 취약점으로 인해 피해자가 발생할 경우, 피해자의 요청에 따라 해당 취약점이 완전히 막힐 때까지 취약점 보고서의 공개를 잠정 중단할 것을 알립니다.
🔑 취약점
============
Script의 난독화 부재
------------
<img src="./selfCheckHomeHTML.png" alt="Chrome Dev Tool을 통해 자가진단 페이지를 본 모습" width="500"/>
> Chrome Dev Tool을 통해 자가진단 페이지를 본 모습
교육부가 개발한 자가진단 홈페이지를 Chrome Dev Tool로 분석한 결과,
Javascript 코드가 .js 파일로 따로 분리되지 않고 HTML 파일에 ```<Script>``` 태그 형식으로 내장된 것이 확인되었다.
또한 Javascript 코드에는 어떠한 난독화 조치도 되어있지 않았다.
#### 이는, 공격자가 손쉽게 페이지를 분석하고 공격할 수 있는 기회를 마련한다.
Bruteforce 방지기능의 부재
------------
Ajax를 이용해 동시에 300~400회의 ```HTTP POST Request```를 넣은 결과,
모든 요청에 대해 지연/연결 차단등의 조치 없이 응답을 반환하는 것이 확인되었다.
300~400회의 Request에 소요된 시간은 단 **2초 이내**로 측정되었다.
이러한 Bruteforce 차단기능의 부재는 **개인정보를 유출의 가능성을 현저히 높인다.**
SQL Injection 방어의 부재 의심
------------
취약점을 분석하는 도중 자가진단 사이트가 Sql을 사용하는 것으로 의심되는 코드(```SELECT_ERROR```)가 반환되었다.
대부분의 사이트에서 Sql을 사용하기에 이 정보 자체는 큰 문제가 되지 않을 것으로는 보이나, ```첫번째 취약점```의 사례가 있는 만큼 **SQL Injection 취약점의 존재 가능성도 의심된다.**
🔐 취약점 시연
============
생년월일 및 자가진단 토큰 추출
------------
<img src="./Success_Tool.PNG" alt="Chrome Dev Tool을 통해 자가진단 페이지를 본 모습" width="500"/>
> 본 개발자의 이름/학교명/태어난 년도를 입력하게 되자,
> 본 개발자의 생년월일은 물론, 자가진단 조작에 필요한 토큰까지 나오게 되었다.
```2번째 취약점```을 이용한 Bruteforce 도구를 개발하여 실험한 것으로,
특정인의 ```거주 지역```/```이름```/```학교명```/```태어난 년도(필수는 아님)```을 입력하면 **단 1~2초만에 그 사람의 생년월일과 자가진단 등록에 필요한 토큰을 추출**할 수 있다.
이는 매우 심각한 상황으로,
누군가 악의적인 목적으로 접근하여 이름/학교 정보/지역만을 통해 **해당 사용자의 개인정보**를 알아낼 수 있을 뿐만 아니라,
자가진단 데이터를 조작하여 **피해자가 등교하지 못하도록 하는 등의 행위**까지도 가능해진다.
🔧 해결 방안
============
* 자가진단 페이지의 Javascript 코드를 .js 파일로 분리하고, 난독화 과정을 거친다.
* Bruteforce를 방지하기 위해 ```학생의 이름 별``` 분당 요청 횟수를 제한한다.
* 또한 SQL Injection의 취약점이 의심되는 만큼 ```SQL 저장 프로시저```를 이용하거나 ```입력값 검증```을 추가한다.
🚧 현황
============
* 2020년 9월 경, 새로 개발된 자가진단 서비스가 출시되었음에도 불구하고 현 취약점을 그대로 보유하고 있는 서비스는 유지되고 있음.
* 2020년 10월 9일 : 국민신문고 민원을 통해 교육부에 해당 취약점을 통보함
* 2020년 10월 20일 : 교육부 교육정보화과로부터 아래와 같은 답변을 받음 :
```
교육부 교육정보화과에서 답변드립니다.
민원인께서는 교육부 구 자가진단 사이트 대상 브루트 포스 취약점에 대해 제보하셨습니다.
평소 교육부 운영 사이트 대상으로 정보보안에 관심을 갖아주셔서 감사말씀드립니다.
민원인께서 8월경 구 자가진단 사이트에서 발견하신 브루트 포스 공격 대상 서비스는 현재 운영하지 않고 있으며, 구 사이트 접속 시 사용자 편리성을 위해 신 사이트로 자동전환 되는 기능을 제한적으로 사용하고 있습니다.
※ 신 사이트 자동전환 기능도 구 사이트 접속 사용자를 고려하여 서비스 제한(폐쇄) 예정
또한, 신 자가진단 사이트에서는 브루트 포스 공격에 대비한 SQL Injecton 방어 조치 및 소스 난독화가 적용되어 있습니다.
또한 사이트에 취약점이 존재한다 하더라도 Github에 취약점을 공개하는 부분은 해커(권한없는 자) 등이 공개된 정보를 이용하여 남의 개인정보를 확인하려는 행위 우려가 있는 점에 있어서 정보통신망법 제44조의2(정보의 삭제요청 등)제1항*이 적용될 수 있는 소지가 있음을 추가로 알려드립니다.
* 정보통신망을 통하여 일반에게 공개를 목적으로 제공된 정보로 사생활 침해나 명예훼손 등 타인의 권리가 침해된 경우 그 침해를 받은 자는 해당 정보를 처리한 정보통신서비스 제공자에게 침해사실을 소명하여 그 정보의 삭제 또는 반박내용의 게재(이하 "삭제등"이라 한다)를 요청할 수 있다.
향후 교육부 관련 사이트의 취약요소 발견 시에는 교육부 사이버안전센터로 문의 또는 신고바라며,
본 민원 관련 추가 문의사항에 대해서는
교육부 교육정보화과로 연락주시면 답변드리도록 하겠습니다.
감사합니다.
```
* 2020년 10월 20일 : 교육부 확인결과 취약점이 적용되는 구 자가진단 사이트의 운영이 중단됨.
* 구 사이트로 접속시 최신 자가진단 사이트로 리다이렉트
* 단, 사이트만 접속이 불가능하고 **구 API는 여전히 동작하는 것이 확인됨**, 이는 교육부의 답변에서 밝힌 사이트 리다이렉트 조치가 무의미하다는 것을 보여줌.
* 교육부의 답변에 따르면, 최신 자가진단 사이트에서는 SQL Injection 방어조치 및 프론트엔드 난독화 등 기본적인 보안수칙이 적용됨.
* 2020년 10월 20일 : 교육부의 권고 및 안내사항 `정보통신망법 제44조의2(정보의 삭제요청 등)`에 따라 해당 취약점으로 인한 피해자가 발생할 경우, 피해자의 의사에 따라 취약점 공개를 잠정 중단하기로 함. | 36.752809 | 163 | 0.66524 | kor_Hang | 1.00001 |
1487458dd44abcf156b10a3e10ea1814eae184ff | 15,046 | md | Markdown | articles/habr-quickstart-final.md | kgmsoft/p-secamp-2014 | 03d20a8d947a1171efde692d9a7515d46cff347c | [
"Unlicense"
] | null | null | null | articles/habr-quickstart-final.md | kgmsoft/p-secamp-2014 | 03d20a8d947a1171efde692d9a7515d46cff347c | [
"Unlicense"
] | null | null | null | articles/habr-quickstart-final.md | kgmsoft/p-secamp-2014 | 03d20a8d947a1171efde692d9a7515d46cff347c | [
"Unlicense"
] | null | null | null | SWD.Starter: Быстрый старт автоматизации тестирования UI на C# + Selenium WebDriver + PageObjects
Статья расскажет о том, как настроить фреймворк автоматизированного тестирования пользовательского интерфейса на языке C#, вместе с Selenium WebDriver и паттерном PageObjects.
Стартовый набор с открытым исходным кодом – SWD.Starter – поможет написать и запустить ваш первый тест в течении 10 минут. Кроме этого, предлагая архитектуру фреймворка, основанную на хороших практиках автоматизации тестирования.
Весь код SWD.Starter может быть полностью настроен под ваши задачи.

## Что такое SWD.Starter?
SWD.Starter – это стартовый набор для вашего фреймворка автоматизации тестирования. Весь исходный код доступен на GitHub: [dzhariy/SWD.Starter](https://github.com/dzhariy/SWD.Starter), а лицензия проекта (unlicense), позволяет вам использовать исходный код как угодно, хоть продавать.
SWD.Starter – это уже настроенный проект, содержащий весь необходимый инфраструктурный код для начала создания и запуска тестов пользовательского интерфейса через Selenium WebDriver.
SWD.Starter настойчиво рекомендует использование паттерна PageObjects. И в случае использования этого паттерна, вы сможете писать новый код авто-тестов действительно быстро, при этом, сохраняя красивую архитектуру и читабельность кода.
## Что необходимо для начала
Для запуска проекта, вам будет необходимо следующее программное обеспечение:
1. Visual Studio Express 2013 Desktop Edition (также, теоретически, поддерживаются VS2010 и VS2012)
2. Git для выкачки проекта из Github
3. Дополнительные драйвера браузеров Selenium WebDriver, которые можно [скачать с официальной страницы проекта](http://docs.seleniumhq.org/download/)
Для быстрой и удобной установки ПО, я рекомендую использовать пакетный менеджер для Windows – [Chocolatey](http://chocolatey.org).
Согласно инструкциям на главной странице, откройте cmd.exe, и в консольном окне, просто выполните следующий код:
<source lang="dos">
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
</source>
А далее, в том же консольном окне, выполните следующие команды:
* <source lang="dos">cinst VisualStudioExpress2013WindowsDesktop</source>
* <source lang="dos">cinst git</source>
Теперь, в консольном окне (например в cmd.exe или Far Manager), выберете папку, куда вы хотите клонировать SWD.Starter – и запустите команду:
<source lang="dos">
git clone https://github.com/dzhariy/SWD.Starter.git
</source>
Это обязательный шаг, иначе проект не скомпилируется:
Скопируйте *chromedriver.exe* и *IEDriverServer.exe* в папку *SWD.Starter\webdrivers*
А вот видео полной установки на чистую виртуалку (которую я скачал с http://modern.ie )
*Следуй за розовым покемоном, Нео!*:
http://www.youtube.com/watch?v=8wigKFJ3WmY
## Что такое PageObjects и почему это настолько важно?
Если говорить просто, то подход в автоматизированном тестировании, с использованием PageObjects, заключается в том, что вы просто выносите весь код низкоуровневой работы со страницей (например, набор текста и нажатия мышкой по элементам) в отдельные классы.
Теперь ваши тесты не работают со страницей напрямую, вызывая низкоуровневые методы WebDriver, а используют более высокоуровневые операции, специфичные для каждой страницы.
Это сокращает количество строк кода в тестах, тем самым делая код более читабельным, понятным и надёжным.
Подход PageObjects – это альтернатива бот-стилю – вызову методов WebDriver из тестов напрямую.
В самом начале, бот-стиль кажется проще и понятнее чем использование PageObjects. Но, это огромное заблуждение, которое может привести ваш проект автоматизации к краху.
Со временем, когда количество тестов будет расти, в случае использования бот-стиля, вы будете тратить все больше и больше времени на их поддержку. В итоге, поддержка фреймворка автоматизации будет экономически не выгодной и руководством проекта будет принято решение вернутся к ручному тестированию. А уже написанный код останется только выбросить, по причине того, что он уже не соответствует реальному тестируемому приложению.
Тесты в бот-стиле подобны огромной неотсортированной куче книг. Когда ваша «куча» состоит всего из 10-ти книг, в ней можно разобраться без особых трудностей.
Но, что вас ждёт, когда количество книг возрастёт до 100? Поверьте, я вам не завидую. Просто потому, что сам через это уже прошёл.

С другой стороны, при использовании PageObjects, можно разложить все книги по полочкам. В книжных магазинах и на складах, содержится огромное количество книг. Тем не менее, продавцы могут быстро найти то, что вам нужно.
PageObject-класс – это книжная полка, позволяющая удобно организовать код работы с веб-страницей. А популярные языки программирования и IDE предоставляют значительно больше возможностей при использовании объектно-ориентированного программирования.

### Тесты в бот-стиле
Основное преимущество тестов в бот-стиле то, что вы можете их «записать даже не зная языка программирования», при помощи таких инструментов, как Selenium IDE и Selenium Builder.
В результате, может получится нечто такое:
!!!!! brittle.cs
Такой подход может быть оправдан при выполнении одноразовых задач. Например, если вам необходимо создать 1000 пользователей через интерфейс приложения – достаточно записать создание одного, и с минимальными изменениями поместить код в цикл.
Такой подход будет губительным, если вы надеетесь на автоматизацию тестирования в долгосрочной перспективе.
Вот один небольшой пример:
Предположим, доступ к одной странице продукта осуществляется из 30-ти тестов. В один прекрасный день, программисты принимают решение поменять вёрстку страницы:
Теперь и элементы называются по другому, и «логика кликов» меняется.
В этом случае, вам будет необходимо внести изменение в 30 тестов, вместо того, чтобы сделать это в одном классе.
Как вы думаете, сколько времени эта интереснейшая работа займёт?

### Тесты с использованием PageObject-классов
Если просто вынести куски кода и организовать все виде нескольких PageObject-классов, то с кодом теста происходят чудесные превращения: он стает понятным, появляются действия, которые можно переиспользовать в других тестах, вместо того чтобы копи-пастить вызовы WebDriver.
Обратите внимание, что в коде теста стало больше строк... Но, это ведь только за счёт комментариев и пояснений, которые важны для демонстрации в этой статье, но необязательны в вашем реальном коде.
Уберите все комментарии и пустые строки – и код все равно останется читабельным и сократится по количеству строк.
!!!! page-object-test.cs

Ну что? Хотите создавать тесты, используя PageObject?
## Первый Smoke-тест в SWD.Starter
Если вы задаётесь вопросом: с чего начать автоматизацию тестирования? То, у меня для вас есть очень простой ответ, который подойдёт в 99% случаев.
Начните со смоук тестов для каждой страницы приложения.
Рецепт:
1. Взять страницу любого уровня вложенности
2. Открыть страницу
3. Проверить, что все важные элементы – присутствуют на странице.
И в результате мы получим легковесный тест, который в случае успешного прохода говорит:
1. Что все важные элементы отдельной страницы до сих пор не изменились
2. То, что наши PageObject классы по прежнему соответствуют актуальной странице
3. То, что путь из точки А. (главная страница) в точку Б. (любая другая страница) – возможен для конечно пользователя приложения.
4. И все это работает в разных браузерах.
А теперь, давайте напишем первый тест для страницы регистрации нового пользователя Хабрахабр:
<video>www.youtube.com/watch?v=_se8MGhQrIs</video>
Покрыв все страницы приложения такими тестами – вы будете приятно удивлённы: метрики покрытия покажут покрытие больше 50%. Конечно же, мы понимаем, что метрика покрытия кода – не самая основная, но согласитесь, это – хороший результат.
Кроме того, в [SwdBrowser.cs](https://github.com/dzhariy/SWD.Starter/blob/master/src/SWD.Core/WebDriver/SwdBrowser.cs) есть метод HandleJavaScriptErrors(). В данной реализации, его нужно просто почаще вызывать, например, в каждом .Invoke(). И тогда, этот метод сможет отловить возможные неожиданные ошибки JavaScript.
Я надеюсь, что в ходе просмотра видео, вы заметили несколько интересных вещей?
Например, что в проекте уже готова инфраструктура для смоук-тестов PageObject-классов?...
И чтобы добавить тест – необходимо просто его записать, сгенерировать код... и следовать инструкциям в сгенерированном коде.
А в самом начале, мы видим строку кода:
<source lang="cs">
[TestMethod]
public void S01_First_Step_Run_WebDriver_with_Firefox()
{
SwdBrowser.Driver.Url = "http://swd-tools.com";
}
</source>
которая: открывает браузер, переходит по нужному URL... и закрывает браузер.
Не много ли это для одной строки?
И почему открылся именно FireFox, а что если я хочу Internet Explorer?
Об этом и многом другом – ниже.
## Хорошие практики в автоматизации тестирования
Вы знаете, опасно называть практики «лучшими», и поэтому, оставим просто «хорошими».
Время от времени, я описываю такие практики в виде небольших заметок, которые иллюстрируют конкретное решение, но, к сожалению, не показывают общей картины.
Для того, чтобы показать, как хорошие практики работают вместе, я и начал работу над SWD.Starter.
Вот, например, по статье [Автоматическое создание Браузера и инициализация PageObject](http://automated-testing.info/t/zametka-avtomaticheskoe-sozdanie-brauzera-i-iniczializacziya-pageobject/3522?u=dzhariy) как раз и был реализован SwdBrowser. А PageObject классы, унаследованные от CorePage – умеют самостоятельно инициализировать веб-элементы.
А в заметке [WebDriverWait и PageObject](http://automated-testing.info/t/zametka-c-webdriverwait-i-pageobject/3531?u=dzhariy), я рассказываю, как добавить «умные» методы ожидания элементов для PageObject, по типу WebDriverWait для обычных элементов.
Все это уже вошло в SWD.Starter. И если вас интересует решение конкретной проблемы – просто посмотрите код, а я, со временем, сделаю так, чтобы в нем можно было легко разобраться. Уже сейчас, некоторые классы в достаточной мере документированы, например – [Swd.Core.Configuration.Config Class](http://swd-tools.com/swd-starter-api/class_swd_1_1_core_1_1_configuration_1_1_config.html). А комментарии для некоторых классов уже есть в коде, но пока ещё не мигрировали в Doxygen.
## Структура проекта SWD.Starter

Ядро SWD.Starter – это Swd.Core. В нем содержатся такие интересные штуки как:
* Класс Swd.Core.Configuration → Config, который читает настройки фреймворка из внешнего файла Config.config. Именно в этом файле можно выбрать запускаемый браузер, а также добавить свои настройки.
* Класс Swd.Core.WebDriver → SwdBrowser – уже упоминался. Он управляет жизнью браузера. А рядом, в том же пространстве имен, находятся полезные методы и классы, упрощающие работу с браузером.
* В пространстве имен Swd.Core.Pages, живут базовые классы для PageObject'ов.
В Swd.Core расположен только общий код, который, в дальнейшем, можно расширить в дочерних проектах по тестированию.
Пример такого тестового проекта – DemoProject.
Тестовый проект состоит из двух основных подпроектов:
* Demo.TestModel – содержит декларации PageObject-классов, кастомизированные базовые классы, необходимые данные, кусочки логики работы приложения, и другие библиотечные функции, специфичные для конкретного тестируемого приложения.
Обычно, для отдельного тестируемого приложения должена быть лишь одна библиотека Модели.
* Demo.TestProject – проект, содержащий наборы тестов. Таких тестовых проектов может быть несколько. Вот, например, Demo.Tutorial – это тоже проект с тестами, и он также как Demo.TestProject использует библиотеку Модели (Demo.TestModel ).
* Demo.Tutorial – попытка создания руководства по работе с Swd.Starter. Пока ещё не совсем законченный, но уже сейчас, можно читать файл «Ch_00_Introduction.cs» и пробовать запускать тесты.
## Обратная связь, лицензия и сотрудничество
Лицензия проекта позволяет вам производить любые действия с кодом проекта, которые может ограничить лишь ваша фантазия. (http://unlicense.org/)
Код можно видоизменять, использовать в коммерческих целях, выкладывать на торренты и майнить биткоины, если хотите.
Но, мне бы было очень полезно получить от вас обратную связь. Оставить комментарии можно как тут, так и на странице проекта на Github.
А лучше всего, если вы отправите реальный чёткий пацанячий pull-request в репозиторий на github.
Но, если это будет огромное изменение с перелапачиванием половины кода, то, неплохо было бы вначале его обсудить.
Над чем можно работать? – Там поле почти не паханное:
* Документация
* Туториал
* Новый полезный код, решающий реальные проблемы
* Новые демонстрационные проекты
* Инструкции
И ещё. 28-го февраля 2014 в Киеве, я планирую выступать с докладом на конференции [Selenium Camp 2014](http://habrahabr.ru/events/4126/). Доклад будет посвящён проекту SWD Page Recorder, но и проекту SWD.Starter будет посвящено не мало времени. А после, запись доклада появится в [разделе архива материалов](http://seleniumcamp.com/archive/), через 3-4 месяца после конференции.
Я буду доступен все два дня, и буду готов пообщаться «в живую» как после моего доклада, так и в течении всего времени конференции.
## Полезные материалы
* [SWD Tools](http://swd-tools.com) – страница проектов Page Recorder и Starter. Содержит (или будет содержать) все необходимые ссылки, касательно проектов
* [GitHub SWD Starter](https://github.com/dzhariy/SWD.Starter)
* [GitHub SWD Page Recorder](https://github.com/dzhariy/swd-recorder/)
* [SWD Page Recorder: Записывает PageObject-классы для Selenium WebDriver](http://habrahabr.ru/post/191802/) – Обзор SWD Page Recorder на Хабрахабр
* [Вебинар: Основы использования паттерна Page Object вместе с Selenium WebDriver](http://habrahabr.ru/post/145848/)
* [Подборка свежих заметок и статей по автоматизации тестирования](http://blog.zhariy.com/2013/12/atinfo.html) – если вам интересны советы по автоматизации тестирования
* [Слайды/Видео к моему докладу на #atdays : За пределами PageObject](http://blog.zhariy.com/2013/02/atdays-pageobject.html)
* [Maintainable Automated UI Tests](http://net.tutsplus.com/tutorials/maintainable-automated-ui-tests/) – отличная статья, с современным взглядом на автоматизацию тестирования
Успешной вам автоматизации.
| 61.162602 | 477 | 0.802472 | rus_Cyrl | 0.97317 |
14878d3138ec24a72c2efa81b4a210b2b6d642f0 | 2,722 | md | Markdown | docs/framework/unmanaged-api/debugging/icordebugframe-interface.md | JosephHerreraDev/docs.es-es | dd545ff8c6bc59a76ff761c43b14c7f05127c91a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/framework/unmanaged-api/debugging/icordebugframe-interface.md | JosephHerreraDev/docs.es-es | dd545ff8c6bc59a76ff761c43b14c7f05127c91a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/framework/unmanaged-api/debugging/icordebugframe-interface.md | JosephHerreraDev/docs.es-es | dd545ff8c6bc59a76ff761c43b14c7f05127c91a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Interfaz ICorDebugFrame
ms.date: 03/30/2017
api_name:
- ICorDebugFrame
api_location:
- mscordbi.dll
api_type:
- COM
f1_keywords:
- ICorDebugFrame
helpviewer_keywords:
- ICorDebugFrame interface [.NET Framework debugging]
ms.assetid: 0c48f764-3c64-4602-b2f4-4ffc60eb2c65
topic_type:
- apiref
ms.openlocfilehash: 9c2771d1338943406921447d96dd9a8748153a36
ms.sourcegitcommit: 488aced39b5f374bc0a139a4993616a54d15baf0
ms.translationtype: MT
ms.contentlocale: es-ES
ms.lasthandoff: 05/12/2020
ms.locfileid: "83209635"
---
# <a name="icordebugframe-interface"></a>Interfaz ICorDebugFrame
Representa un marco en la pila actual.
## <a name="methods"></a>Métodos
|Método|Descripción|
|------------|-----------------|
|[CreateStepper (Método)](icordebugframe-createstepper-method.md)|Obtiene un ICorDebugStepper para realizar operaciones de ejecución paso a paso con respecto a este `ICorDebugFrame` .|
|[Método GetCallee](icordebugframe-getcallee-method.md)|Obtiene un puntero al `ICorDebugFrame` en la cadena actual a la que este marco llamó, o devuelve NULL si se trata del marco más interno de la cadena.|
|[Método GetCaller](icordebugframe-getcaller-method.md)|Obtiene un puntero al `ICorDebugFrame` en la cadena actual que llamó a este marco, o devuelve NULL si se trata del marco más externo de la cadena.|
|[Método GetChain](icordebugframe-getchain-method.md)|Obtiene un puntero al `ICorDebugFrame` elemento ICorDebugChain del que forma parte.|
|[Método GetCode](icordebugframe-getcode-method.md)|Obtiene un puntero a la clase ICorDebugCode asociada a este marco de pila.|
|[Método GetFunction](icordebugframe-getfunction-method.md)|Obtiene un puntero a la clase ICorDebugFunction que contiene el código asociado a este marco de pila.|
|[Método GetFunctionToken](icordebugframe-getfunctiontoken-method.md)|Obtiene el símbolo (token) de metadatos para la función que contiene el código asociado a este marco de pila.|
|[GetStackRange (Método)](icordebugframe-getstackrange-method.md)|Obtiene el intervalo de direcciones absolutas del marco de pila representado por este `ICorDebugFrame` .|
## <a name="remarks"></a>Observaciones
> [!NOTE]
> Esta interfaz no admite que se la llame de forma remota, ya sea entre procesos o entre equipos.
## <a name="requirements"></a>Requisitos
**Plataformas:** Vea [Requisitos de sistema](../../get-started/system-requirements.md).
**Encabezado:** CorDebug.idl, CorDebug.h
**Biblioteca:** CorGuids.lib
**.NET Framework versiones:**[!INCLUDE[net_current_v10plus](../../../../includes/net-current-v10plus-md.md)]
## <a name="see-also"></a>Consulte también
- [Interfaces para depuración](debugging-interfaces.md)
| 46.931034 | 208 | 0.759735 | spa_Latn | 0.82348 |
148841f0dc74c9c7cbeea886eb1bb02863118dba | 783 | md | Markdown | docs/landing/resources/api/shopware-6-client.getproducts.md | cleverhunter/Wonderful-Shopware-Pwa- | d5dcbaa3331937eb695418969963df34fc23849b | [
"MIT"
] | null | null | null | docs/landing/resources/api/shopware-6-client.getproducts.md | cleverhunter/Wonderful-Shopware-Pwa- | d5dcbaa3331937eb695418969963df34fc23849b | [
"MIT"
] | null | null | null | docs/landing/resources/api/shopware-6-client.getproducts.md | cleverhunter/Wonderful-Shopware-Pwa- | d5dcbaa3331937eb695418969963df34fc23849b | [
"MIT"
] | null | null | null | <!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@shopware-pwa/shopware-6-client](./shopware-6-client.md) > [getProducts](./shopware-6-client.getproducts.md)
## getProducts() function
Get default amount of products
<b>Signature:</b>
```typescript
export declare function getProducts(criteria?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"product", Product[]>>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| criteria | ShopwareSearchParams | |
| contextInstance | [ShopwareApiInstance](./shopware-6-client.shopwareapiinstance.md) | |
<b>Returns:</b>
Promise<EntityResult<"product", Product\[\]>>
## Exceptions
ClientApiError
| 26.1 | 153 | 0.707535 | eng_Latn | 0.357603 |
1489ed04a49caf0f1cafc2a7fd199a86387f0ecf | 4,280 | md | Markdown | README.md | gmandrade/http-request-tool | 1c3b90206af77a1c4151a49a9888106070b9744a | [
"Unlicense"
] | null | null | null | README.md | gmandrade/http-request-tool | 1c3b90206af77a1c4151a49a9888106070b9744a | [
"Unlicense"
] | null | null | null | README.md | gmandrade/http-request-tool | 1c3b90206af77a1c4151a49a9888106070b9744a | [
"Unlicense"
] | 1 | 2020-08-11T06:11:57.000Z | 2020-08-11T06:11:57.000Z | # HTTP Request Tool
**NOTE** Requires python3.6 and lib requests version 2.18.4
Simple script for testing HTTP requests
```
$ ./main.py -h
usage: main.py [-h] -u URL [-m METHOD] [-t TIMEOUT] [-n NUMBER]
[-sh SHOW_HEADER]
HTTP Request Tool
optional arguments:
-h, --help show this help message and exit
-m METHOD, --method METHOD
Method request. Example: GET or HEAD Default: GET
-t TIMEOUT, --timeout TIMEOUT
Define a timeout Example: 10 Default: 20
-n NUMBER, --number NUMBER
Requests number Example: 10 Default: 1
-sh SHOW_HEADER, --show-header SHOW_HEADER
Return header Example: True Default: False
required arguments:
-u URL, --url URL Url for request. Example: http://google.com
```
## Send 5 requests to a same URL with 10s timeout (requestTime is in seconds)
```
$ ./main.py -u http://facebook.com -n 5 -t 10
sys=http-request-tool log=INFO status=200 url=http://facebook.com requestTime=0.424029
sys=http-request-tool log=INFO status=200 url=http://facebook.com requestTime=0.429841
sys=http-request-tool log=INFO status=200 url=http://facebook.com requestTime=0.343457
sys=http-request-tool log=INFO status=200 url=http://facebook.com requestTime=0.430575
sys=http-request-tool log=INFO status=200 url=http://facebook.com requestTime=0.439477
```
or
```
$ ./main.py -u http://github.com --number 5 --timeout 10
sys=http-request-tool log=INFO status=200 url=http://github.com requestTime=0.922388
sys=http-request-tool log=INFO status=200 url=http://github.com requestTime=0.9215
sys=http-request-tool log=INFO status=200 url=http://github.com requestTime=0.921469
sys=http-request-tool log=INFO status=200 url=http://github.com requestTime=0.920861
sys=http-request-tool log=INFO status=200 url=http://github.com requestTime=0.921263
```
## Send a request with HEAD method
```
$ ./main.py -u http://instagram.com -m HEAD
sys=http-request-tool log=INFO status=301 url=http://instagram.com requestTime=0.482837
```
or
```
$ ./main.py -u http://yahoo.com --method HEAD
sys=http-request-tool log=INFO status=301 url=http://yahoo.com requestTime=0.482571
```
## Show header from request
```
$ ./main.py -u http://bbc.com -sh True
sys=http-request-tool log=INFO status=200 url=http://bbc.com requestTime=0.090202 header={'Server': 'Apache', 'X-Cache-Action': 'HIT', 'X-Cache-Age': '3', 'Content-Type': 'text/html', 'Content-Encoding': 'gzip', 'Expires': 'Sat, 20 Oct 2018 04:42:03 GMT', 'Content-Language': 'en', 'Etag': '"d641e3b5c7cc11eac18c48310d7dc8a8"', 'X-PAL-Host': 'pal836.back.live.lbh.local:80', 'Content-Length': '37029', 'Accept-Ranges': 'bytes', 'Date': 'Sat, 20 Oct 2018 05:00:41 GMT', 'Via': '1.1 varnish', 'Age': '5', 'Connection': 'keep-alive', 'X-LB-NoCache': 'true', 'X-Fastly-Cache-Status': 'HIT-CLUSTER', 'Set-Cookie': 'BBC-UID=9191fedbebbc3207e64dbb22eb6c5ef123fa2d821693783d807cceed6aadaad30python-requests%2F2.18.4; expires=Wed, 19 Oct 2022 05:00:41 GMT; path=/; domain=.bbc.com', 'Cache-Control': 'private, max-age=60', 'X-Served-By': 'cache-gru17122-GRU', 'X-Cache': 'HIT', 'X-Cache-Hits': '1, 1', 'X-Timer': 'S1540011642.969681,VS0,VE1', 'Vary': 'Accept-Encoding'}
```
or
```
$ ./main.py -u http://hackernews.com --show-header True
sys=http-request-tool log=INFO status=200 url=http://hackernews.com requestTime=0.865824 header={'Date': 'Sat, 20 Oct 2018 05:01:10 GMT', 'Server': 'Apache/2.4.35', 'Last-Modified': 'Thu, 08 Feb 2007 23:26:02 GMT', 'ETag': '"20d9-428ff5dc7f680"', 'Accept-Ranges': 'bytes', 'Content-Length': '8409', 'Keep-Alive': 'timeout=5, max=100', 'Connection': 'Keep-Alive', 'Content-Type': 'text/html'}
```
## You can run as a docker command
```
$ docker build -t http-request-tool .
```
```
$ docker run -it http-request-tool -u http://google.com -n 5
sys=http-request-tool log=INFO status=200 url=http://google.com requestTime=0.290938
sys=http-request-tool log=INFO status=200 url=http://google.com requestTime=0.094965
sys=http-request-tool log=INFO status=200 url=http://google.com requestTime=0.085773
sys=http-request-tool log=INFO status=200 url=http://google.com requestTime=0.139594
sys=http-request-tool log=INFO status=200 url=http://google.com requestTime=0.133311
``` | 52.195122 | 960 | 0.697897 | yue_Hant | 0.458007 |
148baa9bf15ef1e16932471abaab5dc21f95f9c0 | 4,114 | md | Markdown | articles/active-directory/fundamentals/active-directory-properties-area.md | eltociear/azure-docs.es-es | b028e68295007875c750136478a13494e2512990 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/active-directory/fundamentals/active-directory-properties-area.md | eltociear/azure-docs.es-es | b028e68295007875c750136478a13494e2512990 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/active-directory/fundamentals/active-directory-properties-area.md | eltociear/azure-docs.es-es | b028e68295007875c750136478a13494e2512990 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: 'Incorporación de información de privacidad de una organización: Azure Active Directory | Microsoft Docs'
description: Instrucciones sobre cómo agrear información de privacidad de su organización en el área de propiedades de Azure Active Directory.
services: active-directory
author: msaburnley
manager: daveba
ms.service: active-directory
ms.subservice: fundamentals
ms.workload: identity
ms.topic: conceptual
ms.date: 04/17/2018
ms.author: ajburnle
ms.reviewer: bpham
ms.custom: it-pro, seodec18
ms.collection: M365-identity-device-management
ms.openlocfilehash: 343671c1d9ee82950a9822648f9831588da7e9f8
ms.sourcegitcommit: 2d7910337e66bbf4bd8ad47390c625f13551510b
ms.translationtype: HT
ms.contentlocale: es-ES
ms.lasthandoff: 04/08/2020
ms.locfileid: "80876191"
---
# <a name="add-your-organizations-privacy-info-using-azure-active-directory"></a>Incorporación de información de privacidad de su organización con Azure Active Directory
En este artículo se explica cómo un administrador de inquilinos puede agregar información relacionada con la privacidad al inquilino de Azure Active Directory (Azure AD) de una organización, a través de Azure Portal.
Se recomienda agregar su contacto de privacidad global y la declaración de privacidad de su organización, de modo que los empleados internos e invitados externos puedan revisar las directivas. Dado que las declaraciones de privacidad se crean de forma única y específica para cada negocio, es recomendable ponerse en contacto con un abogado para obtener ayuda.
[!INCLUDE [GDPR-related guidance](../../../includes/gdpr-dsr-and-stp-note.md)]
## <a name="add-your-privacy-info-on-azure-ad"></a>Incorporación de la información de privacidad en Azure AD
Puede agregar información de privacidad de su organización en el área de **Propiedades** de Azure AD.
### <a name="to-access-the-properties-area-and-add-your-privacy-information"></a>Para acceder al área de propiedades y agregar la información de privacidad
1. Inicie sesión en Azure Portal como administrador de inquilinos.
2. En la barra de navegación izquierda, seleccione **Azure Active Directory** y, luego, seleccione **Propiedades**.
Se muestra el área de **Propiedades**.

3. Agregar la información de privacidad de sus empleados:
- **Contacto técnico.** Escriba la dirección de correo electrónico de la persona de contacto para el soporte técnico de su organización.
- **Contacto de privacidad global.** Escriba la dirección de correo electrónico de la persona de contacto para consultas sobre privacidad de los datos personales. Esta persona también es quien se pone en contacto con Microsoft si se produce una vulneración de datos. Si no aparece ninguna persona aquí, Microsoft se pone en contacto con los administradores globales.
- **URL de la declaración de privacidad.** Escriba el vínculo del documento de su organización que describe la forma en que su organización controla la privacidad de datos interna y externa del invitado.
>[!Important]
>Si no incluye su propia declaración de privacidad o su contacto de privacidad, los invitados externos verán el texto en el cuadro de diálogo **Permisos de revisión** que dice: **<_nombre de su organización_> no ha proporcionado vínculos de sus términos que pueda revisar**. Por ejemplo, un usuario invitado verá este mensaje cuando reciba una invitación para acceder a una organización a través de la colaboración B2B.

4. Seleccione **Guardar**.
## <a name="next-steps"></a>Pasos siguientes
- [Canje de invitación de colaboración B2B de Azure Active Directory](../b2b/redemption-experience.md)
- [Adición o modificación de la información de perfil de un usuario en Azure Active Directory](active-directory-users-profile-azure-portal.md)
| 67.442623 | 427 | 0.790715 | spa_Latn | 0.978684 |
148c5306359136a6b6b8e65432c2b27a23e48bcc | 1,135 | md | Markdown | _2014_program/et-donc-je-suis-associe-de-ma-scop.md | herambchaudhari4121/softshake.github.com | ef69d340783c8d00c20d2525f5e63765fdeaeffc | [
"MIT"
] | null | null | null | _2014_program/et-donc-je-suis-associe-de-ma-scop.md | herambchaudhari4121/softshake.github.com | ef69d340783c8d00c20d2525f5e63765fdeaeffc | [
"MIT"
] | null | null | null | _2014_program/et-donc-je-suis-associe-de-ma-scop.md | herambchaudhari4121/softshake.github.com | ef69d340783c8d00c20d2525f5e63765fdeaeffc | [
"MIT"
] | null | null | null | ---
layout: 2014_session
sessionTitle: 'Et donc je suis associé de ma SCOP'
speakerName: 'Thierry CROS'
speakerEmail: tco@thierrycros.net
speakerBio: 'Salarié, fondateur d''entreprises, indépendant, entrepreneur-salarié d''une SCOP d''emploi'
speakerAddress: 'Castans, France'
speakerTitle: 'Coach agile'
speakerOrganization: 'SCOP Maison de l''Initiative'
speakerAvatarUrl: 'http://www.gravatar.com/avatar/53a108bd77daa806cc8828e2fd38e7ce?size=200&default=mm'
sessionCategory: 'Retour d''expérience '
sessionLevel: 'Shu (débutant)'
sessionTopic: 'Création d''entreprise, retour d''expérience sur la vie d''indépendant'
sessionTags:
- Agile
scheduleDay: '2'
scheduleOrder: '4'
scheduleRoom: BE29
---
Le fait d'être aujourd'hui associé d'une SCOP n'est pas un hasard, c'est l'aboutissement d'un parcours parsemé de créations d'entreprises, de statuts de salariés...
C'est surtout une situation qui me semble alignée avec un parcours d'XPiste.
En effet, cela conduit à une introspection : quel est mon job ? Ma raison d'être professionnelle ?
C'est cette recherche de cohérence, typiquement XP, que je souhaite retranscrire ici.
| 42.037037 | 165 | 0.782379 | fra_Latn | 0.84839 |
148c69ee40df2ef8b45b342fbf44edc02029a54e | 1,132 | md | Markdown | CONTRIBUTING.md | Sgt-Sauris/Prehistoric-Rift-Addon | f41bc0d003d6d334ad2e2ec488957f78543205bc | [
"MIT"
] | null | null | null | CONTRIBUTING.md | Sgt-Sauris/Prehistoric-Rift-Addon | f41bc0d003d6d334ad2e2ec488957f78543205bc | [
"MIT"
] | null | null | null | CONTRIBUTING.md | Sgt-Sauris/Prehistoric-Rift-Addon | f41bc0d003d6d334ad2e2ec488957f78543205bc | [
"MIT"
] | null | null | null | # How 2 compile???
Thats simple actually
1. Click that green download button to get a .zip file
2. Extract the "behaviors" and "resources" folders
3. Compress the folders into a .zip file (which you can name to whatever you want)
4. Change the ".zip" to ".mcaddon"
5. Click on the newly renamed file to import it to Minecraft
And there you go. Only problem is that doing so may give you a buggy version not fit for release, so trust the [releases tab](https://github.com/ANightDazingZoroark/Prehistoric-Rift-Addon/releases) for a stable version
# Editing
* Make sure that the code is readable
* Vanilla spawn eggs are formatted as Spawn ((insert mob name here)). This should also apply to the addon's own custom mobs
* Make sure to put a comma after every statement in the json files (unless it's the last one). For instance, the splash texts file
* Don't edit this file or else you will be tortured forever
* Borgy is the only exception to this rule since he made this
# Issues
* Make sure to give an issue the correct label
* Don't make the title too vague
* Don't delete issues. It's pointless anyway, just close them instead
| 59.578947 | 219 | 0.763251 | eng_Latn | 0.998536 |
148ced24e46877f3b988fae7e0da022770f9b84e | 1,019 | md | Markdown | _posts/2015-10-04-Temperley-London-Peri-Dress-Short-Sleeves-Chapel-Train-SheathColumn.md | gownthlala/gownthlala.github.io | f86dbdf6fa0e98646ca4cb470fa2928a56e04eec | [
"MIT"
] | null | null | null | _posts/2015-10-04-Temperley-London-Peri-Dress-Short-Sleeves-Chapel-Train-SheathColumn.md | gownthlala/gownthlala.github.io | f86dbdf6fa0e98646ca4cb470fa2928a56e04eec | [
"MIT"
] | null | null | null | _posts/2015-10-04-Temperley-London-Peri-Dress-Short-Sleeves-Chapel-Train-SheathColumn.md | gownthlala/gownthlala.github.io | f86dbdf6fa0e98646ca4cb470fa2928a56e04eec | [
"MIT"
] | null | null | null | ---
layout: post
date: 2015-10-04
title: "Temperley London Peri Dress Short Sleeves Chapel Train Sheath/Column"
category: Temperley London
tags: [Temperley London,Sheath/Column,Spaghetti Straps,Chapel Train,Short Sleeves]
---
### Temperley London Peri Dress
Just **$309.99**
### Short Sleeves Chapel Train Sheath/Column
<table><tr><td>BRANDS</td><td>Temperley London</td></tr><tr><td>Silhouette</td><td>Sheath/Column</td></tr><tr><td>Neckline</td><td>Spaghetti Straps</td></tr><tr><td>Hemline/Train</td><td>Chapel Train</td></tr><tr><td>Sleeve</td><td>Short Sleeves</td></tr></table>
<a href="https://www.readybrides.com/en/temperley-london/55400-temperley-london-peri-dress.html"><img src="//img.readybrides.com/130886/temperley-london-peri-dress.jpg" alt="Temperley London Peri Dress" style="width:100%;" /></a>
<!-- break -->
Buy it: [https://www.readybrides.com/en/temperley-london/55400-temperley-london-peri-dress.html](https://www.readybrides.com/en/temperley-london/55400-temperley-london-peri-dress.html)
| 63.6875 | 263 | 0.736997 | yue_Hant | 0.319313 |
148e9ae690fc29c71f49b546ff7709b1f4dbb5e0 | 1,981 | md | Markdown | README.md | vinnie357/f5_atc_deploy | e9786ae9e4b0615e18dac3c9ac8cbf6813612e08 | [
"MIT"
] | null | null | null | README.md | vinnie357/f5_atc_deploy | e9786ae9e4b0615e18dac3c9ac8cbf6813612e08 | [
"MIT"
] | null | null | null | README.md | vinnie357/f5_atc_deploy | e9786ae9e4b0615e18dac3c9ac8cbf6813612e08 | [
"MIT"
] | null | null | null | f5_atc_deploy
=========
A role to deploy the f5 automation tool chain for, as3,do,ts.
Requirements
------------
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
Role Variables
--------------
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
## tool
atc.tool
- as3
- do
- ts
## action
atc.action
- POST
- GET
- PATCH
## json body/dec
atc.body
### file
- /tool/tool.json
### var
- atc.body
## where the dec is going
provider
- provider:
user: admin
password: superduper5
server: ip/host
port: 443
## delay for dec
atc.delay
- 10
## number of transaction retries
atc.retries
- 30
## example atc object
atc:
tool: as3
action: POST
body:
do: /device/do.json
as3: /app/as3.json
ts: /app/ts.json
delay: 10
retries: 30
Dependencies
------------
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
bigip_wait
provider:
user: admin
password: superduper5
server: ip/host
port: 443
Example Playbook
----------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
License
-------
BSD
Author Information
------------------
An optional section for the role authors to include contact information, or a website (HTML is not allowed).
| 22.770115 | 344 | 0.685008 | eng_Latn | 0.996794 |
148f42a363753aa64654f05e84ae2c7241058a34 | 628 | md | Markdown | archives/2021-04-27.md | SnailDev/v2ex-hot-hub | d56bf35622da3ef2aa50fb50066e8261521765dd | [
"MIT"
] | 2 | 2021-07-05T08:20:13.000Z | 2021-11-30T09:17:03.000Z | archives/2021-04-27.md | SnailDev/v2ex-hot-hub | d56bf35622da3ef2aa50fb50066e8261521765dd | [
"MIT"
] | null | null | null | archives/2021-04-27.md | SnailDev/v2ex-hot-hub | d56bf35622da3ef2aa50fb50066e8261521765dd | [
"MIT"
] | null | null | null | # v2ex热议话题
`最后更新时间:2021-04-27 23:09:02 +0800`
1. [有个大胆的想法](https://www.v2ex.com/t/773516)
1. [在家创业,结果老是陷入打游戏的境地,怎么分析下这种状态?怎么破?](https://www.v2ex.com/t/773579)
1. [可能是最适合程序员的运动,特别是对颈椎病有好处:篮球](https://www.v2ex.com/t/773500)
1. [吐槽 iOS 14.5 的音乐](https://www.v2ex.com/t/773507)
1. [为什么都在宣传 iOS 14.5 的反跟踪功能呢?这功能不是早就出了吗?](https://www.v2ex.com/t/773502)
1. [iOS 14.5 正式版升级体验](https://www.v2ex.com/t/773505)
1. [小火箭 URL 重定向在 iOS14.5 正式版下不工作](https://www.v2ex.com/t/773536)
1. [关于财务自由的分析](https://www.v2ex.com/t/773614)
1. [Oracle 相比 mysql 的优势在哪里](https://www.v2ex.com/t/773654)
1. [更换使用多年的手机号,怎么平滑迁移?](https://www.v2ex.com/t/773574)
| 39.25 | 72 | 0.703822 | yue_Hant | 0.94665 |
148f8c92d1cb7dfbf24d46c9a7c72e53cc766316 | 15,170 | md | Markdown | README.md | broxus/octusbridge-relay | b6811985140b78b01fa39620ae03c9bdc3fa8ed5 | [
"Apache-2.0"
] | null | null | null | README.md | broxus/octusbridge-relay | b6811985140b78b01fa39620ae03c9bdc3fa8ed5 | [
"Apache-2.0"
] | null | null | null | README.md | broxus/octusbridge-relay | b6811985140b78b01fa39620ae03c9bdc3fa8ed5 | [
"Apache-2.0"
] | null | null | null | <p align="center">
<h3 align="center">Octus Bridge relay</h3>
<p align="center">
<a href="/LICENSE">
<img alt="GitHub" src="https://img.shields.io/github/license/broxus/octusbridge-relay" />
</a>
</p>
</p>
### Runtime requirements
- CPU: 8 cores, 2 GHz
- RAM: 16 GB
- Storage: 200 GB fast SSD
- Network: 100 MBit/s
### How to run
To simplify the build and create some semblance of standardization in this repository
there is a set of scripts for configuring the relay.
NOTE: scripts are prepared and tested on **Ubuntu 20.04**. You may need to modify them a little for other distros.
1. ##### Setup relay service
* Native version (a little more complex way, but gives some performance gain and reduces the load):
```bash
./scripts/setup.sh -t native
```
* **OR** docker version (the simplest way, but adds some overhead):
```bash
./scripts/setup.sh -t docker
```
Not recommended for machines with lower specs than required
> At this stage, a systemd service `relay` is created. Configs and keys will be in `/etc/relay` and
> Everscale node DB will be in `/var/db/relay`.
**Do not start this service yet!**
2. ##### Prepare config
Either add the environment variables to the `[Service]` section of unit file.
It is located at `/etc/systemd/system/relay.service`.
> This method is recommended because you can just make a backup of `/etc/relay` and
> not be afraid for it's safety, all keys in it are encrypted
```unit file (systemd)
[Service]
...
Environment=RELAY_MASTER_KEY=stub-master-key
Environment=RELAY_STAKER_ADDRESS=your-staker-address
Environment=ETH_MAINNET_URL=eth-http-rpc-endpoint
Environment=POLYGON_URL=polygon-http-rpc-endpoint
...
```
Or simply replace the `${..}` parameters in the config. It is located at `/etc/relay/config.yaml`.
3. ##### Generate keys
```bash
./scripts/generate.sh -t docker # or `native`, depends on your installation type
```
> if you already have seed phrases that you want to import, then add the `-i` flag
This script will print unencrypted data. **Be sure to write it down somewhere! And also make a backup of the `/etc/relay` folder!**
4. ##### Link relay keys
Use ETH address and Everscale public key from the previous step to link this relay setup
with your staker address at https://octusbridge.io/relayers/create. When you start the linking process go to step 5 and start the relay. It will begin to confirm the public key and address on the air.
It may take some time to sync at first (~40 minutes).
> During linking you will need to send at least **0.05 ETH** to your relay ETH address so that the relay can confirm his ownership.
>
> If you think that this is a lot or if the gas price is more than 300 GWEI now,
> then you can change the values in the config.
5. ##### Enable and start relay service
```bash
systemctl enable relay
systemctl start relay
# Optionally check if it is running normally. It will take some time to start.
# Relay is fully operational when it prints `Initialized relay`
journalctl -fu relay
```
Relay will be running on UDP port `30000` by default, so make sure that this port is not blocked by firewall.
NOTE: docker installation uses port 30000 in unit file, so you may need to update the service if you decide to change it.
All environment variables must also be passed to container (e.g. `-e RELAY_MASTER_KEY`).
> Relay has a built-in Prometheus metrics exporter which is configured in the `metrics_settings` section of the config.
> By default, metrics are available at `http://127.0.0.1:10000/`
>
> <details><summary><b>Response example:</b></summary>
> <p>
>
> ```
> eth_subscriber_last_processed_block{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",chain_id="56"} 13790361
> eth_subscriber_pending_confirmation_count{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",chain_id="56"} 0
> eth_subscriber_last_processed_block{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",chain_id="137"} 22954791
> eth_subscriber_pending_confirmation_count{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",chain_id="137"} 0
> eth_subscriber_last_processed_block{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",chain_id="250"} 26020394
> eth_subscriber_pending_confirmation_count{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",chain_id="250"} 0
> eth_subscriber_last_processed_block{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",chain_id="1"} 13875962
> eth_subscriber_pending_confirmation_count{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",chain_id="1"} 0
> ton_subscriber_ready{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 1
> ton_subscriber_current_utime{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 1640456699
> ton_subscriber_time_diff{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 3
> ton_subscriber_shard_client_time_diff{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 7
> ton_subscriber_mc_block_seqno{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 13426600
> ton_subscriber_shard_client_mc_block_seqno{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 13426600
> ton_subscriber_pending_message_count{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 0
> bridge_pending_eth_event_count{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 0
> bridge_pending_ton_event_count{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 0
> bridge_total_active_eth_event_configurations{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 86
> bridge_total_active_ton_event_configurations{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 11
> staking_user_data_tokens_balance{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",round_num="13"} 100000000000000
> staking_current_relay_round{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246"} 13
> staking_elections_start_time{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",round_num="13"} 1640380268
> staking_elections_end_time{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",round_num="13"} 1640553068
> staking_elections_status{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",round_num="13"} 1
> staking_ignore_elections{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",round_num="13"} 0
> staking_participates_in_round{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",round_num="13"} 1
> staking_elected{staker="0:7a9701bede7f86bf039aba200c1bb421a388bbb4b0580bfaeafa66f908d2b246",round_num="13"} 1
> ```
>
> </p>
> </details>
### Example config
> NOTE: The syntax `${VAR}` can also be used everywhere in config. It will be
> replaced by the value of the environment variable `VAR`.
```yaml
---
# Keystore password
master_password: "${RELAY_MASTER_KEY}"
# Your address from which you specified keys
staker_address: "${RELAY_STAKER_ADDRESS}"
bridge_settings:
# Keystore data path
keys_path: "/etc/relay/keys.json"
# Bridge contract address
bridge_address: "0:1d51fb47566d0d283ebbf83c641c01ebebaad6c3cec55895b0074b802036094e"
# If set, relay will not participate in elections. Default: false
ignore_elections: false
# EVM network configs
networks:
# Ethereum
- chain_id: 1
# RPC node HTTP endpoint
endpoint: "${ETH_MAINNET_URL}"
# Timeout, used for simple getter requests. Default: 10
get_timeout_sec: 10
# Timeout, used for processing eth_getLogs response. Default: 120
blocks_processing_timeout_sec: 120
# Max simultaneous connection count. Default: 10
pool_size: 10
# Idle polling interval. Default: 60
poll_interval_sec: 60
# Maximum blocks range for getLogs request
max_block_range: 5000
# Smart Chain
- chain_id: 56
# Public endpoint
endpoint: https://bsc-dataseed.binance.org
get_timeout_sec: 10
pool_size: 10
poll_interval_sec: 60
max_block_range: 5000
# Fantom Opera
- chain_id: 250
# Public endpoint
endpoint: https://rpc.ftm.tools
get_timeout_sec: 10
pool_size: 10
poll_interval_sec: 60
max_block_range: 5000
# Polygon
- chain_id: 137
endpoint: "${POLYGON_URL}"
get_timeout_sec: 10
pool_size: 10
poll_interval_sec: 60
max_block_range: 5000
# Milkomeda
- chain_id: 2001
endpoint: https://rpc-mainnet-cardano-evm.c1.milkomeda.com
get_timeout_sec: 10
pool_size: 10
poll_interval_sec: 60
maximum_failed_responses_time_sec: 604800
# Avalanche Network
- chain_id: 43114
endpoint: https://api.avax.network/ext/bc/C/rpc
get_timeout_sec: 10
pool_size: 10
poll_interval_sec: 60
maximum_failed_responses_time_sec: 604800
node_settings:
# Root directory for relay DB. Default: "./db"
db_path: "/var/db/relay"
# UDP port, used for ADNL node. Default: 30303
adnl_port: 30000
# Path to temporary ADNL keys.
# NOTE: Will be generated if it was not there.
# Default: "./adnl-keys.json"
temp_keys_path: "/etc/relay/adnl-keys.json"
metrics_settings:
# Listen address of metrics. Used by the client to gather prometheus metrics.
# Default: "127.0.0.1:10000"
listen_address: "127.0.0.1:10000"
# URL path to the metrics. Default: "/"
# Example: `curl http://127.0.0.1:10000/`
metrics_path: "/metrics"
# Metrics update interval in seconds. Default: 10
collection_interval_sec: 10
# log4rs settings.
# See https://docs.rs/log4rs/1.0.0/log4rs/ for more details
logger_settings:
appenders:
stdout:
kind: console
encoder:
pattern: "{h({l})} {M} = {m} {n}"
root:
level: error
appenders:
- stdout
loggers:
relay:
level: info
appenders:
- stdout
additive: false
```
### Architecture overview
The relay is simultaneously the Everscale node and can communicate with all EVM networks specified in the config.
Its purpose is to check and sign transaction events.
At startup, it synchronizes the Everscale node and downloads blockchain state. It searches Bridge contract state in it,
all connectors, active configurations and pending events. Then it subscribes to the Bridge contract in Everscale and
listens for connector deployment events. Each new connector can produce activation event which signals that relay
should subscribe to the event configuration contract. Each configuration contract produces event deployment
events, relay sees and checks them.
- For Everscale-to-EVM events, only the correctness of data packing is checked (all other stuff is verified on the contracts
side). If the event is correct, the relay converts this data into ETH ABI encoded bytes and signs it with its
ETH key. This signature is sent along with a confirmation message. If the data in the event was invalid then the
relay sends a rejection message.
##### Everscale-to-EVM ABI mapping rules:
```
bytes => same
string => same
uintX => same
intX => same
bool => same
fixedbytes => same
fixedarray => same but mapped
array => same but mapped
tuple => same but mapped
_ => unsupported
```
- For EVM-to-Everscale events, all event parameters are checked on the relay side. It waits for or looking for a transaction
on the specified EVM network, converts event data to the TVM cell and sends a confirmation message if everything was
correct. Otherwise, it sends a rejection message.
##### ETH-to-Everscale ABI mapping rules:
> You can use https://github.com/broxus/eth-ton-abi-converter to convert data from web page
```
address => bytes (of length 20)
bytes => bytes or cell (*)
string => same
intX => same
uintX => same
bool => same
array => same but mapped
fixedbytes1 => depends on context (**)
fixedbytesX => same
fixedarray => same but mapped
tuple => same but mapped or cell (***)
_ => unsupported
```
> When converting ABI from EVM format to Everscale, there is a mechanism for controlling this process.
> You can add a `bytes1` *(\*\*)* element which sets context flags to its value.
>
> Currently, there are only three flags:
> - `0x01` - place tuples to new cell (***)
> - `0x02` - interpret `bytes` as encoded TVM cell (*)
> - `0x04` - insert default cell in case of error with flag `0x02` (*)
>
> NOTE: Flags can't be changed inside an array element! This would lead to inconsistent array items ABI.
The decision to make the relay an Everscale node was not made by chance. In the first version, several relays were connected
to the one "light" node which was constantly restarted or to the graphql which also was quite unreliable.
As a result, relays instantly see all events and vote for them almost simultaneously in one block. The implementation is
more optimized than C++ node, so they don't harm the network.
### Changelog
### 2.0.11 (2022-04-13)
Features:
* Added archives assembly
* Added new account model support
Bugfixes
* Fixed ADNL channels
### 2.0.10 (2022-04-03)
Bugfixes
* Fixed memory leaks. (New peers queue was read at a fixed rate).
### 2.0.9 (2022-03-26)
Features
* Added packets compression support (enabled by default).
* Various optimizations.
### 2.0.8 (2022-02-12)
Features
* Updated ABI version to 2.2
* Fixed memory leaks. (Shard states were slowly filling with loaded storage cells).
### 2.0.7 (2022-02-02)
Features
* ADNL security improvements
### 2.0.6 (2021-12-31)
Features
* Optimized DB structure
### 2.0.5 (2021-11-27)
Features
* Improved ETH events verification
* Updated events ABI
* Added `ton_subscriber_shard_client_time_diff`, `ton_subscriber_mc_block_seqno` and `ton_subscriber_shard_client_mc_block_seqno`
values into metrics
### 2.0.4 (2021-11-11)
Features
* Use jemalloc by default
Bugfixes
* Fixed blocks GC memory issues
### 2.0.3 (2021-11-09)
Features
* Hot reload for metrics exporter and logger settings (SIGHUP signal)
* Blocks and states garbage collection
* Additional EVM RPC timing controls
* Improved database layout and increased data locality
Bugfixes
* Fixed exported metrics format
* Fixed event confirmation counters
* Fixed time diff metrics
* Reduced blocks range for `eth_getLogs`
* Ignore descending blocks for ETH rpc
### 2.0.2
Features
* Added setup scripts for fast deployment
Bugfixes
* Fixed bridge contracts interaction logic according to new changes
### 2.0.1
Initial release
| 38.02005 | 203 | 0.745155 | eng_Latn | 0.918718 |
148f926a13321acb5b954ff2e775662eef1e431f | 2,128 | md | Markdown | tfsec/google-compute-no-project-wide-ssh-keys.md | r3yn0ld4/docs-for-code-review-tools | a1590fce3b30891679373ec284787b227b21df05 | [
"MIT"
] | 4 | 2019-07-17T18:16:06.000Z | 2021-03-28T23:53:10.000Z | tfsec/google-compute-no-project-wide-ssh-keys.md | r3yn0ld4/docs-for-code-review-tools | a1590fce3b30891679373ec284787b227b21df05 | [
"MIT"
] | null | null | null | tfsec/google-compute-no-project-wide-ssh-keys.md | r3yn0ld4/docs-for-code-review-tools | a1590fce3b30891679373ec284787b227b21df05 | [
"MIT"
] | 5 | 2018-09-29T17:02:14.000Z | 2021-12-26T16:53:04.000Z | Pattern: Use of project-wide SSH keys
Issue: -
## Description
Use of project-wide SSH keys means that a compromise of any one of these key pairs can result in all instances being compromised. It is recommended to use instance-level keys.
**Resolution**: Disable project-wide SSH keys.
## Examples
Example of **incorrect** code:
```terraform
resource "google_service_account" "default" {
account_id = "service_account_id"
display_name = "Service Account"
}
resource "google_compute_instance" "default" {
name = "test"
machine_type = "e2-medium"
zone = "us-central1-a"
tags = ["foo", "bar"]
boot_disk {
initialize_params {
image = "debian-cloud/debian-9"
}
}
// Local SSD disk
scratch_disk {
interface = "SCSI"
}
network_interface {
network = "default"
access_config {
// Ephemeral IP
}
}
metadata = {
block-project-ssh-keys = false
}
metadata_startup_script = "echo hi > /test.txt"
service_account {
# Google recommends custom service accounts that have cloud-platform scope and permissions granted via IAM Roles.
email = google_service_account.default.email
scopes = ["cloud-platform"]
}
}
```
Example of **correct** code:
```terraform
resource "google_service_account" "default" {
account_id = "service_account_id"
display_name = "Service Account"
}
resource "google_compute_instance" "default" {
name = "test"
machine_type = "e2-medium"
zone = "us-central1-a"
tags = ["foo", "bar"]
boot_disk {
initialize_params {
image = "debian-cloud/debian-9"
}
}
// Local SSD disk
scratch_disk {
interface = "SCSI"
}
network_interface {
network = "default"
access_config {
// Ephemeral IP
}
}
metadata = {
block-project-ssh-keys = true
}
metadata_startup_script = "echo hi > /test.txt"
service_account {
# Google recommends custom service accounts that have cloud-platform scope and permissions granted via IAM Roles.
email = google_service_account.default.email
scopes = ["cloud-platform"]
}
}
``` | 19.88785 | 175 | 0.661654 | eng_Latn | 0.669807 |
1490a9d1c0cae585fae1399d1a7947728375f860 | 476 | md | Markdown | README.md | rekby/pair-connections | 152f445fd49b512da5a160b6e4e5a7ec9ccb463a | [
"MIT"
] | 169 | 2016-11-20T12:30:19.000Z | 2021-11-26T01:32:55.000Z | README.md | rekby/pair-connections | 152f445fd49b512da5a160b6e4e5a7ec9ccb463a | [
"MIT"
] | 60 | 2016-11-22T05:04:38.000Z | 2019-08-09T08:29:08.000Z | README.md | rekby/pair-connections | 152f445fd49b512da5a160b6e4e5a7ec9ccb463a | [
"MIT"
] | 26 | 2016-11-20T13:39:35.000Z | 2020-03-04T17:07:53.000Z | Simple method for create two local tcp connections, connected each to other.
It is good for use in auto-tests.
```
func TestCreateTwoTCPConnections(t *testing.T) {
c1, c2 := CreateTCPPairConnections()
defer c1.Close()
defer c2.Close()
go func() {
c1.Write([]byte("asd"))
c1.Write([]byte("aaa"))
c1.Write([]byte("555"))
c1.Close()
}()
buf, err := ioutil.ReadAll(c2)
if err != nil {
panic(err)
}
if string(buf) != "asdaaa555" {
t.Errorf("%s", buf)
}
}
``` | 20.695652 | 76 | 0.636555 | eng_Latn | 0.649265 |
14917c3df43c4579266a5812daf1c54c2eeef025 | 6,973 | md | Markdown | docs/old_todo.md | Tuwkan618/txAdmin | 54539d3e1d9e47babcf971453b95d5d86f1b74fc | [
"MIT"
] | 1 | 2021-05-16T15:19:12.000Z | 2021-05-16T15:19:12.000Z | docs/old_todo.md | Tuwkan618/txAdmin | 54539d3e1d9e47babcf971453b95d5d86f1b74fc | [
"MIT"
] | null | null | null | docs/old_todo.md | Tuwkan618/txAdmin | 54539d3e1d9e47babcf971453b95d5d86f1b74fc | [
"MIT"
] | 3 | 2021-05-10T16:24:13.000Z | 2021-12-13T20:27:43.000Z | ## TODO november, around v1.15:
- [x] Fix potential memory exhaustion DoS
- [x] Add Explosion type decoding
- [x] Add Custom logging method + docs
- [x] Diagnostics Page:
- [x] Incompatible version warning
- [x] Global crash counters + uptime
- [x] If on Linux, correctly name the process as FXServer
- [x] Route Error Verbosity
- [x] Detect failed server launch
- [x] Move the start.bat file to the root dir
- [ ] Try the dark theme scss
- [ ] Make toggle button
### Feature tasks for collaborators:
- Logger:
- [-] Revert txAdminClient cl_logger.js back into lua and fix the mismatch of killer ID from client to server
- [ ] Listen for the most common vRP and ESX server events and log them
- [x] Divide the interface vertically, and on the right add filter options (HTML/CSS Only)
- [ ] Make the javascript for hiding events based on the `data-event-type` attribute
- [.] Create a "load more" at the top of the log, for the admin too be able to see older entries.
- [x] When restarting the server, add the name of the admin to the chat/discord messages.
- [x] When sending a DM as admin, add the name of the admin
- [x] Add localized uptime to the /status command and review the usage of the dateformat lib
- [x] Add to the resources page an option to see/hide the default cfx resources
- [ ] Dark Theme!
x = done
- = being worked on
. = on hold
## Around v1.12:
- [x] Do something in case fxserver's tcp/http endpoint dies for more than 5 minutes
- [x] Let admins change their password
- [x] Create a init.cfg for the fxserver to execute containing all txAdmin commands
- [x] Improve server log page
- [x] Remove del in favour of fs-extra.emptyDir https://github.com/jprichardson/node-fs-extra/blob/master/docs/emptyDir.md
- [x] Remove figlet (also from the login page)
- [x] Remove pretty-ms
- [x] Improve CSS of the log pages on mobile, they look too tiny
- [x] freeze detector
- [x] inject via tmp file
- [x] experiements dropdown menu + ban page html/js
- [x] database module
- [x] functional ban page with ban add, list and export
- [x] ban feature at sv_main.lua
- [x] tie everything correctly and push update
- [x] fix playerlist div name issue
- [x] Fix paths with spaces (too hard, just block in the settings page)
- [x] Apple xss whitelist [] to all xss() calls (vide src\webroutes\diagnostics-log.js)
## Settings Roadmap
> v1.0.5
- [x] adapt admin-add
- [x] adapt config-tester
- [x] adapt main
- [x] write setup
- [x] prevent starting with null as options
- [x] make settings page
- [x] create config vault component
- [x] settings page validate fxserver paths
- [x] settings page save the new settings
- [x] settings page for the other scopes
- [x] fxrunner detect the endpoint ports
- [x] rewrite README, Troubleshooting Guide
> v1.1.0
- [x] Make fxserver output buffer class and integrate
- [x] download server log button/endpoint
- [x] add buffer size to the dashboard
> v1.2.0
- [x] parse the schedule times
- [x] send message to chat
- [x] announcements channel in discord config page
- [x] announce discord autorestarts and when the server is started/restarted
> v1.3.0
- [x] create admin page template
- [x] use the admin data inside the template
- [x] admin add/edit/delete html/js/endpoints
> v1.4.0
- [x] create methods to evaluate permission and apply to all endpoints
- [x] write doc text for the permissions
> v1.5.0
- [x] resource injection
- [x] error handler to remove the old txAdminClient
> v1.6.0
- [x] temp intercom endpoint
- [x] make txAdminClient report it's alive
- [x] prevent auto restarter from killing a working server
- [x] normalize paths when saving the settings
> v1.7.0 BETA Release
- [ ] ???
----------
## Interface Rework TODO:
- [x] make 80% of all pages html/css (in php)
- [x] remake webUtils templating
- [x] port all pages to node
- [x] Complete full status page
- [x] Complete admin log page
- [x] Complete live console page
- [x] Fix login page + add username
- [x] Autenticate every console message
- [x] Fix xss from fxserver to browser
- [x] Implement 500ms buffer for the live console broadcast
- [x] Re-add login name to all logging functions
- [x] Clean webUtils
- [x] Adapt getStatus endpoint and integrate
- [x] Make dashboard functionalities work
- [x] Player modal endpoints
- [x] Execute cmd buffer modal
- [x] Code fxserver beta resource
- [x] Apply the new resource commands to the player modal
- [x] Server restart/stop ~~confirm modal~~ with kickall
- [x] Update available notice box (and move the checkUpdates method)
- [x] Make player history chart work
More:
- [x] escape message in txaBroadcast and txaSendDM
- [x] Rewrite readme with note about permission and the resource & trocar 'server' por 'server01'
- [x] Solve the FIXME: comments
- [x] ping padding only removing one 'x', fix the regex
- [x] add version o the page footer (txAdmin vXXX build with...)
- [x] write extensions 'soon' page
- [x] include the resource and related docs
- [x] bump version
----------
## Older TODO:
- [x] **Improve the README.**
- [x] Get the correct PID through pidtree (should we get only the correct fxserver's pid, or sum all the processes? This code usually takes about 40MB so it might be significant enough to include)
- [x] Put the configuration into a json and set default values
- [x] Write the admin log component (or part of another?)
- [x] Separate the web routes
- [x] **Add a simple rate limiter (MUST)**
- [x] Write some documentation
- [x] **Automatically check for updates (MUST)**
- [x] Auto restart on schedule (for the unstable servers out there)
- [x] Auto restart if the monitor fails X times in the last Y seconds
- [x] Better error handling for the discord module
- [x] Add hitch detection
- [x] Add txAdmin_version fxserver svar
And more...
- [x] Console verbosity settings?
- [x] Fix what happens when you stop or start a server that is already running.
- [x] Add the config file to the arguments so we can run multiple servers in the same installation folder only be specifying it in runtime like `npm start server01.json`
- [x] Protect the log with password. For now I will just disable IP logging.
- [x] **Add discord integration**
- [x] Separate the DANGER ZONE commands into a separate tab with confirmation dialog?
- [x] Write a simple `manage_admins.js` script to help with the process. The current `/getHash?pwd=xxx` is counterintuitive at best.
- [x] Add machine performance data to the panel. Or not, perhaps that's a little too much into Grafana's land.
- [x] Configurable discord bot static responses. This should be a separate file like the admins one.
- [x] Improve fxRunner/actions responses. Currently it's only 'Done'.
- [x] Add a `more info` tab and include some config variables, and the complete PID breakdown
- [ ] FXServer artifact/build auto updater??? (rejected)
- [x] Automagically send messages in discord when starting/stopping/restarting the server
- [x] We have data, we should plot it into a graph...
| 42.518293 | 196 | 0.724939 | eng_Latn | 0.978744 |
1491db530d87535eb49d80c8908c3d603c71d22e | 98 | md | Markdown | README.md | etcinit/cerulean | a90609c5a4083a25c3d0b68a2d7379d09aa56be5 | [
"MIT"
] | null | null | null | README.md | etcinit/cerulean | a90609c5a4083a25c3d0b68a2d7379d09aa56be5 | [
"MIT"
] | null | null | null | README.md | etcinit/cerulean | a90609c5a4083a25c3d0b68a2d7379d09aa56be5 | [
"MIT"
] | null | null | null | 
# cerulean
The future API behind chromabits.com (in Go)
| 16.333333 | 44 | 0.714286 | kor_Hang | 0.44217 |
1491f4be14e3456f38337d8e553d6af58f622cf9 | 1,536 | md | Markdown | docs/SupportedOperations.md | assetricity/isbm2_adaptor_rest | 1f5c034ee190e8785960041891163abed66b4005 | [
"MIT"
] | null | null | null | docs/SupportedOperations.md | assetricity/isbm2_adaptor_rest | 1f5c034ee190e8785960041891163abed66b4005 | [
"MIT"
] | null | null | null | docs/SupportedOperations.md | assetricity/isbm2_adaptor_rest | 1f5c034ee190e8785960041891163abed66b4005 | [
"MIT"
] | null | null | null | # IsbmRestAdaptor::SupportedOperations
## Properties
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **is_xml_filtering_enabled** | **Boolean** | | |
| **is_json_filtering_enabled** | **Boolean** | | |
| **supported_content_filtering_languages** | [**SupportedOperationsSupportedContentFilteringLanguages**](SupportedOperationsSupportedContentFilteringLanguages.md) | | |
| **supported_authentications** | [**SupportedOperationsSupportedAuthentications**](SupportedOperationsSupportedAuthentications.md) | | |
| **security_level_conformance** | **Float** | | |
| **is_dead_lettering_enabled** | **Boolean** | | |
| **is_channel_creation_enabled** | **Boolean** | | |
| **is_open_channel_securing_enabled** | **Boolean** | | |
| **is_whitelist_required** | **Boolean** | | |
| **default_expiry_duration** | **String** | Duration as defined by XML Schema xs:duration, http://w3c.org/TR/xmlschema-2/#duration, or null | |
| **additional_information_url** | **String** | | |
## Example
```ruby
require 'isbm2_adaptor_rest'
instance = IsbmRestAdaptor::SupportedOperations.new(
is_xml_filtering_enabled: null,
is_json_filtering_enabled: null,
supported_content_filtering_languages: null,
supported_authentications: null,
security_level_conformance: null,
is_dead_lettering_enabled: null,
is_channel_creation_enabled: null,
is_open_channel_securing_enabled: null,
is_whitelist_required: null,
default_expiry_duration: null,
additional_information_url: null
)
```
| 39.384615 | 171 | 0.71875 | eng_Latn | 0.283905 |
1493d7000b2cd9e78baf8828013fa55a4198e174 | 683 | md | Markdown | abstract/_posts/2018-12-05-3rd-post.md | righ120/righ120.github.io | 58bba8841a221c77c3b612950ea9b78c97abc9de | [
"MIT"
] | null | null | null | abstract/_posts/2018-12-05-3rd-post.md | righ120/righ120.github.io | 58bba8841a221c77c3b612950ea9b78c97abc9de | [
"MIT"
] | null | null | null | abstract/_posts/2018-12-05-3rd-post.md | righ120/righ120.github.io | 58bba8841a221c77c3b612950ea9b78c97abc9de | [
"MIT"
] | null | null | null | ---
title : wed_20181205_3
layout : post
author : Heesoo Park
tags : [GAN]
---
<h3>Tempered Adversarial Networks (ICML 2018)</h3>
<p>
<b>Mehdi S. M. Sajjadi 1 2 Giambattista Parascandolo 1 2 Arash Mehrjou 1 Bernhard Scholkopf ¨1</b><Br/>
1Max Planck Institute for Intelligent Systems, Tubingen, ¨
Germany<br/>
2Max Planck ETH Center for Learning Systems,
Zurich, Switzerland. <br/>
<em>Mehdi S. M. Sajjadi ¨<msajjadi.com>.</em><Br/>
</p>
<hr />
<p>
GAN에서 discriminator는 real&fake sample에 동시에 학습이 되지만 generator는 오직 discriminator의 결정에만 의존한다. 따라서 generator에게 real data control 권한을 부여함과 동시에 discriminator에게 real data를 전달할 때 "lens"를 통과하게 함으로써 실제 데이터의 distribution을 모호하게 한다.
</p>
| 23.551724 | 219 | 0.732064 | kor_Hang | 0.985518 |
14947aa4d92f8f345eed6f1e9b496781a26e52a0 | 5,905 | md | Markdown | semcore/button/CHANGELOG.md | m5awy/intergalactic | ae2d0ff437577e982a4a832dbe2c755a4f25d546 | [
"MIT"
] | null | null | null | semcore/button/CHANGELOG.md | m5awy/intergalactic | ae2d0ff437577e982a4a832dbe2c755a4f25d546 | [
"MIT"
] | null | null | null | semcore/button/CHANGELOG.md | m5awy/intergalactic | ae2d0ff437577e982a4a832dbe2c755a4f25d546 | [
"MIT"
] | null | null | null | # Changelog
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
## [3.3.7] - 2022-03-14
### Changed
- Version patch update due to children dependencies update (`@semcore/utils` [3.31.2 ~> 3.31.2]).
## [3.3.6] - 2022-03-04
### Changed
- Version patch update due to children dependencies update (`@semcore/spin` [3.3.0 ~> 3.4.0]).
## [3.3.5] - 2022-02-24
### Added
- Added repository field to package.json file.
## [3.3.4] - 2021-12-23
### Changed
- Changed `line-height` from 1.2 to 1.1 for correct display in all browsers.
## [3.3.1] - 2021-8-26
### Changed
- Add 'sideEffect=false' for more optimal build via webpack
## [3.3.0] - 2021-04-26
### Changed
- Version of dependence `@semcore/core` has been changed to `1.11`.
- Improved performance. Removed one component wrapper.
- The style processing system has been changed.
- Removed the ability to apply media styles via a plugin `babel-plugin-react-semcore`.
## [3.2.1] - 2021-04-16
### Changed
- Changed line-height value
## [3.2.0] - 2020-12-17
### Added
- Added supported react@17.
## [3.1.4] - 2020-12-02
### Fixed
- My little fix build 😬
## [3.1.2] - 2020-10-29
### Fixed
- Added the placeholder for ID style tag to improve collision protection.
## [3.1.1] - 2020-10-14
### Fixed
- fixed wrong path for ES6 build
## [3.1.0] - 2020-10-13
### Added
- Added alternative api for inserting `Addon`.
## [3.0.3] - 2020-09-08
### Fixed
- Fixed possible styles collisions between components with different versions, but same styles
## [3.0.2] - 2020-07-13
### Changed
- Теперь z-index изменяется на +1 при фокусе с клавиатуры, для правильного отображения бордера с соседними элементами.
## [3.0.1] - 2020-06-22
### Fixed
- Поменялся цвет текста с `gray40` на `gray60` у `secondary-muted` и `tertiary-muted`.
## [3.0.0] - 2020-05-29
### BREAK
- Изменения описаны в [migration guide](/internal/migration-guide)
## [2.5.1] - 2020-02-14
### Added
- [theme] Обновили стили `<Button use="tertiary">` для `sellerly`
## [2.5.0] - 2020-02-13
### Added
- Добавлена тема `sellerly`, фокус у контрола по умолчанию цвета `light-ultramarine`
## [2.4.1] - 2019-12-17
### Fixed
- Исправлен транспайл цветовых переменных для стилей без префиксов (build.css)
## [2.4.0] - 2019-12-12
### Added
- Появилась возможность добавления различных стилистических тем через css переменные
- Появилась возможность оптицонально подключать адаптивноссть
- Появилась возможность изолировать стили даже в пределах одной страницы
- Добавлено прокидываение классов на `Spin` внутри кнопки
### Changed
- Изменен алгоритм вставки стилей в head
### Removed
- Убраны относительные единицы измерения(rem), которые использовались для адаптивности
## [2.3.0] - 2019-11-14
### Added
- Добавлена адаптивность на маленьких экранах(<768px)
## [2.2.0] - 2019-09-30
### Added
- Добавлен `forwardRef` на компонент
## [2.1.13] - 2019-09-30
### Changed
- Нужные зависимости перенесены в `utils`, размер должен стать меньше
## [2.1.12] - 2019-09-23
### Changed
- Обоновлена типизация. Теперь компонент принимает св-ва от `React.LinkHTMLAttributes`
## [2.1.11] - 2019-08-12
### Changed
- Обновлены `utils`
- Улучшена функция оборачивания в `Text`
## [2.1.10] - 2019-08-07
### Fixed
- Исправлено отоборажение в NeighborLocation для `use="primary"`
## [2.1.9] - 2019-07-31
### Fixed
- Исправлена сборка для рендера css на сервере
## [2.1.8] - 2019-07-24
### Fixed
- Добавлен `font-weight: normal`
## [2.1.7] - 2019-07-05
### Removed
- Зависимость от `@semcore/control`
## [2.1.6] - 2019-06-03
### Changed
- Обновлена версия `@semcore/control`
## [2.1.5] - 2019-05-27
### Fixed
- Добавлен пропущенный `color`
## [2.1.4] - 2019-05-13
### Changed
- Обнавлена версия `Spin` и изменена верстка
### Fixed
- Добавлен `line-height: 1` для выравнивания текста
- Добавлен `border: transparent` по умолчанию
- Исправлено добавление лишнего `Button.Text` при вставке через фрагмент
## [2.1.3] - 2019-05-07
### Changed
- Исправлены стили для корректной работы с `@semcore/control`
- Обновлена версия `@semcore/control`
## [2.1.2] - 2019-04-24
### Fixed
- Добавили `line-height: 1` к тексту кнопки
### Changed
- Изменены отступы `Button.Addon` для размера `xl` с 8px на 12px
## [2.1.1] - 2019-03-18
### Fixed
- Исправлена работа свойства `active`
## [2.1.0] - 2019-02-13
### Added
- Зависимость от комопнента `Control`
## [2.0.0] - 2019-01-18
### BREAK
- Убрано свойство `before`/`after`
- Убрано свойство `fullWidth`
- Убрано свойство `inputRef`
- Убраны стили для не используемых тем
- Добавленно свойство css `vertical-align: middle;`
### Added
- Компонент унаследован от `Box`
- Добавлены статические компоненты `Text`, `Addon`
- Добавлена возможность сбрасывать темы и размеры
### Fixed
- Корректное отобрежение цветной темы в `Spin`
## [1.3.0] - 2018-11-17
### Fixed
- Исправлены стили для корректной работы с другим тэгом
- Добавлены недостающие HTML-attributes
## [1.2.0] - 2018-11-23
### Added
- Добавлен autocomplete для IDE
- Добавлена возможность изменять тег на произвольный
- Добавлена возможность отключать размер и стили
## [1.1.1] - 2018-10-09
### Fixed
- Цвет текста для типа `tertiary` с темой `info` изменен на `--denim-blue`
### Added
- `warning` для типа `primary` с темой `muted`
## [1.1.0] - 2018-08-17
### Added
- Добавленна возможность работы с компонентом `ControlsGroup`
### Removed
- Убрали поддержку зависимости от React15
## [1.0.0] - 2018-08-08
### Added
- Добавленна поддержка зависимости от React15
### Changed
- Обновлена зависимость от utils
## [1.0.0-3] - 2018-07-13
### Added
- Свойсво "fullWidth" для растягивания кнопки по всей ширине
- Добавлен spin для состояния loading
## [1.0.0-2] - 2018-07-06
### Added
- Инкапсуляция стилей
## [1.0.0-1] - 2018-06-04
### Added
- Initial release
| 17.893939 | 118 | 0.681287 | rus_Cyrl | 0.454429 |
1494a9ff56708c06febfc387029aa3334b95c2ca | 62 | md | Markdown | README.md | aphistic/bn-armv4 | 4ba6283d1ddbafd083e84735b1a75cf74063d2b6 | [
"MIT"
] | null | null | null | README.md | aphistic/bn-armv4 | 4ba6283d1ddbafd083e84735b1a75cf74063d2b6 | [
"MIT"
] | null | null | null | README.md | aphistic/bn-armv4 | 4ba6283d1ddbafd083e84735b1a75cf74063d2b6 | [
"MIT"
] | null | null | null | # bn-armv4
Binary Ninja plugin for ARMv4 architecture support
| 20.666667 | 50 | 0.822581 | eng_Latn | 0.751832 |