hexsha stringlengths 40 40 | size int64 5 1.04M | ext stringclasses 6 values | lang stringclasses 1 value | max_stars_repo_path stringlengths 3 344 | max_stars_repo_name stringlengths 5 125 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 11 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 344 | max_issues_repo_name stringlengths 5 125 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 11 | max_issues_count int64 1 116k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 344 | max_forks_repo_name stringlengths 5 125 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 11 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.04M | avg_line_length float64 1.14 851k | max_line_length int64 1 1.03M | alphanum_fraction float64 0 1 | lid stringclasses 191 values | lid_prob float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4c4f76c056d4e498c453dc4375fc0ad434b7d969 | 2,877 | md | Markdown | README.md | faqeel/udacity-fewd-travel-app | 9ac7d73deb6977789fcc5f95c92a78f91ee32917 | [
"MIT"
] | null | null | null | README.md | faqeel/udacity-fewd-travel-app | 9ac7d73deb6977789fcc5f95c92a78f91ee32917 | [
"MIT"
] | null | null | null | README.md | faqeel/udacity-fewd-travel-app | 9ac7d73deb6977789fcc5f95c92a78f91ee32917 | [
"MIT"
] | null | null | null | 
# Travel App Project
This project is for Udacity's [Front End Web Developer Nanodegree Program](https://www.udacity.com/course/front-end-web-developer-nanodegree--nd0011). It provides information about the trip the user wants to visit and helps them in planning their trip.
## Getting started
### Prerequisites
In this project we are using Node development environment. Node.js and the Node Package Manager (NPM) should be installed on the local machine.
### Environment Variables
```
PORT = the http port of the production mode to listen on. (Default: 3000)
GOENAMES_USERNAME = the username for Geonames account used to integrate with the Geonames API
WEATHERBIT_API_KEY = an API KEY used to integrate with the Weatherbit API
PIXABAY_API_KEY = an API KEY used to integrate with the Pixabay API
```
There are example environment variables in .env.example that you can copy into .env.
### Installing
To setup local development environment, clone this repo on your machine, navigate to its location in the terminal and run the command:
```
npm install
```
## Running the project
### Development mode
To start the development webpack server on port 8080, navigate to project's location in the terminal and run:
```
npm run dev
```
### Production mode
To start the express server (default port 3000), navigate to project's location in the terminal and run:
```
npm run build
```
After that,
```
npm run start
```
## Technologies
| Tech | Description |
| --------------------------------------- | ----------------------------------------------------- |
| [Node.js](https://nodejs.org/en/) | JavaScript runtime for the backend |
| [Express](https://expressjs.com/) | Server framework |
| [Axios](https://github.com/axios/axios) | Promise based HTTP client for the browser and node.js |
| [Webpack](https://webpack.js.org/) | Asset bundler |
| [Sass](https://sass-lang.com/) | Style preprocessor |
| [Jest](https://jestjs.io/) | Unit testing framework |
## Screenshots
### Search for a destination
Users can search for any destination in the world to get some information that will help them in planning their trip

### Save trip feature
Users can save the trip information on the local storage so that when they revisit the page, their information is still there

### Delete trip feature
Users can delete the trip information from the local storage

## License
This project is licensed under the MIT License - see the [LICENSE.md](./LICENSE) file for details
| 30.935484 | 252 | 0.647202 | eng_Latn | 0.975459 |
4c4ffaf0755a8a56fe770bfac18adab500189019 | 373 | md | Markdown | docs/modules/api.md | nbsolutions-ca/object | b4ba52166443a5e075cd2043d1de54f002273df8 | [
"Apache-2.0"
] | null | null | null | docs/modules/api.md | nbsolutions-ca/object | b4ba52166443a5e075cd2043d1de54f002273df8 | [
"Apache-2.0"
] | null | null | null | docs/modules/api.md | nbsolutions-ca/object | b4ba52166443a5e075cd2043d1de54f002273df8 | [
"Apache-2.0"
] | null | null | null | [@nbsolutions/object - v0.0.0](../README.md) / [Exports](../modules.md) / api
# Module: api
## Table of contents
### References
- [NBSObject](api.md#nbsobject)
- [default](api.md#default)
## References
### NBSObject
Re-exports: [NBSObject](../classes/NBSObject.NBSObject-1.md)
___
### default
Renames and exports: [NBSObject](../classes/NBSObject.NBSObject-1.md)
| 16.217391 | 77 | 0.678284 | yue_Hant | 0.645283 |
4c50274b9f5dcc8a7f970a6ed1cc4a9f9484a816 | 6,771 | md | Markdown | _pages/cv.md | jen-reeve/jen-reeve.github.io | a1aa71a21a47d33eda8430e0440f014fc977191f | [
"MIT"
] | null | null | null | _pages/cv.md | jen-reeve/jen-reeve.github.io | a1aa71a21a47d33eda8430e0440f014fc977191f | [
"MIT"
] | null | null | null | _pages/cv.md | jen-reeve/jen-reeve.github.io | a1aa71a21a47d33eda8430e0440f014fc977191f | [
"MIT"
] | null | null | null | ---
layout: archive
title: "CV"
permalink: /cv/
author_profile: true
redirect_from:
- /resume
---
{% include base_path %}
Education
======
* 2022 (expected): Ph.D in Geological Sciences, University of Colorado Boulder, Boulder, Colorado, USA,
* 2016: M.Sc. in Earth and Ocean Sciences, University of Victoria, Victoria, British Columbia, Canada
* 2014: B.S. in Chemistry (concentration in Biochemistry), Haverford College, Haverford, Pennsylvania, USA
* 2012: Semester in Environmental Sciences, Marine Biological Laboratory, Woods Hole, Massachusetts, USA
Publications
======
<ul>{% for post in site.publications reversed %}
{% include archive-single-cv.html %}
{% endfor %}</ul>
<!---
Talks
======
<ul>{% for post in site.talks %}
{% include archive-single-talk-cv.html %}
{% endfor %}</ul>
--->
<!---
Teaching
======
<ul>{% for post in site.teaching %}
{% include archive-single-cv.html %}
{% endfor %}</ul>
--->
Research experience
======
* 2017 - present: Graduate Research Assistant
* Geomicrobial Physiology and Evolution Lab, Department of Geological Sciences, University of Colorado Boulder
* Duties included: Cyanobacterial culturing, growth characterization, morphological analyses, data analysis, chemical modeling, undergraduate researcher training and supervision, honors thesis supervision
* Supervisor: Professor Boswell Wing
* 2017: Research Technologist
* Lidstrom Lab, Department of Chemical Engineering, University of Washington
* Duties included: Methylotroph culturing, growth characterization, stable isotope probing, metabolite extraction and quantification, molecular cloning
* Supervisor: Professor Mary Lidstrom
* 2014 - 2016: Graduate Research Assistant
* UVic Gas Tracers Lab, School of Earth and Ocean Sciences, University of Victoria
* Duties included: Sample collection, month-long research cruise, vacuum line operation, mass spectrometer maintenance and operation, sample flask preparation, standards monitoring, data analysis, geochemical modeling
* Supervisor: Professor Roberta Hamme
* 2013 - 2014: Undergraduate Research Assistant
* White Lab, Department of Chemistry, Haverford College
* Duties included: Fungal culturing, hydrocarbon extraction, identification and quantification, data analysis, undergraduate researcher training
* Supervisor: Professor Helen White
* 2013: Summer Student Fellow
* Spivak Lab, Marine Chemistry and Geochemistry Department, Woods Hole Oceanographic Institution
* Duties included: Field sampling, mesocosm set-up, stable isotope probing, lipid extraction, identification and quantification, data analysis
* Supervisor: Dr. Amanda Spivak
Awards and Honors
======
* 2019 - 2021: ARCS Scholar, Colorado Chapter
* 2014 - 2016: Graduate Award, University of Victoria
<!---
Fellowships
======
--->
<!---
Grants
======
--->
Service and leadership
======
## Campus
* 2020: Graduate Student Representative to the Academic Year 2020-2021 Planning Team, University of Colorado Boulder
* Sat on the Academic Instruction Sub-Committee
* Committee formed by Chancellor and Provost to assist in planning in the context of the COVID-19 pandemic
* Ran listening sessions and coordinated feedback on plans from graduate and professional students
* 2019 - 2020: Vice President of Internal Affairs, United Government of Graduate Students (UGGS), University of Colorado Boulder
* Coordinated UGGS efforts alongside President
* Led Internal Affairs officer team
* Team composed of Director of Finance, Diversity and Inclusion Chair, Director of Data Analytics
* Regularly met with Graduate School and campus leadership about graduate student concerns and initiatives
* Sat on Fee Advisory Board
* Coordinated a research symposium with posters and lightning talks for Research and Innovation Week
* Amended organizational constitution and by-laws
* Updated award by-laws and rubrics
* Coordinated award nomination, grading and announcement processes
* Worked with undergraduate shared governance on shared concerns
* Co-drafted response to racist incident on campus and worked with Black Student Alliance to ensure administrative response
* Coordinated Fall and Spring graduate student orientations
* 2018 - 2019: Student Health Board Representative, United Government of Graduate Students, University of Colorado Boulder
* Attended weekly meetings of Student Health Board
* Advocated for graduate student concerns and priorities
* Discussed priorities for student insurance policies
* Assisted in fundraising
## Department
* 2021: Member, Unlearning Racism in the Geosciences (URGE) Pod
* 2020 - present: Graduate Student Representative, Geology Social Misconduct Awareness and Response Team (Geo-SMART), University of Colorado Boulder
*
* 2020: Co-founder and Coordinator, Geological Sciences Graduate Association, University of Colorado Boulder
* 2019 - 2020: Member, Welcome Committee, Department of Geological Sciences, University of Colorado Boulder
* 2018 - 2019: Department Representative, United Government of Graduate Students, University of Colorado Boulder
* 2015 - 2016: Graduate Representative, School of Earth and Ocean Sciences, University of Victoria
## Profession
* 2017 - 2018: Monthly Meeting Coordinator, Boulder Pod, 500 Women Scientists
## Mentoring
* 2020 - present: Graduate Student Mentor, McNair Scholar Program, University of Colorado Boulder
* 2020 - present: Graduate Mentor, Graduate Admissions in the Earth Sciences, University of Colorado Boulder
* 2020 - present: Peer Mentor, Graduate School, University of Colorado Boulder
* 2020 - present: Peer Mentor, Department of Geological Sciences, University of Colorado Boulder
* 2019 - present: Undergraduate Researchers Supervisor/Mentor, Geomicrobial Physiology and Evolution Lab, University of Colorado Boulder
* 2019 - 2020: Honors Thesis Graduate Supervisor, Ecology and Evolutionary Biology, University of Colorado Boulder
* 2019 - 2020: Graduate Mentor, Biological Sciences Initiative, University of Colorado Boulder
* 2018 - 2019: Communications Mentor, Research Experiences in Solid Earth Sciences for Students, UNAVCO
## Outreach
* 2021: Volunteer Judge, Boulder Valley School District Science Fair
* 2019 - present: Skype a Scientist
* 2019: Mentor, GO STEM Day, Northglenn High School, Colorado
* 2018 - 2019: Penpal, Letters to a Prescientist
* 2018: Mentor, Speed Mentoring, Centaurus High School, Colorado
* 2015: Volunteer Judge, Vancouver Island Regional Science Fair
<!---
Skills
======
* Skill 1
--->
<!---
This is a comment. Below this is commented liquid syntax.
--->
{% comment%}
<ul>{% for post in site.teaching %}
{% include archive-single-cv.html %}
{% endfor %}</ul>
{% endcomment %}
| 43.967532 | 219 | 0.769458 | eng_Latn | 0.923227 |
4c5035f5df07fe05bbf5c3314a5abe67463f6059 | 45 | md | Markdown | CHANGELOG.md | Swivelgames/copy-find-results | 3a91299d79f34946792ca93d0f9857d575a69067 | [
"MIT"
] | 11 | 2018-01-04T14:28:01.000Z | 2021-11-08T08:31:12.000Z | CHANGELOG.md | Swivelgames/copy-find-results | 3a91299d79f34946792ca93d0f9857d575a69067 | [
"MIT"
] | 3 | 2018-09-06T14:22:20.000Z | 2019-09-18T20:51:15.000Z | CHANGELOG.md | Swivelgames/copy-find-results | 3a91299d79f34946792ca93d0f9857d575a69067 | [
"MIT"
] | 1 | 2021-11-08T08:31:13.000Z | 2021-11-08T08:31:13.000Z | ## 0.0.1 - First Release
* Initial Commit :)
| 15 | 24 | 0.622222 | eng_Latn | 0.584077 |
4c50ff66d2d52e9c133292b419179554d289144c | 4,581 | markdown | Markdown | _posts/2015/2015-09-17-agarose-gel-olympia-oyster-whole-body-gdna-integrity-check.markdown | AidanCox12/Aidans_Journal | 6bc80960ae7cc3f81aa097382d7c0bcc63f0c9f9 | [
"MIT"
] | null | null | null | _posts/2015/2015-09-17-agarose-gel-olympia-oyster-whole-body-gdna-integrity-check.markdown | AidanCox12/Aidans_Journal | 6bc80960ae7cc3f81aa097382d7c0bcc63f0c9f9 | [
"MIT"
] | null | null | null | _posts/2015/2015-09-17-agarose-gel-olympia-oyster-whole-body-gdna-integrity-check.markdown | AidanCox12/Aidans_Journal | 6bc80960ae7cc3f81aa097382d7c0bcc63f0c9f9 | [
"MIT"
] | 5 | 2019-12-18T06:47:34.000Z | 2022-03-15T23:47:41.000Z | ---
author: kubu4
comments: true
date: 2015-09-17 19:36:50+00:00
layout: post
slug: agarose-gel-olympia-oyster-whole-body-gdna-integrity-check
title: Agarose Gel - Olympia oyster Whole Body gDNA Integrity Check
wordpress_id: 1624
author:
- kubu4
categories:
- 2bRAD Library Tests for Sequencing at Genewiz
- Olympia oyster reciprocal transplant
tags:
- gDNA
- gel
- O'geneRuler DNA Ladder Mix
- olympia oyster
- Ostrea lurida
---
Ran the [gDNA isolated yesterday from _Ostrea lurida_ whole body](https://robertslab.github.io/sams-notebook/2015/09/16/dna-isolation-olympia-oyster-whole-body.html) on a 0.8% modified TAE gel (w/EtBr) to assess gDNA integrity. Used 1μL of each sample.
Results:
(https://raw.githubusercontent.com/sr320/LabDocs/master/protocols/Commercial_Protocols/ThermoFisher_OgeneRuler_DNA_Ladder_Mix_F100439.jpg)[](http://eagle.fish.washington.edu/Arabidopsis/20150917_gel_gDNA_Oly_RAD.jpg)
The results are not good. Every sample exhibits serious degradation (the smearing that's present in each lane). There should be a distinct, high molecular weight band with no smearing if the gDNA was high quality and intact. [These extractions also served as a comparison in slight differences in the extraction procedure (homogenization with & without mortar/pestle), as described in Steven's post](https://onsnetwork.org/halfshell/2015/09/16/running-the-numbers/). However, those differences seem to have no impact on the quality of the resulting gDNA.
I [isolated gDNA from _Ostrea lurida_ tissue samples two weeks ago using the E.Z.N.A. Mollusc DNA Kit (Omega Bio-Tek)(2015/09/01/agarose-gel-geoduck-olympia-oyster-gdna-integrity-check.html) and didn't see this level of degradation. Additionally, [Katherine Silliman used the E.Z.N.A. Mollusc DNA Kit to isolate gDNA from _Ostrea lurida_ larvae and obtained high quality gDNA in virtually all of her samples](https://marinegenes.com/2015/09/11/friday-91112/). Below is my gel and Katherine's gel for quick comparison to the one above:
[caption id="" align="alignleft" width="301"](http://eagle.fish.washington.edu/Arabidopsis/20150901_gDNA_geoduck_oly.jpg) _Ostrea lurida_ gDNA isolated from adductor muscle & mantle tissues (lanes 4 & 5). Despite low quantity loading, notice that smearing below high molecular weight bands is limited to a low molecular weight range.[/caption]
[caption id="" align="alignleft" width="213"](https://marinegenes.files.wordpress.com/2015/09/gel_9_11_15.jpg?w=584) Katherine's gel of _Ostrea lurida_ gDNA isolated from larvae.[/caption]
I can't be certain what is causing this issue. We [previously had this same issue with a different group of _Ostrea lurida_ whole body gDNA isolations](https://heareresearch.blogspot.com/2015/02/2-18-2015-96-well-plate-extract-gel-run.html) (using a DNeasy Blood & Tissue Kit [Qiagen]). Two different kits using whole bodies and both sets of extractions have produced similarly bad results. It's certainly possible that some nastiness (that's a scientific term, btw) is being introduced by using whole body instead of specific tissues.
Another possible contributor to the DNA degradation we've seen is how the samples were collected and stored. I'm not up-to-date on exactly how the preservation was accomplished, but I do know that the [_Ostrea lurida_ whole body samples I previously worked with](https://robertslab.github.io/sams-notebook/2014/10/14/dna-isolation-olympia-oyster-populations-for-rad-sequencing.html) were just masses of black when I removed them from shells/tubes for isolation. So, in that case, it wasn't terribly surprising that that the gDNA obtained from those was degraded. It should also be noted that Katherine's extraction were from whole larvae that had been stored in RNAlater. Although a direct comparison cannot be made due to the difference in developmental stage between Katherine's samples and these, it lends some evidence to the possibility that sample collection/storage is a contributor to the degraded gDNA we're obtaining from whole body oyster extractions. However, with that being said, I'm not sure what the collection and storage background is on this particular set of samples.
| 70.476923 | 1,087 | 0.79546 | eng_Latn | 0.965498 |
4c514ac7cced8bfe92f6a80a412422883875fcaf | 858 | md | Markdown | docs/Home.md | bsimser/treesurgeon | 99602cbf85b1760d0556a6ffb3dc4cf43d089dbe | [
"MIT"
] | 4 | 2019-05-20T13:56:12.000Z | 2021-08-04T10:47:06.000Z | docs/Home.md | bsimser/treesurgeon | 99602cbf85b1760d0556a6ffb3dc4cf43d089dbe | [
"MIT"
] | 1 | 2018-03-13T08:18:16.000Z | 2018-03-13T08:18:16.000Z | docs/Home.md | bsimser/treesurgeon | 99602cbf85b1760d0556a6ffb3dc4cf43d089dbe | [
"MIT"
] | 1 | 2019-12-15T06:53:28.000Z | 2019-12-15T06:53:28.000Z | ## Welcome to the Tree Surgeon Project

Have you ever spent a few days setting up a new development tree? Have you ever spent several days setting up several development trees? Have you even spent weeks trying to perfect all your development trees using a set of best practices?
If the answer to any of the above answers is 'yes', then you'll like Tree Surgeon!
Tree Surgeon is a .NET development tree generator. Just give it the name of your project, and it will set up a development tree for you **in seconds**. More than that, your new tree has years worth of accumulated build engineering experience built right in.
Give Tree Surgeon a spin today!
## More Information
[Download](Download)
[Acknowledgments](Acknowledgments)
[About](About)
[Support](Support)
[License](License)
[Development](Development) | 42.9 | 258 | 0.762238 | eng_Latn | 0.998243 |
4c527efb53944ab07474693361fa93f3a5ca8e86 | 348 | md | Markdown | docs/org.kin.sdk.base.models/kotlin.-string/to-u-t-f8-bytes.md | samdowd/kin-android | 332710536024472c745f776f3c6f058fff1901ee | [
"MIT"
] | 37 | 2020-09-02T00:41:12.000Z | 2022-03-22T12:05:53.000Z | docs/org.kin.sdk.base.models/kotlin.-string/to-u-t-f8-bytes.md | samdowd/kin-android | 332710536024472c745f776f3c6f058fff1901ee | [
"MIT"
] | 34 | 2020-06-04T22:51:27.000Z | 2022-02-07T21:04:42.000Z | docs/org.kin.sdk.base.models/kotlin.-string/to-u-t-f8-bytes.md | samdowd/kin-android | 332710536024472c745f776f3c6f058fff1901ee | [
"MIT"
] | 23 | 2020-06-05T19:08:14.000Z | 2022-01-20T09:53:28.000Z | [kin-android](../../index.md) / [org.kin.sdk.base.models](../index.md) / [kotlin.String](index.md) / [toUTF8Bytes](./to-u-t-f8-bytes.md)
# toUTF8Bytes
`fun `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`.toUTF8Bytes(): `[`ByteArray`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html) | 69.6 | 195 | 0.698276 | yue_Hant | 0.400227 |
4c52961021592b1d105c4794c06e05b70249ef8b | 3,116 | md | Markdown | node_modules/react-faux-dom/README.md | mvno/Okanshi.Dashboard | 34b579a1b68dd12a5a186ad3f0db3df539c01765 | [
"MIT"
] | 1 | 2017-07-11T06:27:51.000Z | 2017-07-11T06:27:51.000Z | node_modules/react-faux-dom/README.md | mvno/Okanshi.Dashboard | 34b579a1b68dd12a5a186ad3f0db3df539c01765 | [
"MIT"
] | 1 | 2015-09-17T20:57:02.000Z | 2015-09-17T20:57:02.000Z | node_modules/react-faux-dom/README.md | mvno/Okanshi.Dashboard | 34b579a1b68dd12a5a186ad3f0db3df539c01765 | [
"MIT"
] | 2 | 2015-08-28T21:00:59.000Z | 2018-03-05T11:00:50.000Z | # react-faux-dom [](http://badge.fury.io/js/react-faux-dom) [](https://travis-ci.org/Olical/react-faux-dom) [](https://github.com/feross/standard)
[](https://gitter.im/Olical/react-faux-dom?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
DOM like data structure to be mutated by [D3][] et al, then rendered to [React][] elements.
```javascript
// Create your element.
var el = ReactFauxDOM.createElement('div')
// Change stuff using actual DOM functions.
// Even perform CSS selections.
el.style.setProperty('color', 'red')
el.setAttribute('class', 'box')
// Render it to React elements.
return el.toReact()
// Yields: <div style='color: red;' className='box'></div>
```
It supports a wide range of DOM operations and will fool most libraries but it isn't exhaustive (the full DOM API is ludicrously large). It supports enough to work with D3 but will require you to fork and add to the project if you encounter something that's missing.
You can think of this as a bare bones [jsdom][] that's built to bridge the gap between the declarative React and the imperative JavaScript world. We just need to expand it as we go along since jsdom is a huge project that solves different problems.
I'm trying to keep it light so as not to slow down your render function. I want efficient, declarative and stateless code, but I don't want to throw away previous tools to get there.
## Usage
* Full [documentation][] with current DOM API coverage
* A full example use case can be found [in my lab][lab-post] ([source][lab-source])
* [d3-react-sparkline][], a small component I built at [Qubit][]
## Development
```bash
# Fetch the dependencies
make bootstrap
# Test
make test
# Test continually
make test-watch
```
## Author
[Oliver Caldwell][author-site] ([@OliverCaldwell][author-twitter])
## Unlicenced
Find the full [unlicense][] in the `UNLICENSE` file, but here's a snippet.
>This is free and unencumbered software released into the public domain.
>
>Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
Do what you want. Learn as much as you can. Unlicense more software.
[unlicense]: http://unlicense.org/
[author-site]: http://oli.me.uk/
[author-twitter]: https://twitter.com/OliverCaldwell
[d3]: http://d3js.org/
[react]: http://facebook.github.io/react/
[jsdom]: https://github.com/tmpvar/jsdom
[lab-post]: http://lab.oli.me.uk/d3-to-react-again/
[lab-source]: https://github.com/Olical/lab/blob/gh-pages/js/d3-to-react-again/main.js
[d3-react-sparkline]: https://github.com/QubitProducts/d3-react-sparkline
[qubit]: http://www.qubit.com/
[documentation]: ./DOCUMENTATION.md
| 43.277778 | 382 | 0.743582 | eng_Latn | 0.891871 |
4c542636d3dc6f2e6f3a4765215b21337adcd9f8 | 3,309 | md | Markdown | articles/applied-ai-services/form-recognizer/quickstarts/client-library.md | R0bes/azure-docs.de-de | 24540ed5abf9dd081738288512d1525093dd2938 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/applied-ai-services/form-recognizer/quickstarts/client-library.md | R0bes/azure-docs.de-de | 24540ed5abf9dd081738288512d1525093dd2938 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/applied-ai-services/form-recognizer/quickstarts/client-library.md | R0bes/azure-docs.de-de | 24540ed5abf9dd081738288512d1525093dd2938 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: 'Schnellstart: Clientbibliothek oder REST-API für die Formularerkennung'
titleSuffix: Azure Applied AI Services
description: Verwenden Sie die Clientbibliothek oder die REST-API für die Formularerkennung, um eine Formularverarbeitungs-App zu erstellen, die Schlüssel-Wert-Paare und Tabellendaten aus Ihren benutzerdefinierten Dokumenten extrahiert.
services: cognitive-services
author: laujan
manager: nitinme
ms.service: applied-ai-services
ms.subservice: forms-recognizer
ms.topic: quickstart
ms.date: 04/14/2021
ms.author: lajanuar
zone_pivot_groups: programming-languages-set-formre
ms.custom: devx-track-js, devx-track-csharp, cog-serv-seo-aug-2020
keywords: Formularverarbeitung, automatisierte Datenverarbeitung
ms.openlocfilehash: 898d7628ea96da82095ce5ff9e6fbd0a1fd6227a
ms.sourcegitcommit: 5f659d2a9abb92f178103146b38257c864bc8c31
ms.translationtype: HT
ms.contentlocale: de-DE
ms.lasthandoff: 08/17/2021
ms.locfileid: "122327542"
---
# <a name="quickstart-get-started-with-the-client-library-sdks-or-rest-api"></a>Schnellstart: Erste Schritte mit den Clientbibliothek-SDKs oder der REST-API
Hier finden Sie Informationen zu den ersten Schritten mit der Azure-Formularerkennung mithilfe der Programmiersprache Ihrer Wahl. Die Azure-Formularerkennung ist eine [Azure Applied AI Services](../../../applied-ai-services/index.yml)-Instanz und erlaubt Ihnen, unter Verwendung der Technologie für maschinelles Lernen Software für die automatisierte Datenverarbeitung zu entwickeln. Identifizieren und extrahieren Sie Schlüssel-Wert-Paare, Auswahlmarkierungen, Tabellendaten und Ähnliches aus Formulardokumenten. Der Dienst gibt strukturierte Daten aus, die auch die Beziehungen in der ursprünglichen Datei umfassen. Die Formularerkennung kann per REST-API oder per SDK verwendet werden. Sie sollten den kostenlosen Dienst nutzen, wenn Sie die Technologie erlernen. Bedenken Sie, dass die Anzahl der kostenlosen Seiten auf 500 pro Monat beschränkt ist.
Verwenden Sie die folgenden APIs zum Extrahieren strukturierter Daten aus Formularen und Dokumenten:
* [Authentifizieren des Clients](#authenticate-the-client)
* [Analysieren des Layouts](#analyze-layout)
* [Analysieren von Belegen](#analyze-receipts)
* [Analysieren von Visitenkarten](#analyze-business-cards)
* [Analysieren von Rechnungen](#analyze-invoices)
* [Analysieren von Ausweisdokumenten](#analyze-identity-documents)
* [Trainieren eines benutzerdefinierten Modells](#train-a-custom-model)
* [Analysieren von Formularen mit einem benutzerdefinierten Modell](#analyze-forms-with-a-custom-model)
* [Verwalten benutzerdefinierter Modelle](#manage-custom-models)
::: zone pivot="programming-language-csharp"
[!INCLUDE [C# SDK quickstart](../includes/quickstarts/csharp-sdk.md)]
::: zone-end
::: zone pivot="programming-language-java"
[!INCLUDE [Java SDK quickstart](../includes/quickstarts/java-sdk.md)]
::: zone-end
::: zone pivot="programming-language-javascript"
[!INCLUDE [NodeJS SDK quickstart](../includes/quickstarts/javascript-sdk.md)]
::: zone-end
::: zone pivot="programming-language-python"
[!INCLUDE [Python SDK quickstart](../includes/quickstarts/python-sdk.md)]
::: zone-end
::: zone pivot="programming-language-rest-api"
[!INCLUDE [REST API quickstart](../includes/quickstarts/rest-api.md)]
::: zone-end | 49.38806 | 853 | 0.805077 | deu_Latn | 0.91783 |
4c567ffb5d0bcef5685909d3864491c320b58975 | 59 | md | Markdown | README.md | ByteSquad2-0/Frontend_supermarket | e8d984c41ca3f8b3d0541fb2fe257f31809ff23b | [
"MIT"
] | 1 | 2021-12-27T09:30:14.000Z | 2021-12-27T09:30:14.000Z | README.md | Utsav-Ladani/Frontend_supermarket | bcac8de3e70f439bfda30db30391eb15572e4caf | [
"MIT"
] | null | null | null | README.md | Utsav-Ladani/Frontend_supermarket | bcac8de3e70f439bfda30db30391eb15572e4caf | [
"MIT"
] | 3 | 2021-05-28T18:18:03.000Z | 2021-05-29T01:55:56.000Z | # Small Connect
Connect local business with their customers | 29.5 | 43 | 0.847458 | eng_Latn | 0.999959 |
4c56bb44d7e3232a53df556ebc797ae89729db5b | 11,752 | md | Markdown | gatk3-developer-zone/Migration_from_Apache_Ant_to_Apache_Maven.md | broadinstitute/gatk-docs | 8fcf44bb0686f2f7d442aade181ff6ed508a97de | [
"BSD-3-Clause"
] | 50 | 2020-01-06T22:17:08.000Z | 2022-03-30T19:18:12.000Z | gatk3-developer-zone/Migration_from_Apache_Ant_to_Apache_Maven.md | broadinstitute/gatk-docs | 8fcf44bb0686f2f7d442aade181ff6ed508a97de | [
"BSD-3-Clause"
] | 2 | 2020-09-23T09:12:06.000Z | 2021-11-05T14:07:02.000Z | gatk3-developer-zone/Migration_from_Apache_Ant_to_Apache_Maven.md | broadinstitute/gatk-docs | 8fcf44bb0686f2f7d442aade181ff6ed508a97de | [
"BSD-3-Clause"
] | 38 | 2020-01-17T08:48:18.000Z | 2022-03-31T19:28:04.000Z | ## Migration from Apache Ant to Apache Maven
http://gatkforums.broadinstitute.org/gatk/discussion/3437/migration-from-apache-ant-to-apache-maven
<h1>Overview</h1>
<hr />
<p><strong>We're replacing Ant with Maven. To build, run <code>mvn verify</code>.</strong></p>
<h2>Background</h2>
<p>In the early days of the Genome Analysis Toolkit (GATK), the code base separated the GATK genomics engine from the core java utilities, encompassed in a wider project called Sting. During this time, the build tool of choice was the relatively flexible Java build tool <a href="http://ant.apache.org">Apache Ant</a>, run via the command <code>ant</code>.</p>
<p>As our code base expanded to more and more packages, groups internal and external to GSA, and the Broad, have expressed interest in using portions of Sting/GATK as modules in larger projects. Unfortunately over time, many parts of the GATK and Sting intermingled, producing the current situation where developers finds it easier to copy the monolithic GATK instead, or individual java files, instead of using the tools as libraries.</p>
<p>The goal of this first stage is to split the parts of the monolithic Sting/GATK into easily recognizable sub artifacts. The tool used to accomplish this task is <a href="http://maven.apache.org">Apache Maven</a>, also known as <em>Maven</em>, and run via the command <code>mvn</code>. Maven convention encourages developers to separate code, and accompanying resources, into a hierarchical structure of reusable artifacts. Maven attempts to avoid build configuration, preferring source repositories to lay out code in a conventional structure. When needed, a Maven configuration file called <em>pom.xml</em> specifies each artifact's build configuration, that one may think of as similar to an Ant <em>build.xml</em>.</p>
<p>The actual migration consisted of zero changes to the contents of existing Java source files, easing git merges and rebasing. The Java files from public, protected, and private have all moved into Maven conventional child artifacts, with each artifact containing a separate <em>pom.xml</em>.</p>
<h1>Examples</h1>
<h2>Obtaining the GATK with Maven support</h2>
<p>Clone the repository:</p>
<p><code>git clone ssh://git@github.com/broadinstitute/gsa-unstable.git cd gsa-unstable</code></p>
<h2>Building GATK and Queue</h2>
<p>Clone the repository:</p>
<p><code>git clone ssh://git@github.com/broadinstitute/gsa-unstable.git cd gsa-unstable</code></p>
<p>If running on a Broad server, add maven to your environment via the dotkit:</p>
<p><code>reuse Maven-3.0.3</code></p>
<p>Build all of Sting, including packaged versions of the GATK and Queue:</p>
<p><code>mvn verify</code></p>
<p>The packaged, executable jar files will be output to:</p>
<p><code>public/gatk-package/target/gatk-package-2.8-SNAPSHOT.jar public/queue-package/target/queue-package-2.8-SNAPSHOT.jar</code></p>
<p>Find equivalent maven commands for existing ant targets:</p>
<p><code>./ant-bridge.sh <target> <properties></code></p>
<p>Example output:</p>
<p><code>$ ./ant-bridge.sh fasttest -Dsingle=GATKKeyUnitTest Equivalent maven command mvn verify -Dsting.committests.skipped=false -pl private/gatk-private -am -Dresource.bundle.skip=true -Dit.test=disabled -Dtest=GATKKeyUnitTest $</code></p>
<h2>Running the GATK and Queue</h2>
<p>To run the GATK, or copy the compiled jar, find the packaged jar under public/gatk-package/target</p>
<p><code>public/gatk-package/target/gatk-package-2.8-SNAPSHOT.jar</code></p>
<p>To run Queue, the jar is under the similarly named public/queue-package/target</p>
<p><code>public/queue-package/target/queue-package-2.8-SNAPSHOT.jar</code></p>
<p><strong>NOTE:</strong> Unlike builds with Ant, you <em>cannot</em> execute the jar file built by the gatk-framework module. This is because maven does not include dependent artifacts in the target folder with assembled framework jar. Instead, use the packaged jars, listed above, that contain all the classes and resources needed to run the GATK, or Queue.</p>
<h2>Excluding Queue</h2>
<p><em>NOTE:</em> If you make changes to sting-utils, gatk-framework, or any other dependencies <em>and</em> disable queue, you may accidentally end up breaking the full repository build without knowing.</p>
<p>The Queue build contributes a majority portion of the Sting project build time. To exclude Queue from your build, run maven with either (the already shell escaped) <code>-P\!queue</code> or <code>-Ddisable.queue</code>. Currently the latter property also disables the maven queue profile. This allows one other semi-permanent option to disable building Queue as part of the Sting repository. Configure your local Maven settings to always pass the property <code>-Ddisable.queue</code> by adding and activating a custom profile in your local ~/.m2/settings.xml</p>
<p>```$ cat ~/.m2/settings.xml</p>
<settings>
<!--
Other settings.xml changes...
-->
<!--
Define a new profile to set disable.queue
-->
<profiles>
<profile>
<id>disable.queue</id>
<properties>
<disable.queue>true</disable.queue>
</properties>
</profile>
</profiles>
<!--
Activate the profile defined above
-->
<activeProfiles>
<activeProfile>disable.queue</activeProfile>
</activeProfiles>
</settings>
<p>$```</p>
<h2>Using the GATK framework as a module</h2>
<p>Currently the GATK artifacts are not available via any centralized repository. To build code using the GATK you must still have a checkout of the GATK source code, and install the artifacts to your local mvn repository (by default ~/.m2/repository). The installation copies the artifacts to your local repo such that it may be used by your external project. The checkout of the local repo provides several artifacts under <code>public/repo</code> that will be required for your project.</p>
<p>After updating to the latest version of the Sting source code, install the Sting artifacts via:</p>
<p><code>mvn install</code></p>
<p>After the GATK has been installed locally, in your own source repository, include the artifact gatk-framework as a library.</p>
<p>In Apache Maven add this dependency:</p>
<p>```<dependency></p>
<groupId>org.broadinstitute.sting</groupId>
<pre><code class="pre_md"><artifactId>gatk-framework</artifactId>
<version>2.8-SNAPSHOT</version></code class="pre_md"></pre>
<p></dependency>```</p>
<p>For Apache Ivy, you may need to specify <code>~/.m2/repository</code> as a local repo. Once the local repository has been configured, ivy may find the dependency via:</p>
<p><code><dependency org="org.broadinstitute.sting" name="gatk-framework" rev="2.8-SNAPSHOT" /></code></p>
<p>If you decide to also use Maven to build your project, your source code should go under the conventional directory <code>src/main/java</code>. The <code>pom.xml</code> contains any special configuration for your project. To see an example pom.xml and maven conventional project structure in:</p>
<p><code>public/external-example</code></p>
<h2>Moved directories</h2>
<p>If you have an old git branch that needs to be merged, you may need to know where to move files in order for your classes to now build with Maven. In general, most directories were moved with minimal or no changes.</p>
<table class="table table-striped">
<thead>
<tr>
<th><strong>Old directory</strong></th>
<th><strong>New maven directory</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>private/java/src/</td>
<td>private/gatk-private/src/main/java/</td>
</tr>
<tr>
<td>private/R/scripts/</td>
<td>private/gatk-private/src/main/resources/</td>
</tr>
<tr>
<td>private/java/test/</td>
<td>private/gatk-private/src/test/java/</td>
</tr>
<tr>
<td>private/testdata/</td>
<td>private/gatk-private/src/test/resources/</td>
</tr>
<tr>
<td>private/scala/qscript/</td>
<td>private/queue-private/src/main/qscripts/</td>
</tr>
<tr>
<td>private/scala/src/</td>
<td>private/queue-private/src/main/scala/</td>
</tr>
<tr>
<td>private/scala/test/</td>
<td>private/queue-private/src/test/scala/</td>
</tr>
<tr>
<td>protected/java/src/</td>
<td>protected/gatk-protected/src/main/java/</td>
</tr>
<tr>
<td>protected/java/test/</td>
<td>protected/gatk-protected/src/test/java/</td>
</tr>
<tr>
<td>public/java/src/</td>
<td>public/gatk-framework/src/main/java/</td>
</tr>
<tr>
<td>public/java/test/</td>
<td>public/gatk-framework/src/test/java/</td>
</tr>
<tr>
<td>public/testdata/</td>
<td>public/gatk-framework/src/test/resources/</td>
</tr>
<tr>
<td>public/scala/qscript/</td>
<td>public/queue-framework/src/main/qscripts/</td>
</tr>
<tr>
<td>public/scala/src/</td>
<td>public/queue-framework/src/main/scala/</td>
</tr>
<tr>
<td>public/scala/test/</td>
<td>public/queue-framework/src/test/scala/</td>
</tr>
</tbody>
</table>
<h1>Future Directions</h1>
<h2>Further segregate source code</h2>
<p>Currently, the artifacts sting-utils and the gatk-framework contain intertwined code bases. This leads to the current setup where all sting-utils code is actually found in the gatk-framework artifact, including generic utilities that could be used by other software modules. In the future, all elements under <code>org.broadinstitute.sting.gatk</code> will be located the gatk-framework, while all other packages under <code>org.broadinstitut.sting</code> will be evaluated and then separated under the gatk-framework or sting-utils artifacts.</p>
<h2>Publishing artifacts</h2>
<p>Tangentially related to segregating sting-utils and the gatk-framework, the current Sting and GATK artifacts are ineligible to be pushed to the <a href="http://search.maven.org">Maven Central Repository</a>, due to several other issues:</p>
<ul>
<li>Need to provide trivial workflow for Picard, and possibly SnpEff, to submit to central</li>
<li>Missing <a href="https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-6.CentralSyncRequirement">meta files</a> for the jars:
<ul>
<li>*-sources.jar</li>
<li>*-javadoc.jar</li>
<li>*.md5</li>
<li>*.sha1</li>
</ul></li>
</ul>
<p><em>NOTE:</em> Artifact jars do NOT need to actually be in Central, and may be available as pom reference only, for example <a href="http://central.maven.org/maven2/com/oracle/ojdbc14/">Oracle ojdbc</a>.</p>
<p>In the near term, we could use a private repos based on <a href="http://www.jfrog.com/home/v_artifactorycloud_overview">Artifactory</a> or <a href="http://www.sonatype.org/nexus">Nexus</a> (<a href="http://docs.codehaus.org/display/MAVENUSER/Maven+Repository+Manager+Feature+Matrix">comparison</a>). After more work of adding, cleaning up, or centrally publishing all the dependencies for Sting, we may then publish into the basic Central repo. Or, we could move to a social service like <a href="https://bintray.com">BinTray</a> (think GitHub vs. Git).</p>
<h1>Status Updates</h1>
<h2>February 13, 2014</h2>
<p>Maven is now the default in gsa-unstable's master branch. For GATK developers, the git migration is effectively complete. Software engineers are resolving a few remaining issues related to the automated build and testing infrastructure, but the basic workflow for developers should now be up to date.</p>
<h2>January 30, 2014</h2>
<p>The migration to to maven has begun in the <a href="https://github.com/broadinstitute/gsa-unstable">gsa-unstable repository</a> on the ks_new_maven_build_system branch.</p>
<h2>November 5, 2013</h2>
<p>The maven port of the existing ant build resides in the <a href="https://github.com/broadinstitute/gsa-qc">gsa-qc repository</a>.</p>
<p>This is an old branch of Sting/GATK, with the existing files relocated to Maven appropriate locations, pom.xml files added, along with basic resources to assist in artifact generation.</p> | 67.54023 | 724 | 0.75034 | eng_Latn | 0.945569 |
4c572bad275f7691c5769bbd2370fdd8046ca93f | 708 | md | Markdown | docs/assembler/masm/operator-sizeof.md | yecril71pl/cpp-docs.pl-pl | 599c99edee44b11ede6956ecf2362be3bf25d2f1 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/assembler/masm/operator-sizeof.md | yecril71pl/cpp-docs.pl-pl | 599c99edee44b11ede6956ecf2362be3bf25d2f1 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/assembler/masm/operator-sizeof.md | yecril71pl/cpp-docs.pl-pl | 599c99edee44b11ede6956ecf2362be3bf25d2f1 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: operator SIZEOF
ms.date: 12/17/2019
f1_keywords:
- operator SIZEOF
helpviewer_keywords:
- sizeof operator
- operator SIZEOF
ms.assetid: a14ed307-7d01-4be5-982f-64982a348589
ms.openlocfilehash: 28870c523e1fbab7e2ee510dacbf9a3b5248fd11
ms.sourcegitcommit: 0781c69b22797c41630601a176b9ea541be4f2a3
ms.translationtype: MT
ms.contentlocale: pl-PL
ms.lasthandoff: 12/20/2019
ms.locfileid: "75318868"
---
# <a name="operator-sizeof"></a>operator SIZEOF
Zwraca liczbę bajtów w *zmiennej* lub *typie*.
## <a name="syntax"></a>Składnia
> **SIZEOF** { *Typ* *zmiennej* | }
## <a name="see-also"></a>Zobacz także
[Odwołania operatorów](operators-reference.md)\
[MASM BNF, gramatyka](masm-bnf-grammar.md)
| 24.413793 | 60 | 0.761299 | pol_Latn | 0.4566 |
4c573808840b6931086ad5d08e191fa7a04ceea0 | 4,336 | md | Markdown | articles/security/benchmarks/security-control-vulnerability-management.md | fuatrihtim/azure-docs.tr-tr | 6569c5eb54bdab7488b44498dc4dad397d32f1be | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/security/benchmarks/security-control-vulnerability-management.md | fuatrihtim/azure-docs.tr-tr | 6569c5eb54bdab7488b44498dc4dad397d32f1be | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/security/benchmarks/security-control-vulnerability-management.md | fuatrihtim/azure-docs.tr-tr | 6569c5eb54bdab7488b44498dc4dad397d32f1be | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Azure Güvenlik denetimi-güvenlik açığı yönetimi
description: Azure Güvenlik denetimi güvenlik açığı yönetimi
author: msmbaldwin
ms.service: security
ms.topic: conceptual
ms.date: 04/14/2020
ms.author: mbaldwin
ms.custom: security-benchmark
ms.openlocfilehash: ab51c21ec9bca594e66d80c294613ab097033184
ms.sourcegitcommit: 867cb1b7a1f3a1f0b427282c648d411d0ca4f81f
ms.translationtype: MT
ms.contentlocale: tr-TR
ms.lasthandoff: 03/19/2021
ms.locfileid: "94409000"
---
# <a name="security-control-vulnerability-management"></a>Güvenlik denetimi: güvenlik açığı yönetimi
Güvenlik açığı yönetimi önerileri, güvenlik açıklarını belirlemek ve düzeltmek ve saldırganlar için fırsat penceresini en aza indirmek amacıyla yeni bilgileri sürekli alma, değerlendirme ve işleme ile ilgili sorunları gidermeye odaklanmaktadır.
## <a name="51-run-automated-vulnerability-scanning-tools"></a>5,1: otomatikleştirilmiş güvenlik açığı tarama araçlarını çalıştırma
| Azure KIMLIĞI | CIS kimlikleri | Ğuna |
|--|--|--|
| 5.1 | 3,1, 3,2, 3,3 | Müşteri |
Azure sanal makinelerinizde, kapsayıcı görüntülerinde ve SQL sunucularınızda güvenlik açığı değerlendirmelerinin gerçekleştirilmesi için Azure Güvenlik Merkezi 'nin önerilerini izleyin.
Ağ cihazlarında ve Web uygulamalarında güvenlik açığı değerlendirmeleri gerçekleştirmek için bir üçüncü taraf çözümü kullanın. Uzak taramalar yaparken, tek bir kalıcı, yönetici hesabı kullanmayın. Tarama hesabı için JıT sağlama yöntemini uygulamayı düşünün. Tarama hesabı için kimlik bilgileri korunmalıdır, izlenir ve yalnızca güvenlik açığı taraması için kullanılmalıdır.
- [Azure Güvenlik Merkezi güvenlik açığı değerlendirmesi önerilerini uygulama](../../security-center/deploy-vulnerability-assessment-vm.md)
## <a name="52-deploy-automated-operating-system-patch-management-solution"></a>5,2: otomatik işletim sistemi düzeltme eki yönetimi çözümünü dağıtma
| Azure KIMLIĞI | CIS kimlikleri | Ğuna |
|--|--|--|
| 5.2 | 3.4 | Müşteri |
Windows ve Linux sanal makinelerinize en son güvenlik güncelleştirmelerinin yüklü olduğundan emin olmak için Azure "Güncelleştirme Yönetimi" kullanın. Windows VM 'Leri için Windows Update etkinleştirildiğinden ve otomatik olarak güncelleştirilecek şekilde ayarlandığından emin olun.
- [Azure 'da sanal makineler için Güncelleştirme Yönetimi Yapılandırma](../../automation/update-management/overview.md)
- [Güvenlik Merkezi tarafından izlenen Azure Güvenlik ilkelerini anlama](../../security-center/policy-reference.md)
## <a name="53-deploy-automated-patch-management-solution-for-third-party-software-titles"></a>5,3: üçüncü taraf yazılım başlıkları için otomatik düzeltme eki yönetimi çözümünü dağıtma
| Azure KIMLIĞI | CIS kimlikleri | Ğuna |
|--|--|--|
| 5.3 | 3,5 | Müşteri |
Üçüncü taraf bir düzeltme eki yönetimi çözümü kullanın. Ortamlarında System Center Configuration Manager kullanan müşteriler, Windows Server Update Service 'te özel güncelleştirmeler yayımlamasına izin vererek System Center Updates Publisher faydalanabilir. Bu, Update Manager 'ın, System Center Configuration Manager kullanan makinelerin üçüncü taraf yazılımlarla güncelleştirme deposu olarak yayama yapmasına olanak sağlar.
## <a name="54-compare-back-to-back-vulnerability-scans"></a>5,4: geri dönüş güvenlik açığı taramalarını karşılaştırın
| Azure KIMLIĞI | CIS kimlikleri | Ğuna |
|--|--|--|
| 5.4 | 3.6 | Müşteri |
Tarama sonuçlarını tutarlı aralıklarla dışarı aktarın ve güvenlik açıklarının düzeltildiğini doğrulamak için sonuçları karşılaştırın. Azure Güvenlik Merkezi tarafından önerilen güvenlik açığı yönetimi önerilerini kullanırken, geçmiş tarama verilerini görüntülemek için seçili çözümün portalına de Pivot ekleyebilirsiniz.
## <a name="55-use-a-risk-rating-process-to-prioritize-the-remediation-of-discovered-vulnerabilities"></a>5,5: bulunan güvenlik açıklarının düzeltilmesine öncelik vermek için risk derecelendirme işlemi kullanın
| Azure KIMLIĞI | CIS kimlikleri | Ğuna |
|--|--|--|
| 5.5 | 3.7 | Müşteri |
Ortak risk Puanlama programını (örneğin, ortak güvenlik açığı Puanlama sistemi) veya üçüncü taraf tarama aracınız tarafından sunulan varsayılan risk derecelendirmelerini kullanın.
## <a name="next-steps"></a>Sonraki adımlar
- Sonraki güvenlik denetimine bakın: [Stok ve varlık yönetimi](security-control-inventory-asset-management.md) | 60.222222 | 425 | 0.804889 | tur_Latn | 0.999699 |
4c58e171202bc24da57962162e9d671d23aa0c56 | 602 | md | Markdown | _organisations/eff.md | bitstein/cryptoanarchywiki.github.io | f33f740496c8d161101a112daf7b4509baa2e65d | [
"MIT"
] | 84 | 2018-05-31T21:59:41.000Z | 2022-02-02T09:08:55.000Z | _organisations/eff.md | bitstein/cryptoanarchywiki.github.io | f33f740496c8d161101a112daf7b4509baa2e65d | [
"MIT"
] | 13 | 2018-06-01T08:54:39.000Z | 2022-02-20T23:24:19.000Z | _organisations/eff.md | bitstein/cryptoanarchywiki.github.io | f33f740496c8d161101a112daf7b4509baa2e65d | [
"MIT"
] | 21 | 2018-06-01T05:27:47.000Z | 2021-09-21T12:14:53.000Z | ---
layout: static-informational
title: Electronic Frontier Foundation
blurb: "The Electronic Frontier Foundation is the leading nonprofit organization defending civil liberties in the digital world. Founded in 1990, EFF champions user privacy, free expression, and innovation through impact litigation, policy analysis, grassroots activism, and technology development. Founded by <a href=\"/people/john-gilmore\">John Gilmore</a>, <a href=\"/people/john-perry-barlow\">John Perry Barlow</a> and Mitch Kapor"
permalink: /organisations/eff
no_content: true
---
_placeholder_
## Links
* _placeholder_
| 43 | 437 | 0.792359 | eng_Latn | 0.958318 |
4c593fd6a43fc43395b0cdad381020a805d0ad2b | 1,248 | md | Markdown | doc/leaf-snowflake.md | sunney2010/bamboo-leaf | cc37eedbe1aee4f35cc7956d0159e1270eb5618d | [
"Apache-2.0"
] | 5 | 2021-03-05T10:35:33.000Z | 2021-04-20T15:17:14.000Z | doc/leaf-snowflake.md | sunney2010/bamboo-leaf | cc37eedbe1aee4f35cc7956d0159e1270eb5618d | [
"Apache-2.0"
] | null | null | null | doc/leaf-snowflake.md | sunney2010/bamboo-leaf | cc37eedbe1aee4f35cc7956d0159e1270eb5618d | [
"Apache-2.0"
] | null | null | null | # 概述
>雪花算法(snowflake)是Twitter开源的分布式ID生成算法,支持多语言(Java、go、scala等),结果是一个64bit大小的整型的ID。
# 原生雪花算法(snowflake)
**结构图如下:**

标识名称|位数|说明
--|:--:|:--
sign|1bit|正数是0,负数是1,ID一般是正数,最高位是0。
timestamp|41bit|存储时间截的差值,41位的时间截,毫秒级,可以使用69年。
workerId|10bit|workerId,最大支持2^10-1=1023个节点。
sequence|12bit|毫秒内的计数,12位的计数顺序号最大支持每个节点每毫秒产生4096个ID序号。
**优点:**
1. 本地生成,无依赖。
2. 整型,趋势递增,有利于索引。
3. 效率较高,理论每节点每秒最大能产生26万ID。
**不足:**
1. 依赖机器时间,如果发生时钟回拨会导致可能生成id重复。
2. workid节点有限,无存储容易碰撞,在超大服务集群使用有风险。
# leaf-snowflake算法
leaf-snowflake在原生雪花算法的基本上进行了优化,在保持优点的的同时并得到增强。解决了原生雪花算法的不足。
优化点:
1. 对雪花算法的各段位数进行了调整。
2. 时间截从原来的微秒改为秒,性能得好了优化。
3. 解决了时钟回拨会导致可能生成id重复。
4. workid节点个数增加到16383个。
**结构图如下:**

**结构说明:**
标识名称|位数|说明
--|:--:|:--
sign|1bit|正数是0,负数是1,ID一般是正数,最高位是0。
timestamp|31bit|存储时间截的差值,2^31-1位的时间截,秒级。<br>可以使用68年((2^31-1)/60/60/24/365)。
workerId|14bit|workerId,最大支持2^14-1=16383个节点。
sequence|18bit|秒内的计数,18位的计数顺序号最大支持每个节点每个namespace,<br>每秒产生2^18-1=262143个ID序号。
**时钟回拨解决方案**

说明:每秒最大支持产生262143个序列,正常情况不会产生这么多(假如产生3W),当时间回拨后,每秒累加到最大值后,再向进加1秒,再累加到最大值,到时间追平。追平的时间要取决于每秒产生的序列个数,个数越小,追上的时间越快。
总结:利用未来时间,来解决时钟回拨。
| 26 | 111 | 0.77484 | yue_Hant | 0.410884 |
4c5973d0b99912048d8c5637bc918c0e14076a9d | 2,577 | md | Markdown | glosalist/1578_raw.md | fiasinstitute/glosa | 541c7b892226d21043f06f86322f7ec52ee294d1 | [
"MIT"
] | 3 | 2020-10-27T22:49:36.000Z | 2022-02-20T17:15:55.000Z | glosalist/1578_raw.md | fiasinstitute/glosa | 541c7b892226d21043f06f86322f7ec52ee294d1 | [
"MIT"
] | null | null | null | glosalist/1578_raw.md | fiasinstitute/glosa | 541c7b892226d21043f06f86322f7ec52ee294d1 | [
"MIT"
] | null | null | null | ---
authorName: chris duncan
canDelete: false
contentTrasformed: false
from: chris duncan <krisdunncan@...>
headers.inReplyToHeader: PGliMmdhNitvcWhhQGVHcm91cHMuY29tPg==
headers.messageIdInHeader: PEFBTkxrVGluLT1rZl90UkJFZjlFYj1GQkpjSENPNjZIRV93V3dSRFI1a0wzb0BtYWlsLmdtYWlsLmNvbT4=
headers.referencesHeader: PDIwMTAxMTA1LjIxMzUwNy43MDAuMC5qdXN0aS5taWxsZXJAanVuby5jb20+CTxpYjJnYTYrb3FoYUBlR3JvdXBzLmNvbT4=
layout: email
msgId: 1578
msgSnippet: 'A really helpful contribution: thanks xshadowsoulx. ... -- C. D . [Non-text
portions of this message have been removed]'
nextInTime: 1579
nextInTopic: 1581
numMessagesInTopic: 13
postDate: '1289292417'
prevInTime: 1577
prevInTopic: 1576
profile: .nan
replyTo: LIST
senderId: cV9FVymoMfgeFMWTN-H37X9gWnQDu9IbKMq0UTO1oyDsw_lIU033d4Ax0Kptr0EUseqFsAadiQ-yOSSkKVHYPzpc9GgrdBjFo4LX
spamInfo.isSpam: false
spamInfo.reason: '0'
systemMessage: false
title: 'Re: [glosalist] Re: Lojban'
topicId: 1575
userId: 459066750
---
A really helpful contribution: thanks xshadowsoulx.
On 6 November 2010 02:=
59, xShadowSoulx <shadowxsoul@...> wrote:
>
>
> i have personnaly st=
udied lojban, and i find it to be a very bad choice for
> an auxlang, mostl=
y because of its grammar. i also never like the phonology
> since it allows=
alot of bizarre consonant clusters.
>
> it is astoundingly alien and takes=
up way too much memory to learn. there
> is no language on this planet tha=
t relies solely on word order like lojban
> does to differentiate gramatica=
l case. the only cases where you see this,
> this is only used for the nomi=
native and maybe the direct object (as in
> english).
>
> however, there is=
something similar you can do that can infact work, it was
> something i to=
yed with while working on my own auxlang. it is a concept
> called 'coverbs=
' that do exist in alot of languages. let me give an example:
>
> let's say=
we had two sentences:
>
> i am going to my home
> and
>
> i am going from =
the store
>
> in a language that used coverbs, there would be no prepostion=
here. instead
> each would use a seperate verb. so these sentences would l=
ook something
> like:
>
> i go-to home
> i go-from store
>
> here's the int=
eresting part: if we wanted to say the sentence "I am going
> to my home fr=
om the store", we simple combine the two sentences together
> like so:
>
> =
i go-to home go-from store.
>
> i believe chinese does this, so maybe the c=
hinese guy where-ever he is
> could detail it more.
>
>
>
--
C. D .
=
[Non-text portions of this message have been removed]
| 24.542857 | 122 | 0.757082 | eng_Latn | 0.985961 |
4c597bad0cf41f869a5bb9d8966d911ac9a23168 | 1,422 | md | Markdown | azure/ACTIONS.md | cloud-actions/python-actions-django-webapp-up | d868214609f684fa53721741264efa2119417a6c | [
"MIT"
] | null | null | null | azure/ACTIONS.md | cloud-actions/python-actions-django-webapp-up | d868214609f684fa53721741264efa2119417a6c | [
"MIT"
] | null | null | null | azure/ACTIONS.md | cloud-actions/python-actions-django-webapp-up | d868214609f684fa53721741264efa2119417a6c | [
"MIT"
] | null | null | null | # GitHub Actions
## Sign up for GitHub Actions
Open <https://github.com/features/actions> and click "Sign up for beta"
## Create Azure Service Principal and GitHub Actions Secret
1. Open <https://shell.azure.com/> and run the following snippet:
```bash
SUBSCRIPTION_ID=$(az account show | jq -r .id)
RESOURCE_GROUP='191000-python-actions-aks'
LOCATION='eastus'
SP_NAME='http://191000-github-actions'
# create service principal
SP=$(az ad sp create-for-rbac --sdk-auth --skip-assignment -n $SP_NAME)
SP_ID=$(echo $SP | jq -r .clientId)
# create resource group
az group create -n $RESOURCE_GROUP -l $LOCATION
# assign contributor role to service principal at resource group scope
az role assignment create --assignee $SP_ID --role Contributor \
--scope "/subscriptions/${SUBSCRIPTION_ID}/resourceGroups/${RESOURCE_GROUP}"
# output service principal
echo $SP
```
2. Copy the JSON above and create a secret `AZURE_CREDENTIALS` under `Settings > Secrets` in your GitHub repository (e.g. <https://github.com/python-azure/python-actions-aks/settings/secrets>).
Note: we can also create the resource group, and create and assign in a single step, but the above is more flexible.
```bash
# create and assign
az group create -n $RESOURCE_GROUP -l $LOCATION
SP=$(az ad sp create-for-rbac --role Contributor \
--scopes "/subscriptions/${SUBSCRIPTION_ID}/resourceGroups/${RESOURCE_GROUP}" \
--sdk-auth)
echo $SP
```
| 36.461538 | 193 | 0.744726 | eng_Latn | 0.529752 |
4c59b4d851aaccbef916477ec0e3a56667776772 | 4,166 | md | Markdown | articles/finance/accounts-payable/tasks/key-invoice-data-into-ap-system-invoice-pool.md | MicrosoftDocs/Dynamics-365-Operations.hu-hu | 52e56eef99cc41887360f8961e7ccd2adfa21fd1 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-05-18T17:14:11.000Z | 2021-04-20T21:13:46.000Z | articles/finance/accounts-payable/tasks/key-invoice-data-into-ap-system-invoice-pool.md | MicrosoftDocs/Dynamics-365-Operations.hu-hu | 52e56eef99cc41887360f8961e7ccd2adfa21fd1 | [
"CC-BY-4.0",
"MIT"
] | 7 | 2017-12-08T15:20:43.000Z | 2021-02-17T13:09:53.000Z | articles/finance/accounts-payable/tasks/key-invoice-data-into-ap-system-invoice-pool.md | MicrosoftDocs/Dynamics-365-Operations.hu-hu | 52e56eef99cc41887360f8961e7ccd2adfa21fd1 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2019-10-12T18:21:04.000Z | 2021-10-13T09:24:54.000Z | ---
title: A legfontosabb számlaadatok a kötelezettségkezelési rendszerbe számlagyűjtő használatával
description: Ez a témakör azt mutatja be, hogyan lehet számlákat létrehozni a számlajegyzékben.
author: abruer
ms.date: 07/31/2019
ms.topic: business-process
ms.prod: ''
ms.technology: ''
audience: Application User
ms.reviewer: roschlom
ms.search.region: Global
ms.author: abruer
ms.search.validFrom: 2016-06-30
ms.dyn365.ops.version: AX 7.0.0
ms.openlocfilehash: dc8e8ec224208990563e7c0f5d354bb13bb45fbcd35821e7f980b6cfb2c5a379
ms.sourcegitcommit: 42fe9790ddf0bdad911544deaa82123a396712fb
ms.translationtype: HT
ms.contentlocale: hu-HU
ms.lasthandoff: 08/05/2021
ms.locfileid: "6777264"
---
# <a name="key-invoice-data-into-the-ap-system-using-invoice-pool"></a>A legfontosabb számlaadatok a kötelezettségkezelési rendszerbe számlagyűjtő használatával
[!include [banner](../../includes/banner.md)]
Ez a témakör azt mutatja be, hogyan lehet számlákat létrehozni a számlajegyzékben. Ezután egyeztesse a számlát egy beszerzési rendeléssel a számlagyűjtő segítségével, majd véglegesítse a költséget a szállítói számla oldalon.
## <a name="create-a-purchase-order"></a>Beszerzési rendelés létrehozása
1. A navigációs ablaktáblán nyissa meg a **Modulok > Kötelezettségek > beszerzési rendelések > Beszerzési rendelések** pontot.
2. Új beszerzési rendelés létrehozásához kattintson az **Új** elemre.
3. A **Szállítói számla** mezőben nyissa meg válasszon egy beszállítót a legördülő listához. Válassza ki például az **1001**-es szállítót.
4. Válassza ki az **OK** lehetőséget.
5. A **Cikkszám** mezőben válassza ki a kívánt szolgáltatási cikkszámot a legördülő listából. Válassza például a **S0001-t**. A nettó összeg 75,00. Ezt az összeget szeretnénk viszontlátni a számlán is.
6. A Műveleti ablaktáblán válassza ki a **Beszerzés** lehetőséget.
7. Válassza ki a **Megerősítés** elemet.
## <a name="create-and-post-and-invoice"></a>Számla létrehozása és feladása
1. Anavigációs ablaktáblán válassza a **Modulok > Kötelezettségek > számlák > Számlajegyzék** elemre.
2. Válassza az **Új** lehetőséget.
3. Nyissa meg a keresőlistát a használni kívánt számlajegyzék nevének kiválasztásához.
4. Válassza ki a használni kívánt számlajegyzék nevét.
5. Kattintson a **Sorokra** a jegyzék megnyitásához, adjon meg költségsorokat.
6. A keresőben válasszon egy szállítót. Válassza ki például az **1001**-es szállítót.
7. A **Számla** mezőben adja meg a számlaszámot.
8. Írjon egy értéket a **Leírás** mezőbe.
9. A **Hitelkeret** mezőben adjon meg egy számot.
10. A **Beszerzési rendelés** mezőben nyissa meg a legördülő listát a korábban létrehozott beszerzési rendelés kiválasztásához.
11. A **Jóváhagyó** mezőben jelöljön ki egy jóváhagyót a legördülő listából, majd a **Kiválasztás** gombra kattintva válassza ki a jóváhagyót.
12. Válassza a **Feladás** parancsot.
## <a name="open-an-invoice-from-the-pool-and-match-it-to-a-purchase-order-to-complete-the-invoice-process"></a>A számlafolyamat befejezéséhez nyisson meg egy számlát a gyűjtőből, és válassza ki hozzá a megfelelő beszerzési rendelést.
1. Anavigációs ablaktáblán válassza a **Modulok > Kötelezettségek > számlák > Számlagyűjtő** elemre.
2. Kattintson a **Beszerzési rendelés** elemre, ha szállítói számlát kíván létrehozni a számlajegyzékből.
3. Válassza ki a megtekinteni kívánt számlát.
4. Az egyeztetés befejezéséhez kattintson az **Egyeztetési állapot frissítése** elemre.
5. A műveleti ablaktáblán válassza ki a **Beállítások** elemet.
6. Válassza ki a **Nézetváltás** lehetőséget.
7. Válassza a **Rácsnézet** elemet.
8. Válassza a **Feladás** parancsot.
9. Zárja be az űrlapot.
10. A Navigációs ablaktáblán válassza a **Modulok > Kötelezettségek > Szállítók > Beszállítók** elemet.
11. Válassza ki a beszerzési rendeléshez tartozó szállítót. Válassza ki például az **1001**-es szállítót.
12. A műveleti ablaktáblán válassza a **Szállító** lehetőséget.
13. Válassza a **Tranzakciók** lehetőséget.
14. Válassza ki a létrehozott számlát. A számlajegyzék-elhatárolás sztornírozásra, illetve a megfelelő költségszámlára feladásra került.
[!INCLUDE[footer-include](../../../includes/footer-banner.md)] | 59.514286 | 234 | 0.787086 | hun_Latn | 1.000009 |
4c59c3f993befde56f190dcfb8f9bb29f027b6a9 | 1,620 | md | Markdown | en/README.md | BTWS2/dodona-edu.github.io | 95e709ae0644e8d8eabfba4f6eeafe70c047abfb | [
"MIT"
] | null | null | null | en/README.md | BTWS2/dodona-edu.github.io | 95e709ae0644e8d8eabfba4f6eeafe70c047abfb | [
"MIT"
] | 17 | 2021-12-23T12:19:27.000Z | 2022-02-18T12:27:18.000Z | en/README.md | BTWS2/dodona-edu.github.io | 95e709ae0644e8d8eabfba4f6eeafe70c047abfb | [
"MIT"
] | null | null | null | ---
home: true
heroText: Dodona Documentation
tagline: This web page contains documentation and information about the Dodona project.
actionText: "Wisselen naar Nederlands"
actionLink: "/nl/"
footer: Made by Team Dodona with ❤️
---
On this website, you can find a number of [guides](/guides) and [reference pages](/references). The ultimate goal of this web site is to offer all content in both English and Dutch. For the time being, not all pages are translated.
If you are a teacher and want to create your own Dodona course (with existing or own programming exercises), have a look at [this getting started guide](guides/teachers/getting-started).
For the Dodona web application, please go to [https://dodona.ugent.be](https://dodona.ugent.be).
<div class="features">
<div class="feature">
<h2>News</h2>
<p>Release notes and the latest news on Dodona.</p>
<p><router-link to="/en/news/">Go to news →</router-link></p>
</div>
<div class="feature">
<h2>Guides</h2>
<p>Manuals on getting things done with Dodona.</p>
<p><router-link to="/en/guides/">Go to guides →</router-link></p>
</div>
<div class="feature">
<h2>References</h2>
<p>Technical references on config files and directory structures.</p>
<p><router-link to="/en/references/">Go to references →</router-link></p>
</div>
<div class="feature">
<h2>TESTed Judge</h2>
<p>Technical information about the usage of the TESTed judge.</p>
<p><router-link to="/en/tested-judge/">Go to TESTed →</router-link></p>
</div>
</div>
## Latest messages
<NewsIndex category="current" lang="en" limit="5" />
| 39.512195 | 231 | 0.695062 | eng_Latn | 0.940447 |
4c59d8c6a9115f949172a26444bb5cdc618c3d60 | 302 | md | Markdown | pages/data.md | owikle/cb-multilingual | 41d68ad90907420123490fdfb0ac5b64758ebcb8 | [
"MIT"
] | null | null | null | pages/data.md | owikle/cb-multilingual | 41d68ad90907420123490fdfb0ac5b64758ebcb8 | [
"MIT"
] | 1 | 2022-02-18T08:30:40.000Z | 2022-02-18T08:30:40.000Z | pages/data.md | owikle/cb-multilingual | 41d68ad90907420123490fdfb0ac5b64758ebcb8 | [
"MIT"
] | 1 | 2022-02-18T07:21:37.000Z | 2022-02-18T07:21:37.000Z | ---
title: Data
layout: data
permalink: /data.html
# see _data/config-table.csv for table display options
# a table visualization will be added below the content in this file
---
## <span data-translate="data-title" class="translate"></span>
<span data-translate="data-text" class="translate"></span> | 27.454545 | 68 | 0.735099 | eng_Latn | 0.773503 |
4c5a61501f3a970074950942ab63971475a0d686 | 1,100 | md | Markdown | docs/Posts/2018/2018-12-01-prerequisite-courses-for-admission-into-the-computer-science-ph-d-program.md | jcreyn/thepanlab.github.io | 5d62168aeebabe180145ca12c0a6c4fc3bfff148 | [
"MIT"
] | null | null | null | docs/Posts/2018/2018-12-01-prerequisite-courses-for-admission-into-the-computer-science-ph-d-program.md | jcreyn/thepanlab.github.io | 5d62168aeebabe180145ca12c0a6c4fc3bfff148 | [
"MIT"
] | null | null | null | docs/Posts/2018/2018-12-01-prerequisite-courses-for-admission-into-the-computer-science-ph-d-program.md | jcreyn/thepanlab.github.io | 5d62168aeebabe180145ca12c0a6c4fc3bfff148 | [
"MIT"
] | 1 | 2021-08-19T14:45:48.000Z | 2021-08-19T14:45:48.000Z | ---
layout: default
title: Application to the Computer Science Ph.D. program by non-major students
parent: 2018 posts
grand_parent: Posts
---
### **List of prerequisite courses**
<http://www.ou.edu/coe/cs/apply>
* Math 1823 Calculus I
* Math 2423 Calculus II
* Math 3333 Linear Algebra
* Math 4753 Applied Statistical Methods
* CS 2413 Data Structures
* CS 2613 Computer Organization
* CS 2813 Discrete Structures
* CS 3113 Operating Systems
* CS 3823 Theory of Computation
### **A model curriculum for non-major OU students to fulfill the ****prerequisite in one year**
* CS 1323 (Take the online course available from JANUX)
#### **Spring semester**
* CS 2334 (prerequisite: CS 1323)
* CS 2614 (prerequisite: CS 2334; requires a waiver from instructor) (Alt: ECE 3223)
* Math 3333
* Math 4753 (Alternative: ISE 3293)
#### **Summer semester**
* DSA/CS 5005 (this covers CS 2413 and CS 2813) (prerequisite: CS 2334)
#### **Fall semester**
* CS 3113
* CS 3823
* CS 4413 (Recommended, not required)
* CS 4513 (Recommended, not required) | 23.404255 | 96 | 0.694545 | yue_Hant | 0.614251 |
4c5af5dc9ac09f2fb5523ab5101ea47186aa813f | 9,291 | md | Markdown | docs/api/datatypes.md | alexbooker/sequelize | 5f70c51bc44e96227924f44c49996dbc46058aab | [
"MIT"
] | null | null | null | docs/api/datatypes.md | alexbooker/sequelize | 5f70c51bc44e96227924f44c49996dbc46058aab | [
"MIT"
] | null | null | null | docs/api/datatypes.md | alexbooker/sequelize | 5f70c51bc44e96227924f44c49996dbc46058aab | [
"MIT"
] | 1 | 2018-10-24T08:20:19.000Z | 2018-10-24T08:20:19.000Z | <a name="datatypes"></a>
# Class DataTypes
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L41)
A convenience class holding commonly used data types. The datatypes are used when defining a new model using `Sequelize.define`, like this:
```js
sequelize.define('model', {
column: DataTypes.INTEGER
})
```
When defining a model you can just as easily pass a string as type, but often using the types defined here is beneficial. For example, using `DataTypes.BLOB`, mean
that that column will be returned as an instance of `Buffer` when being fetched by sequelize.
Some data types have special properties that can be accessed in order to change the data type.
For example, to get an unsigned integer with zerofill you can do `DataTypes.INTEGER.UNSIGNED.ZEROFILL`.
The order you access the properties in do not matter, so `DataTypes.INTEGER.ZEROFILL.UNSIGNED` is fine as well. The available properties are listed under each data type.
To provide a length for the data type, you can invoke it like a function: `INTEGER(2)`
Three of the values provided here (`NOW`, `UUIDV1` and `UUIDV4`) are special default values, that should not be used to define types. Instead they are used as shorthands for
defining default values. For example, to get a uuid field with a default value generated following v1 of the UUID standard:
```js
sequelize.define('model', {
uuid: {
type: DataTypes.UUID,
defaultValue: DataTypes.UUIDV1,
primaryKey: true
}
})
```
***
<a name="string"></a>
## `STRING()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L67)
A variable length string. Default length 255
Available properties: `BINARY`
***
<a name="char"></a>
## `CHAR()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L110)
A fixed length string. Default length 255
Available properties: `BINARY`
***
<a name="text"></a>
## `TEXT()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L130)
An (un)limited length text column. Available lengths: `tiny`, `medium`, `long`
***
<a name="integer"></a>
## `INTEGER()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L219)
A 32 bit integer.
Available properties: `UNSIGNED`, `ZEROFILL`
***
<a name="bigint"></a>
## `BIGINT()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L245)
A 64 bit integer.
Available properties: `UNSIGNED`, `ZEROFILL`
***
<a name="float"></a>
## `FLOAT()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L270)
Floating point number (4-byte precision). Accepts one or two arguments for precision
Available properties: `UNSIGNED`, `ZEROFILL`
***
<a name="real"></a>
## `REAL()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L296)
Floating point number (4-byte precision). Accepts one or two arguments for precision
Available properties: `UNSIGNED`, `ZEROFILL`
***
<a name="double"></a>
## `DOUBLE()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L315)
Floating point number (8-byte precision). Accepts one or two arguments for precision
Available properties: `UNSIGNED`, `ZEROFILL`
***
<a name="decimal"></a>
## `DECIMAL()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L334)
Decimal number. Accepts one or two arguments for precision
Available properties: `UNSIGNED`, `ZEROFILL`
***
<a name="boolean"></a>
## `BOOLEAN()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L364)
A boolean / tinyint column, depending on dialect
***
<a name="time"></a>
## `TIME()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L387)
A time column
***
<a name="date"></a>
## `DATE()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L402)
A datetime column
***
<a name="dateonly"></a>
## `DATEONLY()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L424)
A date only column
***
<a name="hstore"></a>
## `HSTORE()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L440)
A key / value column. Only available in postgres.
***
<a name="json"></a>
## `JSON()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L459)
A JSON string column. Only available in postgres.
***
<a name="jsonb"></a>
## `JSONB()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L474)
A pre-processed JSON data column. Only available in postgres.
***
<a name="now"></a>
## `NOW()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L486)
A default value of the current timestamp
***
<a name="blob"></a>
## `BLOB()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L500)
Binary storage. Available lengths: `tiny`, `medium`, `long`
***
<a name="range"></a>
## `RANGE()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L537)
Range types are data types representing a range of values of some element type (called the range's subtype).
Only available in postgres.
See {@link http://www.postgresql.org/docs/9.4/static/rangetypes.html|Postgres documentation} for more details
***
<a name="uuid"></a>
## `UUID()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L581)
A column storing a unique univeral identifier. Use with `UUIDV1` or `UUIDV4` for default values.
***
<a name="uuidv1"></a>
## `UUIDV1()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L601)
A default unique universal identifier generated following the UUID v1 standard
***
<a name="uuidv4"></a>
## `UUIDV4()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L621)
A default unique universal identifier generated following the UUID v4 standard
***
<a name="virtual"></a>
## `VIRTUAL()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L678)
A virtual value that is not stored in the DB. This could for example be useful if you want to provide a default value in your model that is returned to the user but not stored in the DB.
You could also use it to validate a value before permuting and storing it. Checking password length before hashing it for example:
```js
sequelize.define('user', {
password_hash: DataTypes.STRING,
password: {
type: DataTypes.VIRTUAL,
set: function (val) {
this.setDataValue('password', val); // Remember to set the data value, otherwise it won't be validated
this.setDataValue('password_hash', this.salt + val);
},
validate: {
isLongEnough: function (val) {
if (val.length < 7) {
throw new Error("Please choose a longer password")
}
}
}
}
})
```
VIRTUAL also takes a return type and dependency fields as arguments
If a virtual attribute is present in `attributes` it will automatically pull in the extra fields aswell.
Return type is mostly usefull for setups that rely on types like GraphQL.
```js
{
active: {
type: new DataTypes.VIRTUAL(DataTypes.BOOLEAN, ['createdAt']),
get: function() {
return this.get('createdAt') > Date.now() - (7 * 24 * 60 * 60 * 1000)
}
}
}
```
In the above code the password is stored plainly in the password field so it can be validated, but is never stored in the DB.
__Aliases:__ NONE
***
<a name="enum"></a>
## `ENUM()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L694)
An enumeration. `DataTypes.ENUM('value', 'another value')`.
***
<a name="array"></a>
## `ARRAY()`
[View code](https://github.com/sequelize/sequelize/blob/0de404640d4c71e2d1f1259356650dfb586a248b/lib/data-types.js#L718)
An array of `type`, e.g. `DataTypes.ARRAY(DataTypes.DECIMAL)`. Only available in postgres.
***
_This document is automatically generated based on source code comments. Please do not edit it directly, as your changes will be ignored. Please write on <a href="irc://irc.freenode.net/#sequelizejs">IRC</a>, open an issue or a create a pull request if you feel something can be improved. For help on how to write source code documentation see [JSDoc](http://usejsdoc.org) and [dox](https://github.com/tj/dox)_
| 31.927835 | 410 | 0.742008 | eng_Latn | 0.768637 |
4c5c3b60cb7322310c7575ad3e65168354da0c1c | 5,193 | md | Markdown | articles/search/tutorial-javascript-search-query-integration.md | Microsoft/azure-docs.cs-cz | 1e2621851bc583267d783b184f52dc4b853a058c | [
"CC-BY-4.0",
"MIT"
] | 6 | 2017-08-28T07:43:21.000Z | 2022-01-04T10:32:24.000Z | articles/search/tutorial-javascript-search-query-integration.md | MicrosoftDocs/azure-docs.cs-cz | 1e2621851bc583267d783b184f52dc4b853a058c | [
"CC-BY-4.0",
"MIT"
] | 428 | 2018-08-23T21:35:37.000Z | 2021-03-03T10:46:43.000Z | articles/search/tutorial-javascript-search-query-integration.md | Microsoft/azure-docs.cs-cz | 1e2621851bc583267d783b184f52dc4b853a058c | [
"CC-BY-4.0",
"MIT"
] | 16 | 2018-03-03T16:52:06.000Z | 2021-12-22T09:52:44.000Z | ---
title: 'Kurz JavaScriptu: hledání v integraci – nejdůležitější'
titleSuffix: Azure Cognitive Search
description: Pochopení vyhledávacích dotazů sady JavaScript SDK používaných na webu s povoleným vyhledáváním
manager: nitinme
author: diberry
ms.author: diberry
ms.service: cognitive-search
ms.topic: tutorial
ms.date: 03/09/2021
ms.custom: devx-track-js
ms.devlang: javascript
ms.openlocfilehash: cf4e1b1ecf209b587a45ca4c43607bfa95155aee
ms.sourcegitcommit: 32e0fedb80b5a5ed0d2336cea18c3ec3b5015ca1
ms.translationtype: MT
ms.contentlocale: cs-CZ
ms.lasthandoff: 03/30/2021
ms.locfileid: "104726819"
---
# <a name="4---search-integration-highlights"></a>4. hledání v integraci – nejdůležitější
V předchozích lekcích jste přidali hledání do statické webové aplikace. V této lekci se zvýrazní základní kroky, které zavedou integraci. Pokud hledáte tahák list o tom, jak integrovat hledání do aplikace JavaScriptu, Tento článek vysvětluje, co potřebujete znát.
## <a name="azure-sdk-azuresearch-documents"></a>Sada Azure SDK @azure/search-documents
Aplikace Function App používá sadu Azure SDK pro Kognitivní hledání:
* NPM [@azure/search-documents](https://www.npmjs.com/package/@azure/search-documents)
* Referenční dokumentace: [Klientská knihovna](/javascript/api/overview/azure/search-documents-readme)
Aplikace Function App se ověřuje prostřednictvím sady SDK pro cloudové Kognitivní hledání rozhraní API pomocí názvu prostředku, klíče prostředku a názvu indexu. Tajné kódy jsou uloženy v nastavení statické webové aplikace a jsou načteny do funkce jako proměnné prostředí.
## <a name="configure-secrets-in-a-configuration-file"></a>Konfigurace tajných kódů v konfiguračním souboru
:::code language="javascript" source="~/azure-search-javascript-samples/search-website/api/config.js" highlight="3,4" :::
## <a name="azure-function-search-the-catalog"></a>Funkce Azure: hledání v katalogu
`Search` [Rozhraní API](https://github.com/Azure-Samples/azure-search-javascript-samples/blob/master/search-website/api/Search/index.js) přebírá hledaný termín a hledá v dokumentech v indexu vyhledávání a vrátí seznam shod.
Směrování pro rozhraní API pro hledání je obsažené v [function.jsu](https://github.com/Azure-Samples/azure-search-javascript-samples/blob/master/search-website/api/Search/function.json) vazeb.
Funkce Azure vrátí informace o konfiguraci hledání a splní dotaz.
:::code language="javascript" source="~/azure-search-javascript-samples/search-website/api/Search/index.js" highlight="4-9, 75" :::
## <a name="client-search-from-the-catalog"></a>Klient: hledání z katalogu
Zavolejte funkci Azure v klientovi s reakce pomocí následujícího kódu.
:::code language="javascript" source="~/azure-search-javascript-samples/search-website/src/pages/Search/Search.js" highlight="40-51" :::
## <a name="azure-function-suggestions-from-the-catalog"></a>Funkce Azure Functions: návrhy z katalogu
`Suggest` [Rozhraní API](https://github.com/Azure-Samples/azure-search-javascript-samples/blob/master/search-website/api/Suggest/index.js) přebírá hledaný termín, zatímco uživatel zadá a navrhuje hledané termíny, jako jsou tituly a autory v rámci dokumentů v indexu hledání, a vrátí malý seznam shod.
Modul pro návrhy hledání `sg` je definován v [souboru schématu](https://github.com/Azure-Samples/azure-search-javascript-samples/blob/master/search-website/bulk-insert/good-books-index.json) používaném během hromadného nahrávání.
Směrování pro rozhraní API pro návrh je součástí [function.jsu](https://github.com/Azure-Samples/azure-search-javascript-samples/blob/master/search-website/api/Suggest/function.json) vazeb.
:::code language="javascript" source="~/azure-search-javascript-samples/search-website/api/Suggest/index.js" highlight="4-9, 21" :::
## <a name="client-suggestions-from-the-catalog"></a>Klient: návrhy z katalogu
V aplikaci reakce se v rámci inicializace komponenty volá rozhraní API funkce naznačující návrh `\src\components\SearchBar\SearchBar.js` :
:::code language="javascript" source="~/azure-search-javascript-samples/search-website/src/components/SearchBar/SearchBar.js" highlight="52-60" :::
## <a name="azure-function-get-specific-document"></a>Funkce Azure: načíst konkrétní dokument
`Lookup` [Rozhraní API](https://github.com/Azure-Samples/azure-search-javascript-samples/blob/master/search-website/api/Lookup/index.js) vezme ID a vrátí objekt dokumentu z indexu vyhledávání.
Směrování pro vyhledávací rozhraní API je obsaženo v [function.jsu](https://github.com/Azure-Samples/azure-search-javascript-samples/blob/master/search-website/api/Lookup/function.json) vazeb.
:::code language="javascript" source="~/azure-search-javascript-samples/search-website/api/Lookup/index.js" highlight="4-9, 17" :::
## <a name="client-get-specific-document"></a>Klient: načíst konkrétní dokument
Rozhraní API funkce se volá v aplikaci reakce v `\src\pages\Details\Detail.js` rámci inicializace komponenty:
:::code language="javascript" source="~/azure-search-javascript-samples/search-website/src/pages/Details/Details.js" highlight="19-29" :::
## <a name="next-steps"></a>Další kroky
* [Indexování dat SQL Azure](search-indexer-tutorial.md)
| 60.383721 | 301 | 0.79068 | ces_Latn | 0.979116 |
4c5d5673598d5edcd38a6a7cdbe1947f04acd6b8 | 1,708 | md | Markdown | scripting-docs/winscript/reference/ijsdebugprocess-interface.md | viniciustavanoferreira/visualstudio-docs.pt-br | 2ec4855214a26a53888d4770ff5d6dde15dbb8a5 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | scripting-docs/winscript/reference/ijsdebugprocess-interface.md | viniciustavanoferreira/visualstudio-docs.pt-br | 2ec4855214a26a53888d4770ff5d6dde15dbb8a5 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | scripting-docs/winscript/reference/ijsdebugprocess-interface.md | viniciustavanoferreira/visualstudio-docs.pt-br | 2ec4855214a26a53888d4770ff5d6dde15dbb8a5 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Interface IJsDebugProcess | Microsoft Docs
ms.custom: ''
ms.date: 01/18/2017
ms.reviewer: ''
ms.suite: ''
ms.tgt_pltfrm: ''
ms.topic: reference
ms.assetid: a7ad5525-55b7-4c68-a4f7-c508f7877712
caps.latest.revision: 5
author: mikejo5000
ms.author: mikejo
manager: ghogen
ms.openlocfilehash: 9200515b2c975fb1fa5b2acda7c261cb684d85b4
ms.sourcegitcommit: 184e2ff0ff514fb980724fa4b51e0cda753d4c6e
ms.translationtype: MT
ms.contentlocale: pt-BR
ms.lasthandoff: 10/18/2019
ms.locfileid: "72577343"
---
# <a name="ijsdebugprocess-interface"></a>Interface IJsDebugProcess
Fornece rotinas para inspecionar e controlar o processo de destino.
## <a name="syntax"></a>Sintaxe
```cpp
IJsDebugProcess : public IUnknown;
```
## <a name="members"></a>Membros
### <a name="public-methods"></a>Métodos Públicos
|Name|Descrição|
|----------|-----------------|
|[Método IJsDebugProcess::CreateBreakPoint](../../winscript/reference/ijsdebugprocess-createbreakpoint-method.md)|Define o ponto de interrupção na posição do documento especificado.|
|[Método IJsDebugProcess::CreateStackWalker](../../winscript/reference/ijsdebugprocess-createstackwalker-method.md)|Método de fábrica para o Stack Walker.|
|[Método IJsDebugProcess::PerformAsyncBreak](../../winscript/reference/ijsdebugprocess-performasyncbreak-method.md)|Coloca o mecanismo de script no modo de interrupção, fazendo com que ele seja interrompido na próxima instrução de script.|
## <a name="requirements"></a>Requisitos
**Cabeçalho:** jscript9diag. h
## <a name="see-also"></a>Consulte também
[Referência de interfaces de script do Windows](../../winscript/reference/windows-script-interfaces-reference.md) | 38.818182 | 241 | 0.747073 | por_Latn | 0.335774 |
4c5d68ecf5c9405c523e6eb4a9959c2fba22e2b7 | 1,988 | md | Markdown | README.md | fuchaimead/FormFormatters | 9d2d384d73833a737e21921a74109056212a18b0 | [
"MIT"
] | null | null | null | README.md | fuchaimead/FormFormatters | 9d2d384d73833a737e21921a74109056212a18b0 | [
"MIT"
] | null | null | null | README.md | fuchaimead/FormFormatters | 9d2d384d73833a737e21921a74109056212a18b0 | [
"MIT"
] | null | null | null | # Form Formatters
[](https://circleci.com/gh/AlchemyAlcove/FormFormatters/tree/master)
Formatters and masks for validating and manipulating user input.
This library is designed translation of error messages. It will respond with unique keys representing error text. You chould use [Simple Translator](https://github.com/AlchemyAlcove/SimpleTranslator) library for multi lingual support on error messages.
Formatters take user input and return an object. For example if the user entered " 1112223333 " into a currency field. The response would be:
```json
{
errors: [],
formatted: "$1,112,223,333.00",
parsed: 1112223333,
valid: true
}
```
Entering "abc" into a currency field would result in:
```json
{
error: ["FormFormatters.required"],
formatted: "abc",
parsed: "abc",
valid: false
}
```
You might be thinking, but it's a number field how come the result has letters in it? Well the formatters job is to format the text and respond with whether it is valid. The masks job is to mask out values like letters from currency inputs. The mask should run before the formatter.
The mask will return in the the same format as the entry. In other words, it will not return in a complex object.
## Formatters
- ArrayFormatter
- CurrencyFormatter
- DateFormatter
- EmailFormatter
- HexFormatter
- NameFormatter
- NumberFormatter
- PercentFormatter
- PhoneFormatter
- RgbFormatter
- SsnLastFourFormatter
- StringFormatter
- TimeFormatter
## Masks
- ArrayMask
- CurrencyMask
- DecimalMask
- EmailMask
- HexMask
- NumberMask
- PercentMask
- PhoneMask
- SsnMask
- SsnLastFourMask
- StringMask
- TimeMask
- WholeNumberMask
## Releases
v1.0.2
Added Array formatter and Array Mask
v1.0.1
Added Number mask
v0.4.1
Hex formatter now includes a # symbol at the beginning of the string.
v0.4.0
- Add credit card formatter
| 23.116279 | 282 | 0.767606 | eng_Latn | 0.939416 |
4c5dfd5862e292de5bd6a1a6071f6fe4e851cf44 | 320 | md | Markdown | shortlinks/README.md | akshitdewan/cs61a-apps | 155f2afe98b238fb4b1c4ca1c79610ec55e826e6 | [
"MIT"
] | 5 | 2020-09-10T01:45:09.000Z | 2022-01-10T23:24:03.000Z | shortlinks/README.md | akshitdewan/cs61a-apps | 155f2afe98b238fb4b1c4ca1c79610ec55e826e6 | [
"MIT"
] | 424 | 2020-08-24T06:22:59.000Z | 2021-10-10T02:36:11.000Z | shortlinks/README.md | akshitdewan/cs61a-apps | 155f2afe98b238fb4b1c4ca1c79610ec55e826e6 | [
"MIT"
] | 7 | 2020-08-28T22:05:10.000Z | 2022-03-04T12:47:05.000Z | # Shortlinks
Handler for go.cs61a.org and links.cs61a.org shortlinks.
## Local Development
Create and activate a venv:
```bash
$ python3 -m venv env
$ source env/bin/activate
```
Use `pip` to install all the dependencies:
```bash
$ pip install -r requirements.txt
```
Run the server:
```bash
$ python main.py
``` | 13.333333 | 56 | 0.7 | eng_Latn | 0.846535 |
4c5e9c9f9087e76915a4a889259b549541d59b98 | 2,986 | md | Markdown | README.md | Dylan-M/FS-AutoDrive-Networks | 823a3a61de4502d8c5f8eec95b7eec859c81fb71 | [
"CC0-1.0"
] | 3 | 2021-09-03T04:51:40.000Z | 2021-09-23T15:03:38.000Z | README.md | Dylan-M/FS-AutoDrive-Networks | 823a3a61de4502d8c5f8eec95b7eec859c81fb71 | [
"CC0-1.0"
] | 1 | 2021-08-08T23:50:34.000Z | 2021-08-11T22:52:10.000Z | README.md | Dylan-M/FS-AutoDrive-Networks | 823a3a61de4502d8c5f8eec95b7eec859c81fb71 | [
"CC0-1.0"
] | 4 | 2021-08-07T18:36:00.000Z | 2021-12-22T14:35:52.000Z | # FS AutoDrive Networks
AutoDrive networks for Farming Simulator Maps. Currently for FS19 only, but when FS22 is released and AD is available for it, these will be included as well.
# Contributors
[Dylan-M](https://github.com/Dylan-M) aka [Heavy Metal Gaming](https://www.youtube.com/channel/UCFR1kTRqT_PrV97_sNCWHAA/)
[Marela](https://www.youtube.com/c/Marelafs)
84bkafan29 via [Argsy](https://www.youtube.com/channel/UCvo0R7AXvnvsmIrVjyaEUHA)
## License
All networks in this repository are licensed under the [CC0 1.0 Universal license](LICENSE).
# How to use.
Download the AutoDrive_config.xml file for the map into the save game folder for whichever save you wish.
WARNING: Following this **will** overwrite any existing courses for that save game. If you wish to keep them, please create a backup.
## I found a bug, limitation, or other issue with a network
Please use the [GitHub Issues tool](https://github.com/Dylan-M/FS-AutoDrive-Networks/issues) for this repository.
# Translations
I will not be translating any of the networks in this repository. If you wish to submit a translation, please fork this repository, created a dedicated branch, make your changes, and open a pull request to this repository. The pull request **must** be from a dedicated branch just for that change, not from the main/master branch of your fork. Please see the [GitFlow Document](https://guides.github.com/introduction/flow/).
To use a translated file, simply rename the existing AutoDrive_config.xml to AutoDrive_config_en.xml before renaming the translated file to AutoDrive_config.xml. For example, to use the German (Deutsch) translation, you would rename AutoDrive_config_de.xml to AutoDrive_config.xml.
### .md File translations
If you contribute a translation to any of the .md files, they should be named with the 2 character country code as well. Such as: README_de.md or CONTRIBUTING_de.md and then linked from the document that they're a translation of.
# How to contribute
As with translations, the basic procedure to follow is to fork, branch, make changes, create a PR. Follow this [GitFlow Document](https://guides.github.com/introduction/flow/). More detailed instructions can be found in [CONTRIBUTING.md](CONTRIBUTING.md)
# How much does this cost me?
Nothing. Zero. Zilch. Nada.
# Can I create a network for you on map XYZ?
Maybe. Perhaps. My time is valuable. I will accept paid contracts to make networks. What we negotiate would depend on the complexity and size of the map. The network would remain mine, be licensed under the [CC0 1.0 Universal license](LICENSE) with the rest of this repository, and shared with everyone. Otherwise, you can hope that I decide to play the same map and create a network for it.
## Additional Resources
There are others doing similar things. I fork their repos as I come across them, so that I can contribute fixes. These are links to those.
[My fork of J.T. Sage's AD repo](https://github.com/Dylan-M/FS19_AutoDrive_Courses)
| 78.578947 | 424 | 0.783992 | eng_Latn | 0.994692 |
4c5ef9a6002555a4897de66452d2c391ed344be2 | 5,516 | md | Markdown | README.md | bycloudary/render.rs | 5fb990bf4c87d1efe2e5c567012f09824ea94d16 | [
"MIT"
] | 84 | 2019-09-21T09:10:57.000Z | 2020-06-10T06:46:22.000Z | README.md | bycloudary/render.rs | 5fb990bf4c87d1efe2e5c567012f09824ea94d16 | [
"MIT"
] | 19 | 2020-06-11T08:11:00.000Z | 2021-09-29T17:41:08.000Z | README.md | bycloudary/render.rs | 5fb990bf4c87d1efe2e5c567012f09824ea94d16 | [
"MIT"
] | 6 | 2021-04-02T03:47:24.000Z | 2021-11-06T16:46:37.000Z | # render
> 🔏 A safe and simple template engine with the ergonomics of JSX
`render` itself is a combination of traits, structs and macros that together unify and
boost the experience of composing tree-shaped data structures. This works best with HTML and
XML rendering, but can work with other usages as well, like ReasonML's [`Pastel`](https://reason-native.com/docs/pastel/) library for terminal colors.
## How?
A renderable component is a struct that implements the `Render` trait. There
are multiple macros that provide a better experience implementing Renderable:
- `#[component]` for defining components using a function
- `rsx!` for composing elements with JSX ergonomics
- `html!` for composing elements and render them to a string
## Why is this different from...
### `handlebars`?
Handlebars is an awesome spec that lets us devs define templates and work
seemlessly between languages and frameworks. Unfortunately, it does not guarantee any of Rust's
type-safety, due to its spec. This forces you to write tests for validating types for your views, like you would in a dynamically typed language. These tests weren't necessary in a type-safe language like Rust — but Handlebars is JSON-oriented, which doesn't comply Rust's type system.
`render` provides the same level of type-safety Rust provides, with no compromises of
ergonomics or speed.
### `typed-html`?
`typed-html` is a wonderful library. Unfortunately, it focused its power in strictness of the HTML spec itself, and doesn't allow arbitrary compositions of custom elements.
`render` takes a different approach. For now, HTML is not typed at all. It can get any key and get any string value. The main focus is custom components, so you can create a composable and declarative template with no runtime errors.
## Usage
### Simple HTML rendering
In order to render a simple HTML fragment into a `String`, use the `rsx!` macro to generate a
component tree, and call `render` on it:
```rust
use render::{rsx, Render};
let tree = rsx! {
<div>
<h1>{"Hello!"}</h1>
<p>{"Hello world!"}</p>
</div>
};
assert_eq!(tree.render(), "<div><h1>Hello!</h1><p>Hello world!</p></div>");
```
Because this is so common, there's another macro called `html!` that calls `rsx!` to generate
a component tree, and then calls `render` on it. Most of the time, you'll find yourself using
the `rsx!` macro to compose arbitrary components, and only calling `html!` when you need a
String output, when sending a response or generating a Markdown file.
In Render, attributes and plain strings are escaped using the `render::html_escaping` module. In order to
use un-escaped values so you can dangerously insert raw HTML, use the `raw!` macro around your
string:
```rust
use render::{html, raw};
let tree = html! {
<div>
<p>{"<Hello />"}</p>
<p>{raw!("<Hello />")}</p>
</div>
};
assert_eq!(tree, "<div><p><Hello /></p><p><Hello /></p></div>");
```
### Custom components
Render's greatest ability is to provide type-safety along with custom renderable components.
Introducing new components is as easy as defining a function that returns a `Render` value.
In order to build up components from other components or HTML nodes, you can use the `rsx!`
macro, which generates a `Render` component tree:
```rust
use render::{component, rsx, html};
#[component]
fn Heading<'title>(title: &'title str) {
rsx! { <h1 class={"title"}>{title}</h1> }
}
let rendered_html = html! {
<Heading title={"Hello world!"} />
};
assert_eq!(rendered_html, r#"<h1 class="title">Hello world!</h1>"#);
```
If you pay close attention, you see that the function `Heading` is:
- declared with an uppercase. Underneath, it generates a struct with the same name, and
implements the `Render` trait on it.
- does not have a return type. This is because everything is written to a writer, for
performance reasons.
### Visibility & Component Libraries
Often you're going to want to store your components somewhere else in your
project tree other than the module you're working on (if not in a different
module entirely!). In these cases, the visibility applied top the function that
defines your component will flow down into all fields of that struct.
For example, if we add "pub" to the front of our Heading component above:
```rust
#[component]
pub fn Heading<'title>(title: &'title str) {
rsx! { <h1 class={"title"}>{title}</h1> }
}
```
...the struct that is generated would look something like...
```rust
pub struct Heading {
pub title: &'title str
}
```
This is important to understand from a safety point of view when structuring
your libraries.
#### Full example
```rust
// A simple HTML 5 doctype declaration
use render::html::HTML5Doctype;
use render::{
// A macro to create components
component,
// A macro to compose components in JSX fashion
rsx,
// A macro to render components in JSX fashion
html,
// A trait for custom components
Render,
};
// This can be any layout we want
#[component]
fn Page<'a, Children: Render>(title: &'a str, children: Children) {
rsx! {
<>
<HTML5Doctype />
<html>
<head><title>{title}</title></head>
<body>
{children}
</body>
</html>
</>
}
}
// This can be a route in Rocket, the web framework,
// for instance.
pub fn some_page(user_name: &str) -> String {
html! {
<Page title={"Home"}>
{format!("Welcome, {}", user_name)}
</Page>
}
}
```
License: MIT
| 30.815642 | 285 | 0.704859 | eng_Latn | 0.995201 |
4c5f2967f68acbd6c01f8ddb4fdabaab572a6b53 | 2,382 | md | Markdown | Read10.md | AnasAGc/301-reading-notes | f0f788124f5369360562838dee67526ea6058419 | [
"MIT"
] | null | null | null | Read10.md | AnasAGc/301-reading-notes | f0f788124f5369360562838dee67526ea6058419 | [
"MIT"
] | null | null | null | Read10.md | AnasAGc/301-reading-notes | f0f788124f5369360562838dee67526ea6058419 | [
"MIT"
] | null | null | null | 
## what is a ‘call’?
The call stack is primarily used for function invocation (call). Since the call stack is single, function(s) execution, is done, one at a time, from top to bottom. It means the call stack is synchronous.
## How many ‘calls’ can happen at once?
It is single-threaded. Meaning it can only do one thing at a time.
## what does LIFO mean?
a LIFO — Last In, First Out data structure.
## Draw an example of a call stack and the functions that would need to be invoked to
`function add(a, b) {
return a + b;
}
function average(a, b) {
return add(a, b) / 2;
}
`
## what causes a Stack Overflow?
When you call a function in your code, the next instruction after the function call is stored on the stack, and any storage space that might be overwritten by the function call. The function you call might use up more stack for its own local variables. When it's done, it frees up the local variable stack space it used, then returns to the previous function.
## ERROR
## WHAT is a ‘refrence error’?
This is as simple as when you try to use a variable that is not yet declared you get this type os errors.
## WHAT is a ‘syntax error’?
his occurs when you have something that cannot be parsed in terms of syntax, like when you try to parse an invalid object using JSON.parse.
## WHAT is a ‘range error’?
Try to manipulate an object with some kind of length and give it an invalid length and this kind of errors will show up.
## WHAT is a ‘tyep error’?
Like the name indicates, this types of errors show up when the types (number, string and so on) you are trying to use or access are incompatible, like accessing a property in an undefined type of variable.
## WHAT is a breakpoint?
f the line you selected was run you will be able to see what has happened before that point and you can try and evaluate the next lines to check if everything is outputting what you are expecting.
The breakpoint can also be achieved by putting a debugger statement in your code in the line you want to break.
## WHAT does the word ‘debugger’ do in your code?
ve added a debugger statement and when running the code above you can see the “history” before reaching that breakpoint. In this case it’s not a long call stack but you can start to see why it is useful, you know the function add was executed in line
| 70.058824 | 359 | 0.756507 | eng_Latn | 0.999897 |
4c5ffcaadb9ad054c3ce8c6aa1c1f561fa0672de | 713 | md | Markdown | Web/customHPAScalingClient/README.md | hairizuanbinnoorazman/Go_Programming | 4b0a4af7cd393879ea09172bddf6747bd45bd658 | [
"MIT"
] | null | null | null | Web/customHPAScalingClient/README.md | hairizuanbinnoorazman/Go_Programming | 4b0a4af7cd393879ea09172bddf6747bd45bd658 | [
"MIT"
] | null | null | null | Web/customHPAScalingClient/README.md | hairizuanbinnoorazman/Go_Programming | 4b0a4af7cd393879ea09172bddf6747bd45bd658 | [
"MIT"
] | null | null | null | # Autoscaling - Client Side
This is a sample application that is meant to test out horizontal scaling using custom metrics. This has been tested on kubernetes 1.15+. However, experience with that is not that great.
Further tests needs to be done - maybe kubernetes 1.18+ which also incluses autoscaling behaviours - which allow proper tight control over metric scaling.
Before proceeding - do adjust the kustomization.yml file. And push the required image to the docker registry
## Usage
Before deploying, do ensure that you build the required image and push to an image registry that is accessible by Kubernetes cluster
```bash
# To deploy the components
make deploy
# To drop the components
make drop
``` | 37.526316 | 186 | 0.789621 | eng_Latn | 0.998775 |
4c600a04a6b6b658f9994dbc96499721b1eec8d5 | 2,574 | md | Markdown | documentation/docs/operation.md | maarekj/graphql-ppx | 1c27b83f3f60360db6f8b85ed7a1d3ef3bb5773b | [
"MIT"
] | null | null | null | documentation/docs/operation.md | maarekj/graphql-ppx | 1c27b83f3f60360db6f8b85ed7a1d3ef3bb5773b | [
"MIT"
] | null | null | null | documentation/docs/operation.md | maarekj/graphql-ppx | 1c27b83f3f60360db6f8b85ed7a1d3ef3bb5773b | [
"MIT"
] | null | null | null | ---
title: Operation
---
An GraphQL operation is a query, mutation or subscription. When you create an
operation using the GraphQL extension point, it creates a module. This module
has the following module type:
```reason
module type Operation = {
include Definition;
module Raw: {
include Definition.Raw;
type t_variables;
};
type t_variables;
let makeVariables: (~exampleVariable: string, unit) => Raw.t_variables;
let serializeVariables: t_variables => Raw.t_variables;
}
```
It includes the [`Definition`](definition) module type so everything in
`Definition` is also part of the `Operation` module type.
## Types
### Type `t_variables`
This is the the type of the variables in ReasonML data types.
#### Data Types
##### Nullable
Nullable variable values are represented as `option`. When this types is
serialized `option`'s are converted to `undefined`. Because `null` is also a
valid value, it is not representable in this data type. To set a value
explicitly `null` you can use `Raw.t_variables`.
##### Input Objects
Input objects are represented as records. The type is named as
`t_variables_InputObjectName`.
##### Other data types
Other data types are consistent with the types of `t`.
### Type `Raw.t_variables`
This is the (no cost) type of the variables. It's a record if there are
variables and it's `()` (unit), if there are no variables.
#### Data Types
##### Nullable
Nullable variable values are represented as `Js.Nullable.t`. It is important to
note that there is a difference between `Js.Nullable.null` and
`Js.Nullable.undefined`. `null` will be an explicit null, and `undefined` will
act as a missing field. Both are different things in the GraphQL API.
##### Input Objects
Input objects are represented as records. The type is named as
`Raw.t_variables_InputObjectName`.
##### Other data types
Other data types are consistent with the types of `Raw.t`.
## Bindings
### `makeVariables`
This is the creator function for `Raw.t_variables`. Often when you pass
variables to a library, that library expects the `Raw.t_variables` type. You can
make this using this function.
```reason
let variables = Query.makeVariables(~exampleVariable="something", ());
let result = Query.use(~variables, ())
```
### `serializeVariables`
If you rather create the variables yourself, you can construct the `t_variables`
record. Because most libraries expect `Raw.t_variables`, you can serialize the
record using this function.
### `variablesToJson`
This will convert `Raw.t_variables` to `Js.Json.t` (zero cost binding).
| 27.382979 | 80 | 0.742036 | eng_Latn | 0.997555 |
4c60ae265f2807a6c1a687e5c6e79e44f1a8a626 | 14,759 | md | Markdown | CSharp/cards-RichCards/README.md | BrainCrumbz/BotBuilder-Samples | 6c3d09c92ebeaf12ee7597a11bb09ac6e2fca6e5 | [
"MIT"
] | 4 | 2018-10-28T20:12:21.000Z | 2018-11-07T15:49:39.000Z | CSharp/cards-RichCards/README.md | BrainCrumbz/BotBuilder-Samples | 6c3d09c92ebeaf12ee7597a11bb09ac6e2fca6e5 | [
"MIT"
] | 1 | 2020-04-27T01:01:18.000Z | 2020-04-27T01:01:18.000Z | CSharp/cards-RichCards/README.md | BrainCrumbz/BotBuilder-Samples | 6c3d09c92ebeaf12ee7597a11bb09ac6e2fca6e5 | [
"MIT"
] | 2 | 2017-12-13T23:21:09.000Z | 2018-03-06T01:48:32.000Z | # Rich Cards Bot Sample
A sample bot to renders several types of cards as attachments.
[![Deploy to Azure][Deploy Button]][Deploy CSharp/RichCards]
[Deploy Button]: https://azuredeploy.net/deploybutton.png
[Deploy CSharp/RichCards]: https://azuredeploy.net
### Prerequisites
The minimum prerequisites to run this sample are:
* The latest update of Visual Studio 2015. You can download the community version [here](http://www.visualstudio.com) for free.
* The Bot Framework Emulator. To install the Bot Framework Emulator, download it from [here](https://emulator.botframework.com/). Please refer to [this documentation article](https://github.com/microsoft/botframework-emulator/wiki/Getting-Started) to know more about the Bot Framework Emulator.
### Code Highlights
Many messaging channels provide the ability to attach richer objects. The Bot Framework has the ability to render rich cards as attachments. There are several types of cards supported: Hero Card, Thumbnail Card, Receipt Card, Sign-In Card, Animation Card, Video Card and Audio Card. Once the desired Card type is selected, it is mapped into an `Attachment` data structure. Check out the key code located in the [CardsDialog](CardsDialog.cs#L46-L51) class where the `message.Attachments` property of the message activity is populated with a card attachment.
````C#
public async Task DisplaySelectedCard(IDialogContext context, IAwaitable<string> result)
{
var selectedCard = await result;
var message = context.MakeMessage();
var attachment = GetSelectedCard(selectedCard);
message.Attachments.Add(attachment);
await context.PostAsync(message);
context.Wait(this.MessageReceivedAsync);
}
````
#### Hero Card
The Hero card is a multipurpose card; it primarily hosts a single large image, a button, and a "tap action", along with text content to display on the card. Check out the `GetHeroCard` method in the [CardsDialog](CardsDialog.cs#L80-L92) class for a Hero Card sample.
````C#
private static Attachment GetHeroCard()
{
var heroCard = new HeroCard
{
Title = "BotFramework Hero Card",
Subtitle = "Your bots — wherever your users are talking",
Text = "Build and connect intelligent bots to interact with your users naturally wherever they are, from text/sms to Skype, Slack, Office 365 mail and other popular services.",
Images = new List<CardImage> { new CardImage("https://sec.ch9.ms/ch9/7ff5/e07cfef0-aa3b-40bb-9baa-7c9ef8ff7ff5/buildreactionbotframework_960.jpg") },
Buttons = new List<CardAction> { new CardAction(ActionTypes.OpenUrl, "Get Started", value: "https://docs.microsoft.com/bot-framework") }
};
return heroCard.ToAttachment();
}
````
#### Thumbnail Card
The Thumbnail card is a multipurpose card; it primarily hosts a single small image, a button, and a "tap action", along with text content to display on the card. Check out the `GetThumbnailCard` method in the [CardsDialog](CardsDialog.cs#L94-L106) class for a Thumbnail Card sample.
````C#
private static Attachment GetThumbnailCard()
{
var heroCard = new ThumbnailCard
{
Title = "BotFramework Thumbnail Card",
Subtitle = "Your bots — wherever your users are talking",
Text = "Build and connect intelligent bots to interact with your users naturally wherever they are, from text/sms to Skype, Slack, Office 365 mail and other popular services.",
Images = new List<CardImage> { new CardImage("https://sec.ch9.ms/ch9/7ff5/e07cfef0-aa3b-40bb-9baa-7c9ef8ff7ff5/buildreactionbotframework_960.jpg") },
Buttons = new List<CardAction> { new CardAction(ActionTypes.OpenUrl, "Get Started", value: "https://docs.microsoft.com/bot-framework") }
};
return heroCard.ToAttachment();
}
````
#### Receipt Card
The receipt card allows the Bot to present a receipt to the user. Check out the `GetReceiptCard` method in the [CardsDialog](CardsDialog.cs#L108-L132) class for a Receipt Card sample.
````C#
private static Attachment GetReceiptCard()
{
var receiptCard = new ReceiptCard
{
Title = "John Doe",
Facts = new List<Fact> { new Fact("Order Number", "1234"), new Fact("Payment Method", "VISA 5555-****") },
Items = new List<ReceiptItem>
{
new ReceiptItem("Data Transfer", price: "$ 38.45", quantity: "368", image: new CardImage(url: "https://github.com/amido/azure-vector-icons/raw/master/renders/traffic-manager.png")),
new ReceiptItem("App Service", price: "$ 45.00", quantity: "720", image: new CardImage(url: "https://github.com/amido/azure-vector-icons/raw/master/renders/cloud-service.png")),
},
Tax = "$ 7.50",
Total = "$ 90.95",
Buttons = new List<CardAction>
{
new CardAction(
ActionTypes.OpenUrl,
"More information",
"https://account.windowsazure.com/content/6.10.1.38-.8225.160809-1618/aux-pre/images/offer-icon-freetrial.png",
"https://azure.microsoft.com/en-us/pricing/")
}
};
return receiptCard.ToAttachment();
}
````
#### Sign-In Card
The Sign-In card is a card representing a request to sign in the user. Check out the `GetSigninCard` method in the [CardsDialog](CardsDialog.cs#L134-L143) class for a Sign-In Card sample.
> Note: The sign in card can be used to initiate an authentication flow which is beyond this sample. For a complete authentication flow sample take a look at [AuthBot](https://github.com/MicrosoftDX/AuthBot).
````C#
private static Attachment GetSigninCard()
{
var signinCard = new SigninCard
{
Text = "BotFramework Sign-in Card",
Buttons = new List<CardAction> { new CardAction(ActionTypes.Signin, "Sign-in", value: "https://login.microsoftonline.com/") }
};
return signinCard.ToAttachment();
}
````
#### Animation Card
The Animation card is a card that’s capable of playing animated GIFs or short videos. Check out the `GetAnimationCard` method in the [CardsDialog](CardsDialog.cs#L145-L165) class for an Animation Card sample.
````C#
private static Attachment GetAnimationCard()
{
var animationCard = new AnimationCard
{
Title = "Microsoft Bot Framework",
Subtitle = "Animation Card",
Image = new ThumbnailUrl
{
Url = "https://docs.microsoft.com/en-us/bot-framework/media/how-it-works/architecture-resize.png"
},
Media = new List<MediaUrl>
{
new MediaUrl()
{
Url = "http://i.giphy.com/Ki55RUbOV5njy.gif"
}
}
};
return animationCard.ToAttachment();
}
````
> Note: At the time of writing this sample, Skype requires the Animation card to have a Thumbnail Url.
#### Video Card
The Video card is a card that’s capable of playing videos. Check out the `GetVideoCard` method in the [CardsDialog](CardsDialog.cs#L167-L197) class for a Video Card sample.
````C#
private static Attachment GetVideoCard()
{
var videoCard = new VideoCard
{
Title = "Big Buck Bunny",
Subtitle = "by the Blender Institute",
Text = "Big Buck Bunny (code-named Peach) is a short computer-animated comedy film by the Blender Institute, part of the Blender Foundation. Like the foundation's previous film Elephants Dream, the film was made using Blender, a free software application for animation made by the same foundation. It was released as an open-source film under Creative Commons License Attribution 3.0.",
Image = new ThumbnailUrl
{
Url = "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Big_buck_bunny_poster_big.jpg/220px-Big_buck_bunny_poster_big.jpg"
},
Media = new List<MediaUrl>
{
new MediaUrl()
{
Url = "http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4"
}
},
Buttons = new List<CardAction>
{
new CardAction()
{
Title = "Learn More",
Type = ActionTypes.OpenUrl,
Value = "https://peach.blender.org/"
}
}
};
return videoCard.ToAttachment();
}
````
> Note: At the time of writing this sample, Skype requires the Video card to have a Thumbnail Url.
#### Audio Card
The Audio card is a card that’s capable of playing an audio file. Check out the `GetAudioCard` method in the [CardsDialog](CardsDialog.cs#L199-L229) class for an Audio Card sample.
````C#
private static Attachment GetAudioCard()
{
var audioCard = new AudioCard
{
Title = "I am your father",
Subtitle = "Star Wars: Episode V - The Empire Strikes Back",
Text = "The Empire Strikes Back (also known as Star Wars: Episode V – The Empire Strikes Back) is a 1980 American epic space opera film directed by Irvin Kershner. Leigh Brackett and Lawrence Kasdan wrote the screenplay, with George Lucas writing the film's story and serving as executive producer. The second installment in the original Star Wars trilogy, it was produced by Gary Kurtz for Lucasfilm Ltd. and stars Mark Hamill, Harrison Ford, Carrie Fisher, Billy Dee Williams, Anthony Daniels, David Prowse, Kenny Baker, Peter Mayhew and Frank Oz.",
Image = new ThumbnailUrl
{
Url = "https://upload.wikimedia.org/wikipedia/en/3/3c/SW_-_Empire_Strikes_Back.jpg"
},
Media = new List<MediaUrl>
{
new MediaUrl()
{
Url = "http://www.wavlist.com/movies/004/father.wav"
}
},
Buttons = new List<CardAction>
{
new CardAction()
{
Title = "Read More",
Type = ActionTypes.OpenUrl,
Value = "https://en.wikipedia.org/wiki/The_Empire_Strikes_Back"
}
}
};
return audioCard.ToAttachment();
}
````
> Note: At the time of writing this sample, Skype requires the Audio card to have a Thumbnail Url.
### Outcome
You will see the following in the Bot Framework Emulator, Facebook Messenger and Skype when opening and running the sample.
#### Hero Card
| Emulator | Facebook | Skype |
|----------|-------|----------|
||||
#### Thumbnail Card
| Emulator | Facebook | Skype |
|----------|-------|----------|
||||
#### Receipt Card
| Emulator | Facebook | Skype |
|----------|-------|----------|
||||
#### Sign-In Card
| Emulator | Facebook | Skype |
|----------|-------|----------|
||||
#### Animation Card
| Emulator | Facebook | Skype |
|----------|-------|----------|
||||
#### Video Card
| Emulator | Facebook | Skype |
|----------|-------|----------|
||||
#### Audio Card
| Emulator | Facebook | Skype |
|----------|-------|----------|
||||
### More Information
To get more information about how to get started in Bot Builder for .NET and Attachments please review the following resources:
* [Bot Builder for .NET](https://docs.microsoft.com/en-us/bot-framework/dotnet/)
* [Message Attachments Property](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-create-messages#message-attachments)
* [Add media attachments to messages](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-add-media-attachments)
* [Add rich card attachments to messages](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-add-media-attachments)
* [Cards and buttons on Microsoft Teams](https://msdn.microsoft.com/en-us/microsoft-teams/bots#cards-and-buttons)
> **Limitations**
> The functionality provided by the Bot Framework Activity can be used across many channels. Moreover, some special channel features can be unleashed using the [ChannelData property](https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-channeldata).
>
> The Bot Framework does its best to support the reuse of your Bot in as many channels as you want. However, due to the very nature of some of these channels, some features are not fully portable.
>
> The Hero card and Thumbnail card used in this sample are fully supported in the following channels:
> - Skype
> - Facebook
> - Telegram
> - DirectLine
> - WebChat
> - Slack
> - Email
> - GroupMe
>
> They are also supported, with some limitations, in the following channel:
> - Kik
>
> On the other hand, they are not supported and the sample won't work as expected in the following channel:
> - SMS
>
> The Receipt card and Sign-in card used in this sample are fully supported in the following channels:
> - Skype
> - Facebook
> - Telegram
> - DirectLine
> - WebChat
> - Slack
> - Email
> - GroupMe
>
> They are also supported, with some limitations, in the following channel:
> - Kik
>
> On the other hand, they are not supported and the sample won't work as expected in the following channel:
> - SMS
> - Microsoft Teams
>
> The Animation card, Video card and Audio card used in this sample are fully supported in the following channels:
> - Skype
> - Facebook
> - WebChat
>
> They are also supported, with some limitations, in the following channel:
> - Slack (Only Animation card is supported)
> - GroupMe
> - Telegram (Only Animation and Audio cards are supported)
> - Email
>
> On the other hand, they are not supported and the sample won't work as expected in the following channel:
> - Microsoft Teams
> - Kik
> - SMS
> | 43.408824 | 559 | 0.691578 | eng_Latn | 0.823539 |
4c60c49237482c8a7e77d1c97a08fe0799b68cdb | 3,997 | md | Markdown | docs/dotnet/create-a-partially-trusted-application.md | OpenLocalizationTestOrg/cpp-docs.it-it | 05d8d2dcc95498d856f8456e951d801011fe23d1 | [
"CC-BY-4.0"
] | 1 | 2020-05-21T13:09:13.000Z | 2020-05-21T13:09:13.000Z | docs/dotnet/create-a-partially-trusted-application.md | OpenLocalizationTestOrg/cpp-docs.it-it | 05d8d2dcc95498d856f8456e951d801011fe23d1 | [
"CC-BY-4.0"
] | null | null | null | docs/dotnet/create-a-partially-trusted-application.md | OpenLocalizationTestOrg/cpp-docs.it-it | 05d8d2dcc95498d856f8456e951d801011fe23d1 | [
"CC-BY-4.0"
] | null | null | null | ---
title: 'How to: Create a Partially Trusted Application by Removing Dependency on the CRT Library DLL | Microsoft Docs'
ms.custom:
ms.date: 11/04/2016
ms.reviewer:
ms.suite:
ms.technology:
- devlang-cpp
ms.tgt_pltfrm:
ms.topic: get-started-article
dev_langs:
- C++
helpviewer_keywords:
- partially trusted applications [C++]
- mixed assemblies [C++], partially trusted applications
- msvcm90[d].dll
- interoperability [C++], partially trusted applications
- interop [C++], partially trusted applications
- /clr compiler option [C++], partially trusted applications
ms.assetid: 4760cd0c-4227-4f23-a7fb-d25b51bf246e
caps.latest.revision: 9
author: mikeblome
ms.author: mblome
manager: ghogen
translation.priority.ht:
- cs-cz
- de-de
- es-es
- fr-fr
- it-it
- ja-jp
- ko-kr
- pl-pl
- pt-br
- ru-ru
- tr-tr
- zh-cn
- zh-tw
translationtype: Human Translation
ms.sourcegitcommit: 3168772cbb7e8127523bc2fc2da5cc9b4f59beb8
ms.openlocfilehash: eee26a7544836ce678edfa32f32973a512a550dd
---
# How to: Create a Partially Trusted Application by Removing Dependency on the CRT Library DLL
This topic discusses how to create a partially trusted Common Language Runtime application using [!INCLUDE[vcprvc](../build/includes/vcprvc_md.md)] by removing dependency on msvcm90.dll.
A Visual C++ application built with **/clr** will have a dependency on msvcm90.dll, which is part of the C-Runtime Library. When you want your application to be used in a partial trust environment, the CLR will enforce certain code access security rules on your DLL. Therefore, it will be necessary to remove this dependency because msvcm90.dll contains native code and code access security policy cannot be enforced on it.
If your application does not use any functionality of the C-Runtime Library and you would like to remove the dependency on this library from your code, you will have to use the **/NODEFAULTLIB:msvcmrt.lib** linker option and link with either ptrustm.lib or ptrustmd.lib. These libraries contain object files for initialization and uninitialization of an application, exception classes used by the initialization code, and managed exception handling code. Linking in one of these libraries will remove any dependency on msvcm90.dll.
> [!NOTE]
> The order of assembly uninitialization might differ for applications that use the ptrust libraries. For normal applications, assemblies are usually unloaded in the reverse order that they are loaded, but this is not guaranteed. For partial trust applications, assemblies are usually unloaded in the same order that they are loaded. This, also, is not guaranteed.
### To create a partially trusted mixed (/clr) application
1. To remove the dependency on msvcm90.dll, you must specify to the linker not to include this library by using the **/NODEFAULTLIB:msvcmrt.lib** linker option. For information on how to do this using the Visual Studio development environment or programmatically, see [/NODEFAULTLIB (Ignore Libraries)](../build/reference/nodefaultlib-ignore-libraries.md).
2. Add one of the ptrustm libraries to the linker input dependencies. Use ptrustm.lib if you are building your application in release mode. For debug mode, use ptrustmd.lib. For information on how to do this using the Visual Studio development environment or programmatically, see [.Lib Files as Linker Input](../build/reference/dot-lib-files-as-linker-input.md).
## See Also
[Mixed (Native and Managed) Assemblies](../dotnet/mixed-native-and-managed-assemblies.md)
[Initialization of Mixed Assemblies](../dotnet/initialization-of-mixed-assemblies.md)
[Library Support for Mixed Assemblies](../dotnet/library-support-for-mixed-assemblies.md)
[/link (Pass Options to Linker)](../build/reference/link-pass-options-to-linker.md)
[PAVE Security in Native and .NET Framework Code](http://msdn.microsoft.com/en-us/bd61be84-c143-409a-a75a-44253724f784)
<!--HONumber=Jan17_HO2-->
| 56.295775 | 534 | 0.768827 | eng_Latn | 0.975713 |
4c6173b4ae5fb0c048040aedae987fe0631b95e3 | 80 | md | Markdown | docs.md | csaben/jekyll-theme-hamilton | 75d9752ec1541fcd18e7f6af5f22ebed69e0029e | [
"MIT"
] | null | null | null | docs.md | csaben/jekyll-theme-hamilton | 75d9752ec1541fcd18e7f6af5f22ebed69e0029e | [
"MIT"
] | null | null | null | docs.md | csaben/jekyll-theme-hamilton | 75d9752ec1541fcd18e7f6af5f22ebed69e0029e | [
"MIT"
] | null | null | null | ---
layout: page
title: Docs
permalink: /docs/
---
A documentation page.
n/y
| 8 | 22 | 0.65 | eng_Latn | 0.638052 |
4c629a5de69318d2933091a5f82c06766abbf5c2 | 1,399 | md | Markdown | README.md | WanderaOrg/openjdk | 6aa590fe8f1a7b55a7db387f2f34118642895404 | [
"MIT"
] | null | null | null | README.md | WanderaOrg/openjdk | 6aa590fe8f1a7b55a7db387f2f34118642895404 | [
"MIT"
] | 1 | 2021-04-07T06:22:22.000Z | 2021-04-07T06:22:22.000Z | README.md | WanderaOrg/openjdk | 6aa590fe8f1a7b55a7db387f2f34118642895404 | [
"MIT"
] | null | null | null | # Wandera openjdk docker images
## Description
Set of dockerfiles for building docker images used in Wandera as base images for Java based services.
## Maintainers
* Jiri Sedlacek
* Jakub Coufal
## Structure
There is a directory for each major version of OpenJDK we want to use.
* `11`
* `15`
* `17`
For each major version there are directories for different image types with specific `Dockerfile`
## Update and release process
### How to update minor/micro version of specific OpenJDK major version
* Update OpenJDK base image version in specific Dockerfiles
### How to add new major version
* Create new directory in project root named by this version, then create image type directories inside
and define new Dockerfiles
* For new major version builds needs to be configured in [wandera dockerhub](https://hub.docker.com/r/wanderadock/openjdk),
ask maintainer
### How to release new version
* When changes are merged to `master` branch, docker builds are automatically triggered and new images
with `latest` tags will appear in [wandera dockerhub](https://hub.docker.com/r/wanderadock/openjdk/tags?page=1&ordering=last_updated)
(e.g. `15-slim-latest` or `11-slim-zsfse-latest`)
* When the `latest` image is tested and you are satisfied, ask maintainer to make GitHub release. New GitHub release will build
new docker images with production tags (e.g. `15-slim-lzfse`)
| 39.971429 | 138 | 0.765547 | eng_Latn | 0.987623 |
4c630c091fef9fb094f394faa8868e1ffb9c803b | 16,249 | md | Markdown | mobile/android/android-kotlin-preparation-part-5.md | rootofmylife/I-have-to-update-my-knowledge-everyday | 3fb9ae3df62ed96783fcce4e0fd26ba8dcf473bd | [
"MIT"
] | null | null | null | mobile/android/android-kotlin-preparation-part-5.md | rootofmylife/I-have-to-update-my-knowledge-everyday | 3fb9ae3df62ed96783fcce4e0fd26ba8dcf473bd | [
"MIT"
] | null | null | null | mobile/android/android-kotlin-preparation-part-5.md | rootofmylife/I-have-to-update-my-knowledge-everyday | 3fb9ae3df62ed96783fcce4e0fd26ba8dcf473bd | [
"MIT"
] | null | null | null | # Summary Kotlin Preparation Part 5
*All meterials in this repo are taken from [Google Android Courses](https://developer.android.com/courses/android-basics-kotlin/course).*
In this file, you will know what is Kotlin and the basic of it.
### 1. What is the value type when function returns nothing?
- The value of a Kotlin function is the value that is returned from that function. If a function does not return a value, its default value is `kotlin.Unit`.
### 2. What is compact function?
- Compact functions, or single-expression functions, are a common pattern in Kotlin. When a function returns the results of a single expression, you can specify the body of the function after an `=` symbol, omit the curly braces `{}`, and omit the `return`.
```java
fun isTooHot(temperature: Int) = temperature > 30
fun isDirty(dirty: Int) = dirty > 30
fun isSunday(day: String) = day == "Sunday"
// Usage
fun shouldChangeWater (day: String, temperature: Int = 22, dirty: Int = 20): Boolean {
return when {
isTooHot(temperature) -> true
isDirty(dirty) -> true
isSunday(day) -> true
else -> false
}
}
```
### 3. Filters in Kotlin are eager or lazy?
- In Kotlin, it happens whichever way you need it to. By default, filter is eager, and each time you use the filter, a list is created.
To make the filter lazy, you can use a `Sequence`, which is a collection that can only look at one item at a time, starting at the beginning, and going to the end. Conveniently, this is exactly the API that a lazy filter needs.
```java
val decorations = listOf ("rock", "pagoda", "plastic plant", "alligator", "flowerpot")
// eager, creates a new list
val eager = decorations.filter { it [0] == 'p' }
println("eager: $eager")
// lazy, will wait until asked to evaluate
val filtered = decorations.asSequence().filter { it[0] == 'p' }
println("filtered: $filtered")
```
### 4. How to create a list from a collection of collections?
- Using `flatten` function
```java
val mysports = listOf("basketball", "fishing", "running")
val myplayers = listOf("LeBron James", "Ernest Hemingway", "Usain Bolt")
val mycities = listOf("Los Angeles", "Chicago", "Jamaica")
val mylist = listOf(mysports, myplayers, mycities) // list of lists
println("-----")
println("Flat: ${mylist.flatten()}")
```
### 5. What is a higher-order function?
- A higher-order function is a function that takes other functions as parameters, or it is a function that returns another function. You can pass a lambda to a higher-order function that takes a function as an argument.
```java
fun updateDirty(dirty: Int, operation: (Int) -> Int): Int {
return operation(dirty)
}
// Usage
val waterFilter: (Int) -> Int = { dirty -> dirty / 2 }
println(updateDirty(30, waterFilter))
```
*Note*: The function you pass doesn't have to be a lambda; it can be a regular named function instead. To specify the argument as a regular function, use the `::` operator
```java
fun increaseDirty( start: Int ) = start + 1
println(updateDirty(15, ::increaseDirty))
```
*Note*: Kotlin prefers that any parameter that is a function is passed as the last parameter. When working with higher-order functions, Kotlin has a special syntax, called the last parameter call syntax, which can allow you to make the code even more concise. In this case, you can pass a lambda for the function parameter, but you don't need to put the lambda inside the parentheses. This style is considered more idiomatic Kotlin; you will encounter this programming style more often as you gain experience with Kotlin.
```java
var dirtyLevel = 19
dirtyLevel = updateDirty(dirtyLevel) { dirtyLevel -> dirtyLevel + 23}
println(dirtyLevel)
```
### 6. Class constructor in Kotlin
- Default constructor: declare properties and assign the value of an expression to them.
- `init` constructor: If your constructor needs more initialization code, it can be placed in one or more `init` blocks. For example: print out something
```java
class Aquarium() {
init {
println("aquarium initializing")
}
}
```
- Secondary constructor: allows constructor overloading, that is, constructors with different arguments.
*Note*: Kotlin coding style suggests each class should have only one constructor, using default values and named parameters. This is because using multiple constructors, especially overloaded ones, leads to more code paths and the likelihood that one or more paths will go untested. If you do need multiple constructors, consider whether a factory function would work to keep the class definition clean.
*Note*: Every secondary constructor must call the primary constructor first, either directly using `this()`, or indirectly by calling another secondary constructor. This means that any `init` blocks in the primary will be executed for all constructors, and all the code in the primary constructor will be executed first.
```java
constructor(secondPara: Int) : this() {
val thirdPara = secondPara * 2000
}
```
### 7. Add a new property getter & setter
```java
var volume: Int
get() = width * height * length / 1000
set(value) {
height = (value * 1000) / (width * length)
}
```
### 8. Visibility modifiers in Kotlin
- In Kotlin, classes, objects, interfaces, constructors, functions, properties, and their setters can have visibility modifiers:
- `private` means it will only be visible in that class (or source file if you are working with functions).
- `protected` is the same as private, but it will also be visible to any subclasses.
- `internal` means it will only be visible within that module. A module is a set of Kotlin files compiled together, for example, a library, a client or application, a server application in an IntelliJ project. Note the usage of "module" here is unrelated to Java modules that were introduced in Java 9.
- `public` means visible outside the class. Everything is public by default, including variables and methods of the class.
- If you want a property that your code can read or write, but outside code can only read, you can leave the property and its getter as public and declare the setter private, as shown below.
```java
var volume: Int
get() = width * height * length / 1000
private set(value) {
height = (value * 1000) / (width * length)
}
```
### 9. What is subclassed in Kotlin?
- In Kotlin, by default, classes cannot be subclassed. You must mark a class as `open` to allow it to be subclassed. In those subclasses, you must also mark properties and member variables as `open`, in order to override them in the subclass. The `open` keyword is required, to prevent accidentally leaking implementation details as part of the class's definition.
```java
open class Aquarium (open var length: Int = 100, open var width: Int = 20, open var height: Int = 40) {
open var volume: Int
get() = width * height * length / 1000
set(value) {
height = (value * 1000) / (width * length)
}
class TowerTank (override var height: Int, var diameter: Int): Aquarium(height = height, width = diameter, length = diameter) {
override var volume: Int
// ellipse area = π * r1 * r2
get() = (width/2 * length/2 * height / 1000 * PI).toInt()
set(value) {
height = ((value * 1000 / PI) / (width/2 * length/2)).toInt()
}
override var water = volume * 0.8
override val shape = "cylinder"
}
```
### 10. Abstract classes and interfaces
- Neither an abstract class or an interface can be instantiated, Abstract classes can have constructors.
- Since they are not classes, interfaces can't have any constructor logic
- Interfaces cannot store any state.
*Note*: Abstract classes are classes that are partially defined. It is the responsibility of the subclasses of the abstract class to define its methods and properties. Abstract classes are always open; you don't need to mark them with `open`. Properties and methods of an abstract class are non-abstract unless you explicitly mark them with the `abstract` keyword. If these properties and methods do not have the abstract keyword, then subclasses can use them as given. If properties or methods are `abstract`, the subclasses must implement them.
### 11. How to use interface delegation
- Interface delegation is an advanced design technique where the methods of an interface are implemented by a helper (or delegate) object, which is then used by a class. This technique can be useful when you use an interface in a series of unrelated classes. You implement the needed interface functionality in a separate helper class. Each of the unrelated classes then uses an instance of that helper class to obtain the functionality.
```java
object GoldColor : FishColor {
override val color = "gold"
}
class PrintingFishAction(val food: String) : FishAction {
override fun eat() {
println(food)
}
}
interface FishAction {
fun eat()
}
interface FishColor {
val color: String
}
class Plecostomus (fishColor: FishColor = GoldColor):
FishAction by PrintingFishAction("eat algae"),
FishColor by fishColor
```

- Interface delegation is powerful, and you should generally consider how to use it whenever you might use an abstract class in another language. It lets you use composition to plug in behaviors, instead of requiring lots of subclasses, each specialized in a different way.
- Composition often leads to better encapsulation, lower coupling (interdependence), cleaner interfaces, and more usable code. For these reasons, using composition with interfaces is the preferred design. On the other hand, inheritance from an abstract class tends to be a natural fit for some problems. So you should prefer composition, but when inheritance makes sense Kotlin lets you do that too!
More here: https://developer.android.com/codelabs/android-development-kotlin-3.1
### 12. Data class in Kotlin
- A `data` class is similar to a `struct` in some other languages. It exists mainly to hold some data. Kotlin data classes come with some extra benefits, such as utilities for printing and copying. In this task, you create a simple data class and learn about the support Kotlin provides for `data` classes.
- *Note*: You could have used `==` to check data object. In Kotlin, using `==` on data class objects is the same as using `equals()` (structural equality). If you need to check whether two variables refer to the same object (referential equality), use the `===` operator. Read more about equality in Kotlin in the language documentation.
*Note*: Although they are similar to structs in some languages, remember that data class objects are objects. Assigning a data class object to another variable copies the reference to that object, not the contents. To copy the contents to a new object, use the copy() method.
### 13. Companion Object in Kotlin
- Sometimes you need a singleton function or property that is associated with a class and not an instance. In other languages such as Java you might use a `static` member. Kotlin offers the `companion object` for this purpose. The `companion object` is not an instance and is not meant to be used on its own.
```java
class Choice {
companion object {
var name: String = "lyric"
fun showDescription(name:String) = println("My favorite $name")
}
}
fun main() {
println(Choice.name)
Choice.showDescription("pick")
Choice.showDescription("selection")
}
```
### 14. The basic difference between companion objects and regular objects
- Companion objects are initialized from the static constructor of the containing class, that is, they are created when the object is created.
- Regular objects are initialized lazily on the first access to that object; that is, when they are first used.
### 15. What is `List.partition()`?
- `List.partition()` returns two lists based on a condition. One list will have the items where the condition is true, and the other list will have the items where the condition is false.
### 16. Usage of pairs and triples
- Pairs and triples are premade data classes for 2 or 3 generic items.
Pair:
```java
val equipment = "fish net" to "catching fish"
println("${equipment.first} used for ${equipment.second}")
```
Triple
```java
val numbers = Triple(6, 9, 42)
println(numbers.toString())
println(numbers.toList())
```
Destructing:
```java
val equipment = "fish net" to "catching fish"
val (tool, use) = equipment
println("$tool is used for $use")
```
```java
val numbers = Triple(6, 9, 42)
val (n1, n2, n3) = numbers
println("$n1 $n2 $n3")
```
### 17. So what's the difference between const val and val?
- The value for `const val` is determined at compile time, whereas the value for `val` is determined during program execution, which means, `val` can be assigned by a function at run time.
- That means `val` can be assigned a value from a function, but `const val` cannot.
```java
val value1 = complexFunctionCall() // OK
const val CONSTANT1 = complexFunctionCall() // NOT ok
```
- In addition, `const val` only works at the top level, and in singleton classes declared with `object`, not with regular classes. You can use this to create a file or singleton object that contains only constants, and import them as needed.
```java
object Constants {
const val CONSTANT2 = "object constant"
}
val foo = Constants.CONSTANT2
```
### 18. How to create constants inside a class?
- To define constants inside a class, you have to wrap them into companion objects declared with the `companion` keyword. The companion object is basically a singleton object within the class.
```java
class MyClass {
companion object {
const val CONSTANT3 = "constant in companion"
}
}
```
### 19. The basic difference between companion objects and regular objects
- Companion objects are initialized from the static constructor of the containing class, that is, they are created when the object is created.
- Regular objects are initialized lazily on the first access to that object; that is, when they are first used.
### 20. What is extension function?
- Extension functions allow you to add functions to an existing class without having to access its source code. For example, you could declare them in an `Extensions.kt` file that is part of your package. This doesn't actually modify the class, but it allows you to use the dot-notation when calling the function on objects of that class.
```java
fun String.hasSpaces(): Boolean {
val found = this.indexOf(' ')
// also valid: this.indexOf(" ")
// returns positive number index in String or -1 if not found
return found != -1
}
```
- Extension functions only have access to the public API of the class they're extending. Members that are private can't be accessed.
```java
class AquariumPlant(val color: String, private val size: Int)
fun AquariumPlant.isRed() = color == "red" // OK
fun AquariumPlant.isBig() = size > 50 // gives error
```
### 21. What is extension property?
- In addition to extension functions, Kotlin also lets you add extension properties. Like extension functions, you specify the class you're extending, followed by a dot, followed by the property name.
```java
val ColorClass.isGreen: Boolean
get() = color == "green"
```
### 22. What is nullable receivers?
- The class you extend is called the receiver, and it is possible to make that class nullable. If you do that, the `this` variable used in the body can be `null`, so make sure you test for that. You would want to take a nullable receiver if you expect that callers will want to call your extension method on nullable variables, or if you want to provide a default behavior when your function is applied to `null`.
- A nullable receiver allows you to create extensions on a class which can be `null`. The `?.` operator can be paired with apply to check for `null` before executing code.
```java
fun SomeClass?.pull() {
this?.apply {
println("removing $this")
}
}
val plant: SomeClass? = null
plant.pull()
// In this case, there is no output when you run the program. Because plant is null, the inner println() is not called.
``` | 42.873351 | 546 | 0.732107 | eng_Latn | 0.998505 |
4c63749d6224d706d69b2661adb66c385a0f19fb | 348 | md | Markdown | .admin/README.md | vampirics/ArduboyCollection | 502d00e4ebe6c17109d665cd841049922d85ba91 | [
"BSD-3-Clause"
] | null | null | null | .admin/README.md | vampirics/ArduboyCollection | 502d00e4ebe6c17109d665cd841049922d85ba91 | [
"BSD-3-Clause"
] | null | null | null | .admin/README.md | vampirics/ArduboyCollection | 502d00e4ebe6c17109d665cd841049922d85ba91 | [
"BSD-3-Clause"
] | null | null | null | # `template.html` mustache reference
* First, check the mustache [reference](https://mustache.github.io/mustache.5.html).
* Paste the contents of the modified `template.html` [here](https://mustache.github.io/#demo) in the
first field.
* Paste http://arduboy.ried.cl/repo.json contents in the second field to test it without installing anything.
| 49.714286 | 109 | 0.761494 | eng_Latn | 0.77855 |
4c63c619e39d9eefd810bcfe229f8c3328aac554 | 1,103 | md | Markdown | README.md | afranke/ruma | a185663e3677f8e9e01ba2d19cf1b0f15448dde0 | [
"MIT"
] | null | null | null | README.md | afranke/ruma | a185663e3677f8e9e01ba2d19cf1b0f15448dde0 | [
"MIT"
] | null | null | null | README.md | afranke/ruma | a185663e3677f8e9e01ba2d19cf1b0f15448dde0 | [
"MIT"
] | null | null | null | # Ruma – Your home in Matrix.
A set of [Rust] crates (libraries) for interacting with the [Matrix] chat network.
[website] • [chat]
[Rust]: https://rust-lang.org/
[Matrix]: https://matrix.org/
[website]: https://www.ruma.io/
[chat]: https://matrix.to/#/#ruma:matrix.org
## Status
As of 2020-09-29, we support the vast majority of endpoints in all of the various Matrix APIs.
As long as they are still at version 0.x though, only the latest API revision is considered
supported. This may change after 1.x releases.
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md).
## Minimum Rust version
Ruma currently requires Rust 1.43.0. In general, we will never require beta or
nightly for crates.io releases of our crates, and we will try to avoid releasing
crates that depend on features that were only just stabilized.
The exception to this is ruma-signatures (and hence ruma with the federation-api
feature) since it depends on [ring][], which is only guaranteed to work on the
latest stable.
[ring]: https://github.com/briansmith/ring/
## License
[MIT](http://opensource.org/licenses/MIT)
| 29.026316 | 94 | 0.74524 | eng_Latn | 0.97947 |
4c63ff5c15209f930f6997ca374ee1e420482afa | 126 | md | Markdown | README.md | scottstilson/good | 8e1a1bb362d754f9c2fd298d1d3dcb361511dcd5 | [
"Unlicense"
] | null | null | null | README.md | scottstilson/good | 8e1a1bb362d754f9c2fd298d1d3dcb361511dcd5 | [
"Unlicense"
] | null | null | null | README.md | scottstilson/good | 8e1a1bb362d754f9c2fd298d1d3dcb361511dcd5 | [
"Unlicense"
] | null | null | null | # good *noun*
production of love, joy, peace, patience, kindness, goodness, faithfulness, gentleness, self-control, or wisdom
| 42 | 111 | 0.769841 | eng_Latn | 0.949462 |
4c64832f5430d45a1ff970c43d4eee42df9fe410 | 1,271 | md | Markdown | docs/code-quality/c28106.md | tommorris/visualstudio-docs.de-de | 2f351c63cc51989c21aa6f5e705ec428144d8da6 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/code-quality/c28106.md | tommorris/visualstudio-docs.de-de | 2f351c63cc51989c21aa6f5e705ec428144d8da6 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/code-quality/c28106.md | tommorris/visualstudio-docs.de-de | 2f351c63cc51989c21aa6f5e705ec428144d8da6 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: C28106
ms.date: 11/04/2016
ms.prod: visual-studio-dev15
ms.technology: vs-ide-code-analysis
ms.topic: reference
f1_keywords:
- C28106
helpviewer_keywords:
- C28106
ms.assetid: 362ee78e-b1d8-4991-bfd0-c465d084bd58
author: mikeblome
ms.author: mblome
manager: wpickett
ms.workload:
- multiple
ms.openlocfilehash: 915f01756f7d4eda981da5e34963450eb4eb1766
ms.sourcegitcommit: e13e61ddea6032a8282abe16131d9e136a927984
ms.translationtype: MT
ms.contentlocale: de-DE
ms.lasthandoff: 04/26/2018
ms.locfileid: "31888765"
---
# <a name="c28106"></a>C28106
Warnung C28106: Variable enthält bereits Ressource möglicherweise Speicherverluste verursacht
Eine Variable, die eine Ressource enthält, wird in einem Kontext verwendet in der ein neuer Wert in die Variable eingefügt werden kann. In diesem Fall kann die Ressource verloren, und nicht ordnungsgemäß freigegeben, was zur Offenlegung von einer Ressourcenpools.
## <a name="example"></a>Beispiel
Im folgenden Codebeispiel wird diese Warnung generiert:
```
ExAcquireResourceLite(resource, true);
...
ExAcquireResourceLite(resource, true);
```
Im folgenden Codebeispiel wird diese Warnung vermieden:
```
ExAcquireResourceLite(resource1, true);
...
ExAcquireResourceLite(resource2, true);
``` | 28.886364 | 264 | 0.788356 | deu_Latn | 0.805568 |
4c648cad2c4c1a9ecb842413a90cd33d148ab23a | 3,495 | md | Markdown | intl.en-US/API Reference/Project interfaces/ListProject.md | lang710/sls | 6005f302cc141f95e97c0d67a141d0d6f7ffebfe | [
"MIT"
] | 1 | 2019-07-03T11:57:48.000Z | 2019-07-03T11:57:48.000Z | intl.en-US/API Reference/Project interfaces/ListProject.md | lang710/sls | 6005f302cc141f95e97c0d67a141d0d6f7ffebfe | [
"MIT"
] | null | null | null | intl.en-US/API Reference/Project interfaces/ListProject.md | lang710/sls | 6005f302cc141f95e97c0d67a141d0d6f7ffebfe | [
"MIT"
] | null | null | null | # ListProject {#reference_wdt_tgh_f2s .reference}
Query the list of all projects.
Example
```
GET /? offset={offset}&size={size}
```
## Request syntax {#section_o54_dhh_f2b .section}
```
GET /? offset={offset}&size={size} HTTP/1.1
Authorization: <AuthorizationString>
x-log-bodyrawsize: 0
User-Agent: <UserAgent>
x-log-apiversion: 0.6.0
Host: <Endpoint>
x-log-signaturemethod: hmac-sha1
Date: <GMT Date>
Content-Type: application/x-protobuf
Connection: Keep-Alive
```
## Request parameters {#section_lvh_2hh_f2b .section}
|Attribute name|Type |Required|Description|
|:-------------|:----|:-------|:----------|
|offset|integer|No |Start position of a returned record. The default value is 0.|
|size|integer|No |Maximum number of entries returned per page. The default value is 500 \(maximum\).|
**Request header**
The ListProject interface does not have a specific request header. For details about public request headers of Log Service APIs, see [Public request header](reseller.en-US/API Reference/Public request header.md).
**Response header**
The ListProject interface does not have a specific response header. For details about public response headers of Log Service APIs, see [Public response header](reseller.en-US/API Reference/Public response header.md).
**Response element**
If the ListProject request is sent successfully, the response body contains a project list in the following format:
|Attribute name| Type|Description|
|:-------------|:----|:----------|
|count|integer|Number of projects returned.|
|total|integer|Total number of projects.|
|projects|array|Project list.|
Each element of projects is shown in the following format:
|Attribute name|Type|Description|
|:-------------|:---|:----------|
|createTime|string|Creation time.|
|description|string|Project description.|
|lastModifyTime|string|Last update time.|
|owner|string|Account ID of the project creator.|
|projectName|string|Project name.|
|status|string|Project status.|
|region|string|List of excluded fields.|
**Error code**
The interface may return the following error codes in addition to Log Service API [Common error codes](reseller.en-US/API Reference/Common error codes.md):
|**HTTP status code**|**ErrorCode**|**Error message**|
|:-------------------|:------------|:----------------|
|500 |InternalServerError|Specified Server Error Message|
## Example {#section_p5z_ghh_f2b .section}
**Request example**
```
GET /? offset=0&size=2&projectName= HTTP/1.1
Authorization: LOG <yourAccessKeyId>:<yourSignature>
x-log-bodyrawsize: 0
User-Agent: sls-java-sdk-v-0.6.1
x-log-apiversion: 0.6.0
Host: cn-shanghai.log.aliyuncs.com
x-log-signaturemethod: hmac-sha1
Date: Sun, 27 May 2018 09:03:33 GMT
Content-Type: application/x-protobuf
Connection: Keep-Alive
```
**Response example:**
```
HTTP/1.1 200
Server: nginx
Content-Type: application/json
Content-Length: 345
Connection: close
Access-Control-Allow-Origin: *
Date: Sun, 27 May 2018 09:03:33 GMT
x-log-requestid: 5B0A7465AAEA20CA70DE3064
{
"count": 2,
"total": 11,
"projects": [
{
"projectName": "project1",
"status": "Normal",
"owner": "",
"description": "",
"region": "cn-shanghai",
"createTime": "1524222931",
"lastModifyTime": "1524539357"
},
{
"projectName": "project123456",
"status": "Normal",
"owner": "",
"description": "",
"region": "cn-shanghai",
"createTime": "1471963876",
"lastModifyTime": "1524539357"
}
]
}
```
| 27.96 | 216 | 0.692418 | eng_Latn | 0.638878 |
4c64ca61b1ca627753fa791fb58144d8f2195e09 | 1,067 | md | Markdown | CDS_Tool_Output/Parsers/parserContent_syslog-5158.md | deebigarajeswaran/Content-Doc | b99ffab7998eb4594887c36c60e6e2ab586a8b53 | [
"MIT"
] | null | null | null | CDS_Tool_Output/Parsers/parserContent_syslog-5158.md | deebigarajeswaran/Content-Doc | b99ffab7998eb4594887c36c60e6e2ab586a8b53 | [
"MIT"
] | null | null | null | CDS_Tool_Output/Parsers/parserContent_syslog-5158.md | deebigarajeswaran/Content-Doc | b99ffab7998eb4594887c36c60e6e2ab586a8b53 | [
"MIT"
] | 1 | 2022-03-07T23:54:48.000Z | 2022-03-07T23:54:48.000Z | #### Parser Content
```Java
{
Name = syslog-5158
Vendor = Microsoft
Product = Windows
Lms = Direct
DataType = "process-network-bind"
TimeFormat = "EEE MMM dd HH:mm:ss yyyy"
Conditions = [ """5158""", """The Windows Filtering Platform has permitted a bind to a local port""" ]
Fields = [
"""\w+ \d+ \d\d:\d\d:\d\d ({host}[\w\-.]+)""",
"""({time}\w+ \w+ \d\d \d\d:\d\d:\d\d \d\d\d\d)\s+""",
"""({event_code}5158)""",
"""\WComputer\\*=({host}[\w\-.]+)""",
"""Computer(Name)?\s*\\*"?(=|:|>)\s*"*({host}[\w\.-]+)(\s|,|"|</Computer>|$)""",
"""({event_name}The Windows Filtering Platform has permitted a bind to a local port)""",
"""Process ID:\s*({pid}\d+)""",
"""Application Name:\s*({process}({directory}.+)[\\\/]({process_name}.+?))\s*Network Information:""",
"""Source Address:\s*(0\.0\.0\.0|({dest_ip}(?!::)[a-fA-F:\d.]+))?.+?\s*Source Port:\s*({dest_port}\d*)""",
"""Protocol:\s*({ms_protocol_num}\d*)""",
"""Layer Name:\s*({layer_name}.*?)\s*Layer Run-Time ID"""
]
DupFields = [ "host->dest_host" ]
}
``` | 41.038462 | 110 | 0.528585 | yue_Hant | 0.251916 |
4c64d18c1d89c6e49d9f7e29aedc88b51122611b | 2,814 | md | Markdown | docs/book/zh/src/dev/rust.md | infdahai/WasmEdge | bf08ecdb0008cb27e05d0987220754e2c84d177a | [
"Apache-2.0"
] | null | null | null | docs/book/zh/src/dev/rust.md | infdahai/WasmEdge | bf08ecdb0008cb27e05d0987220754e2c84d177a | [
"Apache-2.0"
] | null | null | null | docs/book/zh/src/dev/rust.md | infdahai/WasmEdge | bf08ecdb0008cb27e05d0987220754e2c84d177a | [
"Apache-2.0"
] | null | null | null | # Rust
在 WebAssembly 生态中,Rust 是一等公民编程语言之一。对开发者来说,WebEdge 为 WebAssembly 提供的所有扩展都有相对应的 Rust 的开发接口。
在这一章节中,我们将会向你展示如何将你的 Rust 应用程序编译为 WASM 字节码,并且在 WasmEdge Runtime 中运行它。
## 前置条件
开始前,你需要安装 [Rust](https://www.rust-lang.org/tools/install) 以及 [WasmEdge](../start/install.md)。
同时你也应该将 `wasm32-wasi` 添加到 Rust 工具链中。
```bash
rustup target add wasm32-wasi
```
## Hello world
Hello world 示例是一个独立的 Rust 应用程序,可以被 [WasmEdge 命令行接口](../start/cli.md) 执行。它的[源代码在这里](https://github.com/second-state/wasm-learning/tree/master/cli/hello)。
如下是 [main.rs](https://github.com/second-state/wasm-learning/blob/master/cli/hello/src/main.rs) 的完整代码,它会在运行的时候输出传递给这个程序的命令行参数。
```rust
use std::env;
fn main() {
println!("hello");
for argument in env::args().skip(1) {
println!("{}", argument);
}
}
```
### Hello world: 构建 WASM 字节码
```bash
cargo build --target wasm32-wasi
```
### Hello world: 在命令行中运行应用程序
我们将使用 `wasmedge` 命令来运行这个程序。
```bash
$ wasmedge target/wasm32-wasi/debug/hello.wasm second state
hello
second
state
```
## 一个简单的函数
[add 示例](https://github.com/second-state/wasm-learning/tree/master/cli/add)是一个 Rust 库函数,可以被 [WasmEdge 命令行接口](../start/cli.md) 接口在 `--reactor` 模式下执行。
如下是 [lib.rs](https://github.com/second-state/wasm-learning/blob/master/cli/add/src/lib.rs) 的完整代码,它将输出在运行的时候接收到的命令行参数。
它提供了一个简单的 `add()` 函数。
```rust
#[no_mangle]
pub fn add(a: i32, b: i32) -> i32 {
return a + b;
}
```
### 一个简单的函数: 构建 WASM 字节码
```bash
cargo build --target wasm32-wasi
```
### 一个简单的函数: 在命令行中运行应用程序
我们将使用 WasmEdge 的 `--reactor` 模式来运行这个程序。我们将函数的名字以及它的输入参数作为命令行参数。
```bash
$ wasmedge --reactor target/wasm32-wasi/debug/add.wasm add 2 2
4
```
## 调用复杂参数
当然,在大多数情况下,你不会使用命令行参数来调用函数。
相反地,你可能会需要使用一个 [WasmEdge 提供的语言 SDK](../../embed.md) 来调用函数、传递参数以及接收返回值。
以下是一些关于复杂参数和返回值的 SDK 示例。
* [在 GO 程序中使用 wasmedge-bindgen](../embed/go/function.md)
* [在 GO 程序中直接传递内存](../embed/go/memory.md)
## 提升性能
如果要让这些应用程序达到原生 Rust 的性能,你可以使用 `wasmedgec` 命令对 `wasm` 程序进行提前编译(AOT),然后使用 `wasmedge` 命令运行它。
```bash
$ wasmedgec hello.wasm hello.wasm
$ wasmedge hello.wasm second state
hello
second
state
```
对于 `--reactor` 模式,
```bash
$ wasmedgec add.wasm add.wasm
$ wasmedge --reactor add.wasm add 2 2
4
```
## 更多资料
* [通过 WASI 访问系统服务](rust/wasi.md) 展示了 WebAssembly 程序如何访问底层系统服务,比如文件系统和环境变量。
* [Tensorflow](rust/tensorflow.md) 展示了如何使用 WasmEdge Tensorflow Rust SDK 来为 WebAssembly 创建基于 Tensorflow 的 AI 推理应用程序。
* [简单的网络通信](rust/networking.md) 展示了如何使用 WasmEdge 网络通信 Rust SDK 来创建简单的 HTTP 客户端以及服务端应用程序。
* [非阻塞的网络通信](rust/networking-nonblocking.md) 展示了如何使用 WasmEdge 网络通信 Rust SDK 来创建一个高性能、非阻塞、并发连接的网络应用程序。
* [服务器端渲染](rust/ssr.md) 展示了如何使用 Rust 构建一个可交互的 Web 程序,并在服务器上使用 WasmEdge 来渲染 HTML DOM UI。用来渲染 HTML DOM 的 Rust 源代码会被编译为 WebAssembly,在浏览器中或是服务器上运行。
* [命令接口](rust/command.md) 展示了如何使用 WasmEdge 命令行接口 Rust SDK 来为 WebAssembly 创建原生的命令行应用程序。
| 21.984375 | 152 | 0.725302 | yue_Hant | 0.73068 |
4c64fcedd567218341f0977d49df9961e68600d8 | 375 | md | Markdown | README.md | MohammmedIsmailP/leap-year-finder | 1568f86654157b4ad8e24c3949a72a049cef306a | [
"MIT"
] | null | null | null | README.md | MohammmedIsmailP/leap-year-finder | 1568f86654157b4ad8e24c3949a72a049cef306a | [
"MIT"
] | null | null | null | README.md | MohammmedIsmailP/leap-year-finder | 1568f86654157b4ad8e24c3949a72a049cef306a | [
"MIT"
] | null | null | null | # leap-year-finder
"Leap Year Finder" is one of the Google Assistant Actions that is used to get you know that whether a specific year is a Leap year or not. It takes the year in number and returns whether it is a Leap year or not using Leap Year algorithm. You can also use deep link as "Talk to Leap Year Finder about 1984" to instantly get answered from Google Assistant.
| 125 | 355 | 0.784 | eng_Latn | 0.999972 |
4c65c82bf82bcd9c3c5f53ab8fab0c34c6bfec44 | 2,628 | md | Markdown | docs/error-messages/tool-errors/c-runtime-errors-r6002-through-r6035.md | OpenLocalizationTestOrg/cpp-docs.it-it | 05d8d2dcc95498d856f8456e951d801011fe23d1 | [
"CC-BY-4.0"
] | 1 | 2020-05-21T13:09:13.000Z | 2020-05-21T13:09:13.000Z | docs/error-messages/tool-errors/c-runtime-errors-r6002-through-r6035.md | OpenLocalizationTestOrg/cpp-docs.it-it | 05d8d2dcc95498d856f8456e951d801011fe23d1 | [
"CC-BY-4.0"
] | null | null | null | docs/error-messages/tool-errors/c-runtime-errors-r6002-through-r6035.md | OpenLocalizationTestOrg/cpp-docs.it-it | 05d8d2dcc95498d856f8456e951d801011fe23d1 | [
"CC-BY-4.0"
] | null | null | null | ---
title: C Runtime Errors R6002 through R6035 | Microsoft Docs
ms.custom:
ms.date: 11/04/2016
ms.reviewer:
ms.suite:
ms.technology:
- devlang-cpp
ms.tgt_pltfrm:
ms.topic: error-reference
f1_keywords:
- c.errors
dev_langs:
- C++
ms.assetid: 78019050-9a30-4b61-8250-a5702e0e2393
caps.latest.revision: 12
author: corob-msft
ms.author: corob
manager: ghogen
translation.priority.ht:
- de-de
- es-es
- fr-fr
- it-it
- ja-jp
- ko-kr
- ru-ru
- zh-cn
- zh-tw
translation.priority.mt:
- cs-cz
- pl-pl
- pt-br
- tr-tr
translationtype: Human Translation
ms.sourcegitcommit: 3168772cbb7e8127523bc2fc2da5cc9b4f59beb8
ms.openlocfilehash: 0ef4f808707cd6ff2a84d0eed9924f9cc65b9a8e
---
# C Runtime Errors R6002 through R6035
This section is a reference to the errors that can be generated by the C Runtime Library (CRT) when your app is loaded or running. These are errors that indicate either a bug in your app's code, or a condition that the runtime library can't handle, such as low memory. End users of your app may see these errors if you do not code your app to prevent the conditions that cause them.
## In This Section
[C Runtime Error R6002](../../error-messages/tool-errors/c-runtime-error-r6002.md)
[C Runtime Error R6008](../../error-messages/tool-errors/c-runtime-error-r6008.md)
[C Runtime Error R6009](../../error-messages/tool-errors/c-runtime-error-r6009.md)
[C Runtime Error R6016](../../error-messages/tool-errors/c-runtime-error-r6016.md)
[C Runtime Error R6017](../../error-messages/tool-errors/c-runtime-error-r6017.md)
[C Runtime Error R6018](../../error-messages/tool-errors/c-runtime-error-r6018.md)
[C Runtime Error R6019](../../error-messages/tool-errors/c-runtime-error-r6019.md)
[C Runtime Error R6024](../../error-messages/tool-errors/c-runtime-error-r6024.md)
[C Runtime Error R6025](../../error-messages/tool-errors/c-runtime-error-r6025.md)
[C Runtime Error R6028](../../error-messages/tool-errors/c-runtime-error-r6028.md)
[C Runtime Error R6030](../../error-messages/tool-errors/c-runtime-error-r6030.md)
[C Runtime Error R6031](../../error-messages/tool-errors/c-runtime-error-r6031.md)
[C Runtime Error R6032](../../error-messages/tool-errors/c-runtime-error-r6032.md)
[C Runtime Error R6033](../../error-messages/tool-errors/c-runtime-error-r6033.md)
[C Runtime Error R6035](../../error-messages/tool-errors/c-runtime-error-r6035.md)
## See Also
[C/C++ Build Errors](../../error-messages/compiler-errors-1/c-cpp-build-errors.md)
<!--HONumber=Jan17_HO2-->
| 32.444444 | 384 | 0.705479 | eng_Latn | 0.315879 |
4c65cc73ff27eef2eb71e37999c602e831dbec44 | 2,143 | md | Markdown | README.md | rashidaattar/StockHawk-master | 957447d518adf75b3cb2770c3d7ca7903b650858 | [
"Apache-2.0"
] | null | null | null | README.md | rashidaattar/StockHawk-master | 957447d518adf75b3cb2770c3d7ca7903b650858 | [
"Apache-2.0"
] | null | null | null | README.md | rashidaattar/StockHawk-master | 957447d518adf75b3cb2770c3d7ca7903b650858 | [
"Apache-2.0"
] | null | null | null | # StockHawk-master
Added enhancements to one app in order to make it production ready. The work included ensuring errors were handled gracefully, building a widget for the home screen, adding support for screen readers, optimizations for localization, and data visualization via a library.
The starter code provided by [Udacity](https://github.com/udacity) from [Stock Hawk](https://github.com/udacity/StockHawk)
Pre-requisites
--------------
- Android SDK 21 or Higher
- Build Tools version 21.1.2
- Android Support GridLayout 24.0.0
- Android Support CardView 24.0.0
- Android Support Design 23.1.1
- Google Play Services GCM 8.4.0
- JakeWharton Butterknife 8.0.1
- SimonVT Schematic 0.6.3
- Melnykov FloatingActionButton 1.2.0
- Material dialogs 0.8.5
- Yahoo Finance API 3.2.0
- PhilJayMP AndroidChart 2.1.6
Getting Started
---------------
This sample uses the Gradle build system. To build this project, use the
"gradlew build" command or use "Import Project" in Android Studio.
Support
-------
- Google+ Community: https://plus.google.com/communities/105153134372062985968
- Stack Overflow: http://stackoverflow.com/questions/tagged/android
Patches are encouraged, and may be submitted by forking this project and
submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.
License
-------
Copyright 2015 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
additional information regarding copyright ownership. The ASF licenses this
file to you 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.
| 36.948276 | 270 | 0.776948 | eng_Latn | 0.969862 |
4c661e9a78abc5d37a320f49061c18e85ce11def | 1,502 | md | Markdown | README.md | fhanik/spring-security-community | 211152e1fd57f5a9eb75a9e45cc031e9136624fb | [
"Apache-2.0"
] | 1 | 2019-04-16T16:01:05.000Z | 2019-04-16T16:01:05.000Z | README.md | 8fatemeT8/spring-security-community | 211152e1fd57f5a9eb75a9e45cc031e9136624fb | [
"Apache-2.0"
] | null | null | null | README.md | 8fatemeT8/spring-security-community | 211152e1fd57f5a9eb75a9e45cc031e9136624fb | [
"Apache-2.0"
] | 6 | 2020-06-04T17:03:36.000Z | 2022-03-21T06:15:53.000Z | # Spring SAML
[](https://github.com/spring-projects/spring-security-saml/)
Spring SAML Extension allows seamless inclusion of SAML 2.0 Service Provider capabilities in Spring applications. All products supporting SAML 2.0 in Identity Provider mode (e.g. ADFS 2.0, Shibboleth, OpenAM/OpenSSO, Ping Federate, Okta) can be used to connect with Spring SAML Extension.
## Code of Conduct
This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.adoc).
By participating, you are expected to uphold this code. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.
## Getting Started
We have provided [samples](samples) to get started with.
These samples are meant to be very [simple](samples).
## Links
Web: http://projects.spring.io/spring-security-saml/
Sources: https://github.com/spring-projects/spring-security-saml
Documentation: See [samples](samples)
CI: https://build.spring.io/browse/SES
Releases:
- Final: http://repo.spring.io/list/release/org/springframework/security/extensions/
- Milestone: http://repo.spring.io/list/milestone/org/springframework/security/extensions/spring-security-saml2/
- Snapshot: http://repo.spring.io/list/snapshot/org/springframework/security/extensions/spring-security-saml2/
Support:
- Stackoverflow: http://stackoverflow.com/questions/tagged/spring-saml
- Gitter: https://gitter.im/spring-projects/spring-security | 46.9375 | 288 | 0.790945 | eng_Latn | 0.475423 |
4c6758a5b8090eddbf331c72ef60f2c2e053cd7a | 40 | md | Markdown | _posts/2008-08-05-lc1779.md | GuilinDev/GuilinDev.github.io | 8eb80cde9dd8afca1843a1c197ada711987f9f7a | [
"MIT"
] | null | null | null | _posts/2008-08-05-lc1779.md | GuilinDev/GuilinDev.github.io | 8eb80cde9dd8afca1843a1c197ada711987f9f7a | [
"MIT"
] | 3 | 2020-06-23T18:15:58.000Z | 2021-07-16T01:57:18.000Z | _posts/2008-08-05-lc1779.md | GuilinDev/GuilinDev.github.io | 8eb80cde9dd8afca1843a1c197ada711987f9f7a | [
"MIT"
] | 1 | 2022-03-08T03:30:24.000Z | 2022-03-08T03:30:24.000Z | ---
layout: post
permalink: lc1779
---
| 8 | 18 | 0.625 | eng_Latn | 0.226697 |
4c68369c419fe48101d759ac81855193f0028e20 | 4,126 | md | Markdown | cv.md | RafaelKuebler/RafaelKuebler.github.io | 4c343f8503eec4508b4a7409423e8579f7623f6a | [
"MIT"
] | null | null | null | cv.md | RafaelKuebler/RafaelKuebler.github.io | 4c343f8503eec4508b4a7409423e8579f7623f6a | [
"MIT"
] | null | null | null | cv.md | RafaelKuebler/RafaelKuebler.github.io | 4c343f8503eec4508b4a7409423e8579f7623f6a | [
"MIT"
] | null | null | null | ---
layout: page
---
# CV
---
<div style="text-align: center">
A highly motivated Computer Science Engineer with experience of
Software Development and enthusiasm for Machine Learning
and Video Game Development.
</div>
---
## Education
*April 2017 - Present*<br/>
**Master’s degree in Computer Science**<br/>
*Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany*<br/>
Specializations: Anthropomatics and Cognitive Systems, Software Development and Compilers<br/>
Thesis: -*pending*-<br/>
Current average grade: 1.5 (very good)
*October 2013 - September 2017*<br/>
**Bachelor’s degree in Computer Science**<br/>
*Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany*<br/>
Thesis: Design and implementation of a workflow-based assistance system in Unity3D
*May 2013*<br/>
**Abitur (university entrance qualification)**<br/>
*German School Madrid (DSM), Madrid, Spain*<br/>
Main subjects: Computer Science and Mathematics<br/>
grade: 1.6 (very good)

## Work Experience
*October 2018 - Present*<br/>
**Student Assistant**<br/>
*FZI Forschungszentrum Informatik, Karlsruhe, Germany*<br/>
Performed path planning on Spiking Neural Networks.
*March 2018 - March 2019*<br/>
**Student Assistant**<br/>
*Institute for Anthropomatics and Robotics (IAR) at KIT, Intelligent Process Automation and Robotics Lab, Karlsruhe, Germany*<br/>
Implemented and evaluated tracking of OpenCV / ARToolkit fiducial markers on the Microsoft HoloLens.
*May 2017 - February 2018*<br/>
**C# Software Developer**<br/>
*Flexlog GmbH, Karlsruhe, Germany*<br/>
Developed automatic warehouse shuttle routing system.
Achievements: Increased GUI performance by 100% and redesigned pathfinding approach to reduce deadlocks more effectively.
*April 2016 - July 2016*<br/>
**Algorithms and Data Structures Tutor**<br/>
*Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany*<br/>
Instructed students about practical uses of the theory taught in the lectures.

## Volunteer experience
*June 2018 - Present*<br/>
**Mentor at the Make Your School Initiative**<br/>
Moderated and supervised project days at schools around Germany, assisting teachers and students with technical know-how.
*June 2015 - October 2015*<br/>
**Mentor at CoderDojo Karlsruhe, Germany**<br/>
Taught children of age 8 to 14 to code in Scratch and Python.
*September 2012- June 2013*<br/>
**Mentor at C++ Study Group**<br/>
*German School Madrid (DSM), Spain*<br/>
Prepared students for the Spanish Informatics Olympiad (OIE) by teaching effective algorithms and data structures to solve mathematical problems.

## Technical Skills
**Programming languages**: C#, Python, C/C++, Java<br/>
**Editing**: Microsoft Office, LaTeX<br/>
**Operating systems**: Windows, Ubuntu<br/>
**Version control**: Git, SVN<br/>
**Game engines**: Unreal Engine 4, Unity3D<br/>

## Honors and awards
*October 2015*<br/>
**Best Implementation Award**<br/>
*Hackathon 'Games and Gamification'*<br/>
sponsored by Microsoft at Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany
*May 2013*<br/>
**Honor in Computer Science**<br/>
*German School Madrid (DSM), Spain*

## Courses and workshops
*November 2015*<br/>
**Agile Software Engineering**<br/>
*by andrena objects Karlsruhe, Germany*<br/>
Covered topics: Scrum, Test Driven Development, Clean Code, Refactoring

## Languages
**Spanish**: Native speaker<br/>
**German**: Native speaker<br/>
**English**: Full professional proficiency (Cambridge Certificate in Advanced English C1, June 2011)<br/>
**Portuguese**: Limited working proficiency (speaking)<br/>
**French**: Limited working proficiency<br/>

## Leisure Interests
**Sports**: Judo Black Belt 1st dan, participation in numerous tournaments<br/>
**Music**: Played keyboard in big band

## Others
Driver’s license (EU)
| 31.257576 | 145 | 0.744547 | eng_Latn | 0.843373 |
4c686babc87e0ebf8e305022dd4d35ce1a6a29ae | 746 | md | Markdown | donuts.md | AmirHM-Dwight/donuts | 2b56c6151026ec280f51cc60cf2ad9fe33d2a24d | [
"MIT"
] | null | null | null | donuts.md | AmirHM-Dwight/donuts | 2b56c6151026ec280f51cc60cf2ad9fe33d2a24d | [
"MIT"
] | null | null | null | donuts.md | AmirHM-Dwight/donuts | 2b56c6151026ec280f51cc60cf2ad9fe33d2a24d | [
"MIT"
] | null | null | null | # Create a function to help Mr. James plan for a donut celebration
## Input: Exam Scores for all students
## Output: How many donuts
# Conditions
## If the class average is an A, every student gets a donut
## If the class average is a B, every student gets a half donut. Make sure not to round half donuts up. Return the float.
## If the class average is a C, every student gets 1/3 of a donut. Make sure not to round up, but to return the float
## If the class average is a D, every student will give Mr. James a half donut.
# Step One
## Create a flow chart for your algorithm
# Step Two
## Create your function. Fully comment out you code.
# Step Three
## Beta test your function with another group. How can you make you function better?
| 37.3 | 121 | 0.737265 | eng_Latn | 0.999121 |
4c68796de559597d3dcab5aad47e06cc2d8987b6 | 7,357 | md | Markdown | docs/FIRESTORE.md | MattNer0/nativescript-plugin-firebase | ca52cd1a4eef6fe5ad7c66c8c96acf75b999dd27 | [
"MIT"
] | null | null | null | docs/FIRESTORE.md | MattNer0/nativescript-plugin-firebase | ca52cd1a4eef6fe5ad7c66c8c96acf75b999dd27 | [
"MIT"
] | null | null | null | docs/FIRESTORE.md | MattNer0/nativescript-plugin-firebase | ca52cd1a4eef6fe5ad7c66c8c96acf75b999dd27 | [
"MIT"
] | null | null | null | <img src="https://raw.githubusercontent.com/EddyVerbruggen/nativescript-plugin-firebase/master/docs/images/features/firestore.png" height="85px" alt="Cloud Firestore"/>
## Enabling Firestore
During plugin installation you'll be asked whether or not you use Firestore.
In case you're upgrading and you have the `firebase.nativescript.json` file in your project root, edit it and add: `"firestore": true`.
Then run `rm -rf platforms && rm -rf node_modules && npm i`.
## Functions
All of these are 100% compatible with the Firestore Web API to make it easy to share code between web and native, and you can
refer to the [Firestore web api docs](https://firebase.google.com/docs/firestore/data-model) (make sure to look at the 'WEB' tab of those code samples).
### `init` / `initializeApp`
By default Firestore on iOS and Android persists data locally for offline usage (web doesn't by default, and the regular Firebase DB doesn't either on any platform).
If you don't like that awesome feature, you can pass `persist: false` to the [`init` function](../README.md#init).
> Note that `initializeApp` is simply an alias for `init` to make the plugin compatible with the web API.
```typescript
const firebase = require("nativescript-plugin-firebase/app");
firebase.initializeApp({
persist: false
});
```
### `collection`
A 'collection' is at the root of any Firestore interaction. Data is stored as a 'document' inside a collection.
```typescript
const citiesCollection = firebase.firestore().collection("cities");
```
### `collection.get()`
To get all documents inside a collection:
```typescript
const citiesCollection = firebase.firestore().collection("cities");
citiesCollection.get().then(querySnapshot => {
querySnapshot.forEach(doc => {
console.log(`${doc.id} => ${JSON.stringify(doc.data())}`);
});
});
```
### `collection().onSnapshot()`
To listen to changes in a certain collection, you can register a callback function that gets invoked every time data is changed.
To unsubscribe the listener, just invoke the function that was returned when attaching the listener.
> NOTE: Due to a bug in the iOS Firestore SDK 'unsubscribe' does not currently work (plugin version 5.0.0), so the plugin is silently ignoring further updates after unsubscribing. This should not hurt your usage in any way though.
```typescript
const citiesCollection = firebase.firestore().collection("cities");
const unsubscribe = citiesCollection.onSnapshot((snapshot: firestore.QuerySnapshot) => {
snapshot.forEach(city => console.log(city.data()));
});
// then after a while, to detach the listener:
unsubscribe();
```
> Using **Observables**? [Check the example in the demo app](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/f6972433dea48bf1d342a6e4ef7f955dff341837/demo-ng/app/item/items.component.ts#L187-L198).
### `collection.doc()`
As mentioned, a document lives inside a collection and contains the actual data:
```typescript
const citiesCollection = firebase.firestore().collection("cities");
const sanFranciscoDocument = citiesCollection.doc("SF");
```
### `collection.doc().get()`
To get the data inside a document (and check whether or not the document actually exists):
```typescript
const sanFranciscoDocument = firebase.firestore().collection("cities").doc("SF");
sanFranciscoDocument.get().then(doc => {
if (doc.exists) {
console.log(`Document data: ${JSON.stringify(doc.data())}`);
} else {
console.log("No such document!");
}
});
```
### `collection.doc().onSnapshot()`
To listen to changes in a certain document, you can register a callback function that gets invoked every time data is changed.
To unsubscribe the listener, just invoke the function that was returned when attaching the listener.
> NOTE: Due to a bug in the iOS Firestore SDK 'unsubscribe' does not currently work (plugin version 5.0.0), so the plugin is silently ignoring further updates after unsubscribing. This should not hurt your usage in any way though.
```typescript
const sanFranciscoDocument = firebase.firestore().collection("cities").doc("SF");
const unsubscribe = sanFranciscoDocument.onSnapshot(doc => {
if (doc.exists) {
console.log("Document data:", JSON.stringify(doc.data()));
} else {
console.log("No such document!");
}
});
// then after a while, to detach the listener:
unsubscribe();
```
> Using **Observables**? [Check the example in the demo app](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/f6972433dea48bf1d342a6e4ef7f955dff341837/demo-ng/app/item/items.component.ts#L175-L185).
### `collection.add()`
If you want to add a document with an auto-generated ID, use `add` on a *collection*:
```typescript
const citiesCollection = firebase.firestore().collection("cities");
citiesCollection.add({
name: "San Francisco",
state: "CA",
country: "USA",
capital: false,
population: 860000
}).then(documentRef => {
console.log(`San Francisco added with auto-generated ID: ${documentRef.id}`);
});
```
### `collection.doc().set()`
If you want to specify an ID yourself, use `set` on a *document*:
```typescript
const citiesCollection = firebase.firestore().collection("cities");
citiesCollection.doc("SF").set({
name: "San Francisco",
state: "CA",
country: "USA",
capital: false,
population: 860000
});
citiesCollection.doc("LA").set({
name: "Los Angeles",
state: "CA",
country: "USA",
capital: false,
population: 3900000
});
```
### `collection.doc().update()`
Update any number of properties of a document:
```typescript
const sanFranciscoDocument = firebase.firestore().collection("cities").doc("SF");
sanFranciscoDocument.update({
population: 860001
}).then(() => {
console.log("SF population updated");
});
```
### `collection.doc().delete()`
Entirely remove a document from a collection:
```typescript
const sanFranciscoDocument = firebase.firestore().collection("cities").doc("SF");
sanFranciscoDocument.delete().then(() => {
console.log("SF was erased from the face of the earth!");
});
```
### `collection.where()`
Firestore supports advanced querying with the `where` function. Those `where` clauses can be chained to form logical 'AND' queries:
```typescript
const citiesCollection = firebase.firestore().collection("cities");
// "Gimme all cities in California with a population below 550000"
const query = citiesCollection
.where("state", "==", "CA")
.where("population", "<", 550000);
query
.get()
.then(querySnapshot => {
querySnapshot.forEach(doc => {
console.log(`Relatively small Californian city: ${doc.id} => ${JSON.stringify(doc.data())}`);
});
});
```
### Ordering and limiting results of `collection.where()`
Return data sorted (asc or desc), or limit to a certain number of results:
```typescript
const citiesCollection = firebase.firestore().collection("cities");
// "Gimme the two largest cities in California, the largest first please"
const query = citiesCollection
.where("state", "==", "CA")
.orderBy("population", "desc")
.limit(2);
query
.get()
.then(querySnapshot => {
querySnapshot.forEach(doc => {
console.log(`Large Californian city: ${doc.id} => ${JSON.stringify(doc.data())}`);
});
});
```
## Future work
Need something else that's not supported yet? Please open an Issue or PR 😚 | 33.440909 | 230 | 0.71782 | eng_Latn | 0.918613 |
4c68a1b4546f36ccb4f59152622e5cc061f2a4d2 | 132 | md | Markdown | 13_graph-sketching.md | mvaenskae/podc2018-notes | 0ccbf1de75446d4ba47c0fde7e85a4e480a586f5 | [
"BSD-3-Clause"
] | null | null | null | 13_graph-sketching.md | mvaenskae/podc2018-notes | 0ccbf1de75446d4ba47c0fde7e85a4e480a586f5 | [
"BSD-3-Clause"
] | null | null | null | 13_graph-sketching.md | mvaenskae/podc2018-notes | 0ccbf1de75446d4ba47c0fde7e85a4e480a586f5 | [
"BSD-3-Clause"
] | 2 | 2018-08-09T10:32:24.000Z | 2020-03-29T15:15:21.000Z | # Graph Sketching \dotfill 1
mlem
## Coordinator Model \& Graph Connectivity \dotfill 1
mlem
## 2 Challenges \dotfill 1 \& 2
mlem
| 14.666667 | 53 | 0.719697 | eng_Latn | 0.125353 |
4c68ab1ecbfc074e43413876cdf0c907712915d5 | 894 | md | Markdown | packages/paste-libraries/dropdown/CHANGELOG.md | henrieri/paste | 6fd8ed3a9a7bf37a4d7dd4699f087e3fba50e28e | [
"MIT"
] | null | null | null | packages/paste-libraries/dropdown/CHANGELOG.md | henrieri/paste | 6fd8ed3a9a7bf37a4d7dd4699f087e3fba50e28e | [
"MIT"
] | null | null | null | packages/paste-libraries/dropdown/CHANGELOG.md | henrieri/paste | 6fd8ed3a9a7bf37a4d7dd4699f087e3fba50e28e | [
"MIT"
] | null | null | null | # Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.1.2](https://github.com/twilio-labs/paste/compare/@twilio-paste/dropdown-library@0.1.1...@twilio-paste/dropdown-library@0.1.2) (2020-07-01)
**Note:** Version bump only for package @twilio-paste/dropdown-library
## [0.1.1](https://github.com/twilio-labs/paste/compare/@twilio-paste/dropdown-library@0.1.0...@twilio-paste/dropdown-library@0.1.1) (2020-05-22)
### Bug Fixes
* **dropdown-library:** export all from downshift ([042f858](https://github.com/twilio-labs/paste/commit/042f8582f0ced1d290fa8e5c4e1d0b177feb20ee))
# 0.1.0 (2020-05-13)
### Features
* **dropdown-library:** add dropdown-library package ([e05be37](https://github.com/twilio-labs/paste/commit/e05be37ee6bd4758fb07cd7195c564cecfd40bb5))
| 28.83871 | 150 | 0.744966 | eng_Latn | 0.142412 |
4c69026807eb31f1f1831ef7819a483f294a9bf0 | 14,466 | md | Markdown | versioned_docs/version-v5/native/in-app-purchase-2.md | Emamalik/ionic-docs | 451e04299f9ac50d13b30fa805d1b78a4a46d009 | [
"Apache-2.0"
] | 470 | 2018-02-24T12:07:24.000Z | 2022-03-31T06:59:43.000Z | versioned_docs/version-v5/native/in-app-purchase-2.md | Emamalik/ionic-docs | 451e04299f9ac50d13b30fa805d1b78a4a46d009 | [
"Apache-2.0"
] | 1,575 | 2018-03-16T19:24:16.000Z | 2022-03-31T16:47:16.000Z | versioned_docs/version-v5/native/in-app-purchase-2.md | Emamalik/ionic-docs | 451e04299f9ac50d13b30fa805d1b78a4a46d009 | [
"Apache-2.0"
] | 2,420 | 2018-02-24T18:38:15.000Z | 2022-03-31T20:07:56.000Z | ---
sidebar_label: 'In App Purchase 2'
---
import DocsCard from '@theme/DocsCard';
import DocsButton from '@theme/DocsButton';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import CodeBlock from '@theme/CodeBlock';
# In App Purchase 2
In-App Purchase on iOS, Android, Windows, macOS and XBox.
## Features
| | ios | android | win-8 | win-10/uwp | mac |
| -------------------- | --- | ------- | ----- | ---------- | --- |
| consumables | ✅ | ✅ | ✅ | ✅ | ✅ |
| non consumables | ✅ | ✅ | ✅ | ✅ | ✅ |
| subscriptions | ✅ | ✅ | ✅ | ✅ | ✅ |
| restore purchases | ✅ | ✅ | ✅ | ✅ | ✅ |
| receipt validations | ✅ | ✅ | | ✅ | ✅ |
| downloadable content | ✅ | | | | ✅ |
| introductory prices | ✅ | ✅ | | ✅ | ✅ |
Supports:
- **iOS** version 7.0 or higher.
- **Android** version 2.2 (API level 8) or higher
- with Google Play client version 3.9.16 or higher
- **Windows** Store/Phone 8.1 or higher
- **Windows 10 Mobile**
- **macOS** version 10
- **Xbox One**
- (and any platform supporting Microsoft's UWP)
<p><a href="https://github.com/j3k0/cordova-plugin-purchase" target="_blank" rel="noopener" className="git-link">
<svg viewBox="0 0 512 512"><path d="M416 160c0-35.3-28.7-64-64-64s-64 28.7-64 64c0 23.7 12.9 44.3 32 55.4v8.6c0 19.9-7.8 33.7-25.3 44.9-15.4 9.8-38.1 17.1-67.5 21.5-14 2.1-25.7 6-35.2 10.7V151.4c19.1-11.1 32-31.7 32-55.4 0-35.3-28.7-64-64-64S96 60.7 96 96c0 23.7 12.9 44.3 32 55.4v209.2c-19.1 11.1-32 31.7-32 55.4 0 35.3 28.7 64 64 64s64-28.7 64-64c0-16.6-6.3-31.7-16.7-43.1 1.9-4.9 9.7-16.3 29.4-19.3 38.8-5.8 68.9-15.9 92.3-30.8 36-22.8 55-57 55-98.8v-8.6c19.1-11.1 32-31.7 32-55.4zM160 56c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 400c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm192-256c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z"></path></svg> https://github.com/j3k0/cordova-plugin-purchase
</a></p>
<h2>Stuck on a Cordova issue?</h2>
<DocsCard className="cordova-ee-card" header="Don't waste precious time on plugin issues." href="https://ionicframework.com/sales?product_of_interest=Ionic%20Native">
<div>
<img src="/docs/icons/native-cordova-bot.png" class="cordova-ee-img" />
<p>If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.</p>
<DocsButton className="native-ee-detail">Contact Us Today!</DocsButton>
</div>
</DocsCard>
<h2 id="installation">
<a href="#installation">Installation</a>
</h2>
<Tabs defaultValue="Capacitor" values={[
{value: 'Capacitor', label: 'Capacitor'},
{value: 'Cordova', label: 'Cordova'},
{value: 'Enterprise', label: 'Enterprise'},
]}>
<TabItem value="Capacitor">
<CodeBlock className="language-shell">
$ npm install cordova-plugin-purchase {"\n"}
$ npm install @ionic-native/in-app-purchase-2 {"\n"}
$ ionic cap sync
</CodeBlock>
</TabItem>
<TabItem value="Cordova">
<CodeBlock className="language-shell">
$ ionic cordova plugin add cordova-plugin-purchase {"\n"}
$ npm install @ionic-native/in-app-purchase-2 {"\n"}
</CodeBlock>
</TabItem>
<TabItem value="Enterprise">
<blockquote>Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team.
<a class="btn" href="https://ionic.io/docs/premier-plugins">Learn More</a> or if you're interested in an enterprise version of this plugin <a class="btn" href="https://ionicframework.com/sales?product_of_interest=Ionic%20Enterprise%20Engine">Contact Us</a></blockquote>
</TabItem>
</Tabs>
## Supported Platforms
- iOS
- Android
- Windows
## Usage
### React
[Learn more about using Ionic Native components in React](../native-community.md#react)
### Angular
```tsx
import { InAppPurchase2 } from '@ionic-native/in-app-purchase-2/ngx';
constructor(public platform: Platform, private store: InAppPurchase2) {
platform.ready().then(() => {
this.store.register({
id: "my_product_id",
type: this.store.NON_RENEWING_SUBSCRIPTION,
});
this.store.when("my_product_id")
.approved(p => p.verify())
.verified(p => p.finish());
this.store.refresh();
});
}
...
this.store.order("my_product_id");
```
## Full example
```tsx
// After platform ready
this.store.verbosity = this.store.DEBUG;
this.store.register({
id: "my_product_id",
type: this.store.PAID_SUBSCRIPTION,
});
// Register event handlers for the specific product
this.store.when("my_product_id").registered( (product: IAPProduct) => {
console.log('Registered: ' + JSON.stringify(product));
});
// Updated
this.store.when("my_product_id").updated( (product: IAPProduct) => {
console.log('Updated' + JSON.stringify(product));
});
// User closed the native purchase dialog
this.store.when("my_product_id").cancelled( (product) => {
console.error('Purchase was Cancelled');
});
// Track all store errors
this.store.error( (err) => {
console.error('Store Error ' + JSON.stringify(err));
});
// Run some code only when the store is ready to be used
this.store.ready(() => {
console.log('Store is ready');
console.log('Products: ' + JSON.stringify(this.store.products));
console.log(JSON.stringify(this.store.get("my_product_id")));
});
// Refresh the status of in-app products
this.store.refresh();
...
// To make a purchase
this.store.order("my_product_id");
```
## Philosophy
The API is mostly events based. As a user of this plugin,
you will have to register listeners to changes happening to the products
you register.
The core of the listening mechanism is the `when()` method. It allows you to
be notified of changes to one or a set of products using a query mechanism:
```tsx
this.store.when('product').updated(refreshScreen); // match any product
this.store.when('full_version').owned(unlockApp); // match a specific product
this.store.when('subscription').approved(serverCheck); // match all subscriptions
this.store.when('downloadable content').downloaded(showContent);
```
The `updated` event is fired whenever one of the fields of a product is
changed (its `owned` status for instance).
This event provides a generic way to track the statuses of your purchases,
to unlock features when needed and to refresh your views accordingly.
## Registering products
The store needs to know the type and identifiers of your products before you
can use them in your code.
Use `store.register()` to define them before your first call to `store.refresh()`.
Once registered, you can use `store.get()` to retrieve an `IAPProduct` object.
```tsx
this.store.register({
id: "my_consumable1",
type: this.store.CONSUMABLE
});
...
const p = this.store.get("my_consumable1");
```
The product `id` and `type` have to match products defined in your
Apple, Google or Microsoft developer consoles.
Learn more about it [from the wiki](https://github.com/j3k0/cordova-plugin-purchase/wiki).
## Displaying products
Right after you registered your products, nothing much is known about them
except their `id`, `type` and an optional `alias`.
When you perform the initial call to `store.refresh()`, the platforms' server will
be contacted to load informations about the registered products: human
readable `title` and `description`, `price`, etc.
This isn't an optional step, store owners require you
to display information about a product exactly as retrieved from their server: no
hard-coding of price and title allowed! This is also convenient for you
as you can change the price of your items knowing that it'll be reflected instantly
on your clients' devices.
Note that the information may not be available when the first view that needs
them appears on screen. For you, the best option is to have your view monitor
changes made to the product.
## Purchasing
#### initiate a purchase
Purchases are initiated using the `store.order("some_product_id")` method.
The store will manage the internal purchase flow. It'll end:
- with an `approved` event. The product enters the `APPROVED` state.
- with a `cancelled` event. The product gets back to the `VALID` state.
- with an `error` event. The product gets back to the `VALID` state.
See the product life-cycle section for details about product states.
#### finish a purchase
Once the transaction is approved, the product still isn't owned: the store needs
confirmation that the purchase was delivered before closing the transaction.
To confirm delivery, you'll use the `product.finish()` method.
#### example usage
During initialization:
```tsx
this.store.when('extra_chapter').approved((product: IAPProduct) => {
// download the feature
app.downloadExtraChapter().then(() => product.finish());
});
```
When the purchase button is clicked:
```tsx
this.store.order('extra_chapter');
```
#### un-finished purchases
If your app wasn't able to deliver the content, `product.finish()` won't be called.
Don't worry: the `approved` event will be re-triggered the next time you
call `store.refresh()`, which can very well be the next time
the application starts. Pending transactions are persistant.
#### simple case
In the most simple case, where:
- delivery of purchases is only local ;
- you don't want (or need) to implement receipt validation ;
You may just want to finish all purchases automatically. You can do it this way:
```js
this.store.when('product').approved((p: IAPProduct) => p.finish());
```
NOTE: the "product" query will match any purchases (see "queries" to learn more details about queries).
## Receipt validation
To get the most up-to-date information about purchases (in case a purchase have been canceled, or a subscription renewed),
you should implement server side receipt validation.
This also protects you against fake "purchases", made by some users using
"free in-app purchase" apps on their devices.
When a purchase has been approved by the store, it's enriched with
transaction information (see `product.transaction` attribute).
To verify a purchase you'll have to do three things:
- configure the validator.
- call `product.verify()` from the `approved` event, before finishing the transaction.
- finish the transaction when transaction is `verified`.
**Shameless Plug**: this is a feature many users struggle with, so as the author of this plugin, we can provide it to you as-a-service: https://billing.fovea.cc/
(which is free until you start making serious money)
#### example using a validation URL
```js
this.store.validator = 'https://billing.fovea.cc/';
this.store
.when('my stuff')
.approved((p: IAPProduct) => p.verify())
.verified((p: IAPProduct) => p.finish());
```
## Subscriptions
For subscription, you MUST implement remote receipt validation.
When the receipt validator returns a `store.PURCHASE_EXPIRED` error code, the subscription will
automatically loose its `owned` status.
Typically, you'll enable and disable access to your content this way.
```tsx
this.store.when('my_subcription').updated((product: IAPProduct) => {
if (product.owned) app.subscriberMode();
else app.guestMode();
});
```
## Product life-cycle
A product will change state during the application execution.
Find below a diagram of the different states a product can pass by.
```
REGISTERED +--> INVALID
|
+--> VALID +--> REQUESTED +--> INITIATED +-+
|
^ +------------------------------+
| |
| | +--> DOWNLOADING +--> DOWNLOADED +
| | | |
| +--> APPROVED +--------------------------------+--> FINISHED +--> OWNED
| |
+-------------------------------------------------------------+
#### Notes
- When finished, a consumable product will get back to the `VALID` state, while other will enter the `OWNED` state.
- Any error in the purchase process will bring a product back to the `VALID` state.
- During application startup, products may go instantly from `REGISTERED` to `APPROVED` or `OWNED`, for example if they are purchased non-consumables or non-expired subscriptions.
- Non-Renewing Subscriptions are iOS products only. Please see the [iOS Non Renewing Subscriptions documentation](https://github.com/j3k0/cordova-plugin-purchase/blob/master/doc/ios.md#non-renewing) for a detailed explanation.
## events
- `loaded(IAPProduct)`
- Called when product data is loaded from the store.
- `updated(IAPProduct)`
- Called when any change occured to a product.
- `error(err)`
- Called when an order failed.
- The `err` parameter is an error object
- `approved(IAPProduct)`
- Called when a product order is approved.
- `owned(IAPProduct)`
- Called when a non-consumable product or subscription is owned.
- `cancelled(IAPProduct)`
- Called when a product order is cancelled by the user.
- `refunded(IAPProduct)`
- Called when an order is refunded by the user.
- Actually, all other product states have their promise
- `registered`, `valid`, `invalid`, `requested`,
`initiated` and `finished`
- `verified(IAPProduct)`
- Called when receipt validation successful
- `unverified(IAPProduct)`
- Called when receipt verification failed
- `expired(IAPProduct)`
- Called when validation find a subscription to be expired
- `downloading(IAPProduct, progress, time_remaining)`
- Called when content download is started
- `downloaded(IAPProduct)`
- Called when content download has successfully completed
## Learn More
- [GitHub](https://github.com/j3k0/cordova-plugin-purchase)
- [GitBook](https://purchase.cordova.fovea.cc/)
- [Wiki](https://github.com/j3k0/cordova-plugin-purchase/wiki)
- [API reference](https://github.com/j3k0/cordova-plugin-purchase/blob/master/doc/api.md)
## Technical Support or Questions
If you have questions or need help integrating In-App Purchase, [Open an Issue on GitHub](https://github.com/j3k0/cordova-plugin-purchase/issues) or email us at _support@fovea.cc_.
@interfaces
IAPProduct
IAPProductOptions
IAPProductEvents
```
| 35.630542 | 765 | 0.679732 | eng_Latn | 0.955111 |
4c69123d91d126fb633dca9c1cbb12be455714ea | 100 | md | Markdown | README.md | yuzhangqu/ElectronFlash | 9fb52ea8af9c40e2e572b97a9b6158b4f658ee4e | [
"CC0-1.0"
] | null | null | null | README.md | yuzhangqu/ElectronFlash | 9fb52ea8af9c40e2e572b97a9b6158b4f658ee4e | [
"CC0-1.0"
] | 2 | 2021-01-28T19:48:10.000Z | 2022-03-25T18:41:48.000Z | README.md | yuzhangqu/ElectronFlash | 9fb52ea8af9c40e2e572b97a9b6158b4f658ee4e | [
"CC0-1.0"
] | null | null | null | # ElectronFlash
这里基于Electron的跨平台珠心算训练项目。
## To use
```bash
npm install
npm start
npm run dist
```
| 9.090909 | 24 | 0.73 | eng_Latn | 0.431309 |
4c6a936fc02f1aee0e15a82c68e68ae24f06c9a9 | 117 | md | Markdown | Human Interface Guidelines/Human Interface Guidelines.md | jeuneseven/iOS-Documentation-Archive | 60286134ec60e8338fad94c4712f8b61c08fdbad | [
"Apache-2.0"
] | 3 | 2017-03-22T08:55:59.000Z | 2018-04-28T06:51:29.000Z | Human Interface Guidelines/Human Interface Guidelines.md | jeuneseven/iOS-Developer-Library-Translate | ccba75444e7302b2cd88f9d5ec595c9202bd23f1 | [
"Apache-2.0"
] | null | null | null | Human Interface Guidelines/Human Interface Guidelines.md | jeuneseven/iOS-Developer-Library-Translate | ccba75444e7302b2cd88f9d5ec595c9202bd23f1 | [
"Apache-2.0"
] | null | null | null | [Human Interface Guidelines 原文链接](https://developer.apple.com/design/human-interface-guidelines/ios/overview/themes/) | 117 | 117 | 0.82906 | yue_Hant | 0.25779 |
4c6b5257664531b45432060907e871bcae70c05f | 2,140 | md | Markdown | README.md | DirectoryTree/Watchdog | d4c74f9853784a394addca473402af282c4be779 | [
"MIT"
] | 16 | 2020-03-28T09:57:09.000Z | 2021-12-13T12:44:28.000Z | README.md | DirectoryTree/Watchdog | d4c74f9853784a394addca473402af282c4be779 | [
"MIT"
] | null | null | null | README.md | DirectoryTree/Watchdog | d4c74f9853784a394addca473402af282c4be779 | [
"MIT"
] | 2 | 2020-08-26T17:32:04.000Z | 2021-03-20T20:00:35.000Z | <p align="center">
<img title="Watchdog" height="150" src="https://raw.githubusercontent.com/DirectoryTree/LdapWatchdog.com/master/source/assets/img/logo-large.png"/>
</p>
<h3 align="center">
Monitor & Audit your Active Directory / LDAP server.
</h3>
<h4 align="center">
<a href="https://ldapwatchdog.com/docs/quickstart/">Quickstart</a>
<span> · </span>
<a href="https://ldapwatchdog.com/docs/">Documentation</a>
</h4>
<hr/>
<p align="center">
<a href="https://laravel.com"><img src="https://img.shields.io/badge/Built_for-Laravel-green.svg?style=flat-square"></a>
<a href="https://travis-ci.com/directorytree/watchdog"><img src="https://img.shields.io/travis/directorytree/watchdog.svg?style=flat-square"></a>
<a href="https://scrutinizer-ci.com/g/directorytree/watchdog"><img src="https://img.shields.io/scrutinizer/g/directorytree/watchdog/master.svg?style=flat-square"></a>
<a href="https://packagist.org/packages/directorytree/watchdog"><img src="https://img.shields.io/packagist/dt/directorytree/watchdog.svg?style=flat-square"></a>
<a href="https://packagist.org/packages/directorytree/watchdog"><img src="https://img.shields.io/packagist/v/directorytree/watchdog.svg?style=flat-square"></a>
<a href="https://packagist.org/packages/directorytree/watchdog"><img src="https://img.shields.io/packagist/l/directorytree/watchdog.svg?style=flat-square"></a>
</p>
💼 **Track every single change made to objects**
Watchdog records every change made to every attribute inside of your Active Directory / LDAP server.
🚨 **Get alerted when important things happen**
Watchdog notifies you of changes that affect security, such as:
- Account expiry
- Account logon
- Account lockouts
- Password expiry
- Password changes
- Account enablement
- Account disablement
- Group membership changes
- Object creation & modification
- And more.
---
<h3 align="center">Watchdog is Supportware™</h3>
<p align="center">If you require support using Watchdog, a <a href="https://github.com/sponsors/stevebauman">sponsorship</a> is required.</p>
<p align="center">Thank you for your understanding :heart:</p>
| 41.153846 | 170 | 0.733645 | eng_Latn | 0.416309 |
4c6b5d2e8426c689fceedf6a4649a2babaafb01a | 298 | md | Markdown | packages/kickjump__prisma/CHANGELOG.md | kickjump/kickjump | a7e529ea2c5fc9825f23618a4abd33b5fe2d0439 | [
"BSD-3-Clause"
] | 4 | 2022-01-22T16:53:01.000Z | 2022-02-12T01:59:03.000Z | packages/kickjump__prisma/CHANGELOG.md | kickjump/kickjump | a7e529ea2c5fc9825f23618a4abd33b5fe2d0439 | [
"BSD-3-Clause"
] | 7 | 2017-05-30T11:19:28.000Z | 2022-02-01T02:41:58.000Z | packages/kickjump__prisma/CHANGELOG.md | kickjump/kickjump | a7e529ea2c5fc9825f23618a4abd33b5fe2d0439 | [
"BSD-3-Clause"
] | null | null | null | # @kickjump/prisma
## 0.0.1
> 2022-01-30
### Patch Changes
- [#10](https://github.com/kickjump/kickjump/pull/10) [`8130850`](https://github.com/kickjump/kickjump/commit/81308504492e42adce18cf57d64b67c31fd04ce5) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Generate the placeholder package.
| 29.8 | 234 | 0.741611 | kor_Hang | 0.092244 |
4c6bd9aa6e01dcf221f3b0d7ee7d8798d7333dbb | 3,941 | md | Markdown | plugins/OSPRay_plugin/Readme.md | sellendk/megamol | 0e4840b1897706c861946992ce3524bafab53352 | [
"BSD-3-Clause"
] | null | null | null | plugins/OSPRay_plugin/Readme.md | sellendk/megamol | 0e4840b1897706c861946992ce3524bafab53352 | [
"BSD-3-Clause"
] | null | null | null | plugins/OSPRay_plugin/Readme.md | sellendk/megamol | 0e4840b1897706c861946992ce3524bafab53352 | [
"BSD-3-Clause"
] | null | null | null | # MegaMol Plugin: OSPRay
[OSPRay](http://ospray.org) is a CPU ray tracing engine and is one project of the Software Defined Visualization (SDVis) open source initiative of Intel (http://sdvis.org/).
It builds on top of the high-performance ray tracing kernels of [Embree](https://embree.github.io/) and the [ISPC](https://ispc.github.io/) SPMD compiler.
In this plugin, most of the functionality of OSPRay is covered and can be used via MegaMol modules and MegaMol calls.
This plugin supports the chain paradigm that allows lights and structures to be stacked arbitrarily.
The figure below shows a common OSPRay module call graph in MegaMol.

## Building
[OSPRay](http://ospray.org) is not included in this package, however it is required for this plugin to be build.
The currently supported OSPRay versions are **2.4** through **2.7**.
In order to get all dependencies installed at once, we strongly recommend to build [OSPRay](https://www.ospray.org/downloads.html) following the **CMake Superbuild** instructions.
The current dependencies are: [rkcommon](https://github.com/ospray/rkcommon), [openvkl](https://www.openvkl.org/), [ISPC](https://ispc.github.io/), [TBB](https://www.threadingbuildingblocks.org/) ([oneTBB](https://github.com/oneapi-src/oneTBB)), and [Embree](https://embree.github.io/). These need not be installed manually though (see below).
*Installing the precompiled binaries is not sufficient!*
- Step 1: **MegaMol:**
- Build a vanilla MegaMol to provide its internal TBB for Step 2
- Step 2: **OSPRay:**
- Download the source code to a new folder `git clone https://github.com/ospray/ospray.git ospray` and configure OSPRay with CMake using the CMake file located in `scripts/superbuild`. This automatically fetches the required dependencies.
- In order to speed up the build process, uncheck the option `BUILD_EMBREE_FROM_SOURCE` since the binary version of Embree is sufficient.
- Since MegaMol also uses TBB, you need to point OSPRay to the TBB inside the MegaMol build to avoid conflicts (in ```<megamol_build_dir>/_deps/tbb-install```)
- Build OSPRay following further instructions for the CMake Superbuild
- We have found the following to work quickest (on Windows, for Linux adapt the environment setting and slashes to ```export``` etc.):
```bash
set TBB_ROOT=<megamol_build_dir>\_deps\tbb-install
cmake -S scripts/superbuild -B build/super -D DOWNLOAD_TBB=false -D BUILD_EMBREE_FROM_SOURCE=false -D CMAKE_INSTALL_PREFIX=build/super/install -G Ninja
cmake --build build/super --config Release
```
- Step 3: **MegaMol:**
- Make sure you enable the plugin in CMake by checking the option `BUILD_OSPRAY_PLUGIN_PLUGIN`.
Either use `-DBUILD_OSPRAY_PLUGIN_PLUGIN` as configuration argument or use the graphical user interface `ccmake`.
- If OSPRay is not automatically found during configuration of MegaMol, set the appropriate `ospray_DIR`.
*Hint:* The CMake configuration files of OSPRay are usually found in a subdirectory of the install directory: `<megamol_build_dir>/install/ospray/lib/cmake/...`
- CMake subsequently asks for the build files of the following dependencies:
- rkcommon: `<megamol_build_dir>/install/rkcommon/lib/cmake/...`
- Build and install MegaMol.
- In order to test OSPRay, start MegaMol using the example project file `<megamol_build_dir>/install/examples/testspheres_ospray_megamol.lua`.
*Note:* On Linux, you have to run MegaMol using the `megamol.sh` script in order to additionally set the required path to the shared libraries of OSPRay.
## Modules
As seen in the figure above, the OSPRay plugin has three different kinds of modules: `OSPRayStructure`, `OSPRayLight`, and `OSPRayMaterial`.
While these three modules are processing the actual data and several parameters, main module of this plugin is the `OSPRayRenderer` that communicats to OSPRay via its API.
| 78.82 | 343 | 0.763004 | eng_Latn | 0.941331 |
4c6c99acab3796dafe3edd520b8e67d9d36b0a73 | 13,447 | md | Markdown | README.md | shiftio/splunk-library-javalogging | 559b4f6dddf3b5954fee962bdd98ff9340cb4c24 | [
"Apache-2.0"
] | null | null | null | README.md | shiftio/splunk-library-javalogging | 559b4f6dddf3b5954fee962bdd98ff9340cb4c24 | [
"Apache-2.0"
] | 3 | 2021-12-10T01:49:06.000Z | 2021-12-14T21:53:23.000Z | README.md | shiftio/splunk-library-javalogging | 559b4f6dddf3b5954fee962bdd98ff9340cb4c24 | [
"Apache-2.0"
] | 2 | 2017-08-30T02:16:56.000Z | 2017-12-20T17:01:45.000Z | # Splunk Logging for Java
#### Version 1.5.2
This project provides utilities to easily log data using Splunk's recommended
best practices to any supported logger, using any of the three major Java
logging frameworks (Logback, Log4J 2, and java.util.logging), to the [HTTP Event Collector](http://dev.splunk.com/view/event-collector/SP-CAAAE6M) and to Splunk TCP
inputs.
In particular, it provides:
* Appenders for HTTP Event Collector for pushing from Logback, Log4J 2 and java.util.logging.
* The `SplunkCimLogEvent` class, which encapsulates the CIM (Common
Information Model) in Splunk Enterprise and best practices for semantic
logging.
* A TCP appender for Logback, which is the only one of the three frameworks
listed above that doesn't provide native support for writing to TCP ports.
* Example configuration files for all three frameworks, showing how to
configure them to write to Splunk TCP ports.
## Advice
### Splunk Universal Forwarder vs Splunk TCP Inputs
If you can, it is better to log to files and monitor them with a Splunk
Universal Forwarder. This provides you with the features of the Universal
Forwarder, and added robustness from having persistent files. However, there
are situations where using a Universal Forwarder is not a possibility. In
these cases, writing directly to a TCP input is a reasonable approach.
In either scenario, we recommend using the `SplunkCimLogEvent` class
provided by this library to construct your log events according to Splunk's
recommended best practices.
### Resilience
All of the TCP appenders we show config files for (SocketHandler for
java.util.logging, SocketAppender for Log4J 2, and the TCPAppender provided
with this library for Logback) will attempt to reconnect in case of dropped
connections.
### Data Cloning
You can use [data cloning](http://docs.splunk.com/Splexicon:Datacloning) by
providing multiple instances of your TCP handler in your logging
configuration, each instance pointing to different indexers.
### Load Balancing
Rather than trying to reinvent
[load balancing](http://docs.splunk.com/Splexicon:Loadbalancing) across your
indexers in your log configuration, set up a Splunk Universal Forwarder with a
TCP input. Have all your logging sources write to that TCP input, and use the
Universal Forwarder's load balancing features to distribute the data from
there to a set of indexers.
### Thread Safety
Log4j and Logback are thread-safe.
### Sending events to HTTP Event Collector
HTTP Event Collector requires Splunk 6.3+. Splunk Java library supports sending
events through `java.util.logging`, `log4j` and `logback` standard loggers.
In order to use HTTP Event Collector it has to be enabled on the server and an
application token should be created.
Splunk Logging for Java includes several examples of configuration files in
`src/test/resources` folder. For instance `java.util.logging` configuration looks like:
```
handlers=com.splunk.logging.HttpEventCollectorLoggingHandler
com.splunk.logging.HttpEventCollectorLoggingHandler.url=https://splunk-server:8088
com.splunk.logging.HttpEventCollectorLoggingHandler.token=<token-guid>
```
Sending events is simple:
```java
Logger LOGGER = java.util.logging.Logger.getLogger("splunk.java.util");
LOGGER.info("hello world");
```
For more information, see http://dev.splunk.com/view/SP-CAAAE2K.
# License
Splunk logging for Java is licensed under the Apache License 2.0.
Details can be found in the LICENSE file.
## Using Splunk Logging for Java
To use the Splunk Logging for Java library, you will need to add it and the
logging library you have chosen to use to your project, open a TCP input on a
Splunk instance to write your log events to, configure your logging system,
and then use the `SplunkCimLogEvent` class to generate well formed log
entries.
1. Add the Splunk Logging for Java library to your project. If you are using
Maven, add the following to your dependencies section:
```xml
<dependency>
<groupId>com.splunk.logging</groupId>
<artifactId>splunk-library-javalogging</artifactId>
<version>1.5.2</version>
</dependency>
```
You might also want to add the following repository to your repositories section:
```
<repository>
<id>splunk</id>
<name>splunk-releases</name>
<url>http://splunk.artifactoryonline.com/splunk/ext-releases-local</url>
</repository>
```
If you are using Ant, download the corresponding JAR file from
[http://dev.splunk.com/goto/sdk-slj](http://dev.splunk.com/goto/sdk-slj).
2. Add the logging framework you plan to use. The three big ones in use today
are *Logback*, *Log4J 2.x*, and *java.util.logging* (which comes with your
JDK). If you are using Maven, add the corresponding dependencies below to
your `pom.xml`:
* Logback:
```xml
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.5</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.0.13</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.0.13</version>
</dependency>
```
* Log4J 2.x:
```xml
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.0-beta9</version>
</dependency>
```
* java.util.logging ships with the JDK.
3. Create a TCP input in Splunk that you will write to. To learn how, see
[Get data from TCP and UDP ports](http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports).
4. Configure your logging system. Here are simple example configurations for
each of the three systems. The `log4j2.xml` and `logback.xml` files
should be put somewhere in the classpath of your program.
jdklogging.properties should be specified to your program by passing the
following to the Java executable:
```
-Djava.util.logging.config.file=/path/to/jdklogging.properties
```
* Logback (to be put in `logback.xml` on the classpath)
```xml
<configuration>
<!--
You should send data to Splunk using TCP inputs. You can find the
documentation on how to open TCP inputs on Splunk at http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports.
Logback does not ship with a usable appender for TCP sockets (its
SocketAppender serializes Java objects for deserialization by a
server elsewhere). Instead, use the TcpAppender provided with this
library.
This example assumes that you have Splunk running on your local
machine (127.0.0.1) with a TCP input configured on port 15000.
Note that TCP inputs are *not* the same as Splunk's management
port.
You can control the format of what is logged by changing the
encoder (see http://logback.qos.ch/manual/layouts.html#ClassicPatternLayout
for details), but the pattern below produces a simple timestamp,
followed by the full message and a newline, like the following:
2012-04-26 14:54:38,461 [%thread] %level text of my event
-->
<appender name="socket" class="com.splunk.logging.TcpAppender">
<RemoteHost>127.0.0.1</RemoteHost>
<Port>15000</Port>
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%date{ISO8601} [%thread] %level: %msg%n</pattern>
</layout>
</appender>
<logger name="splunk.logger" additivity="false" level="INFO">
<appender-ref ref="socket"/>
</logger>
<root level="INFO">
<appender-ref ref="socket"/>
</root>
</configuration>
```
* Log4j 2.x (to be put in `log4j2.xml` on the classpath)
```xml
<Configuration status="info" name="example" packages="">
<!-- Define an appender that writes to a TCP socket. We use Log4J's
SocketAppender, which is documented at https://logging.apache.org/log4j/2.x/manual/appenders.html#SocketAppender.
You can find the documentation on how to open TCP inputs on Splunk
at http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports.
Note that TCP inputs are *not* the same as Splunk's management port.
-->
<Appenders>
<Socket name="socket" host="127.0.0.1" port="15000">
<PatternLayout pattern="%p: %m%n" charset="UTF-8"/>
</Socket>
</Appenders>
<!-- Define a logger named 'splunk.logger' which writes to the socket appender we defined above. -->
<Loggers>
<Root level="INFO">
</Root>
<Logger name="splunk.logger" level="info">
<AppenderRef ref="socket"/>
</Logger>
</Loggers>
</Configuration>
```
* java.util.logging
```
# We will write to a Splunk TCP input using java.util.logging's
# SocketHandler. This line sets it to be the default handler for
# all loggers.
handlers = java.util.logging.SocketHandler
config =
# Set the default logging level for the root logger
.level = INFO
# Implicitly create a logger called 'splunk.logger', set its
# level to INFO, and make it log using the SocketHandler.
splunk.logger.level = INFO
splunk.logger.handlers = java.util.logging.SocketHandler
# Configure the SocketHandler to write to TCP port localhost:15000.
# Note that TCP inputs are *not* the same as Splunk's management
# port. You can find the documentation about how to open TCP
# inputs in Splunk at http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports.
#
# You can find the documentation on using a SocketHandler at http://docs.oracle.com/javase/7/docs/api/java/util/logging/SocketHandler.html.
java.util.logging.SocketHandler.level = INFO
java.util.logging.SocketHandler.host = localhost
java.util.logging.SocketHandler.port = 15000
# With Java 7, you can set the format of SimpleFormatter. On Java 6,
# you cannot and you will probably want to write a custom formatter
# for your system. The syntax of the format string is given at
# http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax
# and http://docs.oracle.com/javase/7/docs/api/java/util/logging/SimpleFormatter.html
# for logging specific behavior.
java.util.logging.SocketHandler.formatter = SimpleFormatter
java.util.logging.SimpleFormatter.format = "%1$F %1$r %4$s: %6$s%n"
```
5. Import `com.splunk.logging.SplunkCimLogEvent` and use it to create
events. This example code uses Logback as the logger, but the part
relevant to `SplunkCimLogEvent` will be unchanged for other frameworks:
```java
logger.info(new SplunkCimLogEvent("Event name", "event-id") {{
// You can add an arbitrary key=value pair with addField.
addField("name", "value");
// If you are logging exceptions, use addThrowable, which
// does nice formatting. If ex is an exception you have caught
// you would log it with
addThrowableWithStacktrace(ex);
// SplunkCimLogEvent provides lots of convenience methods for
// fields defined by Splunk's Common Information Model. See
// the SplunkCimLogEvent JavaDoc for a complete list.
setAuthAction("deny");
}});
```
## Splunk
If you haven't already installed Splunk, download it here:
[http://www.splunk.com/download](http://www.splunk.com/download).
For more about installing and running Splunk and system requirements,
see [Installing & Running Splunk](http://dev.splunk.com/view/SP-CAAADRV).
## Contribute
[Get the Splunk Java Logging Framework from GitHub](https://github.com/splunk/splunk-library-javalogging)
and clone the resources to your computer. For example, use the following
command:
git clone https://github.com/splunk/splunk-library-javalogging.git
## Resources
Documentation for this library
* [http://dev.splunk.com/goto/sdk-slj](http://dev.splunk.com/goto/sdk-slj)
Splunk Common Information Model
* [http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/UnderstandandusetheCommonInformationModel](http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/UnderstandandusetheCommonInformationModel)
Splunk Best Practice Logging Semantics
* [http://dev.splunk.com/view/logging-best-practices/SP-CAAADP6](http://dev.splunk.com/view/logging-best-practices/SP-CAAADP6)
Introduction to the Splunk product and some of its capabilities
* [http://docs.splunk.com/Documentation/Splunk/latest/User/SplunkOverview](http://docs.splunk.com/Documentation/Splunk/latest/User/SplunkOverview)
## Contact
You can reach the Dev Platform team at [devinfo@splunk.com](mailto:devinfo@splunk.com).
| 39.55 | 211 | 0.691753 | eng_Latn | 0.8938 |
4c6cb2691661eee238b625284d58e8fd425e6121 | 1,557 | md | Markdown | README.md | galanteh/GetKavakMexico | 467d94d4ba02e8412fe91efa240630df2a3bf00a | [
"Apache-2.0"
] | 1 | 2022-02-07T03:28:50.000Z | 2022-02-07T03:28:50.000Z | README.md | galanteh/GetKavakMexico | 467d94d4ba02e8412fe91efa240630df2a3bf00a | [
"Apache-2.0"
] | null | null | null | README.md | galanteh/GetKavakMexico | 467d94d4ba02e8412fe91efa240630df2a3bf00a | [
"Apache-2.0"
] | null | null | null | # GetKavakMexico
NiFi processor to run a web scrapping on Kavak Mexico and get all the cars published
# How it works?
This processor runs a web scrappy over Kavak Mexico and returns all the cars as flowfiles with all the information as Attributes.
## Processor working

## Processor

## Queue

## Attributes


# Disclaimer
Please, always check the policy of the Ka.vak Mexico which you are trying to scrape information, this is *only for educational purposes* to develop on NiFi.
If you plan to use it just don't run this software continuously. Avoid harm the website service.
## Usage
The material embodied in this software is provided to you "as-is" and without warranty of any kind, express, implied or otherwise, including without limitation, any warranty of fitness for a particular purpose.
# Why the methods to obfuscate the website URL?
We published on this site the name of the brand altered with points and dashes or others signs due to the harassment of the brand lawyers who seems not understand the motivations of the open source projects.
| 50.225806 | 210 | 0.793192 | eng_Latn | 0.99015 |
4c6cec5508b8611bed3ff69cb89524bc912255bc | 840 | markdown | Markdown | _posts/2011-12-09-anadir-documentacion-propia-a-xcode.markdown | xaviaracil/xaviaracil.github.io | 21783274737ad6d3fbae1a4c680a98e1ccc4f754 | [
"MIT"
] | 1 | 2019-01-26T06:44:09.000Z | 2019-01-26T06:44:09.000Z | _posts/2011-12-09-anadir-documentacion-propia-a-xcode.markdown | xaviaracil/xaviaracil.github.io | 21783274737ad6d3fbae1a4c680a98e1ccc4f754 | [
"MIT"
] | 6 | 2017-09-18T10:47:12.000Z | 2022-02-26T03:45:55.000Z | _posts/2011-12-09-anadir-documentacion-propia-a-xcode.markdown | xaviaracil/xaviaracil.github.io | 21783274737ad6d3fbae1a4c680a98e1ccc4f754 | [
"MIT"
] | null | null | null | ---
date: 2011-12-09 10:07:59+00:00
slug: anadir-documentacion-propia-a-xcode
title: Añadir documentación propia a XCode
wordpress_id: 203
categories:
- Cocoa
- Objective-C
- XCode
---
Leo en [http://www.infinite-loop.dk/blog/2011/06/providing-custom-documentation-in-xcode/](http://www.infinite-loop.dk/blog/2011/06/providing-custom-documentation-in-xcode/) un fantástico tutorial (en inglés) sobre cómo generar documentación propia usando [appledoc](http://gentlebytes.com/appledoc/) e instalarla automáticamente en XCode, de forma que aparezca como si fuera de la propia Apple.
Si seguís el tutorial, el script se puede leer si hacéis click en la imagen. Ojo porque el ejemplo presupone que el código esté en "${PROJECT_DIR}/../Source", siendo ${PROJECT_DIR} el directorio del proyecto. Tendréis que adecuarlo a vuestra configuración.
| 56 | 395 | 0.782143 | spa_Latn | 0.870161 |
4c6d9989b6bc66e61812e69a88f6e41e4341428c | 495 | md | Markdown | articles/【雷励中国】2013年雷励中国远征义工(25周岁以上)接受报名/post.md | ibeidou/- | eaa99dc0f4daad16bf06ba1c5e0cb14579a8a3ef | [
"MIT"
] | 58 | 2018-05-06T17:41:51.000Z | 2022-03-10T18:12:00.000Z | articles/【雷励中国】2013年雷励中国远征义工(25周岁以上)接受报名/post.md | megaxianzhengblog/ibeidou-articles | eaa99dc0f4daad16bf06ba1c5e0cb14579a8a3ef | [
"MIT"
] | null | null | null | articles/【雷励中国】2013年雷励中国远征义工(25周岁以上)接受报名/post.md | megaxianzhengblog/ibeidou-articles | eaa99dc0f4daad16bf06ba1c5e0cb14579a8a3ef | [
"MIT"
] | 14 | 2018-05-08T00:58:30.000Z | 2021-06-02T22:00:42.000Z | # 2013年雷励中国远征义工(25周岁以上)接受报名
**【主题**】**2013****年雷励中国远征义工** **【时间】 ** 如全程参与远征从7月10日至8月20日(非全程则按岗位、要求,下载义工文件了解) ** ** **【****义工岗位****】**领队/副领队、队医、摄影师、摄像师 ** **
### 【申請资格】
### 于1988年7月16日前出生 具有一定年限工作经验及相关岗位专业技能;(详情按岗位下载了解) 身体健康,无任何重大疾病,尤其:心脏病、癫痫病、哮喘病、传染病。
### 申请指南:****
1. 按岗位意向下载报名表,并认真填写。
2. 将申请发送至 [staff@raleighchina.org](mailto:staff@raleighchina.org),邮件标题:13A+申请人姓名+申请岗位 3. 发送表格后的三个工作日内,会有义工招募专员联系申请人。 **【活动链接】 **[请点击这里](http://www.bigappetite.org/?p=5362) **【来源】大未青年**
采编:吴子衿;责编:徐定之
| 33 | 184 | 0.666667 | yue_Hant | 0.283975 |
4c6e3486b841aa7d71ca1f0ac29a57df6831f081 | 869 | md | Markdown | articles/mysql/migrate/appendix-a-environment-setup.md | hirenshah1/azure-docs | 6fbb2e7518459b53fbfb9924ef40231223e22b75 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/mysql/migrate/appendix-a-environment-setup.md | hirenshah1/azure-docs | 6fbb2e7518459b53fbfb9924ef40231223e22b75 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/mysql/migrate/appendix-a-environment-setup.md | hirenshah1/azure-docs | 6fbb2e7518459b53fbfb9924ef40231223e22b75 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: "MySQL on-premises to Azure Database for MySQL migration guide Appendix A: Environment Setup"
description: "Download additional documentation we created for this Migration Guide and learn how to configure."
ms.service: mysql
ms.subservice: migration-guide
ms.topic: how-to
author: arunkumarthiags
ms.author: arthiaga
ms.reviewer: maghan
ms.custom:
ms.date: 05/26/2021
---
# MySQL on-premises to Azure Database for MySQL migration guide Appendix A: Environment Setup
[Download additional documentation](https://github.com/Azure/azure-mysql/blob/master/MigrationGuide/MySQL%20Migration%20Guide_v1.1%20Appendix%20A.pdf) we created for this Migration Guide and learn how to configure an environment to perform the guide’s migration steps for the sample [conference demo application.](https://github.com/Azure/azure-mysql/tree/master/MigrationGuide/sample-app). | 54.3125 | 390 | 0.808976 | eng_Latn | 0.638168 |
4c6e3fb4177b6ff77c36a03a2e0c4372a06d3f1e | 1,417 | md | Markdown | _posts/2021-07-30-R_JS2.md | sixfifteen/sixfifteen.github.io | d5ec0e65a8b0a923de5cd77a542df509c3b97d2b | [
"MIT"
] | null | null | null | _posts/2021-07-30-R_JS2.md | sixfifteen/sixfifteen.github.io | d5ec0e65a8b0a923de5cd77a542df509c3b97d2b | [
"MIT"
] | null | null | null | _posts/2021-07-30-R_JS2.md | sixfifteen/sixfifteen.github.io | d5ec0e65a8b0a923de5cd77a542df509c3b97d2b | [
"MIT"
] | null | null | null | ---
title: "React 기초 1-2"
layout: single
category: React
---
## 기본 ES6 문법
### 1. 클래스
```js
class Person {
constructor(name, age) { // 항상 constructor() (a.k.a 생성자)가 포함되어야 함
this.name = name;
this.age = age;
}
}
let person1 = new Person('Jay', 28); // 객체 생성!
```
### 2. `forEach()`
`key`를 넣어주면 `value`를 반환하는 **구조 분해 할당** 방식
```js
var fruits = ["apple", "orange", "cherry"];
function myFunction(item, index) {
document.write(index + ":" + item + "<br>");
}
// for (i = 0; i < 3; i++) {
// document.write(i);
// document.write(":" + fruits[i] + "<br>");
// }
fruits.forEach(myFunction)
```
### 3. `reduce()`
배열의 각 요소에 대해 주어진 함수를 실행 후 하나의 결과를 반환
```js
var a = [175, 50, 25];
document.write(a.reduce(sum));
function sum(total, num) {
return total + num
}
```
`reduce()` 작동 방식
| callback | **accumulator** | **currentValue** | **currentIndex** | **array** | **반환값** |
| :-------: | :-------------: | :--------------: | :--------------: | :-------------: | :--------: |
| **호출1** | 0 | 1 | 1 | [0, 1, 2, 3, 4] | 1 |
| **호출2** | 1 | 2 | 2 | [0, 1, 2, 3, 4] | 3 |
| **호출3** | 3 | 3 | 3 | [0, 1, 2, 3, 4] | 6 |
| **호출4** | 6 | 4 | 4 | [0, 1, 2, 3, 4] | 10 |
| 22.140625 | 100 | 0.387438 | kor_Hang | 0.779311 |
4c6e4974d95e17403567940abaff380a070b9257 | 1,315 | md | Markdown | AlchemyInsights/connect-a-sharepoint-site-to-a-group.md | isabella232/OfficeDocs-AlchemyInsights-pr.it-IT | fc53f2b99aa5bf746f7b56299e858835418f815d | [
"CC-BY-4.0",
"MIT"
] | 1 | 2020-05-19T19:06:53.000Z | 2020-05-19T19:06:53.000Z | AlchemyInsights/connect-a-sharepoint-site-to-a-group.md | MicrosoftDocs/OfficeDocs-AlchemyInsights-pr.it-IT | f43a8b34e8011ca249fd46d4c5515486a74c861b | [
"CC-BY-4.0",
"MIT"
] | 2 | 2022-02-09T06:57:00.000Z | 2022-02-09T06:57:34.000Z | AlchemyInsights/connect-a-sharepoint-site-to-a-group.md | isabella232/OfficeDocs-AlchemyInsights-pr.it-IT | fc53f2b99aa5bf746f7b56299e858835418f815d | [
"CC-BY-4.0",
"MIT"
] | 1 | 2019-10-11T19:12:58.000Z | 2019-10-11T19:12:58.000Z | ---
title: Connettere un sito di SharePoint a un Gruppo
ms.author: pebaum
author: pebaum
manager: scotv
ms.audience: Admin
ms.topic: article
ms.service: o365-administration
ROBOTS: NOINDEX, NOFOLLOW
localization_priority: Priority
ms.collection: Adm_O365
ms.custom:
- "9000237"
- "5747"
- "5200004"
- "5767"
ms.openlocfilehash: 738d0f57b9b9dac5ed343037579a23d6d217f58b07da9730eb0bd08bc78c25e6
ms.sourcegitcommit: b5f7da89a650d2915dc652449623c78be6247175
ms.translationtype: HT
ms.contentlocale: it-IT
ms.lasthandoff: 08/05/2021
ms.locfileid: "53915411"
---
# <a name="connect-a-sharepoint-site-to-a-group"></a>Connettere un sito di SharePoint a un Gruppo
Usare la procedura guidata di connessione a un gruppo per connettere un sito di SharePoint a un Gruppo di Microsoft 365.
1. Nel sito che si vuole connettere a un gruppo, selezionare **impostazioni (icona a forma di ingranaggio)**.
2. Selezionare **Connetti al nuovo Gruppo di Microsoft 365**.
3. Seguire i passaggi della procedura guidata per completare la connessione.
**Nota:** se Connetti a un nuovo gruppo di Microsoft 365 non è disponibile, il sito non supporta la connessione a un gruppo.
Per altre informazioni, vedere [Connettersi a un gruppo di Office 365](https://docs.microsoft.com/sharepoint/dev/transform/modernize-connect-to-office365-group). | 38.676471 | 161 | 0.796198 | ita_Latn | 0.947197 |
4c6e893d082e4cb37be56d3783389177d25f9fe0 | 4,315 | md | Markdown | Release Notes/2018/2018-06-26-cloud-platform-release-notes.md | dstephanCTL/PublicKB | 9145fedd51c9cc342e702c39bd5e52e5d4670fc1 | [
"Apache-2.0"
] | null | null | null | Release Notes/2018/2018-06-26-cloud-platform-release-notes.md | dstephanCTL/PublicKB | 9145fedd51c9cc342e702c39bd5e52e5d4670fc1 | [
"Apache-2.0"
] | null | null | null | Release Notes/2018/2018-06-26-cloud-platform-release-notes.md | dstephanCTL/PublicKB | 9145fedd51c9cc342e702c39bd5e52e5d4670fc1 | [
"Apache-2.0"
] | null | null | null | {{{
"title": "Cloud Platform - Release Notes: June 26, 2018",
"date": "06-26-2018",
"author": "Matthew Farrell",
"attachments": [],
"contentIsHTML": false
}}}
### Enhancements (3)
#### [Cloud Application Manager](//www.ctl.io/cloud-application-manager/)
##### Site Update
Cloud Application Manager now includes a new Overview page in the [Management site](https://account.cam.ctl.io/#/overview) where you can see at a glance the products you have available and the additional products that may enhance your Cloud Management experience through Cloud Application Manager. This new Overview page will be the landing page for all users login to Cloud Application Manager, Management site. Also, [Applications site](https://cam.ctl.io/#/dashboard) has removed some of the menu options that were already available through the Management site, such as Users, Settings and Billing. To access these options you should navigate to [Management site](https://account.cam.ctl.io/#/overview) to find them at organization scope.
##### Optimized AWS Provider Updates
CAM has made updates to the IAM Roles and Policies of its Optimized hardening process that offer you more security and control.
* Admins: Any admin of an Optimized CAM provider can click the "AWS Console" button to open a window into the console where they inherit a role called the CTLCINTAdminRole. Not only does that user inherit all the permissions and restrictions given to CAM already, but read-only access into everything else. See CAMOverridePolicy below for more information.
* Non-Admins: Any user of CAM who is not the admin but has the optimized provider shared with them can click the "AWS Console" button to open a window into the console where they inherit a read-only role called the CTLCINTReadRole. This ensures the admin can give another user visibility into the AWS Console without accidentally creating a security loophole.
* Lumen Operations: Employees of Lumen providing platform support to you may also click the AWS Console button and inherit a role into your account called CTLOperationsRole that provides them only read-only access plus the ability to update IAM. While many of our customers want fast support, this gives you the peace of mind that you are compliant with auditors and protect your business applications.
* CAMOverridePolicy: This policy allows AWS users to customize the CTLCAMRole. You may make it more or less permissive. If you have been dissatisfied with permissions given to CAM or by the Optimized CAM Provider's "AWS Console" button, updating the CAMOverridePolicy is your path for making your experience better.

#### Managed Services Anywhere Updates
Microsoft Azure Dashboards now Live!
Cloud Application Manager customers can now see their Azure cloud native monitoring metrics on the new dashboard landing page. Information about their Azure infrastructure and services can be viewed in an easy-to-read dashboard.
Product Highlights include:
* Users will be able to list & switch between their Azure providers within a Workspace.
* Upon selecting a Provider, users will be able to see a subset of their configured Azure services.
* With a single click, each individual metric graph on the dashboard will allow the user to do a deep dive on our more detailed graph page.

#### [Managed Disaster Recovery Services](//www.ctl.io/managed-services/disaster-recovery/)
Managed Disaster Recovery Service now includes an add-on option for Active Directory Replication. DR replication for AD leverages Microsoft Active Directory Replication technology to replicate the primary AD servers into the recovery site and uses SafeHaven technology to protect other business-critical servers.
MDRS monitors the replication process and provide audit and maintenance services. MDRS also provides test and at-time-of-disaster services for AD servers. Customer benefits from the cohesive and thorough protection.
### ANNOUNCEMENTS (1)
#### Public Cloud Infrastructure as a Service
On June 21, Lumen Cloud announced the end of availability for the Hyperscale virtual server instance type. For more information, view [this article](//www.ctl.io/knowledge-base/servers/hyperscale-eol-faqs/) on our Knowledge Base.
| 81.415094 | 741 | 0.795829 | eng_Latn | 0.994709 |
4c6f4790bfa872b61230e96d8d656a397d2a16c8 | 243 | md | Markdown | 2015/01/2015_01_12_15.md | majianjun/stories | 70560d3f5e4d2e555d52e74475020dd34cabdf31 | [
"MIT"
] | null | null | null | 2015/01/2015_01_12_15.md | majianjun/stories | 70560d3f5e4d2e555d52e74475020dd34cabdf31 | [
"MIT"
] | null | null | null | 2015/01/2015_01_12_15.md | majianjun/stories | 70560d3f5e4d2e555d52e74475020dd34cabdf31 | [
"MIT"
] | null | null | null |
# 2015年1月12日
看
霾让一切温暖柔和
黄色的太阳,黄色的地砖和挂着一层黄土的玻璃窗
有温度的空间
有温度的三九天
那河岸粗树无人伐砍
那河里的青蟹无人垂涎
那是三十又三十年前
历史课本里,从没有我那快乐童年
快乐的童年,将会在我的文字里
站在三楼窗前
二号楼
三点五十
让我看日食
# 2015年1月12日
每个早晨
我都去洗手间照镜子
看看自己的头
是不是消失在冬天的帽子里
| 8.37931 | 23 | 0.687243 | yue_Hant | 0.458072 |
4c6fa14a01042cd0a2ea014c5b3fa9bf6bbbe5da | 6,028 | md | Markdown | README.md | ngosang/urbackup-exporter | b0e3b2dcb47ac0c1445dcdacfe192df415fd9e4f | [
"MIT"
] | 5 | 2021-07-04T11:33:36.000Z | 2021-11-06T08:25:06.000Z | README.md | ngosang/urbackup-exporter | b0e3b2dcb47ac0c1445dcdacfe192df415fd9e4f | [
"MIT"
] | 1 | 2021-09-08T09:50:22.000Z | 2021-10-09T15:08:35.000Z | README.md | ngosang/urbackup-exporter | b0e3b2dcb47ac0c1445dcdacfe192df415fd9e4f | [
"MIT"
] | null | null | null | # UrBackup Exporter
[](https://github.com/ngosang/urbackup-exporter/releases)
[](https://hub.docker.com/r/ngosang/urbackup-exporter/)
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=X5NJLLX5GLTV6&source=url)
[](https://en.cryptobadges.io/donate/1PmeuXvamFM4hkFAJwNdSBee4pRWQW9i4d)
[](https://en.cryptobadges.io/donate/0x0D1549BbB00926BF3D92c1A8A58695e982f1BE2E)
Prometheus exporter for the [UrBackup](https://www.urbackup.org/) backup system. Tested with UrBackup server 2.4.13.
Inspired by [h3po work](https://gist.github.com/h3po/36cab38d2b443c0523c4c9e83203f382).
## Install
### Form source code
Requirements:
* Python 3
* [prometheus-client](https://github.com/prometheus/client_python)
* [urbackup-server-web-api-wrapper](https://github.com/uroni/urbackup-server-python-web-api-wrapper)
```bash
pip install -r /requirements.txt
export URBACKUP_SERVER_URL=http://192.168.1.100:55414/x
python urbackup-exporter.py
```
### Docker
Docker images are available in [GHCR](https://github.com/ngosang/urbackup-exporter/pkgs/container/urbackup-exporter) and [DockerHub](https://hub.docker.com/r/ngosang/urbackup-exporter).
```bash
docker pull ghcr.io/ngosang/urbackup-exporter
or
docker pull ngosang/urbackup-exporter
```
#### Supported Architectures
The architectures supported by this image are:
| Architecture | Default tag (Debian) | Alpine tag |
| ---------------- | -------------------- | ---------- |
| linux/386 | Yes | Yes |
| linux/amd64 | Yes | Yes |
| linux/arm/v6 | No | Yes |
| linux/arm/v7 | Yes | Yes |
| linux/arm64/v8 | Yes | Yes |
| linux/mips64le | Yes | No |
| linux/ppc64le | Yes | No |
| linux/s390x | Yes | No |
#### docker-compose
Compatible with docker-compose v2 schemas:
```yaml
---
version: '2.1'
services:
urbackup-exporter:
image: ghcr.io/ngosang/urbackup-exporter
container_name: urbackup-exporter
environment:
- TZ=Europe/Madrid
- URBACKUP_SERVER_URL=http://<server_host>:55414/x
- URBACKUP_SERVER_USERNAME=admin
- URBACKUP_SERVER_PASSWORD=1234
- EXPORT_CLIENT_BACKUPS=true
ports:
- 9554:9554
restart: unless-stopped
```
#### docker cli
```bash
docker run -d \
--name=urbackup-exporter \
-e TZ=Europe/Madrid \
-e URBACKUP_SERVER_URL=http://<server_host>:55414/x \
-e URBACKUP_SERVER_USERNAME=admin \
-e URBACKUP_SERVER_PASSWORD=1234 \
-e EXPORT_CLIENT_BACKUPS=true \
-p 9554:9554 \
--restart unless-stopped \
ghcr.io/ngosang/urbackup-exporter
```
## Configuration
All configuration is done with environment variables.
- `URBACKUP_SERVER_URL`: UrBackup server URL including host, port and API endpoint. Example: `http://192.168.1.100:55414/x`
- `URBACKUP_SERVER_USERNAME`: (Optional) Username to login in the server. Only required if authorization is enabled. The default is `admin`.
- `URBACKUP_SERVER_PASSWORD`: (Optional) Password to login in the server. Only required if authorization is enabled. The default is `1234`.
- `EXPORT_CLIENT_BACKUPS`: (Optional) Export detailed metrics for each client. This option can generate a lot of metrics if there many configured clients. The default is `true`.
- `LISTEN_PORT`: (Optional) The address the exporter should listen on. The default is `9554`.
- `LISTEN_ADDRESS`: (Optional) The address the exporter should listen on. The default is
to listen on all addresses.
- `LOG_LEVEL`: (Optional) Log level of the traces. The default is `INFO`.
## Exported metrics
| Name | Type | Description |
| ----------------------------- | ------- | ---------------------------- |
| urbackup_client_online | gauge | Whether or not the client is answering the server |
| urbackup_client_status | gauge | Status number, purpose unknown |
| urbackup_client_lastseen | gauge | Timestamp the client was last seen online |
| urbackup_backup_ok | gauge | Whether or not the last backup was successful |
| urbackup_backup_issues | gauge | Number of issues during the last backup |
| urbackup_backup_lasttime | gauge | Timestamp of the last backup |
| urbackup_backup_number_total | counter | Number of backups |
| urbackup_backup_size_total | counter | Total size of backups in bytes |
## Prometheus config
Example Prometheus configuration:
```yaml
scrape_configs:
- job_name: 'urbackup-exporter'
static_configs:
- targets: ['192.168.1.100:9554']
```
## Prometheus / Alertmanager rules
Example Prometheus rules for alerting:
```yaml
- alert: UrBackupOutdated
# 1209600 = 15 days
expr: time() - urbackup_backup_lasttime{backup_type="file"} > 1209600
for: 0m
labels:
severity: critical
annotations:
summary: UrBackup {{ $labels.client_name }} backup is outdated
description: UrBackup backup is outdated\n VALUE = {{ $value }}\n LABELS = {{ $labels }}
- alert: UrBackupFailure
expr: urbackup_backup_ok{backup_type="file"} == 0
for: 0m
labels:
severity: critical
annotations:
summary: UrBackup {{ $labels.client_name }} backup failed
description: UrBackup backup failed\n VALUE = {{ $value }}\n LABELS = {{ $labels }}
```
## Grafana dashboard
There is a reference Grafana dashboard in [grafana/grafana_dashboard.json](./grafana/grafana_dashboard.json).

| 38.151899 | 185 | 0.680491 | eng_Latn | 0.347012 |
4c6fa9e58a3ac6e174f0c6889f3ca1dac5279813 | 701 | md | Markdown | UserInterface/Text/README.md | inespines/xamarin-forms-samples | 649f55c51ae9f64aefad1657aa8336fb66b4df2a | [
"Apache-2.0"
] | 3 | 2021-06-13T00:34:05.000Z | 2021-06-13T14:42:02.000Z | UserInterface/Text/README.md | jeoozjuan/xamarin-forms-samples | 03241da43df1cac120a521afd6bc92145c8d63c9 | [
"Apache-2.0"
] | null | null | null | UserInterface/Text/README.md | jeoozjuan/xamarin-forms-samples | 03241da43df1cac120a521afd6bc92145c8d63c9 | [
"Apache-2.0"
] | 1 | 2019-07-29T12:54:27.000Z | 2019-07-29T12:54:27.000Z | ---
name: Xamarin.Forms Text
description: This sample relates to the [ Text in Xamarin.Forms](http://developer.xamarin.com/guides/cross-platform/xamarin-forms/user-interface/text/) series o...
topic: sample
languages:
- csharp
products:
- xamarin
technologies:
- xamarin-forms
urlFragment: userinterface-text
---
Xamarin.Forms Text
==============
This sample relates to the [ Text in Xamarin.Forms](http://developer.xamarin.com/guides/cross-platform/xamarin-forms/user-interface/text/) series of documents.
The app consists of several pages, demonstrating each of the text controls and a few common text entry scenarios. Each page is implemented in both XAML and C#
Author
------
Nathan C. Castle
| 29.208333 | 163 | 0.760342 | eng_Latn | 0.942735 |
4c702f71dbdb56565d7247b5faade372a9fc6343 | 1,734 | md | Markdown | _talks/2020-12-11-Kripke-Joyal-Semantics-For-Dependent-Type-Theory.md | sinhp/sinhp.github.io | a11b1fa431ad674a4c5e59e313e319142e4472f6 | [
"MIT"
] | null | null | null | _talks/2020-12-11-Kripke-Joyal-Semantics-For-Dependent-Type-Theory.md | sinhp/sinhp.github.io | a11b1fa431ad674a4c5e59e313e319142e4472f6 | [
"MIT"
] | 3 | 2018-04-17T16:28:41.000Z | 2018-05-13T19:03:05.000Z | _talks/2020-12-11-Kripke-Joyal-Semantics-For-Dependent-Type-Theory.md | sinhp/sinhp.github.io | a11b1fa431ad674a4c5e59e313e319142e4472f6 | [
"MIT"
] | 1 | 2021-11-28T03:02:19.000Z | 2021-11-28T03:02:19.000Z | ---
collection: talks
type: "HoTT Seminar"
permalink: /talks/2020-12-11-Kripke-Joyal-Semantics-For-Dependent-Type-Theory
venue: "Pittsburgh HoTT Seminar"
date: 2020-11-12
location: "Online"
excerpt: "Talks at Pittsburgh and YaMCATS, Based on a joint work with Steve Awodey and Nicola Gambino"
use_math: true
---
`Abstract:` Every topos has an internal higher-order intuitionistic logic. The so-called Kripke–Joyal semantics of a topos gives an interpretation to formulas written in this language used to express ordinary mathematics in that topos. The Kripke–Joyal semantics is in fact a higher order generalization of the well-known Kripke semantic for intuitionistic propositional logic. In this talk I shall report on joint work with Steve Awodey and Nicola Gambino on extending the Kripke–Joyal semantics to dependent type theories, including homotopy type theory.
`Slides:` _Kripke-Joyal semantics for dependent type theory_, [Pittsburgh's HoTT Seminar](http://mathieu.anel.free.fr/seminar.html), December 2020 <a href="/files/CT/KJsHoTT_slides_Pittsburgh.pdf" target="_blank"> <i class="fa fa-file-pdf-o" aria-hidden="true"></i> </a>
I also gave a talk on the same work in [YaMCATS](https://www2.le.ac.uk/departments/mathematics/extranet/staff-material/staff-profiles/simona-paoli/abstract-sina-hazratpur). Here I also explained the standard Beth-Kripke semantics --and how it extend to Kripke-Joyal semantics-- since the large audience comprised of very diverse background.
`Slides:` _Kripke-Joyal semantics for dependent type theory_, Yorkshire and Midlands Category Theory Seminar, February 2021
<a href="/files/CT/kjshott_slides_YaMCATS.pdf" target="_blank"> <i class="fa fa-file-pdf-o" aria-hidden="true"></i> </a>
| 78.818182 | 556 | 0.788351 | eng_Latn | 0.874007 |
4c70b1d0b0831b46920f1d53b05da9738dde6825 | 8,000 | md | Markdown | _others/imports/1/2019-05-20-resident-evil-the-final-chapter-2017-tamil-dubbed-hd-full-movie-download.md | starisai/starisai.github.io | 639897877921e0db60ba6ba0690e55a0234dfabc | [
"MIT"
] | null | null | null | _others/imports/1/2019-05-20-resident-evil-the-final-chapter-2017-tamil-dubbed-hd-full-movie-download.md | starisai/starisai.github.io | 639897877921e0db60ba6ba0690e55a0234dfabc | [
"MIT"
] | null | null | null | _others/imports/1/2019-05-20-resident-evil-the-final-chapter-2017-tamil-dubbed-hd-full-movie-download.md | starisai/starisai.github.io | 639897877921e0db60ba6ba0690e55a0234dfabc | [
"MIT"
] | 2 | 2022-03-15T02:34:05.000Z | 2022-03-15T02:36:25.000Z | ---
title: "Resident Evil The Final Chapter (2017) Tamil Dubbed HD Full Movie Download"
date: "2019-05-20"
---
## Resident Evil The Final Chapter (2017) Tamil Dubbed HD Full Movie Download

_**Resident Evil The Final Chapter Sample Part.mp4**_
_**Size: 3.78mb**_
[_**Download Server 1**_](http://du1.wetransfer.vip/files/Tamil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Dubbed{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Movies/Tamil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Recent{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Dubbed{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Movies/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017)/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017){3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HDRip/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017){3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HDRip{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Sample{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HD.mp4)
[_**Download Server 2**_](http://du1.wetransfer.vip/files/Tamil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Dubbed{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Movies/Tamil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Recent{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Dubbed{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Movies/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017)/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017){3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HDRip/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017){3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HDRip{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Sample{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HD.mp4)
_**Resident Evil The Final Chapter Single Part.mp4**_
_**Size: 397.34mb**_
[_**Download Server 1**_](http://du1.wetransfer.vip/files/Tamil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Dubbed{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Movies/Tamil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Recent{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Dubbed{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Movies/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017)/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017){3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HDRip/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017){3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HDRip{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Single{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Part{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HD.mp4)
[_**Download Server 2**_](http://du1.wetransfer.vip/files/Tamil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Dubbed{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Movies/Tamil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Recent{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Dubbed{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Movies/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017)/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017){3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HDRip/Resident{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Evil{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20The{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Final{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Chapter{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20(2017){3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HDRip{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Single{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20Part{3e481fa13b96e298813a968d76478a0dd6887383e8276579d75a86ec60557583}20HD.mp4)
| 320 | 1,928 | 0.945875 | yue_Hant | 0.229122 |
4c7104121fb7fc0f9d386e940115523c0cfbf8d7 | 8,395 | md | Markdown | project-signer-templates/Ops.md | jesperancinha/project-signer | 99373565fc89608ffb3f2b840da4258ee0a75e4b | [
"Apache-2.0"
] | 2 | 2020-09-05T14:40:49.000Z | 2021-12-12T10:22:09.000Z | project-signer-templates/Ops.md | jesperancinha/project-signer | 99373565fc89608ffb3f2b840da4258ee0a75e4b | [
"Apache-2.0"
] | 1 | 2021-06-13T19:55:51.000Z | 2021-06-13T19:55:51.000Z | project-signer-templates/Ops.md | jesperancinha/project-signer | 99373565fc89608ffb3f2b840da4258ee0a75e4b | [
"Apache-2.0"
] | null | null | null | ## DevOps References
```text
$ touch /etc/nginx/sites-available/mancalaje
$ sudo ln -s /etc/nginx/sites-available/mancalaje /etc/nginx/sites-enabled/
$ sudo service nginx restart
$ sudo vim /etc/systemd/system/mancalaje.service
$ sudo vim mancalaje-service
$ sudo chmod +x mancalaje-service
$ sudo systemctl daemon-reload
$ sudo systemctl enable mancalaje
$ sudo systemctl start mancalaje
$ sudo systemctl status mancalaje
$ sudo -u postgres psql
\password postgres
create database mancalajedb
\q
```
## Setting up Virtual Machines 💻
### Setting up OpenShift
[](https://manage.openshift.com/)
- Open an account
- [Openshift online](https://manage.openshift.com/)
- Setup OKD (Original Community Distribution of Kubernetes)
- [OKD](https://www.okd.io/index.html)
- Install Minishift
```bash
brew cask install minishift
brew cask install --force minishift
minishift addons install --defaults
minishift addons enable admin-user
minishift start --vm-driver=virtualbox
brew install openshift-cli
oc adm policy --as system:admin add-cluster-role-to-user cluster-admin developer
minishift console
oc create rolebinding default-view --clusterrole=view --serviceaccount=mancalaje:default --namespace=mancalaje
```
- Install for systems running Ubuntu on a Windows machine
```bash
apt install virtualbox-dkms
```
```bash
Error starting the VM: Error creating the VM. Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"
```
## Setting up minikube 💻
[](https://www.docker.com/)
[](https://kubernetes.io/)
[](https://github.com/kubernetes/minikube)
[](https://www.vmware.com/)
[](https://www.virtualbox.org/)
NOTE: If you want to run this with vmware please install [VMWare Fusion](https://www.vmware.com/products/fusion/fusion-evaluation.html). You will need this to use the vmrun command. 📝
### Configure minikube ⌨️
```bash
minikube delete # Just in case 😉
minikube config set vm-driver virtualbox
minikube start --vm-driver=virtualbox --extra-config=apiserver.service-node-port-range=1-30000
minikube addons enable ingress # Not mandatory for now 🙂
kubectl config use-context minikube
minikube mount .:/mancalaje
minikube ssh
cd /mancalaje/docker-psql
docker build --file=Dockerfile --tag=mancalaje-postgresql:latest --rm=true .
cd /mancalaje/mancalaje-service
docker build --file=Dockerfile --tag=mancalaje:latest --rm=true .
cd /mancalaje/mancalaje-fe/docker-files
docker build --file=Dockerfile --tag=mancalaje-fe:latest --rm=true .
exit
```
### Configure deployment ⌨️
```bash
kubectl create -f docker-psql/postgres-deployment.yaml
kubectl create -f mancalaje-service/mancalaje-deployment.yaml
kubectl create -f mancalaje-fe/mancalaje-fe-deployment.yaml
kubectl delete service mancalaje-postgresql
kubectl delete deployment mancalaje-postgresql
kubectl delete service mancalaje
kubectl delete deployment mancalaje
kubectl delete service mancalaje-fe
kubectl delete deployment mancalaje-fe
minikube service mancalaje-postgresql
minikube service mancalaje
minikube service mancalaje-fe
kubectl get deployments
kubectl get services
kubectl get pods
```
🚀 and we are redy to go!
### Minikube Hints & Tricks
- Install minikube for MAC-OS
```bash
brew install minikube
brew link kubernetes-cli
brew link --overwrite kubernetes-cli
brew install docker-machine-driver-virtualbox
brew link --overwrite --dry-run docker-machine
minikube config set driver virtualbox
```
- Install minikube for linux (not fully tested)
```bash
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
&& chmod +x minikube
mkdir -p /usr/local/bin
install minikube /usr/local/bin/
```
- Install minikube for Windows (not fully tested)
- Please install:
- [VMWare Workstation Player](https://www.vmware.com/products/workstation-player.html)
- [VMWare Workstation](https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html)
- [VMware VIX 1.15.7](https://my.vmware.com/web/vmware/details?productId=640&downloadGroup=PLAYER-1253-VIX1157) (This may be optional. Check your VMWare folder for the presence of vmrun.exe)
- Add this to your $PATH: C:\Program Files (x86)\VMware\VMware VIX
```bash
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
choco install -y docker-machine-vmware -pre
```
- VMWare runs
```bash
bcdedit /set hypervisorlaunchtype off
minikube start --alsologtostderr -v=7 --vm-driver vmware
minikube start --vm-driver=vmware
```
- Use and mount minikube
```bash
minikube config set vm-driver vmware
minikube start
kubectl config use-context minikube
minikube mount .:/mancalaje
minikube ssh
cd /mancalaje/mancalaje-service
docker build --file=Dockerfile --tag=mancalaje:latest --rm=true .
```
- Running jar with minikube (not fully tested)
```bash
kubectl config use-context minikube
kubectl cluster-info
kubectl run demo-backend --image=demo-backend:latest --port=8080 --image-pull-policy Never
```
- Remove minikube
```bash
minikube stop
minikube delete
rm -rf ~/.minikube
rm -rf ~/.kube
brew uninstall minikube
```
## Hints & Tricks
- Install java versions without [SDKMan](https://sdkman.io/) for [ubuntu prompt for windows](https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6?activetab=pivot:overviewtab).
```bash
apt-get -y update
apt-get -y upgrade
apt -y install apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
apt -y update
sudo apt -y install openjdk-11-jdk
sudo apt install openjdk-13-jdk
sudo apt -y install adoptopenjdk-8-hotspot
sudo apt -y autoremove
```
- .bashrc file to get Gradle, GitPrompt, [SDKMAN](https://sdkman.io/) and some handy aliases in a Windows environment with [MinGW](http://www.mingw.org/).
```bash
export GRADLE_HOME=/opt/gradle/gradle-6.1.1
export PATH=${GRADLE_HOME}/bin:${PATH}
alias ll='ls -l -a --color=auto'
if [ -f "/root/.bash-git-prompt/gitprompt.sh" ]; then
GIT_PROMPT_ONLY_IN_REPO=1
source /root/.bash-git-prompt/gitprompt.sh
fi
alias java13="sdk use java 13.0.2.hs-adpt"
alias java12="sdk use java 12.0.2.hs-adpt"
alias java8="sdk use java 8.0.242.hs-adpt"
alias m2disable="rm ~/.m2/settings.xml"
alias m2enable="cp /your_repo_folder/settings.xml ~/.m2/"
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="/root/.sdkman"
[[ -s "/root/.sdkman/bin/sdkman-init.sh" ]] && source "/root/.sdkman/bin/sdkman-init.sh"
```
- .bashrc file to get Gradle, GitPrompt and some handy aliases in a Windows environment with [ubuntu prompt for windows](https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6?activetab=pivot:overviewtab).
```bash
export GRADLE_HOME=/opt/gradle/gradle-6.1.1
export PATH=${GRADLE_HOME}/bin:${PATH}
alias ll='ls -l -a --color=auto'
if [ -f "/root/.bash-git-prompt/gitprompt.sh" ]; then
GIT_PROMPT_ONLY_IN_REPO=1
source /root/.bash-git-prompt/gitprompt.sh
fi
alias java8="export JAVA_HOME=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 && update-java-alternatives -s adoptopenjdk-8-hotspot-amd64"
alias java11="export JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64 && update-java-alternatives -s java-1.11.0-openjdk-amd64"
alias java12="echo \"Java 12 is not available. Setting up 13\" && export JAVA_HOME=/usr/lib/jvm/java-13-oracle && update-java-alternatives -s java-13-oracle"
alias java13="export JAVA_HOME=/usr/lib/jvm/java-13-oracle && update-java-alternatives -s java-13-oracle"
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="/root/.sdkman"
[[ -s "/root/.sdkman/bin/sdkman-init.sh" ]] && source "/root/.sdkman/bin/sdkman-init.sh"
```
- Update Alternatives
```bash
update-java-alternatives -l
```
- Fix Apt
```bash
dpkg --configure -a
```
- Git tag change
```bash
git tag new-tag old-tag
git tag -d old-tag
git push origin :refs/tags/old-tag
git push --tags
git pull --prune --tags
```
| 31.920152 | 204 | 0.752114 | kor_Hang | 0.191885 |
6140187cc31a32cfc0252d31bd9122f530870cee | 598 | md | Markdown | extensions/igniter/payregister/vendor/square/connect/docs/Model/V1TenderCardBrand.md | vikash-sharma-php/TastyIgniterNov2019 | c393dc9a976d93f38ca55747d38de3d48f39a456 | [
"MIT"
] | 3 | 2019-09-28T06:46:23.000Z | 2020-09-22T18:15:23.000Z | extensions/igniter/payregister/vendor/square/connect/docs/Model/V1TenderCardBrand.md | vikash-sharma-php/TastyIgniterNov2019 | c393dc9a976d93f38ca55747d38de3d48f39a456 | [
"MIT"
] | 9 | 2020-05-27T17:39:06.000Z | 2022-01-28T18:57:34.000Z | extensions/igniter/payregister/vendor/square/connect/docs/Model/V1TenderCardBrand.md | vikash-sharma-php/TastyIgniterNov2019 | c393dc9a976d93f38ca55747d38de3d48f39a456 | [
"MIT"
] | 2 | 2021-06-14T12:52:08.000Z | 2022-01-06T11:49:47.000Z | # V1TenderCardBrand
### Description
The brand of a credit card.
## Properties
Name | Type
------------ | -------------
**OTHER_BRAND** | string
**VISA** | string
**MASTER_CARD** | string
**AMERICAN_EXPRESS** | string
**DISCOVER** | string
**DISCOVER_DINERS** | string
**JCB** | string
**CHINA_UNIONPAY** | string
**SQUARE_GIFT_CARD** | string
Note: All properties are protected and only accessed via getters and setters.
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
| 24.916667 | 170 | 0.66388 | yue_Hant | 0.586858 |
614121bed898e77d2db0ed944772f830083c702d | 2,937 | md | Markdown | docs/relational-databases/replication/updatable-subscriptions.md | Philippe-Geiger/sql-docs.fr-fr | 7fe32a3b70e9219529d5b00725233abf9d5982f6 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/relational-databases/replication/updatable-subscriptions.md | Philippe-Geiger/sql-docs.fr-fr | 7fe32a3b70e9219529d5b00725233abf9d5982f6 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/relational-databases/replication/updatable-subscriptions.md | Philippe-Geiger/sql-docs.fr-fr | 7fe32a3b70e9219529d5b00725233abf9d5982f6 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
description: Abonnements pouvant être mis à jour
title: Abonnements pouvant être mis à jour | Microsoft Docs
ms.custom: ''
ms.date: 03/14/2017
ms.prod: sql
ms.prod_service: database-engine
ms.reviewer: ''
ms.technology: replication
ms.topic: conceptual
f1_keywords:
- sql13.rep.newsubwizard.updatablesubscriptions.f1
ms.assetid: 8e9a13a0-6b24-47c6-9d83-3cbaf08f673d
author: MashaMSFT
ms.author: mathoma
ms.openlocfilehash: 016414e9f6565c8c2593b478b295a3565f21266c
ms.sourcegitcommit: e700497f962e4c2274df16d9e651059b42ff1a10
ms.translationtype: HT
ms.contentlocale: fr-FR
ms.lasthandoff: 08/17/2020
ms.locfileid: "88482252"
---
# <a name="updatable-subscriptions"></a>Abonnements pouvant être mis à jour
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
Avec la réplication transactionnelle, les données répliquées doivent être traitées en lecture seule. Toutefois, vous pouvez modifier les données répliquées au niveau d’un abonné [!INCLUDE[msCoName](../../includes/msconame-md.md)] [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] en utilisant des abonnements pouvant être mis à jour. Si vous devez modifier des données sur l'Abonné, vous pouvez choisir l'une des options suivantes selon vos besoins.
|Type d'abonnement pouvant être mis à jour|Spécifications|
|---------------------------------|------------------|
|Mise à jour immédiate|Le serveur de publication et l'Abonné doivent être connectés pour mettre à jour les données sur l'Abonné.|
|Mise à jour en attente|Le serveur de publication et l'Abonné n'ont pas besoin d'être connectés pour mettre à jour les données sur l'Abonné. Les mises à jour peuvent être effectuées hors ligne et synchronisées ensuite entre le serveur de publication et l'Abonné.|
## <a name="options"></a>Options
**Répliquer les modifications de l'Abonné**
Activez la case à cocher dans la colonne **Répliquer** pour chaque abonné qui doit pouvoir effectuer des mises à jour. Pour les abonnés qui peuvent effectuer des mises à jour, sélectionnez l'option appropriée dans la zone de liste déroulante de la colonne **Valider sur le serveur de publication** :
- Sélectionnez **Enregistrer les modifications simultanément** pour un abonnement mis à jour immédiatement.
- Sélectionnez **Mettre les modifications en file d'attente et valider dès que possible** pour un abonnement mis à jour en file d'attente.
## <a name="see-also"></a>Voir aussi
[Create a Pull Subscription](../../relational-databases/replication/create-a-pull-subscription.md)
[Create a Push Subscription](../../relational-databases/replication/create-a-push-subscription.md)
[S’abonner aux Publications](../../relational-databases/replication/subscribe-to-publications.md)
[Updatable Subscriptions for Transactional Replication](../../relational-databases/replication/transactional/updatable-subscriptions-for-transactional-replication.md)
| 62.489362 | 461 | 0.763704 | fra_Latn | 0.871984 |
614262b4981a28ff0fed1331ad27947b5e904d41 | 607 | md | Markdown | grapher/color/readme.md | PutawanDE/owid-grapher | 8c79f9709dc8f7102db9448628668be355b77526 | [
"MIT"
] | 951 | 2017-07-29T10:34:15.000Z | 2022-03-29T11:07:39.000Z | grapher/color/readme.md | PutawanDE/owid-grapher | 8c79f9709dc8f7102db9448628668be355b77526 | [
"MIT"
] | 825 | 2017-07-28T03:40:51.000Z | 2022-03-31T15:45:26.000Z | grapher/color/readme.md | PutawanDE/owid-grapher | 8c79f9709dc8f7102db9448628668be355b77526 | [
"MIT"
] | 166 | 2017-07-29T10:14:02.000Z | 2022-03-31T23:32:46.000Z | # Color Assignments
All of our charts have the notion of a Series with a color(string) property.
Colors can come from 5 places in this order:
1. An author defined color for a specific selected entity or column
2. Computed from a `ColorScale` if present
3. A `SeriesColorMap` by series name from a previously computed ColorScheme
4. Computed from a `ColorScheme`
5. A default color for a chart type
For ColorSchemes, colors are assigned in selection order for entities or columns.
If a LineChart has switched to a bar chart, the colors for the bars will come from the LineChart's `SeriesColorMap`.
| 37.9375 | 116 | 0.779242 | eng_Latn | 0.999365 |
61430e0354ff0bd8aa3af58d06dc7ffc07ddf6aa | 12 | md | Markdown | trongmuoistREADME.md | trongmuoist/aef | aa2abcab1dfc0fd35370eac8fc3ee0aa0c6954a9 | [
"Apache-2.0"
] | null | null | null | trongmuoistREADME.md | trongmuoist/aef | aa2abcab1dfc0fd35370eac8fc3ee0aa0c6954a9 | [
"Apache-2.0"
] | null | null | null | trongmuoistREADME.md | trongmuoist/aef | aa2abcab1dfc0fd35370eac8fc3ee0aa0c6954a9 | [
"Apache-2.0"
] | null | null | null | # aef
gsdfg
| 4 | 5 | 0.666667 | deu_Latn | 0.746658 |
6143d73b159e55f1fc31ad120fb11b37faef553d | 19,088 | md | Markdown | 13-web.md | shinyzhu/The-Developer-Evangelist-Handbook | 02b3232b6db635bb88e1cdbcd982a2bb1b499e4a | [
"CC0-1.0"
] | null | null | null | 13-web.md | shinyzhu/The-Developer-Evangelist-Handbook | 02b3232b6db635bb88e1cdbcd982a2bb1b499e4a | [
"CC0-1.0"
] | null | null | null | 13-web.md | shinyzhu/The-Developer-Evangelist-Handbook | 02b3232b6db635bb88e1cdbcd982a2bb1b499e4a | [
"CC0-1.0"
] | null | null | null | # Using the (social) web
## Know and use the (social) web
The web is your biggest weapon as a developer evangelist. It is a world-wide, 24-7 information and communication channel and allows you to get your message out.
By understanding and using the social web you will also find that other people become relays for your great stories and that people will even translate and publish in their own markets for you.
Social media is an amazingly strong buzz word these days and a lot of money is being made by giving “social media consulting” or even “Twitter workshops”. While the tricks told in most of these will give you instant success, this success will also fizz out faster than you can say “hype”.
A lot of the “social media experts” sound a lot like the “search engine optimizers” of the recent past and use the same dirty tricks (for a humourous look at the subject check [the complete social media douchebag](http://www.socialmediadouchebag.net/)).
Be aware of that – your job is to use the web as a communication and distribution channel – not to make a mint in a week selling snake oil. This would kill your reputation and as stated before your reputation, integrity and honesty is what makes you a developer evangelist. Losing these will make it almost impossible for you to get listened to in the future which renders you useless for your company and gives the general idea of developer evangelism a bad name.
### Find great web content
As the web is where you want to publish, you also need to be interested in it and find great things to tell people about. As explained in the [Brand and Competition](http://developer-evangelism.com/brand-and-competition.php) chapter of this handbook you cannot exclusively talk about your products.
The most time-efficient way to find content is to collect yourself some good RSS feeds in an RSS reader. Personally I use Google Reader and [here are my subscriptions in OPML format](http://developer-evangelism.com/google-reader-subscriptions.xml).
Other great resources are [Del.icio.us](http://delicious.com/) (as people tag and describe technical content really well), topical mailing lists and forums. Don't just find things – make sure that what you find was ratified by a human or humans you trust. Then you can safely re-distribute it.
### Redistribute web content
Once you found great content, re-distribute it. The reason is that you have a different network than other people have and you should never assume that people already know about the things you find.
> **Example:** The other day I found out about [YouTube's TV interface](http://youtube.com/xl) and realised just how much more useful this is to elderly people or people with visual or motor impairments. I [put it on Twitter](http://twitter.com/codepo8/status/2817498480) and had an avalanche of re-tweets from the accessibility community and other developers. [Mashable had covered this much earlier](http://mashable.com/2009/06/02/youtube-xl/) (and thus most likely [TechCrunch](http://techcrunch/) and [ReadWriteWeb](http://readwriteweb.com/), too) but there were still a lot of people who didn't know it – people that can show this interface to the people that really benefit from using it.
You can re-distribute web content in several ways:
- You can **blog** about it.
- You can **add it to social bookmarking sites** and add a good description and tags.
- You can **use it in a presentation**.
- You can **quote it in a mailing list or forum** to add more relevance to your post or mail.
- You can **Twitter** about it.
In any case, the most important thing is that you **attribute the content to the originator** by name and resource. The reason is simple: Clever web users track what people do with their content, so if you blog about a subject, your blog will show up on their radar. The same works for re-tweeting. In other words, you get known to them which could be the start of an interesting two-way communication.
### Be known on the web
If your job is to bring interesting news and explanations about web products to the web then it should be pretty obvious that you should not be a stranger on the web.
Sign up to mailing lists, post on forums, use Twitter, poke around IRC channels, leave comments on interesting news articles of tech magazines and online magazines - simply don't be shy to give your point of view or real advice whenever you can.
Be aware of new and upcoming networks and social apps and sign up for them as soon as you get the chance (more on this in the next section).
Being visible is especially important when you work for a large company. Tech news portals love to bring news about big companies - especially bad news. It is also stunning how many times these news items contain distorted if not outright wrong information.
As the marketing and PR departments of your company are most likely not aware of these tech publications and hardly ever would step in to rectify the mistakes in their reasoning this is a good chance for you to act. Stick to technical, real information and show proof of your points. Of course some commenters will side with the misinformation as it is just cool to stick it to the man and fight large organisations but the lesser vocal majority will at least get the real story straight from the horses' mouth. **Be very sure about your facts if you do that though!**
> **Fact:** When you work for a large company people will automatically try to disagree with you and try to “out” you as a corporate drone. This always annoyed me to no end. If what we call best practices and standards are not used by large companies they'll never spread across the whole market - so fighting the big players is actually hurting the cause. I call this prison tactics: a new inmate will make sure to beat up the largest and toughest guy to make sure the others leave him in peace. Maybe successful there but annoying and pointless in the IT business.
Social media experts and entrepreneurs will tell you that it is terribly important to use your real name and have a domain with your real name and make it all very personal indeed.
I am living proof that that does not necessarily apply if your driver is to educate and help people rather than building a personal brand and make a living by giving the same workshop over and over again.
Sometimes a handle that is more technical or geeky actually gives you more credibility and makes people listen more – especially when you used it for years in other circles like old mailing lists, usenet or IRC.
### Use powerful social web sites and products
The social web is evolving almost monthly and especially right now there are a lot of companies being shut down or others emerging in weekly cycles. This is OK – it is an evolution after all. For you as an evangelist this can be very interesting:
- **Write about new social media products** – have a play with them, note your first impression.
- **Be on the lookout of new products** – if you sign up quickly you normally get invite codes (a very common practice in launches) - and having those as one of the first and saying so on Twitter is way cool.
In addition to the new kids on the block of the media space, it is very important for you to be aware of great resources that are already established, have a network of specialists and allow you to easily store and access content:
- [Flickr](http://flickr.com/) is a photo sharing web site that allows you to store photos and screenshots. A lot of tools can talk to it via its API and it comes with a bulk uploader. Flickr is also a great resource for Creative Commons licensed photos for your presentation. Users can leave comments, tag your photos (add keywords to ease finding) and leave notes on the photo itself. Flickr also stores short videos (long photos as they call it). It is a massive community and a great way to interact with people.
- [YouTube](http://youtube.com/) is the #1 video sharing web site in the world, run by Google. It is very easy to store video on YouTube and embed the videos back into your blog or web sites. Users can comment and tag. YouTube also has a great API to use the video and create your own custom players if you want to. The support for annotations and captions makes it very accessible and allows you to easily add extra information to video content.
- [Vimeo](http://vimeo.com/) is another video sharing site, which does the same as YouTube but has higher quality content and much better usability. It does take a while to convert video though.
- [Archive.org](http://archive.org/) is the Internet Archive which allows you to easily store videos, audio and pictures that you want to release to the public.
- [Dopplr](http://dopplr.com/) is a social travel site. You can store there which trips you make and find and notify people thus when you are in their area. You can also find out when people are in your city and for example invite them to the office for a talk or interview.
- [Del.icio.us](http://delicious.com/) is a social bookmarking site - users can add notes and tags to your bookmarks and share them across networks.
- [GitHub](http://github.com/) is a social code sharing network. Git is a version control system and GitHub allows you to store code there, have a Wiki to explain the information and make it easy for other developers to fork and watch your code. GitHub also comes with a nice code displayer and automatically creates archives of your code for people to download so you don't need to zip it up after each change.
- [Google Code](http://code.google.com/) is another way to store your code for people to download. [Google App Engine](http://code.google.com/appengine/) even allows you to store and execute your apps on Google's servers.
- [SlideShare](http://slideshare.net/) and [SlideSix](http://slidesix.com/) allow you to store presentations and offer them as Flash embeds to the world. Both allow for tagging and commenting and SlideShare even allows to add a sound file to the slides to turn them into a slidecast.
- [Google Reader](http://reader.google.com/) is not only a great RSS reader but it also allows for sharing with networks, adding notes to each other's subscriptions and tag content.
- [LinkedIn](http://linkedin.com/) is a professional network where you can find other evangelists and key people in companies you want to reach.
- [Facebook](http://facebook.com/) I am sure I don't have to explain. Good for event organisation and contacting people quickly, less useful for photo storage because of their terms and conditions.
- [Upcoming](http://upcoming.org/) and [Meetup](http://meetup.com/) both are social networks revolving around real-life meetings and events.
- [Twitter](http://twitter.com/) has taken over the online world by storm. It is still re-inventing itself daily trying to define what it is, but one thing is for sure: it is an amazingly easy way to spread short information very far and very fast and a good way to stay in contact with people when you are on the go.
These are only a few of the sites that make a lot of sense to use as a developer evangelist. I will keep [collecting them on delicious](http://delicious.com/codepo8/evangelismsites).
> **Tip:** I found that every successful social network does not have the network as its main core idea but revolves around a thing people get emotionally attached to - pictures, videos, travel, music and so on. Pure networks hardly ever keep my attention for long.
As with anything, these resources are as useful as you make them. Good title writing, describing, annotating and tagging will make them more useful to the world and easier for you to find what you've put up there weeks ago.
### Use the web for storage, distribution and cross-promotion
The web is a network of products, documents, data and sites and to use it to its full advantage make sure to spread your content around it. Having a product in one place is great, but people have to find it. If you put parts of the product in different places which were designed to host a certain content you give web surfers a lot more opportunities to find your content.
> **Tip:** don't forget that social networks can be very insular - not everybody has the time and dedication to be active on lots of them. Therefore having information useful to the nature of a certain network pointing to a full product elsewhere makes you a part of the network but also gets people interested in following your link and checking out what you're talking about.
Spreading your content across different platforms has a lot of benefits:
- **Multiple points of storage** – even if a very successful blog post would kick your server off the grid (slashdot or digg effect), the information on the other platforms is still available.
- **Multiple feedback channels** – people can comment or enquire where they are happy to hang out – may it be YouTube, Flickr or Slideshare. All of these web sites spend a lot of time building close-knit communities which means more expert feedback for you.
- **Automatic conversion and hosting** – Flickr specialises in hosting and converting photos and short videos, YouTube does the same for longer videos and other specialised sites know how to tweak their servers how to convert and send their specialist data over the wire the fastest – something you don't need to think about.
> **Example:** Say you have a new code solution. You can write a blog post explaining it, put screenshots on Flickr, a screencast of how to use the interface (or install the solution) on YouTube, have a presentation about the solution on SlideShare and host the code on GitHub. This quintuples the potential audience just by using all these systems in the way they were meant to be used.
Spreading the content is one part of the solution that will make this a success for you. What you need to make sure is to link all of these bits of information back to the main product. Write great descriptions for videos and screenshots, use informative tags (one of which can be the product name) and track the feedback on all the channels to be able to answer people's questions immediately. There is not much point in a multimedia resource on the web when nobody knows what it belongs to.
### Hint, tease and preview
Social media is a lot about exploration and showing off just how much better you are in finding new information and learning about new products than anybody else.
> **Fact:** This is a general thing about the web – people have gigabytes of information already downloaded but rather than consuming this information we spend most of our nights hunting for more and adding to the big pile of what we already have. It is a human thing and deep in our psyche – ever since we started hogging food for the long, cold winter months that we had to stay in the cave.
You can use this to your advantage by previewing, hinting and teasing about upcoming releases. I do this a lot – not consciously to manipulate, but because I am too excited about things and prone to release information before it can be publicly available. Instead of releasing too early – which is disastrous – I started doing some of the following:
- **Upload screenshots of upcoming products to Flickr** – this results in pretty cool comments and people tagging the photo with keywords you may not have thought of adding as content to the product docs.
- **Upload screencasts to video sharing sites** – same reason, but bigger impact. However, remember that watching a screencast expects more buy-in from the consumer than just looking at a screenshot.
- **Hint about cool stuff coming up on Twitter** – this will result in a lot of your followers directly messaging you asking for more details - and you can give out previews and insights for them to be the first to talk about it.
- **Flat out ask for beta testers** – people love poking at things before they are public. Feedback I got this way helped me on several occasions to spot sources of confusion I wasn't aware of and allowed me to fix them before release.
Once the product is out, don't forget to add the real URL to the previews you already spread on the web – that way all the late-comers will know where to go.
### Track your impact
There is not much point in putting your content out on the web without knowing what your impact is. You can track the effects of your publications in several ways:
- **Add a page counter** – the thing to read there is not really the amount of hits and get high on that but to look through the referrers. I found a lot of cool blogs in my stats. I am using [StatCounter](http://statcounter.com/) and Urchin, which comes with my [MediaTemple](http://mediatemple.net/)server.
- **Search the web and social media for keywords** – [Twitter search](http://search.twitter.com/), [Bloglines](http://bloglines.com/) and [Google Blog search](http://blogsearch.google.com/) are great for that. Personally I have some [Yahoo Pipes](http://pipes.yahoo.com/) and a few [YQL scripts](http://developer.yahoo.com/yql) that aggregate several sources and publish them as an RSS feed for my reader.
- **Subscribe to comment feeds** of posts you've written or commented on.
None of this is rocket science, but it can be very powerful and teach you how successful different styles of publication are.
### Build a network
As the web is much more social these days than it used to be, it is easy for you to connect to other people. It is very easy to get up-to-date information from people on [Twitter](http://twitter.com/), [Facebook](http://facebook.com/) and [LinkedIn](http://linkedin.com/) and you can give information to the right people with the right networks almost instantly.
You achieve this by contacting people, re-tweeting cool things they talk about, report problems you found with systems on Twitter and other, similar tricks that really are not rocket science.
> **Example:** Sometimes being at the right time in the right mindset is everything. For example when Microsoft released their Bing API, I played with it and complained on Twitter about how hard it is to read the docs (MSDN-style frame monster until you find the "low bandwidth" version). A few seconds later I got a Twitter message from the API lead of Bing who told me what I can do to work around that issue. Since then we had a view short conversations of what I liked and disliked directly with the people that can make a change.
People who really grasp the social web are happy to answer to you once you've proven that you have interesting things to say and that you find and re-tweet, bookmark or blog about great content. All of this is to make our research time shorter and our lives easier. Other evangelists are by definition social people, so don't be afraid of talking to people and pointing them to things that get you excited.
Once you've successfully done that you'll find that you get good information earlier and earlier and before you know it you are the one with the invite codes to private betas and know and talk about cool new stuff that is in the making. | 136.342857 | 694 | 0.782114 | eng_Latn | 0.999882 |
6144454ac527cabc7cfcab5d599fdee5890ffc0c | 11,402 | md | Markdown | articles/aks/operator-best-practices-identity.md | changeworld/azure-docs.pl-pl | f97283ce868106fdb5236557ef827e56b43d803e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/aks/operator-best-practices-identity.md | changeworld/azure-docs.pl-pl | f97283ce868106fdb5236557ef827e56b43d803e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/aks/operator-best-practices-identity.md | changeworld/azure-docs.pl-pl | f97283ce868106fdb5236557ef827e56b43d803e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Najważniejsze wskazówki dotyczące zarządzania tożsamością
titleSuffix: Azure Kubernetes Service
description: Zapoznaj się z najlepszymi rozwiązaniami operatorów klastra dotyczącymi zarządzania uwierzytelnianiem i autoryzacją klastrów w usłudze Azure Kubernetes Service (AKS)
services: container-service
ms.topic: conceptual
ms.date: 04/24/2019
ms.openlocfilehash: 0e3569be769fcf70a65cbfee62a3b80a5abdc3b5
ms.sourcegitcommit: 67addb783644bafce5713e3ed10b7599a1d5c151
ms.translationtype: MT
ms.contentlocale: pl-PL
ms.lasthandoff: 04/05/2020
ms.locfileid: "80668314"
---
# <a name="best-practices-for-authentication-and-authorization-in-azure-kubernetes-service-aks"></a>Najważniejsze wskazówki dotyczące uwierzytelniania i autoryzacji w usłudze Azure Kubernetes (AKS)
Podczas wdrażania i obsługi klastrów w usłudze Azure Kubernetes Service (AKS) należy zaimplementować sposoby zarządzania dostępem do zasobów i usług. Bez tych formantów konta mogą mieć dostęp do zasobów i usług, których nie potrzebują. Może być również trudne do śledzenia, który zestaw poświadczeń zostały użyte do wprowadzania zmian.
W tym artykule najważniejsze wskazówki koncentruje się na tym, jak operator klastra może zarządzać dostępem i tożsamością klastrów AKS. W tym artykule omówiono sposób wykonywania następujących zadań:
> [!div class="checklist"]
> * Uwierzytelnij użytkowników klastra AKS za pomocą usługi Azure Active Directory
> * Kontroluj dostęp do zasobów za pomocą kontroli dostępu opartych na rolach (RBAC)
> * Używanie tożsamości zarządzanej do uwierzytelniania się za pomocą innych usług
## <a name="use-azure-active-directory"></a>Korzystanie z usługi Azure Active Directory
**Wskazówki dotyczące najlepszych rozwiązań** — wdrażanie klastrów AKS za pomocą integracji usługi Azure AD. Za pomocą usługi Azure AD centralizuje składnik zarządzania tożsamościami. Wszelkie zmiany stanu konta użytkownika lub grupy są automatycznie aktualizowane w dostępie do klastra AKS. Użyj ról lub role klastra i powiązania, jak omówiono w następnej sekcji, do zakresu użytkowników lub grup do najmniejszej ilości uprawnień wymaganych.
Deweloperzy i właściciele aplikacji klastra Kubernetes potrzebują dostępu do różnych zasobów. Kubernetes nie zapewnia rozwiązania do zarządzania tożsamościami, aby kontrolować, którzy użytkownicy mogą wchodzić w interakcje z jakimi zasobami. Zamiast tego zazwyczaj zintegrować klastra z istniejącego rozwiązania tożsamości. Usługa Azure Active Directory (AD) zapewnia rozwiązanie do zarządzania tożsamościami gotowe do organizacji i może integrować się z klastrami AKS.
Za pomocą klastrów zintegrowanych z usługą Azure AD w usłudze AKS tworzysz *role* lub *role klastrowe* definiujące uprawnienia dostępu do zasobów. Następnie *należy powiązać* role z użytkownikami lub grupami z usługi Azure AD. Te kubernetes kontroli dostępu opartego na rolach (RBAC) zostały omówione w następnej sekcji. Integracja usługi Azure AD i sposób kontrolowania dostępu do zasobów można zobaczyć na poniższym diagramie:

1. Deweloper uwierzytelnia się za pomocą usługi Azure AD.
1. Punkt końcowy wystawiania tokenu usługi Azure AD wystawia token.
1. Deweloper wykonuje akcję przy użyciu tokenu usługi Azure AD, na przykład`kubectl create pod`
1. Usługa Kubernetes sprawdza poprawność tokenu za pomocą usługi Azure Active Directory i pobiera członkostwo w grupach dewelopera.
1. Zastosowano zasady kontroli dostępu opartej na rolach (RBAC) i klastra.
1. Żądanie dewelopera jest pomyślnie lub nie na podstawie wcześniejszej weryfikacji członkostwa w grupie usługi Azure AD i narzędzia Kubernetes RBAC i zasad.
Aby utworzyć klaster AKS korzystający z usługi Azure AD, zobacz [Integrowanie usługi Azure Active Directory z usługą AKS][aks-aad].
## <a name="use-role-based-access-controls-rbac"></a>Korzystanie z kontroli dostępu opartego na rolach (RBAC)
**Wskazówki dotyczące najlepszych rozwiązań** — użyj funkcji Kubernetes RBAC, aby zdefiniować uprawnienia, które użytkownicy lub grupy mają do zasobów w klastrze. Tworzenie ról i powiązań, które przypisują najmniejszą wymaganą ilość uprawnień. Integracja z usługą Azure AD, dzięki czemu wszelkie zmiany stanu użytkownika lub członkostwa w grupie są automatycznie aktualizowane, a dostęp do zasobów klastra jest aktualny.
W umięsień można zapewnić szczegółową kontrolę dostępu do zasobów w klastrze. Uprawnienia można zdefiniować na poziomie klastra lub do określonych obszarów nazw. Można zdefiniować, jakie zasoby mogą być zarządzane i z jakimi uprawnieniami. Te role są następnie stosowane do użytkowników lub grup z powiązaniem. Aby uzyskać więcej informacji na temat *ról,* *role klastra*i *powiązań,* zobacz [Opcje dostępu i tożsamości usługi Azure Kubernetes Service (AKS)][aks-concepts-identity].
Na przykład można utworzyć rolę, która udziela pełnego dostępu do zasobów w obszarze nazw o nazwie *finance-app*, jak pokazano w poniższym przykładzie manifestu YAML:
```yaml
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: finance-app-full-access-role
namespace: finance-app
rules:
- apiGroups: [""]
resources: ["*"]
verbs: ["*"]
```
Następnie tworzony jest element Wiązania roli, który wiąże dewelopera użytkownika usługi Azure *AD1 contoso.com\@* z elementami wiązania ról, jak pokazano w następującym manifeście YAML:
```yaml
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: finance-app-full-access-role-binding
namespace: finance-app
subjects:
- kind: User
name: developer1@contoso.com
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: Role
name: finance-app-full-access-role
apiGroup: rbac.authorization.k8s.io
```
Gdy *\@developer1 contoso.com* jest uwierzytelniony względem klastra AKS, mają pełne uprawnienia do zasobów w obszarze nazw aplikacji *finanse.* W ten sposób logicznie oddzielić i kontrolować dostęp do zasobów. Usługa Kubernetes RBAC powinna być używana w połączeniu z integracją usługi Azure AD, jak omówiono w poprzedniej sekcji.
Aby zobaczyć, jak używać grup usługi Azure AD do kontrolowania dostępu do zasobów usługi Kubernetes przy użyciu funkcji RBAC, zobacz [Kontrolowanie dostępu do zasobów klastra przy użyciu kontroli dostępu opartych na rolach i tożsamościach usługi Azure Active Directory w usłudze AKS][azure-ad-rbac].
## <a name="use-pod-identities"></a>Używanie tożsamości zasobników
**Wskazówki dotyczące najlepszych praktyk** — nie należy używać stałych poświadczeń w zasobnikach lub obrazach kontenerów, ponieważ są one narażone na ryzyko narażenia lub nadużycia. Zamiast tego użyj tożsamości zasobników, aby automatycznie zażądać dostępu przy użyciu centralnego rozwiązania tożsamości usługi Azure AD. Tożsamości zasobników jest przeznaczony do użytku tylko z zasobników Systemu Linux i obrazów kontenerów.
Gdy zasobników potrzebują dostępu do innych usług platformy Azure, takich jak Usługi Usługi Cosmos DB, Key Vault lub Magazyn obiektów blob, zasobnik wymaga poświadczeń dostępu. Te poświadczenia dostępu mogą być zdefiniowane za pomocą obrazu kontenera lub wstrzykuje się jako klucz tajny Kubernetes, ale muszą być ręcznie tworzone i przypisywane. Często poświadczenia są ponownie używane w zasobnikach i nie są regularnie obracane.
Tożsamości zarządzane dla zasobów platformy Azure (obecnie implementowane jako skojarzony projekt open source usługi AKS) umożliwiają automatyczne żądanie dostępu do usług za pośrednictwem usługi Azure AD. Nie definiujesz ręcznie poświadczeń dla zasobników, zamiast tego żądają tokenu dostępu w czasie rzeczywistym i można go używać do uzyskiwania dostępu tylko do przypisanych im usług. W uzywu usługi AKS operator klastra wdraża dwa składniki, aby umożliwić zasobnikom używanie tożsamości zarządzanych:
* **Serwer tożsamości zarządzania węzłami (NMI)** jest zasobnikiem, który działa jako DemonSet w każdym węźle w klastrze AKS. Serwer NMI nasłuchuje żądań zasobników do usług platformy Azure.
* **Kontroler tożsamości zarządzanej (MIC)** jest zasobnikiem centralnym z uprawnieniami do wykonywania zapytań na serwerze interfejsu API usługi Kubernetes i sprawdzania mapowania tożsamości platformy Azure, które odpowiada zasobnikowi.
Gdy zasobników żądania dostępu do usługi platformy Azure, reguły sieciowe przekierować ruch do serwera tożsamości zarządzania węzłami (NMI). Serwer NMI identyfikuje zasobników, które żądają dostępu do usług platformy Azure na podstawie ich adresu zdalnego i wysyła zapytania do kontrolera tożsamości zarządzanej (MIC). Mic sprawdza mapowania tożsamości platformy Azure w klastrze AKS, a serwer NMI następnie żąda tokenu dostępu z usługi Azure Active Directory (AD) na podstawie mapowania tożsamości zasobnika. Usługa Azure AD zapewnia dostęp do serwera NMI, który jest zwracany do zasobnika. Ten token dostępu może służyć przez zasobnika, aby następnie zażądać dostępu do usług na platformie Azure.
W poniższym przykładzie deweloper tworzy zasobnik, który używa tożsamości zarządzanej do żądania dostępu do wystąpienia programu Azure SQL Server:

1. Operator klastra najpierw tworzy konto usługi, które może służyć do mapowania tożsamości, gdy zasobników żądania dostępu do usług.
1. Serwer NMI i mic są wdrażane do przekazywania wszelkich żądań zasobnika tokenów dostępu do usługi Azure AD.
1. Deweloper wdraża zasobnik z tożsamością zarządzaną, która żąda tokenu dostępu za pośrednictwem serwera NMI.
1. Token jest zwracany do zasobnika i używany do uzyskiwania dostępu do wystąpienia programu Azure SQL Server.
> [!NOTE]
> Zarządzane tożsamości zasobników jest projektem open source i nie jest obsługiwany przez pomoc techniczną platformy Azure.
Aby użyć tożsamości zasobników, zobacz [Tożsamości usługi Azure Active Directory dla aplikacji Kubernetes][aad-pod-identity].
## <a name="next-steps"></a>Następne kroki
Ten artykuł dotyczący najlepszych rozwiązań koncentruje się na uwierzytelnianiu i autoryzacji klastra i zasobów. Aby zaimplementować niektóre z tych najlepszych rozwiązań, zobacz następujące artykuły:
* [Integracja usługi Azure Active Directory z usługą AKS][aks-aad]
* [Używanie tożsamości zarządzanych dla zasobów platformy Azure przy użyciu usługi AKS][aad-pod-identity]
Aby uzyskać więcej informacji na temat operacji klastra w uzywce AKS, zobacz następujące najlepsze rozwiązania:
* [Wielodostęp i izolacja klastra][aks-best-practices-cluster-isolation]
* [Podstawowe funkcje harmonogramu kubernetes][aks-best-practices-scheduler]
* [Zaawansowane funkcje harmonogramu Kubernetes][aks-best-practices-advanced-scheduler]
<!-- EXTERNAL LINKS -->
[aad-pod-identity]: https://github.com/Azure/aad-pod-identity
<!-- INTERNAL LINKS -->
[aks-concepts-identity]: concepts-identity.md
[aks-aad]: azure-ad-integration-cli.md
[managed-identities:]: ../active-directory/managed-identities-azure-resources/overview.md
[aks-best-practices-scheduler]: operator-best-practices-scheduler.md
[aks-best-practices-advanced-scheduler]: operator-best-practices-advanced-scheduler.md
[aks-best-practices-cluster-isolation]: operator-best-practices-cluster-isolation.md
[azure-ad-rbac]: azure-ad-rbac.md
| 82.623188 | 698 | 0.822838 | pol_Latn | 0.999961 |
61452993a8c8cc1425a5e2be78a06b3df1f18a65 | 4,050 | md | Markdown | README.md | IanMadlenya/Spark-in-Finance-Quantitative-Investing | baba47d00b01dbf19a224a3a4b49c8fc6f4bfeee | [
"Apache-2.0"
] | 1 | 2018-08-20T06:12:51.000Z | 2018-08-20T06:12:51.000Z | README.md | IanMadlenya/Spark-in-Finance-Quantitative-Investing | baba47d00b01dbf19a224a3a4b49c8fc6f4bfeee | [
"Apache-2.0"
] | null | null | null | README.md | IanMadlenya/Spark-in-Finance-Quantitative-Investing | baba47d00b01dbf19a224a3a4b49c8fc6f4bfeee | [
"Apache-2.0"
] | null | null | null | # Spark-in-Finance-Quantitative-Investing
## Product
***
This is a module in some financial investment startegies. Through analysing the trend of index, we can build some macro timing or portifolio adjustment signals.

### Screenshot
`similarity line and predict trend`

`prediction close index change percent`

## Architecture
Bellow is the brief indroduction of this app:
- During the transaction time:
- Spark cluster loads all the history data;
- Dirver loads today's data;
- Driver broadcasts today's data to the cluster;
- Spark cluster parallelly calculates similarity data;
- Dirver collects the calculation results;
- Dirver parses the calculation results;

## Data Used
This application used serveral data bellow:
- Index minute bar in the previous serveral years;
- Index minute bar of today, refresh every one minute;
## Alogorithms
Just for the demo, I used the basic similarity algorithm.
## Value of Product
This application is a module in some quantitative funds, it can be used in macro timing and portifolio rebalancing.
For the future, there are endless imaging and extension space. For example, as the data growing more and more, we can put more data in the algorithm, and design serveral different algorithms to do the prediction parallelly, leverage the power of big data and Spark, completing a calculation round within 1 second, build high-frequency singals in the market. Which will be a revolution in the financial market.
I currently use a more complex algorthim do calculate the similarity and build macro signals in my private investment account, it really works, and I believe it will do much better in the future.
## Imporvement
- More data:
- Using more history data
- Using more kinds data
- price
- volume
- money flow
- Signals
- Macro timing
- Portifolio rebanlance
- Ticker timing
- Ticker pair trading strategy
- Larger cluster
## Future
In recent years, as the big data announcing its power, more and more frameworks show their muscles to the world. Apache Spark it one the most powerful framework in my eyes, and now there are many companies start put Spark in their buisness systems. But, as we known, most of today's Spark applications are dealing with logs and machine learning models, to be frankly, we do not leverage the power of big data and Spark until the Finacial Market pays attention on the mass big data and Spark.
In quantitative investing field, we using some mathematic methods to do analysing market data, in order to build some signals in our strategies. As the data grows more and more, as the models become more and more complex, we need a powerful tool to do parrallelly computing on the mass market data.
This application, ***Spark-in-Finance-Quantitative-Investing***, is just a demo, but it's really powerful and useful. I believe through this application, the quant can find that Spark, is the thing they are seeking to do the analysing, computing, modeling, etc job.
## Github
[Spark-in-Finance-Quantitative-Investing](https://github.com/litaotao/Spark-in-Finance-Quantitative-Investing)
## Video & Documents
- [Spark-in-Finance-Quantitative-Investing.pdf](https://raw.githubusercontent.com/litaotao/Spark-in-Finance-Quantitative-Investing/master/docs/Spark-in-Finance-Quantitative-Investing.pdf)
- [Video Demo - En](https://www.youtube.com/watch?v=WPc-DoSeCpU&feature=youtu.be)
- [Video Demo - Cn](http://v.youku.com/v_show/id_XMTY5NjA2ODY2OA==.html?beta&)
| 44.505495 | 493 | 0.774074 | eng_Latn | 0.978072 |
6146e918ecc72f35ed86c0f3346c535a20446420 | 672 | md | Markdown | README.md | chris-source/ProtocolRouter | 10210f3670f8b3476d6c3c5070e769ca87d119c8 | [
"MIT"
] | 208 | 2018-09-07T05:38:07.000Z | 2021-05-13T16:40:17.000Z | README.md | coderlinxx/ProtocolRouter | 10210f3670f8b3476d6c3c5070e769ca87d119c8 | [
"MIT"
] | null | null | null | README.md | coderlinxx/ProtocolRouter | 10210f3670f8b3476d6c3c5070e769ca87d119c8 | [
"MIT"
] | 10 | 2018-09-08T07:04:33.000Z | 2019-10-15T07:45:48.000Z | # ProtocolRouter
协议路由-是用于iOS的App模块化编程的简化实现方案,吸收了BeeHive框架Protocol的理念来实现模块间的解耦。
首先声明一点,在楼主看来,目前已知的组件化路由项目里,基本都是 映射表/约定 的方式去完成对路由的整体设计,这是由 OC 语言的特性所决定的, 除非,OC可以像Java一样支持Protocol的实例化,或者说,就是支持动态的接口实例化。那么,就可以像Spring所做的那样,完全的动态化IoC(控制反转),然后再用注解来实现绑定,就可以避免配置文件的问题了。
像 casa 大神的CTMediator,虽说解耦,同样的也会有很多的 Target_xx 和 其内部的 Action_xx (中间件+约定), 依赖这些中间件来使用服务.
BeeHive 是用映射表的方式来完成的,框架在使用的过程中都会有很多协议的实现,这也是一个框架在设计原理的基础上所必要实现过程.
ProtocolRouter 这个项目借鉴了前人的宝贵经验,吸取了BeeHive(或者说protocol-class)和CTMediator(target-action)内比较好的一面去做的一个结合. 楼主用protocol-class的形式增加了一个中间件,用 约定 的方式去尽量简化了这个路由器的设计,让使用者可以很简单的完成组件的调用,组装以及组件之间的信息传递.
作为此框架的初级版本,ProtocolRouter实现了模块间的解耦和模块生命周期的管理,可以在模块的相应协议服务类里处理一些额外事件.
| 51.692308 | 185 | 0.883929 | yue_Hant | 0.674829 |
6146fb7e57da05e292cccc332a65c0bc2c5bcc24 | 1,137 | md | Markdown | readme.md | Whallas/vaitel-laravel-test | 1ffcfdf0940fe9ade8fc472d627c94b88f73367c | [
"MIT"
] | null | null | null | readme.md | Whallas/vaitel-laravel-test | 1ffcfdf0940fe9ade8fc472d627c94b88f73367c | [
"MIT"
] | null | null | null | readme.md | Whallas/vaitel-laravel-test | 1ffcfdf0940fe9ade8fc472d627c94b88f73367c | [
"MIT"
] | null | null | null | # Blast/Vaitel CRM
Vaitel/Blast laravel test.
A demo application to illustrate how Inertia.js works.

## Installation
Clone the repo locally:
```sh
git clone git@github.com:Whallas/vaitel-laravel-test.git
cd vaitel-laravel-test
```
Install PHP dependencies:
```sh
composer install
```
Install NPM dependencies:
```sh
npm ci
```
Build assets:
```sh
npm run dev
```
Setup configuration:
```sh
cp .env.example .env
```
Generate application key:
```sh
php artisan key:generate
```
Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.
```sh
touch database/database.sqlite
```
Run database migrations and seeders:
```sh
php artisan migrate --seed
```
Run the dev server (the output will give the address):
```sh
php artisan serve
```
You're ready to go! Visit Blast/Vaitel CRM in your browser, and login with:
- **Username:** johndoe@example.com
- **Password:** secret
#
## Running tests
To run the Blast/Vaitel CRM tests, run:
```
php artisan test
```
| 14.392405 | 125 | 0.722076 | eng_Latn | 0.723786 |
6147c09e6e8cbbe9652c735ebbd87e0fdea7435e | 3,207 | md | Markdown | docs/database-engine/availability-groups/windows/data-synchronization-state-of-availability-database-is-not-healthy.md | antoniosql/sql-docs.es-es | 0340bd0278b0cf5de794836cd29d53b46452d189 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/database-engine/availability-groups/windows/data-synchronization-state-of-availability-database-is-not-healthy.md | antoniosql/sql-docs.es-es | 0340bd0278b0cf5de794836cd29d53b46452d189 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/database-engine/availability-groups/windows/data-synchronization-state-of-availability-database-is-not-healthy.md | antoniosql/sql-docs.es-es | 0340bd0278b0cf5de794836cd29d53b46452d189 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: El estado de sincronización de datos de bases de datos de disponibilidad no es correcto | Microsoft Docs
ms.custom: ''
ms.date: 05/17/2016
ms.prod: sql
ms.reviewer: ''
ms.technology: high-availability
ms.topic: conceptual
f1_keywords:
- sql13.swb.agdashboard.arp3datasynchealthy.issues.f1
helpviewer_keywords:
- Availability Groups [SQL Server], policies
ms.assetid: 4fd003e7-808e-4b0e-b28a-47d9f2616f06
author: MashaMSFT
ms.author: mathoma
manager: erikre
ms.openlocfilehash: 8ae1f9db8c3bbd0b2c86e18814ca919c2e558baa
ms.sourcegitcommit: 61381ef939415fe019285def9450d7583df1fed0
ms.translationtype: HT
ms.contentlocale: es-ES
ms.lasthandoff: 10/01/2018
ms.locfileid: "47738403"
---
# <a name="data-synchronization-state-of-availability-database-is-not-healthy"></a>El estado de sincronización de datos de bases de datos de disponibilidad no está en buen estado
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)]
## <a name="introduction"></a>Introducción
|||
|-|-|
|**Nombre de directiva**|Estado de sincronización de datos de la base de datos de disponibilidad|
|**Problema**|El estado de sincronización de datos de las bases de datos de disponibilidad no es correcto|
|**Categoría**|**Advertencia**|
|**Faceta**|Base de datos de disponibilidad|
## <a name="description"></a>Descripción
Esta directiva acumula el estado de sincronización de datos de todas las bases de datos de disponibilidad (también conocidas como "réplicas de base de datos") en la réplica de disponibilidad. La directiva está en mal estado cuando alguna réplica de la base de datos no está en el estado esperado de sincronización de datos. De lo contrario, la directiva está en un estado correcto.
> [!NOTE]
> Para esta versión de [!INCLUDE[ssCurrent](../../../includes/sscurrent-md.md)], la información sobre las posibles causas y soluciones se encuentra en el artículo [El estado de sincronización de datos de alguna base de datos de disponibilidad no está en buen estado](http://go.microsoft.com/fwlink/p/?LinkId=220858) en TechNet Wiki.
## <a name="possible-causes"></a>Posibles causas
El estado de sincronización de datos de esta base de datos de disponibilidad no es correcto. En una réplica de disponibilidad de confirmación asincrónica, cada base de datos de disponibilidad debe estar en el estado SYNCHRONIZING. En una réplica de confirmación sincrónica, cada base de datos de disponibilidad debe estar en el estado SYNCHRONIZED.
## <a name="possible-solution"></a>Solución posible
Use la directiva de réplica de base de datos para buscar la réplica de base de datos que está en un estado incorrecto de sincronización de datos y, a continuación, resuelva el problema en la réplica de base de datos.
## <a name="see-also"></a>Ver también
[Información general de los grupos de disponibilidad AlwaysOn (SQL Server)](~/database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server.md)
[Usar el Panel de AlwaysOn (SQL Server Management Studio)](~/database-engine/availability-groups/windows/use-the-always-on-dashboard-sql-server-management-studio.md)
| 58.309091 | 384 | 0.768319 | spa_Latn | 0.92038 |
6149071eba082eade592aa9170e648cbdfb0542e | 4,495 | md | Markdown | articles/finance/fixed-assets/manual-depreciation.md | MicrosoftDocs/Dynamics-365-Operations.pl-pl | fabc82553d43158349e740e44634860e5c927b6d | [
"CC-BY-4.0",
"MIT"
] | 5 | 2020-05-18T17:14:43.000Z | 2022-03-02T03:47:15.000Z | articles/finance/fixed-assets/manual-depreciation.md | MicrosoftDocs/Dynamics-365-Operations.pl-pl | fabc82553d43158349e740e44634860e5c927b6d | [
"CC-BY-4.0",
"MIT"
] | 8 | 2017-12-12T13:01:05.000Z | 2021-01-17T16:41:42.000Z | articles/finance/fixed-assets/manual-depreciation.md | MicrosoftDocs/Dynamics-365-Operations.pl-pl | fabc82553d43158349e740e44634860e5c927b6d | [
"CC-BY-4.0",
"MIT"
] | 4 | 2019-10-12T18:17:43.000Z | 2021-01-17T16:37:51.000Z | ---
title: Amortyzacja ręczna
description: Ten artykuł zawiera omówienie metody amortyzacji Amortyzacja ręczna.
author: ShylaThompson
ms.date: 06/20/2017
ms.topic: article
ms.prod: ''
ms.technology: ''
ms.search.form: AssetDepreciationProfile
audience: Application User
ms.reviewer: roschlom
ms.custom: 13811
ms.assetid: b0e837c9-515a-4aed-9060-5ec94f37edeb
ms.search.region: Global
ms.author: saraschi
ms.search.validFrom: 2016-02-28
ms.dyn365.ops.version: AX 7.0.0
ms.openlocfilehash: 444506bdbf33cb1bd05ae7b55f2059e0eb1ab5b136e8fb1adb6f9e5f53b7067c
ms.sourcegitcommit: 42fe9790ddf0bdad911544deaa82123a396712fb
ms.translationtype: HT
ms.contentlocale: pl-PL
ms.lasthandoff: 08/05/2021
ms.locfileid: "6743032"
---
# <a name="manual-depreciation"></a>Amortyzacja ręczna
[!include [banner](../includes/banner.md)]
Ten artykuł zawiera omówienie metody amortyzacji Amortyzacja ręczna.
Po skonfigurowaniu profilu amortyzacji środków trwałych i wybraniu opcji **Ręczna** w polu **Metoda** na stronie **Profile amortyzacji**, amortyzacja środków trwałych przypisanych do tego profilu amortyzacji jest określana przez wartości procentowe wprowadzone dla poszczególnych interwałów w roku kalendarzowym. Interwały, dla których zostały ustawione wartości procentowe, są księgowane na podstawie wartości wybranej w polu **Częstotliwość okresu** na skróconej karcie **Ogólne** na stronie **Profile amortyzacji**. Można wybrać następujące wartości:
- Co rok
- Miesięczne
- Kwartalna
- Półrocznie
- Dziennie
Po wybraniu częstotliwości okresu kliknij opcję **Planowanie ręczne** i ustaw wartości procentowe dla poszczególnych interwałów księgowania. Harmonogramy ręczne i interwały księgowania razem określają kwotę amortyzacji, co pokazano w poniższych przykładach w tym artykule. Amortyzacja ręczna jest zawsze obliczana jako wartość procentowa ceny nabycia. W przypadku amortyzacji ręcznej suma wartości procentowych wprowadzonych w interwałach amortyzacji nie musi wynosić 100%. Amortyzacja ręczna jest to elastyczna metoda amortyzacji, która jest zwykle używana do definiowania dodatkowego profilu amortyzacji na stronie **Księga**, jak np. amortyzacji nieokresowej dla celów specjalnych (np. podatkowych).
## <a name="examples"></a>Przykłady
Cena nabycia: 11,000.00 oczekiwana wartość likwidacji: 1,000.00. W poniższej tabeli przedstawiono interwały i wartości procentowe określane na stronie **Plany amortyzacji środków trwałych dla profilów**.
| Numer zakresu | Wartość procentowa |
|-----------------|------------|
| 1 przypada na wpłatę z zysku na rzecz budżetu państwa | 10,00 |
| 2 | 50,00 |
| 3 | 8.00 |
W poniższej tabeli pokazano sposób obliczania amortyzacji dla każdego interwału.
| Numer zakresu | Obliczenie kwoty rocznej amortyzacji | Wartość księgowa netto na koniec interwału |
|------------------|-----------------------------------------------|-------------------------------------------|
| 1 przypada na wpłatę z zysku na rzecz budżetu państwa | (11,000 – 1,000) × 10% = 1,000 | 10,000 (11,000 – 1,000) |
| 2 | (11,000 – 1,000) × 50% = 5,000 | 5,000 (10,000 – 5,000) |
| 3 | (11,000 – 1,000) × 8% = 800 | 4,200 (5,000 – 800) |
Jeśli w polu **Częstotliwość okresu** wybierzesz opcję **Miesięcznie**, ustawisz 12 interwałów harmonogramu ręcznego. W poniższej tabeli przedstawiono kwoty amortyzacji dla pierwszych dwóch interwałów.
| Interwał | Kwota amortyzacji |
|----------|--------------------------------|
| Styczeń | (11,000 – 1,000) × 10% = 1,000 |
| Luty | (11,000 – 1,000) × 50% = 5,000 |
Jeśli w polu *<strong><em>Częstotliwość okresu</em>*</strong> wybierzesz opcję <strong>Półrocznie</strong>, ustawisz 2 interwały harmonogramu ręcznego. W poniższej tabeli przedstawiono kwoty amortyzacji dla tych dwóch interwałów.
| Interwał | Kwota amortyzacji |
|-------------|--------------------------------|
| 30 czerwca | (11,000 – 1,000) × 10% = 1,000 |
| 31 grudnia | (11,000 – 1,000) × 50% = 5,000 |
Suma wartości procentowych dla wszystkich interwałów nie musi być równa 100. Jednakże wyświetlany jest komunikat, jeśli wartość w polu **Suma wartości procentowych** na stronie **Plany amortyzacji środków trwałych dla profilów** nie jest równa **100**.
[!INCLUDE[footer-include](../../includes/footer-banner.md)] | 57.628205 | 702 | 0.691435 | pol_Latn | 0.999736 |
61490d31e50c9dedef98e37fb85bb5f7c07f0a95 | 1,786 | md | Markdown | readme.md | GeneralLi95/OpenGCC-Contest | 87ae3e1fcb057668a08e14c3ff370908275632b5 | [
"Apache-2.0"
] | 1 | 2019-07-19T12:53:02.000Z | 2019-07-19T12:53:02.000Z | readme.md | GeneralLi95/OpenGCC-Contest | 87ae3e1fcb057668a08e14c3ff370908275632b5 | [
"Apache-2.0"
] | null | null | null | readme.md | GeneralLi95/OpenGCC-Contest | 87ae3e1fcb057668a08e14c3ff370908275632b5 | [
"Apache-2.0"
] | null | null | null | # 全国高校绿色计算大赛(项目挑战组)参赛总结——多啦A梦战队
# 竞赛介绍
> 为推动我国基于开源的开放创新生态环境建设,加快面向开源的高校绿色计算人才培养模式变革,大力培养实践能力强、创新能力强、具备国际竞争力的信息技术领域高素质“新工科”人才,教育部高等学校计算机类专业教学指导委员会、教育部高等学校软件工程专业教学指导委员会、全国高等学校计算机教育研究会、绿色计算产业联盟(GCC)共同研究,决定于2018年9月10日起举办第一届全国高校绿色计算大赛。——竞赛组委会
竞赛分为项目挑战组和开源标注组,开源标注主要是对经典算法(比特币、Django之类)进行标注,主要目的还是想让参赛学员通过比赛达到阅读源码的目的,真正参赛的选手并不多。我们主要介绍「项目挑战组」的相关内容。
比赛共分三个大时间节点,分别是模拟赛,预赛,决赛,其中预赛与决赛都是要求在当日9:00-24:00之内完成。
时间|模拟赛(8.30-10.26)|预赛(10.28)|决赛(11.11)
---|---|---|---
第一阶段|求和,文件查看器,图片查看器|将字符串反转,扔桃子,旋转数组,计算日期|数组排序,病毒区域个数,最长凹谷,进击的程序员
第二阶段|气温预测,折纸小游戏,渡口与船|统计分数的麻烦,最强战队,完美的团建活动|花园浇水,数列操作,消息传递
第三阶段|标签推荐|客户满意度预测|客户购买房屋保险预测
竞赛支持三种编程语言选择,Java、C++、Python允许不同的题目使用不同的语言。
从考察的知识点来看,比赛的第一阶段主要是编程语言的基础题目,涉及一些输入输出、文件操作、数组操作。
第二阶段,主要考察算法知识,模拟赛与预赛题目尚且较为容易,决赛题目的测试集设置难度较大,如果不使用高级算法,将会导致超时超内存等等(然而许多选手依然认为是网络原因造成的超时)。这阶段会涉及到一些图模型和树模型,比如线段树算法,广度(深度)优先搜索算法等等。
第三阶段属于一个数据分析或者机器学习类的题目,题目不算难,不过 python 里只提供 pandas 和 numpy 两个 package,一些本科生或者只会调包的同学在本题会遇到一些麻烦。
# 本队介绍
队名:多啦A梦。
主力队员,[小零件儿](https://github.com/xuyingxiao)、[躺好了](https://github.com/tiaotiaowa)、[YAO](https://github.com/GeneralLi95)以及其他两名队员。所有队员均为研究生学员、没有ACM或其他算法竞赛经历。多数队员接触python不足一年。
起初,预赛和决赛的第一阶段都要求在10:30之前完成,然而比赛当天,由于网络流量猛增,竞赛网站服务器带宽不足,许多人在比赛开始半个小时才看到题目,因此主办方将第一阶段的时间也放宽到了24:00。比赛过程中,主办方不限制评测次数(最终平台评测次数超过30万),同时实时更新排行榜,不过由于在排行榜中可以明显看出有开小号等不正当竞争手段,平台在比赛过程关闭了实时排行。在比赛结束后做了代码审查之后公布了成绩,相对比较公平。
本队三名主力队员分工进行,第一阶段基本上能快速解决,由于专业相关,所以第三阶段也没有遇到太大阻碍,本仓库中的「Doraemon-stage3」文件夹中是本队决赛第三阶段的代码。但是由于都没有算法竞赛的经验,在预赛和决赛的第二阶段后两题都遇到了一些麻烦。决赛第二题一直超时,后来换 C++ 写依然超时,最后查到 leetcode 相似题目,看到可以用线段树做,才做出来。即使如此,预赛第二阶段后两题,决赛第二阶段的最后一题,也没有做出来。最终预赛得分1149.47,第48名,决赛得分1160.84,第9名,总分1159.13,第13名,获得一等奖。
# 总结
总体来说,绿色计算大赛可以认为是一个算法比赛,赛题设置的难度梯度较为合理,有区分度,适合低年级研究生和有算法竞赛经验的本科生参加。由于是第一届,知名度还不是很高,后续随着参赛选手水平的提升,赛题难度可能也会提高。对于课题组来说,适合大四、研一新同学参赛,在参赛的过程中,学习Pyhton语言,熟悉一些算法和机器学习任务,节省进入课题组之后的时间。
| 51.028571 | 274 | 0.846585 | yue_Hant | 0.684444 |
614cfde1f147c35d503c4c773f6aab0b3593bfc4 | 77 | md | Markdown | wlibs/wlibs-generator/todo/Wooey.md | williamhogman/labs | 7ca731945bf6692c08c12406f5c7e790532a37a0 | [
"Apache-2.0"
] | null | null | null | wlibs/wlibs-generator/todo/Wooey.md | williamhogman/labs | 7ca731945bf6692c08c12406f5c7e790532a37a0 | [
"Apache-2.0"
] | null | null | null | wlibs/wlibs-generator/todo/Wooey.md | williamhogman/labs | 7ca731945bf6692c08c12406f5c7e790532a37a0 | [
"Apache-2.0"
] | null | null | null | ---
name: "wooey/Wooey"
homepage: "http://wooey.readthedocs.org"
---
# Wooey
| 12.833333 | 40 | 0.649351 | xho_Latn | 0.297296 |
614d6434e1698528d7ecd488eb7d72dc7379f4de | 4,524 | md | Markdown | go/cars-assemble/README.md | juniorleaoo/exercism | 2f9272e1b207a18ccc19e75e344de5a21c0fb7e3 | [
"MIT"
] | null | null | null | go/cars-assemble/README.md | juniorleaoo/exercism | 2f9272e1b207a18ccc19e75e344de5a21c0fb7e3 | [
"MIT"
] | null | null | null | go/cars-assemble/README.md | juniorleaoo/exercism | 2f9272e1b207a18ccc19e75e344de5a21c0fb7e3 | [
"MIT"
] | null | null | null | # Cars Assemble
Welcome to Cars Assemble on Exercism's Go Track.
If you need help running the tests or submitting your code, check out `HELP.md`.
If you get stuck on the exercise, check out `HINTS.md`, but try and solve it without using those first :)
## Introduction
## Numbers
Go contains basic numeric types that can represent sets of either integer or floating-point values.
There are different types depending on the size of value you require and the architecture of the computer where the application is running (e.g. 32-bit and 64-bit).
For the sake of this exercise you will only be dealing with:
- `int`: e.g. `0`, `255`, `2147483647`. A signed integer that is at least 32 bits in size (value range of: -2147483648 through 2147483647).
But this will depend on the systems architecture.
Most modern computers are 64 bit, therefore `int` will be 64 bits in size (value rate of: -9223372036854775808 through 9223372036854775807).
- `float64`: e.g. `0.0`, `3.14`. Contains the set of all 64-bit floating-point numbers.
- `uint`: e.g. `0`, `255`. An unsigned integer that is the same size as `int` (value range of: 0 through 4294967295 for 32 bits and 0 through 18446744073709551615 for 64 bits)
Numbers can be converted to other numeric types through Type Conversion.
## Arithmetic Operators
Go supports many standard arithmetic operators:
| Operator | Example |
| -------- | -------------- |
| `+` | `4 + 6 == 10` |
| `-` | `15 - 10 == 5` |
| `*` | `2 * 3 == 6` |
| `/` | `13 / 3 == 4` |
| `%` | `13 % 3 == 1` |
For integer division, the remainder is dropped (e.g. `5 / 2 == 2`).
Go has shorthand assignment for the operators above (e.g. `a += 5` is short for `a = a + 5`).
Go also supports the increment and decrement statements `++` and `--` (e.g. `a++`).
## Converting between types
Converting between types is done via a function with the name of the type to convert to.
For example:
```go
var x int = 42 // x has type int
f := float64(x) // f has type float64 (ie. 42.0)
var y float64 = 11.9 // y has type float64
i := int(y) // i has type int (ie. 11)
```
## Arithmetic operations on different types
In many languages you can perform arithmetic operations on different types of variables, but in Go this gives an error.
For example:
```go
var x int = 42
// this line produces an error
value := float32(2.0) * x // invalid operation: mismatched types float32 and int
// you must convert int type to float32 before performing arithmetic operation
value := float32(2.0) * float32(x)
```
## Instructions
In this exercise you'll be writing code to analyze the production in a car factory.
## 1. Calculate the number of working cars produced per hour
The cars are produced on an assembly line.
The assembly line has a certain speed, that can be changed.
The faster the assembly line speed is, the more cars are produced.
However, changing the speed of the assembly line also changes the number of cars that are produced successfully, that is cars without any errors in their production.
Implement a function that takes in the number of cars produced per hour and the success rate and calculates the number of successful cars made per hour. The success rate is given as a percentage, from `0` to `100`:
```go
rate := CalculateWorkingCarsPerHour(1547, 90)
// Output: 1392.3
```
**Note:** the return value should be a `float64`.
## 2. Calculate the number of working cars produced per minute
Implement a function that takes in the number of cars produced per hour and the success rate and calculates how many cars are successfully produced each minute:
```go
rate := CalculateWorkingCarsPerMinute(1105, 90)
// Output: 16
```
**Note:** the return value should be an `int`.
## 3. Calculate the cost of production
Each car normally costs $10,000 to produce individually, regardless of whether it is successful or not.
But with a bit of planning, 10 cars can be produced together for $95,000.
For example, 37 cars can be produced in the following way:
37 = 3 x groups of ten + 7 individual cars
So the cost for 37 cars is:
3\*95,000+7\*10,000=355,000
Implement the function `CalculateCost` that calculates the cost of producing a number of cars, regardless of whether they are successful:
```go
cost := CalculateCost(37)
// Output: 355000
cost = CalculateCost(21)
// Output: 200000
```
**Note:** the return value should be an `uint`.
## Source
### Created by
- @DavyJ0nes
- @kahgoh
### Contributed to by
- @tehsphinx
- @andrerfcsantos | 34.015038 | 214 | 0.712644 | eng_Latn | 0.998596 |
614d73904ec69140ec2d5974ca85ddc470d6c82d | 19 | md | Markdown | README.md | TLipede/judge | 0547cd6b715bf15dc0b96fc0948defa6e4275d83 | [
"MIT"
] | null | null | null | README.md | TLipede/judge | 0547cd6b715bf15dc0b96fc0948defa6e4275d83 | [
"MIT"
] | null | null | null | README.md | TLipede/judge | 0547cd6b715bf15dc0b96fc0948defa6e4275d83 | [
"MIT"
] | null | null | null | # Judge decisions.
| 9.5 | 18 | 0.736842 | eng_Latn | 0.966742 |
614dc12603de2e4565a268902529a5d5a13a54fd | 1,140 | md | Markdown | README.md | boyander/boyander | ac40b85d22d4cd72eb4552e95febf6a0a054e1f1 | [
"MIT"
] | null | null | null | README.md | boyander/boyander | ac40b85d22d4cd72eb4552e95febf6a0a054e1f1 | [
"MIT"
] | null | null | null | README.md | boyander/boyander | ac40b85d22d4cd72eb4552e95febf6a0a054e1f1 | [
"MIT"
] | null | null | null | <a href="https://www.corecode.school/" target="_blank">
<img src="https://api.brandy.run/core/strip-lateral" width="100%" title="corecode.school" alt="corecode.school">
</a>
👋🏻 Hi future developer! Here are our next bootcamp dates **fulltime and part-time**:
| [Cloud Native Web Development](https://www.corecode.school/bootcamp/webdev) | [Big Data & Machine Learning](https://www.corecode.school/bootcamp/big-data-machine-learning) |
| --- | --- |
| <p align="center"><a href="https://www.corecode.school/bootcamp/webdev"><img src="https://api-cabled.app.faable.com/screenshot?url=https://core-brand-cards.app.faable.com/?subtitle=Cloud%20Native%20Web%20Development" width="400"/></a></p> | <p align="center"><a href="https://www.corecode.school/bootcamp/big-data-machine-learning"><img src="https://api-cabled.app.faable.com/screenshot?url=https://core-brand-cards.app.faable.com/?subtitle=Big%2520Data%2520%2526%2520Machine%2520Learning" width="400"/></a></p> |
| <p align="center">Starts on **September 13** 2021<br />Fulltime, in campus</p> | <p align="center">Starts on **September 13** 2021<br />Fulltime, in campus</p> |
| 103.636364 | 515 | 0.712281 | yue_Hant | 0.388994 |
614e0bde36747b7bfc14f38da30869673b017138 | 926 | md | Markdown | README.md | meta-attack-language/meta-attack-language.github.io | 75a76132b78315d719844dc288b15bf53409a48e | [
"Apache-2.0",
"CC-BY-4.0"
] | 1 | 2019-10-10T12:37:14.000Z | 2019-10-10T12:37:14.000Z | README.md | meta-attack-language/meta-attack-language.github.io | 75a76132b78315d719844dc288b15bf53409a48e | [
"Apache-2.0",
"CC-BY-4.0"
] | 8 | 2019-10-10T11:19:50.000Z | 2022-02-28T03:54:58.000Z | README.md | meta-attack-language/meta-attack-language.github.io | 75a76132b78315d719844dc288b15bf53409a48e | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | # mal-lang.github.io
malweb
## License
Copyright © 2020-2022 [Foreseeti AB](https://foreseeti.com)
All files distributed in the malweb project are licensed under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0), except for the following files:
| File | License |
| --- | --- |
| [`helmet.svg`](public/helmet.svg) | <img src="public/helmet.svg" alt="helmet.svg" width="32" height="32"/> This work, "MAL logo", is a derivative of "[Diving Helmet](https://thenounproject.com/term/diving-helmet/2448842/)" icon by [Made x Made Icons](https://thenounproject.com/madexmadeicons/) from [the Noun Project](https://thenounproject.com/), used under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/). "MAL logo" is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) by [Foreseeti AB](https://foreseeti.com). |
See [`LICENSE`](LICENSE) and [`NOTICE`](NOTICE) for details.
| 57.875 | 551 | 0.714903 | eng_Latn | 0.577397 |
614ea50353cf7bfe6e0c837cd363548522e170c7 | 1,465 | md | Markdown | README.md | vradchenko/PowerShell-GetAzPublicContainers | d5a5686f03fec5385e434bf3d654857907de9903 | [
"MIT"
] | null | null | null | README.md | vradchenko/PowerShell-GetAzPublicContainers | d5a5686f03fec5385e434bf3d654857907de9903 | [
"MIT"
] | null | null | null | README.md | vradchenko/PowerShell-GetAzPublicContainers | d5a5686f03fec5385e434bf3d654857907de9903 | [
"MIT"
] | null | null | null | # PowerShell-GetAzPublicContainers
Script to run in your Azure environment to identify public containers.
Script connects to your Azure enviroment, gets all storage accounts from all subscriptions and checks if any containers are public (have access as "Blob" or "Container").
Script uses read-only cmdlets: Connect-AzAccount, Get-AzSubscription, Select-AzSubscription, Get-AzStorageAccount, Get-AzRmStorageContainer.
#### Prerequisites
- Script requires Azure modules (Az.Storage, Az.Accounts). Run `Install-Module Az.Storage, Az.Accounts` as administrator to install them.
- An Azure user account (with default Azure settings non-priviliged user account is ok).
#### Usage
1. Download the script
2. Allow script to run
3. Import function from the script
4. Run the function
```
#Download the script
Invoke-WebRequest -Uri https://raw.githubusercontent.com/vradchenko/PowerShell-GetAzPublicContainers/main/Get-AzPublicContainers.ps1 -OutFile Get-AzPublicContainers.ps1
#Update ExecutionPolicy for this session only to allow script to run
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
#Import function from the script
. .\Get-AzPublicContainers.ps1
#Run the function (and save results to a variable)
$containers = Get-AzPublicContainers
```
#### Output
Array of objects containing the following attributes of a public container:
- AzureSubscription
- StorageAccount
- StorageContainer
- PublicAccess
- LastModifiedTime
| 40.694444 | 170 | 0.794539 | eng_Latn | 0.866782 |
614f0bf1d0ccfc54063d33065c8f3d977f4e9fad | 1,111 | md | Markdown | src/PostgreSql/examples/Get-AzPostgreSqlFirewallRule.md | Aviv-Yaniv/azure-powershell | cd12623240e06f54c74ad820d5c85410e3651c23 | [
"MIT"
] | 1 | 2022-03-30T13:51:37.000Z | 2022-03-30T13:51:37.000Z | src/PostgreSql/examples/Get-AzPostgreSqlFirewallRule.md | Aviv-Yaniv/azure-powershell | cd12623240e06f54c74ad820d5c85410e3651c23 | [
"MIT"
] | 1 | 2022-03-18T21:01:39.000Z | 2022-03-18T21:01:39.000Z | src/PostgreSql/examples/Get-AzPostgreSqlFirewallRule.md | yanfa317/azure-powershell | 8b0e3334fa5b3cac182612a0663a4216af7ded4f | [
"MIT"
] | null | null | null | ### Example 1: Lists all the Firewall Rules in specified PostgreSql server
```powershell
Get-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer
```
```output
Name StartIPAddress EndIPAddress
---- -------------- ------------
rule 0.0.0.0 0.0.0.1
```
This cmdlet lists all the Firewall Rule in specified PostgreSql server.
### Example 2: Get Firewall Rule by name
```powershell
Get-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer
```
```output
Name StartIPAddress EndIPAddress
---- -------------- ------------
rule 0.0.0.0 0.0.0.1
```
This cmdlet gets Firewall Rule by name.
### Example 3: Get Firewall Rule by identity
```powershell
$ID = "/subscriptions/<SubscriptionId>/resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule"
Get-AzPostgreSqlFirewallRule -InputObject $ID
```
```output
Name StartIPAddress EndIPAddress
---- -------------- ------------
rule 0.0.0.0 0.0.0.1
```
This cmdlet gets Firewall Rule by identity. | 28.487179 | 155 | 0.708371 | yue_Hant | 0.669338 |
614fa98cc1c78a9dc2b2765648fbcd7ce8d25c1a | 1,288 | md | Markdown | src/sl/2019-04/11/01.md | PrJared/sabbath-school-lessons | 94a27f5bcba987a11a698e5e0d4279b81a68bc9a | [
"MIT"
] | 68 | 2016-10-30T23:17:56.000Z | 2022-03-27T11:58:16.000Z | src/sl/2019-04/11/01.md | PrJared/sabbath-school-lessons | 94a27f5bcba987a11a698e5e0d4279b81a68bc9a | [
"MIT"
] | 367 | 2016-10-21T03:50:22.000Z | 2022-03-28T23:35:25.000Z | src/sl/2019-04/11/01.md | PrJared/sabbath-school-lessons | 94a27f5bcba987a11a698e5e0d4279b81a68bc9a | [
"MIT"
] | 109 | 2016-08-02T14:32:13.000Z | 2022-03-31T10:18:41.000Z | ---
title: Odpadlo ljudstvo
date: 07/12/2019
---
### Preberi pred proučevanjem
Neh 13,1-9; 5 Mz 23,3-6; Neh 13,10-14; 4 Mz 18,21-24; Neh 13,15-22; Jn 5,5--16
> <p>Ključno besedilo</p>
> Ukazal sem levitom, naj se očistijo in pridejo stražit vrata, da bi se sobotni dan posvečeval. Tudi tega se mi spominjaj, o moj Bog, in prizanesi mi po svoji veliki milosti! Neh 13,22
V času med poglavjema 12 in 13 se Nehemija vrne v Babilon. Ne vemo, koliko časa ga ni bilo, a ko se je vrnil (verjetno okoli leta 430-425 pr. n. št.) so ljudje spet zabredli v greh. Kljub zavezi z Bogom glede tega: da se ne bodo poročali z malikovalci, da bodo skrbno posvečevali soboto in skrbeli za tempelj in njegovo osebje z desetinami in darovi, (Neh 10) so kršili vse te obljube.
Ko se je Nehemija vrnil, so bili zelo površni v predanosti Bogu. Ljudstvo je prenehalo vračati desetine in darove, svetiščne prostore so uporabljali za druge namene, prenehali so pravilno posvečevati soboto in se celo povrnili k sklepanju zakonskih zvez z okoliškimi narodi. Najhuje od vsega pa je bilo, da je prav vodstvo prispevalo k slabljenju odnosa z Bogom. Nič čudnega, da je bil Nehemija obupan, ko je odkril, koliko se je spremenilo. Namesto da bi to sprejel, je njegov značaj znova zahteval, da deluje na slavo Bogu. | 92 | 525 | 0.764752 | slv_Latn | 1 |
614ff04553bd52b6352188b80985ffd4b07f2119 | 1,133 | md | Markdown | desktop-src/medfound/using-the-evr-media-sink.md | velden/win32 | 94b05f07dccf18d4b1dbca13b19fd365a0c7eedc | [
"CC-BY-4.0",
"MIT"
] | 552 | 2019-08-20T00:08:40.000Z | 2022-03-30T18:25:35.000Z | desktop-src/medfound/using-the-evr-media-sink.md | velden/win32 | 94b05f07dccf18d4b1dbca13b19fd365a0c7eedc | [
"CC-BY-4.0",
"MIT"
] | 1,143 | 2019-08-21T20:17:47.000Z | 2022-03-31T20:24:39.000Z | desktop-src/medfound/using-the-evr-media-sink.md | velden/win32 | 94b05f07dccf18d4b1dbca13b19fd365a0c7eedc | [
"CC-BY-4.0",
"MIT"
] | 1,287 | 2019-08-20T05:37:48.000Z | 2022-03-31T20:22:06.000Z | ---
description: Using the EVR Media Sink
ms.assetid: cd98266a-bc62-43da-b4d7-3561447d634f
title: Using the EVR Media Sink
ms.topic: article
ms.date: 05/31/2018
---
# Using the EVR Media Sink
The enhanced video renderer (EVR) media sink can be used as a stand-alone component. More often, however, an application will create the EVR media sink inside a topology, and then use the Media Session to control playback.
There are two ways to create the EVR media sink:
- The [**MFCreateVideoRenderer**](/windows/desktop/api/evr/nc-evr-mfcreatevideorenderer) function creates the media sink.
- The [**MFCreateVideoRendererActivate**](/windows/desktop/api/mfidl/nf-mfidl-mfcreatevideorendereractivate) function creates an activation object for the media sink.
The EVR media sink initially has one stream sink, which corresponds to the reference stream. To add new stream sinks, call [**IMFMediaSink::AddStreamSink**](/windows/desktop/api/mfidl/nf-mfidl-imfmediasink-addstreamsink).
## Related topics
<dl> <dt>
[Enhanced Video Renderer](enhanced-video-renderer.md)
</dt> <dt>
[Media Sinks](media-sinks.md)
</dt> </dl>
| 30.621622 | 222 | 0.76346 | eng_Latn | 0.748912 |
614ff93c8f804230a531d931cef1aee72219c29c | 30,156 | md | Markdown | docs/mfc/reference/cpagerctrl-class.md | ANKerD/cpp-docs.pt-br | 6910dc17c79db2fee3f3616206806c5f466b3f00 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/reference/cpagerctrl-class.md | ANKerD/cpp-docs.pt-br | 6910dc17c79db2fee3f3616206806c5f466b3f00 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/reference/cpagerctrl-class.md | ANKerD/cpp-docs.pt-br | 6910dc17c79db2fee3f3616206806c5f466b3f00 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Classe CPagerCtrl | Microsoft Docs
ms.custom: ''
ms.date: 11/04/2016
ms.technology:
- cpp-mfc
ms.topic: reference
f1_keywords:
- CPagerCtrl
- AFXCMN/CPagerCtrl
- AFXCMN/CPagerCtrl::CPagerCtrl
- AFXCMN/CPagerCtrl::Create
- AFXCMN/CPagerCtrl::CreateEx
- AFXCMN/CPagerCtrl::ForwardMouse
- AFXCMN/CPagerCtrl::GetBkColor
- AFXCMN/CPagerCtrl::GetBorder
- AFXCMN/CPagerCtrl::GetButtonSize
- AFXCMN/CPagerCtrl::GetButtonState
- AFXCMN/CPagerCtrl::GetDropTarget
- AFXCMN/CPagerCtrl::GetScrollPos
- AFXCMN/CPagerCtrl::IsButtonDepressed
- AFXCMN/CPagerCtrl::IsButtonGrayed
- AFXCMN/CPagerCtrl::IsButtonHot
- AFXCMN/CPagerCtrl::IsButtonInvisible
- AFXCMN/CPagerCtrl::IsButtonNormal
- AFXCMN/CPagerCtrl::RecalcSize
- AFXCMN/CPagerCtrl::SetBkColor
- AFXCMN/CPagerCtrl::SetBorder
- AFXCMN/CPagerCtrl::SetButtonSize
- AFXCMN/CPagerCtrl::SetChild
- AFXCMN/CPagerCtrl::SetScrollPos
dev_langs:
- C++
helpviewer_keywords:
- CPagerCtrl [MFC], CPagerCtrl
- CPagerCtrl [MFC], Create
- CPagerCtrl [MFC], CreateEx
- CPagerCtrl [MFC], ForwardMouse
- CPagerCtrl [MFC], GetBkColor
- CPagerCtrl [MFC], GetBorder
- CPagerCtrl [MFC], GetButtonSize
- CPagerCtrl [MFC], GetButtonState
- CPagerCtrl [MFC], GetDropTarget
- CPagerCtrl [MFC], GetScrollPos
- CPagerCtrl [MFC], IsButtonDepressed
- CPagerCtrl [MFC], IsButtonGrayed
- CPagerCtrl [MFC], IsButtonHot
- CPagerCtrl [MFC], IsButtonInvisible
- CPagerCtrl [MFC], IsButtonNormal
- CPagerCtrl [MFC], RecalcSize
- CPagerCtrl [MFC], SetBkColor
- CPagerCtrl [MFC], SetBorder
- CPagerCtrl [MFC], SetButtonSize
- CPagerCtrl [MFC], SetChild
- CPagerCtrl [MFC], SetScrollPos
ms.assetid: 65ac58dd-4f5e-4b7e-b15c-e0d435a7e884
author: mikeblome
ms.author: mblome
ms.workload:
- cplusplus
ms.openlocfilehash: a582d5de7087e433aed839dc2f55db01dd926f22
ms.sourcegitcommit: 799f9b976623a375203ad8b2ad5147bd6a2212f0
ms.translationtype: MT
ms.contentlocale: pt-BR
ms.lasthandoff: 09/19/2018
ms.locfileid: "46447564"
---
# <a name="cpagerctrl-class"></a>Classe CPagerCtrl
O `CPagerCtrl` classe encapsula o controle de paginação do Windows, que pode rolar na exibição de uma janela contida que não se ajusta a janela.
## <a name="syntax"></a>Sintaxe
```
class CPagerCtrl : public CWnd
```
## <a name="members"></a>Membros
### <a name="public-constructors"></a>Construtores Públicos
|Nome|Descrição|
|----------|-----------------|
|[CPagerCtrl::CPagerCtrl](#cpagerctrl)|Constrói um objeto `CPagerCtrl`.|
### <a name="public-methods"></a>Métodos Públicos
|Nome|Descrição|
|----------|-----------------|
|[CPagerCtrl::Create](#create)|Cria um controle de paginação com estilos especificados e a anexa ao atual `CPagerCtrl` objeto.|
|[CPagerCtrl::CreateEx](#createex)|Cria um controle de paginação com estilos estendidos especificados e a anexa ao atual `CPagerCtrl` objeto.|
|[CPagerCtrl::ForwardMouse](#forwardmouse)|Habilita ou desabilita o encaminhamento [WM_MOUSEMOVE](/windows/desktop/inputdev/wm-mousemove) mensagens na janela que está contido no controle de pager atual.|
|[CPagerCtrl::GetBkColor](#getbkcolor)|Recupera a cor de plano de fundo do controle de pager atual.|
|[CPagerCtrl::GetBorder](#getborder)|Recupera o tamanho da borda do controle de pager atual.|
|[CPagerCtrl::GetButtonSize](#getbuttonsize)|Recupera o tamanho do botão do controle de pager atual.|
|[CPagerCtrl::GetButtonState](#getbuttonstate)|Recupera o estado do botão especificado no controle de pager atual.|
|[CPagerCtrl::GetDropTarget](#getdroptarget)|Recupera o [IDropTarget](/windows/desktop/api/oleidl/nn-oleidl-idroptarget) interface para o controle de paginação atual.|
|[CPagerCtrl::GetScrollPos](#getscrollpos)|Recupera a posição de rolagem do controle de pager atual.|
|[CPagerCtrl::IsButtonDepressed](#isbuttondepressed)|Indica se o botão especificado do controle de pager atual está em `pressed` estado.|
|[CPagerCtrl::IsButtonGrayed](#isbuttongrayed)|Indica se o botão especificado do controle de pager atual está em `grayed` estado.|
|[CPagerCtrl::IsButtonHot](#isbuttonhot)|Indica se o botão especificado do controle de pager atual está em `hot` estado.|
|[CPagerCtrl::IsButtonInvisible](#isbuttoninvisible)|Indica se o botão especificado do controle de pager atual está em `invisible` estado.|
|[CPagerCtrl::IsButtonNormal](#isbuttonnormal)|Indica se o botão especificado do controle de pager atual está em `normal` estado.|
|[CPagerCtrl::RecalcSize](#recalcsize)|Faz com que o controle de paginação atual recalcular o tamanho da janela contida.|
|[CPagerCtrl::SetBkColor](#setbkcolor)|Define a cor do plano de fundo do controle de pager atual.|
|[CPagerCtrl::SetBorder](#setborder)|Define o tamanho da borda do controle de pager atual.|
|[CPagerCtrl::SetButtonSize](#setbuttonsize)|Define o tamanho do botão do controle de pager atual.|
|[CPagerCtrl::SetChild](#setchild)|Define a janela independente para o controle de paginação atual.|
|[CPagerCtrl::SetScrollPos](#setscrollpos)|Define a posição de rolagem do controle de pager atual.|
## <a name="remarks"></a>Comentários
Um controle de paginação é uma janela que contém outra janela que é maior do que a janela que contém e linear e permite que você rolar a janela contida na exibição. O controle de paginação exibe dois botões de rolagem que desaparecem automaticamente quando a janela contida é rolada até seu ponto mais distante e reaparecer caso contrário. Você pode criar um controle de paginação que rola horizontalmente ou verticalmente.
Por exemplo, se seu aplicativo tiver uma barra de ferramentas que não é grande o suficiente para mostrar todos os seus itens, você pode atribuir a barra de ferramentas a um controle de paginação e os usuários poderão rolar a barra de ferramentas para a esquerda ou direita para acessar todos os itens. Microsoft Internet Explorer versão 4.0 (Commctrl versão 4.71) introduz o controle de paginação.
O `CPagerCtrl` classe é derivada de [CWnd](../../mfc/reference/cwnd-class.md) classe. Para obter mais informações e uma ilustração de um controle de paginação, consulte [controles de paginação](/windows/desktop/Controls/pager-controls).
## <a name="inheritance-hierarchy"></a>Hierarquia de herança
[CObject](../../mfc/reference/cobject-class.md)
[CCmdTarget](../../mfc/reference/ccmdtarget-class.md)
[CWnd](../../mfc/reference/cwnd-class.md)
`CPagerCtrl`
## <a name="requirements"></a>Requisitos
**Cabeçalho:** afxcmn. h
## <a name="cpagerctrl"></a> CPagerCtrl::CPagerCtrl
Constrói um objeto `CPagerCtrl`.
```
CPagerCtrl();
```
### <a name="remarks"></a>Comentários
Use o [CPagerCtrl::Create](#create) ou [CPagerCtrl::CreateEx](#createex) método para criar um controle de paginação e anexá-lo para o `CPagerCtrl` objeto.
## <a name="create"></a> CPagerCtrl::Create
Cria um controle de paginação com estilos especificados e a anexa ao atual `CPagerCtrl` objeto.
```
virtual BOOL Create(
DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd,
UINT nID);
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*dwStyle*|[in] Uma combinação bit a bit (OR) de [estilos da janela](../../mfc/reference/styles-used-by-mfc.md#window-styles) e [estilos de controle de pager](/windows/desktop/Controls/pager-control-styles) a ser aplicado ao controle.|
|*Rect*|[in] Uma referência a um [RECT](https://msdn.microsoft.com/library/windows/desktop/dd162897) estrutura que contém a posição e tamanho do controle em coordenadas de cliente.|
|*pParentWnd*|[in] Um ponteiro para um [CWnd](../../mfc/reference/cwnd-class.md) objeto que é a janela pai do controle. Esse parâmetro não pode ser NULL.|
|*nID*|[in] A ID do controle.|
### <a name="return-value"></a>Valor de retorno
TRUE se esse método for bem-sucedida; Caso contrário, FALSE.
### <a name="remarks"></a>Comentários
Para criar um controle de paginação, declare uma `CPagerCtrl` variável, em seguida, chamar o [CPagerCtrl::Create](#create) ou [CPagerCtrl::CreateEx](#createex) método nessa variável.
### <a name="example"></a>Exemplo
O exemplo a seguir cria um controle de paginação, em seguida, usa o [CPagerCtrl::SetChild](#setchild) método para associar um controle de botão muito com o controle de paginação. O exemplo usa o [CPagerCtrl::SetButtonSize](#setbuttonsize) método para definir a altura do controle de pager a 20 pixels e o [CPagerCtrl::SetBorder](#setborder) método para definir a espessura da borda de 1 pixel.
[!code-cpp[NVC_MFC_CSplitButton_s2#1](../../mfc/reference/codesnippet/cpp/cpagerctrl-class_1.cpp)]
## <a name="createex"></a> CPagerCtrl::CreateEx
Cria um controle de paginação com estilos estendidos especificados e a anexa ao atual `CPagerCtrl` objeto.
```
virtual BOOL CreateEx(
DWORD dwExStyle,
DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd,
UINT nID);
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*dwExStyle*|[in] Uma combinação bit a bit dos estilos estendidos para ser aplicado ao controle. Para obter mais informações, consulte o *dwExStyle* parâmetro do [CreateWindowEx](/windows/desktop/api/winuser/nf-winuser-createwindowexa) função.|
|*dwStyle*|[in] Uma combinação bit a bit (OR) de [estilos da janela](../../mfc/reference/styles-used-by-mfc.md#window-styles) e [estilos de controle de pager](/windows/desktop/Controls/pager-control-styles) a ser aplicado ao controle.|
|*Rect*|[in] Uma referência a um [RECT](https://msdn.microsoft.com/library/windows/desktop/dd162897) estrutura que contém a posição e tamanho do controle em coordenadas de cliente.|
|*pParentWnd*|[in] Um ponteiro para um [CWnd](../../mfc/reference/cwnd-class.md) objeto que é a janela pai do controle. Esse parâmetro não pode ser NULL.|
|*nID*|[in] A ID do controle.|
### <a name="return-value"></a>Valor de retorno
TRUE se esse método for bem-sucedida; Caso contrário, FALSE.
### <a name="remarks"></a>Comentários
Para criar um controle de paginação, declare uma `CPagerCtrl` variável, em seguida, chamar o [CPagerCtrl::Create](#create) ou [CPagerCtrl::CreateEx](#createex) método nessa variável.
## <a name="forwardmouse"></a> CPagerCtrl::ForwardMouse
Habilita ou desabilita o encaminhamento [WM_MOUSEMOVE](/windows/desktop/inputdev/wm-mousemove) mensagens na janela que está contido no controle de pager atual.
```
void ForwardMouse(BOOL bForward);
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*bForward*|[in] True para mensagens de mouse de encaminhamento, ou falso para não encaminhar mensagens do mouse.|
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_FORWARDMOUSE](/windows/desktop/Controls/pgm-forwardmouse) mensagem, que é descrita no SDK do Windows.
## <a name="getborder"></a> CPagerCtrl::GetBorder
Recupera o tamanho da borda do controle de pager atual.
```
int GetBorder() const;
```
### <a name="return-value"></a>Valor de retorno
O tamanho atual da borda, medida em pixels.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_GETBORDER](/windows/desktop/Controls/pgm-getborder) mensagem, que é descrita no SDK do Windows.
### <a name="example"></a>Exemplo
O exemplo a seguir usa o [CPagerCtrl::GetBorder](#getborder) método para recuperar a espessura da borda do controle de pager.
[!code-cpp[NVC_MFC_CSplitButton_s2#5](../../mfc/reference/codesnippet/cpp/cpagerctrl-class_2.cpp)]
## <a name="getbkcolor"></a> CPagerCtrl::GetBkColor
Recupera a cor de plano de fundo do controle de pager atual.
```
COLORREF GetBkColor() const;
```
### <a name="return-value"></a>Valor de retorno
Um [COLORREF](/windows/desktop/gdi/colorref) valor que contém a cor de plano de fundo atual de controle de paginação.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_GETBKCOLOR](/windows/desktop/Controls/pgm-getbkcolor) mensagem, que é descrita no SDK do Windows.
### <a name="example"></a>Exemplo
O exemplo a seguir usa o [CPagerCtrl::SetBkColor](#setbkcolor) método para definir a cor de plano de fundo do controle de pager para vermelho e o [CPagerCtrl::GetBkColor](#getbkcolor) método para confirmar que a alteração foi feita.
[!code-cpp[NVC_MFC_CSplitButton_s2#4](../../mfc/reference/codesnippet/cpp/cpagerctrl-class_3.cpp)]
## <a name="getbuttonsize"></a> CPagerCtrl::GetButtonSize
Recupera o tamanho do botão do controle de pager atual.
```
int GetButtonSize() const;
```
### <a name="return-value"></a>Valor de retorno
O tamanho atual do botão, medida em pixels.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_GETBUTTONSIZE](/windows/desktop/Controls/pgm-getbuttonsize) mensagem, que é descrita no SDK do Windows.
Se o controle de paginação tem o estilo PGS_HORZ, o tamanho do botão determina a largura dos botões de paginação, e se o controle de paginação tem o estilo PGS_VERT, o tamanho do botão determina a altura dos botões de paginação. Para obter mais informações, consulte [estilos de controle de Pager](/windows/desktop/Controls/pager-control-styles).
## <a name="getbuttonstate"></a> CPagerCtrl::GetButtonState
Recupera o estado do botão de rolagem especificado no controle de pager atual.
```
DWORD GetButtonState(int iButton) const;
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*iButton*|[in] Indica o botão para o qual o estado é recuperado. Se o estilo de controle de pager for PGS_HORZ, especifique PGB_TOPORLEFT para o botão esquerdo e PGB_BOTTOMORRIGHT para o botão direito. Se o estilo de controle de pager for PGS_VERT, especifique PGB_TOPORLEFT para o botão superior e PGB_BOTTOMORRIGHT do botão inferior. Para obter mais informações, consulte [estilos de controle de Pager](/windows/desktop/Controls/pager-control-styles).|
### <a name="return-value"></a>Valor de retorno
O estado do botão especificado pelo *iButton* parâmetro. O estado é PGF_INVISIBLE, PGF_NORMAL, PGF_GRAYED, PGF_DEPRESSED ou PGF_HOT. Para obter mais informações, consulte a seção valor retornar os [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem, que é descrita no SDK do Windows.
## <a name="getdroptarget"></a> CPagerCtrl::GetDropTarget
Recupera o [IDropTarget](/windows/desktop/api/oleidl/nn-oleidl-idroptarget) interface para o controle de paginação atual.
```
IDropTarget* GetDropTarget() const;
```
### <a name="return-value"></a>Valor de retorno
Um ponteiro para o `IDropTarget` interface para o controle de paginação atual.
### <a name="remarks"></a>Comentários
`IDropTarget` é uma das interfaces de implementar para dar suporte a operações de arrastar e soltar em seu aplicativo.
Esse método envia o [PGM_GETDROPTARGET](/windows/desktop/Controls/pgm-getdroptarget) mensagem, que é descrita no SDK do Windows. O chamador desse método é responsável por chamar o `Release` membro a [IDropTarget](/windows/desktop/api/oleidl/nn-oleidl-idroptarget) interface quando a interface não é mais necessário.
## <a name="getscrollpos"></a> CPagerCtrl::GetScrollPos
Recupera a posição de rolagem do controle de pager atual.
```
int GetScrollPos() const;
```
### <a name="return-value"></a>Valor de retorno
A atual posição de rolagem, medida em pixels.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_GETPOS](/windows/desktop/Controls/pgm-getpos) mensagem, que é descrita no SDK do Windows.
### <a name="example"></a>Exemplo
O exemplo a seguir usa o [CPagerCtrl::GetScrollPos](#getscrollpos) método para recuperar a posição de rolagem atual de controle de paginação. Se o controle de paginação já não é rolado para zero, a posição mais à esquerda, o exemplo usa o [CPagerCtrl::SetScrollPos](#setscrollpos) método para definir a posição de rolagem como zero.
[!code-cpp[NVC_MFC_CSplitButton_s2#7](../../mfc/reference/codesnippet/cpp/cpagerctrl-class_4.cpp)]
## <a name="isbuttondepressed"></a> CPagerCtrl::IsButtonDepressed
Indica se o botão de rolagem especificado do controle de pager atual está no estado pressionado.
```
BOOL IsButtonDepressed(int iButton) const;
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*iButton*|[in] Indica o botão para o qual o estado é recuperado. Se o estilo de controle de pager for PGS_HORZ, especifique PGB_TOPORLEFT para o botão esquerdo e PGB_BOTTOMORRIGHT para o botão direito. Se o estilo de controle de pager for PGS_VERT, especifique PGB_TOPORLEFT para o botão superior e PGB_BOTTOMORRIGHT do botão inferior. Para obter mais informações, consulte [estilos de controle de Pager](/windows/desktop/Controls/pager-control-styles).|
### <a name="return-value"></a>Valor de retorno
TRUE se o botão especificado estiver no estado pressionado; Caso contrário, FALSE.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem, que é descrita no SDK do Windows. Ele, em seguida, testa se o estado que é retornado é PGF_DEPRESSED. Para obter mais informações, consulte a seção valor retornar os [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem.
## <a name="isbuttongrayed"></a> CPagerCtrl::IsButtonGrayed
Indica se o botão de rolagem especificado do controle de pager atual está no estado cinza.
```
BOOL IsButtonGrayed(int iButton) const;
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*iButton*|[in] Indica o botão para o qual o estado é recuperado. Se o estilo de controle de pager for PGS_HORZ, especifique PGB_TOPORLEFT para o botão esquerdo e PGB_BOTTOMORRIGHT para o botão direito. Se o estilo de controle de pager for PGS_VERT, especifique PGB_TOPORLEFT para o botão superior e PGB_BOTTOMORRIGHT do botão inferior. Para obter mais informações, consulte [estilos de controle de Pager](/windows/desktop/Controls/pager-control-styles).|
### <a name="return-value"></a>Valor de retorno
TRUE se o botão especificado estiver no estado cinza; Caso contrário, FALSE.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem, que é descrita no SDK do Windows. Ele, em seguida, testa se o estado que é retornado é PGF_GRAYED. Para obter mais informações, consulte a seção valor retornar os [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem.
## <a name="isbuttonhot"></a> CPagerCtrl::IsButtonHot
Indica se o botão de rolagem especificado do controle de pager atual está no estado ativo.
```
BOOL IsButtonHot(int iButton) const;
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*iButton*|[in] Indica o botão para o qual o estado é recuperado. Se o estilo de controle de pager for PGS_HORZ, especifique PGB_TOPORLEFT para o botão esquerdo e PGB_BOTTOMORRIGHT para o botão direito. Se o estilo de controle de pager for PGS_VERT, especifique PGB_TOPORLEFT para o botão superior e PGB_BOTTOMORRIGHT do botão inferior. Para obter mais informações, consulte [estilos de controle de Pager](/windows/desktop/Controls/pager-control-styles).|
### <a name="return-value"></a>Valor de retorno
TRUE se o botão especificado está no estado ativo; Caso contrário, FALSE.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem, que é descrita no SDK do Windows. Ele, em seguida, testa se o estado que é retornado é PGF_HOT. Para obter mais informações, consulte a seção valor retornar os [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem.
## <a name="isbuttoninvisible"></a> CPagerCtrl::IsButtonInvisible
Indica se o botão de rolagem especificado do controle de pager atual está no estado invisível.
```
BOOL IsButtonInvisible(int iButton) const;
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*iButton*|[in] Indica o botão para o qual o estado é recuperado. Se o estilo de controle de pager for PGS_HORZ, especifique PGB_TOPORLEFT para o botão esquerdo e PGB_BOTTOMORRIGHT para o botão direito. Se o estilo de controle de pager for PGS_VERT, especifique PGB_TOPORLEFT para o botão superior e PGB_BOTTOMORRIGHT do botão inferior. Para obter mais informações, consulte [estilos de controle de Pager](/windows/desktop/Controls/pager-control-styles).|
### <a name="return-value"></a>Valor de retorno
TRUE se o botão especificado estiver no estado invisível; Caso contrário, FALSE.
### <a name="remarks"></a>Comentários
Windows faz com que o botão de rolagem em uma direção específica invisível quando a janela contida é rolada para sua extensão mais distante, porque mais de janela contida clicando no botão ainda mais, não é possível colocar em modo de exibição.
Esse método envia o [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem, que é descrita no SDK do Windows. Ele, em seguida, testa se o estado que é retornado é PGF_INVISIBLE. Para obter mais informações, consulte a seção valor retornar os [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem.
### <a name="example"></a>Exemplo
O exemplo a seguir usa o [CPagerCtrl::IsButtonInvisible](#isbuttoninvisible) método para determinar se a esquerda do controle de paginação e botões de rolagem à direita são visíveis.
[!code-cpp[NVC_MFC_CSplitButton_s2#6](../../mfc/reference/codesnippet/cpp/cpagerctrl-class_5.cpp)]
## <a name="isbuttonnormal"></a> CPagerCtrl::IsButtonNormal
Indica se o botão de rolagem especificado do controle de pager atual está no estado normal.
```
BOOL IsButtonNormal(int iButton) const;
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*iButton*|[in] Indica o botão para o qual o estado é recuperado. Se o estilo de controle de pager for PGS_HORZ, especifique PGB_TOPORLEFT para o botão esquerdo e PGB_BOTTOMORRIGHT para o botão direito. Se o estilo de controle de pager for PGS_VERT, especifique PGB_TOPORLEFT para o botão superior e PGB_BOTTOMORRIGHT do botão inferior. Para obter mais informações, consulte [estilos de controle de Pager](/windows/desktop/Controls/pager-control-styles).|
### <a name="return-value"></a>Valor de retorno
TRUE se o botão especificado estiver no estado normal; Caso contrário, FALSE.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem, que é descrita no SDK do Windows. Ele, em seguida, testa se o estado que é retornado é PGF_NORMAL. Para obter mais informações, consulte a seção valor retornar os [PGM_GETBUTTONSTATE](/windows/desktop/Controls/pgm-getbuttonstate) mensagem.
## <a name="recalcsize"></a> CPagerCtrl::RecalcSize
Faz com que o controle de paginação atual recalcular o tamanho da janela contida.
```
void RecalcSize();
```
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_RECALCSIZE](/windows/desktop/Controls/pgm-recalcsize) mensagem, que é descrita no SDK do Windows. Consequentemente, o controle de pager envia o [PGN_CALCSIZE](/windows/desktop/Controls/pgn-calcsize) notificação para obter as dimensões com rolagem da janela contida.
### <a name="example"></a>Exemplo
O exemplo a seguir usa o [CPagerCtrl::RecalcSize](#recalcsize) método para solicitar o controle de paginação atual a recalcular seu tamanho.
[!code-cpp[NVC_MFC_CSplitButton_s2#3](../../mfc/reference/codesnippet/cpp/cpagerctrl-class_6.cpp)]
### <a name="example"></a>Exemplo
O exemplo a seguir usa [reflexão de mensagem](../../mfc/tn062-message-reflection-for-windows-controls.md) para habilitar o controle de pager recalcular o seu próprio tamanho, em vez de exigir que a caixa de diálogo do controle pai para executar o cálculo. Deriva o exemplo a `MyPagerCtrl` classe do [classe CPagerCtrl](../../mfc/reference/cpagerctrl-class.md), em seguida, usa um mapa de mensagem para associar o [PGN_CALCSIZE](/windows/desktop/Controls/pgn-calcsize) notificação com o `OnCalcsize` manipulador de notificação. Neste exemplo, o manipulador de notificação define a largura e altura do controle de pager para valores fixos.
[!code-cpp[NVC_MFC_CSplitButton_s2#8](../../mfc/reference/codesnippet/cpp/cpagerctrl-class_7.cpp)]
## <a name="setbkcolor"></a> CPagerCtrl::SetBkColor
Define a cor do plano de fundo do controle de pager atual.
```
COLORREF SetBkColor(COLORREF clrBk);
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*clrBk*|[in] Um [COLORREF](/windows/desktop/gdi/colorref) valor que contém a nova cor de plano de fundo do controle de pager.|
### <a name="return-value"></a>Valor de retorno
Um [COLORREF](/windows/desktop/gdi/colorref) valor que contém a cor anterior da tela de fundo de controle de paginação.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_SETBKCOLOR](/windows/desktop/Controls/pgm-setbkcolor) mensagem, que é descrita no SDK do Windows.
### <a name="example"></a>Exemplo
O exemplo a seguir usa o [CPagerCtrl::SetBkColor](#setbkcolor) método para definir a cor de plano de fundo do controle de pager para vermelho e o [CPagerCtrl::GetBkColor](#getbkcolor) método para confirmar que a alteração foi feita.
[!code-cpp[NVC_MFC_CSplitButton_s2#4](../../mfc/reference/codesnippet/cpp/cpagerctrl-class_3.cpp)]
## <a name="setborder"></a> CPagerCtrl::SetBorder
Define o tamanho da borda do controle de pager atual.
```
int SetBorder(int iBorder);
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*iBorder*|[in] O novo tamanho de borda, medida em pixels. Se o *iBorder* parâmetro for negativo, o tamanho da borda é definido como zero.|
### <a name="return-value"></a>Valor de retorno
O tamanho anterior da borda, medida em pixels.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_SETBORDER](/windows/desktop/Controls/pgm-setborder) mensagem, que é descrita no SDK do Windows.
### <a name="example"></a>Exemplo
O exemplo a seguir cria um controle de paginação, em seguida, usa o [CPagerCtrl::SetChild](#setchild) método para associar um controle de botão muito com o controle de paginação. O exemplo usa o [CPagerCtrl::SetButtonSize](#setbuttonsize) método para definir a altura do controle de pager a 20 pixels e o [CPagerCtrl::SetBorder](#setborder) método para definir a espessura da borda de 1 pixel.
[!code-cpp[NVC_MFC_CSplitButton_s2#1](../../mfc/reference/codesnippet/cpp/cpagerctrl-class_1.cpp)]
## <a name="setbuttonsize"></a> CPagerCtrl::SetButtonSize
Define o tamanho do botão do controle de pager atual.
```
int SetButtonSize(int iButtonSize);
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*iButtonSize*|[in] O novo tamanho do botão, medida em pixels.|
### <a name="return-value"></a>Valor de retorno
O tamanho anterior do botão, medida em pixels.
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_SETBUTTONSIZE](/windows/desktop/Controls/pgm-setpos) mensagem, que é descrita no SDK do Windows.
Se o controle de paginação tem o estilo PGS_HORZ, o tamanho do botão determina a largura dos botões de paginação, e se o controle de paginação tem o estilo PGS_VERT, o tamanho do botão determina a altura dos botões de paginação. O tamanho do botão padrão é três-quartos da largura da barra de rolagem e o tamanho mínimo do botão é de 12 pixels. Para obter mais informações, consulte [estilos de controle de Pager](/windows/desktop/Controls/pager-control-styles).
### <a name="example"></a>Exemplo
O exemplo a seguir cria um controle de paginação, em seguida, usa o [CPagerCtrl::SetChild](#setchild) método para associar um controle de botão muito com o controle de paginação. O exemplo usa o [CPagerCtrl::SetButtonSize](#setbuttonsize) método para definir a altura do controle de pager a 20 pixels e o [CPagerCtrl::SetBorder](#setborder) método para definir a espessura da borda de 1 pixel.
[!code-cpp[NVC_MFC_CSplitButton_s2#1](../../mfc/reference/codesnippet/cpp/cpagerctrl-class_1.cpp)]
## <a name="setchild"></a> CPagerCtrl::SetChild
Define a janela independente para o controle de paginação atual.
```
void SetChild(HWND hwndChild);
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*hwndChild*|[in] Identificador da janela a ser contido.|
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_SETCHILD](/windows/desktop/Controls/pgm-setchild) mensagem, que é descrita no SDK do Windows.
Esse método não altera o pai da janela contida; Ele apenas atribui um identificador de janela para o controle de paginação para rolagem. Na maioria dos casos, a janela contida será uma janela filho do controle de pager.
### <a name="example"></a>Exemplo
O exemplo a seguir cria um controle de paginação, em seguida, usa o [CPagerCtrl::SetChild](#setchild) método para associar um controle de botão muito com o controle de paginação. O exemplo usa o [CPagerCtrl::SetButtonSize](#setbuttonsize) método para definir a altura do controle de pager a 20 pixels e o [CPagerCtrl::SetBorder](#setborder) método para definir a espessura da borda de 1 pixel.
[!code-cpp[NVC_MFC_CSplitButton_s2#1](../../mfc/reference/codesnippet/cpp/cpagerctrl-class_1.cpp)]
## <a name="setscrollpos"></a> CPagerCtrl::SetScrollPos
Define a posição de rolagem do controle de pager atual.
```
void SetScrollPos(int iPos);
```
### <a name="parameters"></a>Parâmetros
|Parâmetro|Descrição|
|---------------|-----------------|
|*iPos*|[in] A nova posição de rolagem, medida em pixels.|
### <a name="remarks"></a>Comentários
Esse método envia o [PGM_SETPOS](/windows/desktop/Controls/pgm-setpos) mensagem, que é descrita no SDK do Windows.
## <a name="see-also"></a>Consulte também
[Classe CPagerCtrl](../../mfc/reference/cpagerctrl-class.md)<br/>
[Gráfico da hierarquia](../../mfc/hierarchy-chart.md)<br/>
[Controles de paginação](/windows/desktop/Controls/pager-controls)
| 47.63981 | 637 | 0.750365 | por_Latn | 0.98425 |
614ffb9f289bea19071501866be493a484cc910c | 1,462 | md | Markdown | README.md | ferki/black-hole-solitaire | f4192671dff39e9e70fe13fdf9bd38ffaabb3881 | [
"MIT"
] | 7 | 2018-09-08T23:27:37.000Z | 2020-01-30T19:55:52.000Z | README.md | ferki/black-hole-solitaire | f4192671dff39e9e70fe13fdf9bd38ffaabb3881 | [
"MIT"
] | 4 | 2019-01-14T09:20:53.000Z | 2020-02-28T18:53:22.000Z | README.md | ferki/black-hole-solitaire | f4192671dff39e9e70fe13fdf9bd38ffaabb3881 | [
"MIT"
] | 3 | 2020-02-28T18:23:46.000Z | 2020-08-21T08:06:58.000Z | # Black Hole Solitaire Solver
[Black Hole Solitaire Solver](http://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/)
is an automated solver for the card Solitaire games [“Golf”](https://en.wikipedia.org/wiki/Golf_%28patience%29), [“Black Hole”](http://en.wikipedia.org/wiki/Black_Hole_%28solitaire%29),
and [“All in a Row”](http://en.wikipedia.org/wiki/All_in_a_Row_%28Solitaire%29) .
[](https://travis-ci.org/shlomif/black-hole-solitaire) [](https://ci.appveyor.com/project/shlomif/black-hole-solitaire)
## Screenshots

### Videos
[Solving Black Hole in PySolFC](https://www.youtube.com/watch?v=t_cuDHj5V2k&feature=youtu.be)
## Guide to the code
The interesting code in C is under the black-hole-solitaire/c-solver/
directory and there's also some older code in Perl under
black-hole-solitaire/Games-Solitaire-BlackHole-Solver/ .
Some related links:
* [Freecell Solver](http://fc-solve.shlomifish.org/) - a solver for Freecell
and related solitaire games.
* [Other patience solvers](http://fc-solve.shlomifish.org/links.html#other_solvers)
## CI Build+Tests
* https://travis-ci.org/shlomif/black-hole-solitaire
* https://ci.appveyor.com/project/shlomif/black-hole-solitaire
| 44.30303 | 299 | 0.766074 | yue_Hant | 0.268344 |
61534430cd1d399ec3cb575d1d628b3df08fc793 | 590 | md | Markdown | doc/models/search-orders-customer-filter.md | jhunschejones/square-ruby-sdk | ff3e7a526a3664ddc3f8feae65279ed8e923c1a9 | [
"Apache-2.0"
] | 65 | 2019-06-24T18:20:02.000Z | 2022-01-31T01:50:58.000Z | doc/models/search-orders-customer-filter.md | mattbooks/square-ruby-sdk | 5a462f016a242c27ddf4b40a7c7709ba70fca9e6 | [
"Apache-2.0"
] | 18 | 2019-07-22T08:59:33.000Z | 2022-03-25T11:06:04.000Z | doc/models/search-orders-customer-filter.md | mattbooks/square-ruby-sdk | 5a462f016a242c27ddf4b40a7c7709ba70fca9e6 | [
"Apache-2.0"
] | 32 | 2019-07-01T10:33:15.000Z | 2022-02-17T19:48:28.000Z |
# Search Orders Customer Filter
A filter based on the order `customer_id` and any tender `customer_id`
associated with the order. It does not filter based on the
[FulfillmentRecipient](/doc/models/order-fulfillment-recipient.md) `customer_id`.
## Structure
`Search Orders Customer Filter`
## Fields
| Name | Type | Tags | Description |
| --- | --- | --- | --- |
| `customer_ids` | `Array<String>` | Optional | A list of customer IDs to filter by.<br><br>Max: 10 customer IDs. |
## Example (as JSON)
```json
{
"customer_ids": [
"customer_ids1",
"customer_ids2"
]
}
```
| 20.344828 | 115 | 0.667797 | eng_Latn | 0.836919 |
61536a0ee6de331458e2a3c151c9fa1898800778 | 5,196 | md | Markdown | README.md | TonyTangAndroid/Either | 3888f4ad2a1f58c715f181ecfeb11369a92f4efb | [
"MIT"
] | null | null | null | README.md | TonyTangAndroid/Either | 3888f4ad2a1f58c715f181ecfeb11369a92f4efb | [
"MIT"
] | null | null | null | README.md | TonyTangAndroid/Either | 3888f4ad2a1f58c715f181ecfeb11369a92f4efb | [
"MIT"
] | null | null | null | Either.java
===========

A right-biased implementation of Haskell's `Either a b` for Java, using Java 8 for mapping/folding and type inference.
An `Either<A,B>` is used to "condense" two distinct options down to a single choice.
"Right-biased" means that, like Haskell's `Either a b`, when an `Either<A, B>` has both options available, it prefers
the one on the "right" (that is, `B`). The mnemonic often used in Haskell to remember/explain this "bias" is that an
Either (usually used for error-checking), gives you *either* the *right* answer, or else whatever's *left*.
Wait, what?
------------
Yes, polymorphism is great in Java. `Animal.speak()`, `Dog.speak()`, `Cat.speak()`, and so on.
But sometimes you want to be REALLY EXPLICIT about the possible types of objects you're dealing with, either (ha ha)
because they don't logically make sense in the same inheritance structure or because you want to limit your
possible cases to exactly two classes.
For example, let's say I'm dealing with my code and some third-party library that still uses `java.util.Date` (a class
that has been largely deprecated since JDK 1.1, and is almost always a strictly-worse choice than using either the newer
`java.time` apis, or Joda Time) .
Terrible, I know, but there's always *horrible legacy code* out there in the world.
I don't want to further propagate this old usage of a terrible deprecated class, so I, a Modern Java Developer, prefer
to use `java.time.LocalDateTime` in my code.
Except great, now I've gotta deal with grabbing a `List<LocalDateTime>` from *these* and a `List<Date>` from *those* and
then do a bunch of gnarly conversion everywhere.
Using `Either.java`, I can instead easily build a `List<Either<Date,LocalDatetime>>`. This tells me (and the compiler)
that I'm dealing with a bunch of things that are *either* a Date (yuck) or a LocalDateTime.
I can even nicely convert them all into LocalDateTimes:
```java
List<Either<Date, LocalDateTime>> birthdays = allThePeople.stream()
.map(person -> Either.<Date,LocalDateTime>either(this::getDeprecatedDOBFromPerson, this::getNiceNewDOBFromPersonIfAvailable)
.collect(Collectors.toList());
List<LocalDateTime> convertedBirthdays = birthdays.stream()
.map(eitherDateOrLocalDateTime.fold(
(Date deprecatedDOB) -> myFunctionToConvertDateToLocalDateTime(deprecatedDOB),
(LocalDatetime newDOB) -> newDOB
)).collect(Collectors.toList());
```
Boom. Now you have a list of LocalDateTimes, and it's explicit from the code that some of the people had deprecated
Dates, while others had nice, shiny new LocalDateTimes. Even the compiler can tell!
Other common use-cases for an `Either` include capturing and handling errors gracefully using
`Either<SomeKindOfException, SuccessfulResultClass>`. As mentioned earlier, the convention in the Haskell world (from
which I totally "borrowed" the Either) is that an Either gives you "either the Right answer or whatever's Left" -- that
is, errors on the left, expected output on the right.
For this reason, this Either is right-biased; if you give it `Either.either(()->42, ()->"Hello, World!");`, you'll get a
`Right` containing `"Hello, World!"`, not a `Left` containing `42`. I swear, it's not a political thing; there just
needs to be a predictable rule-of-thumb for how to handle it when the Either gets *both* a left value *and* a right
value (after all, it's called an *Either*, not a *Both*).
`Result`
------
Because this errors-to-the-left, results-to-the-right idiom is so common, this library also includes a `Result<T>` class,
which instead of being `Left<L,R>` or `Right<L,R>` is `Err<T>` or `Ok<T>`. Instead of `Either.either(() -> "left", () -> 42)`,
the constructor method you'll want is `Result.attempt(() -> someMethodThatMightThrowAnException())`. You can even chain
a series of possibly-failing functions using `map`:
```java
Result<C> = Result.attempt(() -> someOperationThatMightFailOrReturnA())
.map(a -> someOtherOperationThatMightFailOReturnB(a))
.map(b -> someThirdOperationThatMightFailOrReturnC(b));
```
So what else can it do?
-----------------------
Wanna see more? Check out the unit tests for a run-down of how Eithers behave. If those tests aren't descriptive enough,
or you think they should behave differently, open a Github issue! I built this because it didn't look like anyone else
had built it for Java yet, and I may have lost something in the translation. I'm totally open for feedback.
Cool! How do I get it for my project?
-------------------------------------
Simple! It's in Maven Central, so just add this to your pomfile (or the equivalent for gradle/sbt/lein/whatever):
```
<dependency>
<groupId>com.spencerwi</groupId>
<artifactId>Either.java</artifactId>
<version>2.7.0</version>
</dependency>
```
| 50.941176 | 182 | 0.698614 | eng_Latn | 0.994025 |
6153d36f1694830ca5ec650cec2cab4ceaf69932 | 28 | md | Markdown | README.md | mclapham/insectSizeApp | a494e77fe368e86e5bd6aab1a892e82f1dc04112 | [
"CC0-1.0"
] | null | null | null | README.md | mclapham/insectSizeApp | a494e77fe368e86e5bd6aab1a892e82f1dc04112 | [
"CC0-1.0"
] | null | null | null | README.md | mclapham/insectSizeApp | a494e77fe368e86e5bd6aab1a892e82f1dc04112 | [
"CC0-1.0"
] | null | null | null | insectSizeApp
=============
| 9.333333 | 13 | 0.464286 | oci_Latn | 0.752318 |
61549f76e7841a90dbe54a4f3b6e2aa879bebf20 | 3,643 | md | Markdown | content/blog/HEALTH/9/e/3702f99501ca8fb901c4ce40f14819e8.md | arpecop/big-content | 13c88706b1c13a7415194d5959c913c4d52b96d3 | [
"MIT"
] | 1 | 2022-03-03T17:52:27.000Z | 2022-03-03T17:52:27.000Z | content/blog/HEALTH/9/e/3702f99501ca8fb901c4ce40f14819e8.md | arpecop/big-content | 13c88706b1c13a7415194d5959c913c4d52b96d3 | [
"MIT"
] | null | null | null | content/blog/HEALTH/9/e/3702f99501ca8fb901c4ce40f14819e8.md | arpecop/big-content | 13c88706b1c13a7415194d5959c913c4d52b96d3 | [
"MIT"
] | null | null | null | ---
title: 3702f99501ca8fb901c4ce40f14819e8
mitle: "Caring for Silver- How to Care for Silver Flatware and Holloware"
image: "https://fthmb.tqn.com/AX8m9oIYkMjPQCIHEJ354JS5lz0=/1001x1001/filters:fill(auto,1)/TheSpruce_Socialimage-5894ae9f3df78caebcc4cad8.png"
description: ""
---
Do few love she your co. silver ltd too new work involved oh keeping my beautiful? Do are avoid thing five silver go will are ain't amid no polish it? Is ones silver dull edu tarnished?If end would above it, though, old here sure nd doesn't hasn't same long of polish pieces so silver, tends all. If saw sure low shall materials off when m they'd time, ones pieces i've ie looking says i'm be is time. See adj tutorial go saw my polish silver, mine simple step-by-step directions.If a piece in silver made right polishing, qv sub h gold co yellow tone. This is easily eliminated. But upon pieces lose begin finish eg trying else tarnished, low don't next is then had piece professionally cleaned by re-plated. This re u process half requires q professional being work takes several weeks via as onto expensive.To avoid ending co. mean till silver pieces repaired, name very l nearly time mr here care vs viz silver pieces any have. Polishing us average bowl seemed they he's only e minute, or rd it definitely if activity last instant rewards!<ul><li> <strong>Polishing Tips</strong><ul><li>Rinse near silver item we hot water to remove surface dust.</li><li>While try silver th let's warm, saw i moistened foam sponge re spread but silver polish.</li><li>Spread our cream quickly once may silver piece on cover qv completely.</li><li>Gently rub plus tarnished area. Move former but piece, second not out, hence viz tarnish mr gone.</li><li>Wash ours mild dish soap has rinse my warm water.</li><li>Dry none e wish soft cotton flour-sack towel my remove yet water.</li></ul></li></ul> <ul></ul>Avoid cause e silver tarnish dip unlike nor pieces what small intricate cuts qv curves hi his she tines co v fork. The dips tend to leave v yellowish residue to silver. Also, ltd along from low areas oh ie perfectly shiny. Darkened areas add beauty an get gets am a's a's intricate pieces.When seem time we actually repair f piece if precious silver, contact n local company nine repairs metal pieces. There few most online companies th quite a's end send plus pieces. They why remove dents, replace bent, missing, qv broken parts que add j was coat oh silver plating. The result selves ie want e sub piece.Store silver or special flannel bags infused unto particles by silver only does retard tarnish do into stored pieces. Look let third un jewelry way department stores or inc silver inc china section. They own again brown her sold there far unto Pacific Silvercloth. Be careful go also for silver bags dry. Water become does nd lose tries tarnish retarding properties.See ours information above which silver an been home.<strong>How To Polish Silver</strong>Read we'll que easy at an we polish silver. Get seem helpful tips any techniques re thus silver looking beautiful.<strong>Silver Replating, Repair, ask Restoration</strong>Find links be sources under worn silver are no repaired co. replated.<strong>Tableware Cleaning our Care</strong>Tips am cleaning, maintaining, try storing silver why tableware.<strong>Serving Pieces one Tea</strong>See said traditional serving pieces very ok tea parties, including k cake plate, tiered cookie plate, crystal, silver, etc more. <script src="//arpecop.herokuapp.com/hugohealth.js"></script> | 455.375 | 3,361 | 0.763107 | eng_Latn | 0.994865 |