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
sequencelengths 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
sequencelengths 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
sequencelengths 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
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d14cd3b78bb1be681c189b583e705575547da98d | 2,407 | md | Markdown | _episodes/01-overview.md | jepaur5/2021_07_08_iqtcub_md | ddad1f08bd640e930e926fbbb02cf6910a6f3f1f | [
"CC-BY-4.0"
] | null | null | null | _episodes/01-overview.md | jepaur5/2021_07_08_iqtcub_md | ddad1f08bd640e930e926fbbb02cf6910a6f3f1f | [
"CC-BY-4.0"
] | 2 | 2021-09-28T03:25:49.000Z | 2022-02-26T08:24:19.000Z | _episodes/01-overview.md | bioexcel/2020_06_09_online_ambertools4cp2k | f30723ae187190a83bd3137d2f43fa518e352ba9 | [
"CC-BY-4.0"
] | 1 | 2021-07-06T15:59:35.000Z | 2021-07-06T15:59:35.000Z | ---
title: Overview of AmberTools20
teaching: 5
exercises: 0
questions:
- "What is the AmberTools package?"
objectives:
- "Overview of AmberTools package."
- "List of AmberTools tools to prepare your biological system."
keypoints:
- "AmberTools package has multiple tools to prepare, simulate and analyse biological systems."
- " You should familiarise yourself with `tleap`, `pamred`, `nab`, `cpptraj`, `antechamber`, `parmch2` and `sander` as they will ususally be helpful to set up a biological system."
- "`tleap` is used to generate topologies and coordinates for biological molecules."
- "`cpptraj` is used to postprocess and analyse AMBER trajectories."
- "`antechamber` is used to create parameters for non-standard aminoacids and drug-like molecules."
- "`sander` runs molecular dynamics simulations"
- "`parmed` allows modifying AMBER topologies"
---
## Overview of AmberTools20:
Latest version: released on April 31, 2020
[AmberTools suite](https://ambermd.org/AmberTools.php) is a set of several independent packages developed as part of the Amber20 software package and distributed free of charge. Its components are mostly released under the GNU General Public License (GPL). They work well by themselves, and with Amber20 itself. The list of packages is:
- **NAB/sff**: a program for building molecules, running MD or applying distance geometry restraints using generalized Born, Poisson-Boltzmann or 3D-RISM implicit solvent models
- **antechamber and MCPB**: programs to create force fields for general organic molecules and metal centers
- **tleap and parmed**: basic preparatory tools for Amber simulations
- **sqm**: semiempirical and DFTB quantum chemistry program
- **pbsa**: Several linear and non-linear numerical solvers for Poisson-Boltzmann models
- **3D-RISM**: solves integral equation models for solvation
- **sander**: workhorse program for molecular dynamics simulations
- **gem.pmemd**: tools for using advanced force fields
- **mdgx**: a program for pushing the boundaries of Amber MD, primarily through parameter fitting. Also includes customizable virtual sites and explicit solvent MD capabilities.
- **cpptraj and pytraj**: tools for analyzing structure and dynamics in trajectories
- **MMPBSA.py**: energy-based analyses of MD trajectories
In this session, we are going to use a subset of these tools: **antechamber (sqm), tleap, parmed, sander and cpptraj**.
| 60.175 | 336 | 0.775654 | eng_Latn | 0.990197 |
d150a8b73d77ddc91f90155815b8dacb90b8904b | 1,092 | md | Markdown | README.md | aplr/laravel-paypal | 4fb0d73e57846683d4c76a4e197f5d34c27f7259 | [
"MIT"
] | null | null | null | README.md | aplr/laravel-paypal | 4fb0d73e57846683d4c76a4e197f5d34c27f7259 | [
"MIT"
] | null | null | null | README.md | aplr/laravel-paypal | 4fb0d73e57846683d4c76a4e197f5d34c27f7259 | [
"MIT"
] | null | null | null | # Laravel-PayPal
## Introduction
The `laravel-paypal` package allows you to use the Paypal-SDK in a more laravel-ish way.
## Installation
Require the aplr/laravel-paypal package in your composer.json and update your dependencies:
```shell
$ composer require aplr/laravel-paypal
```
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
```php
Aplr\LaravelPaypal\ServiceProvider::class,
```
If you want to use the facade to conveniently access the Paypal SDK, add this to your facades in app.php:
```php
'Paypal' => Aplr\LaravelPaypal\Facade::class,
```
## Configuration
The defaults are set in config/paypal.php. Copy this file to your own config directory to modify the values. You can publish the config using this command:
```shell
$ php artisan vendor:publish --provider="Aplr\LaravelPaypal\ServiceProvider"
```
When using the default package configuration, you can set the Paypal SDK credentials in your `.env` file. | 29.513514 | 155 | 0.760989 | eng_Latn | 0.984963 |
d1520d195275fdbda7b51d280cd1ae3785f401bf | 29 | md | Markdown | README.md | eternalfete/code_snippet | 41b88f6f1b97c25101fd8bf8b4a29163e7d30a79 | [
"MIT"
] | null | null | null | README.md | eternalfete/code_snippet | 41b88f6f1b97c25101fd8bf8b4a29163e7d30a79 | [
"MIT"
] | null | null | null | README.md | eternalfete/code_snippet | 41b88f6f1b97c25101fd8bf8b4a29163e7d30a79 | [
"MIT"
] | null | null | null | # code_snippet
code snippets
| 9.666667 | 14 | 0.827586 | dan_Latn | 0.352791 |
d1530b0f83493ed9e70e9ac2b76aa2c0a31b01ba | 2,385 | md | Markdown | docs/Theory/Deep-learning/Book-deep-learning/Part-I-Applied-Math-and-Machine-Learning-Basics/1-Introduction.md | dengking/machine-learning | c2d1574f5c6e74fdf4ce1c4b4857a3257cffd8f7 | [
"Apache-2.0"
] | null | null | null | docs/Theory/Deep-learning/Book-deep-learning/Part-I-Applied-Math-and-Machine-Learning-Basics/1-Introduction.md | dengking/machine-learning | c2d1574f5c6e74fdf4ce1c4b4857a3257cffd8f7 | [
"Apache-2.0"
] | null | null | null | docs/Theory/Deep-learning/Book-deep-learning/Part-I-Applied-Math-and-Machine-Learning-Basics/1-Introduction.md | dengking/machine-learning | c2d1574f5c6e74fdf4ce1c4b4857a3257cffd8f7 | [
"Apache-2.0"
] | null | null | null | # Chapter 1 Introduction
In the early days of artificial intelligence, the field rapidly tackled and solved problems that are intellectually difficult for human beings but relatively straightforward for computers—**problems that can be described by a list of formal, mathematical rules**. The true challenge to artificial intelligence proved to be solving the tasks that are easy for people to perform but hard for people to describe **formally**—problems that we solve intuitively, that feel automatic, like recognizing spoken words or faces in images.
需要注意的是,在本章中,作者频繁的使用了**formal**这个词语,所以理解这个词语对于理解本文是至关重要的,读者可以将它简单的理解为可以规则化的,可以使用数学公式进行描述的。有经验的软件工程师一定能够想到,**problems that can be described by a list of formal, mathematical rules**是比较容易用程序来进行实现的。
计算机和人类所擅长的是不同的:计算机所擅长的是解决如下类型的问题:
> problems that can be described by a list of formal, mathematical rules
对于这类问题,传统的计算机算法基本能够实现。
人类所擅长的是解决的是:
> problems that are intuitive and hard for people to describe formally
对于这类问题,传统的计算机算法是非常难以实现的。这类问题正是本书所描述的deep learning技术志于解决的问题,解决思想如下:
This book is about a solution to these more **intuitive problems**. This solution is to **allow computers to learn from experience and understand the world in terms of a hierarchy of concepts, with each concept defined in terms of its relation to simpler concepts**. By gathering knowledge from experience, this approach avoids the need for human operators to formally specify all of the knowledge that the computer needs. The hierarchy of concepts allows the computer to learn complicated concepts by building them out of simpler ones. If we draw a graph showing how these concepts are built on top of each other, the graph is deep, with many layers. For this reason, we call this approach to AI **deep learning**.
上面这段话描述了当前**machine learning**的核心思想,这个思想的对于理解后面章节的内容是非常重要的,或者说,后面章节就是在告诉读者如何来实现machine learning。
原书的这一节的后续内容基本上就是围绕着我上面所总结的内容展开的。
## 案例:Formal language and natural language
关于计算机和人类所擅长解决的问题的一个典型案例就是:formal language和natural language。计算机能够轻松理解formal language(因为formal language的grammar和semantic都能够形式化地进行描述),但是对于natural language的理解则是非常可能的(natural language的grammar和semantic是非常复杂的,无法进行形式化的描述)。而人类基本相反。
## 案例:[Pattern matching](https://en.wikipedia.org/wiki/Pattern_matching) and [Pattern recognition](https://en.wikipedia.org/wiki/Pattern_recognition)
这是另外一个案例。
关于machine learning能够解决的问题,参见chapter 5.1 Learning Algorithms。 | 61.153846 | 715 | 0.825996 | eng_Latn | 0.993709 |
d1558bb941e0f002aa7a17ec80a5efb449cf9300 | 984 | md | Markdown | README.md | ideamans/node-sharp-columnizer | f2ce9a4cfdc256653964b9e0225a6c4d8a45fd18 | [
"MIT"
] | null | null | null | README.md | ideamans/node-sharp-columnizer | f2ce9a4cfdc256653964b9e0225a6c4d8a45fd18 | [
"MIT"
] | 2 | 2020-09-26T15:58:03.000Z | 2020-09-26T15:58:04.000Z | README.md | ideamans/node-sharp-columnizer | f2ce9a4cfdc256653964b9e0225a6c4d8a45fd18 | [
"MIT"
] | null | null | null | Columinizes tall image like a web page screenshot to easy to see on PC screen.
Using [sharp](https://www.npmjs.com/package/sharp) to operate images.
# Example
```javascript
const { ImageColumnizer } = require('sharp-columnizer')
(async() {
const src = ImageColumnizer.openImageFile('screenshot.png')
const columinizer = new ImageColumnizer({
margin: ImageColumnizer.margin(50, 50, 50, 50), // top, right, bottom, left: default 0
maxColunns: 2, // less than 1 means Infinity
gap: 50, // default 0
align: 'bottom', // default: 'top'
indent: 100, // default 0
outdent: 100, // default 0
backgroundColor: '#fff', // default '#0000' // black + alpha0,
borderWidth: 1, // default: 0 // no border
borderColor: '#000', // default: '#000' // black
})
const dest = await columnizer.composite()
// dest is sharp image (https://www.npmjs.com/package/sharp)
await dest.png().toFile('columnized.png')
})()
```
# Options

| 30.75 | 90 | 0.66565 | eng_Latn | 0.453969 |
d155934a96c8d265a44de6a81fbd75577da52dfb | 4,557 | md | Markdown | docs/code-quality/code-analysis-for-c-cpp-overview.md | seferciogluecce/visualstudio-docs.tr-tr | 222704fc7d0e32183a44e7e0c94f11ea4cf54a33 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/code-quality/code-analysis-for-c-cpp-overview.md | seferciogluecce/visualstudio-docs.tr-tr | 222704fc7d0e32183a44e7e0c94f11ea4cf54a33 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/code-quality/code-analysis-for-c-cpp-overview.md | seferciogluecce/visualstudio-docs.tr-tr | 222704fc7d0e32183a44e7e0c94f11ea4cf54a33 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: C/C++ İçin Kod Çözümlemesine Genel Bakış
ms.date: 04/28/2018
ms.prod: visual-studio-dev15
ms.technology: vs-ide-code-analysis
ms.topic: conceptual
helpviewer_keywords:
- annotations, code analysis
- build integration, code analysis
- C/C++ code analysis
- IDE, code analysis
- pragma directive, code analysis
- code analysis, C/C++
- code analysis tool
- command line, code analysis
- C++, code analysis
- check-in policies, code analysis
- '#pragma directives, code analysis'
- C, code analysis
ms.assetid: 81f0c9e8-f471-4de5-aac4-99db336a8809
author: mikeblome
ms.author: mblome
manager: wpickett
ms.workload:
- cplusplus
ms.openlocfilehash: 35f694d9cc397800249dd9b4acd86bf63d22ad93
ms.sourcegitcommit: 28909340cd0a0d7cb5e1fd29cbd37e726d832631
ms.translationtype: MT
ms.contentlocale: tr-TR
ms.lasthandoff: 09/10/2018
ms.locfileid: "44320715"
---
# <a name="code-analysis-for-cc-overview"></a>C/C++ genel bakış için Kod Analizi
C/C++ kod çözümleme aracı, C/C++ kaynak kodunuzdaki olası hatalar hakkında bilgi sağlar. Bellek ve kaynak sızıntıları ve null işaretçiye veya araç tarafından bildirilen genel kodlama hatalarını arabellek taşmaları, başlatılmamış belleği içerir. Araç ayrıca denetimleri karşı çalıştırabilirsiniz [C++ temel yönergeleri](http://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md).
## <a name="ide-integrated-development-environment-integration"></a>IDE (tümleşik geliştirme ortamı) Tümleştirmesi
Kod çözümleme aracı, Visual Studio IDE içinde tamamen tümleşiktir.
Derleme işlemi sırasında kaynak kodu oluşturulan tüm uyarılar hata listesinde görünür. Uyarıya neden olan kaynak koduna gitmek ve nedenini ve sorunun olası çözümleri hakkında daha fazla bilgi görüntüleyebilirsiniz.
## <a name="command-line-support"></a>Komut satırı desteğini
Aşağıdaki örnekte gösterildiği gibi ayrıca komut satırından, analiz aracı kullanabilirsiniz:
```cmd
C:\>cl /analyze Sample.cpp
```
**Visual Studio 2017 sürüm 15.7 ve üzeri** aracı CMake dahil olmak üzere herhangi bir yapı sistemiyle komut satırından çalıştırabilirsiniz.
## <a name="pragma-support"></a>#pragma desteği
Kullanabileceğiniz `#pragma` uyarıları hata olarak değerlendir; etkinleştirmek veya uyarıları devre dışı bırak ve tek tek satırlık bir kod için uyarıları bastırmak için yönergesi. Daha fazla bilgi için [nasıl yapılır: C/C++ projeleri için kod çözümleme özelliklerini ayarlama](how-to-set-code-analysis-properties-for-c-cpp-projects.md).
## <a name="annotation-support"></a>Ek açıklama desteği
Ek açıklamalar, Kod Analizi doğruluğunu artırın. Ek açıklamalar, işlev parametrelerinde öncesi ve sonrası koşulları hakkında ek bilgiler sağlar ve dönüş türleri. Daha fazla bilgi için [nasıl yapılır: ek kod __analysis_assume kullanarak bilgilerini belirt](../code-quality/how-to-specify-additional-code-information-by-using-analysis-assume.md)
## <a name="run-analysis-tool-as-part-of-check-in-policy"></a>İade ilkesinin parçası olarak analiz aracı
Tüm kaynak kodu iade etmelerin bazı ilkeleri karşılamasını zorunlu isteyebilirsiniz. Özellikle, çözümleme en son yerel yapı bir adım olarak çalıştırıldığı emin olmanız gerekir. Kod Analizi İlkesi iade etkinleştirme hakkında daha fazla bilgi için bkz. [oluşturma ve kod çözümleme iade ilkelerini kullanma](../code-quality/creating-and-using-code-analysis-check-in-policies.md)
## <a name="team-build-integration"></a>Ekip Oluşturma entegrasyonu
Bir adım olarak kod çözümleme aracı çalıştırmak için derleme sisteminin tümleşik özelliklerini kullanabilirsiniz [!INCLUDE[esprtfs](../code-quality/includes/esprtfs_md.md)] derleme işlemi. Daha fazla bilgi için [Azure işlem hatları](/azure/devops/pipelines/index?view=vsts).
## <a name="see-also"></a>Ayrıca bkz.
- [Hızlı Başlangıç: C/C++ için Kod Analizi](quick-start-code-analysis-for-c-cpp.md)
- [İzlenecek yol: C/C++ kod kusurları için analiz edin.](walkthrough-analyzing-c-cpp-code-for-defects.md)
- [C/C++ İçin Kod Analizi Uyarıları](code-analysis-for-c-cpp-warnings.md)
- [C++ Temel Yönergeleri denetleyicilerini kullanma](using-the-cpp-core-guidelines-checkers.md)
- [C++ temel yönergeleri denetleyici başvurusu](code-analysis-for-cpp-corecheck.md)
- [Çalıştırılacak C++ Kurallarını Belirtmek için Kural Kümeleri Kullanma](using-rule-sets-to-specify-the-cpp-rules-to-run.md)
- [Kod çözümleme araçları ile sürücü kalitesini analiz etme](/windows-hardware/drivers/develop/analyzing-driver-quality-by-using-code-analysis-tools)
- [Sürücüleri uyarılar için Kod Analizi](/windows-hardware/drivers/devtest/prefast-for-drivers-warnings)
| 57.683544 | 396 | 0.797674 | tur_Latn | 0.99848 |
d156651fb9092b0b420ff9ca5d94a26a9fb0cf8d | 14 | md | Markdown | README.md | lfyLEE/think | b81432b2486a9c4a2cd5dfeaca360479c1aaa0b2 | [
"Apache-2.0"
] | null | null | null | README.md | lfyLEE/think | b81432b2486a9c4a2cd5dfeaca360479c1aaa0b2 | [
"Apache-2.0"
] | null | null | null | README.md | lfyLEE/think | b81432b2486a9c4a2cd5dfeaca360479c1aaa0b2 | [
"Apache-2.0"
] | null | null | null | # think
think
| 4.666667 | 7 | 0.714286 | eng_Latn | 0.973219 |
d156b221c0b94af4d11f2ab6581b7b66f1544152 | 38 | md | Markdown | README.md | tonyskapunk/heyo | 6453c92eb7012630b51bdd0035c020f288bc9e60 | [
"MIT"
] | null | null | null | README.md | tonyskapunk/heyo | 6453c92eb7012630b51bdd0035c020f288bc9e60 | [
"MIT"
] | null | null | null | README.md | tonyskapunk/heyo | 6453c92eb7012630b51bdd0035c020f288bc9e60 | [
"MIT"
] | null | null | null | # heyo
A go web server that says hi 👋
| 12.666667 | 30 | 0.684211 | eng_Latn | 0.998792 |
d158316c27a4198545586826bf31aafa52362363 | 1,224 | md | Markdown | curriculum/day-0/reference/11-surge.md | jlarmstrongiv/tracecamp-winter-2020 | 6fab8cc41419753b4c7930c35baa800d8536d355 | [
"CC-BY-4.0"
] | 2 | 2020-12-26T02:04:11.000Z | 2021-01-04T21:13:25.000Z | curriculum/day-0/reference/11-surge.md | jlarmstrongiv/tracecamp-winter-2020 | 6fab8cc41419753b4c7930c35baa800d8536d355 | [
"CC-BY-4.0"
] | 2 | 2020-12-15T20:17:48.000Z | 2020-12-21T21:15:00.000Z | curriculum/day-0/reference/11-surge.md | jlarmstrongiv/tracecamp-winter-2020 | 6fab8cc41419753b4c7930c35baa800d8536d355 | [
"CC-BY-4.0"
] | 3 | 2020-12-15T19:52:08.000Z | 2020-12-30T00:07:31.000Z | # surge.sh
Once you’ve built your website on your local machine, you will need to host it online for others to view it on the internet. To deploy your intro to web development websites online, we will use surge.sh as our website hosting provider. Watch the video or follow the commands below:
[](https://www.youtube.com/watch?v=-EjdMvYPSVU)
_Surge on [YouTube](https://www.youtube.com/watch?v=-EjdMvYPSVU)_
Install surge with npm:
```bash
npm install --global surge
```
Login or create an account:
```bash
surge login
```
Publish your project:
```bash
surge --domain your-name.surge.sh
```
If your site is in a nested folder:
```
npx surge --domain your-name.surge.sh --project ./dist
```
Publish your code publicly to GitHub. Add the link to your project under `About > Repository Details (gear icon) > Website`.

## Practice
Publish all of your previous projects with surge, and add the surge links to your projects’ GitHub descriptions.
## Optional
- [Vercel](https://vercel.com/)
- [GitHub Pages](https://www.npmjs.com/package/gh-pages#command-line-utility)
## [Next lesson →](./12-conclusion.md)
| 26.608696 | 281 | 0.73366 | eng_Latn | 0.943551 |
d158397041d47fcc7e5d60e9c92d55d2a31224ff | 1,384 | md | Markdown | docs/mfc/overridable-cwinapp-member-functions.md | ANKerD/cpp-docs.pt-br | 6910dc17c79db2fee3f3616206806c5f466b3f00 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/overridable-cwinapp-member-functions.md | ANKerD/cpp-docs.pt-br | 6910dc17c79db2fee3f3616206806c5f466b3f00 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/overridable-cwinapp-member-functions.md | ANKerD/cpp-docs.pt-br | 6910dc17c79db2fee3f3616206806c5f466b3f00 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Funções de membro CWinApp substituíveis | Microsoft Docs
ms.custom: ''
ms.date: 11/04/2016
ms.technology:
- cpp-mfc
ms.topic: conceptual
f1_keywords:
- CWinApp
dev_langs:
- C++
helpviewer_keywords:
- overriding [MFC], overridable functions in CWinApp
- application class [MFC]
- CWinApp class [MFC], overridables
ms.assetid: 07183d5e-734b-45d9-a8b6-9dde4adac0b4
author: mikeblome
ms.author: mblome
ms.workload:
- cplusplus
ms.openlocfilehash: ced9d7d5f7f49df50e028a299f83ddebdc9fc2d1
ms.sourcegitcommit: 799f9b976623a375203ad8b2ad5147bd6a2212f0
ms.translationtype: MT
ms.contentlocale: pt-BR
ms.lasthandoff: 09/19/2018
ms.locfileid: "46395110"
---
# <a name="overridable-cwinapp-member-functions"></a>Funções de membro CWinApp substituíveis
[CWinApp](../mfc/reference/cwinapp-class.md) fornece várias funções de membro substituível de chave (`CWinApp` substitui esses membros da classe [CWinThread](../mfc/reference/cwinthread-class.md), do qual `CWinApp` deriva):
- [InitInstance](../mfc/initinstance-member-function.md)
- [Executar](../mfc/run-member-function.md)
- [ExitInstance](../mfc/exitinstance-member-function.md)
- [OnIdle](../mfc/onidle-member-function.md)
As únicas `CWinApp` função de membro que você deve substituir é `InitInstance`.
## <a name="see-also"></a>Consulte também
[CWinApp: a classe do aplicativo](../mfc/cwinapp-the-application-class.md)
| 30.755556 | 223 | 0.771676 | por_Latn | 0.437665 |
d158df7dd614d1d9c3c7e82e81897b34681e7a97 | 215 | md | Markdown | translations/zh-CN/data/reusables/organizations/require_two_factor_authentication.md | kyawburma/docs | 0ff7de03be7c2432ced123aca17bfbf444bee1bf | [
"CC-BY-4.0",
"MIT"
] | 11,698 | 2020-10-07T16:22:18.000Z | 2022-03-31T18:54:47.000Z | translations/zh-CN/data/reusables/organizations/require_two_factor_authentication.md | kyawburma/docs | 0ff7de03be7c2432ced123aca17bfbf444bee1bf | [
"CC-BY-4.0",
"MIT"
] | 8,317 | 2020-10-07T16:26:58.000Z | 2022-03-31T23:24:25.000Z | translations/zh-CN/data/reusables/organizations/require_two_factor_authentication.md | kyawburma/docs | 0ff7de03be7c2432ced123aca17bfbf444bee1bf | [
"CC-BY-4.0",
"MIT"
] | 48,204 | 2020-10-07T16:15:45.000Z | 2022-03-31T23:50:42.000Z | 1. 在“Authentication(身份验证)”下,选择 **Require two-factor authentication for everyone in your organization(对您组织中的每个人要求双重身份验证)**,然后单击 **Save(保存)**。 
| 107.5 | 214 | 0.776744 | eng_Latn | 0.533518 |
d1596f516e3ca26511e479d87855628b6c683adf | 1,097 | md | Markdown | README.md | ravihuang/mina-transport-rawsocket | a40e1998e56f68ede617b3fb4e692fcf5528cce2 | [
"Apache-2.0"
] | null | null | null | README.md | ravihuang/mina-transport-rawsocket | a40e1998e56f68ede617b3fb4e692fcf5528cce2 | [
"Apache-2.0"
] | null | null | null | README.md | ravihuang/mina-transport-rawsocket | a40e1998e56f68ede617b3fb4e692fcf5528cce2 | [
"Apache-2.0"
] | null | null | null | # Apache Mina Transport Rawsocket
Apache mina Rawsocket Transport
Using native library jnetpcap 1.4.r1425 from: http://jnetpcap.com/download
please see: https://mina.apache.org/mina-project/userguide/ch6-transports/serial-transport.html
# IoAcceptor for a NIC(network interface card)
//10.10.10.1 is one of nic's ip addresses
EthAddress addr1=EthAddress.get_addr_by_ip("10.10.10.1");
addr.setEthType(0x0800);
addr.setFrameType(JProtocol.ETHERNET_ID);
DefaultRawSessionConfig config=new DefaultRawSessionConfig(addr1);
RawIoAcceptor service=new RawIoAcceptor(config);
service.setHandler(......);
......
service.bind();
# IoConnector for a NIC
EthAddress addr2=EthAddress.get_addr_by_ip("10.10.10.2");
addr.setEthType(0x0800);
addr.setFrameType(JProtocol.ETHERNET_ID);
DefaultRawSessionConfig config=new DefaultRawSessionConfig(addr2);
RawIoConnector connector=new RawIoConnector(config);
connector.setHandler(......);
......
connector.connect(addr1);
| 32.264706 | 95 | 0.691887 | yue_Hant | 0.478943 |
240b1192310f3e0ca07d013683142b2caa92c4db | 762 | md | Markdown | .github/ISSUE_TEMPLATE/bug_report.md | glugg23/SET08103-G20 | da07cb1fbbf8117b7d3fd61f2f80574d551b469e | [
"Apache-2.0"
] | 1 | 2019-01-19T12:20:03.000Z | 2019-01-19T12:20:03.000Z | .github/ISSUE_TEMPLATE/bug_report.md | glugg23/SET08103-G20 | da07cb1fbbf8117b7d3fd61f2f80574d551b469e | [
"Apache-2.0"
] | 39 | 2019-01-30T10:48:47.000Z | 2019-04-30T16:57:32.000Z | .github/ISSUE_TEMPLATE/bug_report.md | glugg23/SET08103-G20 | da07cb1fbbf8117b7d3fd61f2f80574d551b469e | [
"Apache-2.0"
] | null | null | null | ---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Choose which type of query you wish to make
2. Enter what you wish to search for
3. Submit query
4. See error or unexpected result
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. macOS]
- Browser [e.g. Chrome, Firefox]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here such as the URL you ended up at.
| 23.090909 | 77 | 0.728346 | eng_Latn | 0.996963 |
240b6709ed1fe5563a5bc285f3192aaa9f38fa22 | 742 | md | Markdown | eGovs.lib/README.md | egovernments/analytics | c9bb4c7ad8845acb41cea72f77844eb4dd39c35d | [
"MIT"
] | 10 | 2016-05-11T16:57:46.000Z | 2017-11-19T12:42:48.000Z | eGovs.lib/README.md | egovernments/analytics | c9bb4c7ad8845acb41cea72f77844eb4dd39c35d | [
"MIT"
] | 146 | 2016-05-08T06:05:08.000Z | 2017-04-15T05:04:39.000Z | eGovs.lib/README.md | egovernments/analytics | c9bb4c7ad8845acb41cea72f77844eb4dd39c35d | [
"MIT"
] | 11 | 2016-04-27T13:34:50.000Z | 2017-09-22T06:08:15.000Z | # eGovs.lib
This is a collection of R classes and methods to process data generated from the eGovs PGR data. Broadly speaking, it deals with the time series data at city, ward and complaint levels. Currently, there are two goals of this library:
- Time Series Modeling (of complaint types)
- Detection of anomalies in time series data (at city, ward and complaint levels)
## Requirements
* The library requires R (>= 3.3.2)
* (Optional, but Recommended) R Studio
## Installation
Execute the following in an R shell (or R studio):
```R
install.packages('devtools')
devtools::install_github("egovernments/analytics",subdir = "eGovs.lib")
```
## User Guide
(WIP)
### 0. Config specifications
### 1. Data
### 2. Forecasts
### 3. Alerts
| 24.733333 | 233 | 0.730458 | eng_Latn | 0.979746 |
240bca8337558bebf318f51acdf0cd7cfdbe3e02 | 4,065 | md | Markdown | README.md | HMS-Core/hms-push-serverdemo-c- | 35bd548a633b55a748b4574f8617ec2a9c31fa5f | [
"Apache-2.0"
] | null | null | null | README.md | HMS-Core/hms-push-serverdemo-c- | 35bd548a633b55a748b4574f8617ec2a9c31fa5f | [
"Apache-2.0"
] | null | null | null | README.md | HMS-Core/hms-push-serverdemo-c- | 35bd548a633b55a748b4574f8617ec2a9c31fa5f | [
"Apache-2.0"
] | null | null | null | # HMS Core Push Kit Sample Code (C#)
English | [中文](README_ZH.md)
## Contents
* [Introduction](#Introduction)
* [Installation](#Installation)
* [Configuration](#Configuration)
* [Environment Requirements](#Environment-Requirements)
* [Sample Code](#Sample-Code)
* [License](#License)
## Introduction
The sample code for C# encapsulates the server-side APIs of Push Kit, for your reference or direct use.
The following table describes folders of C# sample code.
| Folder| Description|
| ------------ | ----------- |
|AGConnectAdmin|Class library where Push Kit server APIs are encapsulated.|
|AGConnectAdmin.Examples|Class library usage examples.|
The following table describes main classes used in the sample code.
| Class Name| Description|
| ----------- | ----------- |
|AppOptions|App-related configuration.|
|AGConnectApp|App.|
|AGConnectMessaging|Push Kit API calling methods.|
|Message|Message body.|
## Installation
1. Decompress the sample code.
2. Copy **AGConnectAdmin** to a proper position in your Visual Studio solution and reference the corresponding assembly in your project.
3. Use the classes in **AGConnectAdmin** by referring to the sample code.
## Configuration
The following table describes the parameters related to the **AppOptions** class.
| Parameter| Description|
| ----------- | ----------- |
|ClientId|App ID, which is obtained from the app information.|
|ClientSecret|App secret, which is obtained from the app information.|
|LoginUri|URL for Huawei OAuth 2.0 to obtain a token. For details, please refer to [OAuth 2.0-based Authentication](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/oauth2-0000001212610981).|
|ApiBaseUri|Access address of Push Kit. For details, please refer to [Downlink Message Sending](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/android-server-dev-0000001050040110?ha_source=hms1).|
## Environment Requirements
The demo projects need to be opened using Visual Studio 2017 or a later version. The following framework versions are supported:
- .NET Framework 4.5 or later
- .NET Standard 2.0 or later
## Sample Code
**AGConnectAdmin.Examples** provides all sample code and corresponding functions.
1. Send a data message to an Android app.
File path: **AGConnectAdmin.Examples/Example.SendDataMessage.cs**
2. Send a notification message to an Android app.
File path: **AGConnectAdmin.Examples/Example.SendAndroidMessage.cs**
3. Send a message by topic.
File path: **AGConnectAdmin.Examples/Example.SendTopicMessage.cs**
4. Send a message by condition.
File path: **AGConnectAdmin.Examples/Example.SendConditionMessage.cs**
5. Send a message to a Huawei quick app.
File path: **AGConnectAdmin.Examples/Example.SendInstanceAppMessage.cs**
6. Send a message by WebPush.
File path: **AGConnectAdmin.Examples/Example.SendWebpushMessage.cs**
7. Send a message by APNs.
File path: **AGConnectAdmin.Examples/Example.SendApnsMessage.cs**
8. Send a test message.
File path: **AGConnectAdmin.Examples/Example.SendTestMessage.cs**
## Technical Support
You can visit the [Reddit community](https://www.reddit.com/r/HuaweiDevelopers/) to obtain the latest information about HMS Core and communicate with other developers.
If you have any questions about the sample code, try the following:
- Visit [Stack Overflow](https://stackoverflow.com/questions/tagged/huawei-mobile-services?tab=Votes), submit your questions, and tag them with `huawei-mobile-services`. Huawei experts will answer your questions.
- Visit the HMS Core section in the [HUAWEI Developer Forum](https://forums.developer.huawei.com/forumPortal/en/home?fid=0101187876626530001?ha_source=hms1) and communicate with other developers.
If you encounter any issues when using the sample code, submit your [issues](https://github.com/HMS-Core/hms-push-serverdemo-csharp/issues) or submit a [pull request](https://github.com/HMS-Core/hms-push-serverdemo-csharp/pulls).
## License
The sample code is licensed under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).
| 43.709677 | 229 | 0.76802 | eng_Latn | 0.916975 |
240bf3c00a63085b4178bbd2a2295aa1bcb83d21 | 4,189 | markdown | Markdown | old-markdown/2013-05-22-day-2-ho-chi-minh-city.markdown | lparry/blog-2.0 | 1e99ab5a983cb0a26e14c9a8f4cd633dec0d5bf0 | [
"MIT"
] | null | null | null | old-markdown/2013-05-22-day-2-ho-chi-minh-city.markdown | lparry/blog-2.0 | 1e99ab5a983cb0a26e14c9a8f4cd633dec0d5bf0 | [
"MIT"
] | null | null | null | old-markdown/2013-05-22-day-2-ho-chi-minh-city.markdown | lparry/blog-2.0 | 1e99ab5a983cb0a26e14c9a8f4cd633dec0d5bf0 | [
"MIT"
] | null | null | null | ---
layout: post
title: "Day 2 - Ho Chi Minh City"
date: 2013-05-22 14:22
old_blog_url: http://www.lucasthenomad.com/post/51070375595/day-2-ho-chi-minh-city
author:
categories:
description:
tags: vietnam, hcmc
priority: 0.5
travel_dates:
---
On my first morning in Vietnam I woke, packed my stuff in my private room into my bags and checked out to walk 30M around the corner to the dorm style accommodation I have booked for the rest of my stay here. I wasnt able to check in until 1pm, so I left my big bag and took just my day pack with all the valuable stuff in it. Even with just a tiny laptop and an MFT system camera, valuables still weigh a ton.
I went out onto the main road to try some delicious baked goods from the bakery recommended to me by the first hostel. They had some pretty tasty stuff, but the place was a big franchise and felt very much like Breadtop back home. I sat outside eating my coffee bun and croissant and a little older Vietnamese lady who was there eating started to talk to me. She asked me where I was from, how long I had been travelling, etc. Then she offered me a massage. I could already see where this was going and told her no, but just in case I had missed her meaning she repeated she would give me massage and "boom boom". At 10am. At a franchise bakery. It seems that being a single male in Vietnam leads to the locals assuming you're a sex tourist.
<!-- more -->
<a href="http://www.flickr.com/photos/lucasthenomad/9686528133/" title="ABC Bakery by Lucas the nomad, on Flickr"><img alt="ABC Bakery" height="601" src="http://farm8.staticflickr.com/7281/9686528133_32719c2319_c.jpg" width="800" /></a>
I set out to explore the city on foot, finding that as a westerner you're expected to never want to walk anywhere. I was continuously hassled by motorbike taxis, who couldn't seem to accept my answer that I just wanted to walk around and get a feel for the place, constantly rebutting with "Where do you want to go?". I didn't want to go anywhere, I just wanted to look around without being accosted damn it.
I ended up at the Ho Chi Minh Museum, an old and massive palace with a marble floored underground bunker, filled with bits and pieces of Vietnam's history. Sadly the English translations left a lot to be desired so I didn't get all that much out of it, but it was a cool building.
<a href="http://www.flickr.com/photos/lucasthenomad/9689649648/" title="Underground bunker door under Ho Chi Minh Museum by Lucas the nomad, on Flickr"><img alt="Underground bunker door under Ho Chi Minh Museum" height="800" src="http://farm3.staticflickr.com/2829/9689649648_3e54286c72_c.jpg" width="601" /></a>
I started to get too hot so I went looking for somewhere air conditioned to chill for a bit and found a fancy shopping centre. The place looked expensive, which gave me hope that I'd be able to break on of these stupid 500K Dong notes that the ATM gave me, that pretty much nobody ever has enough change for. I ended up getting lunch there, some fresh spring rolls, pork, eggs and "broken" rice, but the rice seems pretty normal to me. Then I bought a nice ice cream, sesame and tapioca, and sat int eh cool typing up a blog post.
I headed back to the hostel and checked in properly, took my stuff up to my room and then headed out in search of a massage. I ended up finding the place that the first hostel had recommended, which turned out to be run by the HCMC blind society. It was an odd experience being given a massage by a blind man who didn't speak a word of English, not being able to tell him "harder please" or "focus on that right shoulder", but it want bad and it was super cp.
I decided that I had gone two long without practicing poi, so I grabbed a set and went and found a spot over in the park across the road near my hostel. After about 5 minutes I had gathered a small crowd of onlookers and children watching me, and after 10 minutes I was dripping with sweat and needed a rest. Two teenagers from the rcowd approached me and wanted to know if I would talk with them for a while so they could practice their English. I agreed and ended up sitting with them for about an hour, talking and answering questions.
| 130.90625 | 741 | 0.773932 | eng_Latn | 0.999741 |
240c0d695060a3d2394f5c7a546174b18e28bc1b | 6,704 | md | Markdown | release-notes/download-archives/2.0.0-download.md | jnm2/dotnet-core | 20b5189bda5c6c932ab4332881b18ca7a0d6c224 | [
"MIT"
] | null | null | null | release-notes/download-archives/2.0.0-download.md | jnm2/dotnet-core | 20b5189bda5c6c932ab4332881b18ca7a0d6c224 | [
"MIT"
] | null | null | null | release-notes/download-archives/2.0.0-download.md | jnm2/dotnet-core | 20b5189bda5c6c932ab4332881b18ca7a0d6c224 | [
"MIT"
] | null | null | null | # .NET Core 2.0.0
.NET Core 2.0.0 is comprised of:
* .NET Core Runtime 2.0.0
* .NET Core SDK 2.0.0
| | SDK Installer | SDK Binaries | Runtime Installer | Runtime Binaries |
| ----------------------- | :----------------------------------------------: | :----------------------------------------------:| :--: | :--: |
| Windows | [32-bit](https://download.microsoft.com/download/0/F/D/0FD852A4-7EA1-4E2A-983A-0484AC19B92C/dotnet-sdk-2.0.0-win-x86.exe) / [64-bit](https://download.microsoft.com/download/0/F/D/0FD852A4-7EA1-4E2A-983A-0484AC19B92C/dotnet-sdk-2.0.0-win-x64.exe) | [32-bit](https://download.microsoft.com/download/5/F/0/5F0362BD-7D0A-4A9D-9BF9-022C6B15B04D/dotnet-runtime-2.0.0-win-x86.zip) / [64-bit](https://download.microsoft.com/download/5/F/0/5F0362BD-7D0A-4A9D-9BF9-022C6B15B04D/dotnet-runtime-2.0.0-win-x64.zip) | [32-bit](https://download.microsoft.com/download/5/6/B/56BFEF92-9045-4414-970C-AB31E0FC07EC/dotnet-runtime-2.0.0-win-x86.exe) / [64-bit](https://download.microsoft.com/download/5/6/B/56BFEF92-9045-4414-970C-AB31E0FC07EC/dotnet-runtime-2.0.0-win-x64.exe) | [32-bit](https://download.microsoft.com/download/1/B/4/1B4DE605-8378-47A5-B01B-2C79D6C55519/dotnet-sdk-2.0.0-win-x86.zip) / [64-bit](https://download.microsoft.com/download/1/B/4/1B4DE605-8378-47A5-B01B-2C79D6C55519/dotnet-sdk-2.0.0-win-x64.zip) |
| macOS | [64-bit](https://download.microsoft.com/download/0/F/D/0FD852A4-7EA1-4E2A-983A-0484AC19B92C/dotnet-sdk-2.0.0-osx-x64.pkg) | [64-bit](https://download.microsoft.com/download/1/B/4/1B4DE605-8378-47A5-B01B-2C79D6C55519/dotnet-sdk-2.0.0-osx-x64.tar.gz) | [64-bit](https://download.microsoft.com/download/5/6/B/56BFEF92-9045-4414-970C-AB31E0FC07EC/dotnet-runtime-2.0.0-osx-x64.pkg) | [64-bit](https://download.microsoft.com/download/5/F/0/5F0362BD-7D0A-4A9D-9BF9-022C6B15B04D/dotnet-runtime-2.0.0-osx-x64.tar.gz) |
| Linux * | - | [64-bit](https://download.microsoft.com/download/1/B/4/1B4DE605-8378-47A5-B01B-2C79D6C55519/dotnet-sdk-2.0.0-linux-x64.tar.gz) | - | [64-bit](https://download.microsoft.com/download/5/F/0/5F0362BD-7D0A-4A9D-9BF9-022C6B15B04D/dotnet-runtime-2.0.0-linux-x64.tar.gz) |
| Ubuntu | See installations steps below | [64-bit](https://download.microsoft.com/download/1/B/4/1B4DE605-8378-47A5-B01B-2C79D6C55519/dotnet-sdk-2.0.0-linux-x64.tar.gz) | See installation steps below | [64-bit](https://download.microsoft.com/download/5/F/0/5F0362BD-7D0A-4A9D-9BF9-022C6B15B04D/dotnet-runtime-2.0.0-linux-x64.tar.gz) |
**Note:** The 'Linux' binary archives are new for the 2.0 release. This package contains binaries which are compatible with [Linux distros and versions supported by .NET Core](https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md).
**Checksum** files to verify downloads are available as follows:
* [Checksums_Runtime](https://dotnetcli.blob.core.windows.net/dotnet/checksums/2.0.0-runtime-sha.txt)
* [Checksums_SDK](https://dotnetcli.blob.core.windows.net/dotnet/checksums/2.0.0-sdk-sha.txt)
**Debug Symbols**
* [Shared Framework](https://download.microsoft.com/download/D/E/B/DEB55D32-4CC3-46B0-A241-1A5BF2BB533C/corefx-2.0-symbols.zip)
* [Runtime](https://download.microsoft.com/download/D/E/B/DEB55D32-4CC3-46B0-A241-1A5BF2BB533C/coreclr-2.0-symbols.zip)
## Docker
Images for .NET Core 2.0.0 are available on [Docker](https://hub.docker.com/r/microsoft/dotnet/).
## Installation from a binary archive
When using binary archives to install, we the contents must be extracted to a user location such as `~/dotnet` and a symbolic link created for `dotnet`. This is a change from previous versions of .NET Core. Additional details can be seen in [.NET Core 2.0 Known Issues](https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0.0-known-issues.md). Ubuntu and Mint users should follow the instructions in the Ubuntu Installation section below.
```bash
sudo mkdir -p ~/dotnet
sudo tar zxf [tar.gz filename] -C ~/dotnet
sudo ln -s ~/dotnet/dotnet /usr/local/bin
```
## Ubuntu installation
### Uninstall Preview 2
If you have .NET Core Preview 2 installed, it will need to be removed before attempting to install .NET Core 2.0. This can be done by running the following command.
`sudo apt remove dotnet-dev-2.0.0-preview2-006497`
### Add the dotnet apt-get feed
The first step is to establish the source feed for the package manager.
#### Register the Microsoft Product key as trusted
``` bash
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
```
#### Ubuntu 14.04 and Linux Mint 17
```bash
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
```
#### Ubuntu 16.04 and Linux Mint 18
```bash
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
```
#### Ubuntu 17.04
```bash
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-zesty-prod zesty main" > /etc/apt/sources.list.d/dotnetdev.list'
```
### Install .NET Core 2.0
To install .NET Core 2.0 on Ubuntu or Linux Mint, simply use apt-get.
```bash
sudo apt-get update
sudo apt-get install dotnet-sdk-2.0.0
```
## Windows Server Hosting
If you are looking to host stand-alone apps on Windows Servers, the ASP.NET Core Module for IIS can be installed separately on servers without installing .NET Core runtime. You can download the Windows (Server Hosting) installer and run the following command from an Administrator command prompt:
[```DotNetCore.2.0.0-WindowsHosting.exe```](https://download.microsoft.com/download/B/1/D/B1D7D5BF-3920-47AA-94BD-7A6E48822F18/DotNetCore.2.0.0-WindowsHosting.exe)
### ASP.NET Core Package Store
The Runtime Package Store is installed by the .NET Core SDK and the Windows Server Hosting installer. If you need to install the Runtime Package Store separately, the following can be used.
* [AspNetCore.2.0.0.RuntimePackageStore_x64.exe](https://download.microsoft.com/download/B/1/D/B1D7D5BF-3920-47AA-94BD-7A6E48822F18/AspNetCore.2.0.0.RuntimePackageStore_x64.exe)
* [AspNetCore.2.0.0.RuntimePackageStore_x86.exe](https://download.microsoft.com/download/B/1/D/B1D7D5BF-3920-47AA-94BD-7A6E48822F18/AspNetCore.2.0.0.RuntimePackageStore_x86.exe)
| 69.833333 | 1,036 | 0.706891 | yue_Hant | 0.366467 |
240dedd803809b64577b4a64d8756fc9dc89b2af | 1,173 | md | Markdown | doc/130-JEA/03-Uninstallation.md | moreamazingnick/icinga-powershell-framework | 211d9d3a1d7e1672dbeafc00da2ea0860080d173 | [
"MIT"
] | 45 | 2019-10-31T16:51:08.000Z | 2022-01-28T13:17:14.000Z | doc/130-JEA/03-Uninstallation.md | moreamazingnick/icinga-powershell-framework | 211d9d3a1d7e1672dbeafc00da2ea0860080d173 | [
"MIT"
] | 210 | 2019-11-05T10:42:10.000Z | 2022-03-31T15:51:23.000Z | doc/130-JEA/03-Uninstallation.md | moreamazingnick/icinga-powershell-framework | 211d9d3a1d7e1672dbeafc00da2ea0860080d173 | [
"MIT"
] | 31 | 2019-11-26T13:50:30.000Z | 2022-03-25T14:53:18.000Z | # Uninstall JEA
If you want to uninstall JEA profiles or even the managed user included, there are `Cmdlets` available for this.
## Uninstall JEA with managed user
To uninstall JEA profiles and the managed user, you can use `Uninstall-IcingaSecurity`. Like the installation counterpart, you can specify a custom user with `-IcingaUser`.
However, users will only be removed if their description matches the Icinga for Windows managed user description.
```powershell
Uninstall-IcingaSecurity -IcingaUser 'MyOwnIcingaUser';
```
By default, it will remove the `icinga` user including unregistering the JEA profile.
## Uninstall JEA Profile
To simply uninstall the JEA profile and leave a possible managed user on the system, you can run `Uninstall-IcingaJEAProfile`.
This will remove the created JEA profile and the JEA catalog for `IcingaForWindows` on the system.
## Uninstall JEA test profile
To simply remove the test environment of the JEA profile, you can use this command:
```powershell
Unregister-PSSessionConfiguration -Name 'IcingaForWindowsTest';
```
This will leave the catalog and the production system itself alone and only removes the test profile.
| 36.65625 | 172 | 0.794544 | eng_Latn | 0.97809 |
240ff41bd11bd057c2c0764f7f108e143abd2541 | 457 | md | Markdown | .github/pull_request_template.md | Siliconrob/Cesil | d9e9d3e6671c598d8a63cd9f8a9745dc34f07c3d | [
"MIT"
] | 66 | 2019-07-06T13:01:36.000Z | 2022-01-02T19:01:01.000Z | .github/pull_request_template.md | Siliconrob/Cesil | d9e9d3e6671c598d8a63cd9f8a9745dc34f07c3d | [
"MIT"
] | 26 | 2020-02-01T02:43:09.000Z | 2021-04-10T18:57:06.000Z | .github/pull_request_template.md | Siliconrob/Cesil | d9e9d3e6671c598d8a63cd9f8a9745dc34f07c3d | [
"MIT"
] | 3 | 2019-07-06T13:01:39.000Z | 2021-02-14T23:14:05.000Z | New Pull Request
---
Quick summary of changes made, including any Issues addressed.
### Visible changes
- Enumerate each change that external users would see
- Things like new types, new methods, and so on
### Internal changes (optional)
- Any notable internal changes that are worth calling out
- If there's been a big refactor, for example, a quick outline belongs here
### Commentary (optional)
If there's any further discussion, put it here.
| 24.052632 | 76 | 0.748359 | eng_Latn | 0.997901 |
240ff908b133506f6e4514ed1a0fe4dbb9ca9803 | 285 | md | Markdown | README.md | Cj-Malone/goAway | 19afb84af57cc477cfe5a75a67da3148dd4cc24e | [
"BSD-2-Clause"
] | null | null | null | README.md | Cj-Malone/goAway | 19afb84af57cc477cfe5a75a67da3148dd4cc24e | [
"BSD-2-Clause"
] | null | null | null | README.md | Cj-Malone/goAway | 19afb84af57cc477cfe5a75a67da3148dd4cc24e | [
"BSD-2-Clause"
] | null | null | null | # goAway
goAway is a project to hide annoying, unused application from the desktop enviroment. It works by placing desktop files into ```${XDG_DATA_HOME:=$HOME/.local/share/}/applications/``` with ```Hidden=true``` appended, desktop enviroments should then ignore thease applications.
| 95 | 275 | 0.778947 | eng_Latn | 0.983401 |
24101695422ca7f3a455e119cfc4570f0a8aa0d3 | 82 | md | Markdown | README.md | Mxrcon/mxrcon.me | 92f5a25c2891830a07eec72274ed565237264890 | [
"MIT"
] | null | null | null | README.md | Mxrcon/mxrcon.me | 92f5a25c2891830a07eec72274ed565237264890 | [
"MIT"
] | null | null | null | README.md | Mxrcon/mxrcon.me | 92f5a25c2891830a07eec72274ed565237264890 | [
"MIT"
] | null | null | null | # mxrcon.me
My personal site - forked from [@rpetit3](https://github.com/rpetit3)
| 27.333333 | 69 | 0.731707 | eng_Latn | 0.704362 |
2410c017bf4a514b81daa8c133c2de1c28e61ce0 | 1,077 | md | Markdown | README.md | gmasson/clonepage | a93a1860b9020625546bd9d8a29b1417bc687e0f | [
"MIT"
] | null | null | null | README.md | gmasson/clonepage | a93a1860b9020625546bd9d8a29b1417bc687e0f | [
"MIT"
] | null | null | null | README.md | gmasson/clonepage | a93a1860b9020625546bd9d8a29b1417bc687e0f | [
"MIT"
] | null | null | null | # Clone Page
Script para clonar páginas em seu servidor e domínio, ideal para quem trabalha com mercado de afiliados.
## Como Usar
* Baixe o projeto [clicando aqui](https://github.com/gmasson/clonepage/archive/main.zip)
* Descompacte o projeto baixado no seu computador
* Abra o arquivo **index.php** em um editor de código ou no *Bloco de Notas*
* Edite a URL dentro do código para sua URL, por exemplo:
> $url = "sua_URL_aqui";
Troque o valor entre as áspas
> $url = "https://copypronta.com/";
* Após isso, salve o arquivo
* Renomeie a pasta que foi descompactada
Exemplo: _/cloneweb_ para _/copypronta_
* Compacte essa pasta renomeada e envie o arquivo compactado para seu servidor
* Descompacte a pasta no seu servidor, e faça o teste digitando no navegador a sua URL e o nome da sua pasta, desse jeito
> SeuSite.../NomeDoSiteClonado
* Como alternativa, você pode cria uma pasta em seu servidor, com o nome do site que você está clonando e subir apenas o arquivo **index.php** que foi editado
Veja um exemplo de site clonado:
https://lp.dicando.com.br/copypronta
| 35.9 | 158 | 0.758589 | por_Latn | 0.998129 |
2411393cb9471ff2a09ca9b4a8253995ccb1e510 | 1,104 | md | Markdown | content/portfolio/graph-ve.en.md | ferdbold/ferdbold | cfe681c10a245a62fde4534da4c384fbe03f9959 | [
"MIT"
] | null | null | null | content/portfolio/graph-ve.en.md | ferdbold/ferdbold | cfe681c10a245a62fde4534da4c384fbe03f9959 | [
"MIT"
] | null | null | null | content/portfolio/graph-ve.en.md | ferdbold/ferdbold | cfe681c10a245a62fde4534da4c384fbe03f9959 | [
"MIT"
] | null | null | null | ---
title: "Graph-VE"
date: 2015-01-01
website: mediawiki.org/wiki/Extension:Graph
github: wikimedia/mediawiki-extensions-Graph
thumbnail: https://upload.wikimedia.org/wikipedia/commons/1/1c/MediaWiki_logo.png
---

**Graph-VE** was a project developed during [Google Summer of Code 2015](https://developers.google.com/open-source/gsoc/) for the [Wikimedia Foundation](https://wikimediafoundation.org) to bring graph editing capabilities to MediaWiki's VisualEditor project.
With this project, Wikipedia (and all other platforms powered by MediaWiki) editors can now create and edit graphs through the visual editor, bringing more modern behaviours to Wikipedia's user experience. This module uses [Vega](http://vega.github.io/) under the hood, a JavaScript library specialized in generating graphs from a JSON-based grammar.
This project eventually led to a 1-year contract with the WMF, where I continued working on Graph-VE, as well as contributing to VisualEditor.
| 69 | 350 | 0.797101 | eng_Latn | 0.893731 |
24114e0f08b7f52070955100755c44867cf67e29 | 1,217 | md | Markdown | README.md | DoctorDatah/Customer-segmentation-and-market-basket-analysis | db809e9084715316dd30dca6c26391c924ff3281 | [
"Unlicense"
] | null | null | null | README.md | DoctorDatah/Customer-segmentation-and-market-basket-analysis | db809e9084715316dd30dca6c26391c924ff3281 | [
"Unlicense"
] | null | null | null | README.md | DoctorDatah/Customer-segmentation-and-market-basket-analysis | db809e9084715316dd30dca6c26391c924ff3281 | [
"Unlicense"
] | null | null | null | **[In Progress!]**
# Customer-segmentation-and-market-basket-analysis
## Data Source
#### Data Set Information:
This is a transnational data set which contains all the transactions occurring between 01/12/2010 and 09/12/2011 for a UK-based and registered non-store online retail.The company mainly sells unique all-occasion gifts. Many customers of the company are wholesalers.
### Attribute Information:
- **InvoiceNo:** Invoice number. Nominal, a 6-digit integral number uniquely assigned to each transaction.
- **StockCode:** Product (item) code. Nominal, a 5-digit integral number uniquely assigned to each distinct product.
- **Description:** Product (item) name. Nominal.
- **Quantity:** The quantities of each product (item) per transaction. Numeric.
- **InvoiceDate:** Invice Date and time. Numeric, the day and time when each transaction was generated.
- **UnitPrice:** Unit price. Numeric, Product price per unit in sterling.
- **CustomerID:** Customer number. Nominal, a 5-digit integral number uniquely assigned to each customer.
- **Country:** Country name. Nominal, the name of the country where each customer resides.
Data source [here](http://archive.ics.uci.edu/ml/datasets/online+retail#).
| 50.708333 | 265 | 0.758422 | eng_Latn | 0.947735 |
2412f849949b440a8a39ee2003b36054d2000b3f | 8,335 | md | Markdown | SCSS/3. Extensions.md | huusz/frontstudy | 67c80a0120606b439826707604fc9659824d94da | [
"MIT"
] | null | null | null | SCSS/3. Extensions.md | huusz/frontstudy | 67c80a0120606b439826707604fc9659824d94da | [
"MIT"
] | null | null | null | SCSS/3. Extensions.md | huusz/frontstudy | 67c80a0120606b439826707604fc9659824d94da | [
"MIT"
] | null | null | null | # Extensions
## 1. Nesting
Sass의 유용한 확장 기능으로 중첩(Nesting)이 있다. CSS는 후손 셀렉터의 경우 부모요소를 기술하여야 한다.
```css
#navbar {
width: 80%;
height: 23px;
}
#navbar ul {
list-style-type: none;
}
#navbar li {
float: left;
}
#navbar li a {
font-weight: bold;
}
```
Sass의 Nesting은 후손 셀렉터를 간단히 기술이 가능하다. ***또한 HTML의 구조를 반영한 CSS를 기술할 수 있다.***
```scss
#navbar {
width: 80%;
height: 23px;
ul { list-style-type: none; }
li {
float: left;
a { font-weight: bold; }
}
}
```
너무 깊은 Nesting은 가독성을 나쁘게 하고 셀렉터를 복잡하게 만든다. 따라서 Nesting은 3단계 이상 들어가지 않도록 한다. 만약 3단계 이상 들어가야 할 경우에는, 네스팅 하지 않고 차라리 클래스로 꺼내두는게 낫다.
```scss
// Bad case
div#main {
#sidebar {
#navbar {
width: 80%;
height: 23px;
aside {
div {
ul {
list-style-type: none;
li {
float: left;
a {
font-weight: bold;
}
}
}
}
}
}
}
}
```
부모요소의 참조가 필요한 경우 `&`를 사용한다. 예를 들어 `:hover` 또는 `:before` 등의 가상 클래스 선택자(Pseudo-Class Selector)를 지정하는 경우 부모요소의 참조가 필요하다.
```scss
a.myAnchor {
color: blue;
&:hover {
text-decoration: underline;
}
&:visited {
color: purple;
}
}
```
Nesting은 프로퍼티에도 사용할 수 있다.
```scss
.funky {
font: {
family: fantasy;
size: 30em;
weight: bold;
}
}
```
위 코드의 컴파일 결과는 아래와 같다.
```css
.funky {
font-family: fantasy;
font-size: 30em;
font-weight: bold;
}
```
<br>
## 2. @-Rules and Directives
### 1) @import
1개의 CSS파일에 모든 스타일을 기술하는 것은 가독성을 나쁘게 한다. 또한 기능에따라 CSS파일을 분리하면 재사용 및 유지보수 측면에서 유리하다. 따라서 룰을 정하여 파일을 분리하여 개발하는 것은 효과적인 방법이다.
Sass는 @import directive를 사용하여 분리된 stylesheet 파일을 import할 수 있다. 기존의 CSS @import보다 편리한 기능을 제공한다.
```scss
@import "foo.scss";
//확장자는 생략 가능하다.
@import "foo";
//import multiple files
@import "rounded-corners", "text-shadow";
$family: unquote("Droid+Sans");
@import url("https://fonts.googleapis.com/css?family=#{$family}")
```
여러개의 파일로 분할하는 것 또는 분할된 파일을 **partial**이라 하며 partial된 Sass 파일명의 선두에는 underscore(_)를 붙인다. (_reset.scss, _module.scss, _print.scss)
예를 들어 "_foo.scss"라는 partial된 Sass 파일이 있고 이 파일을 import 하는 경우 아래와 같이 기술한다. 파일명 선두의 _와 확장자는 생략할 수 있다.
```sass
@import "foo";
```
partial된 Sass 파일명 선두에 붙인 _의 의미는 import는 수행하되 CSS로의 컴파일은 수행하지 말라는 의미를 갖는다. 따라서 partial은 import시에는 CSS파일로 컴파일되지 않기 때문에 최종적으로 CSS로 컴파일을 수행할 Sass 파일에서 import한다.

@import는 top-level에서 사용하는 것이 일반적이지만 CSS rule 또는 @media rule 내에 포함시키는 것도 가능하다.
```scss
//_example.scss
.example {
color: red;
}
```
```scss
#main {
@import "example";
}
```
위 코드는 컴파일 결과는 아래와 같다.
```css
#main .example {
color: red;
}
```
<br>
### 2) @extend
기존 스타일을 상속하고자 경우 @extend를 사용한다.
```html
<div class="error seriousError">
Oh no! You've been hacked!
</div>
```
기존에 선언되어 있는 error class를 사용하면서 일부 rule set에 대해서는 다른 선언이 필요한 경우 자주 사용하는 방법이다.
이러한 경우 사용할 수 있는 방법이 상속이다. 상속되는 rule set을 그대로 상속받아 다른 부분만 별도 선언하면 된다.
```scss
.error {
border: 1px #f00;
}
.seriousError {
@extend .error;
border-width: 3px;
border-color: darkblue;
}
```
위 코드의 컴파일 결과는 아래와 같다. `.error`과 `.seriousError`가 공통으로 사용하는 프로퍼티를 묶어 *나름 합리적인* 룰셋을 생성한다.
```css
.error, .serousError {
border: 1px #f00;
background-color: blue;
}
.seriousError {
border-width: 3px;
border-color: darkblue;
}
```
이제 하나의 클래스만 적용시키면 된다.
```html
<div calss="seriousError">
Oh no! You've been hacked!
</div>
```
@extend를 @media블록과 같이 사용하는 경우, 제대로 작동하지 않는다. 다시말해 @media 안에서 외부 선택자를 @extend할 수 없다.
```scss
.foo {
color: red;
}
@media print {
.bar {
//ERROR
@extend .foo;
}
}
```
> 컴파일 후 자신의 셀렉터가 어디에 첨부될 것인지 **예상하기 어렵고, 예상치 못했던 부작용이 발생할 수 있다.** 따라서 @Extend의 사용은 **가급적 자제**하고 Mixin을 사용하는 것을 추천한다.
[@extend의 부작용](https://sass-guidelin.es/ko/#extend)
<br>
### 3) Placeholder Selectors
Placeholder Selector는 Sass3.2부터 제공되는 기능으로 재이용 가능한 Rule set을 %키워드로 지정하는 **@extend 전용 Selector**이다. (그러니, extend를 사용하지 않는다면 별로 기억하지 않아도 된다.)
Placeholder Selector는 상속만을 위한 rule set으로 자신은 컴파일되지 않는다.
```scss
%input-style {
font-size: 14px;
}
.input-black {
@extend %input-style;
colr: black;
}
.input-red {
@extend %input-style;
color: red;
}
```
컴파일 결과는 아래와 같다.
```css
.input-black, .input-red {
font-size: 14px;
}
.input-black {
color: black;
}
.input-red {
color: red;
}
```
<br>
## 3. 조건과 반복
Sass는 Javascript 같은 프로그래밍 언어와 같이 제어문(Control flow statement)을 사용할 수 있는 기능을 제공한다.
<br>
### 1) if()
built-in if()함수는 주어진 조건읊 판단하여 결과를 리턴한다. Javascript의 삼항 연산자와 유사하게 동작한다.
```scss
if(condition, if_true, if_false)
```
condition이 true이면 if_true를, false이면 if_false를 반환한다.
```scss
$type: ocean;
p {
color: if($type == ocean, blue, black); // color: blue;
}
```
<br>
### 2) @if
@if를 사용하면 조건분기가 가능하다.
```scss
$type: monster;
p {
@if $type == ocean {
color: blue;
} @else if $type == matador {
color: red;
} @else if $type == monster {
color: green;
} @else {
color: black;
}
}
```
컴파일 결과는 아래와 같다.
```css
p {
color: green;
}
```
<br>
### 3) @for
@for으로 반복문을 사용할 수 있다.
```scss
@for $i from 1 though 3 {
.item-#{$1} { width: 2em * $i; }
}
```
컴파일 결과는 아래와 같다.
```css
.item-1 {
width: 2em;
}
.item-2 {
width: 4em;
}
.item-3 {
width: 6em;
}
```
<br>
### 4) @each
@each와 list 또는 map의 요소에 대해 반복을 실시한다.
```scss
//List
@each $animal in puma, sea-slug, egret, salamander {
.#{$animal}-icon {
background-image: url('/image/#{$animal}.png');
}
}
// Map
// $header; h1, $size: 2em
// $header; h2, $size: 1.5em
// $header; h3, $size: 1.2em
@each $header, $size in (h1: 2em, h2: 1.5em, h3: 1.2em) {
#{$header} {
font-size: $size;
}
}
```
컴파일 결과는 아래와 같다.
```css
.puma-icon {
background-image: url("/image/puma.png");
}
.sea-slug-icon {
background-image: url("/images/sea-slug.png");
}
.salamander-icon {
background-image: url("/image/salamander.png");
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.2em;
}
```
<br>
### 5) @while
@while로 반복문을 사용할 수 있다.
```scss
$i: 6;
@while $i > 0 {
.item-#{$i} { width: 2em * $i; }
$i: $i - 2;
}
컴파일 결과는 아래와 같다.
```css
.item-6{
width: 12em;
}
.item-4 {
width: 8em;
}
.item-2 {
width: 4em;
}
```
<br>
## 4. Mixin
Mixin은 Sass의 매우 유용한 기능으로 중복 기술을 방직하기 위해 사용 빈도가 높은 마크업을 사전에 정의하여 필요할 때 불러 사용하는 방법이다.
@extend와 유사하나 프로그래밍 언어의 함수와 같이 argument를 받을 수 있다. 사용법은 매우 간단하다. `@mixin` 선언하고 `@include`로 불러들인다.
```scss
//지름이 50px인 원
@mixin circle {
width: 50px;
height: 50px;
border-radius: 50%;
}
//지름이 50px인 원을 위한 mixin을 include한 후, 배경을 추가 지정
.box {
@include circle;
background: #f00;
}
```
컴파일 결과는 아래와 같다. 배경이 red이고 지름이 50px인 원을 표시한다.
```css
.box {
width: 50px;
height: 50px;
border-radius: 50%;
background: #f00;
}
```
@extend와 차이가 없어 보이나 Mixin은 함수처럼 argument를 사용할 수 있다.
```scss
@mixin circle($size) {
width: $size;
height: $size;
border-radius: 50%;
}
.box {
@include circle(100px);
background: #f00;
}
```
컴파일 결과는 아래와 같다.
```css
.box{
width: 100px;
height: 100px;
border-radius: 50%;
background: #f00;
}
```
argument의 초기값을 설정할 수도 있다
```scss
@mixin circle($size: 10px) {
width: $size;
height: $size;
border-radius: 50%;
}
.box {
//인자가 없으면 초기값을 사용한다.
@include circle();
background: #f00;
}
```
컴파일 결과는 아래와 같다.
```css
.box {
width: 10px;
height: 10px;
border-radius: 50%;
background: #f00;
}
```
Mixin을 사용한 유용한 예제를 살펴보자.
`vendor prefix`
```css
.border_radius {
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-ms-transition: 0.5s;
-o-transition: 0.5s;
transition: 0.5s;
}
```
`opacity`
```css
.box {
opacity: 0.5;
/* All modern browsers */
filter: alpha(opacity=50);
/* For IE5~IE9 */
}
```
`absolute position`
```css
.box {
position: absolute;
top: 5px;
right: 20px;
bottom: 10px;
left: 15px;
}
```
이와 같이 Mixin을 작성하여 사용할 수도 있으나 Sass Framework/Library를 사용하는 것은 매우 바람직한 방법이다.
* [Bourbon: Sass Mixins Library](http://bourbon.io/) - 가장 많이 사용하는 framework
* [Compass: CSS Authoring Framework](http://compass-style.org/)
## 5. Function
Function은 mixin과 유사하지만, 리턴값에 차이가 있다. 함수보다는 mixin이 조금 더 유용하다.
* mixin : style markup을 리턴
* function : @return directive를 통하여 값을 리턴
## 6. Comment
CSS는 멀티 라인 주석(`/**/`)만 지원하지만, Sass는 `/**/`와 `//` 모두 사용 가능하다. 다만 한 한 줄 주석은 컴파일 후 CSS에서 사라지며, 멀티 라인 주석은 CSS에 나타난다.
---
#### [Reference](http://poiemaweb.com/sass-css-extention#reference) | 14.127119 | 157 | 0.606599 | kor_Hang | 0.999959 |
2413aedf43e15d9a736ddb729719f4f88ff96446 | 77 | md | Markdown | _indicators/fr/2-2-1.md | brockfanning/sdg-indicators-1 | 4a2dc0b87a5e3d0f8d7f2d6ccfbbee4b52b4a7a9 | [
"MIT"
] | 13 | 2019-02-14T19:34:29.000Z | 2022-01-01T11:20:10.000Z | _indicators/fr/2-2-1.md | brockfanning/sdg-indicators-1 | 4a2dc0b87a5e3d0f8d7f2d6ccfbbee4b52b4a7a9 | [
"MIT"
] | 29 | 2018-09-25T01:00:01.000Z | 2020-10-16T20:17:01.000Z | _indicators/fr/2-2-1.md | brockfanning/sdg-indicators-1 | 4a2dc0b87a5e3d0f8d7f2d6ccfbbee4b52b4a7a9 | [
"MIT"
] | 8 | 2018-08-18T01:13:43.000Z | 2021-04-02T01:20:55.000Z | ---
indicator: 2.2.1
language: fr
layout: indicator
permalink: /fr/2-2-1/
--- | 12.833333 | 21 | 0.662338 | eng_Latn | 0.240219 |
2414031e9bd2ebfd8373bd9d0faba3d551f8d175 | 2,537 | md | Markdown | about/index.md | mschuessler/mschuessler.github.io | ac33ff935096b2ca368874be0b61fe63df3693f1 | [
"MIT"
] | 1 | 2020-08-06T21:34:55.000Z | 2020-08-06T21:34:55.000Z | about/index.md | mschuessler/mschuessler.github.io | ac33ff935096b2ca368874be0b61fe63df3693f1 | [
"MIT"
] | null | null | null | about/index.md | mschuessler/mschuessler.github.io | ac33ff935096b2ca368874be0b61fe63df3693f1 | [
"MIT"
] | null | null | null | ---
layout: page
title: About myself
tags: [about, Jekyll, theme, responsive]
modified: 2014-08-08T20:53:07.573882-04:00
comments: true
image:
feature: sample-image-1.jpg
credit: Kuechly, HU et al
creditlink: http://www.fu-berlin.de/presse/informationen/fup/2012/fup_12_252/
---
Hi, I am Martin - a PhD student at TU Berlin in the field of **[Human Computer Interaction](http://en.wikipedia.org/wiki/Human–computer_interaction.)**.
As a member of the [Weizenbaum Institute’s](https://vernetzung-und-gesellschaft.de/english/) interdisciplinary research group "Criticality of AI",
I focus on **[Explainable Artificial Intelligence (XAI)](https://en.wikipedia.org/wiki/Explainable_Artificial_Intelligence)**.
In my PhD research projects, I am identifying quality criteria for interpretable systems. In empirical studies, I assess the practical value such systems provide for end-users and stakeholders. I plan to situate results in a framework that is intended to inform policymakers which data-driven systems can be made more transparent. With that, I also want to show which systems remain uninterpretable and should therefore not be used for sensitive decisions and public policy problems.
My previous research was focused around [*spatial input for peephole displays*](/../SpatialTrackingForHandhelds).
During my master’s in computer science I was working for the Mobile and Physical Interaction Group led by [Prof. Jörg Müller](http://joergmueller.info), who also supervised my [master thesis](/pub/MasterThesis.pdf).
I was also part of the [Design Thinking Research Program](https://hpi.de/dtrp/programm/uebersicht.html) upon finishing the Basic Track of [HPI D-School](https://hpi.de/en/school-of-design-thinking/hpi-d-school.html).
I hold a Bachelor’s degree in [Business Informatics](https://farafin.de/studieninteressenten/bachelor/wirtschaftsinformatik) of Otto-von-Guericke University Magdeburg where I wrote my bachelor [thesis](/pub/BachelorThesis.pdf) under the supervision of [Martin Spindler](https://isgwww.cs.uni-magdeburg.de/isg/spindler.html) and [Prof. Raimund Dachselt](http://mt.inf.tu-dresden.de/~dachselt/).
For information about my professional experience see my [**CV**](/pub/schuessler_cv.pdf) or have a look at my [LinkedIn Profile](https://www.linkedin.com/in/schuesslerm) (a preview should be shown below).
<script src="//platform.linkedin.com/in.js" type="text/javascript"></script>
<script type="IN/MemberProfile" data-id="https://www.linkedin.com/in/schuesslerm" data-format="inline"></script>
| 93.962963 | 484 | 0.783997 | eng_Latn | 0.864842 |
24142969fd2b155209f2e4edd4a58a86dc1f9e13 | 134 | md | Markdown | oeis/4/28/2272/67170304/144115192236605440/1329227995784915891062320757838184448/226156424291633194186662080095093570363541849729447858357132587076662853632/A000838.md | hloeffler/oeis-dirs | 1a43b8b9d09cd6304a5d04789c133dcccb57e532 | [
"BSD-2-Clause"
] | null | null | null | oeis/4/28/2272/67170304/144115192236605440/1329227995784915891062320757838184448/226156424291633194186662080095093570363541849729447858357132587076662853632/A000838.md | hloeffler/oeis-dirs | 1a43b8b9d09cd6304a5d04789c133dcccb57e532 | [
"BSD-2-Clause"
] | null | null | null | oeis/4/28/2272/67170304/144115192236605440/1329227995784915891062320757838184448/226156424291633194186662080095093570363541849729447858357132587076662853632/A000838.md | hloeffler/oeis-dirs | 1a43b8b9d09cd6304a5d04789c133dcccb57e532 | [
"BSD-2-Clause"
] | null | null | null | http://oeis.org/A000838
Number of n-input 2-output switching networks under action of complementing group on the inputs and outputs.
| 33.5 | 108 | 0.80597 | eng_Latn | 0.959863 |
2415e761519d1de6c04de8a7190c53f9d40624c6 | 779 | md | Markdown | events/comic-con.md | PotteriesHackspace/potterieshackspace.github.com | e7035fd58de5cddf951673e45fffbe49d770bc8a | [
"MIT"
] | 1 | 2015-10-07T05:15:07.000Z | 2015-10-07T05:15:07.000Z | events/comic-con.md | PotteriesHackspace/potterieshackspace.github.com | e7035fd58de5cddf951673e45fffbe49d770bc8a | [
"MIT"
] | null | null | null | events/comic-con.md | PotteriesHackspace/potterieshackspace.github.com | e7035fd58de5cddf951673e45fffbe49d770bc8a | [
"MIT"
] | 2 | 2017-08-15T05:31:22.000Z | 2017-08-20T14:14:57.000Z | ---
id: 1175
title: Comic Con
date: 2015-04-27T19:36:52+00:00
author: James Wade
layout: page
guid: /?page_id=1175
spacious_page_layout:
- default_layout
image: /wp-content/uploads/2015/04/2015-04-19-11.08.46.jpg
parent: events
---
Stoke Con Trent is a comic and memorabilia exhibition in Stoke on Trent, Staffordshire, With top name celebrates, cosplay and loads of family fun and events.
2014 was the first time an event of this nature has been held in the city.
Dedicated cosplayers from across the country travelled to Staffordshire University to join more than 2000 people at the annual Stoke Con Trent event.
The second Stoke CON Trent took place on Sunday 19th April 2015 at Staffordshire University where we attended with a bike generator and a Raspberry Pi display. | 41 | 159 | 0.790757 | eng_Latn | 0.99744 |
2415f7a42cc1e72fccaf7afa64e450f8bb57420f | 83 | md | Markdown | site/content/post/amazing.md | Dehong1/one-click-hugo-cms | bb6606c1ca92fc0dcda9f740a4465b72e8b07367 | [
"MIT"
] | null | null | null | site/content/post/amazing.md | Dehong1/one-click-hugo-cms | bb6606c1ca92fc0dcda9f740a4465b72e8b07367 | [
"MIT"
] | 7 | 2021-03-09T12:58:46.000Z | 2022-02-26T15:44:37.000Z | site/content/post/amazing.md | Dehong1/one-click-hugo-cms | bb6606c1ca92fc0dcda9f740a4465b72e8b07367 | [
"MIT"
] | null | null | null | ---
title: amazing
date: 2019-11-26T13:26:40.481Z
description: amazing
---
amazing
| 11.857143 | 30 | 0.722892 | eng_Latn | 0.348241 |
24164d9cc605c10a81af27fb376be773b4967a78 | 1,265 | md | Markdown | README.md | gportes24/Reticle | f6147f3e560906fb713a23eb4c788fa99f95b71e | [
"Zlib"
] | 65 | 2015-01-14T08:24:56.000Z | 2022-02-05T18:35:12.000Z | README.md | gportes24/Reticle | f6147f3e560906fb713a23eb4c788fa99f95b71e | [
"Zlib"
] | 2 | 2015-05-31T10:08:45.000Z | 2016-01-09T19:54:52.000Z | README.md | gportes24/Reticle | f6147f3e560906fb713a23eb4c788fa99f95b71e | [
"Zlib"
] | 23 | 2015-01-21T19:01:40.000Z | 2021-09-19T20:41:41.000Z | reticle
=======
Reticle is a C&C network for small devices that want to be friends.
(C) 2012-2013, Malice Afterthought, Inc.
This software is provided 'as-is', without any express or implied warranty, including the warranties of merchantability or fitness for a particular purpose. In no event will the authors be held liable for any damages arising from the use of this software. Use this software at your own risk; unauthorized access to systems by an end-user is not the responsibility of the author.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
This notice may not be removed or altered from any source distribution.
(Some of the text for this license taken from the famous ZLib license, available at http://www.gzip.org/zlib/zlib_license.html .)
| 70.277778 | 378 | 0.799209 | eng_Latn | 0.999947 |
2416dc33df681f5604d345d10cba77c1dab5f4ff | 2,302 | md | Markdown | documentation/assertions/array-like/to-have-an-item-satisfying.md | unexpectedjs/unexpected | e7cec598a0dfd385f836c22227d3e8d334e45d36 | [
"MIT"
] | 386 | 2015-03-03T15:44:40.000Z | 2022-01-04T08:27:44.000Z | documentation/assertions/array-like/to-have-an-item-satisfying.md | alexjeffburke/unexpected | ec072c713548157d213cc7078853cbea1c9b2d71 | [
"MIT"
] | 546 | 2015-03-02T19:11:47.000Z | 2022-01-03T12:08:04.000Z | documentation/assertions/array-like/to-have-an-item-satisfying.md | alexjeffburke/unexpected | ec072c713548157d213cc7078853cbea1c9b2d71 | [
"MIT"
] | 39 | 2015-04-26T19:36:14.000Z | 2021-09-12T19:24:16.000Z | Asserts an array (or array-like object) contains at least one item that satisfies
a given value, function or other assertion.
Note that this assertion fails if passed an empty array as the subject.
```js
expect([{ a: 1 }, { b: 2 }], 'to have an item satisfying', { a: 1 });
expect([0, 1, 2, 3, 4], 'to have an item satisfying', 'to be a number');
expect(
[0, 1, 2, 3, 4],
'to have an item satisfying',
expect.it(function (item) {
expect(item, 'to be a number');
})
);
expect(
[[1], ['foo']],
'to have an item satisfying',
'to have an item satisfying',
'to be a number'
);
expect(
[-1, -2, 3],
'to have an item satisfying',
expect.it('to be a number').and('to be positive')
);
```
The expected value will be matched against the value with
[to satisfy](../../any/to-satisfy/) semantics, so you can pass any of the
values supported by `to satisfy`. To use strict `to satisfy` semantics, you can
use the "exhaustively" flag:
```js
expect([{ a: 1, b: 2 }], 'to have a value satisfying', { a: 1 });
```
```js
expect([{ a: 1, b: 2 }], 'to have a value exhaustively satisfying', { a: 1 });
```
```output
expected [ { a: 1, b: 2 } ] to have a value exhaustively satisfying { a: 1 }
```
In case of a failing expectation you get the following output:
```js
expect(
[
['0', '1'],
['5', '6'],
['7', '8'],
],
'to have an item satisfying',
'to have an item satisfying',
'to be a number'
);
```
```output
expected [ [ '0', '1' ], [ '5', '6' ], [ '7', '8' ] ]
to have an item satisfying to have an item satisfying to be a number
```
Here a another example:
```js
expect(
[0, -1, -2, -3, -4],
'to have an item satisfying',
expect.it('to be a number').and('to be positive')
);
```
```output
expected [ 0, -1, -2, -3, -4 ] to have an item satisfying
expect.it('to be a number')
.and('to be positive')
```
This assertion can be negated using the `not` flag:
```js
expect(
[0, -1, -2, -3, -4],
'not to have an item satisfying',
expect.it('to be a number').and('to be negative')
);
```
```output
expected [ 0, -1, -2, -3, -4 ] not to have an item satisfying
expect.it('to be a number')
.and('to be negative')
[
0,
-1, // should be removed
-2, // should be removed
-3, // should be removed
-4 // should be removed
]
```
| 21.119266 | 81 | 0.597307 | eng_Latn | 0.986539 |
2416fd6e10afa779836c3b5e930f7433cf7973d3 | 692 | md | Markdown | _portfolio/portfolio-2.md | zijingzhang1997/zijingzhang1997.github.io | 2e0c82ba0ef9a1125b5bcf3897a343036e961d29 | [
"MIT"
] | null | null | null | _portfolio/portfolio-2.md | zijingzhang1997/zijingzhang1997.github.io | 2e0c82ba0ef9a1125b5bcf3897a343036e961d29 | [
"MIT"
] | null | null | null | _portfolio/portfolio-2.md | zijingzhang1997/zijingzhang1997.github.io | 2e0c82ba0ef9a1125b5bcf3897a343036e961d29 | [
"MIT"
] | null | null | null | ---
title: "Objective scoring of dyspnea with unrestrictive wearable RF sensors "
excerpt: "Cornell University, Fall 2020-present <br/><img src='/images/research2.png'>"
collection: portfolio
---
<img src='/images/research1b.png'>
• Designed and implemented a testing protocol to perform human study (N=32) on simulated dyspnea (shortness of breath) by the exertion and Borg scales.
• Implemented algorithms to identify various features embedded in breathing waveforms to predict the dyspnea score in comparison with the self-report scores.
• Designed an automatic system using machine learning algorithms of decision tree and random forest to evaluate the objective dyspnea score.
| 53.230769 | 157 | 0.787572 | eng_Latn | 0.98926 |
2417f455103f561156ac517676c382beced1f990 | 4,541 | md | Markdown | _posts/2015-10-17-[OpenGL] Basic Lighting.md | byfine/byfine.github.io | c4d8460f0a9cd1288b1d237dad836c4c2d6f92fc | [
"MIT"
] | null | null | null | _posts/2015-10-17-[OpenGL] Basic Lighting.md | byfine/byfine.github.io | c4d8460f0a9cd1288b1d237dad836c4c2d6f92fc | [
"MIT"
] | null | null | null | _posts/2015-10-17-[OpenGL] Basic Lighting.md | byfine/byfine.github.io | c4d8460f0a9cd1288b1d237dad836c4c2d6f92fc | [
"MIT"
] | null | null | null | ---
layout: post
title: OpenGL 光照基础
description: "OpenGL光照基础理论"
modified: 2015-10-17
tags: [OpenGL]
---
## Phong光照模型
现实世界的光照是非常复杂的,我们目前是没有能力完全模拟的。因此OpenGL的光照仅使用了简化的模型并基于对现实的估计来进行模拟。这些光照模型都是基于我们对光的物理特性的理解。
其中一个模型被称为冯氏光照模型(Phong Lighting Model)。冯氏光照模型的主要结构由3个元素组成:环境(Ambient)、漫反射(Diffuse)和镜面(Specular)光照。这些光照元素看起来像下面这样:

- **环境光照(Ambient)**:即使在黑暗的情况下,世界上也仍然有一些光亮(月亮、一个来自远处的光),所以物体永远不会是完全黑暗的。我们使用环境光照来模拟这种情况,也就是无论如何永远都给物体一些颜色。
- **漫反射光照(Diffuse)**:模拟一个发光物对物体的方向性影响(Directional Impact)。它是冯氏光照模型最显著的组成部分。面向光源的一面比其他面会更亮。
- **镜面光照(Specular)**:模拟有光泽物体上面出现的亮点。镜面光照的颜色,相比于物体的颜色更倾向于光的颜色。
## 环境光照(Ambient Lighting)
通常我们周围有很多光源,即使它们有些不是那么明显。光有一个特性是,可以向很多方向发散和反射(Reflect)到其他表面,一个物体的光照可能受到一个非直射光的影响。考虑到这种情况的算法叫做**全局照明(Global Illumination)**算法,但是这种算法既开销高昂又极其复杂。
我们会使用一种简化的全局照明模型,叫做环境光照。我们使用一个很小的常量光颜色添加进物体片段的最终颜色里,使其就算没有直射光也始终存在着一些发散的光。
void main()
{
float ambientStrength = 0.1f;
vec3 ambient = ambientStrength * lightColor;
vec3 result = ambient * objectColor;
color = vec4(result, 1.0f);
}
## 漫反射光照(Diffuse Lighting)
环境光本身不提供最明显的光照效果,但是漫反射光照会对物体产生显著的视觉影响。漫反射光使物体上与光线排布越近的片段越能从光源处获得更多的亮度。为了更好的理解漫反射光照,请看下图:

左上方有一个光源,它所发出的光线落在物体的一个片段上。我们需要测量这个光线与它所接触片段之间的角度。如果光线垂直于物体表面,这束光对物体的影响会最大化(更亮)。为了测量光线和片段的角度,我们使用法向量(Normal Vector)。
我们知道两个单位向量的角度越小,它们点乘的结果越倾向于1。当两个向量的角度是90度的时候,点乘会变为0。这同样适用于θ,θ越大,光对片段颜色的影响越小。
点乘返回一个标量,我们可以用它计算光线对片段颜色的影响,基于不同片段所朝向光源的方向的不同,这些片段被照亮的情况也不同。
- 计算法向量(Normal Vector)
法向量是垂直于顶点表面的向量。由于顶点自身并没有表面,我们利用顶点周围的顶点计算出这个顶点的表面。可以使用叉乘来计算所有的顶点法线,但是由于3D立方体不是一个复杂的形状,所以我们可以简单的把法线数据手动添加到顶点数据中。
- 计算光线向量
光线向量只需要使用光源位置与顶点位置相减即可。光源位置是固定的。顶点位置在顶点着色器中将顶点坐标与模型坐标相乘转换到世界坐标,再传递到fragment shader使用即可。
- 计算漫反射光
已经计算出物体法向量norm,光线向量lightDir,则
float diff = max(dot(norm, lightDir), 0.0);
vec3 diffuse = diff * lightColor;
先计算散射因子diff,因为若两个向量夹角大于90度,点乘会变成负数,负的颜色是没有实际定义的,所以为了避免,使用max来确保大于0。
最终颜色为
vec3 result = (ambient + diffuse) * objectColor;
color = vec4(result, 1.0f);
- 正规矩阵:
我们都是在世界空间坐标中进行计算的,所以,法向量也要转换为世界空间坐标,但是这不是简单地把它乘以一个模型矩阵就能搞定的。
首先,法向量只是一个方向向量,不能表达空间中的特定位置。同时,法向量没有齐次坐标(w分量)。这意味着,平移不应该影响到法向量。因此,如果我们打算把法向量乘以一个模型矩阵,我们就要把模型矩阵左上角的3×3矩阵从模型矩阵中移除(设为0),它是模型矩阵的平移部分。也可以把法向量的w分量设置为0,再乘以4×4矩阵,同样可以移除平移。对于法向量,我们只能对它应用缩放(Scale)和旋转(Rotation)变换。
其次,如果模型矩阵执行了不等比缩放,法向量就不再垂直于表面了。因此,我们不能用这样的模型矩阵去乘以法向量。下面的图展示了应用了不等比缩放的矩阵对法向量的影响:

当我们提交一个不等比缩放,法向量就不会再垂直于它们的表面了,这样光照会被扭曲。
(注意:等比缩放不会破坏法线,因为法线的方向没被改变,而法线的长度很容易通过标准化进行修复)。
修复这个行为的诀窍是使用另一个为法向量专门定制的模型矩阵。这个矩阵称之为**正规矩阵(Normal Matrix)**。
正规矩阵被定义为“模型矩阵左上角的逆矩阵的转置矩阵”。注意,定义正规矩阵的大多资源就像应用到模型观察矩阵(Model-view Matrix)上的操作一样,但是由于我们只在世界空间工作(而不是在观察空间),我们只使用模型矩阵。
在顶点着色器中,我们可以使用inverse和transpose函数自己生成正规矩阵,inverse和transpose函数对所有类型矩阵都有效。注意,我们也要把这个被处理过的矩阵强制转换为3×3矩阵,这是为了保证它失去了平移属性,之后它才能乘以法向量。
Normal = mat3(transpose(inverse(model))) * normal;
注意:
对于着色器来说,逆矩阵是一种开销比较大的操作,因此,在着色器应该尽量避免逆操作,因为它们必须为你场景中的每个顶点进行这样的处理。在绘制之前,最好用CPU计算出正规矩阵,然后通过uniform把值传递给着色器(和模型矩阵一样)。
## 镜面光照(Specular Lighting)
和环境光照一样,镜面光照同样依据光的方向向量和物体的法向量,但是不同的是它会依据观察方向。镜面光照根据光的反射特性。如果我们想象物体表面像一面镜子一样,那么,无论我们从哪里去看那个表面所反射的光,镜面光照都会达到最大化。你可以从下面的图片看到效果:

我们计算反射向量和视线方向的角度,如果之间的角度越小,那么镜面光的作用就会越大。它的作用效果就是,当我们去看光被物体所反射的那个方向的时候,我们会看到一个高光。
观察向量可以使用观察者世界空间位置(Viewer's World Space Position)和片段的位置来计算。之后,我们计算镜面光亮度,用它乘以光的颜色,在用它加上作为之前计算的光照颜色。
也可以在观察空间(View Space)进行光照计算,这样观察者的坐标永远是(0, 0, 0)。
先定义一个高光强度:
float specularStrength = 0.5f;
然后计算视线方向和沿法线轴的反射向量:
vec3 viewDir = normalize(viewPos - FragPos);
vec3 reflectDir = reflect(-lightDir, norm);
reflect函数要求的第一个是从光源指向片段位置的向量,第二个参数要求是一个法向量。
计算镜面亮度:
float spec = pow(max(dot(viewDir, reflectDir), 0.0), 32);
vec3 specular = specularStrength * spec * lightColor;
我们先计算视线方向与反射方向的点乘(确保它不是负值),然后得到它的32次幂。这个32是高光的发光值(Shininess)。一个物体的发光值越高,反射光的能力越强,散射得越少,高光点越小。在下面的图片里,你会看到不同发光值对视觉(效果)的影响:

最后一件事情是把它添加到环境光颜色和散射光颜色里,然后再乘以物体颜色:
vec3 result = (ambient + diffuse + specular) * objectColor;
color = vec4(result, 1.0f);
## Gouraud着色
早期的光照着色器,开发者在顶点着色器中实现冯氏光照。这样的优势是,相比片段来说,顶点要少得多,因此会更高效。然而,顶点着色器中的颜色值是只是顶点的颜色值,片段的颜色值是它与周围的颜色值的插值。结果就是这种光照看起来不会非常真实,除非使用了大量顶点。
在顶点着色器中实现的冯氏光照模型叫做Gouraud着色,而不是冯氏着色。由于插值,这种光照连起来有点逊色。冯氏着色能产生更平滑的光照效果。
---
> 参考:
[LearnOpenGL-CN 光照基础](http://learnopengl-cn.readthedocs.org/zh/latest/02%20Lighting/02%20Basic%20Lighting/) | 34.401515 | 204 | 0.79586 | yue_Hant | 0.541912 |
2417f849ce779adf4cc608f1f3564b62a62cc1a4 | 9,135 | md | Markdown | memdocs/configmgr/core/migration/configuring-source-hierarchies-and-source-sites-for-migration.md | yalansu/memdocs.tr-tr | 9fd829269777bb9c0559e1813f8114a114d7e6b4 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | memdocs/configmgr/core/migration/configuring-source-hierarchies-and-source-sites-for-migration.md | yalansu/memdocs.tr-tr | 9fd829269777bb9c0559e1813f8114a114d7e6b4 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | memdocs/configmgr/core/migration/configuring-source-hierarchies-and-source-sites-for-migration.md | yalansu/memdocs.tr-tr | 9fd829269777bb9c0559e1813f8114a114d7e6b4 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Geçiş kaynağı hiyerarşileri
titleSuffix: Configuration Manager
description: Configuration Manager geçerli dal ortamınıza veri geçirebilmeniz için bir kaynak hiyerarşisini ve kaynak siteleri yapılandırın.
ms.date: 12/29/2016
ms.prod: configuration-manager
ms.technology: configmgr-core
ms.topic: conceptual
ms.assetid: ccce7cb5-e18f-4337-8adf-2018edca3c00
author: aczechowski
ms.author: aaroncz
manager: dougeby
ms.openlocfilehash: c2e8e2ba57867b3c2a0929cfd670629296fdb9c9
ms.sourcegitcommit: bbf820c35414bf2cba356f30fe047c1a34c5384d
ms.translationtype: MT
ms.contentlocale: tr-TR
ms.lasthandoff: 04/21/2020
ms.locfileid: "81718927"
---
# <a name="configure-source-hierarchies-and-source-sites-for-migration-to-configuration-manager-current-branch"></a>Güncel dala Configuration Manager geçiş için kaynak hiyerarşileri ve kaynak siteleri yapılandırma
*Uygulama hedefi: Configuration Manager (geçerli dal)*
Configuration Manager geçerli dal ortamınıza veri geçişini etkinleştirmek için, desteklenen bir Configuration Manager kaynak hiyerarşisi ve bu hiyerarşide geçirmek istediğiniz verileri içeren bir veya daha fazla kaynak sitesi yapılandırmanız gerekir.
> [!NOTE]
> Geçiş işlemleri hedef hiyerarşide en üst düzey sitede çalıştırılır. Bir birincil alt siteye bağlı bir Configuration Manager konsolu kullandığınızda geçişi yapılandırırsanız, yapılandırmanın merkezi yönetim sitesine çoğaltılması için zaman vermeniz, başlatılması ve sonra durumu bağlı olduğunuz birincil siteye geri çoğaltılması gerekir.
Kaynak hiyerarşisini belirtmek ve ek kaynak siteler eklemek için aşağıdaki bölümlerdeki bilgileri ve yordamları kullanın. Bu yordamları tamamladıktan sonra, geçiş işleri oluşturabilir ve verileri kaynak hiyerarşisinden hedef hiyerarşiye geçirmeye başlayabilirsiniz.
- [Geçiş için bir kaynak hiyerarşisi belirtin](#BKBM_ConfigSrcHierarchy)
- [Kaynak hiyerarşisinin ek kaynak sitelerini tanımla](#BKBM_ConfigSrcSites)
## <a name="specify-a-source-hierarchy-for-migration"></a><a name="BKBM_ConfigSrcHierarchy"></a>Geçiş için bir kaynak hiyerarşisi belirtin
Hedef hiyerarşinize veri geçirmek için, geçirmek istediğiniz verileri içeren desteklenen bir kaynak hiyerarşisi belirtmeniz gerekir. Varsayılan olarak, bu hiyerarşinin en üst düzey sitesi, kaynak hiyerarşisinin kaynak sitesi haline gelir. Configuration Manager 2007 hiyerarşisinden geçiş yaparsanız, ilk kaynak sitesinden veriler toplandıktan sonra geçiş için ek kaynak siteler ayarlayabilirsiniz. Bir System Center 2012 Configuration Manager veya Configuration Manager geçerli dal hiyerarşisinden geçiş yaparsanız, kaynak hiyerarşisinden veri geçirmek için ek kaynak siteler ayarlamanız gerekmez. Bunun nedeni, Configuration Manager sürümlerinin kaynak hiyerarşinin en üst düzey sitesinde bulunan paylaşılan bir veritabanını kullanması. Paylaşılan veritabanı, geçirebileceğiniz tüm bilgileri içerir.
Geçiş için bir kaynak hiyerarşisi belirtmek ve bir Configuration Manager 2007 hiyerarşisindeki ek kaynak siteleri belirlemek için aşağıdaki yordamları kullanın.
Bu yordamı, hedef hiyerarşisine bağlı bir Configuration Manager konsoluyla çalıştırın:
### <a name="to-configure-a-source-hierarchy"></a>Kaynak hiyerarşisini yapılandırmak için
1. Configuration Manager konsolunda, **Yönetim**’e tıklayın.
2. **Yönetim** çalışma alanında, **Geçiş**'i genişletin ve **Kaynak Hiyerarşisi**'ni tıklatın.
3. **Giriş** sekmesinde, **geçiş** grubunda, **kaynak hiyerarşisini belirt**' e tıklayın.
4. Kaynak hiyerarşisini **belirtin** iletişim kutusunda, **kaynak hiyerarşisi**için **Yeni kaynak hiyerarşisi**' ni seçin.
5. **Üst düzey Configuration Manager site sunucusu**için, desteklenen bir kaynak hiyerarşinin en üst düzey sitesinin adını veya IP adresini girin.
6. Aşağıdaki izinlere sahip kaynak site erişim hesaplarını belirtin:
- Kaynak site hesabı: kaynak hiyerarşisindeki belirtilen en üst düzey site için SMS sağlayıcısı için **Oku** izni. Dağıtım noktası Paylaşımı ve yükseltmeleri, kaynak hiyerarşisindeki site için **değiştirme** ve **silme** izinleri gerektirir.
- Kaynak site veritabanı hesabı: kaynak hiyerarşisindeki belirtilen en üst düzey site için SQL Server veritabanı için **okuma** ve **yürütme** izni.
Bilgisayar hesabının kullanımını belirtirseniz Configuration Manager, hedef hiyerarşinin en üst düzey sitesinin bilgisayar hesabını kullanır. Bu seçenek için, bu hesabın, kaynak hiyerarşinin en üst düzey sitesinin bulunduğu etki alanındaki **Dağıtılmış com kullanıcıları** güvenlik grubunun bir üyesi olduğundan emin olun.
7. Kaynak ve hedef hiyerarşileri arasında dağıtım noktaları paylaşmak için **kaynak site sunucusu için dağıtım noktası paylaşımını etkinleştir** onay kutusunu seçin. Dağıtım noktası paylaşımını Şu anda etkinleştirmezseniz, veri toplama işlemi tamamlandıktan sonra kaynak sitenin kimlik bilgilerini düzenleyerek bunu yapabilirsiniz.
8. Yapılandırmayı kaydetmek için **Tamam** ' ı tıklatın. Bu, **veri toplama durumu** iletişim kutusunu açar ve veri toplama otomatik olarak başlar.
9. Veri toplama tamamlandığında, **veri toplama durumu** iletişim kutusunu kapatmak ve yapılandırmayı gerçekleştirmek için **Kapat** ' a tıklayın.
## <a name="identify-additional-source-sites-of-the-source-hierarchy"></a><a name="BKBM_ConfigSrcSites"></a>Kaynak hiyerarşisinin ek kaynak sitelerini tanımla
Desteklenen bir kaynak hiyerarşisini yapılandırdığınızda, bu hiyerarşinin en üst düzey sitesi otomatik olarak bir kaynak site olarak yapılandırılır ve veriler bu siteden otomatik olarak toplanır. Gerçekleştirebileceğiniz sonraki eylem, kaynak hiyerarşisi tarafından çalıştırılan Configuration Manager sürümüne bağlıdır:
- Configuration Manager 2007 kaynak hiyerarşisi için, ilk kaynak site için veri toplama işlemi bittikten sonra, bu ilk kaynak siteden geçişe başlayabilir veya kaynak hiyerarşisinden ek kaynak siteleri ayarlayabilirsiniz. Yalnızca bir alt siteden kullanılabilir olan verileri geçirmek için, Configuration Manager 2007 hiyerarşisi için ek kaynak siteleri ayarlayın. Örneğin, kaynak hiyerarşisindeki bir alt sitede oluşturulduğunda geçirmek istediğiniz içerikle ilgili verileri toplamak üzere ek kaynak siteler yapılandırabilir ve kaynak hiyerarşisinin en üst sitesinde kullanılamaz.
- Bir System Center 2012 Configuration Manager veya Configuration Manager geçerli dal kaynak hiyerarşisi için ek kaynak siteleri yapılandırmanız gerekmez. Bunun nedeni, Configuration Manager sürümlerinin kaynak hiyerarşinin en üst düzey sitesinde bulunan paylaşılan bir veritabanını kullanması. Paylaşılan veritabanı, kaynak hiyerarşisindeki tüm sitelerden geçirebileceğiniz tüm bilgileri içerir. Bu, geçirebileceğiniz verileri kaynak hiyerarşisinin en üst düzey sitesinden kullanılabilir hale getirir.
Configuration Manager 2007 kaynak hiyerarşisi için ek kaynak siteleri yapılandırdığınızda, kaynak hiyerarşinin en üstündeki ek kaynak siteleri en alta yapılandırmanız gerekir. Alt sitelerini kaynak siteler olarak yapılandırmadan önce bir üst siteyi kaynak site olarak yapılandırmanız gerekir.
Configuration Manager 2007 kaynak hiyerarşisi için ek kaynak siteleri yapılandırmak üzere aşağıdaki yordamı kullanın:
### <a name="to-identify-additional-source-sites-in-the-source-hierarchy"></a>Kaynak hiyerarşisindeki ek kaynak siteleri belirlemek için
1. Configuration Manager konsolunda, **Yönetim**’e tıklayın.
2. **Yönetim** çalışma alanında, **Geçiş**'i genişletin ve **Kaynak Hiyerarşisi**'ni tıklatın.
3. Kaynak site olarak yapılandırmak istediğiniz siteyi seçin.
4. **Giriş** sekmesinde, **Kaynak Site** grubunda, **Yapılandır**'ı tıklatın.
5. Kaynak **site kimlik bilgileri** iletişim kutusunda, kaynak site erişim hesapları için, aşağıdaki izinlere sahip hesapları belirtin:
- Kaynak site hesabı: kaynak hiyerarşisindeki belirtilen en üst düzey site için SMS sağlayıcısı için **Oku** izni. Dağıtım noktası Paylaşımı ve yükseltmeleri, kaynak hiyerarşisindeki site için **değiştirme** ve **silme** izinleri gerektirir.
- Kaynak site veritabanı hesabı: kaynak hiyerarşisindeki belirtilen en üst düzey site için SQL Server veritabanı için **okuma** ve **yürütme** izni.
Bilgisayar hesabının kullanımını belirtirseniz Configuration Manager, hedef hiyerarşinin en üst düzey sitesinin bilgisayar hesabını kullanır. Bu seçenek için, bu hesabın, kaynak hiyerarşinin en üst düzey sitesinin bulunduğu etki alanındaki **Dağıtılmış com kullanıcıları** güvenlik grubunun bir üyesi olduğundan emin olun.
6. Kaynak ve hedef hiyerarşileri arasında dağıtım noktaları paylaşmak için **kaynak site sunucusu için dağıtım noktası paylaşımını etkinleştir** onay kutusunu seçin. Dağıtım noktası paylaşımını Şu anda etkinleştirmezseniz, veri toplama işlemi tamamlandıktan sonra kaynak sitenin kimlik bilgilerini düzenleyerek bunu yapabilirsiniz.
7. Yapılandırmayı kaydetmek için **Tamam** ' ı tıklatın. Bu, **veri toplama durumu** iletişim kutusunu açar ve veri toplama otomatik olarak başlar.
8. Veri toplama tamamlandığında, yapılandırmayı gerçekleştirmek için **Kapat** ' a tıklayın.
| 89.558824 | 803 | 0.81861 | tur_Latn | 0.999941 |
2418de2910ca0e331454f11dd17ece01b167b148 | 632 | md | Markdown | docs/std/std_math.md | ako-lang/ako | 9fca70cb84024d363e4e1523f55ad6a28dc1ec00 | [
"MIT"
] | 1 | 2021-04-26T15:20:54.000Z | 2021-04-26T15:20:54.000Z | docs/std/std_math.md | ako-lang/ako | 9fca70cb84024d363e4e1523f55ad6a28dc1ec00 | [
"MIT"
] | 14 | 2021-04-29T14:27:30.000Z | 2021-05-17T11:58:29.000Z | docs/std/std_math.md | ako-lang/ako | 9fca70cb84024d363e4e1523f55ad6a28dc1ec00 | [
"MIT"
] | null | null | null | # Math
## Functions
* `Math.max(number*)` : Get the maximum value in a list
* `Math.min(number*)` : Get the minimum value in a list
* `Math.abs(number)` : Get the absolute value
* `Math.round(number)` : Rounds a number to the closest integer
* `Math.ceil(number)` : Rounds a number up to the next largest integer
* `Math.floor(number)` : Rounds a number down to the previous largest integer
### Sample
```js
a = Math.PI() // a = 3.141592653589793
a = Math.max(1,2,3,4,5) // a = 5
a = Math.min(1,2,3,4,5) // a = 1
a = Math.abs(-1) // a = 1
a = Math.round(1.6) // a = 2
a = Math.ceil(1.6) // a = 2
a = Math.floor(1.6) // a = 1
```
| 28.727273 | 77 | 0.621835 | eng_Latn | 0.873681 |
2419d7be6972e75a47cb2c845e409f5ffe9e3e38 | 108 | md | Markdown | README.md | xackery/eqitemsniff | c98a189a0c1897f0f5cc17dbddd8fc59a8b6116c | [
"MIT"
] | 2 | 2020-09-22T23:56:16.000Z | 2021-04-21T02:40:38.000Z | README.md | xackery/eqitemsniff | c98a189a0c1897f0f5cc17dbddd8fc59a8b6116c | [
"MIT"
] | null | null | null | README.md | xackery/eqitemsniff | c98a189a0c1897f0f5cc17dbddd8fc59a8b6116c | [
"MIT"
] | 1 | 2020-04-22T15:14:59.000Z | 2020-04-22T15:14:59.000Z | # EQ Item Sniff
Sniffer for Items
[ShowEQ Tags](https://sourceforge.net/p/seq/svn/HEAD/tree/showeq/tags/)
| 18 | 71 | 0.740741 | kor_Hang | 0.535289 |
241b3c77ff7b5c24f334fdf3ec6e43ce856c26d2 | 604 | md | Markdown | readme.md | markelog/cprf | 48ea6f5e1a320e969852428084deb38e2926e79d | [
"MIT"
] | null | null | null | readme.md | markelog/cprf | 48ea6f5e1a320e969852428084deb38e2926e79d | [
"MIT"
] | null | null | null | readme.md | markelog/cprf | 48ea6f5e1a320e969852428084deb38e2926e79d | [
"MIT"
] | null | null | null | # Cprf [](https://travis-ci.org/markelog/cprf) [](https://godoc.org/github.com/markelog/cprf) [](https://goreportcard.com/report/github.com/markelog/cprf)
> `cp -Rf <path>` logic on Go
## Installation
```
$ go get github.com/markelog/cprf
```
## Example
```go
package main
import "github.com/markelog/cprf"
func main() {
// Will copy sexy turtles to current dir
cprf.Copy("/sexy-turtles", ".")
}
```
| 26.26087 | 347 | 0.69702 | kor_Hang | 0.296751 |
241b62886a1253ca68f1ccb74f3d2d19fb13b77c | 2,001 | md | Markdown | readme.md | microstar-db/microstar-chain | 4d64fa7a2bcbbd48e7885762c351d0866fe122d3 | [
"MIT"
] | null | null | null | readme.md | microstar-db/microstar-chain | 4d64fa7a2bcbbd48e7885762c351d0866fe122d3 | [
"MIT"
] | null | null | null | readme.md | microstar-db/microstar-chain | 4d64fa7a2bcbbd48e7885762c351d0866fe122d3 | [
"MIT"
] | null | null | null | #### If this documentation is at all unclear, please do not hestitate to file an issue. Ease of implementation is the primary goal of this project.
# microstar-chain
This module creates chains of messages. Each message (except for the first) contains the hash of the previous message. Each message is also signed. This allows microstar-chain to verify that a given chain is contigous and that it comes from a certain node.
## Conventions
### `settings` object.
Most of the methods in this module, and the rest of microstar take a `settings` object as the first argument. This object contains things that are unlikely to change on a per-call basis. Calling `microstar-chain` with a settings object will return all the same methods, with `settings` pre-filled.
```js
var mChain = require('microstar-chain')
mChain.write(settings, template, callback)
// OR
mChain = mChain(settings)
mChain.write(template, callback)
```
#### `settings` must contain:
- `db` - This is a leveldb.
- `keys` - This is a keypair generated by `microstar-crypto`
- `indexes` - This is an object of `level-librarian` indexes, to be used when writing documents to the db.
### `indexes`
This module requires some indexes to be present in the db. These indexes are available as `mChain.indexes`. Add these indexes to the settings object that you pass to microstar modules.
## API
### `mChain.read(settings, query)`
This method simply aliases `read` from `level-librarian`.
### `mChain.write(settings, callback)`
This method returns a `pull-stream` sink that writes a chain of messages to the db.
#### Messages
- `content` - The content of the message. This can be any JSON.
- `type` - The type of the message. Please follow a convention of prefixing the message type with the name of your module like this: `<name of module>:<type of message>`.
- `chain_id` - An identifier for the chain. Namespace this in the same way as `type`.
### `mChain.copy(settings, initial, callback)`
- `initial` - This is the message thatr
| 45.477273 | 297 | 0.746127 | eng_Latn | 0.998343 |
241bb76882be00d4e169a67b0d9dae2eb7f2ff02 | 32 | md | Markdown | README.md | Mechtecs/fluentd-mongo | 22f30bdc3d2b6839c7b5f32bc89dcfbd7e992bb0 | [
"WTFPL"
] | null | null | null | README.md | Mechtecs/fluentd-mongo | 22f30bdc3d2b6839c7b5f32bc89dcfbd7e992bb0 | [
"WTFPL"
] | null | null | null | README.md | Mechtecs/fluentd-mongo | 22f30bdc3d2b6839c7b5f32bc89dcfbd7e992bb0 | [
"WTFPL"
] | null | null | null | # fluentd-mongo
FluentD MongoDB
| 10.666667 | 15 | 0.8125 | deu_Latn | 0.27687 |
241c4b4a4c10e3e140a24fdfb922e080ca838faa | 2,536 | md | Markdown | src/sdk/java/docs/DeliveryApiApi.md | mstest123/self-managed-osdu_from_Daniel | 10a0c1d25804caa920bf18c6c7c1d8e711c63756 | [
"MIT"
] | 3 | 2021-11-05T20:52:54.000Z | 2021-11-23T23:02:29.000Z | src/sdk/java/docs/DeliveryApiApi.md | mstest123/self-managed-osdu_from_Daniel | 10a0c1d25804caa920bf18c6c7c1d8e711c63756 | [
"MIT"
] | 4 | 2021-11-05T19:57:08.000Z | 2021-12-14T13:59:04.000Z | src/sdk/java/docs/DeliveryApiApi.md | mstest123/self-managed-osdu_from_Daniel | 10a0c1d25804caa920bf18c6c7c1d8e711c63756 | [
"MIT"
] | 36 | 2021-08-31T20:58:25.000Z | 2022-03-30T17:02:57.000Z | # DeliveryApiApi
All URIs are relative to *https://self-managed-osdu.westeurope.cloudapp.azure.com*
Method | HTTP request | Description
------------- | ------------- | -------------
[**returnsDeliveryInstructionsForFileSUsingSRNs**](DeliveryApiApi.md#returnsDeliveryInstructionsForFileSUsingSRNs) | **POST** /api/file/v2/delivery/getFileSignedUrl |
<a name="returnsDeliveryInstructionsForFileSUsingSRNs"></a>
# **returnsDeliveryInstructionsForFileSUsingSRNs**
> FileDeliveryGetFileSignedURLResponse returnsDeliveryInstructionsForFileSUsingSRNs(dataPartitionId, body)
Returns delivery instructions for File(s) using SRNs
### Example
```java
// Import classes:
//import osdu.client.ApiClient;
//import osdu.client.ApiException;
//import osdu.client.Configuration;
//import osdu.client.auth.*;
//import osdu.client.api.DeliveryApiApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Bearer
ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
Bearer.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.setApiKeyPrefix("Token");
DeliveryApiApi apiInstance = new DeliveryApiApi();
String dataPartitionId = "dataPartitionId_example"; // String | Specifies the data partition to use. This should either be the partition name or crm account ID associated with the partition.
FileDeliveryGetFileSignedURLRequest body = new FileDeliveryGetFileSignedURLRequest(); // FileDeliveryGetFileSignedURLRequest |
try {
FileDeliveryGetFileSignedURLResponse result = apiInstance.returnsDeliveryInstructionsForFileSUsingSRNs(dataPartitionId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DeliveryApiApi#returnsDeliveryInstructionsForFileSUsingSRNs");
e.printStackTrace();
}
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**dataPartitionId** | **String**| Specifies the data partition to use. This should either be the partition name or crm account ID associated with the partition. |
**body** | [**FileDeliveryGetFileSignedURLRequest**](FileDeliveryGetFileSignedURLRequest.md)| | [optional]
### Return type
[**FileDeliveryGetFileSignedURLResponse**](FileDeliveryGetFileSignedURLResponse.md)
### Authorization
[Bearer](../README.md#Bearer)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
| 37.850746 | 190 | 0.756309 | kor_Hang | 0.263624 |
241e0e28d52fbb7b084fc9e5114cb8fbda8fb112 | 5,407 | md | Markdown | docs/DEVELOPMENT.md | collectionspace/cspace-converter | 5938729303aa42df7926116ab628cc0f1079c54f | [
"Ruby",
"MIT"
] | 1 | 2020-02-28T00:59:39.000Z | 2020-02-28T00:59:39.000Z | docs/DEVELOPMENT.md | collectionspace/cspace-converter | 5938729303aa42df7926116ab628cc0f1079c54f | [
"Ruby",
"MIT"
] | 169 | 2019-11-04T21:50:14.000Z | 2021-09-27T20:36:05.000Z | docs/DEVELOPMENT.md | collectionspace/cspace-converter | 5938729303aa42df7926116ab628cc0f1079c54f | [
"Ruby",
"MIT"
] | 4 | 2020-03-20T00:07:29.000Z | 2020-06-12T17:42:09.000Z | # Development
## Converters
Converters are (Ruby) modules containing (Ruby) classes and
profiles (config) for mapping data in one or more CSV documents to
CollectionSpace XML records.
```ruby
CollectionSpace::Converter::$MODULE::$CLASS
CollectionSpace::Converter::Core::Collectionobject
```
Module and class names are arbitrary, not related to anything
specifically within CollectionSpace, although in practice there
is a close correlation.
Profiles are defined in a `config.yml` file inside the module
directory:
```bash
lib/collectionspace/converter/core/config.yml
```
More details are provided below.
### How to create a converter
Converters are defined in `lib/collectionspace/converter/`.
This directory containers a `default/record.rb` file that is the
foundation for converter profiles to build upon. If a procedure
or authority is not represented in `record.rb` it cannot be mapped,
and most likely should be added (pull requests are welcome!).
Subfolders in this directory are converter modules. Each
converter requires:
- a `_config.rb` file containing some boilerplate setup
- a `config.yml` file that defines the converter mapping behavior
If you're creating a converter for `mymuseum` you could create:
- `lib/collectionspace/converter/mymuseum/_config.rb`
- `lib/collectionspace/converter/mymuseum/config.yml`
## Converter configuration
Begin by copying the `core/_config.rb` but replace "Default"
with "MyMuseum" (following ruby naming conventions).
```ruby
module CollectionSpace
module Converter
module MyMuseum
include Default
end
end
end
```
Next, copy `core/config.yml` and update it as development progresses.
The sections are:
### Registered Authorities
The list of authority record types this converter generates.
### Registered Procedures
This is simply a list of Procedures that this converter can generate
XML records for. It's a handbrake against inadevertently generating
unwanted record types.
### Registered Profiles
This is where the bulk of configuration happens. A converter can
implement one or more profiles. You can name these arbitrarily
according to what makes sense for your data. If all of your data
was in a single spreadsheet if may look like:
```yml
registered_profiles:
mymuseum:
# ...
```
This would indicate a single converter "profile" being used to handle
a **single** CSV document. There should only be one profile per CSV file,
but one profile can handle multiple record types per CSV.
If we have multiple CSV files to work with we'll need multiple
"profiles":
```yml
registered_profiles:
cataloging:
# ...
media:
# ...
```
In this case there are distinct CSV files for different procedures
so we need a profile to manage each data file.
Each "profile" needs to define the type of records it generates from
the CSV data:
#### Procedures
Each Procedure to be generated using this profile needs an entry
defining:
- identifier: the field in the source data used for identifier_field
- title: the field in the source data used for the local title
Note: the CSV processor downcases all characters and replaces spaces
with "_". So a field like "ID Number" should be referred to
as "id_number" within the application.
Example:
```yml
acquisition:
type: Procedures
enabled: true # make availabe in the ui
required_headers:
- acquisitionreferencenumber
config:
Acquisition:
identifier: acquisitionreferencenumber
title: acquisitionreferencenumber
cataloging:
type: Procedures
enabled: false # disabled in the ui
required_headers:
- objectnumber
config:
CollectionObject:
identifier: objectnumber
title: objectnumber
```
The Procedures configuration can include an "Authorities" key. This refers
to fields within the csv that refer to, and can generate, authority records
directly related to the procedures:
```yml
acquisition:
type: Procedures
config:
# ...
Authorities:
- name_field: acquisitionauthorizer
authority_type: Person
authority_subtype: person
- name_field: ownerPerson
authority_type: Person
authority_subtype: person
- name_field: ownerOrganization
authority_type: Organization
authority_subtype: organization
cataloging:
type: Procedures
config:
# ...
Authorities:
- name_field: contentperson
authority_type: Person
authority_subtype: person
- name_field: inscriber
authority_type: Person
authority_subtype: person
- name_field: productionperson
authority_type: Person
authority_subtype: person
- name_field: productionorg
authority_type: Organization
authority_subtype: organization
```
#### Authorities
Each Authority to be generated using this profile needs an entry
defining:
- name_field: field used to generate the authority name / short_id
- authority_type: the primary authority type i.e. Concept, Person etc.
- authority_subtype: the authority subtype i.e. person, ulan_pa, person_shared
Example:
```yml
person:
type: Authorities
config:
name_field: termdisplayname
authority_type: Person
authority_subtype: person
```
## Running a converter
```bash
./import.sh data/mymuseum/mymuseum_data.csv mymuseum1 mymuseum
```
The arguments correspond to:
- csv name
- batch name (arbitrary)
- converter profile
---
| 25.148837 | 78 | 0.749954 | eng_Latn | 0.992114 |
241e25f2a503703b88e8b4fe95228ce3d21b1d6e | 1,651 | md | Markdown | README.md | mkeller3/mapping_portal_api | 2a7112e0ddea7c4b662f0ec1a8d7b1ee4627cdd6 | [
"Apache-2.0"
] | 2 | 2021-08-09T12:03:31.000Z | 2021-09-11T08:23:22.000Z | README.md | mkeller3/open_source_mapping_portal | 2a7112e0ddea7c4b662f0ec1a8d7b1ee4627cdd6 | [
"Apache-2.0"
] | null | null | null | README.md | mkeller3/open_source_mapping_portal | 2a7112e0ddea7c4b662f0ec1a8d7b1ee4627cdd6 | [
"Apache-2.0"
] | null | null | null | # Open Source Mapping Portal
Open Source Mapping Portal is a mapping portal that allow users to create maps, apps, datasets, and more to share and collaborate with others insideof the Portal.
## Front End
The front end of the application is in the ui folder.
It is currently deployed at [this link](https://mapping-portal-mkeller3.cloud.okteto.net/).
#### Vue JS

The front end is written in the [Vue JS](https://github.com/vuejs/vue) framework.
#### MapLibre JS

It also uses [MapLibre JS](https://github.com/maplibre/maplibre-gl-js) to render any mapping data.
## Back End
The backend of the application is in the api folder.
API docs in [ReDoc](https://api-mkeller3.cloud.okteto.net/redoc/) and [Swagger](https://api-mkeller3.cloud.okteto.net/swagger/).
#### Django

The backend is written using [Django](https://github.com/django/django)
#### Django Rest Framework

It uses the [Django Rest Framework](https://github.com/encode/django-rest-framework) to easily build out all the api endpoints.
## Database
#### PostgreSQL

The database of the application uses [PostgreSQL](https://www.postgresql.org/).
#### PostGIS

It also uses the [PostGIS](https://postgis.net/) extenstion for geocapabilities.
| 30.574074 | 164 | 0.740763 | eng_Latn | 0.509145 |
241e781652e7254397747d7c159bfa0eb862a144 | 33 | md | Markdown | README.md | silastj/Projeto-5 | ed991555e77c4cf53c347cad464e06be49b7ca5e | [
"MIT"
] | null | null | null | README.md | silastj/Projeto-5 | ed991555e77c4cf53c347cad464e06be49b7ca5e | [
"MIT"
] | null | null | null | README.md | silastj/Projeto-5 | ed991555e77c4cf53c347cad464e06be49b7ca5e | [
"MIT"
] | null | null | null | # Projeto-5
Jogo estourar balões
| 11 | 20 | 0.787879 | por_Latn | 0.999978 |
241edc2805e7dc906853be8545e9bd326adb18dc | 353 | md | Markdown | catalog/seishun-wo-butto-base/en-US_seishun-wo-butto-base.md | htron-dev/baka-db | cb6e907a5c53113275da271631698cd3b35c9589 | [
"MIT"
] | 3 | 2021-08-12T20:02:29.000Z | 2021-09-05T05:03:32.000Z | catalog/seishun-wo-butto-base/en-US_seishun-wo-butto-base.md | zzhenryquezz/baka-db | da8f54a87191a53a7fca54b0775b3c00f99d2531 | [
"MIT"
] | 8 | 2021-07-20T00:44:48.000Z | 2021-09-22T18:44:04.000Z | catalog/seishun-wo-butto-base/en-US_seishun-wo-butto-base.md | zzhenryquezz/baka-db | da8f54a87191a53a7fca54b0775b3c00f99d2531 | [
"MIT"
] | 2 | 2021-07-19T01:38:25.000Z | 2021-07-29T08:10:29.000Z | # Seishun wo Butto Base

- **type**: manga
- **volumes**: 1
- **original-name**: 青春をぶっとばせ
## Tags
- comedy
- romance
- shoujo
## Authors
- Ueno
- Ai (Story & Art)
## Links
- [My Anime list](https://myanimelist.net/manga/20834/Seishun_wo_Butto_Base)
| 15.347826 | 78 | 0.637394 | kor_Hang | 0.097049 |
2420addfc01559630ac160ef03e34d55bd07b642 | 79 | md | Markdown | _parties/2019-helswingi.md | karrirasinmaki/feeling-responsive | cf3fd73655ea100b9a2ee8357fe5a90afabaf463 | [
"MIT"
] | null | null | null | _parties/2019-helswingi.md | karrirasinmaki/feeling-responsive | cf3fd73655ea100b9a2ee8357fe5a90afabaf463 | [
"MIT"
] | null | null | null | _parties/2019-helswingi.md | karrirasinmaki/feeling-responsive | cf3fd73655ea100b9a2ee8357fe5a90afabaf463 | [
"MIT"
] | null | null | null | ---
layout: redirect
sitemap: false
redirect_to: "/events/2019-helswingi"
---
| 11.285714 | 37 | 0.708861 | eng_Latn | 0.257195 |
2421c09ef3db4dff46d8706faf411daaf9ec8c76 | 409 | md | Markdown | README.md | ttinies/tkGraphics | 997f9680b48b117df50eea05a9af580f1d2c54ce | [
"Apache-2.0"
] | 1 | 2019-04-30T23:48:59.000Z | 2019-04-30T23:48:59.000Z | README.md | ttinies/tkGraphics | 997f9680b48b117df50eea05a9af580f1d2c54ce | [
"Apache-2.0"
] | null | null | null | README.md | ttinies/tkGraphics | 997f9680b48b117df50eea05a9af580f1d2c54ce | [
"Apache-2.0"
] | null | null | null | [](https://travis-ci.org/ttinies/tkGraphics)
[](https://coveralls.io/github/ttinies/tkGraphics?branch=master)

# tkGraphics
a graphics package for designing GUIs in python
| 58.428571 | 160 | 0.782396 | yue_Hant | 0.546106 |
2422ff131499d3a596360ab1cb614384a4ed67d9 | 3,605 | md | Markdown | README.md | dvelton/hotseat-mediator | 054842370339b95ec55dd028c90061ca69f2d2c9 | [
"MIT"
] | 3 | 2019-03-07T05:32:36.000Z | 2020-10-29T10:49:21.000Z | README.md | dvelton/hotseat-mediator | 054842370339b95ec55dd028c90061ca69f2d2c9 | [
"MIT"
] | 2 | 2019-03-10T16:33:51.000Z | 2021-04-20T16:26:23.000Z | README.md | dvelton/hotseat-mediator | 054842370339b95ec55dd028c90061ca69f2d2c9 | [
"MIT"
] | null | null | null | # hotseat-mediator
This program is designed to resolve legal disputes both simple and complex.
In real-world litigation, countless cases do not settle as fast as they
can or should because of a straightforward rule of negotiation: parties' need
to maintain bargaining position.
For example, a Plaintiff who might be willing to accept $50,000 in full
resolution of his or her case is unlikely to indicate this willingness to a
Defendant, knowing that Defendant will view this expressed $50,000 figure
as a ceiling and simply negotiate down from there. The
realities of negotiation require a Plaintiff aiming for $50,000 to
begin by shooting much higher (for example, $100,000 or $150,000) in hopes of
ending up at the desired amount. This method allows for Plaintiff to maintain
bargaining position. However, such artificially inflated amounts are roadblocks
to settlement. Perhaps Defendant would have been willing to pay $50,000, but
to maintain his or her own bargaining position, Defendant must refrain from
indicating this willingness in response to Plaintiff's inflated demands. Instead,
Defendant must stick to artificially low offers initially (such as $5,000 or $10,000).
In the above manner, parties inevitably end up at an impasse that can take months
or years and countless resources to break through. Even in a situation where
both Plaintiff and Defendant would secretly be willing to settle a case for $50,000,
the case is not settled because the rules of negotiation encourage both Plaintiff
and Defendant to maintain their respective bargaining positions. Plaintiff ends up
viewing Defendant as stubborn and unreasonable (because of Defendant's artificially low offers),
and Defendant views Plaintiff as wildly unrealistic (because of Plaintiff's artificially high demands).
This program creates information asymmetry between the parties and is
a path toward breaking through the impasse. It is effectively a structured
negotiation that allows both Plaintiff and Defendant to indicate willingness
to settle at a certain number but WITHOUT the fear of loss of bargaining position!
It does this as follows: Running through numbers in range(x, y, z),
the program separately (via hotseat) asks Plaintiff and Defendant if each
is willing to settle at a particular number. If both parties indicate "No" then
the program moves to the next number at z interval and asks the same question.
If both parties indicate "Yes" to a number then the program informs the parties that both
are willing to settle at the particular number. However, if one party indicates
"Yes" and the other party indicates "No" then the program moves on to the next
line but DOES NOT DISCLOSE to the "No" party that the other party had said "Yes."
In other words: a party can indicate "Yes" to a particular number without losing
bargaining position because if the other side says "No" to that number, the "No" side will
never know that there was even a "Yes" response to that number at all.
Finally, because of the nature of this program, parties have an incentive to be
honest with themselves. If they truly want to see if there is a number at which
both sides can settle, they will not posture and artificially inflate or lower
their demands/offers out of fear of missing a possible window of "Yes" overlap
and thus settlement.
Thanks for reading this far. After practicing law and running a civil litigation
practice in Silicon Valley for nearly a decade, I started to study some programming
for fun. This is the first product. If you have any tips or improvements,
please feel free to email me.
| 65.545455 | 103 | 0.801387 | eng_Latn | 0.999951 |
24238b4481ac3f18221d983c17a79f104160d079 | 47 | md | Markdown | content/en/docs/post-install.md | mengjiao-liu/klts-website | bc108d8a975d15cf32f869a3543a113ddf832ad0 | [
"Apache-2.0"
] | null | null | null | content/en/docs/post-install.md | mengjiao-liu/klts-website | bc108d8a975d15cf32f869a3543a113ddf832ad0 | [
"Apache-2.0"
] | null | null | null | content/en/docs/post-install.md | mengjiao-liu/klts-website | bc108d8a975d15cf32f869a3543a113ddf832ad0 | [
"Apache-2.0"
] | null | null | null | ---
title: "Post Install"
weight: 40
---
TODO
| 6.714286 | 21 | 0.595745 | kor_Hang | 0.316773 |
24238bc1f01d7d59c8ba0388ddf99cc988912452 | 955 | md | Markdown | b/blake2s-js/readme.md | ScalablyTyped/SlinkyTyped | abb05700fe72d527728a9c735192f4c156bd9be1 | [
"MIT"
] | 14 | 2020-01-09T02:36:33.000Z | 2021-09-05T13:40:52.000Z | b/blake2s-js/readme.md | oyvindberg/SlinkyTyped | abb05700fe72d527728a9c735192f4c156bd9be1 | [
"MIT"
] | 1 | 2021-07-31T20:24:00.000Z | 2021-08-01T07:43:35.000Z | b/blake2s-js/readme.md | oyvindberg/SlinkyTyped | abb05700fe72d527728a9c735192f4c156bd9be1 | [
"MIT"
] | 4 | 2020-03-12T14:08:42.000Z | 2021-08-12T19:08:49.000Z |
# Scala.js typings for blake2s-js
Typings are for version 1.3.0
## Library description:
Pure JavaScript implementation of BLAKE2s cryptographic hash function.
| | |
| ------------------ | :-------------: |
| Full name | blake2s-js |
| Keywords | blake2, blake2s, blake, hash, crypto, cryptographic |
| # releases | 0 |
| # dependents | 6 |
| # downloads | 6567 |
| # stars | 1 |
## Links
- [Homepage](https://github.com/dchest/blake2s-js)
- [Bugs](https://github.com/dchest/blake2s-js/issues)
- [Repository](https://github.com/dchest/blake2s-js)
- [Npm](https://www.npmjs.com/package/blake2s-js)
## Note
This library has been generated from typescript code from first party type definitions.
Provided with :purple_heart: from [ScalablyTyped](https://github.com/oyvindberg/ScalablyTyped)
## Usage
See [the main readme](../../readme.md) for instructions.
| 27.285714 | 94 | 0.616754 | eng_Latn | 0.57358 |
24244dac674a396ade303edb1b861607e82f596b | 300 | md | Markdown | _authors/john-blaxland.md | etikaj-digital/contentfulpages | 119d7f43253b8022c3da7b0b76c984ccf8a6c420 | [
"MIT"
] | null | null | null | _authors/john-blaxland.md | etikaj-digital/contentfulpages | 119d7f43253b8022c3da7b0b76c984ccf8a6c420 | [
"MIT"
] | null | null | null | _authors/john-blaxland.md | etikaj-digital/contentfulpages | 119d7f43253b8022c3da7b0b76c984ccf8a6c420 | [
"MIT"
] | null | null | null | ---
authorid: 2c2sXWmxysmYcIIcCQiI4O
fullName: John Blaxland
lastmodified: 1524652335.111249
photo: 5qDFOSjwbKas8c2CagmQgc
profileUrl: https://theconversation.com//profiles/john-blaxland-109576
role: Professor, Strategic and Defence Studies Centre, Australian National University
---
No content found | 33.333333 | 85 | 0.836667 | eng_Latn | 0.378025 |
24248d249e5a4dd264bc663bb00bfea3999d4e67 | 995 | md | Markdown | Java_Solution/101.md | rcdy/Road-of-LC | 8047245cabffcc998a9d7a18de6d13cb3aebc499 | [
"MIT"
] | 1 | 2018-12-27T03:43:26.000Z | 2018-12-27T03:43:26.000Z | Java_Solution/101.md | rcdy/Road-of-LC | 8047245cabffcc998a9d7a18de6d13cb3aebc499 | [
"MIT"
] | null | null | null | Java_Solution/101.md | rcdy/Road-of-LC | 8047245cabffcc998a9d7a18de6d13cb3aebc499 | [
"MIT"
] | null | null | null | ##### [101. Symmetric Tree](https://leetcode-cn.com/problems/symmetric-tree)
- 题目描述
- 判断一个二叉树是否对称
```java
class Solution {
public boolean isSymmetric(TreeNode root) {
if(root == null) return true;
return isS(root.left, root.right);
}
boolean isS(TreeNode p, TreeNode q){
if(p == null && q == null) return true;
if(p != null && q!= null && p.val == q.val) return isS(p.left, q.right) && isS(p.right, q.left);
return false;
}
}
```
```java
/* 20220506 */
class Solution {
public boolean isSymmetric(TreeNode root) {
return root == null ? true : same(root.left, root.right);
}
private boolean same(TreeNode left, TreeNode right) {
if (left == null && right == null) return true;
if (left == null && right != null) return false;
if (left != null && right == null) return false;
return left.val == right.val && same(left.left, right.right) && same(left.right, right.left);
}
}
```
| 27.638889 | 104 | 0.58392 | eng_Latn | 0.374256 |
242538c0f36198531f57631c148c79312d13ad9e | 69 | md | Markdown | tikz/singly-linked-list/README.md | RalfGuder/LaTeX-examples | a1bf9fe422969be1ca4674394ebd2170c07f7693 | [
"MIT"
] | 1,231 | 2015-01-07T04:04:25.000Z | 2022-03-31T17:43:29.000Z | tikz/singly-linked-list/README.md | DoubleL61/LaTeX-examples | cd0d97f85fadb59b7c6e9062b37a8bf7d725ba0c | [
"MIT"
] | 5 | 2015-05-10T13:10:47.000Z | 2021-05-02T21:28:49.000Z | tikz/singly-linked-list/README.md | DoubleL61/LaTeX-examples | cd0d97f85fadb59b7c6e9062b37a8bf7d725ba0c | [
"MIT"
] | 400 | 2015-01-05T06:22:18.000Z | 2022-03-19T04:07:59.000Z | Compiled example
----------------

| 17.25 | 34 | 0.594203 | eng_Latn | 0.744029 |
2426d1c4bfc65c413f4a0741349f5848ca7af5be | 1,872 | md | Markdown | README.md | pelevesque-node/sum-digits | 4187c8cf1b67ace408949ad53aa268cb3a1db7fb | [
"MIT"
] | null | null | null | README.md | pelevesque-node/sum-digits | 4187c8cf1b67ace408949ad53aa268cb3a1db7fb | [
"MIT"
] | null | null | null | README.md | pelevesque-node/sum-digits | 4187c8cf1b67ace408949ad53aa268cb3a1db7fb | [
"MIT"
] | null | null | null | [](https://travis-ci.org/pelevesque/sum-digits)
[](https://coveralls.io/github/pelevesque/sum-digits?branch=master)
[](https://standardjs.com)
# sum-digits
Sums the digits in a string with a powerful substrings->digits feature.
## Node Repository
https://www.npmjs.com/package/@pelevesque/sum-digits
## Installation
`npm install @pelevesque/sum-digits`
## Tests
Command | Description
---------------------------- | ------------
`npm test` or `npm run test` | All Tests Below
`npm run cover` | Standard Style
`npm run standard` | Coverage
`npm run unit` | Unit Tests
## Usage
### Parameters
```js
str (required)
options (optional) default = { substringsToDigits = null, sumPlainDigits = true }
```
### Examples
```js
const sumDigits = require('@pelevesque/sum-digits')
```
```js
// normal summing
sumDigits('1234') // 10
```
```js
// ignores non numeric characters
sumDigits('1a2!3_4.') // 10
```
```js
// you can provide a hash table of substrings to digits
const substringsToDigits = { a: 1, b: 2, c: 3 }
sumDigits('1a2b3ca', { substringsToDigits: substringsToDigits }) // 13
```
```js
// substrings can be of any length
const substringsToDigits = { '1p': 1000, panama: 100, nam: 10, 2: 1 }
sumDigits('1panama2', { substringsToDigits: substringsToDigits }) // 1114
```
```js
// you can bypass plain digit summing and only use substringsToDigits summing
const substringsToDigits = { '1p': 1000, panama: 100, nam: 10, 2: 1 }
sumDigits('1panama2', { substringsToDigits: substringsToDigits, sumPlainDigits: false}) // 1111
```
| 27.529412 | 166 | 0.676282 | eng_Latn | 0.300933 |
24273f31f26da6ae80c246463ab3d3bf9c15b819 | 26 | md | Markdown | Ch_11-Working_with_Lens_and_Prisms/working-with-aeson-lens/README.md | subhashischatterjee/HuskellCookbook | 27e146b6d91c008a7b1d06eda4ea63fe8a8cdb04 | [
"MIT"
] | 19 | 2017-09-22T13:30:56.000Z | 2021-11-08T13:12:11.000Z | Ch_11-Working_with_Lens_and_Prisms/working-with-aeson-lens/README.md | subhashischatterjee/HuskellCookbook | 27e146b6d91c008a7b1d06eda4ea63fe8a8cdb04 | [
"MIT"
] | 1 | 2018-02-20T02:55:56.000Z | 2020-10-19T07:03:27.000Z | Ch_11-Working_with_Lens_and_Prisms/working-with-aeson-lens/README.md | subhashischatterjee/HuskellCookbook | 27e146b6d91c008a7b1d06eda4ea63fe8a8cdb04 | [
"MIT"
] | 10 | 2018-01-22T23:12:52.000Z | 2022-02-01T15:28:38.000Z | # working-with-aeson-lens
| 13 | 25 | 0.769231 | eng_Latn | 0.539538 |
2427e787635a20f8f662f671023cf882ca564818 | 993 | md | Markdown | README.md | Althar93/GDTracery | f6191894781625b8a8c45923b11f0f79394a896d | [
"Apache-2.0"
] | 11 | 2019-10-09T17:10:38.000Z | 2021-03-19T10:45:56.000Z | README.md | Althar93/GDTracery | f6191894781625b8a8c45923b11f0f79394a896d | [
"Apache-2.0"
] | 1 | 2020-06-23T07:03:19.000Z | 2020-06-23T07:03:19.000Z | README.md | Althar93/GDTracery | f6191894781625b8a8c45923b11f0f79394a896d | [
"Apache-2.0"
] | 3 | 2019-12-27T17:35:42.000Z | 2020-06-23T00:50:58.000Z | # GDTracery
A GDscript port of **Kate Compton's** [Tracery]( http://tracery.io/ ) for Godot Engine 3.1.
The implementation was itself heavily based off **josh-perry's** [Tracery.Net](https://github.com/josh-perry/Tracery.Net) implementation with some style changes to better fit with GDscript.
## Supported features
The examples as given in the [official tutorial page](http://www.crystalcodepalace.com/traceryTut.html) should work and have been tested until **"5: Saving Data"**. Current feature support includes :
* Rules within rules
* Modifiers
* universal/ base english ( *capitalize*, *pluralize*, *beespeak*, etc. )
* custom modifiers
* Save data
## Issues and/or requests
For any requests and/or issues you may find, please use the dedicated [issues](https://github.com/Althar93/GDTracery/issues) page.
**Note:** *the port aims to be as close as possible to the original implementation & will as a result not include additional features that do not form part of Tracery.*
| 43.173913 | 199 | 0.751259 | eng_Latn | 0.980208 |
2427ebf440e9e03d7c8b6c16a7feea5e9a9230ef | 1,405 | md | Markdown | privacy.md | Axpere/espazioa.github.io | 252f8d392441f4af368b988fc6865e49aa1f7220 | [
"CC-BY-3.0"
] | null | null | null | privacy.md | Axpere/espazioa.github.io | 252f8d392441f4af368b988fc6865e49aa1f7220 | [
"CC-BY-3.0"
] | null | null | null | privacy.md | Axpere/espazioa.github.io | 252f8d392441f4af368b988fc6865e49aa1f7220 | [
"CC-BY-3.0"
] | null | null | null | ---
title: Pribatutasun politika
layout: page
icon: fa-unlink
permalink: /privacy
hide: true
robots: noindex, nofollow
canonical: false
---
## Nola erabiltzen ditugun zure datuak
Web horri honek Jekyll, Formfree eta Google Analytics erabiltzen ditu, GitHub-en ostalari dagoen bitartean.
GitHub.com-ek, edozein ostalari bezala, bisitatzaileen datuak jaso ditzazke (IP helbidea etb).
Kontuan izan GitHub.com-ren jabea Microfost dela.
### Google Analytics
Web horri honek Google Analytics erabiltzen du, beste cookie-ak onartzen badituzu. Ala ere, ahal degun informazio gutxiena eta anomizatuta erabiltzeko konfiguratu degu zerbitzua.
Kontuan izan, Google-ren edozein produktuak, gu baino informazio askoz gehiago jasotzen duela. Informazio hau 14 hilabetez bakarrik gordetzen degu, sistemak uzten duen gutxiena.
### Formspree
Web horrialde honetako imprimakietan Formspree erabiltzen da. Ez badezu nahi zure mezua eta datuak Formspree korreo zerbitzutik pasatzea, zuzenean bidali korreo bat **info** helbidera edo ez erabili web horriko imprimakirik.
### Korreo elektroniko zerbitzuak
~~Migadu.com~~ Zoho.com eta Gmail erabiltzen degu korreoak ikusteko. Beraiek ere ikus dezakete zure helbidea eta informazioa.
### Mailchimp pop-up harpidetza
Mailchimp pop-up-ek zure korreoa jasoko du, harpidetzen bazera. Korreo zerbitzutik zuzenean harpidetzen bazera, zure informazioa ez da Mailchimp-etik pasako.
| 48.448276 | 224 | 0.812811 | eus_Latn | 0.999866 |
2428e1a203d62ea6fcf242549c9246dec3d3894c | 631 | md | Markdown | README.md | basimsahaf/Polygon | c11bc125eecb05fcaf1d342af6928f76012afd99 | [
"Apache-2.0"
] | 1 | 2017-11-21T02:28:39.000Z | 2017-11-21T02:28:39.000Z | README.md | basimsahaf/Polygon | c11bc125eecb05fcaf1d342af6928f76012afd99 | [
"Apache-2.0"
] | null | null | null | README.md | basimsahaf/Polygon | c11bc125eecb05fcaf1d342af6928f76012afd99 | [
"Apache-2.0"
] | null | null | null | # Polygon
Calgary Region Hackathon 2017, Finished 3rd among more than 40 teams.
Won $1000 in prize money for creating a ReactJS web application in a 54 hour hackathon - that crunches multiple datasets in order to use predictive analysis in determining the best location for business expansion.
Datasets Used (data.calgary.com):
- Recreational, Residential, Parks
- Business Licenses, Human Footprint
- Post Secondary Institutions, School
- Income by Area
Scaling Factors for Predictive Analysis:
- Demographics, Population Density
- Proximity to transportation and competitive businesses in range
- Safety concerns (crime rates)
| 42.066667 | 213 | 0.809826 | eng_Latn | 0.969273 |
2429342e7d24365f83df96edb8dad790e0fe9f99 | 292 | md | Markdown | four_color/README.md | abkraynak/ai-algorithms | f152831d3225ea5b750aace3e9573aa935378a98 | [
"MIT"
] | null | null | null | four_color/README.md | abkraynak/ai-algorithms | f152831d3225ea5b750aace3e9573aa935378a98 | [
"MIT"
] | null | null | null | four_color/README.md | abkraynak/ai-algorithms | f152831d3225ea5b750aace3e9573aa935378a98 | [
"MIT"
] | null | null | null | # Four Color Theorem
Builds a constraint-satisfaction problem (CSP) to solve the four color problem - whether any map can be colored so that no bordering states have the same color. The implementation includes backtracking, forward-checking, and min-conflicts algorithms to assign the colors. | 146 | 271 | 0.818493 | eng_Latn | 0.996393 |
2429468fdb687f09632bfbf223dfea1e344628e8 | 419 | md | Markdown | README.md | 4979/machines | 69c2767a46d28566b07ad9102068c8ee26b4da64 | [
"Apache-2.0"
] | 1 | 2015-06-18T11:21:23.000Z | 2015-06-18T11:21:23.000Z | README.md | 4979/machines | 69c2767a46d28566b07ad9102068c8ee26b4da64 | [
"Apache-2.0"
] | 1 | 2015-06-18T12:19:13.000Z | 2015-06-18T12:19:13.000Z | README.md | 4979/machines | 69c2767a46d28566b07ad9102068c8ee26b4da64 | [
"Apache-2.0"
] | null | null | null | # Machines
**Machine, Machine & Machine! = [Machines]**
### Dependencies:
| 1. Python: | v2.7.9 |
| :-------- |:----------------- |
| 2. Python Libraries: | [PyGithub](https://github.com/PyGithub/PyGithub), [NumPy](http://www.numpy.org/) |
| 3. R | v3.2.0 |
| 4. R Packages | |
@author : [Prabhat Kumar](http://prabhatkumar.org/)
Copyright : 2015, Prabhat Kumar.
| 29.928571 | 108 | 0.513126 | yue_Hant | 0.749884 |
242a1d155eccf660e7466b136d9ae48bb00c008c | 1,610 | md | Markdown | _publications/2020-05-6-Test-Oracle-using-Semantic-Analysis-from-Natural-Language-Requirements.md | rabeehabbasi/rabeeh.github.io | 3a94f08ddc2630c7d3abe60a78d315d45f578ff8 | [
"MIT"
] | null | null | null | _publications/2020-05-6-Test-Oracle-using-Semantic-Analysis-from-Natural-Language-Requirements.md | rabeehabbasi/rabeeh.github.io | 3a94f08ddc2630c7d3abe60a78d315d45f578ff8 | [
"MIT"
] | null | null | null | _publications/2020-05-6-Test-Oracle-using-Semantic-Analysis-from-Natural-Language-Requirements.md | rabeehabbasi/rabeeh.github.io | 3a94f08ddc2630c7d3abe60a78d315d45f578ff8 | [
"MIT"
] | 1 | 2021-11-26T14:41:40.000Z | 2021-11-26T14:41:40.000Z | ---
title: "Test Oracle using Semantic Analysis from Natural Language Requirements"
collection: publications
permalink: /publication/2020-05-6-Test-Oracle-using-Semantic-Analysis-from-Natural-Language-Requirements
date: 2020-05-6
venue: 'In the proceedings of Proceedings of the 22nd International Conference on Enterprise Information Systems - Volume 2: ICEIS,'
paperurl: 'https://dx.doi.org/10.5220/0009471903450352'
citation: ' Maryam Malik, Muddassar Sindhu., Rabeeh Abbasi., "Test Oracle using Semantic Analysis from Natural Language Requirements." In the proceedings of Proceedings of the 22nd International Conference on Enterprise Information Systems - Volume 2: ICEIS,, 2020.'
---
[Access paper here](https://dx.doi.org/10.5220/0009471903450352){:target="_blank"}
Automation of natural language based applications is a challenging task due to its semantics. This challenge is also confronted in the software testing field. In this paper, we provide a systematic literature review related to the semantic analysis of natural language requirements in the software testing field. The literature review assisted us in the identification of the substantial research gap related to the semantics-based natural language test oracle. To the best of our knowledge, we have not found any technique in which the semantics of test oracle from natural language requirements can be solved using Word Sense Disambiguation techniques. We have discussed our proposed approach to generate semantics-based test oracle from natural language requirements. Our proposed approach can be applied to any domain.
| 115 | 822 | 0.816149 | eng_Latn | 0.961281 |
242afb17737e9bfa983f18170a8ecac9831aea42 | 1,914 | md | Markdown | README.md | hass-emulated-hue/custom-component | 099707b368611cf6a0d203deee8a7e5237324a25 | [
"Apache-2.0"
] | null | null | null | README.md | hass-emulated-hue/custom-component | 099707b368611cf6a0d203deee8a7e5237324a25 | [
"Apache-2.0"
] | null | null | null | README.md | hass-emulated-hue/custom-component | 099707b368611cf6a0d203deee8a7e5237324a25 | [
"Apache-2.0"
] | null | null | null | # emulated-hue-integration
[![GitHub Release][releases-shield]][releases]
[![hacs][hacsbadge]][hacs]
## What
This simply exposes ESPHome device IPs using the Home Assistant API at `/api/config/esphome/entries`.
This allows Hass Emulated Hue to find ESPHome devices for UDP integration. This is only required for
people using ESPHome devices with the custom UDP component (not released yet!).
## Installation
### Step 1: Download files
#### Option 1: Via HACS
Make sure you have HACS installed.
If you don't, follow the steps [here](https://hacs.xyz/docs/setup/prerequisites) to install it.
Choose Integrations under HACS. Click the three '.'s in the top right corner and select custom repositories.
Paste the repository url `https://github.com/hass-emulated-hue/custom-component` and select `Integration`.
Click add. Select the `+ Explore & Download Repositories` button at the bottom right of the page and search
`Hass Emulated Hue` and select `Download this repository with HACS`.
#### Option 2: Manual
Clone this repository or download the source code as a zip file and add/merge the `custom_components/` folder with its contents in your configuration directory.
### Step 2: Restart HA
In order for the newly added integration to be loaded, HA needs to be restarted.
### Step 3: Add integration to HA
In HA, go to Configuration > Devices & Services.
In the bottom right corner, click on the big button with a '+ Add Integration'.
If the component is properly installed, you should be able to find the 'Hass Emulated Hue' in the list. You might need to clear you browser cache for the integration to show up.
***
[hacs]: https://github.com/hacs/integration
[hacsbadge]: https://img.shields.io/badge/HACS-Custom-orange.svg
[releases-shield]: https://img.shields.io/github/v/release/hass-emulated-hue/custom-component.svg
[releases]: https://github.com/hass-emulated-hue/custom-component/releases
| 40.723404 | 177 | 0.76489 | eng_Latn | 0.95682 |
242b057b5d16e2fc2d14644f02e603345c537607 | 800 | md | Markdown | README.md | kazukazuinaina/packaddManage.vim | a286cca9b22363323de7e5df34cbe492f9af7d05 | [
"MIT"
] | null | null | null | README.md | kazukazuinaina/packaddManage.vim | a286cca9b22363323de7e5df34cbe492f9af7d05 | [
"MIT"
] | null | null | null | README.md | kazukazuinaina/packaddManage.vim | a286cca9b22363323de7e5df34cbe492f9af7d05 | [
"MIT"
] | null | null | null | # packaddManage.vim
This is a simple plugin manager for Vim8 and Neovim.
## Requirements
- Vim 8.0 or above or Neovim
- `git` command
## installation for Vim
**UNIX and Linux**
```
$ curl https://raw.githubusercontent.com/kazukazuinaina/packaddManage.vim/master/bin/install.sh > install.sh
$ sh install.sh
```
**Windows**
coming soon...
## Usage
Edit your .vimrc like this
**Example**
```
packadd packaddManage.vim
call packaddManage#init()
StartPlug 'kazukazuinaina/packaddManage.vim'
" Quick load
StartPlug 'kazukazuinaina/Weather.vim'
StartPlug 'vim-jp/vimdoc-ja'
" Lazy load
OptPlug 'mattn/vim-starwars'
```
# **TODO**
- [ ] Compatible with Windows
- [ ] Enable to specify plugin loading timing
- [ ] Added plug-in update function
- [ ] Add plug-in deletion function
| 13.333333 | 108 | 0.70875 | eng_Latn | 0.401753 |
242b28042efbdbe08f6c8b31c24367aeaa3dd9bc | 3,455 | md | Markdown | README.md | seanox/aspect-js-tutorial | 5884dcf2fafbf71b2e3b9459fcf1413d4abce65f | [
"Apache-2.0"
] | null | null | null | README.md | seanox/aspect-js-tutorial | 5884dcf2fafbf71b2e3b9459fcf1413d4abce65f | [
"Apache-2.0"
] | null | null | null | README.md | seanox/aspect-js-tutorial | 5884dcf2fafbf71b2e3b9459fcf1413d4abce65f | [
"Apache-2.0"
] | null | null | null | <p>
<a href="https://github.com/seanox/aspect-js-tutorial/pulls"
title="Development is waiting for new issues / requests / ideas">
<img src="https://img.shields.io/badge/development-passive-blue?style=for-the-badge">
</a>
<a href="https://github.com/seanox/aspect-js-tutorial/issues">
<img src="https://img.shields.io/badge/maintenance-active-green?style=for-the-badge">
</a>
<a href="http://seanox.de/contact">
<img src="https://img.shields.io/badge/support-active-green?style=for-the-badge">
</a>
</p>
# Description
The tutorial guides you through the creation of a SPA (Single-Page-Application)
with [Seanox aspect-js](https://github.com/seanox/aspect-js).
Using a small example, the implementation is explained step by step from the
prototype to the finished application.
The tutorial is based on understanding and visualizing the differences of the
the serveral steps and therefore requires a program for comparison.
After downloading and unpacking, all steps can be called as independent
applications via a web server.
The changes in each step are documented and provided with references to the user
manual.
This information becomes visible when the steps are compared.
In addition, there are ToDo' s with small instructions and tips to try for
yourself.
# Licence Agreement
Seanox Software Solutions ist ein Open-Source-Projekt, im Folgenden
Seanox Software Solutions oder kurz Seanox genannt.
Diese Software unterliegt der Version 2 der Apache License.
Copyright (C) 2021 Seanox Software Solutions
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
# System Requirement
- ECMAScript 6 support or higher (normally the current browsers)
Engines (tested): Blink, Gecko, Goanna, WebKit, ...
Browsers used for testing: Basilisk, Firefox, Microsoft Edge, Google Chrome, Safari (MacOS/iOS)
- Web server for hosting
- Program for comparing code
# Downloads
[1.3.1 Tutorial](https://raw.githubusercontent.com/seanox/aspect-js-tutorial/master/releases/aspect-js%20tutorial-1.3.1.zip)
# Changes (Change Log)
## 1.4.0 20211210 (summary of the current version)
BF: Review: Correction/optimization
CR: Assets: Update of aspect-js.js
CR: License: Changed to Apache License Version 2.0
[Read more](https://raw.githubusercontent.com/seanox/aspect-js-tutorial/master/CHANGES)
# Contact
[Issues](https://github.com/seanox/aspect-js-tutorial/issues)
[Requests](https://github.com/seanox/aspect-js-tutorial/pulls)
[Mail](http://seanox.de/contact)
# Thanks!
<img src="https://raw.githubusercontent.com/seanox/seanox/master/sources/assets/images/thanks.png">
[cantaa GmbH](https://cantaa.de/)
[JetBrains](https://www.jetbrains.com/?from=seanox)
Sven Lorenz
Andreas Mitterhofer
[novaObjects GmbH](https://www.novaobjects.de)
Leo Pelillo
Gunter Pfannmüller
Annette und Steffen Pokel
Edgar Röstle
Michael Sämann
Markus Schlosneck
[T-Systems International GmbH](https://www.t-systems.com)
| 36.368421 | 124 | 0.762663 | eng_Latn | 0.823398 |
242c5d864b8fe87ede175d3458fe4014de9729f3 | 2,395 | md | Markdown | docs/_docs/home.md | Funz/doc | 4b46006bba8a0f8013195521a2beec36f533bd30 | [
"MIT"
] | null | null | null | docs/_docs/home.md | Funz/doc | 4b46006bba8a0f8013195521a2beec36f533bd30 | [
"MIT"
] | null | null | null | docs/_docs/home.md | Funz/doc | 4b46006bba8a0f8013195521a2beec36f533bd30 | [
"MIT"
] | 2 | 2019-08-02T15:48:59.000Z | 2019-08-09T11:39:13.000Z | ---
title: Funz
permalink: /docs/home/
redirect_from: /docs/index.html
---
As a starting point, Funz is the integration of some __numerical engineering tools__ (some that you probably have already used):
* a pre-compilation engine:
[{:width="400"}]({{ site.baseurl }}/docs/ParameterizingInputFiles.png)
* __parsing/replacing__ __variables__ for your simulation input files (eg. search '$x' everywhere and replace by an arbitrary numerical value),
* parsing/replacing variables __formula__ (eg. once '$x' i replaced, evaluate and replace '@{$x +1}' also),
* a loop to __pre-compile__ different arbitrary values of '$x',
* a network protocol to __send/receive__ pre-compiled __input files__ on remote __calculation servers__,
* an output file parser to __extract interest values__,
* a driver to set up arbitrary values of '$x', possibly coming from a __"design of experiments"__ algorithm (optimization, inversion, sensitivity analysis, ...).
[{:width="400"}]({{ site.baseurl }}/docs/Algorithm.png)
## Integrated simulation software (plugins)
Simulation softwares are coupled in Funz through __plugins__. Following are available:
* [Excel](https://github.com/Funz/plugin-Excel)
* [Python](https://github.com/Funz/plugin-Python)
* [R](https://github.com/Funz/plugin-R)
* [Modelica](https://github.com/Funz/plugin-Modelica)
* [Cast3M](https://github.com/Funz/plugin-Cast3m)
* [bash](https://github.com/Funz/plugin-Bash)
* [VBS](https://github.com/Funz/plugin-VBS)
* [cmd.exe](https://github.com/Funz/plugin-Cmd.exe)
* [MCNP](https://github.com/Funz/plugin-MCNP)
* [Scale](https://github.com/Funz/plugin-Scale)
* [Cristal](https://github.com/Funz/plugin-Cristal)
* [Telemac](https://github.com/Funz/plugin-Telemac)
* [and more... on GitHub repository](https://github.com/Funz/)
## Integrated design of experiments (algorithms)c
Design of experiments "drivers" are integrated in Funz as standardized '.R' files by GdR MASCOT-NUM. Following are available:
* [Brent](https://github.com/Funz/algorithm-Brent) root finding
* [GradientDescent](https://github.com/Funz/algorithm-GradientDescent) local optimization
* [EGO](https://github.com/Funz/algorithm-EGO) global optimization
* [and more... on GitHub repository](https://github.com/Funz/)
| 52.065217 | 161 | 0.746138 | eng_Latn | 0.322913 |
242c82afb38ce5021f96b68a6363fd57d3c5dbb5 | 774 | md | Markdown | _posts/2010/2010-05-27-a-few-things-you-may-not-have-known-about-andrew-wakefield.md | gvwilson/thirdb | 4a78ed7aef83c97d0ce95e73f20372a3482e1dd2 | [
"CC-BY-4.0"
] | 14 | 2016-07-23T02:36:15.000Z | 2021-11-01T20:13:03.000Z | _posts/2010/2010-05-27-a-few-things-you-may-not-have-known-about-andrew-wakefield.md | gvwilson/thirdb | 4a78ed7aef83c97d0ce95e73f20372a3482e1dd2 | [
"CC-BY-4.0"
] | 102 | 2015-12-30T09:38:08.000Z | 2021-11-02T11:34:33.000Z | _posts/2010/2010-05-27-a-few-things-you-may-not-have-known-about-andrew-wakefield.md | gvwilson/thirdb | 4a78ed7aef83c97d0ce95e73f20372a3482e1dd2 | [
"CC-BY-4.0"
] | 8 | 2018-01-07T14:36:47.000Z | 2021-02-23T07:33:57.000Z | ---
title: "A Few Things You May Not Have Known About Andrew Wakefield"
date: 2010-05-27 08:20:20
year: 2010
---
<a href="http://tallguywrites.livejournal.com/148012.html">This post</a> from Darryl Cunningham is a damning summary of the harm done by Andrew Wakefield, who was paid to "prove" that vaccines cause autism. Children have died, and will continue to die, because of what he did; if a big pharma company had acted exactly the same way, there would have been street protests outside its headquarters and a massive class action lawsuit... As Cunningham says, though, the real villain here is the popular press, which will run any scare story that comes their way on page 1, and the correction on page 100 (if at all). It makes me angry and weary at the same time...
| 110.571429 | 660 | 0.768734 | eng_Latn | 0.999528 |
242d86f5aa13aa30791f2e77e6c7a1e558e3e4d2 | 135 | md | Markdown | packages/unpack-textureatlas/README.md | liangxudongsun/CocosCreatorPlugins | bf5d151d1db5a38e376cab3d343bc463da2da5b0 | [
"MIT"
] | 613 | 2017-12-12T02:14:28.000Z | 2022-03-25T10:39:25.000Z | packages/unpack-textureatlas/README.md | ShaderDemo/CocosCreatorPlugins | 5ecebe0645382981ee0498e1324d526f658d160d | [
"MIT"
] | 23 | 2017-12-12T10:15:59.000Z | 2020-09-03T02:29:22.000Z | packages/unpack-textureatlas/README.md | ShaderDemo/CocosCreatorPlugins | 5ecebe0645382981ee0498e1324d526f658d160d | [
"MIT"
] | 256 | 2017-12-12T01:57:55.000Z | 2022-03-01T02:39:13.000Z | # plist 还原散图工具
## 说明
本工具仅仅是对官方发布工具的一个二次迭代优化,增加的功能有:
- 支持批量操作、自定义操作
- 支持快捷键
该插件不再发布到商店,仅仅作为个人盗图使用!
 | 16.875 | 33 | 0.711111 | zho_Hans | 0.243436 |
242d954e78ee0c34dbf61c4a3f570f4d769d94dc | 2,604 | md | Markdown | README.md | tomas-pecserke/vue-dynamic-component-wrapper | ad776ef3948e1ade682c8243163c7de02c978504 | [
"MIT"
] | null | null | null | README.md | tomas-pecserke/vue-dynamic-component-wrapper | ad776ef3948e1ade682c8243163c7de02c978504 | [
"MIT"
] | 3 | 2021-05-10T18:42:32.000Z | 2022-02-26T19:47:26.000Z | README.md | tomas-pecserke/vue-dynamic-component-wrapper | ad776ef3948e1ade682c8243163c7de02c978504 | [
"MIT"
] | null | null | null | # Vue Dynamic Component Wrapper
Reactive wrapper for dynamically loaded Vue.js 2 components.
[](https://github.com/tomas-pecserke/vue-dynamic-component-wrapper/actions?query=workflow%3A%22Node+CI%22)
[](https://github.com/tomas-pecserke/vue-dynamic-component-wrapper/blob/master/LICENSE)
## Installation
```shell script
npm install --save vue-dynamic-component-wrapper
```
or
```shell script
yarn add vue-dynamic-component-wrapper
```
## Usage
First you need to define your asynchronous `ComponentLoaderD`,
which is basically a function of type `(name: string) => Promise<Component>`.
In this context `Component` can be for example `ComponentOptions` object you could pass to `Vue.extend()`.
```typescript
// src/services/exampleAsyncComponentLoader.ts
import { Component } from "vue";
import { ComponentLoader } from "vue-dynamic-component-wrapper";
export const ExampleAsyncComponentLoader: ComponentLoader = {
load(name: string): Promise<Component> {
return new Promise<Component>(resolve => {
// in real world application, you would probably load the component from the server
setTimeout(() => {
resolve({
name: name,
template: "<div>{{ this.message }}</div>",
props: { message: { type: String, default: "Hello world" } }
});
}, 1000);
});
}
};
```
Create a Vue component using `DynamicComponent` factory using the `ComponentLoaderD` you just defined.
```typescript
// src/components/exampleAsyncComponent.ts
import { DynamicComponent } from "vue-dynamic-component-wrapper";
import { ExampleAsyncComponentLoader } from "@/services/exampleAsyncComponentLoader";
export default DynamicComponent(ExampleAsyncComponentLoader);
```
```vuejs
<template>
<div>
<p>
<label>Message:</label>
<input v-bind="message" />
</p>
<ExampleAsyncComponent name="test" :message="message" />
</div>
</template>
<script>
import ExampleAsyncComponent from "@/components/exampleAsyncComponent";
export default {
name: "Example",
components: { ExampleAsyncComponent },
data() {
return {
message: "Hi there!"
};
}
};
</script>
```
### Running tests
Following commands will clone the repository, install dependencies and run tests.
```shell script
git clone [email protected]:tomas-pecserke/vue-dynamic-component-wrapper.git
cd vue-dynamic-component-wrapper
yarn install
yarn test
```
| 27.702128 | 204 | 0.71659 | eng_Latn | 0.61475 |
242e807b557a7a95abc98f567bdb6fb8eb77d34e | 1,321 | md | Markdown | legacy/kb/parser/scenarios/scenario_fragment_bad_ls.md | GaloisInc/adapt | 2ccff778d3e77505899266572f8f7caacb5b630f | [
"BSD-3-Clause"
] | 2 | 2020-04-09T13:04:25.000Z | 2021-09-24T14:17:26.000Z | legacy/kb/parser/scenarios/scenario_fragment_bad_ls.md | GaloisInc/adapt | 2ccff778d3e77505899266572f8f7caacb5b630f | [
"BSD-3-Clause"
] | null | null | null | legacy/kb/parser/scenarios/scenario_fragment_bad_ls.md | GaloisInc/adapt | 2ccff778d3e77505899266572f8f7caacb5b630f | [
"BSD-3-Clause"
] | 3 | 2019-09-20T20:49:54.000Z | 2021-09-02T17:33:47.000Z |
Scenario Fragment - Bad 'ls'
This scenario is not designed to illustrate all of the phases of an APT campaign; it is a more of a "scenario fragment" that Trevor designed to inform our early experiments with processing PGs (feature extraction, mainly)
---
1. Assume that the machine has been compromised through means that aren't really relevant.
2. Using the compromised user, install a script called `ls` into `/tmp`. This script will copy out the ssh server's private key to an attacker managed host when run.
3. Using the root user, make sure that their path includes the current directory `.`, and change to `/tmp` and run `ls`.
This gives us some good options for establishing normal use, as well as a few hints on good features to define. Normal use could be just using ssh and running programs like `ls`.
From this, we can define two features to start with:
1. A user, and the full path to a program that they have run
2. A user, a file, and a program that's using the file
Each feature can be used to establish anomalies in the example defined above, as the root user should not be running programs out of /tmp, and the ssh server's private key should not be used with anything other than the ssh daemon. I think that both features establish a sort of a learned policy, as we had talked about yesterday.
| 66.05 | 330 | 0.770628 | eng_Latn | 0.999951 |
242ef8a375c9069d8510b2a62ea1ef2f30ca32a0 | 2,200 | md | Markdown | helpArticles/ecosystem/tokenSpecifications.md | Datamine-Crypto/realtime-decentralized-dashboard | 086a8a5da60aa56cb76aa67910a107e19b50bdd2 | [
"MIT"
] | null | null | null | helpArticles/ecosystem/tokenSpecifications.md | Datamine-Crypto/realtime-decentralized-dashboard | 086a8a5da60aa56cb76aa67910a107e19b50bdd2 | [
"MIT"
] | null | null | null | helpArticles/ecosystem/tokenSpecifications.md | Datamine-Crypto/realtime-decentralized-dashboard | 086a8a5da60aa56cb76aa67910a107e19b50bdd2 | [
"MIT"
] | 6 | 2020-07-23T06:07:27.000Z | 2021-03-15T05:01:06.000Z | - Datamine (DAM) is a standard ERC-777 smart contract deployed on Ethereum with a **FIXED** supply of 16,876,778 tokens
- FLUX is a **NON-FIXED** supply token which forms the base currency of DeFi. FLUX has linear and predictable deflation through Burning
- **Mint Start/Stop**: To generate FLUX tokens you need to start a Mint. Mints are powered by Datamine (DAM) tokens. A Mint generates 0.00000001 FLUX per 1 DAM each ETH block (every ~13 sec)
- **Delegated Minting**: When you start your Mint you can specify ANOTHER Ethereum address to mint on behalf of your address. This is a core security feature of Datamine Ecosystem
- **Remote Minting**: This feature enables you to Mint FLUX from your phone to any Ethereum address, even though the DAM may stored on your hardware wallet (e.g. Ledger)
- **Remote Burning**: You can Burn your FLUX to any other address that has an active Mint
- **Partial Minting**: You can specify a percentage of Minting (0-100%). This allows you to Mint smaller amounts of FLUX, including partial Minting to other addresses
- **Mint Age Multiplier**: Once your Mint is active for at least 24 hours, this multiplier will begin to increase every 15 seconds for 28 days, after which you receive a permanent 3x multiplier. You will lose this Multiplier each time you stop your Mint
- **Burn Multiplier**: This is a variable multiplier, capped at 10x. If you burn 9x the global average of burned FLUX, you receive the maximal 10x multiplier. The ratio is described as follows
- `(My Burned FLUX divided by DAM powering my Mint)` must be 9 times greater than `(Total Burned FLUX of active Mints divided total DAM powering Mints)`
- **The most efficient way to Mint at any time is**: Get the 3x Mint Age Multiplier (28 days after starting your Mint). Before Minting, make sure you Burned FLUX to get the max 10x Burn Multiplier
- DAM smart contract: [https://etherscan.io/token/0xF80D589b3Dbe130c270a69F1a69D050f268786Df](https://etherscan.io/token/0xF80D589b3Dbe130c270a69F1a69D050f268786Df)
- FLUX smart contract: [https://etherscan.io/address/0x469eda64aed3a3ad6f868c44564291aa415cb1d9](https://etherscan.io/address/0x469eda64aed3a3ad6f868c44564291aa415cb1d9) | 84.615385 | 254 | 0.779545 | eng_Latn | 0.993386 |
242fabb19bd90a3728086093fd37e187754f5bc6 | 7,781 | md | Markdown | aspnet/aspnet/overview/owin-and-katana/getting-started-with-owin-and-katana.md | Vehache/Docs.fr-fr | 5d95349c491e02135a4dbae1171bbcb8526fe327 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-08-17T15:51:26.000Z | 2021-08-17T15:51:26.000Z | aspnet/aspnet/overview/owin-and-katana/getting-started-with-owin-and-katana.md | Vehache/Docs.fr-fr | 5d95349c491e02135a4dbae1171bbcb8526fe327 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | aspnet/aspnet/overview/owin-and-katana/getting-started-with-owin-and-katana.md | Vehache/Docs.fr-fr | 5d95349c491e02135a4dbae1171bbcb8526fe327 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
uid: aspnet/overview/owin-and-katana/getting-started-with-owin-and-katana
title: Prise en main OWIN et Katana | Documents Microsoft
author: MikeWasson
description:
ms.author: aspnetcontent
manager: wpickett
ms.date: 09/27/2013
ms.topic: article
ms.assetid: 6dae249f-5ac6-4f6e-bc49-13bcd5a54a70
ms.technology:
ms.prod: .net-framework
msc.legacyurl: /aspnet/overview/owin-and-katana/getting-started-with-owin-and-katana
msc.type: authoredcontent
ms.openlocfilehash: 8922aada723da9b149ec111902fcd883c8241dfb
ms.sourcegitcommit: 9a9483aceb34591c97451997036a9120c3fe2baf
ms.translationtype: MT
ms.contentlocale: fr-FR
ms.lasthandoff: 11/10/2017
---
<a name="getting-started-with-owin-and-katana"></a>Prise en main OWIN et Katana
====================
par [Mike Wasson](https://github.com/MikeWasson)
[Ouvrir l’Interface Web pour .NET (OWIN)](http://owin.org/) définit une abstraction entre les serveurs web .NET et des applications web. En séparant le serveur web à partir de l’application, OWIN rend plus facile de créer l’intergiciel (middleware) pour le développement web .NET. OWIN facilite également les applications web à d’autres hôtes — par exemple, l’auto-hébergement dans un service Windows ou d’autres processus.
OWIN est une spécification appartenant à la Communauté, pas une implémentation. Le projet Katana est un ensemble de composants OWIN open source développé par Microsoft. Pour obtenir une vue d’ensemble de OWIN et Katana, consultez [une vue d’ensemble du projet Katana](an-overview-of-project-katana.md). Dans cet article, j’accédera à droite dans le code pour commencer.
Ce didacticiel utilise [Visual Studio 2013 Release Candidate](https://go.microsoft.com/fwlink/?LinkId=306566), mais vous pouvez également utiliser Visual Studio 2012. Certaines des étapes sont différents dans Visual Studio 2012, je remarque ci-dessous.
## <a name="host-owin-in-iis"></a>Hôte OWIN dans IIS
Dans cette section, nous allons héberger OWIN dans IIS. Cette option vous donne la souplesse et la composabilité d’un pipeline OWIN ainsi que l’ensemble des fonctionnalités matures d’IIS. À l’aide de cette option, l’application OWIN s’exécute dans le pipeline de demande ASP.NET.
Commencez par créer un nouveau projet d’Application Web ASP.NET. (Dans Visual Studio 2012, utilisez le type de projet d’Application Web ASP.NET vide).

Dans le **nouveau projet ASP.NET** boîte de dialogue, sélectionnez le **vide** modèle.

### <a name="add-nuget-packages"></a>Ajouter des Packages NuGet
Ensuite, ajoutez les packages NuGet nécessaires. À partir de la **outils** menu, sélectionnez **Gestionnaire de Package de bibliothèque**, puis sélectionnez **Package Manager Console**. Dans la fenêtre de Console du Gestionnaire de Package, tapez la commande suivante :
`install-package Microsoft.Owin.Host.SystemWeb –Pre`

### <a name="add-a-startup-class"></a>Ajoutez une classe de démarrage
Ensuite, ajoutez une classe de démarrage OWIN. Dans l’Explorateur de solutions, cliquez sur le projet et sélectionnez **ajouter**, puis sélectionnez **un nouvel élément**. Dans le **ajouter un nouvel élément** boîte de dialogue, sélectionnez **classe de démarrage Owin**. Pour plus d’informations sur la configuration de la classe de démarrage, consultez [détection de classe de démarrage OWIN](owin-startup-class-detection.md).

Ajoutez le code suivant à la méthode `Startup1.Configuration` :
[!code-csharp[Main](getting-started-with-owin-and-katana/samples/sample1.cs?highlight=3)]
Ce code ajoute un élément simple d’intergiciel (middleware) au pipeline OWIN, implémenté comme une fonction qui reçoit un **Microsoft.Owin.IOwinContext** instance. Lorsque le serveur reçoit une requête HTTP, le pipeline OWIN appelle l’intergiciel (middleware). L’intergiciel (middleware) définit le type de contenu pour la réponse et écrit le corps de réponse.
> [!NOTE]
> Le modèle de classe de démarrage OWIN est disponible dans Visual Studio 2013. Si vous utilisez Visual Studio 2012, ajoutez simplement une classe vide nommée `Startup1`et collez le code suivant :
[!code-csharp[Main](getting-started-with-owin-and-katana/samples/sample2.cs)]
### <a name="run-the-application"></a>Exécution de l'application
Appuyez sur F5 pour commencer le débogage. Visual Studio ouvre une fenêtre de navigateur pour `http://localhost:*port*/`. La page doit ressembler à ce qui suit :

## <a name="self-host-owin-in-a-console-application"></a>Auto-hébergement OWIN dans une Application Console
Il est facile de convertir cette application à partir de l’hébergement IIS pour l’auto-hébergement d’un processus personnalisé. Avec l’hébergement IIS, IIS sert à la fois le serveur HTTP et que le processus qui hébergent le serveur. Hébergement d’un serveur, votre application crée le processus et utilise le **HttpListener** classe en tant que le serveur HTTP.
Dans Visual Studio, créez une nouvelle application console. Dans la fenêtre de Console du Gestionnaire de Package, tapez la commande suivante :
`Install-Package Microsoft.Owin.SelfHost -Pre`
Ajouter un `Startup1` classe à partir de la partie 1 de ce didacticiel au projet. Vous n’avez pas besoin de modifier cette classe.
Implémenter l’application `Main` méthode comme suit.
[!code-csharp[Main](getting-started-with-owin-and-katana/samples/sample3.cs)]
Lorsque vous exécutez l’application console, le serveur commence à écouter pour `http://localhost:9000`. Si vous accédez à cette adresse dans un navigateur web, vous verrez la page « Hello world ».

## <a name="add-owin-diagnostics"></a>Ajouter OWIN Diagnostics
Le package Microsoft.Owin.Diagnostics contient un intergiciel (middleware) qui intercepte les exceptions non gérées et affiche une page HTML avec les détails de l’erreur. Cette page même manière que la page d’erreurs ASP.NET qui est parfois appelée le «[jaune écran de décès](http://en.wikipedia.org/wiki/Yellow_Screen_of_Death#Yellow)» (YSOD). Comme le YSOD, la page d’erreur Katana est utile lors du développement, mais il est conseillé de désactiver le mode de production.
Pour installer le package de Diagnostics dans votre projet, tapez la commande suivante dans la fenêtre de Console du Gestionnaire de Package :
`install-package Microsoft.Owin.Diagnostics –Pre`
Modifier le code dans votre `Startup1.Configuration` méthode comme suit :
[!code-csharp[Main](getting-started-with-owin-and-katana/samples/sample4.cs?highlight=4,9-12)]
Maintenant utiliser CTRL + F5 pour exécuter l’application sans débogage, afin que Visual Studio n’interrompra pas sur l’exception. L’application comporte comme avant, jusqu'à ce que vous accédez à `http://localhost/fail`, à partir de laquelle l’application lève l’exception. L’intergiciel (middleware) la page d’erreur sera intercepter l’exception et afficher une page HTML avec des informations sur l’erreur. Vous pouvez cliquer sur les onglets pour afficher la pile de chaîne de requête, les cookies, en-tête de demande et les variables d’environnement OWIN.

## <a name="next-steps"></a>Étapes suivantes
- [Détection de classe de démarrage OWIN](owin-startup-class-detection.md)
- [Permet l’auto-hébergement ASP.NET Web API OWIN](../../../web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api.md)
- [Utilisez OWIN pour l’auto-hébergement SignalR](../../../signalr/overview/deployment/tutorial-signalr-self-host.md)
| 68.254386 | 560 | 0.782547 | fra_Latn | 0.948805 |
24306f4a4a178317252636e38a3914536c613f2e | 38 | md | Markdown | README.md | priyogarizki-434/UTS-web-I-NIM-411-412-434 | a098c0cd57fe9d80cb69aaa5e6a9e1910d54ca47 | [
"Unlicense"
] | null | null | null | README.md | priyogarizki-434/UTS-web-I-NIM-411-412-434 | a098c0cd57fe9d80cb69aaa5e6a9e1910d54ca47 | [
"Unlicense"
] | null | null | null | README.md | priyogarizki-434/UTS-web-I-NIM-411-412-434 | a098c0cd57fe9d80cb69aaa5e6a9e1910d54ca47 | [
"Unlicense"
] | null | null | null | # UTS-web-I-NIM-411-412-434
Tugas UTS
| 12.666667 | 27 | 0.710526 | yue_Hant | 0.399167 |
24309228e793e68ba3644d81954dacb04fdc4fa2 | 6,469 | md | Markdown | README.md | netglue/Zend-View-Mail-Template | 23b7515274f08947a1f1196d08c2f2805a7eee0b | [
"MIT"
] | null | null | null | README.md | netglue/Zend-View-Mail-Template | 23b7515274f08947a1f1196d08c2f2805a7eee0b | [
"MIT"
] | 1 | 2018-07-19T06:54:29.000Z | 2018-07-19T07:33:01.000Z | README.md | netglue/Zend-View-Mail-Template | 23b7515274f08947a1f1196d08c2f2805a7eee0b | [
"MIT"
] | 1 | 2018-06-08T18:19:34.000Z | 2018-06-08T18:19:34.000Z | # Sending template based emails in a Zend Expressive app
[](https://travis-ci.org/netglue/Zend-Expressive-Mail-Template)
This module/library/whatever is probably a bit naïve and is effectively a quick refactor of an older ZF2 module that does the same thing but more specifically with `Zend\View` - you can find that here: [netglue/ZF2-Mail-Template-Module](https://github.com/netglue/ZF2-Mail-Template-Module)…
The main use case for this library is where you’ll construct email message layouts and templates and store them on the local filesystem as you would for the frontend of your app/website. These templates will then be rendered using whatever templating engine you've already got setup in your zend expressive app.
Each type of message will have a name and associated defaults/configuration so that in your code, it'll be just a case of `$dispatcher->send(string 'myMessage', array $emailOptions, array $viewVariables);`
This lib is a bit thrown together to scratch a simple itch and should be considered a work in progress. Contributions are welcomed :)
## Install
$ composer require netglue/zend-expressive-mail-template
## Configure
### Mail Transport
Configuration should be placed under the key `netglue_mail`. The first thing to do is make sure that you've got a factory setup to return a Mail Transport that `Zend\Mail` can use. So, let's say you've got a transport setup in your DI container with the name `Zend\Mail\Transport\TransportInterface`, you'll need to provide this name in config thus:
// …
'netglue_mail' => [
'transport' => Zend\Mail\Transport\TransportInterface::class,
],
// …
If no transport is provided, the lib will automatically construct an `InMemory` transport and all your mail will be delivered there, which is probably not what you want…
### Template Rendering
Next, you'll need to setup configuration for each type of message you want to send. At the very least, you'll need to provide a template for the "Message Type". This should either an HTML based template in the key `template` or a plain text template in the key `textTemplate`, or both for a multipart message. Clearly, you'll also need to setup your template resolver to know where to find these template names:
'netglue_mail' => [
// …
'messages' => [
'myMessage' => [
'template' => 'email::some-html',
'textTemplate' => 'email::some-text',
],
],
// …
],
// Your template path config might look like:
'templates' => [
'map' => [
'email::some-html' => __DIR__ . '/tmpl/mail/some-file.html',
'email::some-text' => __DIR__ . '/tmpl/mail/some-text.txt',
],
],
The factory that puts together the Template Rendering 'Service' will look in the DI container for a rendering engine under the key `NetglueMail\MailTemplateRendererInterface::class` - this service name is aliased to `Zend\Expressive\Template\TemplateRendererInterface::class`, so, theoretically, as long as you are pulling in the Dependency Config from the `ConfigProvider` the template renderer will work out of the box _and_ if you want to provide a different renderer for mail than whatever your app is using, all you have to do is override this alias in your dependency config with something along the lines of this:
'dependencies' => [
'aliases' => [
NetglueMail\MailTemplateRendererInterface::class => Some\Other\Renderer::class,
],
'factories' => [
Some\Other\Renderer::class => Some\Other\RendererFactory::class,
],
],
There's a whole load of other stuff you can configure each individual message with along with global defaults.
### Default Sender
Setup the default sender for all messages to go from a consistent address/name:
'netglue_mail' => [
'defaultSender' => '[email protected]',
'defaultSenderName' => 'Some Dude',
],
### Default Message Headers
Apply default headers to all outbound mail:
'netglue_mail' => [
'defaultHeaders' => [
'X-Mailer' => 'Granny',
'X-Foo' => 'Bar',
'X-Blah' => 'Bing',
],
],
### Various defaults for individual messages
Set the recipient, sender, headers, subject etc…
'netglue_mail' => [
// …
'messages' => [
'myMessage' => [
'template' => 'email::some-html',
'to' => ['[email protected]' => 'Some Guy', 'Someone Else' => '[email protected]'],
'subject' => 'Re: Nappies',
'headers' => [
'X-Foo' => 'Baz',
],
],
],
// …
],
## Usage
Once everything is configured as you'd like, you can still override settings for Zend\Mail and provide view variables when sending something like this:
$dispatcher = $container->get(\NetglueMail\Dispatcher::class);
$options = [
'to' => '[email protected]',
'subject' => 'Scones',
'headers' => [
'X-Foo' => 'Bing Bong',
],
];
$view = [
'var1' => 'Foo',
'var2' => 'Foo',
];
$mailMessage = $dispatcher->send('myMessage', $options, $view);
You can also construct the message first from defaults and runtime options and then send it in 2 steps:
$mailMessage = $disptacher->createMessage('myMessage', $options, $view);
// Do stuff to $mailMessage
// or add additional values to be sent with triggered events in $eventParams
$dispatcher->sendMessage($mailMessage, $eventParams);
## Events
2 Events are triggered with `Zend\EventManager` on send and these are `sendMessage` and `sendMessage.post`, so you may like to somewhere:
$dispatcher->getEventManager()->attach('sendMessage', function($e) {
$message = $e->getParams()['message'];
$dispatcher = $e->getTarget();
// .. Do stuff before $message is passed to the transport
});
## Tests
Test coverage is pretty good using Zend\View as the template engine, but I haven't had the time to test with Twig or Plates etc. YMMV.
## About
[Netglue makes web based stuff in Devon, England](https://netglue.uk). We hope this is useful to you and we’d appreciate feedback either way :)
| 42.84106 | 620 | 0.656052 | eng_Latn | 0.982797 |
243436711c493d3a88f1f3d426a706a8d72aa82c | 832 | md | Markdown | README.md | lawrie-sm/cultist-txt | 4d66a1adfd0b501a7947d28afd742cd31db478ba | [
"MIT"
] | null | null | null | README.md | lawrie-sm/cultist-txt | 4d66a1adfd0b501a7947d28afd742cd31db478ba | [
"MIT"
] | null | null | null | README.md | lawrie-sm/cultist-txt | 4d66a1adfd0b501a7947d28afd742cd31db478ba | [
"MIT"
] | null | null | null | # [cultist.txt](https://twitter.com/cultist_txt)
A Twitter bot which periodically posts text from [Cultist Simulator's](https://weatherfactory.biz/cultist-simulator/) in-game descriptions.
### More Information
Text entries are extracted from the game files using a shell script. They are stored in an SQLite database. The script requires pcregrep and sqlite3. The game's [core data folder](https://cultistsimulator.gamepedia.com/Modding#Modding_game_files) should be copied into the project's data directory.
The bot will grab a random entry that hasn't yet been posted, format it correctly, and post it to Twitter using [anaconda](https://github.com/ChimeraCoder/anaconda). It will do this until every entry has been posted.
*Cultist Simulator is the sole property of Weather Factory. All game content used with permission.*
| 69.333333 | 299 | 0.793269 | eng_Latn | 0.985557 |
24351bc989acb56a98fef3c14c26a29b8fb028fa | 3,347 | md | Markdown | docs/section-2-using-parsers.md | jamiebuilds/tree-sitter | 16376c43f5cc75bbc5297e6d5716bd94d55ccc05 | [
"MIT"
] | null | null | null | docs/section-2-using-parsers.md | jamiebuilds/tree-sitter | 16376c43f5cc75bbc5297e6d5716bd94d55ccc05 | [
"MIT"
] | null | null | null | docs/section-2-using-parsers.md | jamiebuilds/tree-sitter | 16376c43f5cc75bbc5297e6d5716bd94d55ccc05 | [
"MIT"
] | null | null | null | ---
title: Using Parsers
permalink: using-parsers
---
# Using Parsers
A Tree-sitter parser consists of a single C source file which exports one function with the naming scheme `tree_sitter_${LANGUAGE_NAME}`. This function returns a pointer to a `TSLanguage` struct, which can be used in conjunction with a `TSParser` to produce a syntax trees.
## The Raw C API
Here's an example of a simple C program that uses the Tree-sitter [JSON parser](https://github.com/tree-sitter/tree-sitter-json).
```c
// Filename - test-json-parser.c
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include "tree_sitter/runtime.h"
TSLanguage *tree_sitter_json();
int main() {
// Create a parser with the JSON language.
TSParser *parser = ts_parser_new();
ts_parser_set_language(parser, tree_sitter_json());
// Parse some source code.
const char *source_code = "[1, null]";
TSTree *tree = ts_parser_parse_string(parser, NULL, source_code, strlen(source_code));
// Find some syntax tree nodes.
TSNode root_node = ts_tree_root_node(tree);
TSNode array_node = ts_node_named_child(root_node, 0);
TSNode number_node = ts_node_named_child(array_node, 0);
// Check that the nodes have the expected types.
assert(!strcmp(ts_node_type(root_node), "value"));
assert(!strcmp(ts_node_type(array_node), "array"));
assert(!strcmp(ts_node_type(number_node), "number"));
// Check that the nodes have the expected child counts.
assert(ts_node_child_count(root_node) == 1);
assert(ts_node_child_count(array_node) == 4);
assert(ts_node_named_child_count(array_node) == 2);
assert(ts_node_child_count(number_node) == 0);
// Print the syntax tree as an S-expression.
char *string = ts_node_string(root_node);
printf("Syntax tree: %s\n", string);
// Free all of the heap allocations.
free(string);
ts_tree_delete(tree);
ts_parser_delete(parser);
return 0;
}
```
This program uses the Tree-sitter C API, which is declared in the header file `tree_sitter/runtime.h`, so we need to add the `tree_sitter/include` directory to the include path. We also need to link `libruntime.a` into the binary.
```sh
clang \
-I tree-sitter/include \
test-json-parser.c \
tree-sitter-json/src/parser.c \
tree-sitter/out/Release/libruntime.a \
-o test-json-parser
./test-json-parser
```
### Providing the text to parse
Text input is provided to a tree-sitter parser via a `TSInput` struct, which specifies a function pointer for reading chunks of text. The text can be encoded in either UTF8 or UTF16. This interface allows you to efficiently parse text that is stored in your own data structure.
### Querying the syntax tree
Tree-sitter provides a DOM-style interface for inspecting syntax trees. Functions like `ts_node_child(node, index)` and `ts_node_next_sibling(node)` expose every node in the concrete syntax tree. This is useful for operations like syntax-highlighting, which operate on a token-by-token basis. You can also traverse the tree in a more abstract way by using functions like
`ts_node_named_child(node, index)` and `ts_node_next_named_sibling(node)`. These functions don't expose nodes that were specified in the grammar as anonymous tokens, like `:` and `{`. This is useful when analyzing the meaning of a document.
| 40.817073 | 370 | 0.733493 | eng_Latn | 0.968573 |
243631da3c722df3b7d6a4be5bc69456958b17ad | 1,113 | md | Markdown | docs/library/membership.md | vpavkin/zio-keeper | ddda505ca3cfb52a33432fdd05c949fc5140649a | [
"Apache-2.0"
] | 151 | 2019-04-30T03:26:48.000Z | 2022-03-05T16:03:00.000Z | docs/library/membership.md | vpavkin/zio-keeper | ddda505ca3cfb52a33432fdd05c949fc5140649a | [
"Apache-2.0"
] | 167 | 2019-04-29T21:35:31.000Z | 2022-03-22T16:27:11.000Z | docs/library/membership.md | vpavkin/zio-keeper | ddda505ca3cfb52a33432fdd05c949fc5140649a | [
"Apache-2.0"
] | 37 | 2019-05-07T05:25:52.000Z | 2022-02-22T05:10:07.000Z | ---
id: library_membership
title: "Membership protocols"
---
Gossip protocols foundations:
- [Epidemic Algorithms for Replicated Database Maintenance][1]
- [Understanding Gossip Protocols][2]
- [The Promise, and Limitations, of Gossip Protocols][3]
SWIM protocol:
- [SWIM: Scalable Weakly-consistent Infection-style Process Group Membership Protocol (paper)][4]
- [SWIM: Scalable Weakly-consistent Infection-style Process Group Membership Protocol (video)][5]
- [Serf documentation][6]
HyParView protocol:
- [HyParView: a membership protocol for reliable gossip-based broadcast][7]
[1]: http://bitsavers.informatik.uni-stuttgart.de/pdf/xerox/parc/techReports/CSL-89-1_Epidemic_Algorithms_for_Replicated_Database_Maintenance.pdf
[2]: https://www.youtube.com/watch?v=QQ2n1UX3Qwg
[3]: http://www.cs.cornell.edu/Projects/Quicksilver/public_pdfs/2007PromiseAndLimitations.pdf
[4]: https://www.cs.cornell.edu/projects/Quicksilver/public_pdfs/SWIM.pdf
[5]: https://www.youtube.com/watch?v=bkmbWsDz8LM
[6]: https://www.serf.io/docs/internals/gossip.html
[7]: http://asc.di.fct.unl.pt/~jleitao/pdf/dsn07-leitao.pdf
| 38.37931 | 145 | 0.780773 | yue_Hant | 0.35633 |
24373b9d3e910a8d16043a76a3ec57bfc835abb3 | 4,459 | md | Markdown | README.md | nrosenberg1/iam-manager | feddadfdcaefff7207f305a71ec018f49d8c3258 | [
"Apache-2.0"
] | 38 | 2020-01-23T12:59:44.000Z | 2022-03-18T14:08:40.000Z | README.md | nrosenberg1/iam-manager | feddadfdcaefff7207f305a71ec018f49d8c3258 | [
"Apache-2.0"
] | 88 | 2019-12-23T21:39:16.000Z | 2022-03-29T20:13:11.000Z | README.md | Nextdoor/keikoproj-iam-manager | 909b9e52a2cd847f414614c10c95ac3b2a289490 | [
"Apache-2.0"
] | 12 | 2020-01-24T21:18:11.000Z | 2022-03-04T22:30:50.000Z | # iam-manager
[][GithubMaintainedUrl]
[][GithubPrsUrl]
[][SlackUrl]

[![Build Status][BuildStatusImg]][BuildMasterUrl]
[![codecov][CodecovImg]][CodecovUrl]
[![Go Report Card][GoReportImg]][GoReportUrl]
AWS IAM role management for K8s namespaces inside cluster using k8s CRD Operator.
#### Security:
Security will be a main concern when we design a solution to create/update/delete IAM roles inside a cluster independently. iam-manager uses AWS IAM Permission Boundary concept along with other solutions to secure the implementation. Please check [AWS Security](docs/AWS_Security.md) for more details.
#### Supported Features
Following features are supported by IAM Manager
[IAM Roles Management](docs/Features.md#iam-roles-management)
[IAM Role for Service Accounts (IRSA)](docs/Features.md#iam-role-for-service-accounts-irsa)
[AWS Service-Linked Roles](docs/Features.md#aws-service-linked-roles)
[Default Trust Policy for All Roles](docs/Features.md#default-trust-policy-for-all-roles)
[Maximum Number of Roles per Namespace](docs/Features.md#maximum-number-of-roles-per-namespace)
[Attaching Managed IAM Policies for All Roles](docs/Features.md#attaching-managed-iam-policies-for-all-roles)
[Multiple Trust policies](docs/Features.md#multiple-trust-policies)
##### iam-manager config-map
This [document](docs/Configmap_Properties.md) provide explanation on configmap variables.
#### Additional Info
iam-manager is built using kubebuilder project and like any other kubebuilder project iam-manager also uses cert-manager to manage the SSL certs for webhooks.
#### Usage:
Following is the sample Iamrole spec.
```yaml
apiVersion: iammanager.keikoproj.io/v1alpha1
kind: Iamrole
metadata:
name: iam-manager-iamrole
spec:
# Add fields here
PolicyDocument:
Statement:
-
Effect: "Allow"
Action:
- "s3:Get*"
Resource:
- "arn:aws:s3:::intu-oim*"
Sid: "AllowS3Access"
AssumeRolePolicyDocument:
Version: "2012-10-17"
Statement:
-
Effect: "Allow"
Action: "sts:AssumeRole"
Principal:
AWS:
- "arn:aws:iam::XXXXXXXXXXX:role/20190504-k8s-kiam-role"
```
To submit, kubectl apply -f iam_role.yaml --ns namespace1
#### Installation:
Simplest way to install iam-manager along with the role required for it to do the job is to run [install.sh](hack/install.sh) command.
Update the allowed policies in [allowed_policies.txt](hack/allowed_policies.txt) and config map properties [config_map](hack/iammanager.keikoproj.io_iamroles-configmap.yaml) as per your environment before you run install.sh.
Note: You must be cluster admin and have exported KUBECONFIG and also has Administrator access to underlying AWS account and have the credentials exported.
example:
```bash
export KUBECONFIG=/Users/myhome/.kube/admin@eks-dev2-k8s
export AWS_PROFILE=admin_123456789012_account
./install.sh [cluster_name] [aws_region] [aws_profile]
./install.sh eks-dev2-k8s us-west-2 aws_profile
```
To enable web hook or/and also update your installation of iam-manager to work with kiam please check [Installation](docs/Install.md) for detailed instructions.
## ❤ Contributing ❤
Please see [CONTRIBUTING.md](.github/CONTRIBUTING.md).
## Developer Guide
Please see [DEVELOPER.md](.github/DEVELOPER.md).
<!-- Markdown link -->
[install]: docs/README.md
[ext_link]: https://upload.wikimedia.org/wikipedia/commons/d/d9/VisualEditor_-_Icon_-_External-link.svg
[GithubMaintainedUrl]: https://github.com/keikoproj/iam-manager/graphs/commit-activity
[GithubPrsUrl]: https://github.com/keikoproj/iam-manager/pulls
[SlackUrl]: https://keikoproj.slack.com/messages/iam-manager
[BuildStatusImg]: https://travis-ci.org/keikoproj/iam-manager.svg?branch=master
[BuildMasterUrl]: https://travis-ci.org/keikoproj/iam-manager
[CodecovImg]: https://codecov.io/gh/keikoproj/iam-manager/branch/master/graph/badge.svg
[CodecovUrl]: https://codecov.io/gh/keikoproj/iam-manager
[GoReportImg]: https://goreportcard.com/badge/github.com/keikoproj/iam-manager
[GoReportUrl]: https://goreportcard.com/report/github.com/keikoproj/iam-manager | 39.114035 | 301 | 0.756223 | eng_Latn | 0.395051 |
2437bce0bf3c5c9ebe124e2ad9c27ae332d5c3f6 | 1,703 | md | Markdown | _posts/2017-10-01-advancedbioinformatics.md | edmond123456/edmond123456.github.io | e540c8e5a9fc782a92d83804a20709733e440f90 | [
"MIT"
] | 1 | 2018-03-02T07:25:49.000Z | 2018-03-02T07:25:49.000Z | _posts/2017-10-01-advancedbioinformatics.md | edmond123456/edmond123456.github.io | e540c8e5a9fc782a92d83804a20709733e440f90 | [
"MIT"
] | 4 | 2019-02-28T04:31:36.000Z | 2019-02-28T09:50:59.000Z | _posts/2017-10-01-advancedbioinformatics.md | edmond123456/edmond123456.github.io | e540c8e5a9fc782a92d83804a20709733e440f90 | [
"MIT"
] | null | null | null | ---
layout: post
title: Advanced Bioinformatics
subtitle:
date: 2017-10-01
author: Junjie Hua
header-img: img/post-bg-o.jpg
catalog: true
tags:
- Lecture
---
## Why
- ##### If you can't speak in a classroom, venue, etc., you want to interact without speaking out

- ##### Tell the story without pronunciation

## Background
- ##### Researchers at Oxford University and Google DeepMind have developed artificial intelligence (AI) that reads the movement of a person's lips through training with thousands of hours of content broadcast by the BBC.
- ##### Little research on facial muscle activity
- ##### Difficult to discriminate micro electromyographic activity
- ##### Obtained action potential is a continuous waveform that fluctuates in time and is difficult to analyze usually.
## How
##### Different mouth shape when speaking different vowels

##### By collecting masticatory EMG data when speaking different vowels(chin--plus,cheek--minus,forehead--reference)

## Result
- ##### I analyzed the EMG data by analyzing envelope of different signals, different signals can be easily distinguished

- ##### By using a simple neural network from MATLAB, different EMG signals of different vowels can be correctly distinguished.
 | 39.604651 | 221 | 0.752789 | eng_Latn | 0.942766 |
24396fbb324e21f03a8f74bf24ff29ea79cc2c51 | 733 | markdown | Markdown | Technotes/HelpBook/5.0/en/export-opml.markdown | bubudrc/NetNewsWire | 27dd920cce355a976fa68ca7bf3f4e25b0095196 | [
"MIT"
] | 3,016 | 2020-01-03T07:35:40.000Z | 2022-03-31T12:06:36.000Z | Technotes/HelpBook/5.0/en/export-opml.markdown | bubudrc/NetNewsWire | 27dd920cce355a976fa68ca7bf3f4e25b0095196 | [
"MIT"
] | 1,860 | 2020-01-03T01:22:01.000Z | 2022-03-31T17:56:59.000Z | Technotes/HelpBook/5.0/en/export-opml.markdown | bubudrc/NetNewsWire | 27dd920cce355a976fa68ca7bf3f4e25b0095196 | [
"MIT"
] | 295 | 2020-01-03T06:48:59.000Z | 2022-03-29T02:39:26.000Z | @title How to export OPML
# How to export OPML
Your subscription list is portable, meaning you can easily switch to another app or service at any time. NetNewsWire can export an OPML file containing all your subscriptions. This file format is well-established and widely supported for just this purpose.
1. From the menu bar, select **File → Export Subscriptions…**
2. If you have multiple accounts, select which account’s subscriptions to export
3. Choose the name and location for the OPML file
4. Click **Export OPML**
Your subscriptions in NetNewsWire are unaffected by this action. Nothing is changed or removed.
You can now use this file for any app or service which allows you to import OPML-formatted subscription lists. | 52.357143 | 256 | 0.793997 | eng_Latn | 0.999642 |
243a5753fc8a334f58f4b200a4bec34496d8eff5 | 6,304 | markdown | Markdown | _posts/java/简易类IOC容器的实现.markdown | krystalics/krystalics.github.io | 585d88bcdc4c1222b1c544e8f4fa90c9b97bb4d3 | [
"Apache-2.0"
] | 1 | 2018-12-10T08:14:22.000Z | 2018-12-10T08:14:22.000Z | _posts/java/简易类IOC容器的实现.markdown | krystalics/krystalics.github.io | 585d88bcdc4c1222b1c544e8f4fa90c9b97bb4d3 | [
"Apache-2.0"
] | null | null | null | _posts/java/简易类IOC容器的实现.markdown | krystalics/krystalics.github.io | 585d88bcdc4c1222b1c544e8f4fa90c9b97bb4d3 | [
"Apache-2.0"
] | null | null | null | 实习的时候有幸接触到了公司自写的一个小的BeanFactory容器,它相当于Spring中的一小部分(在类上注解@Component,然后容器会把所有带有@Component的类都初始化成对象)。
之前的版本是只有这一部分,我和另一个实习生的任务是加上@Autowired注解,这本来是一个人的任务,可能是考虑到这个问题有点棘手就分成了两个部分,而我就是负责@Autowired之后的循环依赖问题。
想要了解什么是循环依赖?
```java
public class A {
B b=new B();
public static void main(String[] args) {
new A();
}
}
public class B{
A a=new A();
}
```
上面的例子:A中有B,B中有A二者看似非常融洽,实际上会一直循环的创建,最终导致 `java.lang.StackOverflowError` 栈溢出。我们在使用容器的时候,可以使用**依赖注入**来避免这种情况,也就是说即使容器中发生了循环依赖也可以正常工作。换句话说,容器解决了循环依赖的问题(单例的情况,如果是多例的话情况会不一样,所以下文中讨论的也都是单例的情况)。
这里引用一个例子,讲下什么是依赖注入 [例子原文链接](https://blog.csdn.net/a1181191837/article/details/60468422)
```java
public class Test{
public static void main(String[] args) {
A testa = new A();
B testb = new B();
//就是不在具体的事务类中初始化,放到第三方来初始化,并注入进去
testa.b = testb;
testb.a = testa;
testa.printB();
testb.printA();
testa.print();
testb.print();
}
}
class A{
public B b;
public void printB(){
b.printB();
}
public void printA(){
System.out.println("AA");
}
public void print(){
b.printA();
}
}
class B{
public A a;
public void printB(){
System.out.println("BB");
}
public void printA(){
a.printA();
}
public void print(){
a.printB();
}
}
```
IOC容器比这复杂一些,调用链会形成一棵树,如果存在循环问题则需要另外做处理,而且是通过反射拿到有注解的那些类,把构造的bean都放在一个容器中(通常都是一个HashMap),在外部使用容器中的对象通过getBean获取,注意通过new出来的对象是会报错的,因为new出来的对象和容器中并不是一个对象,其中用@Autowired注解的在new出来的对象中为null,而在容器中是已经构造好的,在容器中是可以自由的通过@Autowired注解使用对象。
spring是做了隐藏,并没有让人感觉到在容器外部是通过getBean来获取对象。说了这么多,IOC就这么一点好处吗?并不是, [Spring IoC有什么好处呢?](https://www.zhihu.com/question/23277575)
文中第一个回答先讲了**依赖倒置**:本来是由高层的类依赖底层类的实现,因为高层的方法都是在调用底层的方法,一般没有设计的系统都是这么干的。而依赖倒置顾名思义就是让底层依赖高层,这里并不是说底层调用高层的方法,**而是由高层决定需求,底层具体实现**。这里听起来就有点懵,这两个东西不都是一样的吗?文中举了个由高层变动需求,层次修改到底层的例子来证明依赖反转是非常有必要的。
依赖倒置只是一个概念性的东西,具体的实现还是由代码来体现。而IOC控制反转就是实现依赖倒置的一种方式,将依赖关系交给第三方容器去做,就像上面那个例子一样。**A看似依赖B,实际上是依赖初始化B的Test,B也是一样**
容器还可以省略类的构造步骤,比如A依赖B,B依赖C,我们要初始化A的时候就必须先初始化B,而这又会转到C,所以代码如下:
```java
C c=new C();
B b=new B(c);
A a=new A(b);
```
这样其实也可以接受,但是如果调用链很长,有几十个甚至上百个那么长,我相信是个人都受不了。更不用说错综复杂的依赖关系了,能不能把对象构造出来都是一个问题。而容器会在程序初始化的时候从该类的依赖底层开始构造,一直到把该类构造完存储到容器中,用的时候直接getBean就可以了。
还有统一管理等诸多好处就不细说了。
##### 从JVM加载Class文件说起
为什么会有容器这种技术呢?这就要追溯到JVM加载class文件了,这里细节请看[老大难的 Java ClassLoader 再不理解就老了](https://juejin.im/post/5c04892351882516e70dcc9b)
JVM运行并不是一次性加载所需要的全部类,而是按需加载(**这里的加载就是将二进制的class文件通过ClassLoader()或者Class.forName()将class文件加载进jvm,变成java.lang.Class的一个对象**),即延迟加载。程序在运行过程中会遇到新的class会先判断是否已经加载过了,如果没有才会调用ClassLoader来加载class文件、加载完成的对象会存在ClassLoader里,下次就不需要重新加载了。
而我们可以通过代码调用反射中的ClassLoader或者Class.forName,来提前加载我们需要的类,进行初始化。还可以提前判断循环引用等。
##### 好了说了这么多,开始进入正题吧:
如何构造一个可用的IoC容器呢?
- 首先需要扫描当前程序的包,获得所有包含@Component类的Class
- 然后根据Class中的@Autowired的调用链构造一棵依赖树,如果遇到循环,就将该节点标记,下次遇到时就跳过该节点(这样就不会一直循环构造下去了)
- 后续遍历这棵树,从依赖底层开始创建对象一直到根节点。
- 构建容器与外部的接口
- 外部使用容器
其中最难的步骤在于扫描当前的所有包(包括Jar包),获取所有class文件中有注解@Component的Class。因为class文件时二进制流,有自己特定的格式,如何读取和写入都是一个问题。
参考 [JVM之用java解析class文件](https://juejin.im/post/589834a20ce4630056097a56#comment) [Java扫描并加载包路径下的class文件](https://hacpai.com/article/1503198996878)
认真阅读上面的两篇文章就会发现一个问题,扫描到了所有的class和解析class文件二者好像并没有什么关联,我直接就可以根据扫描得到的class来进行之后的操作,那了解JVM解析class文件有什么用?
问了公司的前辈,它的回答虽然我不怎么认同,但姑且听之吧:
> 如果不解析class文件,我们会扫描和加载一个包内所有的类,比较消耗内存;还会执行里面的static赋值以及方法等,如果里面有static A a=Context.getBean();从容器中获取对象,这个A就会被初始化为null,使用它的类就会报出NullPointerException。
消耗内存这个我是认同的,毕竟一个大一点的项目会有很多个类,稍微扫描大些的包大几千个类都会被加载进jvm(这里我们要知道,JVM加载class时按需加载),让后再根据类信息过滤掉没有@Component的类,这样初始化速度会变得很慢,而且内存消耗确实比较大。
但是第二点我就心存疑问,就去搜了一下发现只有用Class.forName()加载类的时候会执行static,而使用ClassLoader就不会执行static的内容。这里参考 [java反射中,Class.forName和classloader的区别](https://blog.csdn.net/qq_27093465/article/details/52262340)
不过,就程序初始化慢以及内存消耗这块已经足够理由让我们去解析class文件了。直接解析class而不使用Class.forName()或者ClassLoader()加载它,可以让我们提前过滤掉非容器的类,节省了一大块内存(和加载非必要类的时间)。
现在的问题就虽然能解析class文件了,但是我们怎么 利用这个解析来工作呢?**在我们这里就是在不加载class文件的情况下怎么分析出class文件的注解**,所以首先要了解**注解在class文件的位置——常量池**。在常量池中获取注解名进行判断,是不是我们要的注解
首先这里还要了解一个知识点:运行时注解在常量池中以字符串 RuntimeVisibleAnnotations 作为标注来对应注解中的RUNTIME标记。我们要做的就是遍历常量池,找到该标记,获得该类的注解,然后做判断。
```java
public static void read(String classPath) {
File file = new File(classPath);
try {
FileInputStream in = new FileInputStream(file); //读取路径中class的输入流
ClassFile classFile = new ClassFile(); //存储该class的信息
classFile.magic = U4.read(in);
classFile.minorVersion = U2.read(in);
classFile.majorVersion = U2.read(in);
//解析常量池,类名以及各个方法名,描述符,annotation,public protected...字符串 final都存在常量池中
classFile.constantPoolCount = U2.read(in);
ConstantPool constantPool = new ConstantPool(classFile.constantPoolCount);
constantPool.read(in);
int index=-1;
for(int i=1;i<classFile.constantPoolCount;i++){
ConstantInfo constantInfo=constantPool.cpInfo[i];
if(constantInfo instanceof ConstantUtf8){
String name=((ConstantUtf8)constantInfo).value();
//下面的字符串对应 RUNTIME,是运行时作用的注解的标志
if("RuntimeVisibleAnnotations".equals(name)){
index=i;
break;
}
}
}
List<String> annotations=new ArrayList<>();
for(int i=index+1;i<classFile.constantPoolCount;i++){
ConstantInfo constantInfo=constantPool.cpInfo[i];
if (constantInfo instanceof ConstantUtf8) {
try {
annotations.add(Type.getType(((ConstantUtf8) constantInfo).getValue()).getClassName());
} catch (Exception ignore) {
}
}else{
//实际上一连串的UTF8不只是注解,还有类里定义的各个变量的全名,顺序不定
//包括方法里定义的也在,但是我们只需要知道这段UTF8过后 注解已经扫完了就行,之后的判断不需要管
break;
}
}
//此时,annotations 就装满了 该类的注解,我们需要对注解进行解析
}catch (IOException e){
}
}
```
之后经过过滤(通过完全类名做判断),获得该包中所有打了@Component的类了。
拿到具体的类之后,就需要根据其间的依赖关系开始实例化了。
具体见下一篇文章。
| 29.596244 | 225 | 0.697335 | yue_Hant | 0.53391 |
243ab373e1ee4230177394c08f0650aaab074044 | 58 | md | Markdown | README.md | Wandlee/Salesman4woocommerce | 425cd5b84652f40993142224129d94dc4aa87a61 | [
"MIT"
] | null | null | null | README.md | Wandlee/Salesman4woocommerce | 425cd5b84652f40993142224129d94dc4aa87a61 | [
"MIT"
] | null | null | null | README.md | Wandlee/Salesman4woocommerce | 425cd5b84652f40993142224129d94dc4aa87a61 | [
"MIT"
] | null | null | null | # Salesman4woocommerce
Wandlee sales plugin 4 woocommerce
| 19.333333 | 34 | 0.862069 | lug_Latn | 0.214959 |
243b399e8f07abe897e993f5f3c09966aa7697d7 | 6,192 | md | Markdown | docs/ado/reference/ado-api/command-object-ado.md | zelanko/sql-docs.es-es | e8de33fb5b7b566192c5fd38f7d922aca7fa3840 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/ado/reference/ado-api/command-object-ado.md | zelanko/sql-docs.es-es | e8de33fb5b7b566192c5fd38f7d922aca7fa3840 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/ado/reference/ado-api/command-object-ado.md | zelanko/sql-docs.es-es | e8de33fb5b7b566192c5fd38f7d922aca7fa3840 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
description: Objeto Command (ADO)
title: Objeto Command (ADO) | Microsoft Docs
ms.prod: sql
ms.prod_service: connectivity
ms.technology: ado
ms.custom: ''
ms.date: 01/19/2017
ms.reviewer: ''
ms.topic: conceptual
apitype: COM
f1_keywords:
- Command
helpviewer_keywords:
- Command object [ADO]
ms.assetid: a02c22fb-542d-465e-a629-30fd59dcbebf
author: rothja
ms.author: jroth
ms.openlocfilehash: 252a59f63c4ce782a915a1e1cf11af58fd2f233b
ms.sourcegitcommit: 18a98ea6a30d448aa6195e10ea2413be7e837e94
ms.translationtype: MT
ms.contentlocale: es-ES
ms.lasthandoff: 08/27/2020
ms.locfileid: "88975236"
---
# <a name="command-object-ado"></a>Objeto Command (ADO)
Define un comando específico que se va a ejecutar en un origen de datos.
## <a name="remarks"></a>Observaciones
Use un objeto de **comando** para consultar una base de datos y devolver registros en un objeto de [conjunto de registros](./recordset-object-ado.md) , para ejecutar una operación masiva o para manipular la estructura de una base de datos. Dependiendo de la funcionalidad del proveedor, algunas colecciones de **comandos** , métodos o propiedades pueden generar un error cuando se hace referencia a ellos.
Con las colecciones, los métodos y las propiedades de un objeto de **comando** , puede hacer lo siguiente:
- Defina el texto ejecutable del comando (por ejemplo, una instrucción SQL) con la propiedad [CommandText](./commandtext-property-ado.md) . O bien, para estructuras de comandos o de consultas que no sean cadenas simples (por ejemplo, consultas de plantilla XML), defina el comando con la propiedad [CommandStream](./commandstream-property-ado.md) .
- Opcionalmente, indique el dialecto de comando usado en **CommandText** o **CommandStream** con la propiedad de [dialecto](./dialect-property.md) .
- Defina consultas con parámetros o argumentos de procedimiento almacenado con objetos de [parámetro](./parameter-object.md) y la colección de [parámetros](./parameters-collection-ado.md) .
- Indica si los nombres de parámetro se deben pasar al proveedor con la propiedad [NamedParameters](./namedparameters-property-ado.md) .
- Ejecute un comando y devuelva un objeto de **conjunto de registros** si es adecuado con el método [Execute](./execute-method-ado-command.md) .
- Especifique el tipo de comando con la propiedad [CommandType](./commandtype-property-ado.md) antes de la ejecución para optimizar el rendimiento.
- Controla si el proveedor guarda una versión preparada (o compilada) del comando antes de la ejecución con la propiedad [Prepared](./prepared-property-ado.md) .
- Establezca el número de segundos que un proveedor esperará a que un comando se ejecute con la propiedad [CommandTimeout](./commandtimeout-property-ado.md) .
- Asocie una conexión abierta a un objeto de **comando** estableciendo su propiedad [ActiveConnection](./activeconnection-property-ado.md) .
- Establezca la propiedad [nombre](./name-property-ado.md) para identificar el objeto de **comando** como un método en el objeto de [conexión](./connection-object-ado.md) asociado.
- Pase un objeto de **comando** a la propiedad de [origen](./source-property-ado-recordset.md) de un **conjunto de registros** para obtener los datos.
- Obtener acceso a los atributos específicos del proveedor con la colección [Properties](./properties-collection-ado.md) .
> [!NOTE]
> Para ejecutar una consulta sin usar un **objeto Command** , pase una cadena de consulta al método [Execute](./execute-method-ado-connection.md) de un objeto **Connection** o al método [Open](./open-method-ado-recordset.md) de un objeto **Recordset** . Sin embargo, se requiere un objeto de **comando** si desea conservar el texto del comando y volver a ejecutarlo, o usar parámetros de consulta.
Para crear un objeto de **comando** independientemente de un objeto de **conexión** definido previamente, establezca su propiedad **ActiveConnection** en una cadena de conexión válida. ADO todavía crea un objeto de **conexión** , pero no asigna ese objeto a una variable de objeto. Sin embargo, si va a asociar varios objetos de **comando** con la misma conexión, debe crear y abrir explícitamente un objeto de **conexión** . Esto asigna el objeto de **conexión** a una variable de objeto. Asegúrese de que el objeto de **conexión** se ha abierto correctamente antes de asignarlo a la propiedad **ActiveConnection** del objeto de **comando** , ya que la asignación de un objeto de **conexión** cerrado produce un error. Si no establece la propiedad **ActiveConnection** del objeto de **comando** en esta variable de objeto, ADO crea un nuevo objeto de **conexión** para cada objeto de **comando** , incluso si utiliza la misma cadena de conexión.
Para ejecutar un **comando**, llámelo mediante su propiedad [Name](./name-property-ado.md) en el objeto de **conexión** asociado. El **comando** debe tener su propiedad **ActiveConnection** establecida en el objeto de **conexión** . Si el **comando** tiene parámetros, pase sus valores como argumentos al método.
Si dos o más objetos de **comando** se ejecutan en la misma conexión y cualquier objeto de **comando** es un procedimiento almacenado con parámetros de salida, se produce un error. Para ejecutar cada objeto de **comando** , utilice conexiones independientes o desconecte todos los demás objetos de **comando** de la conexión.
La colección **Parameters** es el miembro predeterminado del objeto **Command** . Como resultado, las dos instrucciones de código siguientes son equivalentes.
```
objCmd.Parameters.Item(0)
objCmd(0)
```
- El objeto **Command** no es seguro para el scripting.
Esta sección contiene el siguiente tema.
- [Propiedades, métodos y eventos del objeto Command](./command-object-properties-methods-and-events.md)
## <a name="see-also"></a>Consulte también
[Connection (objeto) (ADO)](./connection-object-ado.md)
[Parameters (colección) (ADO)](./parameters-collection-ado.md)
[Colección Properties (ADO)](./properties-collection-ado.md)
[Apéndice A: Proveedores](../../guide/appendixes/appendix-a-providers.md) | 73.714286 | 949 | 0.749516 | spa_Latn | 0.985915 |
243b446717116ad67cdef55ff05e7f4ea69ea141 | 471 | md | Markdown | books/Return to the Little Kingdom: Steve Jobs, the Creation of Apple, and How It Changed the World-Michael Moritz.md | whatrocks/rss2markdown | 7390d27c72f80bb49d0f59f8026f66c263183503 | [
"MIT"
] | 1 | 2021-08-10T00:16:21.000Z | 2021-08-10T00:16:21.000Z | books/Return to the Little Kingdom: Steve Jobs, the Creation of Apple, and How It Changed the World-Michael Moritz.md | whatrocks/rss2markdown | 7390d27c72f80bb49d0f59f8026f66c263183503 | [
"MIT"
] | null | null | null | books/Return to the Little Kingdom: Steve Jobs, the Creation of Apple, and How It Changed the World-Michael Moritz.md | whatrocks/rss2markdown | 7390d27c72f80bb49d0f59f8026f66c263183503 | [
"MIT"
] | 1 | 2021-08-10T03:16:12.000Z | 2021-08-10T03:16:12.000Z | # Return to the Little Kingdom: Steve Jobs, the Creation of Apple, and How It Changed the World
## Michael Moritz
A history of early days of Apple Computer, originally published in 1984. The time-jumping segments between the origin tale and the Macintosh team were an interesting device - but I was left wanting for a convergence of these two stories that never happened. I’ll never get sick of this story, though - that’s the predominant feeling here, I just want more.
| 117.75 | 356 | 0.789809 | eng_Latn | 0.999795 |
243c3e7d76486328dea11d44cfa34597953724b1 | 6,700 | md | Markdown | doc/eng/concept/Procedure.md | JackieJoo/wProcedure | 253a095153aeb06e6c2415f0426d7c0d5ebfd1c7 | [
"MIT"
] | null | null | null | doc/eng/concept/Procedure.md | JackieJoo/wProcedure | 253a095153aeb06e6c2415f0426d7c0d5ebfd1c7 | [
"MIT"
] | null | null | null | doc/eng/concept/Procedure.md | JackieJoo/wProcedure | 253a095153aeb06e6c2415f0426d7c0d5ebfd1c7 | [
"MIT"
] | null | null | null | # Procedure
### Abstract
The procedure is an abstraction to span time.
Asynchronous code is the source of procedures:
- Timeout callbacks.
- Consequence/promise callbacks.
- Asynchronous callbacks.
- Semi-asynchronous callbacks.
- Subprocesses.
- Workers.
All entities producing by-products and executed non-linearly could be spanned by procedures. Tracking procedures helps to find problems in source code, gives a higher level of control of code execution. The concept of the procedure has broad application.

The procedure can have an associated object, associated routine, and wait timer. The procedure has several states. The procedure resides in one or another namespace. The narrowest is thread namespace. Procedures can be organized in a hierarchy.

Another well-known example is Windows action. Windows action is a interruptible and cancelable procedure of system-level.
### Lifespan and states
The procedure has several state automata.
Procedure lifespan is:
- Created( inited )
- Begun
- Ended( finited )
Created is the initial state and ended is the end state of the automata.

After the procedure is ended, there is no transition back.
Also, the procedure can be active or inactive.

Inactive is the initial state. Multiple transitions in both directions are possible.
Also, some procedures could expose the procedure control interface to control their execution.

Interruptible procedures allow to pause or resume them. Cancellable procedures allow to cancel them. Routines `_.time.out` and `setTimeout` are examples of cancellable procedures.

Above, you may see a diagram illustrating the transition between states. Call of `_.time.begin` creates, initializes, and begins procedure `timeOut1`. Activation of the procedure takes place 50us. Activation triggered by running callback of the timer, and after the callback is run, the procedure transits from `active` to `inactive` state after what it transits from `begun` to `ended` state. After getting in `ended` state procedure is removed from the register and is not available anymore.
### Associated object and associated routine
The procedure can have an associated routine. Running of associated routine transits the procedure from the inactive state to the active state. In the case of routine, it is its callback. There is no associated routine in the case of the subprocess. If a procedure is cancellable either interruptible, then it can have more then a single associated routine, one per each control transition.
The procedure can have an associated object. In the case of time, routine call associated object is the timer. In the case of consequence/promise method call, it could be that consequence/promise.
### Stack of active procedures
For tracking procedures activation in a semi-asynchronous code, the stack is useful. For truly asynchronous code, this stack is always going to have precisely one element because process activation cant happens while the current process is active. For semi-asynchronous code, its depth could vary.

On the diagram above you may see that activation of the callback of `_.time.out` adds element on the top of the stack of active procedures, and deactivation removes it.
Don't confuse the stack with parenting of procedures.
### Namespaces and persistence
The procedure can exist in different namespaces:
- Threat namespace.
- Process namespace.
- System namespace.
- Global namespace.
The namespace of the next level includes the namespace of the previous. Each level has its own lifespan.

The most narrow lifespan is a thread. It exists while thread runs. Process namespace includes threads namespaces. Procedures of this level exist beyond a single thread. System procedure exists even after the end of the process in which it was created. Global procedures exist beyond the local machine in the cloud.
### Hierarchy and parenting
The procedure can produce another procedure. The first one becomes the parent of the second ( child ). That relation could be accounted for too.

Logic behind parenting procedures could be similar to logic behind processes tree in unix.
### Implementation
Procedures in our implementation often have wait timer, which is required to hold exiting from the application if such procedure were not yet finished. Wait timer is a timer with infinity time out which exists while the procedure exists. In release build, we store all procedures in map with source path as key. The source path is the location where that process was created. Associated object and associated routine are stored in the procedure's structure.
Procedure activation tracking and the stack of active procedures are implemented. Procedure control is not implemented. Namespaces except for thread namespace and persistent procedures are not implemented. In our implementation, not each asynchronous callback has its own corresponding procedure.
### Application
The concept of the procedure has broad application. In the next paragraphs, few such are described.
Definition of very abstract pause/resume/cancel interface, homogenous across the application.
Managing a bunch of subtasks that could be in states: started/finished/paused. For example, test routines of test suite or tasks of continuous software development tools. If such a process is interrupted by a failure of any kind it is desirable to continue from the last running task, not from the beginning.
To determine the path to the current source file without tracing stack if `__dirname` is not available.
To monitor load and progress.
To expose events related procedure managing.
To hold exiting from the process procedure in the queue.
### Summary
- The procedure is an abstraction that makes the application more manageable and helps to find design problems.
- The procedure can be an active/inactive state.
- The procedure can be in the started/finished state. If the procedure is cancelable, it also can be in the canceled state. If the procedure is interruptible, it also can be in a paused/resumed state.
- Persistent procedures allow to continue application from point it was interrupted.
- Persistent procedures exist in the system, either global namespace.
- Procedures can be organized in a hierarchy.
| 52.34375 | 493 | 0.796269 | eng_Latn | 0.998811 |
243c59b0c1d04969a8268fe7801d4e2921cd5051 | 2,938 | md | Markdown | docs/api/stats/RollingIQR.md | chartpath/river | 505ac2f771a2f98d90c20ad52bf70796692da936 | [
"BSD-3-Clause"
] | 1 | 2020-12-04T18:56:19.000Z | 2020-12-04T18:56:19.000Z | docs/api/stats/RollingIQR.md | chartpath/river | 505ac2f771a2f98d90c20ad52bf70796692da936 | [
"BSD-3-Clause"
] | null | null | null | docs/api/stats/RollingIQR.md | chartpath/river | 505ac2f771a2f98d90c20ad52bf70796692da936 | [
"BSD-3-Clause"
] | null | null | null | # RollingIQR
Computes the rolling interquartile range.
## Parameters
- **window_size** (*int*)
Size of the window.
- **q_inf** – defaults to `0.25`
Desired inferior quantile, must be between 0 and 1. Defaults to `0.25`.
- **q_sup** – defaults to `0.75`
Desired superior quantile, must be between 0 and 1. Defaults to `0.75`.
## Attributes
- **name**
- **size**
- **window_size**
## Examples
```python
>>> from river import stats
>>> rolling_iqr = stats.RollingIQR(
... q_inf=0.25,
... q_sup=0.75,
... window_size=100
... )
>>> for i in range(0, 1001):
... rolling_iqr = rolling_iqr.update(i)
... if i % 100 == 0:
... print(rolling_iqr.get())
0
50
50
50
50
50
50
50
50
50
50
```
## Methods
???- note "append"
S.append(value) -- append value to the end of the sequence
**Parameters**
- **x**
???- note "clear"
S.clear() -> None -- remove all items from S
???- note "clone"
Return a fresh estimator with the same parameters.
The clone has the same parameters but has not been updated with any data. This works by looking at the parameters from the class signature. Each parameter is either - recursively cloned if it's a River classes. - deep-copied via `copy.deepcopy` if not. If the calling object is stochastic (i.e. it accepts a seed parameter) and has not been seeded, then the clone will not be idempotent. Indeed, this method's purpose if simply to return a new instance with the same input parameters.
???- note "copy"
???- note "count"
S.count(value) -> integer -- return number of occurrences of value
**Parameters**
- **item**
???- note "extend"
S.extend(iterable) -- extend sequence by appending elements from the iterable
**Parameters**
- **other**
???- note "get"
???- note "index"
S.index(value, [start, [stop]]) -> integer -- return first index of value. Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.
**Parameters**
- **item**
- **args**
???- note "insert"
S.insert(index, value) -- insert value before index
**Parameters**
- **i**
- **item**
???- note "pop"
S.pop([index]) -> item -- remove and return item at index (default last). Raise IndexError if list is empty or index is out of range.
**Parameters**
- **i** – defaults to `-1`
???- note "remove"
S.remove(value) -- remove first occurrence of value. Raise ValueError if the value is not present.
**Parameters**
- **item**
???- note "reverse"
S.reverse() -- reverse *IN PLACE*
???- note "revert"
Revert and return the called instance.
**Parameters**
- **x**
???- note "sort"
???- note "update"
Update and return the called instance.
**Parameters**
- **x**
| 18.477987 | 491 | 0.60143 | eng_Latn | 0.97273 |
243c74d060d0c72f803eb289df6bf04d214eb963 | 1,436 | md | Markdown | dom/Element/classList/index.md | maibroadcast/docs | 033f80374c2557f2dd867a2285e3d09df1c81359 | [
"CC-BY-3.0"
] | 1 | 2019-11-06T18:11:10.000Z | 2019-11-06T18:11:10.000Z | dom/Element/classList/index.md | maibroadcast/docs | 033f80374c2557f2dd867a2285e3d09df1c81359 | [
"CC-BY-3.0"
] | null | null | null | dom/Element/classList/index.md | maibroadcast/docs | 033f80374c2557f2dd867a2285e3d09df1c81359 | [
"CC-BY-3.0"
] | null | null | null | ---
title: 'classList'
attributions:
- 'Microsoft Developer Network: [[Windows Internet Explorer API reference](http://msdn.microsoft.com/en-us/library/ie/hh828809%28v=vs.85%29.aspx) Article]'
notes:
- 'Needs examples, compat, better spec link'
readiness: 'In Progress'
relationships:
applies_to:
predicate: 'Property of '
value: dom/Element
href: /dom/Element
return:
predicate: 'Returns an object of type '
value: ''
href: /dom/Element
standardization_status: 'W3C Candidate Recommendation'
summary: 'Reflects the class attribute as an ordered list of the whitespace separated class names and has convenience methods for add, remove, contains and more.'
tags:
- API_Object_Properties
- DOM
- Needs_Examples
uri: dom/Element/classList
---
## Summary
Reflects the class attribute as an ordered list of the whitespace separated class names and has convenience methods for add, remove, contains and more.
Property of [dom/Element](/dom/Element)[dom/Element](/dom/Element)
## Syntax
**Note**: This property is read-only.
``` js
var classList = element.classList;
```
## Return Value
Returns an object of type
A DOMTokenList representing the class names of the element.
## Related specifications
[WHATWG DOM](http://dom.spec.whatwg.org/)
: Living Standard
[DOM4](http://www.w3.org/TR/dom/)
: Working Draft
## See also
### Related pages
- HTMLElement[HTMLElement](/dom/HTMLElement)
| 24.338983 | 162 | 0.732591 | eng_Latn | 0.861134 |
243c7ce28d400a57a2cbd51fcd4d6f271bd17816 | 657 | md | Markdown | README.md | aaditya25/react-redux-registration-login-qa-challenge-Adding-Project-and-Test | f73f78cde528a42a71a9ec15863c42411f59ddd6 | [
"MIT"
] | 2 | 2021-03-01T17:54:17.000Z | 2021-07-13T21:52:13.000Z | README.md | aaditya25/react-redux-registration-login-qa-challenge | f73f78cde528a42a71a9ec15863c42411f59ddd6 | [
"MIT"
] | null | null | null | README.md | aaditya25/react-redux-registration-login-qa-challenge | f73f78cde528a42a71a9ec15863c42411f59ddd6 | [
"MIT"
] | null | null | null | # react-redux-registration-login-qa-challenge
## QA Challenge using Testcafe
### Steps for running the test case
1. Clone the repository 'react-redux-registration-login-qa-challenge' from Github into your local directory
2. Run 'npm install' command for installing all the dependencies
3. Install 'concurrently' tool using command 'npm i concurrently' as we want to run react project and tests cncurrently
4. Run command 'npm run test' to run the tests
5. The react project will also run at the backend so once the tests are completed user needs to manually exit
Note:
1. Tests are placed in 'acceptance tests' folder
2. Used default testcafe reporter
| 46.928571 | 119 | 0.78691 | eng_Latn | 0.996969 |
243cb2da90a7149d493eec66ab3b0df12ae5ea29 | 890 | md | Markdown | _posts/Cancellation Updates/2021-09-24-232032-update.md | josh-justjosh/parkrun-Cancellations | e7b3b9098a8cdccafed4ac212195fec3289a980d | [
"MIT"
] | 1 | 2021-06-26T07:20:58.000Z | 2021-06-26T07:20:58.000Z | _posts/Cancellation Updates/2021-09-24-232032-update.md | josh-justjosh/parkrun-Cancellations | e7b3b9098a8cdccafed4ac212195fec3289a980d | [
"MIT"
] | 8 | 2021-06-22T23:08:57.000Z | 2021-09-05T09:11:26.000Z | _posts/Cancellation Updates/2021-09-24-232032-update.md | josh-justjosh/parkrun-Cancellations | e7b3b9098a8cdccafed4ac212195fec3289a980d | [
"MIT"
] | null | null | null | ---
layout: post
title: 2021/09/24 23:20 UTC Update
date: 2021-09-24 23:20:32 +0000
author: Cancellations Bot
category: 'Cancellation Update'
---
<h3>New Cancellations</h3>
<div class='hscrollable'>
<table style='width: 100%'>
<tr>
<th>Event</th>
<th>Country</th>
<th>Cancellation Note</th>
</tr>
<tr>
<td><a href="https://www.parkrun.org.uk/bexley">Bexley parkrun</a></td>
<td>United Kingdom</td>
<td>Key section of route closed due to works</td>
</tr>
<tr>
<td><a href="https://www.parkrun.com.au/geeveston">Geeveston parkrun</a></td>
<td>Australia</td>
<td>Icy paths</td>
</tr>
<tr>
<td><a href="https://www.parkrun.org.uk/reading">Reading parkrun</a></td>
<td>United Kingdom</td>
<td>No parking due to ongoing TVP Drive roadworks</td>
</tr>
</table>
</div>
| 26.176471 | 85 | 0.58427 | yue_Hant | 0.399345 |
243d5575a7cf44e46c99f12087ebd67fb01276e1 | 1,028 | md | Markdown | README.md | crux/ascii-tracker | 32c4147d3558aed969ddde5509b688a37dc6a749 | [
"MIT"
] | null | null | null | README.md | crux/ascii-tracker | 32c4147d3558aed969ddde5509b688a37dc6a749 | [
"MIT"
] | null | null | null | README.md | crux/ascii-tracker | 32c4147d3558aed969ddde5509b688a37dc6a749 | [
"MIT"
] | null | null | null | # ASCII Timecard tracking
Text file based time tracking, no web app, no mouse clicking.
## Installation
Install it as:
$ gem install ascii-tracker
## Usage
TODO: Write usage instructions here
Example: render report of lasts month activties to stdout:
$ atracker scan ~/.timecard report last-month txt
*processing steps*
- scan
for `scan` you can use a single filename, a comma seperated list or even a
wildcard regex pattern. When using a regexp pattern you must escape it from
the shell, e.G.: ... scan "\*.txt"
- include
remove all groups which are not in the include list, e.g: .. include foo,bar ...
## Options
--outfile=<path> for reports written to file <default to $stdout>
--delimiter=. floating point printing <defaults to ','>
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
| 23.906977 | 80 | 0.702335 | eng_Latn | 0.989843 |
243d6f2ff46257f87df5bf7cd6d182ed37f600af | 1,095 | md | Markdown | src/content/blog/au_boulot/index.md | mattborghi/francais | d30164a88b1eb9b28e3ff4c409336b1301f8a5df | [
"MIT"
] | null | null | null | src/content/blog/au_boulot/index.md | mattborghi/francais | d30164a88b1eb9b28e3ff4c409336b1301f8a5df | [
"MIT"
] | 73 | 2020-12-24T07:39:02.000Z | 2022-02-27T22:14:20.000Z | src/content/blog/au_boulot/index.md | mattborghi/francais | d30164a88b1eb9b28e3ff4c409336b1301f8a5df | [
"MIT"
] | null | null | null | ---
layout: post
title: Au boulot!
image: ../../img/classe.jpg
author: [Matias Borghi]
date: 2021-03-13T07:03:47.149Z
tags:
- 'Vocabulaire'
- 'B1'
---
> Les clés de la réussite au bac et d’arriver un peu plus détendu
## Boîte à mots
### L’organisation
- s’organiser
- les clés de la réussite
- avoir une bonne méthode
- faire/tenir/s’établir un planning, un emploi du temps
- se ménager des plages de + nom(respiration, détente, travail...). en mangeant bien en respirant à fond.
### Le stress
- ètre stressé(e)/détendu(e)
- le stress monte
- alterner (travail et détente)
- se détendre
- souffler
- récupérer
- avoir une bonne hygiène de vie
### L’apprentissage
- travailler tout au long de l’année/regulièrement/au dernier moment
- réviser (une matière, un chapitre)
- les révisions
- reprendre (une matiére, un chapitre)
- bien travailler/ne rien faire
- rattraper
- être concentré(e)
- faire des fiches
- mémoriser
## J moins X
> C’est la bonne méthode bon mais si à **j moins 15** on se dit qu’on l’a pas fait voilà.
Plus d'info ici: https://jmoins.fr/ | 21.9 | 105 | 0.694064 | fra_Latn | 0.94783 |
243d881495d33e42add722d2c94f1128fa1b4aaa | 72 | md | Markdown | README.md | KonstantinPreis/PythonWinter2015-initial | e4d54bf2cf9ec0a7c4b42ebe33087c7ef9ed0358 | [
"Unlicense"
] | null | null | null | README.md | KonstantinPreis/PythonWinter2015-initial | e4d54bf2cf9ec0a7c4b42ebe33087c7ef9ed0358 | [
"Unlicense"
] | null | null | null | README.md | KonstantinPreis/PythonWinter2015-initial | e4d54bf2cf9ec0a7c4b42ebe33087c7ef9ed0358 | [
"Unlicense"
] | null | null | null | # PythonWinter2015-initial
initial dummy repo.
It is really not dummy.
| 14.4 | 26 | 0.791667 | eng_Latn | 0.997411 |
243dac84b31977d1edaf0f9c8e2a9a0af22e84a0 | 4,406 | md | Markdown | sdk-api-src/content/gdiplusimageattributes/nf-gdiplusimageattributes-imageattributes-setwrapmode.md | amorilio/sdk-api | 54ef418912715bd7df39c2561fbc3d1dcef37d7e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | sdk-api-src/content/gdiplusimageattributes/nf-gdiplusimageattributes-imageattributes-setwrapmode.md | amorilio/sdk-api | 54ef418912715bd7df39c2561fbc3d1dcef37d7e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | sdk-api-src/content/gdiplusimageattributes/nf-gdiplusimageattributes-imageattributes-setwrapmode.md | amorilio/sdk-api | 54ef418912715bd7df39c2561fbc3d1dcef37d7e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
UID: NF:gdiplusimageattributes.ImageAttributes.SetWrapMode
title: ImageAttributes::SetWrapMode (gdiplusimageattributes.h)
description: The ImageAttributes::SetWrapMode method sets the wrap mode of this ImageAttributes object.
helpviewer_keywords: ["ImageAttributes class [GDI+]","SetWrapMode method","ImageAttributes.SetWrapMode","ImageAttributes::SetWrapMode","SetWrapMode","SetWrapMode method [GDI+]","SetWrapMode method [GDI+]","ImageAttributes class","_gdiplus_CLASS_ImageAttributes_SetWrapMode_wrap_color_clamp_","gdiplus._gdiplus_CLASS_ImageAttributes_SetWrapMode_wrap_color_clamp_"]
old-location: gdiplus\_gdiplus_CLASS_ImageAttributes_SetWrapMode_wrap_color_clamp_.htm
tech.root: gdiplus
ms.assetid: VS|gdicpp|~\gdiplus\gdiplusreference\classes\imageattributesclass\imageattributesmethods\setwrapmode.htm
ms.date: 12/05/2018
ms.keywords: ImageAttributes class [GDI+],SetWrapMode method, ImageAttributes.SetWrapMode, ImageAttributes::SetWrapMode, SetWrapMode, SetWrapMode method [GDI+], SetWrapMode method [GDI+],ImageAttributes class, _gdiplus_CLASS_ImageAttributes_SetWrapMode_wrap_color_clamp_, gdiplus._gdiplus_CLASS_ImageAttributes_SetWrapMode_wrap_color_clamp_
req.header: gdiplusimageattributes.h
req.include-header: Gdiplus.h
req.target-type: Windows
req.target-min-winverclnt: Windows XP, Windows 2000 Professional [desktop apps only]
req.target-min-winversvr: Windows 2000 Server [desktop apps only]
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: Gdiplus.lib
req.dll: Gdiplus.dll
req.irql:
targetos: Windows
req.typenames:
req.redist:
req.product: GDI+ 1.0
ms.custom: 19H1
f1_keywords:
- ImageAttributes::SetWrapMode
- gdiplusimageattributes/ImageAttributes::SetWrapMode
dev_langs:
- c++
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- Gdiplus.dll
api_name:
- ImageAttributes.SetWrapMode
---
# ImageAttributes::SetWrapMode
## -description
The <b>ImageAttributes::SetWrapMode</b> method sets the wrap mode of this
<a href="/windows/desktop/api/gdiplusimageattributes/nl-gdiplusimageattributes-imageattributes">ImageAttributes</a> object.
## -parameters
### -param wrap [in]
Type: <b><a href="/windows/desktop/api/gdiplusenums/ne-gdiplusenums-wrapmode">WrapMode</a></b>
Element of the <a href="/windows/desktop/api/gdiplusenums/ne-gdiplusenums-wrapmode">WrapMode</a> enumeration that specifies how repeated copies of an image are used to tile an area.
### -param color [in, ref, optional]
Type: <b>const <a href="/windows/desktop/api/gdipluscolor/nl-gdipluscolor-color">Color</a></b>
Reference to a <a href="/windows/desktop/api/gdipluscolor/nl-gdipluscolor-color">Color</a> object that specifies the color of pixels outside of a rendered image. This color is visible if the <i>wrap</i> parameter is set to <a href="/windows/desktop/api/gdiplusenums/ne-gdiplusenums-wrapmode">WrapModeClamp</a> and the source rectangle passed to <a href="/previous-versions/ms536037(v=vs.85)">DrawImage</a> is larger than the image itself. The default value is Color(), which is a <b>Color</b> object initialized to black.
### -param clamp [in, optional]
Type: <b>BOOL</b>
This parameter has no effect in GDI+ version 1.0. Set this parameter to <b>FALSE</b>. The default value is <b>FALSE</b>.
## -returns
Type: <b><a href="/windows/desktop/api/gdiplustypes/ne-gdiplustypes-status">Status</a></b>
If the method succeeds, it returns <a href="/windows/desktop/api/gdiplustypes/ne-gdiplustypes-status">Ok</a>, which is an element of the <b>Status</b> enumeration.
If the method fails, it returns one of the other elements of the <a href="/windows/desktop/api/gdiplustypes/ne-gdiplustypes-status">Status</a> enumeration.
## -see-also
<a href="/windows/desktop/api/gdiplusheaders/nl-gdiplusheaders-bitmap">Bitmap</a>
<a href="/windows/desktop/api/gdipluscolor/nl-gdipluscolor-color">Color</a>
<a href="/windows/desktop/api/gdiplusheaders/nl-gdiplusheaders-image">Image</a>
<a href="/windows/desktop/api/gdiplusimageattributes/nl-gdiplusimageattributes-imageattributes">ImageAttributes</a>
<a href="/windows/desktop/api/gdiplusheaders/nl-gdiplusheaders-metafile">Metafile</a>
<a href="/windows/desktop/gdiplus/-gdiplus-recoloring-use">Recoloring</a>
<a href="/windows/desktop/api/gdiplusenums/ne-gdiplusenums-wrapmode">WrapMode</a> | 39.693694 | 521 | 0.786882 | eng_Latn | 0.186001 |
243dea9b5362b271d220623291c146af3a431655 | 17,709 | md | Markdown | _posts/2018-02-18-download-rom-miuipro-v92-update-semua-tipe-ponsel.md | mifansLA/miFans | 9e2cbb907c547acf1b6b9167eaf4102d2ef98ca8 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | _posts/2018-02-18-download-rom-miuipro-v92-update-semua-tipe-ponsel.md | mifansLA/miFans | 9e2cbb907c547acf1b6b9167eaf4102d2ef98ca8 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | _posts/2018-02-18-download-rom-miuipro-v92-update-semua-tipe-ponsel.md | mifansLA/miFans | 9e2cbb907c547acf1b6b9167eaf4102d2ef98ca8 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | ---
title: Download Links ★ ROM MiuiPRO 9.2 Stable ★ All Devices
excerpt: "Informasi link unduh update MiuiPRO (MIUI 9.2) dan rekomendasi install Miui PRO"
header:
teaser: /assets/image/miuipro-92.jpg
category:
- MiuiPRO 9.2
tags:
- Download MiuiPro
- MiuiPro 9.2
- MiuiPro Stable
last_modified_at: 2018-02-27
og_image: /assets/image/miuipro-92.jpg
---
**ROM MIUI Pro 9.2 Stable** ini dibangun oleh developer Belarusia berdasarkan ROM MIUI 9.2 China Stable. Meskipun begitu, ROM MIUI ini sudah di modifikasi sehingga **bloatware app china** sudah dihilangkan. Termasuk ROM/Firmware patch terbaru dari **MiuiPro**, juga pembaruan **Magisk** juga fitur tambahan (tab fitur) seperti **FaceId** untuk tipe ponsel yang didukung.
<figure class="align-center"><img alt="ROM MiuiPRO 9.2 Stable" src="/assets/image/miuipro-92.jpg"/><figcaption>ROM MiuiPRO 9.2 Stable</figcaption></figure>
Jika kamu bertanya-tanya kenapa MiuiPro tidak menggunakan ROM Global Stable, maka jawabannya adalah karena ROM China Stable **rilis lebih awal**. Sehingga proses modifikasi bisa lebih cepat jika dibanding menunggu rilis versi stabil.
Langsung saja, berikut ini daftar link download miuipro 9.2 terbaru yang bisa kamu unduh langsung, baik dari **server official MiuiPro** (bukan server Xiaomi) maupun Google Drive (di upload oleh official miuipro) jika tersedia.
> **Akan di-update jika ada rom stable baru sudah dirilis** (lihat catatan tanggal update-nya).
> Untuk mengunduh dari ponsel kamu bisa menggunakan ADM (Advanced Download Manager) yang bisa kamu unduh [dari sini](/menghindari-file-korup-dengan-aplikasi-advanced-download-manager){:rel="noopener" target="_blank"}
## MiuiPro Stable 9.2.6.0 untuk Redmi 4A
> Catatan: Update 25 Februari 2018 dibangun dari **ROM Global Stable** berdasarkan Android 7.1.2
| Device | Codename | Versi |
| Fitur | Official | Mirror |
|------|:------:|:------|
| Redmi 4A | rolex | v9.2.6.0 |
| FaceID | [miuipro](/miuipro?device=xiaomi_mi4c&name=miuipro_v7.0_libra_v9.2.2.0_NXKCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1xAqznCklw5zPhj6x8iK1VVG1159u9jpJ){:.btn.btn--primary} |
> lihat [panduan install](#langkah-instalasi-miuipro)
## MiuiPro Stabil 9.2.2.0 untuk Mi5s, Mi Note2, MiMax2
> Catatan: Update 24 Februari 2018
| Device | Codename | Versi |
| Fitur | Official | Mirror |
|------|:------:|:------|
| Mi 5s | capricorn | v9.2.2.0 |
| FaceID | [miuipro](/miuipro?device=xiaomi_mi5s&name=miuipro_v7.0_capricorn_v9.2.2.0_NAGCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1hczMt2XTr6bNDAn_nhdS-fmXAdoxsuDB&name=miuipro_v7.0_capricorn_v9.2.2.0_NAGCNEK.zip){:.btn.btn--primary} |
| Mi Note 2 | scorpio | v9.2.2.0 |
| FaceID | [miuipro](/miuipro?device=xiaomi_mi_note_2&name=miuipro_v7.0_scorpio_v9.2.2.0_NADCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1MAcK9iManwK09NAiYhL3Q07x0MTkfskO&name=miuipro_v7.0_scorpio_v9.2.2.0_NADCNEK.zip){:.btn.btn--primary} |
| Mi Max 2 | oxygen | v9.2.2.0 |
| FaceID | [miuipro](/miuipro?device=xiaomi_mi_max_2&name=miuipro_v7.1.1_oxygen_v9.2.2.0_NDDCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=11-GqLQcjYBxXC5rWbrPen2InmoKfuVsU&name=miuipro_v7.1.1_oxygen_v9.2.2.0_NDDCNEK.zip){:.btn.btn--primary} |
> lihat [panduan install](#langkah-instalasi-miuipro)
## MiuiPro Stable 9.2.2.0 untuk Mi 4c, Mi4s, Redmi 3, Redmi 3s, MiMix, Lenovo s90a dan Asus ZenFone Max
> Catatan: Update 22 Februari 2018
| Device | Codename | Versi |
| Fitur | Official | Mirror |
|------|:------:|:------|
| Mi 4c | libra | v9.2.2.0 |
| FaceID | [miuipro](/miuipro?device=xiaomi_mi4c&name=miuipro_v7.0_libra_v9.2.2.0_NXKCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1xAqznCklw5zPhj6x8iK1VVG1159u9jpJ&name=miuipro_v7.0_libra_v9.2.2.0_NXKCNEK.zip){:.btn.btn--primary} |
| Mi 4s | aqua | v9.2.2.0 |
| FaceID | [miuipro](/miuipro?device=xiaomi_mi4s&name=miuipro_v7.0_aqua_v9.2.2.0_NAJCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1KYeyHRmjxPndNrnSa81pu1kSwRz-R3nq&name=miuipro_v7.0_aqua_v9.2.2.0_NAJCNEK.zip){:.btn.btn--primary} |
| Redmi 3 | ido | v9.2.2.0 |
| FaceID | [miuipro](/miuipro?device=xiaomi_redmi_3&name=miuipro_v5.1.1_ido_v9.2.2.0_LAICNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1Hw6j9TH4552yjjhaTn676n7u-fLCPlUt){:.btn.btn--primary} |
| Redmi 3s | land | v9.2.2.0 |
| FaceID | [miuipro](/miuipro?device=xiaomi_redmi_3s&name=miuipro_v6.0.1_land_v9.2.2.0_MALCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1pVAeyfz1UA0pOloiJxs0EqF-VjCpaNUJ&name=miuipro_v6.0.1_land_v9.2.2.0_MALCNEK.zip){:.btn.btn--primary} |
| MiMix | lithium | v9.2.2.0 |
| FaceID | [miuipro](/miuipro?device=xiaomi_mi_mix&name=miuipro_v7.0_lithium_v9.2.2.0_NAHCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1Lz4NgVwODZhk_TMFESGD2WZo0W6-JwQ-&name=miuipro_v7.0_lithium_v9.2.2.0_NAHCNEK.zip){:.btn.btn--primary} |
| Lenovo s90a | sisleyr | v.9.2.2.0 |
| - | [miuipro](/miuipro?device=lenovo_s90a&name=miuipro_v5.1.1_sisleyr_v9.2.2.0_LAICNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1aU1DPBeDG_YSLu_kEMPLMSh-UhTN7BK1&name=miuipro_v5.1.1_sisleyr_v9.2.2.0_LAICNEK.zip){:.btn.btn--primary} |
| Asus ZenFone Max | zc550kl | v9.2.2.0 |
| - | [miuipro](/miuipro?device=asus_zenfone_max&name=miuipro_v5.1.1_ZC550KL_v9.2.2.0_LAICNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1OEjAZ4VTf4Z2o6c5-u0IItEnGNq3ovIY&name=miuipro_v5.1.1_ZC550KL_v9.2.2.0_LAICNEK.zip){:.btn.btn--primary} |
> lihat [panduan install](#langkah-instalasi-miuipro)
## MiuiPro Stabil 9.2.2.0 untuk Mi 4i
> Catatan: Update 16 Februari 2018
| Device | Codename | Versi |
| Fitur | Official | Mirror |
|------|:------:|:------|
| Mi 4i | ferrari | v. 9.2.2.0 |
| FaceID | [miuipro](/miuipro?device=xiaomi_mi4i&name=miuipro_v5.0.2_ferrari_v9.2.2.0_LXIMIEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1X6qGZjGSJrRmOMsufy-l4qCmavibbwiL&name=miuipro_v5.0.2_ferrari_v9.2.2.0_LXIMIEK.zip){:.btn.btn--primary} |
> lihat [panduan install](#langkah-instalasi-miuipro)
## MiuiPro Stabil 9.2.3.0 untuk Mi 3/4 WCDMA
> Catatan: Update 15 Februari 2018
| Device | Codename | Versi |
| Fitur | Official | Mirror |
|------|:------:|:------:|
| Mi 3/4 WCDMA | cancro | v9.2.3.0 |
| - | [miuipro](/miuipro?device=xiaomi_mi3_mi4_wcdma&name=miuipro_v6.0.1_cancro_v9.2.3.0_MXDCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1g8HqD46YuA3Ae5Ls92x53iIiLtnACglS&name=miuipro_v6.0.1_cancro_v9.2.3.0_MXDCNEK.zip){:.btn.btn--primary} |
> lihat [panduan install](#langkah-instalasi-miuipro)
## MiuiPro Stabil 9.2.x.0 untuk Redmi 5a, Redmi 5 Plus dan Mi 4i
> Catatan: Update 03 Februari 2018
| Device | Codename | Versi |
| Fitur | Official | Mirror |
|------|:------:|:------:|
| Redmi 5 Plus | vince | v9.2.3.0 |
| - | [miuipro](/miuipro?device=xiaomi_redmi_5_plus&name=miuipro_v7.1.2_vince_v9.2.3.0_NEGCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=16pqe8jy1GEWPjkGYQdDcFDJE_on636qN&name=miuipro_v7.1.2_vince_v9.2.3.0_NEGCNEK.zip){:.btn.btn--primary} |
| Redmi 5a | riva | v9.2.4.0 |
| - | [miuipro](/miuipro?device=xiaomi_redmi_5a&name=miuipro_v7.1.2_riva_v9.2.4.0_NCKCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1iCeOB-NRYQGFEIKPQLVP1pOUugAIZD7C&name=miuipro_v7.1.2_riva_v9.2.4.0_NCKCNEK.zip){:.btn.btn--primary} |
| Mi 4i | ferrari | v. 9.2.1.0 |
| - | [miuipro](/miuipro?device=xiaomi_mi4i&name=miuipro_v5.0.2_ferrari_v9.2.1.0_LXIMIEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1ccVnfPygfZmde-d4bb1zlXpYA_DpQsa_&name=miuipro_v5.0.2_ferrari_v9.2.1.0_LXIMIEK.zip){:.btn.btn--primary} |
> lihat [panduan install](#langkah-instalasi-miuipro)
## MiuiPro Stable 9.2.x.0 untuk Redmi Note 2, Redmi Note 3, Redmi Note 4x, Redmi Note 5a, Redmi Note 5a Prime, Redmi 4x, MiMix 2
> Catatan: Update 02 Februari 2018
| Device | Codename | Versi |
| Fitur | Official | Mirror |
|------|:------:|:------:|
| Redmi Note 2 | hermes | v9.2.3.0 |
| - | [miuipro](/miuipro?device=xiaomi_redmi_note_2&name=miuipro_v5.0.2_hermes_v9.2.3.0_LHMCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1kXzbAsgt08ZgTI8Nu2z4j9WMuaw61yTo&name=miuipro_v5.0.2_hermes_v9.2.3.0_LHMCNEK.zip){:.btn.btn--primary} |
| Redmi Note 3 | hennessy | v9.2.3.0 |
| - | [miuipro](/miuipro?device=xiaomi_redmi_note_3&name=miuipro_v5.0.2_hennessy_v9.2.3.0_LHNCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1896t5-HHEDVwhv-2Ja9V5vogvF36PdqE&name=miuipro_v5.0.2_hennessy_v9.2.3.0_LHNCNEK.zip){:.btn.btn--primary} |
| Redmi Note 4X | mido | v9.2.1.0 |
| - | [miuipro](/miuipro?device=xiaomi_redmi_note_4x_(3_32)&name=miuipro_v7.0_mido_v9.2.1.0_NCFCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1cW58qJDPrRH4NKrv1vHVop8mF2LSYoyz&name=miuipro_v7.0_mido_v9.2.1.0_NCFCNEK.zip){:.btn.btn--primary} |
| Redmi Note 5A | ugglite | v9.2.1.0 |
| - | [miuipro](/miuipro?device=xiaomi_redmi_note_5a&name=miuipro_v7.1.2_ugglite_v9.2.1.0_NDFCNEK.zip){:.btn.btn--primary} | [google](/dl/1gNWIpdv5F-oRYk7XvqGIFzlIzeiR8DUj&name=miuipro_v7.1.2_ugglite_v9.2.1.0_NDFCNEK.zip){:.btn.btn--primary} |
| Redmi Note 5A Prime | ugg | v9.2.1.0 |
| - | [miuipro](/miuipro?device=xiaomi_redmi_note_5a_prime&name=miuipro_v7.1.2_ugg_v9.2.1.0_NDKCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=10tjxf4x4fGCWDn2tF-TC9ZAg-BhNTuHc&name=miuipro_v7.1.2_ugg_v9.2.1.0_NDKCNEK.zip){:.btn.btn--primary} |
| - |
| Redmi 4X | santoni | v9.2.1.0 |
| - | [miuipro](/miuipro?device=xiaomi_redmi_4x&name=miuipro_v7.1.2_santoni_v9.2.1.0_NAMCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1cCuVABNKY6sT0iePkKro_AMIcgxTs7Ou&name=miuipro_v7.1.2_santoni_v9.2.1.0_NAMCNEK.zip){:.btn.btn--primary} |
| MiMix 2 | chiron | v9.2.5.0 |
| - | [miuipro](/miuipro?device=xiaomi_mi_mix_2&name=miuipro_v7.1.1_chiron_v9.2.5.0_NDECNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=11GhOVcFsPVaFRlIBMRjkhdQS2Hm2kgJk&name=miuipro_v7.1.1_chiron_v9.2.5.0_NDECNEK.zip){:.btn.btn--primary} |
> lihat [panduan install](#langkah-instalasi-miuipro)
## MiuiPro Stable 9.2.x.0 untuk Redmi 2 Prime TD, Redmi 5, Mi 5, Mi 5x, Mi 6, Mi Note 3
> Catatan: Update 31 Januari 2018
| Device | Codename | Versi |
| Fitur | Official | Mirror |
|------|:------:|:------:|
| Redmi 2 Prime TD | wt86047 | v9.2.3.0 |
| - | [miuipro](/miuipro?device=xiaomi_redmi_2_pro_td&name=miuipro_v5.1.1_wt86047_v9.2.3.0_LHJCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1SKq_jnUIpnPflseL_-s-MUkdx5j4jNj1&name=miuipro_v5.1.1_wt86047_v9.2.3.0_LHJCNEK.zip){:.btn.btn--primary} |
| Redmi 5 | rosy | v9.2.2.0 |
| Faceid | [miuipro](/miuipro?device=xiaomi_redmi_5&name=miuipro_v7.1.2_rosy_v9.2.2.0_NDACNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1seLn6N3Y4vD3f-LTcRFBByCDMFwT1imp&name=miuipro_v7.1.2_rosy_v9.2.2.0_NDACNEK.zip){:.btn.btn--primary} |
| Mi 5 | gemini | v9.2.2.0 |
| Faceid | [miuipro](/miuipro?device=xiaomi_mi5&name=miuipro_v7.0_gemini_v9.2.2.0_NAACNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1shrQg0ljQbH3Wh8Jz4_gcORYAcy8D5Gl&name=miuipro_v7.0_gemini_v9.2.2.0_NAACNEK.zip){:.btn.btn--primary} |
| Mi 5x | tiffany | v9.2.1.0 |
| Faceid | [miuipro](/miuipro?device=xiaomi_mi_5x&name=miuipro_v7.1.2_tiffany_v9.2.1.0_NDBCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1nXHFEzB-YM8KWyXQSZteuREs7tpPLn3r&name=miuipro_v7.1.2_tiffany_v9.2.1.0_NDBCNEK.zip){:.btn.btn--primary} |
| Mi 6 | sagit | v9.2.4.0 |
| Faceid | [miuipro](/miuipro?device=xiaomi_mi6&name=miuipro_v7.1.1_sagit_v9.2.4.0_NCACNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1SpLmdbaLAg5JyDMCPBJP9UiYYDspboYf&name=miuipro_v7.1.1_sagit_v9.2.4.0_NCACNEK.zip){:.btn.btn--primary} |
| Mi Note 3 | jason | v9.2.2.0 |
| Faceid | [miuipro](/dl/miuipro?device=mi_note_3&name=miuipro_v7.1.1_jason_v9.2.2.0_NCHCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1YPJuKI0pILlDR3Q_7K0eimmbZ6eeepmc&name=miuipro_v7.1.1_jason_v9.2.2.0_NCHCNEK.zip){:.btn.btn--primary} |
> lihat [panduan install](#langkah-instalasi-miuipro)
## MiuiPro Stable 9.2.1.0, 9.2.3.0, 9.2.4.0 untuk Mi 5c, MiNote, MiNote Pro, Redmi 2 Prime WC, Mi 2s, Redmi 4
> Catatan: Update 29 Januari 2018
| Device | Codename | Versi |
| Fitur | Official | Mirror |
|------|:------:|:------:|
| Mi 5c | song | v9.2.1.0 |
| Faceid | [miuipro](/miuipro?device=xiaomi_mi5c&name=miuipro_v7.1.2_song_v9.2.1.0_NCJCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1SCJmzTq3mesWFt-CrhXc_CnEnuMS4O7a&name=miuipro_v7.1.2_song_v9.2.1.0_NCJCNEK.zip){:.btn.btn--primary} |
| MiNote | virgo | v9.2.3.0 |
| - | [miuipro](/miuipro?device=xiaomi_mi_note&name=miuipro_v6.0.1_virgo_v9.2.3.0_MXECNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1aXu33WcNS4HTrk6URWMNpT-XIzK-jYzt&name=miuipro_v6.0.1_virgo_v9.2.3.0_MXECNEK.zip){:.btn.btn--primary} |
| MiNote Pro | leo | v9.2.3.0 |
| Faceid | [miuipro](/miuipro?device=xiaomi_mi_note_pro&name=miuipro_v7.0_leo_v9.2.3.0_NXHCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1EmJ8QIYD5oSwYW3fdlfQHnXQ6XcXC54z&name=miuipro_v7.0_leo_v9.2.3.0_NXHCNEK.zip){:.btn.btn--primary} |
| Mi 2s | aries | v9.2.3.0 |
| - | [miuipro](/miuipro?device=xiaomi_mi2_2s&name=miuipro_v5.0.2_aries_v9.2.3.0_LXACNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1mSbj008F4cEMwPlAqow5u78Vd0-11QPt&name=miuipro_v5.0.2_aries_v9.2.3.0_LXACNEK.zip){:.btn.btn--primary} |
| Redmi 2 Prime WC | wt88047| v9.2.3.0 |
| - | [miuipro](/miuipro?device=xiaomi_redmi_2_pro_w&name=miuipro_v5.1.1_wt88047_v9.2.3.0_LHJCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1UEqN8p2vjvU1FLsqI3kny8wQrtzeetZz&name=miuipro_v5.1.1_wt88047_v9.2.3.0_LHJCNEK.zip){:.btn.btn--primary} |
| Redmi 4 | prada | v9.2.4.0 |
| Faceid | [miuipro](/miuipro?device=xiaomi_redmi_4_(2_16)&name=miuipro_v6.0.1_prada_v9.2.4.0_MCECNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1_5-DXXPBLWrwOB2M-Mva_1vyb4Qr9UHZ&name=miuipro_v6.0.1_prada_v9.2.4.0_MCECNEK.zip){:.btn.btn--primary} |
> lihat [panduan install](#langkah-instalasi-miuipro)
## MiuiPro Stable 9.2.1.0, 9.2.2.0, 9.2.3.0 untuk Mi 5s, Mi 5s Plus, MiMax2, Redmi Note3 Pro, Redmi Note 3 Pro SE dan Mi 6
> Catatan: Update 28 Januari 2018
| Device | Codename | Versi |
| Fitur | Official | Mirror |
|------|:------:|:------:|
| Mi 6 | sagit | v9.2.3.0 |
| FaceId | [miuipro](/miuipro?device=xiaomi_mi6&name=miuipro_v7.1.1_sagit_v9.2.3.0_NCACNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1mzP6ofd75SwLZZzQCHFFTvfKu7rKpNiH&name=miuipro_v7.1.1_sagit_v9.2.3.0_NCACNEK.zip){:.btn.btn--primary} |
| Redmi Note 3 Pro SE | kate | v9.2.2.0 |
| FaceId | [miuipro](/miuipro?device=xiaomi_redmi_note_3_pro_se&name=miuipro_v6.0.1_kate_v9.2.2.0_MHOCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1whxMAinE3LjtBXnP6VlrlTjsV54Dbs22&name=miuipro_v6.0.1_kate_v9.2.2.0_MHOCNEK.zip){:.btn.btn--primary} |
| Mi 5s | capricorn | v9.2.1.0 |
| FaceId | [miuipro](/miuipro?device=xiaomi_mi5s&name=miuipro_v7.0_capricorn_v9.2.1.0_NAGCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1vb7BtYfWy2c2qhw67_VIOoc9tZYu2kkE&name=miuipro_v7.0_capricorn_v9.2.1.0_NAGCNEK.zip){:.btn.btn--primary} |
| Mi 5s Plus | natrium | v9.2.1.0 |
| FaceId | [miuipro](/miuipro?device=xiaomi_mi5s_plus&name=miuipro_v7.0_natrium_v9.2.1.0_NBGCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=10je1PebfPwo966d28xtgj8JeATFqstLe){:.btn.btn--primary} |
| Mi Max 2 | oxygen | v9.2.1.0 |
| FaceId | [miuipro](/miuipro?device=xiaomi_mi_max_2&name=miuipro_v7.1.1_oxygen_v9.2.1.0_NDDCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1SmLrn1cO-xUAsOn6WL0yQXKGdCxJPnYX&name=miuipro_v7.0_natrium_v9.2.1.0_NBGCNEK.zip){:.btn.btn--primary} |
| Redmi Note 3 Pro | kenzo | v9.2.2.0 |
| FaceId | [miuipro](/miuipro?device=xiaomi_redmi_note_3_pro&name=miuipro_v6.0.1_kenzo_v9.2.2.0_MHOCNEK.zip){:.btn.btn--primary} | [google](/dl/drive?size=ready&id=1Se2SBnuo9CuTHG2XIt5qUU_ZFbuselsF&name=miuipro_v6.0.1_kenzo_v9.2.2.0_MHOCNEK.zip){:.btn.btn--primary} |
### Langkah instalasi MiuiPro
{% include respo.html %}
Untuk instalasi, secara umum sama dengan pemasangan Custom ROM lain seperti [Lineage OS](https://www.lineageosrom.net) atau Custom ROM lain yang membutuhkan TWRP. Untuk instruksi lanjutan bisa membaca [artikel ini](https://mi.knoacc.org/cara-panduan-pasang-rom-miui-pro-semua-xiaomi), namun berikut langkah-langkahnya secara umum dan singkat:
1. Download firmware dari situs MiuiPro atau GDrive ke memori internal atau ke kartu SD
2. Boot ke TWRP, **buat nandroid-backup**
3. Update / Fresh Install
- Saat **ganti rom** dari dev lain ke **MiuiPro**, ganti dari firmware **mingguan** (beta) ke **stabil**, dan juga dengan transisi dari **MIUI8** ke **MIUI9** harus wipe (menghapus) partisi _Cache_, _ART/Dalvik_, _sistem_ dan _data_.
- Saat **mengupdate** versi **MiuiPro**, Kamu tidak perlu melakukan _wipe_ baik itu _cache_, _ART/dalvik_ maupun partisi _sistem_. Instalasi akan berjalan otomatis. Jika dibutuhkan, dalam mide TWRP Anda bisa membersihkan folder _Android_ dan _MIUI_ di bagian pengguna (ada sisa data semua yang terinstal, termasuk sistem dan aplikasi).
4. Jalankan proses instalasi dari TWRP. Dianjurkan untuk memasang firmware hanya pada versi terbaru TWRP.
Sebagai catatan tambahan yang perlu kamu tahu, **MiuiPro tak hanya merilis ROM MIUI untuk ponsel-ponsel Xiaomi** saja. Developer MiuiPro juga merilis **Custom ROM MIUI untuk ponsel dari vendor lain seperti Lenovo, Asus dan lainnya**.
> Thank's to [Official MiuiPro](http://miuipro.by){:rel="noopener nofollow external" target="_blank"} (MIUI fans Belarus)
| 79.058036 | 370 | 0.732678 | yue_Hant | 0.229291 |
243ea743c1b695be1f48e04bf0c6366851626522 | 680 | markdown | Markdown | _posts/Baekjoon/2020-04-03-cote-baekjoon-12865.markdown | andyworkingholiday/andyworkingholiday.github.io | 5d7010fad9b0c7086b14493aaac4c23a8f8b595c | [
"MIT"
] | null | null | null | _posts/Baekjoon/2020-04-03-cote-baekjoon-12865.markdown | andyworkingholiday/andyworkingholiday.github.io | 5d7010fad9b0c7086b14493aaac4c23a8f8b595c | [
"MIT"
] | null | null | null | _posts/Baekjoon/2020-04-03-cote-baekjoon-12865.markdown | andyworkingholiday/andyworkingholiday.github.io | 5d7010fad9b0c7086b14493aaac4c23a8f8b595c | [
"MIT"
] | null | null | null | ---
layout: post
title: "[백준-12865] 평범한 배낭 "
subtitle: "알고리즘 실력기르기"
categories: cote
tags: baekjoon
---
Knapsack 알고리즘이라고도 불린다.
문제를 풀기전엔 뭐야 쉽게 풀 수 있겠네 하고 생각했지만 녹록지 않다.
기존 dp문제에서 한번 더 생각해 볼 필요가 있다.
## Code
---
```cpp
#include <iostream>
#include <algorithm>
using namespace std;
int n, k;
int w[101], v[101];
int dp[101][100001];
int main() {
scanf("%d %d", &n, &k);
for (int i = 1; i <= n; i++) {
scanf("%d %d", w + i, v + i);
}
for (int i = 1; i <= n; i++) {
for (int j = 1; j <= k; j++) {
dp[i][j] = dp[i - 1][j];
if (j - w[i] >= 0) {
dp[i][j] = max(dp[i][j], dp[i - 1][j - w[i]] + v[i]);
}
}
}
printf("%d\n", dp[n][k]);
return 0;
}
```
| 14.468085 | 57 | 0.494118 | kor_Hang | 0.85388 |
243f472894fab7b8cc63f7398133ff82a81909e8 | 5,815 | md | Markdown | README.md | jonschlinkert/github-contributors | e925f42063578557fa374706beb1464c80aa760e | [
"MIT"
] | 17 | 2015-03-31T16:15:51.000Z | 2022-03-01T13:43:40.000Z | README.md | Hackthings/github-contributors | e925f42063578557fa374706beb1464c80aa760e | [
"MIT"
] | 1 | 2018-07-09T14:09:39.000Z | 2018-07-09T15:38:24.000Z | README.md | Hackthings/github-contributors | e925f42063578557fa374706beb1464c80aa760e | [
"MIT"
] | 22 | 2016-03-25T20:31:36.000Z | 2021-08-14T18:06:57.000Z | # github-contributors [](https://www.npmjs.com/package/github-contributors) [](https://npmjs.org/package/github-contributors) [](https://travis-ci.org/jonschlinkert/github-contributors)
> Generate a markdown or JSON list of contributors for a project using the GitHub API.
## Install
Install with [npm](https://www.npmjs.com/):
```sh
$ npm install --save github-contributors
```
## Usage
```js
var contributors = require('github-contributors');
var repo = 'assemble/assemble';
var opts = {};
contributors(repo, opts, function(err, res) {
if (err) console.log(err);
// do stuff with res
});
```
### Contributors
The response is an array of contributor objects with this format:
```js
[{ login: 'doowb',
id: 995160,
avatar_url: 'https://avatars.githubusercontent.com/u/995160?v=3',
gravatar_id: '',
url: 'https://api.github.com/users/doowb',
html_url: 'https://github.com/doowb',
followers_url: 'https://api.github.com/users/doowb/followers',
following_url: 'https://api.github.com/users/doowb/following{/other_user}',
gists_url: 'https://api.github.com/users/doowb/gists{/gist_id}',
starred_url: 'https://api.github.com/users/doowb/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/doowb/subscriptions',
organizations_url: 'https://api.github.com/users/doowb/orgs',
repos_url: 'https://api.github.com/users/doowb/repos',
events_url: 'https://api.github.com/users/doowb/events{/privacy}',
received_events_url: 'https://api.github.com/users/doowb/received_events',
type: 'User',
site_admin: false,
contributions: 577 }]
```
## authentication
You can avoid hitting the GitHub rate limit by passing a client ID and client secret on the options:
```js
var opts = {id: process.env.CLIENT_ID, secret: process.env.CLIENT_SECRET};
contributors('assemble/assemble', opts, function(err, res) {
if (err) console.log(err);
// do stuff with res
});
```
## formatted list
Instead of JSON, get a markdown-formatted list by defining one of the following on `options.format`
* `list`
* `aligned`
* `table`
Here are some examples.
### list
Contributors from [jonschlinkert/micromatch](https://github.com/jonschlinkert/micromatch)
**Commits** / **Contributor**
* 253 [jonschlinkert](https://github.com/jonschlinkert)
* 4 [es128](https://github.com/es128)
* 1 [UltCombo](https://github.com/UltCombo)
* 1 [tomByrer](https://github.com/tomByrer)
### aligned list
Contributors from [jonschlinkert/gray-matter](https://github.com/jonschlinkert/gray-matter)
```bash
COMMITS / CONTRIBUTOR
------- | -----------
107 jonschlinkert
7 RobLoach
2 doowb
1 ianstormtaylor
```
### table
Contributors from [assemble/assemble](https://github.com/assemble/assemble)
| **Commits** | **Contributor**<br/> |
| --- | --- |
| 949 | [jonschlinkert](https://github.com/jonschlinkert) |
| 577 | [doowb](https://github.com/doowb) |
| 11 | [adjohnson916](https://github.com/adjohnson916) |
| 7 | [Arkkimaagi](https://github.com/Arkkimaagi) |
| 4 | [bendrucker](https://github.com/bendrucker) |
| 2 | [avr](https://github.com/avr) |
| 2 | [thegreatsunra](https://github.com/thegreatsunra) |
| 2 | [StevenBlack](https://github.com/StevenBlack) |
| 2 | [xzyfer](https://github.com/xzyfer) |
| 2 | [ain](https://github.com/ain) |
| 1 | [prettyboymp](https://github.com/prettyboymp) |
| 1 | [asans](https://github.com/asans) |
| 1 | [bauerca](https://github.com/bauerca) |
| 1 | [jordanthomas](https://github.com/jordanthomas) |
| 1 | [pburtchaell](https://github.com/pburtchaell) |
| 1 | [oncletom](https://github.com/oncletom) |
| 1 | [tomcode](https://github.com/tomcode) |
| 1 | [tylerhowarth](https://github.com/tylerhowarth) |
## About
### Related projects
* [get-pkgs](https://www.npmjs.com/package/get-pkgs): Get the package.json for an array of repos from the npm registry, optionally filtering properties… [more](https://github.com/jonschlinkert/get-pkgs) | [homepage](https://github.com/jonschlinkert/get-pkgs "Get the package.json for an array of repos from the npm registry, optionally filtering properties using glob patterns.")
* [github-base](https://www.npmjs.com/package/github-base): JavaScript wrapper that greatly simplifies working with GitHub's API. | [homepage](https://github.com/jonschlinkert/github-base "JavaScript wrapper that greatly simplifies working with GitHub's API.")
### Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
### Building docs
_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_
To generate the readme and API documentation with [verb](https://github.com/verbose/verb):
```sh
$ npm install -g verb verb-generate-readme && verb
```
### Running tests
Install dev dependencies:
```sh
$ npm install -d && npm test
```
### Author
**Jon Schlinkert**
* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
### License
Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the [MIT license](https://github.com/jonschlinkert/github-contributors/blob/master/LICENSE).
***
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.1.30, on September 09, 2016._ | 35.242424 | 441 | 0.709372 | yue_Hant | 0.217926 |
243f9d71349ec2371df5f4a2d5a294d6f69a6223 | 86 | md | Markdown | README.md | alpacasking/StrokeBasedRendering | 983c0bf5a03013a7230c92364a41e53406470b94 | [
"MIT"
] | null | null | null | README.md | alpacasking/StrokeBasedRendering | 983c0bf5a03013a7230c92364a41e53406470b94 | [
"MIT"
] | null | null | null | README.md | alpacasking/StrokeBasedRendering | 983c0bf5a03013a7230c92364a41e53406470b94 | [
"MIT"
] | null | null | null | # Stroke-Based Rendering
A Unity scriptable render pipeline of stroke-based rendering
| 28.666667 | 60 | 0.837209 | eng_Latn | 0.964115 |
244045d635f6409a8960dbe6fcd52431f40b6529 | 242 | md | Markdown | recipes/Python/273085_sample_with_replacement/README.md | tdiprima/code | 61a74f5f93da087d27c70b2efe779ac6bd2a3b4f | [
"MIT"
] | 2,023 | 2017-07-29T09:34:46.000Z | 2022-03-24T08:00:45.000Z | recipes/Python/273085_sample_with_replacement/README.md | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 32 | 2017-09-02T17:20:08.000Z | 2022-02-11T17:49:37.000Z | recipes/Python/273085_sample_with_replacement/README.md | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 780 | 2017-07-28T19:23:28.000Z | 2022-03-25T20:39:41.000Z | ## sample with replacement
Originally published: 2004-03-06 11:40:01
Last updated: 2004-03-08 00:21:23
Author: Sean Ross
For taking k random samples (with replacement) from a population, where k may be greater than len(population). | 40.333333 | 110 | 0.747934 | eng_Latn | 0.990566 |
2441827dd89474229cdd487e0ae376ab72d63157 | 1,257 | md | Markdown | IMPORT_AND_NAMESPACES.md | tesla809/rust_packt_udemy | ab7730bad57020bc15843392e4616b125b673bb6 | [
"MIT"
] | null | null | null | IMPORT_AND_NAMESPACES.md | tesla809/rust_packt_udemy | ab7730bad57020bc15843392e4616b125b673bb6 | [
"MIT"
] | null | null | null | IMPORT_AND_NAMESPACES.md | tesla809/rust_packt_udemy | ab7730bad57020bc15843392e4616b125b673bb6 | [
"MIT"
] | null | null | null | Back to main
[README](README.md)
#Import and Namespaces
**Overview**:
1. How Rust code is organized
2. Some more types
3. Build some more bigger programs
## How Rust code is organized
Rust code is organized into crates.
Crates are further organized into modules. So, crates are built up from modules.
One crates can rely on another crate.

*Crates relying on one another*
**How to import things into the namespace?**
The keyword ```use```.
```rust
```
```std``` is the standard library in Rust.
```collections``` is a module within the standard library ```std```.
```::``` plucks out an item from a group.
**Import explained**
```use std::collections::LinkedList``` means, here is a cargo package, ```std``` and we are plucking out the collections module. From that we will pluck out the LinkedList item.
**Usage explained**
```let mut ll == LinkedList::new();``` means declare a mutable binding (aka variable) called ```ll```. Remember that bindings are immutable by default. ```LinkedList::new()``` plucks out the method ```new()``` from ```LinkedList```. That method is assigned to ```ll```.
## Some more types
## Build some more bigger programs
| 20.95 | 269 | 0.698488 | eng_Latn | 0.993499 |
244361a26a2deebbeecb3e9fb3c679dc31eb9e54 | 10 | md | Markdown | README.md | ramyaed/reef | fac4a9e0c5e8bedaf70c0f0431f19e5ab87cf4d1 | [
"Unlicense"
] | null | null | null | README.md | ramyaed/reef | fac4a9e0c5e8bedaf70c0f0431f19e5ab87cf4d1 | [
"Unlicense"
] | null | null | null | README.md | ramyaed/reef | fac4a9e0c5e8bedaf70c0f0431f19e5ab87cf4d1 | [
"Unlicense"
] | null | null | null | # reef
Dd
| 3.333333 | 6 | 0.6 | eng_Latn | 0.579522 |
24437d4ff38b69976ed282b4a29c096a843a76e2 | 2,305 | md | Markdown | CONTRIBUTING.md | kodi24fever/content | 79ab97012f557a9ab920e7c863121d5f6f7df761 | [
"MIT"
] | 1 | 2021-05-21T14:18:45.000Z | 2021-05-21T14:18:45.000Z | CONTRIBUTING.md | kodi24fever/content | 79ab97012f557a9ab920e7c863121d5f6f7df761 | [
"MIT"
] | null | null | null | CONTRIBUTING.md | kodi24fever/content | 79ab97012f557a9ab920e7c863121d5f6f7df761 | [
"MIT"
] | null | null | null | # How to contribute to this project
This project was build in gatsby.js v2, you can contribute by **coding a feature**, **fixing a bug** or **writing an article**.
## If you want to contribute by `coding` or `fixing a bug`
First pick the issue that you would like to resolve from [this list](https://github.com/breatheco-de/content/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22). Please don't resolve anything that its not an issue, if you would like to propose new enhancementes or report bugs you can create the issue first to discuss it with the project mantainers and other members of the community.
Once you have the issue that you like to solve, add a comment letting anyone know that you are going to be working on it.
Fork this project and clone it to have it on your local envirnoment.
> This projects follows [the all-contributors specification](https://github.com/kentcdodds/all-contributors) and your contribution will be recognized in the main README.md of the project.
## If you would like to `write an article`
[Here you will find all the articles inside the repository](https://github.com/breatheco-de/content/tree/docs/src/content), some of them are:
- Published: already finished but you can still make small changes like fixing grammar errors.
- Draft: someone is already working on it but it's not finished yet.
- Unassigned: no one has picked that article or started working on it.
### Writing a new article
Pick of of the unasigned articles from this list and comment on the issue to start working on it.
Follow github markdown synax to write your article, we recomend using a text editor that supports markdown like stack edit.
We have also create some special icons and components that you can also use inside your article content:
#### Special Icons
[[info]]
|:link: for links of webistes with information
dsfsdf
[[warning]]
| :point_up:
to warn students about important details
[[demo]]
| :point_up: For live demos
[[info]]
| :tv: for external videos
[[info]]
| :point_up: for Aditional info
#### Before and after
Example:
```html
<before-after
before="https://ucarecdn.com/3681f907-21eb-4e0e-828e-f7e2690e8942/" after="https://ucarecdn.com/d6648701-2af4-4e2d-890c-17ed222bb66c/" />
```
#### Image
<img src="https://path/to/image.png">
| 37.786885 | 390 | 0.755748 | eng_Latn | 0.998627 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.