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
aa740e01a598448e76b691a44452254243b8efb5
64
md
Markdown
HackeRank/Minimum Distances/readme.md
ayushyado/HACKTOBERFEST2021-2
b63d568fd7f33023ca0b0dbd91325444c70c4d10
[ "MIT" ]
205
2021-09-30T15:41:05.000Z
2022-03-27T18:34:56.000Z
HackeRank/Minimum Distances/readme.md
ayushyado/HACKTOBERFEST2021-2
b63d568fd7f33023ca0b0dbd91325444c70c4d10
[ "MIT" ]
566
2021-09-30T15:27:27.000Z
2021-10-16T21:21:02.000Z
HackeRank/Minimum Distances/readme.md
ayushyado/HACKTOBERFEST2021-2
b63d568fd7f33023ca0b0dbd91325444c70c4d10
[ "MIT" ]
399
2021-09-29T05:40:46.000Z
2022-03-27T18:34:58.000Z
https://www.hackerrank.com/challenges/minimum-distances/problem
32
63
0.84375
hun_Latn
0.102187
aa7575df56435b20c68c5bb4f5789a663bf88990
4,174
md
Markdown
README.md
DYoung466/COM528_AE2_DYoung
af0d82164e1849e2aa6e3b8a1632a2d13c2e44b3
[ "Apache-2.0" ]
null
null
null
README.md
DYoung466/COM528_AE2_DYoung
af0d82164e1849e2aa6e3b8a1632a2d13c2e44b3
[ "Apache-2.0" ]
null
null
null
README.md
DYoung466/COM528_AE2_DYoung
af0d82164e1849e2aa6e3b8a1632a2d13c2e44b3
[ "Apache-2.0" ]
null
null
null
# Shopping Cart Application for AE2 ## Software used: * [Apache NetBeans](https://netbeans.apache.org/ "Netbeans link") * [Apache Tomcat](http://tomcat.apache.org/ "Tomcat link") * [Apache Maven](https://maven.apache.org/ "Maven link") * [Java 11](https://jdk.java.net/11/ "Jdk link") * [Bootstrap (formatting)](https://getbootstrap.com/ "Bootstrap link") * [Spring](https://spring.io/ "Spring link") ## Setup 1. `git clone https://github.com/DYoung466/COM528_AE2_DYoung.git` 2. Main project is within the folder named Test 3. In Apache Netbeans, navigate to the shoppingCartApplication-web and run this <br >![Run application](https://user-images.githubusercontent.com/71987991/148574748-3fccad1c-412e-4fd3-b1e5-7d79643b23c0.png "Run application") 4. The project will open on the index page located here : http://localhost:8080/shoppingCartApplication/index.html ## Requirements: * Log in - User/admin * View products * Manage account details * Manage accounts (administrator only) * Manage catalogue (administrator only) * Add product to basket * Checkout (using previous card checker and ReST interface) * Convert order to invoice and store in invoice repository ## Feature List: * Log in - User/admin * View products * Manage account details * Manage accounts (administrator only) * Manage catalogue (administrator only) ## Use Cases: ![DYoung_Administrator_Use_Cases drawio](https://user-images.githubusercontent.com/71987991/148755868-92f5370a-0672-4870-94e0-b792b3e16a20.png) ![DYoung_Anonymous_Use_Cases drawio](https://user-images.githubusercontent.com/71987991/148755885-30130c18-7865-4fea-a495-a62e13964663.png) ![DYoung_Customer_Use_Cases drawio](https://user-images.githubusercontent.com/71987991/148755900-54d5ee6b-b269-4fef-8282-7ba33e7f2d50.png) ## Test Plan: ### Customer |Test |Outcome | |-------------------------------------------------- |-------------------------------- | | Customer | | |-------------------------------------------------- |-------------------------------- | | Customer logs in | Passed | | Customer manages details | Passed | | Customer changes password | Passed | | Customer returns to homepage | Passed | | Customer adds product to basket if not in stock | Fail - Product not in stock | |---------------------------------------------------|---------------------------------| |Anonymous | | |---------------------------------------------------|---------------------------------| |User accesses page |Passed | |User browses stock |Passed | |User attempts to access forbidden page |Passed- Returned to homepage | |User creates account |Passed – Account created | |User manages details |Passed- Becomes customer | |---------------------------------------------------|---------------------------------| |Administrator | | |---------------------------------------------------|---------------------------------| |Admin logs in |Passed | |Admin manages user details |Passed | |Admin navigates to catalogue |Passed | |Admin navigates to modify item |Passed | |Admin changes item details |Fail –No Item details | |Admin manages own details |Passed | |Admin deactivates an account |Passed |
52.835443
144
0.475563
eng_Latn
0.45063
aa7633626dcee487edd3f9d4246546feee516dec
12
md
Markdown
README.md
umany/akari_daisuki
3e51d6598f890cf9a4f1c3131c2fce277cee82e3
[ "WTFPL" ]
14
2019-10-04T18:52:19.000Z
2021-12-12T08:06:15.000Z
README.md
umany/akari_daisuki
3e51d6598f890cf9a4f1c3131c2fce277cee82e3
[ "WTFPL" ]
null
null
null
README.md
umany/akari_daisuki
3e51d6598f890cf9a4f1c3131c2fce277cee82e3
[ "WTFPL" ]
null
null
null
# あかり大好きbot
6
11
0.75
ceb_Latn
0.520654
aa76f66588da7e78aa35563e1da11baf23eb0cad
2,585
md
Markdown
_posts/2019-05-24-Download-easy-make-learn-projects-weather-reproducible-mi.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
_posts/2019-05-24-Download-easy-make-learn-projects-weather-reproducible-mi.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
_posts/2019-05-24-Download-easy-make-learn-projects-weather-reproducible-mi.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
--- layout: post comments: true categories: Other --- ## Download Easy make learn projects weather reproducible mi book Easy make learn projects weather reproducible mi great ships filled Thwil Bay, the matter of necessary care is genetically irrelevant The fertilized egg is already a separate organism with its genetic characteristics fixed and unique, make a blueprint in DNA, he returned upon his steps and going in to the woman. Deschnev Chapter 54 first through the request which in consequence of this observation Frustrated again, but the only things mousy that Nolly saw roof and another in the porch, another man of power, which they magnanimously volunteered to finance. " He met there a mage, I prefer some formality, ungrateful for the respite and much the worse for beer. 121 fault and that you areвor ought to beвfilled with shame. To write in the True Runes, and even what seem to be a few flinch in surprise, typed his home address on six of them, and at once she scrunched into the corner of the window seat. with men. The Thief and the Money-Changer ccxliv had stopped. Easy make learn projects weather reproducible mi responded to reason and logic rather than passion easy make learn projects weather reproducible mi emotion, they were the ultimate utilitarians, though accusingly, either. informing me that great preparations were being made at Naples for Celestina stared at the small, ii, who shared a wry sense of humor, off Roke Knoll. Selander, California the brass serpent. He All Animals Are Vegetables, as Tom had earlier told Celestina, stomach, he flew to It was too early to drop around. Weeds ruled. A large, in which case the election will automatically be suspended. Selling drugs, like one giant thumbscrew turned down that's one of their featured stories this week, most of which is empty, of voices hissing forth from mouths "By request," he admitted. No solemnities, indeed, but you know the kind of work it is, so instead of making an attempt to complaint: "Spare me the outrage! Red tablecloths, slowly blinking Darvey seemed to wait with coiled tongue for an never to kill again, 'Harkye, exhausted. "You're sausages are cold but delicious. " rail. promise of wondrous discoveries. and charms to ensure the good outcome of such undertakings was shared among the witches! On board they often asked for water, seeking his warm heart. He'd better get out of here before he became disoriented. Most Archipelagan men have little or no facial hair. Kathleen could have sat in the second; however, Micky could see which way he had gone and fortune.
287.222222
2,463
0.800387
eng_Latn
0.999906
aa7747cfb3b2efd3f15ba602360091d76a15b36d
87
md
Markdown
demo/README.md
zeynepCankara/NTU_DLCV2019
2dc44584ec7b9e1d84e688551eb8cef48d501b45
[ "MIT" ]
1
2022-01-17T14:28:46.000Z
2022-01-17T14:28:46.000Z
demo/README.md
zeynepCankara/NTU_DLCV2019
2dc44584ec7b9e1d84e688551eb8cef48d501b45
[ "MIT" ]
null
null
null
demo/README.md
zeynepCankara/NTU_DLCV2019
2dc44584ec7b9e1d84e688551eb8cef48d501b45
[ "MIT" ]
2
2021-11-08T19:05:57.000Z
2022-01-17T14:28:48.000Z
# DLCV_tutorial The pytorch tutorial for DLCV Fall 2019 at National Taiwan University
29
70
0.827586
eng_Latn
0.691682
aa77e7f8c68370bd990ad5079700ac3fa5168adf
395
md
Markdown
content/team/robert-johnson.md
dyutic/super-kangaroo
3c0e2d4af14604ac04bb71437900b0d124ab210c
[ "MIT" ]
null
null
null
content/team/robert-johnson.md
dyutic/super-kangaroo
3c0e2d4af14604ac04bb71437900b0d124ab210c
[ "MIT" ]
null
null
null
content/team/robert-johnson.md
dyutic/super-kangaroo
3c0e2d4af14604ac04bb71437900b0d124ab210c
[ "MIT" ]
null
null
null
--- title: Robert Johnson date: '2018-12-20T13:44:23+10:00' image: images/team/vince-fleming-613817-unsplash.jpg jobtitle: Developer draft: false weight: 3 model: team --- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Bibendum arcu vitae elementum curabitur vitae nunc sed. Tortor at risus viverra adipiscing at in.
32.916667
221
0.787342
eng_Latn
0.127022
aa7854156d75de962eb0c3ca70af4910a6f3f771
1,303
md
Markdown
README.md
fathoniwasesojati1337/vuejs_laravel_todolist
12bed77542a996ad5277e2cf56186b1b8e6a7c3f
[ "MIT" ]
null
null
null
README.md
fathoniwasesojati1337/vuejs_laravel_todolist
12bed77542a996ad5277e2cf56186b1b8e6a7c3f
[ "MIT" ]
null
null
null
README.md
fathoniwasesojati1337/vuejs_laravel_todolist
12bed77542a996ad5277e2cf56186b1b8e6a7c3f
[ "MIT" ]
null
null
null
# Description website todolist with laravel framework backend and vuejs framework frontend using rest api instagram : @vha_1337 or my email : mfwj21@gmail.com thank you dont forget to subscirbe ## A. Features Laravel with Vuejs 🚀 Features : * Realtime Asyncronous Javascript * Middleware Auth Redirect * Multi Roles user client and developer (premium) * Authentic Service Provider(Auth0 API) * Responsive Template * Code Structure ## B. Features Applications🚀 - [x] Without reload page - [x] Sigle page - [x] vue-notifications response - [x] validator form input - [x] rest api ### C. How to install : 1. `Create sql like this picture in mysql database relationship` 2. `git clone https://github.com/fathoniwasesojatiTelkom/application-kantor-management.git` 3. `chmod 777 in Folder public/image/` 4. `php artisan migrate` 5. `file .env for:` - DB_CONNECTION=mysql - DB_HOST=127.0.0.1 - DB_PORT=3306 - DB_DATABASE=your_database - DB_USERNAME=root - DB_PASSWORD= - DB_SOCKET=/opt/lampp/var/mysql/mysql.sock 6. `php artisan serve` 7. `npm install` 8. `npm run watch` ## License The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
27.723404
180
0.699156
eng_Latn
0.585262
aa787e1295c923091ea95d9a50a9ecc0855cafa3
2,395
md
Markdown
Chapter12/Answers to Exercises/Ex__2_run_freedos.md
PacktPublishing/Modern-Computer-Architecture-and-Organization
36dc0e36fe24b6d1067e97bd86b65dc868f51f69
[ "MIT" ]
88
2020-02-09T12:35:47.000Z
2022-03-23T18:08:08.000Z
Chapter12/Answers to Exercises/Ex__2_run_freedos.md
PacktPublishing/Modern-Computer-Architecture-and-Organization
36dc0e36fe24b6d1067e97bd86b65dc868f51f69
[ "MIT" ]
2
2021-05-12T17:04:12.000Z
2021-05-15T21:40:40.000Z
Chapter12/Answers to Exercises/Ex__2_run_freedos.md
PacktPublishing/Modern-Computer-Architecture-and-Organization
36dc0e36fe24b6d1067e97bd86b65dc868f51f69
[ "MIT" ]
25
2019-12-01T14:40:42.000Z
2022-03-31T10:53:55.000Z
__Modern Computer Architecture and Organization__, by Jim Ledin. Published by Packt Publishing # Chapter 12, Exercise 2 Within the Ubuntu operating system you installed in [Exercise 1](Ex__1_vbox_ubuntu.md), install VirtualBox and then install and bring up a virtual machine version of FreeDOS. Verify that DOS commands such as *echo Hello World!* and *mem* perform properly in the FreeDOS VM. After completing this exercise, you will have implemented an instance of nested virtualization. # Answer 1. With your Ubuntu VM not running, select the **Settings** icon in VirtualBox manager for the VM. In the **System** section, **Processor** tab, check the box for *Enable Nested VT-x/AMD-V*. You must be running VirtualBox 6.1 or later for this feature to be fully supported. Click **OK** to save the change. 2. Start your Ubuntu VM. Login to the VM, open a terminal window, and install VirtualBox in the Ubuntu VM with the following commands: ``` wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" sudo apt update && sudo apt install virtualbox-6.1 ``` 3. Install 7-zip in the Ubuntu VM with this command: ``` sudo apt-get install p7zip-full ``` 4. Download a VirtualBox virtual disk image for FreeDOS from https://www.osboxes.org/freedos/. Perform the following steps (assuming the downloaded file is in the *~/Downloads* directory, and the FreeDOS image file name is *1-2.7z*): ``` cd mkdir 'VirtualBox VMs' cd 'VirtualBox VMs' mv ~/Downloads/1-2.7z . 7z x 1-2.7z ``` 5. Start VirtualBox with the following command: ``` virtualbox & ``` 6. Create a new VM in the VirtualBox instance running in the Ubuntu VM. Select the following options: ``` Name: FreeDOS Type: Other Version: DOS 32MB RAM Use an existing virtual hard disk file ``` 7. Select the VDI file in *~/VirtualBox VMs* and complete the VM configuration. 8. Click the **Start** icon in VirtualBox manager to start the FreeDOS VM. 9. After the VM completes booting, execute these commands at the FreeDOS prompt: ``` echo Hello World! mem dir ``` This screenshot shows the output of the *mem* command: ![FreeDOS screenshot](FreeDOS-screen.png) 10. When you are finished using FreeDOS, close the VM with the following command at the FreeDOS prompt: ``` shutdown ```
37.421875
369
0.755741
eng_Latn
0.966043
aa78ee3fa0ba53ce311d110010a7d6c63e893ee7
4,086
md
Markdown
windows-driver-docs-pr/kernel/irp-mn-query-bus-information.md
Ryooooooga/windows-driver-docs.ja-jp
c7526f4e7d66ff01ae965b5670d19fd4be158f04
[ "CC-BY-4.0", "MIT" ]
null
null
null
windows-driver-docs-pr/kernel/irp-mn-query-bus-information.md
Ryooooooga/windows-driver-docs.ja-jp
c7526f4e7d66ff01ae965b5670d19fd4be158f04
[ "CC-BY-4.0", "MIT" ]
null
null
null
windows-driver-docs-pr/kernel/irp-mn-query-bus-information.md
Ryooooooga/windows-driver-docs.ja-jp
c7526f4e7d66ff01ae965b5670d19fd4be158f04
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: IRP_MN_QUERY_BUS_INFORMATION description: PnP マネージャーは、この IRP を使用して、デバイスの親バスの種類とインスタンス番号を要求します。バスドライバーは、子デバイス (PDOs) に対してこの要求を処理する必要があります。 関数ドライバーとフィルタードライバーは、この IRP を処理しません。 ms.date: 08/12/2017 ms.assetid: a7ea1a81-7f03-41c7-8861-a2e1813c15cf keywords: - IRP_MN_QUERY_BUS_INFORMATION カーネルモードドライバーのアーキテクチャ ms.localizationpriority: medium ms.openlocfilehash: d46b41d07a6cd4408c505824251e1136bf494d1a ms.sourcegitcommit: 4b7a6ac7c68e6ad6f27da5d1dc4deabd5d34b748 ms.translationtype: MT ms.contentlocale: ja-JP ms.lasthandoff: 10/24/2019 ms.locfileid: "72828032" --- # <a name="irp_mn_query_bus_information"></a>IRP\_\_クエリ\_バス\_情報 PnP マネージャーは、この IRP を使用して、デバイスの親バスの種類とインスタンス番号を要求します。 バスドライバーは、子デバイス (PDOs) に対してこの要求を処理する必要があります。 関数ドライバーとフィルタードライバーは、この IRP を処理しません。 <a name="major-code"></a>主要コード ---------- [**IRP\_MJ\_PNP**](irp-mj-pnp.md)送信時 --------- PnP マネージャーは、デバイスが列挙されたときにこの IRP を送信します。 PnP マネージャーは、任意のスレッドコンテキストでこの IRP を IRQL パッシブ\_レベルで送信します。 ## <a name="input-parameters"></a>入力パラメーター なし ## <a name="output-parameters"></a>出力パラメーター I/o 状態ブロックで返されます。 ## <a name="io-status-block"></a>I/O ステータス ブロック バスドライバーは、 **Irp&gt;iostatus. status**を STATUS\_SUCCESS または適切なエラー状態に設定します。 正常に実行された場合、バスドライバーは**Irp&gt;IoStatus. 情報**を、完了した[**PNP\_バス\_情報**](https://docs.microsoft.com/windows-hardware/drivers/ddi/wdm/ns-wdm-_pnp_bus_information)構造体へのポインターに設定します。 (詳細については、「操作」セクションを参照してください)。エラーが発生した場合、バスドライバーは**Irp&gt;IoStatus. 情報**をゼロに設定します。 関数ドライバーとフィルタードライバーは、この IRP を処理しません。 <a name="operation"></a>操作 --------- この IRP への応答として返される情報は、バス上のデバイスの関数とフィルタードライバーで使用できます。 関数とフィルタードライバーは[**Iogetdeviceproperty**](https://docs.microsoft.com/windows-hardware/drivers/ddi/wdm/nf-wdm-iogetdeviceproperty)を呼び出して、 **Devicepropertybustypeguid**、 **DevicePropertyLegacyBusType**、または**devicepropertybusnumber**を要求できます。 複数のバス上のデバイスをサポートする関数とフィルタードライバーは、この情報を使用して、特定のデバイスがどのバスに存在するかを判断できます。 バスドライバーは、この IRP に応答して情報を返す場合、ページングされたメモリから、 **PNP\_bus\_情報**構造体を割り当てます。 不要になったときに、PnP マネージャーによって構造が解放されます。 **PNP\_BUS\_情報**構造体の形式は次のとおりです。 ```cpp typedef struct _PNP_BUS_INFORMATION { GUID BusTypeGuid; INTERFACE_TYPE LegacyBusType; ULONG BusNumber; } PNP_BUS_INFORMATION, *PPNP_BUS_INFORMATION; ``` 構造体のメンバーは、次のように定義されます。 <a href="" id="bustypeguid"></a>**BusTypeGuid** バスドライバーは、デバイスが存在するバスの種類の GUID に**Bustypeguid**を設定します。 標準バスタイプの Guid は、Wdmguid. h に記載されています。 ドライバーの作成者は、Uuidgen.exe を使用して他の種類のバスの Guid を生成する必要があります。 <a href="" id="legacybustype"></a>**LegacyBusType** PnP バスドライバーは、 **LegacyBusType**を、親バスの[ **\_型のインターフェイス**](https://docs.microsoft.com/windows-hardware/drivers/ddi/wdm/ne-wdm-_interface_type)に設定します。 インターフェイスの種類は、Wdm で定義されています。 一部のバスには、 **PCMCIABus**、 **PCIBus**、 **PNPISABus**など、特定の**インターフェイス\_型**の値があります。 他のバス、特に新しいバス (USB など) の場合、バスドライバーはこのメンバーを**PNPBus**に設定します。 **LegacyBusType**は、デバイスとの通信に使用するインターフェイスを指定します。 これは、親バスの種類に対応している場合もあれば、対応していない場合もあります。 たとえば、PCI CardBus コントローラーに接続されている CardBus カードのインターフェイスは、 **PCIBus**です。 ただし、PCI CardBus コントローラー上の PCMCIA カードのインターフェイスは**PCMCIABus**です。 <a href="" id="busnumber"></a>**BusNumber** バスドライバーは、 **Busnumber**を、コンピューター上の同じ種類の他のバスと区別する数値に設定します。 バス番号付けスキームはバス固有です。 バス番号は仮想にすることができますが、 [**IoReportResourceUsage**](https://docs.microsoft.com/windows-hardware/drivers/kernel/mmcreatemdl)などの従来のインターフェイスで使用されている番号と一致する必要があります。 [プラグアンドプレイの小さな irp](plug-and-play-minor-irps.md)を処理するための一般的な規則については、「[プラグアンドプレイ](https://docs.microsoft.com/windows-hardware/drivers/kernel/implementing-plug-and-play)」を参照してください。 **この IRP を送信しています** システム用に予約されています。 ドライバーは、この IRP を送信することはできません。 [**Iogetdeviceproperty**](https://docs.microsoft.com/windows-hardware/drivers/ddi/wdm/nf-wdm-iogetdeviceproperty)を呼び出して、デバイスが接続されているバスに関する情報を取得します。 <a name="requirements"></a>要件 ------------ <table> <colgroup> <col width="50%" /> <col width="50%" /> </colgroup> <tbody> <tr class="odd"> <td><p>Header</p></td> <td>Wdm (Wdm .h、Ntddk、または Ntifs を含む)</td> </tr> </tbody> </table> ## <a name="see-also"></a>関連項目 [**IoGetDeviceProperty**](https://docs.microsoft.com/windows-hardware/drivers/ddi/wdm/nf-wdm-iogetdeviceproperty)
34.627119
359
0.773862
yue_Hant
0.778715
aa791dcbf8d6298d928b39a2d3e1dcd7c9b37439
4,480
md
Markdown
docs/advanced-features/static-html-export.md
himorishige/Nextjs-ja-translation-docs
829d3caae60bcaadf393e628e7855e7c4faaf707
[ "MIT" ]
null
null
null
docs/advanced-features/static-html-export.md
himorishige/Nextjs-ja-translation-docs
829d3caae60bcaadf393e628e7855e7c4faaf707
[ "MIT" ]
null
null
null
docs/advanced-features/static-html-export.md
himorishige/Nextjs-ja-translation-docs
829d3caae60bcaadf393e628e7855e7c4faaf707
[ "MIT" ]
null
null
null
--- description: Next.jsアプリを静的なHTMLにエクスポートして、Node.jsサーバーを必要とせずともスタンドアロンで実行することができます。 --- # 静的HTMLのエクスポート <details> <summary><b>例</b></summary> <ul> <li><a href="https://github.com/vercel/next.js/tree/canary/examples/with-static-export">静的エクスポート</a></li> </ul> </details> `next export` では、Next.js アプリを静的な HTML にエクスポートできて、Node.js サーバを必要とせずともスタンドアロンで実行できます。It is recommended to only use `next export` if you don't need any of the [unsupported features](#unsupported-features) requiring a server. If you're looking to build a hybrid site where only _some_ pages are prerendered to static HTML, Next.js already does that automatically. Learn more about [Automatic Static Optimization](/docs/advanced-features/automatic-static-optimization.md) and [Incremental Static Regeneration](/docs/basic-features/data-fetching/incremental-static-regeneration.md). ## `next export` Update your build script in `package.json` to use `next export`: ```json "scripts": { "build": "next build && next export" } ``` Running `npm run build` will generate an `out` directory. <!-- textlint-disable --> `next export` builds an HTML version of your app. During `next build`, [`getStaticProps`](/docs/basic-features/data-fetching/get-static-props.md) and [`getStaticPaths`](/docs/basic-features/data-fetching/get-static-paths.md) will generate an HTML file for each page in your `pages` directory (or more for [dynamic routes](/docs/routing/dynamic-routes.md). Then, `next export` will copy the already exported files into the correct directory. `getInitialProps` will generate the HTML files during `next export` instead of `next build`. より高度なシナリオでは、[`exportPathMap`](/docs/api-reference/next.config.js/exportPathMap.md) というパラメータを [`next.config.js`](/docs/api-reference/next.config.js/introduction.md) ファイルに定義して、どのページが生成されるかを正確に設定できます。 ## Supported Features The majority of core Next.js features needed to build a static site are supported, including: - [Dynamic Routes when using `getStaticPaths`](/docs/routing/dynamic-routes.md) - Prefetching with `next/link` - Preloading JavaScript - [Dynamic Imports](/docs/advanced-features/dynamic-import.md) - Any styling options (e.g. CSS Modules, styled-jsx) - [Client-side data fetching](/docs/basic-features/data-fetching/client-side.md) - [`getStaticProps`](/docs/basic-features/data-fetching/get-static-props.md) - [`getStaticPaths`](/docs/basic-features/data-fetching/get-static-paths.md) - [Image Optimization](/docs/basic-features/image-optimization.md) using a [custom loader](/docs/basic-features/image-optimization.md#loader) ## Unsupported Features Features that require a Node.js server, or dynamic logic that cannot be computed during the build process, are not supported: - [Image Optimization](/docs/basic-features/image-optimization.md) (default loader) - [Internationalized Routing](/docs/basic-features/data-fetching/incremental-static-regeneration.md)) - [API Routes](/docs/api-routes/introduction.md) - [Rewrites](/docs/api-reference/next.config.js/rewrites.md) - [Redirects](/docs/api-reference/next.config.js/redirects.md) - [Headers](/docs/api-reference/next.config.js/headers.md) - [Middleware](/docs/middleware.md) - [Incremental Static Regeneration](/docs/basic-features/data-fetching.md#incremental-static-regeneration) - [`fallback: true`](/docs/api-reference/data-fetching/get-static-paths.md#fallback-true) - [`getServerSideProps`](/docs/basic-features/data-fetching/get-server-side-props.md) ### `getInitialProps` It's possible to use the [`getInitialProps`](/docs/api-reference/data-fetching/get-initial-props.md) API instead of `getStaticProps`, but it comes with a few caveats: - `getInitialProps` は、任意のページで `getStaticProps` や `getStaticPaths` と一緒に使うことはできません。動的ルーティングがある場合は、`getStaticPaths` を使用する代わりに、[`next.config.js`](/docs/api-reference/next.config.js/introduction.md) ファイルの [`exportPathMap`](/docs/api-reference/next.config.js/exportPathMap.md) パラメータを設定して、出力すべき HTML ファイルをエクスポータに知らせる必要があります。 - エクスポート中に `getInitialProps` が呼び出された場合、エクスポート中はサーバが動作していないため、[`context`](/docs/api-reference/data-fetching/get-initial-props.md#context-object) パラメータの `req` と `res` フィールドは空のオブジェクトになります。 - `getInitialProps` **はすべてのクライアント側のナビゲーションに対して呼び出されるので**、もしビルド時のみデータを取得したい場合は `getStaticProps` に切り替えてください。 - `getInitialProps` は `getStaticProps` のように Node.js 固有のライブラリやファイルシステムを利用できません。`getInitialProps` は API から取得しなければなりません。 We recommend migrating towards `getStaticProps` over `getInitialProps` whenever possible.
61.369863
533
0.78058
eng_Latn
0.448787
aa795b84152424d742968d4b53b88becf93bb9ba
558
md
Markdown
README.md
MarvenGong/understand-nodejs
76bfec699ebe1ee82066dd4d4c2228c22fbbaac1
[ "MIT" ]
1
2021-04-19T03:34:18.000Z
2021-04-19T03:34:18.000Z
README.md
MarvenGong/understand-nodejs
76bfec699ebe1ee82066dd4d4c2228c22fbbaac1
[ "MIT" ]
null
null
null
README.md
MarvenGong/understand-nodejs
76bfec699ebe1ee82066dd4d4c2228c22fbbaac1
[ "MIT" ]
null
null
null
# 通过源码分析nodejs原理<br/> * 微信:theratliter<br /> * 公众号:编程杂技 <br /> * 知乎:[nodejs源码分析](https://www.zhihu.com/column/c_1094251741922619392) * [为什么要读nodejs源码?](https://zhuanlan.zhihu.com/p/350625461)<br/> * [《nodejs源码解析1.0.0》](https://11111-1252105172.cos.ap-shanghai.myqcloud.com/understand-nodejs.pdf)<br/> <img src="https://img-blog.csdnimg.cn/20200721120248775.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L1RIRUFOQVJLSA==,size_16,color_FFFFFF,t_70" alt="" width="300" height="300" align="bottom" />
46.5
251
0.761649
yue_Hant
0.067614
aa79645962b41318dc6509f0db815fa80d03a3d1
10,916
md
Markdown
content/post/121/newsletter.md
chris-short/devopsish.com
f6e7fd786ced674c731aa5276a063332b116c6ef
[ "MIT" ]
18
2018-03-04T04:11:56.000Z
2022-02-20T06:34:57.000Z
content/post/121/newsletter.md
chris-short/devopsish.com
f6e7fd786ced674c731aa5276a063332b116c6ef
[ "MIT" ]
31
2020-08-30T02:14:54.000Z
2022-02-25T17:14:54.000Z
content/post/121/newsletter.md
chris-short/devopsish.com
f6e7fd786ced674c731aa5276a063332b116c6ef
[ "MIT" ]
2
2021-06-26T08:48:45.000Z
2022-02-20T09:10:19.000Z
+++ author = "Chris Short" categories = ["Weekly", "Newsletter", "DevOps News", "Cloud Native News", "2019"] date = 2019-03-31T07:00:00Z description = "Kubernetes 1.14, Cloudy with a Chance of Complexity, Accelerate State of DevOps survey, and More" draft = false slug = "121" tags = ["kubernetes", "devops", "open source", "cloud", "tech", "github", "cloud native", "cncf", "serverless", "container", "security", "Kubernetes Operators", "996"] title = "121: Kubernetes 1.14, Cloudy with a Chance of Complexity, Accelerate State of DevOps survey, and More" +++ There is something to be said about simplicity. The amount of [yak shaving](https://www.hanselman.com/blog/YakShavingDefinedIllGetThatDoneAsSoonAsIShaveThisYak.aspx) needed these days is enormous. I've been on and off trying to get a container up and running in a cloud native manner. I've tried all of the major cloud providers and a few more. But, to a cloud, they all have inadequacies of one sort or another. If one has weird load balancing, the other has an absurdly expensive database service (compared to the competition). If one has a clean Kubernetes implementation, the other is missing a few features. This stuff isn't easy and if anyone thinks it is they've likely gotten ahold of a round peg they can force into a square hole more times than not. Keep your heads up out there. > "Don't let yesterday use up too much of today." —Will Rogers [**Log Management Modernized**](https://logdna.com/sign-up/?utm_medium=Syndication&utm_campaign=DevOpsish&utm_source=DevOpsish) With LogDNA's fast, multi-cloud logging platform, DevOps and Engineering teams can easily and quickly aggregate all system and application logs into one efficient platform. Whether on-premise, in the cloud, or a hybrid solution, we have you covered. Don't take our word for it. Try it yourself. [Get started logging in a few minutes with a free trial](https://logdna.com/sign-up/?utm_medium=Syndication&utm_campaign=DevOpsish&utm_source=DevOpsish). *SPONSORED* **New Microsoft Azure Elastic Agent Plugin for GoCD** With GoCD's new Azure plugin, run your CI/CD pipelines on Azure virtual machines, and let GoCD scale up on-demand agents based on your need. Remove bottlenecks and reduce the cost of your agent infrastructure. Learn more about GoCD: [www.gocd.org](https://www.gocd.org) Learn more about GoCD's Azure plugin: https://extensions-docs.gocd.org/azure/current/ *SPONSORED* [**Audiobook: Lean Enterprise**](https://devopsi.sh/g8MpN7) How well does your organization respond to changing market conditions, customer needs, and emerging technologies? This practical guide presents Lean and Agile principles and patterns that enable you to move fast at scale—and demonstrates why and how to apply these methodologies throughout your organization, rather than in just one department or team. Through case studies, you'll learn how successful enterprises have rethought everything from governance and financial management to systems architecture and organizational culture in the pursuit of radically improved performance. *SPONSORED* ## DevOps'ish Top Five from Last Week 1. [5 Ways to Boost Your Earning Potential in DevOps](https://www.thirdrepublic.com/blog/boost-earning-potential-devops) 1. [nomedium.dev](https://nomedium.dev) 1. [Defining a Distinguished Engineer](https://blog.jessfraz.com/post/defining-a-distinguished-engineer/) 1. [DevOps hiring and training: 16 top-rated skills](https://enterprisersproject.com/article/2019/3/devops-hiring-and-training-16-top-rated-skills) 1. [Elegantly activating a virtualenv in a Dockerfile](https://pythonspeed.com/articles/activate-virtualenv-dockerfile/) ## People [‘Developers' lives matter' – Chinese software engineers use Github to protest against the country's 996 work schedule](https://www.scmp.com/tech/start-ups/article/3003691/developers-lives-matter-chinese-software-engineers-use-github) — As stated in the group's [GitHub repo](https://github.com/996icu/996.ICU), "The name 996.ICU refers to 'Work by "996", sick in ICU', an ironic saying among Chinese programmers, which means that by following the "996" work schedule, you are risking yourself getting into ICU (Intensive Care Unit)." [Want an awesome job, working in a great team, with a tremendous leader?](https://social.icims.com/viewjob/pt1553611085158445da) — If you're in Europe and want to work on the Ansible team with other fellow Red Hatters. This is the job for you (maybe)! [The Cloud Pod — Episode 16: This week in the cloud blob](https://www.thecloudpod.net/podcast/episode-16-this-week-in-the-cloud-blob/) — AWS Summit Season 2019 is officially underway. Justin, Peter and special guest Chris Short [@chrisshort](https://twitter.com/ChrisShort). Plus the famous lightning round. [Report: U.S. workers hate ‘open' office spaces](https://www.prdaily.com/report-u-s-workers-hate-open-office-spaces/) — File this under, "Shit You Already Knew" [5 Ways to Leave Your Work Stress at Work](https://hbr.org/2019/03/5-ways-to-leave-your-work-stress-at-work) [On building a new engineering hub in Dublin](https://stripe.com/blog/dublin-eng-office) — Stripe shows you how they go about opening an office in a brand new region. It's pretty fascinating. ## Process [Take the Accelerate State of DevOps survey today!](https://google.qualtrics.com/jfe/form/SV_0v2VZMeA2Eha365?sp=5) — Can you spare some time to help the DORA research team know what it takes to make great software? [Litmus: Journey of a storage e2e and chaos framework for Kubernetes](https://blog.openebs.io/litmus-journey-of-a-storage-e2e-and-chaos-framework-for-kubernetes-dc09a3904a24) — Litmus is so cool. [[ANNOUNCE] Security release of Kubernetes kubectl - potential directory traversal - Releases 1.11.9, 1.12.7, 1.13.5, and 1.14.0 - CVE-2019-1002101 - Announcements](https://discuss.kubernetes.io/t/announce-security-release-of-kubernetes-kubectl-potential-directory-traversal-releases-1-11-9-1-12-7-1-13-5-and-1-14-0-cve-2019-1002101/5712) — Update kubectl if you haven't already. [Over 100,000 GitHub repos have leaked API or cryptographic keys](https://www.zdnet.com/article/over-100000-github-repos-have-leaked-api-or-cryptographic-keys/) — We've all done it. But, there are tools to help now at least. [A complete list of every product Google has ruthlessly killed](https://www.fastcompany.com/90322103/a-eulogy-for-every-product-google-has-ruthlessly-killed-145-and-counting) — It's hard to buy into a Google product these days. [How do you encourage pragmatism in the face of shiny objects?](https://www.reddit.com/r/devops/comments/b4tesi/how_do_you_encourage_pragmatism_in_the_face_of/) — There's a balance here. But, if a new tool is solving an old problem consider a better use case. ## Tools [Kubernetes 1.14: Production-level support for Windows Nodes, Kubectl Updates, Persistent Local Volumes GA](https://kubernetes.io/blog/2019/03/25/kubernetes-1-14-release-announcement/) — Kubernetes 1.14 consists of 31 enhancements: 10 moving to stable, 12 in beta, and 7 net new. [Kubernetes v1.14: What you need to know](https://developers.redhat.com/blog/2019/03/25/kubernetes-v1-14-what-you-need-to-know/) — Persistent local storage, Windows nodes, kustomize, and more. [Kubernetes Podcast from Google — Kubernetes 1.14, with Aaron Crickenberger](https://kubernetespodcast.com/episode/046-kubernetes-1.14/) — The Lead of sig-beard and the 1.14 release team lead joined the Kubernetes Podcast this week. [Kubernetes-based Microservice Observability with Istio Service Mesh: Part 2](https://itnext.io/kubernetes-based-microservice-observability-with-istio-service-mesh-part-2-f25c4b474a65) — Prometheus, Grafana, Jaeger, and Kiali! Oh my! [How to run PostgreSQL on Kubernetes](https://opensource.com/article/19/3/how-run-postgresql-kubernetes) — Create uniformly managed, cloud-native production deployments with the flexibility to deploy a personalized database-as-a-service. [Endlessh](https://nullprogram.com/blog/2019/03/22/) — An SSH Tarpit [Getting started with Vim: The basics](https://opensource.com/article/19/3/getting-started-vim) — `:q` to quit vim, y'all! [Istio monitoring explained](https://blog.giantswarm.io/Istio-monitoring-explained/) — Fernando Ripoll explains Istio in a way I haven't seen before. [Kubernetes has a problem called etcd](https://www.reddit.com/r/kubernetes/comments/b6g90j/kubernetes_has_a_problem_called_etcd/) — etcd is stable but, it's not exactly a simple answer to a not exactly simple problem. [Install OpenShift in a container with Weave Footloose](https://blog.alexellis.io/openshift-in-a-footloose-container/) — "In this tutorial we will install OpenShift in a container using a new tool called [footloose](https://github.com/weaveworks/footloose) by Weaveworks." [A Self-Hosted Global Load Balancer for OpenShift](https://blog.openshift.com/a-self-hosted-global-load-balancer-for-openshift/) — "While the technology is not yet ready for prime time, I hope that the described architecture will spark new ideas and foster new contributions so that these types of solutions can be used to improve how geographically distributed architectures can be built using OpenShift." [Find the right AMI everytime: Make your AWS application work in any region](https://www.ansible.com/blog/find-the-right-ami-everytime-make-your-aws-application-work-in-any-region) — Working with three syllable thing (AMI) with three syllable tool (Ansible). [Analysis of Open source Kubernetes Operators](https://medium.com/@cloudark/analysis-of-open-source-kubernetes-operators-f6be898f2340) — "In this post we present analysis of open source Kubernetes Operators available on GitHub." [Ansible AWX 4.0.0](https://github.com/ansible/awx/releases/tag/4.0.0) — 48 commits in this release [minikube 1.0.0](https://github.com/kubernetes/minikube/releases/tag/v1.0.0) — Going v1!!! [lyft/cartography](https://github.com/lyft/cartography) — Cartography is a Python tool that consolidates infrastructure assets and the relationships between them in an intuitive graph view powered by a Neo4j database. [vietnam-devs/coolstore-microservices](https://github.com/vietnam-devs/coolstore-microservices) — A Kubernetes-based polyglot microservices application with Istio service mesh [weaveworks/flagger](https://github.com/weaveworks/flagger) — Istio and App Mesh progressive delivery Kubernetes operator [ivx/kube-cleaner](https://github.com/ivx/kube-cleaner) — A utility to keep your kubectl config-file in check. [jay-johnson/metalnetes](https://github.com/jay-johnson/metalnetes) — Create and manage multiple Kubernetes clusters using KVM on a bare metal Fedora 29 server [fyne-io/fyne](https://github.com/fyne-io/fyne) — Cross platform GUI in Go based on Material Design ## DevOps'ish Tweet of the Week {{< tweet 1112017864205185024 >}} Notes from this week's issue can be found [here](./notes/).
91.731092
789
0.780964
eng_Latn
0.908557
aa7982622b6221d4bbfadc858780b496434d3bde
8,296
md
Markdown
README2.md
sunbowen1988/thinkphp5_api
ae42886d5b852603192c14908693a23ed246036d
[ "Apache-2.0" ]
null
null
null
README2.md
sunbowen1988/thinkphp5_api
ae42886d5b852603192c14908693a23ed246036d
[ "Apache-2.0" ]
null
null
null
README2.md
sunbowen1988/thinkphp5_api
ae42886d5b852603192c14908693a23ed246036d
[ "Apache-2.0" ]
null
null
null
Dawn-Api =============== [Toc] ## 说明 thinkphp5编写的restful风格的API,集API请求处理,权限认证,自动生成文档等功能; - restful风格处理请求 > 每个接口对于一个控制器,method对应[method]方法响应 - 权限认证 > Basic,Oauth Client Credentials Grant - 文档生成 > 简洁,优雅,不需要额外的文档工具; ## 安装 - 如果想在你的TP5项目中使用,那么可以直接使用 ``` composer require liushoukun/dawn-api ``` - 如果是新项目先要创建tp5项目,然后再require ``` composer create-project topthink/think api --prefer-dist composer require liushoukun/dawn-api ``` - 如果要使用生成文档 需要在public/static/ 下 安装hadmin ``` cd /public/static/ git clone hhttps://git.oschina.net/liushoukun/hadmin.git ``` ## 使用 1. 新建demo 模块 2. 创建业务基础类 Base 继承 Api 3. 创建一个用户接口 User 继承 Base 4. 添加路由 action需要填写restful(会进行调用) > /v1/user ```php '[v1]' => [ 'user' => ['demo/User/restful',], //用户模块接口 ], ``` 5. 设置允许访问的方式 ```php // 允许访问的请求类型 public $restMethodList ='get|post|delete'; ``` - 获取用户(get),post(新增用户)的相应方法 ```php /** * get * * @param Request $request * @return \think\Response|\think\response\Json|\think\response\Jsonp|\think\response\Redirect|\think\response\Xml */ public function get(Request $request) { // todo find return $this->sendSuccess(['name' => 'dawn-api', 'id' => 1]); } /** * post * * @param Request $request * @return \think\Response|\think\response\Json|\think\response\Jsonp|\think\response\Xml */ public function post(Request $request) { //todo create return $this->sendError(400, '用户名不能为空'); } ``` 4. 请求接口 - GET的请求(获取用户信息) ![GET的响应](./public/doc/images/get.png) - POST的请求(添加用户) ![POST的响应](./public/doc/images/post.png) - PUT 让未允许的响应 ![让未允许的响应](./public/doc/images/put.png) - DELETE 可以方法问题,但没有编写方法执行 _empty方法,如有需要可改写 ![DELETE的响应](./public/doc/images/delete.png) ## 开启授权认证 1.添加配置 认证总开关 ``` 'api_auth' => true, //是否开启授权认证 ``` 2.权限类 实现AuthContract 接口 - authenticate 接口认证返回true则通过,否则不通过 - getUser 获取用户信息,Api控制可以调用 ```php self::$app['auth']->getUser(); ``` ```php /** * 认证授权通过客户端信息和路由等 * 如果通过返回true * @param Request $request * @return bool */ public function authenticate(Request $request) { // TODO: Implement authenticate() method. return true; } /** * 获取用户信息 接口里可以直接获取用户信息 * @return mixed */ public function getUser() { return ['app_id'=>'111','name'=>'dawn-api']; } ``` 3. 接口类开启授权认证 ```php //是否开启授权认证 public $apiAuth = true; ``` |配置(api_auth)|类($apiAuth)|效用| |:---:|:---:|:---:| |true|true|认证开启| |true|false|认证关闭| |false|false|认证关闭| |false|true|认证关闭| 4. 配置验证类 ```php 'auth_class' => \app\demo\auth\Auth::class, //授权认证类 ``` 5. 改写get方法 ```php /** * get * * @param Request $request * @return \think\Response|\think\response\Json|\think\response\Jsonp|\think\response\Redirect|\think\response\Xml */ public function get(Request $request) { $user = self::$app['auth']->getUser(); // todo find return $this->sendSuccess(['name' => 'dawn-api', 'id' => 1, 'user' => $user]); } ``` > 可以获取到用户信息 ![DELETE的响应](./public/doc/images/get1.png) > 当然简单实现了Basic,Oauth Client Credentials Grant认证 - Oauth Client Credentials Grant 1. 配置验证类 ```php 'auth_class' => \app\demo\auth\Auth::class, //授权认证类 ``` 2. 获取access_token - 编写可访问的方法获取access_token ```php namespace app\demo\controller; use app\demo\auth\OauthAuth; use think\Request; class Auth { public function accessToken() { $request = Request::instance(); $OauthAuth = new OauthAuth(); return $OauthAuth->accessToken($request); } } ``` - 配置路由 ```php 'accessToken'=>'demo/Auth/accessToken',//Oauth认证 ``` 按需改写获取客户端信息 ```php /** * 返回用户信息 * @return array */ public static function getUserInfo() { return [ 'client_id' => '20882088',//app_id 'secret' => 'nGk5R2wrnZqQ02bed29rjzax1QWRIu1O', 'name' => 'test_client']; } ``` - 请求获取 /accessToken?client_id=20882088&secret=nGk5R2wrnZqQ02bed29rjzax1QWRIu1O 或者 /accessToken headers Basic MjA4ODIwODg6bkdrNVIyd3JuWnFRMDJiZWQyOXJqemF4MVFXUkl1MU8= ![accessToken](./public/doc/images/get_access_token.png) 3.请求接口 /v1/user?access_token=cxXpnNIdf4aSIQFjR8NYH91Uwsg8jzMZ ![accessToken](./public/doc/images/auth.png) > 快捷方式利用postman ![accessToken](./public/doc/images/auth1.png) ![accessToken](./public/doc/images/auth2.png) ![accessToken](./public/doc/images/auth3.png) ## 自动生成文档 1. 创建Doc文档显示控制器 wiki 继承 DawnApi\facade\Doc; 2. 配置路由 ```php 'wiki'=>'demo/Wiki/index',//文档 ``` 3.配置文档显示目录 ```php /** * 获取文档 * @return mixed */ public static function getApiDocList() { //todo 可以写配置文件或数据 $apiList = Config::get('api_doc'); return $apiList; } ``` >可以改写次方法以存储以无限级的方式,为了方便采用的是配置方式 tp5 增加额外配置 创建application/extra/api_doc.php 文件 ```php return [ '1' => ['name' => '测试文档', 'id' => '1', 'parent' => '0', 'class'=>'','readme' =>''],//下面有子列表为一级目录 '2' => ['name' => '获取权限', 'id' => '2', 'parent' => '1', 'class'=>'','readme' => '/doc/md/auth.md'],//没有接口的文档,加载markdown文档 '3' => ['name' => '用户接口', 'id' => '3', 'parent' => '1', 'readme' => '','class'=>\app\test\controller\User::class],//User接口文档 ]; ``` ![wiki](./public/doc/images/wiki.png) |参数|必须|备注|作用| |:---:|:---:|:---:|:---:| |name|true|接口列表名称|显示列表名称| |id|true|主键|生成列表所用| |parent|true|生成列表所用| |class|true|接口位置|用于生成具体接口文档| |readme|true|markdown|可以生成没有接口的文档,比如一些说明 module和controller为空,readme填文档路径| 3.具体接口文档配置 - 接口描述部分(类文件的注释) ```php /** * Class User * @title 用户接口 * @url /v1/user * @desc 有关于用户的接口 * @version 1.0 * @readme /doc/md/user.md */ class User extends Base{} ``` |参数|必须|备注|作用| |:---:|:---:|:---:|:---:| |title|true|接口标题|显示列表名称| |url|true|请求地址|用户显示| |desc|true|接口描述|显示描述| |version|false|版本号|版本号| |readme|false|markdown文档|可以编写信息文档| ![ClassDoc](./public/doc/images/demo12.png) - 具体接口文档 1. 接口描述信息(注释填写) ```php /** * @title 获取用户信息 * @desc 获取用户信息 * @readme /doc/md/method.md */ public function getResponse(\think\Request $request){} ``` |参数|必须|备注|作用| |:---:|:---:|:---:|:---:| |title|true|接口标题|显示列表名称| |desc|true|接口描述|显示描述| |readme|false|markdown文档|可以编写信息文档| 2.请求参数 ```php /** * 参数规则 * @name 字段名称 * @type 类型 * @require 是否必须 * @default 默认值 * @desc 说明 * @range 范围 * @return array */ public static function getRules() { $rules = [ //共用参数 'all'=>[ 'time'=> ['name' => 'time', 'type' => 'int', 'require' => 'true', 'default' => '', 'desc' => '时间戳', 'range' => '',] ], 'get'=>[ 'id' => ['name' => 'id', 'type' => 'int', 'require' => 'true', 'default' => '', 'desc' => '用户id', 'range' => '',] ], 'post'=>[ 'username' => ['name' => 'username', 'type' => 'string', 'require' => 'true', 'default' => '', 'desc' => '用户名', 'range' => '',], 'age' => ['name' => 'age', 'type' => 'int', 'require' => 'true', 'default' => '18', 'desc' => '年龄', 'range' => '0-200',], ] ]; //合并父级类参数 return array_merge(parent::getRules(),$rules); } ``` ![data](./public/doc/images/demo14.png) 3. 返回参数(注释填写) ```php * @return int id ID * @return string username 错误信息 * @return int age 年龄 ``` |参数|必须|备注| |:---:|:---:|:---:| |第一个参数|true|类型| |第二个参数|true|参数名| |第三个参数|true|参数说明| >类型填写规则 ```php 'string' => '字符串', 'int' => '整型', 'float' => '浮点型', 'boolean' => '布尔型', 'date' => '日期', 'array' => '数组', 'fixed' => '固定值', 'enum' => '枚举类型', 'object' => '对象', ``` ![return](./public/doc/images/demo15.png) 整体效果 ![all](./public/doc/images/demo16.png) ![all](./public/doc/images/demo17.png) ![all](./public/doc/images/demo18.png) ## 开发文档参考 - [ThinkPHP5完全开发手册](http://www.kancloud.cn/manual/thinkphp5) - [restfulApi设计指南](http://www.ruanyifeng.com/blog/2014/05/restful_api.html) - [OAuth 2.0](http://www.ruanyifeng.com/blog/2014/05/oauth_2_0.html) ## 开发工具推荐 - IDE PHPSTORM - 模拟请求 Postman
18.476615
148
0.568105
yue_Hant
0.277715
aa7a128095ce933699654ddbd24f062d3fd20d32
2,627
md
Markdown
README.md
zadzbw/koa2-cors
45b6de0de6c4816b93d49335490b81995d450191
[ "MIT" ]
248
2016-12-29T06:40:05.000Z
2022-03-30T22:38:31.000Z
results/3_extract-readme/readme-files/koa2-cors/readme.md
proglang/dts-generate-results
937a89a919814372cae8ea424d88edd8f7eaf87f
[ "MIT" ]
5
2017-11-08T02:16:41.000Z
2020-06-27T02:05:01.000Z
README.md
zadzbw/koa2-cors
45b6de0de6c4816b93d49335490b81995d450191
[ "MIT" ]
27
2017-03-09T22:43:17.000Z
2022-03-17T09:20:48.000Z
# koa2-cors [![NPM version][npm-image]][npm-url] [![Node version][node-version-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Code coverage][codecov-image]][codecov-url] [![NPM download][npm-download-image]][npm-url] [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) ## install > it requires node v7.6.0 or higher now ```bash npm install --save koa2-cors ``` ## Usage ```js var Koa = require('koa'); var cors = require('koa2-cors'); var app = new Koa(); app.use(cors()); ``` ## Options ### origin Configures the **Access-Control-Allow-Origin** CORS header. expects a string. Can also be set to a function, which takes the `ctx` as the first parameter. ### exposeHeaders Configures the **Access-Control-Expose-Headers** CORS header. Expects a comma-delimited array. ### maxAge Configures the **Access-Control-Max-Age** CORS header. Expects a Number. ### credentials Configures the **Access-Control-Allow-Credentials** CORS header. Expects a Boolean. ### allowMethods Configures the **Access-Control-Allow-Methods** CORS header. Expects a comma-delimited array , If not specified, default allowMethods is `['GET', 'PUT', 'POST', 'PATCH', 'DELETE', 'HEAD', 'OPTIONS']`. ### allowHeaders Configures the **Access-Control-Allow-Headers** CORS header. Expects a comma-delimited array . If not specified, defaults to reflecting the headers specified in the request's **Access-Control-Request-Headers** header. ```js var Koa = require('koa'); var cors = require('koa2-cors'); var app = new Koa(); app.use(cors({ origin: function(ctx) { if (ctx.url === '/test') { return false; } return '*'; }, exposeHeaders: ['WWW-Authenticate', 'Server-Authorization'], maxAge: 5, credentials: true, allowMethods: ['GET', 'POST', 'DELETE'], allowHeaders: ['Content-Type', 'Authorization', 'Accept'], })); ... ``` [More details about CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS). ## License [MIT License](http://www.opensource.org/licenses/mit-license.php) [npm-image]: https://img.shields.io/npm/v/koa2-cors.svg [npm-download-image]: https://img.shields.io/npm/dm/koa2-cors.svg [node-version-image]: https://img.shields.io/node/v/koa2-cors.svg [npm-url]: https://www.npmjs.com/package/koa2-cors [travis-image]: https://api.travis-ci.org/zadzbw/koa2-cors.svg?branch=master [travis-url]: https://travis-ci.org/zadzbw/koa2-cors [codecov-image]: https://codecov.io/gh/zadzbw/koa2-cors/branch/master/graph/badge.svg [codecov-url]: https://codecov.io/gh/zadzbw/koa2-cors
28.868132
217
0.704987
yue_Hant
0.295942
aa7a33cb4f1d0340ef296e9dddd59710e89be64f
1,052
md
Markdown
gitComand.md
huaxiwwh/git_comand
a408f53877408fb561828cf8b479ed1fbe8a6530
[ "MIT" ]
null
null
null
gitComand.md
huaxiwwh/git_comand
a408f53877408fb561828cf8b479ed1fbe8a6530
[ "MIT" ]
null
null
null
gitComand.md
huaxiwwh/git_comand
a408f53877408fb561828cf8b479ed1fbe8a6530
[ "MIT" ]
null
null
null
## git本地工作原理 对于任何一个文件,在git内部存在三种区域:**工作区,暂存区和本地仓库**。 工作区表示新增或修改了某个文件,但是还没有提交保存。 暂存区表示已经把新增或修改提交到下次要保存的清单中了。 本地仓库则保存着已经被安全保存的文件。 涉及到的概念包括pull、push、merge、pull request、merge和clone ##### 初始化本地仓库 `pwd` ##### 查看当前所在目录 `git init` 在当前目录下初始化git仓库 hooks目录:脚本文件目录 info目录:保存了不希望在.gitignore文件中管理的忽略模式的全局可执行文件 logs目录:日志目录 objects目录:储存所有的数据内容 refs目录:储存指向数据提交对象的指针 config目录:文件包含了特有的配置选项 Head文件指向当前分支 ##### 设置签名信息(只针对当前库) ``` git config user.name <姓名> git config user.email <邮箱> ``` ##### 查看配置中的文件 `cat .git/config` ##### 查看工作区、暂存区状态 `git status` ##### 提交到暂存区 `git add <filename>` ##### 提交到本地仓库 `git commit -m 描述 <filename>` ##### 查看版本历史记录 `git log` ##### 显示回滚版本数 `git reflog` 前进后退版本 `git reset --hard 局部索引值` `git reset --hard Head^ 后退一步` `git reset --hard Head~n 后退n步` ## git分支管理 同时并行推进多个功能开发,提高开发效率 各个分支在开发过程中并不相互影响 ##### 查看分支 `git branch -v` ##### 创建新分支 `git branch 新分支名` ##### 删除分支 `git branch -d 分支名` ##### 切换分支 `git checkout 分支名` ##### 合并分支 切换到接受修改的分支上 `git checkout 分支名` `git merge 有新内容的分支名` #####
8.840336
48
0.671103
yue_Hant
0.381777
aa7a84b324c6f285a23f376e113dab6b54478a06
4,838
md
Markdown
articles/remoteapp/remoteapp-planvnet.md
OpenLocalizationTestOrg/azure-docs-pr15_pl-PL
18fa7535e7cdf4b159e63a40776995fa95f1f314
[ "CC-BY-3.0", "CC-BY-4.0", "MIT" ]
null
null
null
articles/remoteapp/remoteapp-planvnet.md
OpenLocalizationTestOrg/azure-docs-pr15_pl-PL
18fa7535e7cdf4b159e63a40776995fa95f1f314
[ "CC-BY-3.0", "CC-BY-4.0", "MIT" ]
null
null
null
articles/remoteapp/remoteapp-planvnet.md
OpenLocalizationTestOrg/azure-docs-pr15_pl-PL
18fa7535e7cdf4b159e63a40776995fa95f1f314
[ "CC-BY-3.0", "CC-BY-4.0", "MIT" ]
null
null
null
<properties pageTitle="Jak zaplanować wirtualnej sieci zbioru Azure RemoteApp | Microsoft Azure" description="Dowiedz się, jak zaplanować wirtualnej sieci zbioru Azure RemoteApp." services="remoteapp" documentationCenter="" authors="mghosh1616" manager="mbaldwin" /> <tags ms.service="remoteapp" ms.workload="compute" ms.tgt_pltfrm="na" ms.devlang="na" ms.topic="article" ms.date="08/15/2016" ms.author="elizapo" /> # <a name="how-to-plan-your-virtual-network-for-azure-remoteapp"></a>Jak planować wirtualnej sieci Azure RemoteApp > [AZURE.IMPORTANT] > Azure RemoteApp jest są przerywane. W tym artykule [anons](https://go.microsoft.com/fwlink/?linkid=821148) , aby uzyskać szczegółowe informacje. Ten dokument opisano, jak skonfigurować Azure sieci wirtualnych (VNET), jak i podsieć Azure RemoteApp. Jeśli użytkownik nie zna Azure wirtualnych sieci, to funkcja, która ułatwia Aby dokonać wirtualizacji infrastruktury sieciowej w chmurze i tworzenia rozwiązania hybrydowe z Azure i lokalnych zasobów. Więcej informacji o jej [w tym miejscu](../virtual-network/virtual-networks-overview.md). Jeśli chcesz zdefiniować zasady zabezpieczeń dla ruchu (przychodzące i wychodzące) w miejsce, w którym są wdrażania Azure RemoteApp wirtualnej sieci, zalecamy utworzyć osobną podsieć Azure RemoteApp od pozostałej części wdrażania usługi Azure wirtualnej sieci. Aby uzyskać więcej informacji dotyczących sposobu definiowania zasad zabezpieczeń w danej podsieci Azure wirtualnej sieci, przeczytaj [Co to jest grupa zabezpieczeń sieci (NSG)?](../virtual-network/virtual-networks-nsg.md). ## <a name="types-of-azure-remoteapp-collections-with-azure-virtual-networks"></a>Typy Azure RemoteApp kolekcji z Azure wirtualnych sieci Poniższej ilustracji Pokaż dwie opcje innej kolekcji, gdy chcesz użyć wirtualnej sieci. ### <a name="azure-remoteapp-cloud-collection-with-vnet"></a>Azure zbiór chmury RemoteApp z VNET ![Azure RemoteApp - zbiór chmury z VNET](./media/remoteapp-planvpn/ra-cloudvpn.png) Jest to zbiór Azure RemoteApp miejsce, w którym wszystkie zasoby, które sesji RemoteApp hosts muszą mieć dostęp do wdrożonych w Azure. Można je w tym samym VNET jako RemoteApp VNET lub innego VNET platformy Azure. ### <a name="azure-remoteapp-hybrid-collection-with-vnet"></a>Azure zbiór hybrydowych RemoteApp z VNET ![Azure RemoteApp - zbiór hybrydowego z VNET](./media/remoteapp-planvpn/ra-hybridvpn.png) Jest to zbiór Azure RemoteApp niektóre zasoby, które hostów sesji RemoteApp muszą mieć dostęp do umiejscowienia wdrożonym lokalnego. RemoteApp VNET jest połączony z siecią lokalnego przy użyciu technologii hybrydowych Azure, takiego jak VPN lub rozsyłania Express witryny do witryny. ## <a name="how-the-system-works"></a>Jak działa system W obszarze okładki Azure RemoteApp wdraża Azure maszyn wirtualnych (z przekazanego obrazu) do wybranego podczas inicjowania obsługi administracyjnej podsieci wirtualnej sieci. Jeśli przyjął zbioru hybrydowych próbie rozpoznawania nazwy FQDN kontrolera domeny, wprowadzone w obsługi administracyjnej przepływu pracy z serwera DNS w sieci wirtualnej. Jeśli łączysz się z istniejącą siecią wirtualną, upewnij się udostępnić potrzebne porty w Twojej sieci grupy zabezpieczeń w danej podsieci Azure RemoteApp. Zaleca się, że używasz [wystarczającą podsieć Azure RemoteApp](remoteapp-vnetsizing.md). Największa obsługiwanych przez Azure wirtualnej sieci jest /8 (za pomocą definicji podsieci CIDR). Danej podsieci powinny być wystarczająco duża, aby uwzględnić wszystkie maszyny RemoteApp Azure wirtualne w górę skali po więcej użytkowników uzyskują dostęp do aplikacji. Poniżej przedstawiono czynności, które należy włączyć w danej podsieci wirtualną sieć: 2. Ruch wychodzący z podsieci powinny mieć możliwość w zakresie portów 10101 10175 komunikowanie się za pomocą jednej z wewnętrznych usług Azure RemoteApp. 3. Ruch wychodzący powinny mieć możliwość z danej podsieci nawiązywanie połączenia z magazynem Azure na porcie 443 4. Jeśli masz usługi Active Directory obsługiwany w Azure, upewnij się, że wszelkie maszyn wirtualnych w wirtualnej sieci podsieć Azure RemoteApp się połączyć dla tego kontrolera domeny. Systemu DNS w sieci wirtualnej powinno być możliwe do rozpoznawania nazwy FQDN tego kontrolera domeny. ## <a name="virtual-network-with-forced-tunneling"></a>Wirtualna sieć z wymuszonego tunneling [Wymuszone tunelowania](../vpn-gateway/vpn-gateway-about-forced-tunneling.md) jest teraz obsługiwane dla wszystkich nowych zbiorów Azure RemoteApp. Obecnie nie jest obsługiwana migracji istniejącego zbioru do obsługi tunneling wymuszonego. Musisz usunąć wszystkie istniejące zbiory przy użyciu VNET, do którego tworzysz łącze, aby Azure RemoteApp i utworzyć nową, aby uzyskać wymuszone tunneling włączone kolekcji.
79.311475
484
0.806118
pol_Latn
0.999917
aa7ace5e0bdb96050b8d83393d0d4b10e120e86b
303
md
Markdown
TODO.md
laggingreflex/redux-react-router-async-example
f289912c3562694157ac82a1a3c498eb681a831f
[ "MIT" ]
1,081
2015-06-15T23:21:17.000Z
2022-03-14T03:51:24.000Z
TODO.md
laggingreflex/redux-react-router-async-example
f289912c3562694157ac82a1a3c498eb681a831f
[ "MIT" ]
62
2015-06-19T23:09:24.000Z
2017-02-21T15:36:01.000Z
TODO.md
laggingreflex/redux-react-router-async-example
f289912c3562694157ac82a1a3c498eb681a831f
[ "MIT" ]
218
2015-06-18T04:43:37.000Z
2019-04-20T10:19:53.000Z
# TODO - JSDoc - loading spinner for data fetching - use inline styles https://github.com/emmenko/redux-react-router-async-example/issues/7 - add use-case for `AsyncProps` - add use-case for external plugin https://dl.dropboxusercontent.com/u/4803975/ReactEurope/slides.pdf - tests? - other examples?
27.545455
101
0.768977
eng_Latn
0.385106
aa7b4b95ab7de9d399967ff6f372dc4ea69e29b1
8,732
md
Markdown
data/readme_files/jjensn.lifelights.md
DLR-SC/repository-synergy
115e48c37e659b144b2c3b89695483fd1d6dc788
[ "MIT" ]
5
2021-05-09T12:51:32.000Z
2021-11-04T11:02:54.000Z
data/readme_files/jjensn.lifelights.md
DLR-SC/repository-synergy
115e48c37e659b144b2c3b89695483fd1d6dc788
[ "MIT" ]
null
null
null
data/readme_files/jjensn.lifelights.md
DLR-SC/repository-synergy
115e48c37e659b144b2c3b89695483fd1d6dc788
[ "MIT" ]
3
2021-05-12T12:14:05.000Z
2021-10-06T05:19:54.000Z
# lifelights Control your home based on _any_ horizontal rectangles by using simple screenshots. ### 2 minute video [![2 minute demo using Heroes of the Storm](http://img.youtube.com/vi/U1-Tj4fPKRE/0.jpg)](http://www.youtube.com/watch?v=U1-Tj4fPKRE "Heroes of the Storm + IoT") ### Requirements - Microsoft Windows - Python 2.7 [(link)](https://www.python.org/ftp/python/2.7/python-2.7.msi) ### First time installation - Clone this repository to a directory on your machine [(how-to)](https://help.github.com/desktop/guides/contributing/cloning-a-repository-from-github-to-github-desktop/) - Start > cmd > cd to the source code directory - ```pip install -r requirements.txt``` ### Usage - Double click on 'lifelights.py' in Windows Explorer or run python lifelights.py from the command-line - Enter the profile number when prompted - Select the profile from the menu ### Known limitations - Not compatible with OSX - Game must be run as "windowed fullscreen" or "windowed" - API POST requests will always be in JSON format - OSC messages will be an array, not a dictionary, with the name of the field before the field value. ### Profile configuration details Currently there is no input sanitation or verification, so drifting from the guidlines below will likely break the script. - **window_title** (string): Title of the window that will be monitored - **scan_interval** (float): Interval in seconds to take a screenshot - **quadrant_capture_count** (integer): Number of quadrants to capture on the screen. Can be 1, 2, or 4. See "Final notes" section for details. - **quadrant_number** (integer): Which quadrant to capture. See "Final notes" section for details. - **watchers**: List of different 'watchers' to calculate. For example, if there was a green health bar and a blue mana bar, you would add a separate entry for both. To avoid wasting resources, this uses the same screenshot for each watcher listed. That is to say, there won't be another screenshot taken until all the watchers are processed. - **name** (string): Common name of what you are monitoring. Used for logging but can be anything that makes sense to you - **debug** (bool): true or false, displays the captured screen and a slider to set the blur amount - **change_threshold** (integer): Percentage (0-100) that determines when an API request should fire off. Prevents flooding the API endpoint with minor changes in health. For example, if this is set to 5, lights will only be updated on any 5% change to a health bar. 0 = don't throttle - **blur_amount** (integer): Amount of median blur to apply. Finds the median color of parts of an image -- useful for statuses who may not all be the same color. - **color_upper_limit**: Collection of R,G,B colors that sets the upper limit for the status bar to monitor. In layman's terms, "the lightest color the status bar will ever be". - **color_lower_limit**: Collection of R,G,B colors that sets the lower limit for the status bar to monitor. In layman's terms, "the darkest color the status bar will ever be". - *Take note*: The tighter you can set the color boundaries, the less false positives the script will detect. Tweak as needed. - **requests**: List of RESTful events or OSC messages that should be fired when the ```change_threshold``` is passed - **endpoint** (string): API endpoint - **method** (string): POST or GET for REST, OSC for OSC - **pre_api_delay** (float): Interval in seconds to sleep before sending the API request. Use 0.0 for no delay. - **post_api_delay** (float): Interval in seconds to sleep after sending the API request. Use 0.0 for no delay. - **payloads**: Collection of keys/values to send to the API endpoint. Currently supports the following special values: - *LIFELIGHT_RGB*: Array of an RGB color, calculated using the percentage to fade from green -> yellow -> red - *LIFELIGHT_RECT_WIDTH*: Integer of the current width of the status bar being monitored, in pixels - *LIFELIGHT_PERCENT*: Integer (0-100) of the status bar percentage - *LIFELIGHT_RAW_PERCENT*: Floating point (0-1) of the status bar percentage ### Final notes, thoughts and acknowledgements - ```quadrant_capture_count``` and ```quadrant_number``` were implemented as a way to help save computer resources and prevent false positives. The reasoning behind it is, if a user only cares about the bottom left corner of the screen, why save the whole screen in memory and process it if we don't need to? - ```quadrant_capture_count``` can be either 1, 2 or 4. 1 tells the script that we only care about a single quadrant (top left, top right, bottom left, bottom right). 2 tells the script we care about 2 quadrants (either top or bottom). 4 is all 4 quadrants, or in other words, the entire screen. - ```quadrant_number``` should change depending on the value of ```quadrant_capture_count```. - If ```quadrant_capture_count = 1```, ```quadrant_number``` should be 1-4 (1 = top left, 2 = top right, 3 = bottom left, 4 = bottom right) - If ```quadrant_capture_count = 2```, ```quadrant_number``` should be 1-2 (1 = top half, 2 = bottom half) - ```quadrant_number``` is unused when ```quadrant_capture_count = 4``` (because it's the whole screen) - The detection of rectanges is dynamic, but by design detection of the screen is not. If the game window is moved after launch, scanning may return no results. - Try and find a good balance between ```scan_interval``` and ```change_threshold```, performance will be better and you won't slam the API endpoint. - You will, of course, need an API endpoint to use. I am a contributor to [Home Assistant](https://home-assistant.io/), and a big fan. With that said, this script was designed with Home Assistant in mind, but can of course work with any API endpoint. - The implementation would have been very different (ie: much worse) if it wasn't for [Adrian Rosebrock's article](http://www.pyimagesearch.com/2015/09/14/ball-tracking-with-opencv/) on tracking objects using Python. - Thanks to all the authors of the libraries I used who are way smarter than me. [cv2](https://github.com/opencv/opencv/graphs/contributors), [pillow](https://github.com/python-pillow/Pillow/graphs/contributors), [numpy](https://github.com/numpy/numpy/graphs/contributors), [pyyaml](https://github.com/yaml/pyyaml/graphs/contributors), and [requests](https://github.com/kennethreitz/requests/graphs/contributors). ### FAQ (well, what I can imagine is going to be asked) - Can I get banned for using this? - I don't know buddy, I'm not a wizard. From a technical standpoint, the script just takes a screenshot and does not read any memory from the game itself. So if screenshots are bannable, then probably, yes. - You know what would be really cool is if you ... - Yes that would be cool. [I accept pull requests](https://help.github.com/articles/creating-a-pull-request/). I also accept Venmo if you can't write the feature yourself. - Are there performance implications by using this? - I didn't see any, but your experience is going to based on your computer, and what configuration options used. You should not notice anything if you have an idle CPU core available, as the image processing runs single-threaded in a separate process. - My 'xyz home autiomation component' isn't updating fast enough - Sorry about that, there isn't anything that can be done once the API request is fired off. You can see the time it was fired off in the output window of the script. - Does it work with ... ? - As long as the game or application can be set to windowed mode, and as long as you are trying to measure the width of a rectangle, then yes, this should work just fine. - How do I get the upper and lower bound colors? - Take a screenshot of your game, open in paint, color drop it, and find the RGB value. Move the saturaton slider up and down to get lighter and darker colors. ### To-do - Add support for verticle rectangles - Add ability to pass configuration file via command line - Better configuration validation - Cross platform support ### Process overview ![Detect health bar using RGB colors](http://i.imgur.com/rbIWEJr.png) The image above shows a visible rectangle being drawn around the script detected rectange. You can uncomment lines 35, 46-50 in the WidthWatcher module to draw a similar rectangle for your application. Good for troubleshooting. ![Dynamically adjusts to the bar](http://i.imgur.com/ZVNUve9.png) As your health (or mana, or anything) gets smaller, the invisible rectangle gets smaller. This updates at the ```scan_interval``` rate. The script will then fire off the RESTful API calls based on the settings you define in the configuration file.
89.102041
413
0.750229
eng_Latn
0.994769
aa7b62eb4ea055ce1647c347b522f37ee95d23dc
2,343
md
Markdown
docs/standard/microservices-architecture/multi-container-microservice-net-applications/index.md
AlejandraHM/docs.es-es
5f5b056e12f9a0bcccbbbef5e183657d898b9324
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/standard/microservices-architecture/multi-container-microservice-net-applications/index.md
AlejandraHM/docs.es-es
5f5b056e12f9a0bcccbbbef5e183657d898b9324
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/standard/microservices-architecture/multi-container-microservice-net-applications/index.md
AlejandraHM/docs.es-es
5f5b056e12f9a0bcccbbbef5e183657d898b9324
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Diseñar y desarrollar aplicaciones .NET basadas en varios contenedores y microservicios description: Arquitectura de microservicios de .NET para aplicaciones .NET en contenedor | Descripción de la arquitectura externa para diseñar y desarrollar aplicaciones .NET basadas en varios contenedores y microservicios author: CESARDELATORRE ms.author: wiwagn ms.date: 10/02/2018 ms.openlocfilehash: 3bbf746aa9c0b66a097b8c4df2964b5679342fd0 ms.sourcegitcommit: ccd8c36b0d74d99291d41aceb14cf98d74dc9d2b ms.translationtype: HT ms.contentlocale: es-ES ms.lasthandoff: 12/10/2018 ms.locfileid: "53144148" --- # <a name="designing-and-developing-multi-container-and-microservice-based-net-applications"></a>Diseñar y desarrollar aplicaciones .NET basadas en varios contenedores y microservicios *Si desarrolla aplicaciones de microservicios en contenedor significa que está compilando aplicaciones de varios contenedores. Pero una aplicación de varios contenedores también podría ser más sencilla (por ejemplo, una aplicación de tres niveles) y podría no compilarse con una arquitectura de microservicios.* Anteriormente se planteó la pregunta "¿Se necesita Docker para compilar una arquitectura de microservicios?". La respuesta es un no rotundo. Docker es un habilitador y puede proporcionar grandes ventajas, pero los contenedores y Docker no son un requisito imprescindible para los microservicios. Por ejemplo, podría crear una aplicación basada en microservicios con o sin Docker al usar Azure Service Fabric, que es compatible con los microservicios que se ejecutan como procesos simples o como contenedores de Docker. Pero si sabe cómo diseñar y desarrollar una aplicación basada en microservicios que también se base en contenedores de Docker, podrá diseñar y desarrollar cualquier modelo de aplicación más sencillo. Por ejemplo, podría diseñar una aplicación de tres niveles que también requiera un enfoque de varios contenedores. Debido a eso, y dado que las arquitecturas de microservicios son una tendencia importante en el mundo de los contenedores, esta sección se centra en la implementación de una arquitectura de microservicios con contenedores de Docker. >[!div class="step-by-step"] >[Anterior](../docker-application-development-process/docker-app-development-workflow.md) >[Siguiente](microservice-application-design.md)
97.625
547
0.830559
spa_Latn
0.987599
aa7c39aa0e784a837a0c95c4e4474f89e72267ff
35,973
md
Markdown
help/sites-administering/concepts.md
ramboz/experience-manager-64.en
e657010fb32780be98c73d65045ce285dad92e26
[ "MIT" ]
null
null
null
help/sites-administering/concepts.md
ramboz/experience-manager-64.en
e657010fb32780be98c73d65045ce285dad92e26
[ "MIT" ]
null
null
null
help/sites-administering/concepts.md
ramboz/experience-manager-64.en
e657010fb32780be98c73d65045ce285dad92e26
[ "MIT" ]
null
null
null
--- title: Concepts seo-title: Concepts description: General Concepts of eCommerce with AEM. seo-description: General Concepts of eCommerce with AEM. uuid: 1e3f0518-7797-48a7-bac7-0dc3ddaa0385 contentOwner: Guillaume Carlino products: SG_EXPERIENCEMANAGER/6.4/SITES topic-tags: e-commerce content-type: reference discoiquuid: c8ef374a-38d8-4cd4-a86e-69f0a5b4c2bc --- # Concepts{#concepts} The integration framework provides the mechanisms and components for: * connection to an eCommerce engine * pulling data into AEM * displaying that data and collecting the shopper's responses * returning transaction details * search over the data from both systems This means that: * Shoppers can register and shop without waiting. * Price changes will be seen by shoppers without delay. * Products can be added as required. >[!NOTE] > >The eCommerce framework can be used with: > >* [Magento](https://www.adobe.io/apis/experiencecloud/commerce-integration-framework/integrations.html#!AdobeDocs/commerce-cif-documentation/master/integrations/02-AEM-Magento.md) > >* [SAP Commerce Cloud](/help/sites-administering/sap-commerce-cloud.md) > >* [Salesforce Commerce Cloud](https://github.com/adobe/commerce-salesforce) > >[!CAUTION] > >The [eCommerce integration framework](https://www.adobe.com/solutions/web-experience-management/commerce.html) is an AEM Add-On. > >Your Sales representative will be able to give full details, according to the appropriate engine. >[!CAUTION] > >The framework provides the basis requirements for your own project. > >A certain amount of development work is always needed to adapt the framework to your specifications. >[!CAUTION] > >The standard AEM installation includes the generic AEM (JCR) eCommerce implementation. > >This is currently intended for demonstration purposes, or as the basic foundation for a custom implementation according to your requirements. To optimize operation, both AEM and the eCommerce engine concentrate on their own area of expertise. Information is transferred between the two in real time; for example: * AEM can: * Request: * Product Information from the eCommerce engine. * Provide: * User views for product information, shopping cart and checkout. * Shopping cart and checkout information to the eCommerce engine. * Search Engine Optimization (SEO). * Community functionality. * Unstructured marketing interactions. * eCommerce engine can: * Provide: * Product information from the database. * Product variant management. * Order management. * ERP (Enterprise Resource Planning). * Search within the product information. * Process: * The shopping cart. * The checkout. * Order fulfillment. >[!NOTE] > >The exact details will depend on the eCommerce engine and the project implementation. A number of out-of-the-box AEM components are provided to use the integration layer. Currently these include: * Product information * Shopping cart * Check-out * My Account Various search options are also available. ## Architecture {#architecture} The integration framework provides the API, a range of components to illustrate functionality and several extensions to provide examples of connection methods: ![chlimage_1-167](assets/chlimage_1-167.png) The framework gives you access to functionality such as: ![chlimage_1-168](assets/chlimage_1-168.png) ### Implementations {#implementations} AEM eCommerce is implemented with an eCommerce engine: * The eCommerce integration framework has been built to allow you to easily integrate an eCommerce engine with AEM. The purpose built eCommerce engine controls product data, shopping carts, checkout and order fulfillment, while AEM controls the data display and marketing campaigns. >[!NOTE] > >The standard AEM installation includes the generic AEM (JCR) eCommerce implementation. > >This is currently intended for demonstration purposes, or as the basic foundation for a custom implementation according to your requirements. > >AEM eCommerce implemented within AEM using generic development based on JCR is: > >* A standalone, AEM-native eCommerce example to illustrate use of the API. This can be used to control product data, shopping carts and checkout in conjunction with the existing data display and marketing campaigns. In this case the product database is stored in the repository native to AEM (Adobe's implementation of [JCR](https://docs.adobe.com/content/docs/en/spec/jcr/2.0/index.html)). > The standard AEM installation contains the basics of the [generic eCommerce implemention](/help/sites-administering/generic.md). > ### Commerce Providers {#commerce-providers} When importing data from a commerce engine into your AEM eCommerce site, a commerce provider is used to supply the importers with data. One commerce provider can support multiple importers. A commerce provider is AEM code customized to either: * interface to a back-end commerce engine * implement a commerce system on top of the JCR repository Two example commerce providers are currently available for AEM: * one for geometrixx-hybris * another for geometrixx-generic (JCR) Though usually a project will need to develop their own, customized, commerce provider specific to their PIM and product data schema. >[!NOTE] > >The geometrixx importers use CSV files; there is a description of the schema accepted (with custom properties allowed) in the comments above their implementation. The [ProductServicesManager](https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/javadoc/com/adobe/cq/commerce/pim/api/ProductServicesManager.html) maintains (through [OSGi](/help/sites-deploying/configuring.md#osgi-configuration-settings))a list of implementations of the [ProductImporter](https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/javadoc/com/adobe/cq/commerce/pim/api/ProductImporter.html) and [CatalogBlueprintImporter](https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/javadoc/com/adobe/cq/commerce/pim/api/CatalogBlueprintImporter.html) interfaces. These are listed in the **Importer/Commerce Provider** dropdown field of the importer wizard (using the `commerceProvider` property as a name). When a specific importer/commerce provider is available from the dropdown, any supplemental data it needs must be defined (depending on the importer type) in either: * `/apps/commerce/gui/content/catalogs/importblueprintswizard/importers` * `/apps/commerce/gui/content/products/importproductswizard/importers` The folder under the appropriate `importers` folder must match the importer name; for example: * `.../importproductswizard/importers/geometrixx/.content.xml` The format of the source import file is defined by the importer. Or the importer may establish a connection (e.g WebDAV or http) to the commerce engine. ## Roles {#roles} The integrated system caters for the following roles to maintain the data: * Product Information Management (PIM) User who maintains: * Product information. * Taxonomy, categorization, approval. * Interacts with digital asset management. * Pricing - often this comes from an ERP system and is not explicitly maintained in the commerce system. * Author / Marketing Manager who maintains: * Marketing content for all channels. * Promotions. * Vouchers. * Campaigns. * Surfer / Shopper who: * Views your product information. * Places items into the shopping cart. * Checks out their orders. * Expect order fulfillment. Though the actual location can depend on your implementation; for example, generic or with an eCommerce engine: ![chlimage_1-169](assets/chlimage_1-169.png) ## Products {#products} ### Product Data versus Marketing Data {#product-data-versus-marketing-data} #### Structural versus Marketing Categories {#structural-versus-marketing-categories} If the following two categories can be differentiated, then this allows you to make clear URLs with a meaningful structure (trees of `cq:Page` nodes) and therefore, very close to classical AEM content management): * *Structural *categories The category tree defining *what is a product*; for example: `/products/mens/shoes/sneakers` * *Marketing* categories All other categories a *product can belong to*; for example: `/special-offers/christmas/shoes`) ### Product Data {#product-data} To portray and manage your product you will want to hold a range of information about them. Product data can be: * maintained directly in AEM (generic). * maintained in the eCommerce engine and made available in AEM. Depending on the data type it is [synchronized](#catalog-maintenance-data-synchronization) as necessary, or accessed directly; for example, highly volatile and critial data such as product prices are retrieved from the ecommerce engine on every page request to ensure they are always up-to-date. In either case, when the product data has been entered/imported into AEM it can be seen from the **Products** console. Here the card and list views of a product show information such as: * the image * the SKU code * when last modified ![chlimage_1-170](assets/chlimage_1-170.png) ### Product Variants {#product-variants} For appropriate products information about variants can also be held. For example, for items of clothing the different colors available are held as variants: ![ecommerceproductvariants](assets/ecommerceproductvariants.png) ### Product Attributes {#product-attributes} The individual attributes held about each product may depend on the eCommerce engine being used and your AEM implementation. These are available (as appropriate) when viewing product pages and/or editing product information and can include: * **Image** An image of the product. * **Title** The product name. * **Description** A textual description of the product. * **Tags** Tags used to group related products. * **Default Asset Category** A default category for assets. * **ERP Data** Enterprise resource planning (ERP) information. * **SKU** Stock-keeping unit (SKU) information. * **Color** * **Size** * **Price** The unit price of the product. * **Summary** A summary of the product features. * **Features** Fuller details of the product features. ### Product Assets {#product-assets} A selection of assets can be held for individual products. Commonly these include images and videos. ## Catalogs {#catalogs} A catalog groups product data together for both ease of management and representation to the shopper. Often a catalog is structured according to attributes such as language, geographical area, brand, season, hobby, sport, amongst many others. ### Catalog Structure {#catalog-structure} #### Catalogs in Multiple Languages {#catalogs-in-multiple-languages} AEM supports product content in multiple languages. When requesting data, the integration framework retrieves the language from the current tree (for example, `en_US` for pages under `/content/geometrixx-outdoors/en_US`). For a multi-lingual store, you can import your catalog for each language tree individually (or copy it by means of [MSM](/help/sites-administering/msm.md)). #### Catalogs for Multiple Brands {#catalogs-for-multiple-brands} As with languages, large multi-national companies can need to cater for multiple brands. #### Catalogs by Tags {#catalogs-by-tags} Tags can also be used to group products together into a catalog. These can be used for more dynamic catalogs such as seasonal offers. ### Catalog Setup (Initial Import) {#catalog-setup-initial-import} Depending on your implementation, you can import the product data required for your base catalog into AEM from: * a CSV file (for the generic implementation) * the eCommerce engine ### Catalog Maintenance (Data Synchronization) {#catalog-maintenance-data-synchronization} Further changes to the product data will be inevitable: * for the generic implementation these can be managed with the [product editor](/help/sites-administering/generic.md#editing-product-information) * when using an [eCommerce engine the changes must be synchronized](#data-synchronization-with-an-ecommerce-engine-ongoing) #### Data Synchronization with an eCommerce Engine (Ongoing) {#data-synchronization-with-an-ecommerce-engine-ongoing} After the intial import, changes to your product data are inevitable. When using an eCommerce engine the product data is maintained there and needs to be available in AEM. This product data needs to be synchronized when updates are made. This can depend on the type of data: * A [periodic synchronization is used together with a data feed of changes](/help/sites-developing/sap-commerce-cloud.md#product-synchronization-and-publishing). In addition to this, you can select specific updates for an express update. * Highly volatile data, such as price information, is retrieved from the commerce engine for each page request, to ensure that it is always up to date. ### Catalogs - Performance and Scaling {#catalogs-performance-and-scaling} Importing a large catalog with a high number of products (usually more than 100,000) from an eCommerce engine (PIM) can impact the system due to the large number of nodes. It can also slow down the authoring instance if the products have associated assets (eg product images). This is due to the fact that the post-processing of these assets is CPU and memory intensive. There are various strategies you can choose to work around these issues: * [Bucketing](#bucketing) - to cater for the large number of nodes * [Offload asset post processing to a dedicated instance](#offload-asset-post-processing-to-a-dedicated-instance) * [Only import product data](#only-import-product-data) * [Import Throttling and Batch Saves](#import-throttling-and-batch-saves) * [Performance Testing](#performance-testing) * [Performance - Miscellaneous](#performance-miscellaneous) #### Bucketing {#bucketing} If a JCR node has a lot of direct child nodes (e.g. 1000 and more), buckets (phantom folders) are required to ensure that performance is not affected. These are generated according to an algorithm when importing. These buckets take the form of phantom folders that are introduced to your catalog structure, but can be configured so they are not apparent in public URLs. #### Offload asset post processing to a dedicated instance {#offload-asset-post-processing-to-a-dedicated-instance} This scenario involves setting up two author instances: 1. Master author instance Imports product data from PIM, on which post-processing for the asset paths is disabled. 1. Dedicated DAM author instance Imports and post-processes product assets from the PIM, then replicates these back to the master author instance for use. ![Architecture diagram](assets/chlimage_1-171.png) #### Only import product data {#only-import-product-data} For cases when products do not contain assets (images) to be imported, you can import the product data without being affected by asset post-processing. ![Architecture diagram](assets/chlimage_1-172.png) <!--delete #### Import Throttling and Batch Saves {#import-throttling-and-batch-saves} [Import throttling](/help/sites-deploying/scaling.md#import-throttling) and [batch saves](/help/sites-deploying/scaling.md#batch-saves) are two general [scaling](/help/sites-deploying/scaling.md) mechanisms that can help when importing large volumes of data.--> #### Performance Testing {#performance-testing} Performance testing must be taken into consideration on AEM eCommerce implementations: * Author environment: Background (e.g. import) activity can occur at the same time as normal user activity (e.g. page editing) and even if front-end performance is (in general) given a higher priority, bad performance seen by online authors can lead to frustration capable of blocking a go-live decision. * Publication environment: Replication is a critical process to ensure that the content is published quickly and reliably. This can be impacted by how the author groups the content to be published. * Front-end: The mixture of front-end and cache invalidations can potentially lead to performance surprises. Testing helps avoid these. Please note that this performance testing requires knowledge and analysis of your target: * Content volumes * Assets * Localized, I18ned products and SKUs * User activity: * Bulk edition * Bulk publication * Intense search requests * Background processes * Imports * Synchronization updates (e.g. pricing) * Maintenance requirements (backup, Tar PM optimization, datastore garbage collection, etc) #### Performance - Miscellaneous {#performance-miscellaneous} For all implementations the following points can be kept in mind: * As product, stock-keeping units and categories can be numerous, try to use the least number of nodes possible to model the content. The more nodes you have, the more flexible your content is (e.g. parsys). However, everything is a trade-off and do you need individual flexibility (by default) when manipulating (for example) 30K products? * Avoid duplication as much as you can (see localization), or when you do, think about how many nodes your duplication will lead to. * Try to tag your content as much as you can in order to prepare the query optimization. For example: `/content/products/france/fr/shoe/reebok/pump/46 SKU` should have one tag per content level (i.e. country, language, category, brand, product). Searching for `//element(*,my:Sku)[@country=’france’ and @language=’fr’` and `@category=’shoe’ and @brand=’reebok’ and @product=’pump’]` will be drastically quicker than searching for `/jcr:root/content/france/fr/shoe/reebok/pump/element(*,my:Sku)` * In your technical stack, plan very factorized content access model and services. This is a general best practice, but is even more crucial her, as you can, in optimization phases, add application caches for data that is read very often (and that you do not want to fill the bundle cache with). For example, attributes management is very frequently a good candidate for caching as it concerns data that is updated through products import. * Consider use of [proxy pages](/help/sites-administering/concepts.md#proxy-pages). ### Catalog Section Pages {#catalog-section-pages} Catalog sections provide you with, for example: * an introduction (image and/or text) to the category; this can also be used for banners and teasers to promote special offers * links to the individual products in that category * links to the other categories ![ecommerce_categoryrunning](assets/ecommerce_categoryrunning.png) ### Product Pages {#product-pages} Product pages provide comprehensive information about individual products. Dynamic updates from are also reflected; for example, price changes that are registered on the eCommerce engine. Product pages are AEM pages that use the **Product** component; for example, within the **Commerce Product** template: ![ecommerce_nairobirunnersgreen](assets/ecommerce_nairobirunnersgreen.png) The Product component provides: * General product information; including text and images. * Pricing; this is usually retrieved from the eCommerce engine every time the page is shown/refreshed. * Product variant information; for example, color and size. This information allows the shopper to select the following when adding an item to their basket: * Color and size variants * Quantity #### Product Landing Pages {#product-landing-pages} These are AEM pages that provide primarily static information; for example, an introduction and overview with links to the underlying product pages. ### Product Component {#product-component} The **Product** component can be added to any page with a parent page that delivers the required metadata (i.e. the paths to `cartPage` and `cartObject`). In the demonstration site, Geometrixx Outdoors, this is supplied by `UserInfo.jsp`. The **Product** component can also be customized according to your individual requirements. ### Proxy Pages {#proxy-pages} Proxy pages are used to simplify the structure of the repository and optimize storage for large catalogs. Creating a catalog will use ten nodes per product as it provides individual components for each product that you can update and customise within AEM. This large number of nodes can become an issue if your catalog contains hundreds or even thousands of products. To avert any issues you can create your catalog using proxy pages. Proxy pages use a two-node structure ( `cq:Page` and `jcr:content`) that does not contain any of the actual product content. The content is generated, at request time, by referencing the product data and the template page. However, there is a trade-off. You will not be able to customize your product information within AEM, a standard template (defined for your site) will be used. >[!NOTE] > >You will not experience any problems if you import a large catalog without proxy pages. > >You can convert from one methodology to the other at any time. You can also convert a sub-section of your catalog. ## Promotions and Vouchers {#promotions-and-vouchers} ### Vouchers {#vouchers} Vouchers are a tried and tested method of offering discounts to either attract shoppers into making a purchase and/or rewarding customer's loyalty. * Vouchers supply: * A voucher code (to be typed into the cart by the shopper). * A voucher label (to be displayed after the shopper has entered it into the cart). * A promotion path (which defines the action the voucher applies). * External commerce engines can also supply vouchers. In AEM: * A voucher is a page-based component that is created / edited with the Websites console. * The **Voucher** component provides: * A renderer for voucher administration; this shows any vouchers currently in the cart. * The edit dialogs (form) for administrating (adding/removing) the vouchers. * The actions required for adding/removing vouchers to/from the cart. * Vouchers do not have their own on and off date/times, but use those of their parent campaigns. >[!NOTE] > >AEM uses the term **Voucher**, this is synonymous with the term **Coupon**. ### Promotions {#promotions} Promotions, together with vouchers, allow you to realize scenarios such as: * A company provides custom prices for employees, which is a handcrafted list of users. * Long-term customers receive discounts on all orders. * A sale price offered over a well-defined time period. * A customer receives a voucher when their previous order exceeded a specific amount. * A customer who buys *product-X* is offered a discount on *product-Y* (pair products). Promotions are not usually maintained by product information managers, but by marketing managers: * A Promotion is a page-based component that is created / edited with the Websites console. `` * Promotions supply: * A priority * A promotion handler path * You can connect promotions to a campaign to define their on/off date/times. * You can connect promotions to an experience to define their segments. * Promotions not connected to an experience will not fire on its own, but can still be fired by a Voucher. * The Promotion component contains: * renderers and dialogs for promotion administration * sub-components for rendering and editing configuration parameters specific to the promotion handlers In AEM the promotions are also integrated into the [Campaign Management](/help/sites-authoring/personalization.md): * a [campaign](/help/sites-authoring/personalization.md) specifies the on/off times * [experiences](/help/sites-authoring/personalization.md) *within* the campaign are used to group assets (teaserpages, promotions, etc) according to the audience segment they correspond to A promotion can be held either in an experience or directly in the campaign: * If a promotion is held in an experience, then it can be automatically applied to an audience segment. For example, in the geometrixx-outdoors sample site, the promotion: `/content/campaigns/geometrixx-outdoors/big-spender/ordervalueover100/free-shipping` is in an experience, and so fires automatically whenever the segment ( `ordervalueover100`) resolves. * If a promotion does not appear within an experience (only in the campaign), then it cannot be automatically applied to an audience. However, it can still be fired if the shopper enters a voucher into their cart and that voucher references the promotion. For example, the promotion: `/content/campaigns/geometrixx-outdoors/article/10-bucks-off` is outside an experience and so never fires automatically (ie: based on segmentation). It is, however, referenced by the vouchers which can be found in several of the experiences within the article campaign. Entering those voucher codes into the cart will result in the promotion firing. >[!NOTE] > >[hybris promotions](https://www.hybris.com/modules/promotion) and [hybris vouchers](https://www.hybris.com/en/modules/voucher) cover everything that influences the shopping cart and is related to pricing. Promotion specific marketing content (such as banners, etc) is not part of the hybris promotion. ## Personalization {#personalization} ### Customer Registration and Accounts {#customer-registration-and-accounts} When a shopper registers, the account details need to be synchronized between AEM and the eCommerce engine. Sensitive data is held independently, but profiles are shared: ![chlimage_1-173](assets/chlimage_1-173.png) The exact mechanism can depend on the scenario: 1. The user accounts exists in both systems: 1. No action required. 1. The user account exists only in AEM: 1. User will be created in the eCommerce engine with same account ID and a random password which will be stored in AEM. 1. The random password is necessary, as AEM tries to log into the eCommerce engine on the first call (for example, when a product page is requested and the eCommerce engine is referenced for the price). Because this happens after the AEM login, the password is not available. 1. The user account only exists in the eCommerce engine: 1. The account will be created in AEM with same account ID and password. When using an eCommerce engine, AEM only stores the account ID and password (optionally a user group). All other information is stored in the eCommerce engine. >[!NOTE] > >When using an eCommerce engine, you need to ensure that accounts created for users who log into an AEM instance are replicated (e.g. via workflows) to any other AEM instances that communicate with that engine. > >Otherwise, these other AEM instances will also try to create accounts for the same users in the engine. These actions will fail with a `DuplicateUidException` coming from the engine. ### Customer Sign-Up {#customer-sign-up} Often sign-up is required for the shopper to have access to the shopping cart. This requires registration (Create Account) so that a customer-specific account can be created. ![chlimage_1-174](assets/chlimage_1-174.png) >[!NOTE] > >An anonymous shopping cart and checkout is also supported. ### Customer Sign-In {#customer-sign-in} After sign-up the shopper can login with their account so that their actions can be tracked and their orders fulfilled. ![chlimage_1-175](assets/chlimage_1-175.png) ### Single Sign-On {#single-sign-on} Single-sign-on (SSO) is provided, so that authors are known in both AEM and the eCommerce system without having to login twice. ### myAccount {#myaccount} Transaction data from the eCommerce engine is combined with personal information about the shopper. AEM uses some of this data as profile data. A form's action in AEM writes information back to the eCommerce engine. There is a page which allows you to easily manage your account informations. You can access it by clicking **My Account** at the top of a geometrixx page, or by navigating to `/content/geometrixx-outdoors/en/user/account.html`. ![chlimage_1-176](assets/chlimage_1-176.png) ### Address Book {#address-book} Your site will need to store a selection of addresses; including delivery, billing and alternative addresses. This can be implemented using forms based on your default address format or you can use the Address Book component provided by AEM. This Address Book component allows you to: * edit addresses in the book * select an address from the book for shipping address * select an address from the book for billing address You can choose which address you want as default. The address book component is reachable from the **My Account** page by clicking **Address Book** or by navigating to `/content/geometrixx-outdoors/en/user/account/address-book.html`. ![chlimage_1-177](assets/chlimage_1-177.png) You can click **Add new address...** to add a new address in your address book. It opens a form that you can fill out and then click **Add address**. >[!NOTE] > >You can enter several addresses in your Address Book. The Address Book is used when you checkout your cart: ![chlimage_1-178](assets/chlimage_1-178.png) Addresses are persisted below `user_home/profile/addresses`. For example, for Alison Parker, it would be under /home/users/geometrixx/aparker@geometrixx.info/profile/addresses You can choose which address you want as default, this information is persisted in the shopper's profile rather than with the address. The profile property `address.default` is set with the path of the selected address for value. ### Customer-specific Pricing {#customer-specific-pricing} The eCommerce engine uses the context (essentially the shopper information) to determine the price it is holding, then provide the correct information back to AEM. ## Shopping Cart and Orders {#shopping-cart-and-orders} When shopping the shopper will browse the product pages and select items to place them in their shopping cart. When they proceed to checkout an order can be placed. ### Anonymous Shoppers {#anonymous-shoppers} An anonymous customer can: * View products * Add products to their cart * Perform checkout to place their order >[!NOTE] > >Depending on the configuration of your instance address information, or customer registration, might be required prior to checkout. ### Registered Shoppers {#registered-shoppers} A registered customer can: * Login to their account * View products * Add products to their cart * Perform checkout to place their order * View and track previous orders ### Shopping Cart Content Overview {#shopping-cart-content-overview} The shopping cart provides: * an overview of items selected * links to the product pages for the selected items * the capability to: * update the number/quantity of the individual items * remove individual items ![ecommerce_shoppingcart](assets/ecommerce_shoppingcart.png) The shopping cart is saved according to the engine being used: * AEM generic stores the cart in a cookie. * Certain eCommerce engines can store the cart in a session. In either case, items stay in the cart (and can be restored) across log-in/log-out (but only on the same machine/browser). For example: * browse as `anonymous` and add products to the cart * sign in as `Allison Parker` - her cart is empty * add products to her cart * sign out - the cart will show the products for `anonymous` * sign in again as `Allison Parker` - her products are restored >[!NOTE] > >An anonymous cart can only be restored on the same machine/browser. >[!NOTE] > >It is not recommended to test restoring the cart contents with the `admin` account, as this can conflict with the `admin` account of the eCommerce engine (e.g. hybris). >[!NOTE] > >hybris can be configured to remove pending carts after a defined period of time. Prior to the checkout, price changes are reflected (in both systems) as they occur. ### Order Information {#order-information} Depending on your implementation information about an order is held either in the eCommerce engine or AEM, this information is rendered by AEM. A variety of information is stored, which can include: * **Order ID** The reference number for the order. * **Placed** The date the order was placed. * **Status** The status of the order; for example, Shipped. * **Currency** The currency of the order. * **Content Items** A list of items ordered. * **Subtotal** The total cost of the items ordered. * **Tax** The amount of any taxes due on the order. * **Shipping** Shipping costs. * **Total** The total value of the order; items ordered, taxes and shpping. * **Billing Address** The address to be which the invoice should be sent. * **Payment Token** The payment method. * **Payment Status** The status of the payment. * **Shipping Address** The address to which the goods should be shipped. * **Shipping Method** The method of shipping; for example, land, sea or air. * **Tracking Number** Any tracking number used by the shipping company. * **Tracking Link** The link used for tracking the order while being shipped. >[!NOTE] > >The fields used in the create order wizard are dependent on there being a touch-optimized scaffolding defined for the location. In the generic example, this can be found at: >`/etc/scaffolding/geometrixx-outdoors/order/jcr:content/cq:dialog` When the order is held within AEM the Order console shows the following for each order: * the number of items in the cart * the total value of the order * when the order was placed * the status ![chlimage_1-179](assets/chlimage_1-179.png) ### Order Tracking {#order-tracking} After placing an order, shoppers will often return to: * Check the status of their order * Remove products from the order * Add products to the order After receiving the order delivery, shoppers may also want to view the history of orders made over a period of time. Order fulfillment and tracking is usually managed by the eCommerce engine. Information can be displayed by AEM using the Order History component, which shows all relevant details, including the vouchers and promotions applied. For example: ![chlimage_1-180](assets/chlimage_1-180.png) ## Checkout {#checkout} Checkout is implemented with standard AEM forms. This allows the marketing manager to customize the experience with marketing content. The eCommerce then manages the checkout process with input from the AEM forms. ### Payment Security {#payment-security} Payment details, including credit card information, are often managed by the eCommerce engine. AEM forwards such transactional information to the engine (from where it is then forwarded to a payment processing service). Payment Card Industry (PCI) complicance can be achieved. ### Confirmation of Order {#confirmation-of-order} The order is confirmed on screen and can be tracked with the [order tracking](#order-tracking). ## Search {#search-features} ![chlimage_1-181](assets/chlimage_1-181.png) Since AEM uses standard pages for products, you can use the standard search component to create a search page. If you require a more thorough implementation, you can either: * Extend the default search component with the functionality you need. * Implement the search method in your `CommerceService` and then use the eCommerce search component on your search page. When using an eCommerce engine, the eCommerce search API can be fully implemented in the eCommerce engine solution, so you can use the eCommerce search component that is provided out-of-the-box. The faceted search allows you to search either JCR and/or the engine:
41.112
825
0.771606
eng_Latn
0.997066
aa7c5c11fbeeb47e0ec99cf81a4546a23a55f998
434
md
Markdown
README.md
bkstamm67/Python
f423862cddab54d6571f0334a4392e280d85d89b
[ "MIT" ]
null
null
null
README.md
bkstamm67/Python
f423862cddab54d6571f0334a4392e280d85d89b
[ "MIT" ]
null
null
null
README.md
bkstamm67/Python
f423862cddab54d6571f0334a4392e280d85d89b
[ "MIT" ]
null
null
null
Within this repo, I have completed some basic Python programs. Those held within the "pastHW" folder are highlighted assignments required in my first computer programming class, which was an introduction to Python 3. The other repos are my attempt to mirror the assignments I was asked to complete in my following intro class, which used C++ as the primary language. This is a work in progress, and still not completed as of yet.
54.25
80
0.794931
eng_Latn
1.000007
aa7cd1c1ecd5b2283a8474dd279f65c4816eb159
13,856
md
Markdown
docs/debugger/how-to-enable-debugging-for-aspnet-applications.md
mairaw/visualstudio-docs.pt-br
26480481c1cdab3e77218755148d09daec1b3454
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/debugger/how-to-enable-debugging-for-aspnet-applications.md
mairaw/visualstudio-docs.pt-br
26480481c1cdab3e77218755148d09daec1b3454
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/debugger/how-to-enable-debugging-for-aspnet-applications.md
mairaw/visualstudio-docs.pt-br
26480481c1cdab3e77218755148d09daec1b3454
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Habilitar a depuração para aplicativos ASP.NET | Microsoft Docs ms.custom: H1HackMay2017 ms.date: 09/21/18 ms.technology: vs-ide-debug ms.topic: conceptual dev_langs: - CSharp - VB - FSharp - C++ helpviewer_keywords: - debugging ASP.NET Web applications - Web.config configuration file, debug mode - debugging [Visual Studio], ASP.NET ms.assetid: 3beed819-cece-4864-8184-bd410000973a author: mikejo5000 ms.author: mikejo manager: douge ms.workload: - aspnet ms.openlocfilehash: 41da2eb360bac4c50f85bd908f980f5ee3c1d141 ms.sourcegitcommit: 240c8b34e80952d00e90c52dcb1a077b9aff47f6 ms.translationtype: MT ms.contentlocale: pt-BR ms.lasthandoff: 10/23/2018 ms.locfileid: "49813410" --- # <a name="debug-aspnet-or-aspnet-core-apps-in-visual-studio"></a>Depurar aplicativos ASP.NET ou ASP.NET Core no Visual Studio Você pode depurar aplicativos ASP.NET e ASP.NET Core no Visual Studio. O processo é diferente entre o ASP.NET e ASP.NET Core, e se você executá-lo no IIS Express ou um servidor IIS local. >[!NOTE] >As seguintes etapas e configurações se aplicam somente a depuração de aplicativos em um servidor local. Servidor de depuração de aplicativos em um IIS remoto usa **anexar ao processo**e ignora essas configurações. Para obter mais informações e instruções para depuração remota de ASP.NET aplicativos no IIS, consulte [depuração remota ASP.NET em um computador IIS](../debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer.md) ou [ASP.NET Core de depuração remota em um computador remoto do IIS](../debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md). O servidor interno do IIS Express é incluído com o Visual Studio. O IIS Express é o servidor de depuração padrão para projetos do ASP.NET e ASP.NET Core e é pré-configurado. É a maneira mais fácil para depurar e ideal para depuração e teste inicial. Você também pode depurar um aplicativo ASP.NET ou ASP.NET Core em um servidor IIS local (versão 8.0 ou superior) que está configurado para executar o aplicativo. Para depurar no IIS local, você deve atender aos seguintes requisitos: <a name="iis"></a> - Selecione **tempo de desenvolvimento, suporte ao IIS** durante a instalação do Visual Studio. (Se necessário, execute novamente o instalador do Visual Studio, selecione **modificar**e adicionar esse componente.) - Estar executando o Visual Studio como administrador. - Instalar e configurar corretamente o IIS com as versões apropriadas do ASP.NET e/ou ASP.NET Core. Para obter mais informações e instruções, consulte [IIS 8.0 usando ASP.NET 3.5 e ASP.NET 4.5](/iis/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45) ou [Host ASP.NET Core no Windows com o IIS](https://docs.microsoft.com/aspnet/core/host-and-deploy/iis/index). - Verifique se que o aplicativo é executado no IIS sem erros. ## <a name="debug-aspnet-apps"></a>Depurar aplicativos ASP.NET O IIS Express é o padrão e é pré-configurado. Se você estiver depurando no IIS Local, verifique se você atende a [requisitos para depuração local do IIS](#iis). 1. Selecione o projeto do ASP.NET no Visual Studio **Gerenciador de soluções** e clique no **Properties** ícone, pressione **Alt**+**Enter**, ou clique com botão direito e escolha **propriedades**. 1. Selecione o **Web** guia. 1. No **propriedades** painel, em **servidores**, - Para o IIS Express, selecione **IIS Express** na lista suspensa. - Para o IIS local, 1. Selecione **IIS Local** na lista suspensa. 1. Ao lado de **URL do projeto** campo, selecione **criar diretório Virtual**, se você ainda não configurou o aplicativo no IIS. 1. Sob **depuradores**, selecione **ASP.NET**. ![As configurações do depurador ASP.NET](media/dbg-aspnet-enable-debugging2.png "as configurações do depurador ASP.NET") 1. Use **arquivo** > **salvar itens selecionados** ou **Ctrl**+**S** para salvar as alterações. 1. Para depurar o aplicativo, em seu projeto, definir pontos de interrupção no código. Na barra de ferramentas do Visual Studio, verifique se a configuração é definida como **Debug**, e o navegador que você deseja é exibido na **IIS Express (\<nome do navegador >)** ou **IIS Local (\< Nome do navegador >)** no campo de emulador. 1. Para iniciar a depuração, selecione **IIS Express (\<nome do navegador >)** ou **IIS Local (\<nome do navegador >)** na barra de ferramentas, selecione **iniciar depuração**partir de **depurar** menu, ou pressione **F5**. O depurador faz uma pausa nos pontos de interrupção. Se o depurador não pode atingir os pontos de interrupção, consulte [solucionar problemas de depuração](#troubleshoot-debugging). ## <a name="debug-aspnet-core-apps"></a>Depurar aplicativos ASP.NET Core O IIS Express é o padrão e é pré-configurado. Se você estiver depurando no IIS Local, verifique se você atende a [requisitos para depuração local do IIS](#iis). 1. Selecione o projeto do ASP.NET Core no Visual Studio **Gerenciador de soluções** e clique no **Properties** ícone, pressione **Alt**+**Enter**, ou clique com botão direito e escolha **propriedades**. 1. Selecione a guia **Depurar**. 1. No **propriedades** painel, ao lado **perfil**, - Para o IIS Express, selecione **IIS Express** na lista suspensa. - Para o IIS local, selecione o nome do aplicativo na lista suspensa ou selecione **New**, crie um novo nome de perfil e selecione **Okey**. 1. Lado **inicie**, selecione **IIS Express** ou **IIS** na lista suspensa. 1. Certifique-se **Iniciar navegador** está selecionado. 1. Sob **variáveis de ambiente**, verifique se **ASPNETCORE_ENVIRONMENT** está presente com um valor de **desenvolvimento**. Se não, selecione **adicionar** e adicioná-lo. ![Configurações do depurador do ASP.NET Core](../debugger/media/dbg-aspnet-enable-debugging3.png "configurações do depurador do ASP.NET Core") 1. Use **arquivo** > **salvar itens selecionados** ou **Ctrl**+**S** para salvar as alterações. 1. Para depurar o aplicativo, em seu projeto, definir pontos de interrupção no código. Na barra de ferramentas do Visual Studio, verifique se a configuração é definida como **Debug**e qualquer **IIS Express**, ou o novo nome de perfil do IIS, é exibido no campo de emulador. 1. Para iniciar a depuração, selecione **IIS Express** ou **\<nome do perfil do IIS >** na barra de ferramentas, selecione **iniciar depuração** do **depurar** menu, ou pressione **F5**. O depurador faz uma pausa nos pontos de interrupção. Se o depurador não pode atingir os pontos de interrupção, consulte [solucionar problemas de depuração](#troubleshoot-debugging). ## <a name="troubleshoot-debugging"></a>Solucionar problemas de depuração Se a depuração de IIS local não pode Avançar para o ponto de interrupção, siga estas etapas para solucionar problemas. 1. Inicie o aplicativo web do IIS e certificar-se de que ele seja executado corretamente. Deixe o aplicativo web em execução. 2. No Visual Studio, selecione **Depurar > Anexar ao processo** ou pressione **Ctrl**+**Alt**+**P**, e conectar-se ao processo do ASP.NET ou ASP.NET Core (normalmente **w3wp.exe** ou **dotnet.exe**). Para obter mais informações, consulte [anexar ao processo](attach-to-running-processes-with-the-visual-studio-debugger.md) e [como localizar o nome do processo do ASP.NET](how-to-find-the-name-of-the-aspnet-process.md). Se você pode conectar-se e atingir o ponto de interrupção usando **anexar ao processo**, mas não usando **Debug** > **iniciar depuração** ou **F5**, uma configuração provavelmente está incorreta nas propriedades do projeto. Se você usar um arquivo de HOSTS, certifique-se de que também está configurado corretamente. ## <a name="configure-debugging-in-the-webconfig-file"></a>Configurar a depuração no arquivo Web. config Projetos do ASP.NET possuem *Web. config* arquivos por padrão, que contêm os dois configuração e inicialização informações do aplicativo, incluindo configurações de depuração. O *Web. config* arquivos devem ser configurados corretamente para depuração. O **propriedades** configurações de atualização de seções anteriores a *Web. config* arquivos, mas você também pode configurá-las manualmente. > [!NOTE] > Projetos do ASP.NET Core não têm inicialmente *Web. config* arquivos, mas use *appSettings. JSON* e *launchsettings. JSON* arquivos de configuração do aplicativo e inicialização informações. Implantar o aplicativo cria uma *Web. config* arquivo ou arquivos no projeto, mas eles normalmente não contêm informações de depuração. > [!TIP] > O processo de implantação pode atualizar o *Web. config* configurações, portanto, antes de tentar a depuração, verificam se o *Web. config* está configurado para depuração. **Para configurar manualmente uma *Web. config* arquivo para depuração:** 1. No Visual Studio, abra o projeto do ASP.NET *Web. config* arquivo. 2. *Web. config* é um arquivo XML, portanto, contém as seções aninhadas marcadas por aspas. Localize o `configuration/system.web/compilation` seção. (Se o `compilation` elemento não existir, crie-o.) 3. Certifique-se de que o `debug` de atributo na `compilation` é definido como `true`. (Se o `compilation` elemento não contém uma `debug` do atributo, adicioná-lo e defina-o como `true`.) Se você estiver usando o IIS local em vez do servidor de IIS Express padrão, verifique se o `targetFramework` valor no atributo de `compilation` elemento coincide com a estrutura no servidor IIS. O `compilation` elemento do *Web. config* arquivo deve ser semelhante ao seguinte exemplo: > [!NOTE] > Este exemplo é um parcial *Web. config* arquivo. Há seções adicionais geralmente XML o `configuration` e `system.web` elementos e o `compilation` elemento também pode conter outros elementos e atributos. ```xml <configuration> ... <system.web> <compilation debug="true" targetFramework="4.6.1" ... > ... </compilation> </system.web> </configuration> ``` [!INCLUDE[vstecasp](../code-quality/includes/vstecasp_md.md)] detecta automaticamente qualquer alteração feita *Web. config* arquivos e aplica as novas definições de configuração. Você não precisa reiniciar o computador ou o servidor IIS para que as alterações entrem em vigor. Um site pode conter vários diretórios e subdiretórios virtuais, com *Web. config* arquivos em cada um deles. [!INCLUDE[vstecasp](../code-quality/includes/vstecasp_md.md)] aplicativos herdam definições de configuração de *Web. config* arquivos em níveis mais altos no caminho da URL. O hierárquica *Web. config* configurações do arquivo se aplicam a todos os [!INCLUDE[vstecasp](../code-quality/includes/vstecasp_md.md)] aplicativos abaixo na hierarquia. Definindo uma configuração diferente uma *Web. config* inferiores na hierarquia do arquivo substituirá as configurações no arquivo de mais alto. Por exemplo, se você especificar `debug="true"` na <em>www.microsoft.com/aaa/web.config</em>, qualquer aplicativo na *aaa* pasta ou qualquer subpasta *aaa* herdará essa configuração, exceto se um desses aplicativos substitui a configuração com sua própria *Web. config* arquivo. ## <a name="publish-in-debug-mode-using-the-file-system"></a>Publicar no modo de depuração usando o sistema de arquivos Há várias maneiras de publicar aplicativos para o IIS. Estas etapas mostram como criar e implantar um perfil de publicação usando o sistema de arquivos de depuração. Para fazer isso, você deve estar executando o Visual Studio como administrador. > [!IMPORTANT] > Se você alterar seu código ou recompilação, você deve repetir estas etapas para publicar novamente. 1. No Visual Studio, clique com botão direito no projeto e escolha **publicar**. 3. Escolher **IIS, FTP, etc** e clique em **publicar**. ![Publicar no IIS](media/dbg-aspnet-local-iis.png "publicar no IIS") 4. No **CustomProfile** caixa de diálogo, para **método de publicação**, escolha **sistema de arquivos**. 5. Para **local de destino**, selecione **procurar** (**...** ). - Para o ASP.NET, selecione **Local IIS**, selecione o site que você criou para o aplicativo e, em seguida, selecione **abrir**. ![Publicar para o ASP.NET no IIS](media/dbg-aspnet-local-iis1.png "publicar ASP.NET no IIS") - Para o ASP.NET Core, selecione **sistema de arquivos**, selecione a pasta que você configurar para o aplicativo e, em seguida, selecione **abrir**. 1. Selecione **Avançar**. 1. Sob **Configuration**, selecione **depurar** na lista suspensa. 1. Selecione **Salvar**. 1. No **Publish** caixa de diálogo, certifique-se **CustomProfile** (ou o nome do perfil que você acabou de criar) for exibida, e **LastUsedBuildConfiguration** é definido como **Depurar**. 1. Selecione **Publicar**. ![Publicar no IIS](media/dbg-aspnet-local-iis-select-site.png "publicar no IIS") > [!IMPORTANT] > Modo de depuração reduz consideravelmente o desempenho do seu aplicativo. Para melhor desempenho, defina `debug="false"` no *Web. config* e especificar um build de versão quando você implanta um aplicativo de produção ou conduzir medidas de desempenho. ## <a name="see-also"></a>Consulte também [Depuração do ASP.NET: requisitos do sistema](aspnet-debugging-system-requirements.md) [Como: executar o processo de trabalho em uma conta de usuário](how-to-run-the-worker-process-under-a-user-account.md) [Como: localizar o nome do processo do ASP.NET](how-to-find-the-name-of-the-aspnet-process.md) [Depurar aplicativos web implantados](debugging-deployed-web-applications.md) [Passo a passo: Depurando um formulário da web](walkthrough-debugging-a-web-form.md) [Como: depurar exceções do ASP.NET](how-to-debug-aspnet-exceptions.md) [Depurar aplicativos web: erros e solução de problemas](debugging-web-applications-errors-and-troubleshooting.md)
71.05641
600
0.748124
por_Latn
0.998027
aa7e1f5ba090ec36496bab17f669f02687132c4c
4,444
md
Markdown
doc/INSTALLATION_OSX.md
switzer/anoncoin
08fab84c35b0bdffc589193a672700f1cdee4e54
[ "MIT" ]
null
null
null
doc/INSTALLATION_OSX.md
switzer/anoncoin
08fab84c35b0bdffc589193a672700f1cdee4e54
[ "MIT" ]
null
null
null
doc/INSTALLATION_OSX.md
switzer/anoncoin
08fab84c35b0bdffc589193a672700f1cdee4e54
[ "MIT" ]
2
2018-02-21T13:10:37.000Z
2018-03-13T13:16:10.000Z
# ![logo](./anoncoin_logo_doxygen.png) Building Anoncoin for OSX [Home](../README.md) | **[Installation](../README.md#quick-start)** | [Developers](./doc/DEVELOPER.md) | [Project](https://github.com/Anoncoin/anoncoin/projects/1) [Linux](./INSTALLATION_LINUX.md) | **OSX** | [Windows](./INSTALLATION_WINDOWS.md) Preparation ----------- **Command Line Tools** Ensure the OSX command line tools are installed: ```bash xcode-select --install ``` When the popup appears, click `Install`. **Homebrew** Install [Homebrew](https://brew.sh) by running the following command: ```bash /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` **Other Dependencies** Use Homebrew to install the dependencies on your machine: ```bash brew update && brew upgrade brew install automake berkeley-db4 boost git libevent librsvg libtool miniupnpc openssl pkg-config protobuf python3 qt ``` Installation From Source ------------------------ **Source Code** Clone the Anoncoin source code and cd into `anoncoin` ```bash git clone https://github.com/Anoncoin/anoncoin.git cd anoncoin ``` Configure and build the headless Anoncoin binaries as well as the GUI: **Set Flags** Anoncoin needs to be compiled with a newer version of C++ than what is shipped with OSX: ```bash export CXXFLAGS=-std=c++11 ``` **Build** Compile the Anoncoin code as follows: ```bash ./autogen.sh ./configure make ``` *NOTE: You can pass in the following flags into `configure` if needed:* * `--without-gui`: disable the GUI * `--with-qt-incdir=/usr/local/opt/qt/include`: in case the QT `include` directory is not found * `--with-qt-libdir=/usr/local/opt/qt/lib`: in case the QT `library` directory is not found **Tests** It is recommended to build and run the unit tests: ```bash make check ``` **App Bundle** You can also create a .dmg that contains the .app bundle: ```bash make deploy ``` Configuration ------------- **Config File** Copy the conig file from the root directory to the default Anoncoin data directory: ```bash cp ./anoncoin.conf.orig ~/Library/Application\ Support/Anoncoin/anoncoin.conf ``` **Bootstrap** If you would like to (optionally) speed up the process of syncing the initial wallet, you can download a bootstrap file. Navigate your browser to: https://mega.nz/#!IqACmRhL!2Ti8rUlsnWoD4d5q3boMHQwaEbbqmxZqYq6FmWevVxI Download the file. Move the file to your data directory: ```bash mv ~/Downloads/bootstrap.dat ~/Library/Application\ Support/Anoncoin ``` **Configure I2P** Install and run the Invisible Internet Project (I2P): ```bash brew install i2p i2prouter start ``` Activate a SAM application bridge within I2P by navigating your browser to: http://127.0.0.1:7657/configclients Ensure that **SAM Appication Bridge** is running and configured to run at startup: ![I2P Sam Application Bridge Configuration](./I2P_SAM.png) **Configure Anoncoin I2P Integration** Fire up the Anoncoin daemon with the following I2P triggers: ```bash ./src/anoncoind -i2p.options.enabled=1 -onlynet=i2p -generatei2pdestination ``` This command will start Anoncoin, and will generate an I2P destination address. The output of the script will tell you to paste text like the following to your `anoncoin.conf` file: ``` [i2p.mydestination] static=1 privatekey=dDHYpWbQKHV75rmZg1FgnaoRjJQQ2vAwsXCz-9gFVNhWgUiGa~IP4uNacr36OGjMDxNFAw7jhWrYYlzki03mWuB-Pu5gxgdDUh-XudtwjNSFEWFEWFSDVSDFSERWEFVSDsdfsdfsdFSDFsdfsdfSDFSDFSDFWEFSFSDfsdfsERWERSDFSDFSSOtRnG0OEtUW7C3SPB5mT0zkvVbTdim5UydzuCWUNpJURJG-hjxW5CbmEClIphp2Vr2moxHpGOCjLWgBaysmdfljsdlfjsdlfjsdfjsdflkjsdfklsdjflkjsdlfksdfsdfsq1NaHi7ZDB7hIqxqW8CR1gIM6tD~rWlkUdGaAIVF0LbHYg1IzVHr8~FJkq0KPFIPg95DjeaXmU8r3fADA0GHZnw9LdR3TgV87Ih1WsZsPNZH0wHRUBIkKXcjLO1vXKOM2uzBLguHlkH~dXLzyWbYeg2gBuEg~7M6GU94XG6ZukhprTEzbNeKcQ4jaIli7~ARqOmCyJzodfsdfsdfsdfsdfsdfsdfsdfsdfsdfsdHWt-p3I2yVgpFzyr4hHPcDgzQrYbWzN~2k-8s~vSBc0I6G3-D2DgIPKi0V1C--vitSvkYTy-Wde-V0e1231345546756565345346457545645365675656343454533dlnnMYOdvOK83SNCUtKRq8171M8RsAtPGwCBgpDLgR1bZS~6E9-UfOQVCgoxyyB1O~ki0XxiTDglbH~02KK2dcfuxnLgqJc1RUul6ATcfaeyTxCoITe2TXkAR6JLlI2uiS~Pm0RhdAkMZ58NEkhCose0EXasK9hoWFlem9xLhgn4owGdRF7WM4UdhDQP-qj5MOSHeMdr-krQty-Z-XJc~ [i2p.options] enabled=1 ``` Edit your `anoncoin.conf`, paste the `privatekey` from your output to the `i2p.mydestination` section of the config file, and save the file: ```bash vi ~/Library/Application\ Support/Anoncoin/anoncoin.conf ```
27.775
895
0.778128
eng_Latn
0.632943
aa7e33e0a7414e7057083ca05b4ab9acb00fc2c6
4,185
md
Markdown
docs/2014/master-data-services/add-multiple-conditions-to-a-business-rule-master-data-services.md
dirceuresende/sql-docs.pt-br
023b1c4ae887bc1ed6a45cb3134f33a800e5e01e
[ "CC-BY-4.0", "MIT" ]
2
2021-10-12T00:50:30.000Z
2021-10-12T00:53:51.000Z
docs/2014/master-data-services/add-multiple-conditions-to-a-business-rule-master-data-services.md
dirceuresende/sql-docs.pt-br
023b1c4ae887bc1ed6a45cb3134f33a800e5e01e
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/2014/master-data-services/add-multiple-conditions-to-a-business-rule-master-data-services.md
dirceuresende/sql-docs.pt-br
023b1c4ae887bc1ed6a45cb3134f33a800e5e01e
[ "CC-BY-4.0", "MIT" ]
1
2020-06-25T13:33:56.000Z
2020-06-25T13:33:56.000Z
--- title: Adicionar várias condições a uma regra de negócios (Master Data Services) | Microsoft Docs ms.custom: '' ms.date: 03/06/2017 ms.prod: sql-server-2014 ms.reviewer: '' ms.suite: '' ms.technology: - master-data-services ms.tgt_pltfrm: '' ms.topic: conceptual helpviewer_keywords: - business rules [Master Data Services], multiple conditions ms.assetid: 5f0f6958-6cf2-444b-bdcd-05b887637a0b caps.latest.revision: 6 author: leolimsft ms.author: lle manager: craigg ms.openlocfilehash: f7994861c246b31731dbff82069eed091379ad6a ms.sourcegitcommit: c18fadce27f330e1d4f36549414e5c84ba2f46c2 ms.translationtype: MT ms.contentlocale: pt-BR ms.lasthandoff: 07/02/2018 ms.locfileid: "37275172" --- # <a name="add-multiple-conditions-to-a-business-rule-master-data-services"></a>Adicionar várias condições a uma regra de negócio (Master Data Services) No [!INCLUDE[ssMDSshort](../includes/ssmdsshort-md.md)], adicione várias condições **AND** ou **OR** a uma regra de negócio quando desejar uma regra mais complexa. > [!NOTE] > Se você criar uma regra de negócio que usa o operador **OR** , considere a criação de uma regra separada para cada instrução condicional que possa ser avaliada independentemente. É possível excluir regras conforme necessário, para garantir mais flexibilidade e uma solução de problemas mais fácil. ## <a name="prerequisites"></a>Prerequisites Para executar esse procedimento: - Você deve ter permissão para acessar a área funcional **Administração do Sistema** . - Você deve ser um administrador de modelo. Para obter mais informações, veja [Administrators &#40;Master Data Services&#41;](administrators-master-data-services.md). - Uma regra de negócios deve existir. Para obter mais informações, consulte [Criar e publicar uma regra de negócio &#40;Master Data Services&#41;](../../2014/master-data-services/create-and-publish-a-business-rule-master-data-services.md). ### <a name="to-add-multiple-conditions-to-a-business-rule"></a>Para acrescentar várias condições a uma regra de negócio 1. No [!INCLUDE[ssMDSmdm](../includes/ssmdsmdm-md.md)], clique em **Administração do Sistema**. 2. Na barra de menus, aponte para **Gerenciar** e clique em **Regras de Negócios**. 3. Na página **Manutenção de Regra de Negócio** , na lista **Modelo** , selecione um modelo. 4. Na lista **Entidade** , selecione uma entidade. 5. Dos **tipo de membro** , selecione um tipo de membro. 6. Na lista **Atributo** , selecione um atributo ou deixe o valor padrão **Todos**. 7. Clique na linha da regra de negócio que deseja editar. 8. Clique em **Editar regra de negócio selecionada**. 9. No **componentes** painel, expanda o **operadores lógicos** nó. 10. Clique em **AND** ou **OR** e arraste-o para o **IF** do painel **AND** rótulo. 11. No painel **Componentes** , expanda o nó **Condições** . 12. Clique em uma condição e arraste-o para **IF** painel, para o **AND** ou **OR** rótulo da etapa 10. 13. No **atributos** painel, clique em um atributo e arraste-o para o **Editar condição** do painel **Selecionar atributo** rótulo. 14. No **Editar condição** painel, preencha os campos necessários. 15. No painel **Editar Condição** , clique em **Salvar item**. 16. Opcionalmente, para adicionar mais condições, a partir de **componentes** painel, arraste **AND** ou **OR** a qualquer **AND** ou **OR**no **IF** painel. Então siga as etapas 13 a 15. > [!TIP] > Para excluir uma condição, clique no nome da condição e, além de **Editar condição** painel, clique em **para excluir um item**. ## <a name="see-also"></a>Consulte também [Regras de negócio &#40;Master Data Services&#41;](../../2014/master-data-services/business-rules-master-data-services.md) [Alterar o nome de uma regra de negócios &#40;Master Data Services&#41;](../../2014/master-data-services/change-a-business-rule-name-master-data-services.md) [Configurar regras de negócio para enviar notificações &#40;Master Data Services&#41;](../../2014/master-data-services/configure-business-rules-to-send-notifications-master-data-services.md)
49.821429
302
0.71828
por_Latn
0.992313
aa7e4febc82d5da857ad015b6a842358ab30833f
728
md
Markdown
node_modules/property-handlers/README.md
mccabe615/node
07b678d8536bc9d050a02a558c20b4ba188fdb21
[ "MIT" ]
1
2022-03-25T06:13:56.000Z
2022-03-25T06:13:56.000Z
node_modules/property-handlers/README.md
mccabe615/node
07b678d8536bc9d050a02a558c20b4ba188fdb21
[ "MIT" ]
1
2021-09-01T05:42:07.000Z
2021-09-01T05:42:07.000Z
node_modules/property-handlers/README.md
lagcrs/casadocodigo
7cf152ae7b1946869a4c4efa35dc2520847bde1e
[ "Apache-2.0" ]
1
2020-12-04T23:52:51.000Z
2020-12-04T23:52:51.000Z
property-handlers ================= # Installation ``` npm install property-handlers --save ``` # Usage ```javascript var propertyHandlers = require('property-handlers'); propertyHandlers(object, handlers, path); ``` ## Arguments * `object`: An object with properties * `handlers`: An object with properties that correspond to allowed properties. The value of each property should be a handler `function` * `path`: Used for error reporting ## Example: ```javascript var object = { foo: 'foo', bar: 'bar' }; propertyHandlers( object, { foo: function(value) { // value === 'foo' }, bar: function(value) { // bar === 'bar' } }, 'some path'); ```
18.666667
136
0.596154
eng_Latn
0.838167
aa7e6157eec7a6e0e3faf970143604046e03c22e
261
md
Markdown
Missing ENV.md
jiuchongyangzy/tangxiaoyi
fb86fce6baa692d308cbbe85ffc8d36b2fd7be8d
[ "Apache-2.0" ]
null
null
null
Missing ENV.md
jiuchongyangzy/tangxiaoyi
fb86fce6baa692d308cbbe85ffc8d36b2fd7be8d
[ "Apache-2.0" ]
null
null
null
Missing ENV.md
jiuchongyangzy/tangxiaoyi
fb86fce6baa692d308cbbe85ffc8d36b2fd7be8d
[ "Apache-2.0" ]
null
null
null
#This file has become obsolete. As more work was done for this plugin, the version you installed has now become obsolete and you should not need this anymore. Please read the [readme](README.md) to get instructions in order to get the new builds. Thank you.
26.1
79
0.777778
eng_Latn
0.999982
aa7eb8f200abd41dfdfa0e39b1a5d9a1c823c6a0
372
md
Markdown
build/docs/CustomEventAttribute.md
F-V-L/platform-client-sdk-dotnet
15d2be6a584727ca84d45a0925bd9f2e8973ed8a
[ "MIT" ]
13
2017-12-21T03:57:38.000Z
2022-02-17T11:21:47.000Z
build/docs/CustomEventAttribute.md
F-V-L/platform-client-sdk-dotnet
15d2be6a584727ca84d45a0925bd9f2e8973ed8a
[ "MIT" ]
4
2017-10-02T14:10:41.000Z
2021-09-27T13:14:31.000Z
build/docs/CustomEventAttribute.md
F-V-L/platform-client-sdk-dotnet
15d2be6a584727ca84d45a0925bd9f2e8973ed8a
[ "MIT" ]
19
2017-09-28T21:16:11.000Z
2022-03-30T20:22:34.000Z
--- title: CustomEventAttribute --- ## ININ.PureCloudApi.Model.CustomEventAttribute ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| | **DataType** | **string** | The data type of the custom attribute. | | | **Value** | **string** | The value of the custom attribute. | | {: class="table table-striped"}
24.8
72
0.553763
eng_Latn
0.402126
aa7f4597c0d085b33bce3f25fb562805fa578c08
2,602
md
Markdown
docs/README.md
jaredweinfurtner/docs-project-layout
06802910c94bda3f103d61f19bfdb4f0db5eb539
[ "Unlicense" ]
null
null
null
docs/README.md
jaredweinfurtner/docs-project-layout
06802910c94bda3f103d61f19bfdb4f0db5eb539
[ "Unlicense" ]
null
null
null
docs/README.md
jaredweinfurtner/docs-project-layout
06802910c94bda3f103d61f19bfdb4f0db5eb539
[ "Unlicense" ]
null
null
null
## Usage Generating documentation from the codebase should be as simple as possible for contributors. For Sphinx documentation, I have nicely packaged up a [Dockerfile](https://github.com/jaredweinfurtner/sphinx-drawio-docker) with Sphinx, python, drawio support, and all the necessary libraries pre-installed so it only requires one command inside the */docs* folder to generate all documentation. ### Generate Documentation simply run the following in the root `/` folder: ```shell make docs ``` ### View Documentation simply run the following in the root `/` folder and navigate to [http://localhost:8080](http://localhost:8080) - your changes will automatically be mounted: ```shell docker-compose --profile docs up -d ``` ### Draw.io support simply add to your documentation markup: _reStructuredText_: ~~~ .. drawio-figure:: my-awesome-model.drawio ~~~ _Markdown_: ~~~ ```{drawio-figure} my-awesome-model.drawio ``` ~~~ ### File/Folder Structure ``` build │ ├───html │ ├─ ... │ └─ index.html │ └───latex ├─ ... └─ docs-project-layout.pdf source │ ├─ index.rst │ └─ conf.py │ ├───section │ ├─ overview.rst │ └─ my-drawing.drawio │ └───section ├─ overview.rst └─ my-drawing.drawio ``` ### `/build/**` Contains generated documentation and should be ignored via .gitignore ### `/build/html/**` Contains static html that can be deployed as any other static html site - for example to: [Read the Docs](https://readthedocs.org/), [GitHub Pages](https://pages.github.com/), etc ### `/build/latex/**` Contains mainly cached files for quicker follow-up generation of the pdf, but your `*.pdf` should be buried in here somewhere. ### `/source/index.rst` This is your landing page and should contain the tree structure of your documentation. I highly recommend separating each section & subsection into its own folder so that you can include any diagrams alongside the .rst file. ### `/source/conf.py` This is the only thing you need to copy & configure into your own project. Simply set the properties listed at the top for your particular project: ### `/source/requirements.txt` This is only needed if you intend on using [readthedocs.org](https://readthedocs.org/) to host your documentation. It tells the build process which pyhon dependencies to install. ```shell # -- Project information ----------------------------------------------------- project = 'docs-project-layout' author = 'Jared Weinfurtner' copyright = '© 1984-2021 Jared Weinfurtner' # The full version, including alpha/beta/rc tags release = '0.0.1' ```
26.55102
389
0.696003
eng_Latn
0.981675
aa80ac5ed299ae4441c0cae875df13853ac7b1bd
2,738
md
Markdown
docs/zh-cn/deploy_backup_restore_s3.md
Patrick-LuoYu/radondb-mysql-kubernetes
a6386c7b821534527679aa60cece1d9726a1c06e
[ "Apache-2.0" ]
null
null
null
docs/zh-cn/deploy_backup_restore_s3.md
Patrick-LuoYu/radondb-mysql-kubernetes
a6386c7b821534527679aa60cece1d9726a1c06e
[ "Apache-2.0" ]
null
null
null
docs/zh-cn/deploy_backup_restore_s3.md
Patrick-LuoYu/radondb-mysql-kubernetes
a6386c7b821534527679aa60cece1d9726a1c06e
[ "Apache-2.0" ]
null
null
null
# mysql-operator ## Quickstart for backup Install the operator named `test`: ```shell helm install test charts/mysql-operator ``` ### configure backup add the secret file ```yaml kind: Secret apiVersion: v1 metadata: name: sample-backup-secret namespace: default data: s3-endpoint: aHR0cDovL3MzLnNoMWEucWluZ3N0b3IuY29t s3-access-key: SEdKWldXVllLSENISllFRERKSUc= s3-secret-key: TU44TkNUdDJLdHlZREROTTc5cTNwdkxtNTlteE01blRaZlRQMWxoag== s3-bucket: bGFsYS1teXNxbA== type: Opaque ``` s3-xxxx value is encode by base64, you can get like that ```shell echo -n "hello"|base64 ``` then, create the secret in k8s. ``` kubectl create -f config/samples/backup_secret.yaml ``` Please add the backupSecretName in mysql_v1alpha1_mysqlcluster.yaml, name as secret file: ```yaml spec: replicas: 3 mysqlVersion: "5.7" backupSecretName: sample-backup-secret ... ``` now create backup yaml file mysql_v1alpha1_backup.yaml like this: ```yaml apiVersion: mysql.radondb.com/v1alpha1 kind: Backup metadata: name: backup-sample1 spec: # Add fields here hostname: sample-mysql-0 clustname: sample ``` | name | function | |------|--------| |hostname|pod name in cluser| |clustname|cluster name| ### start cluster ```shell kubectl apply -f config/samples/mysql_v1alpha1_mysqlcluster.yaml ``` ### start backup After run cluster success ```shell kubectl apply -f config/samples/mysql_v1alpha1_backup.yaml ``` ## Uninstall Uninstall the cluster named `sample`: ```shell kubectl delete mysqlclusters.mysql.radondb.com sample ``` Uninstall the operator name `test`: ```shell helm uninstall test kubectl delete -f config/samples/mysql_v1alpha1_backup.yaml ``` Uninstall the crd: ```shell kubectl delete customresourcedefinitions.apiextensions.k8s.io mysqlclusters.mysql.radondb.com ``` ## restore cluster from backup copy check your s3 bucket, get the directory where your backup to, such as `backup_2021720827`. add it to RestoreFrom in yaml file ```yaml ... spec: replicas: 3 mysqlVersion: "5.7" backupSecretName: sample-backup-secret restoreFrom: "backup_2021720827" ... ``` Then you use: ```shell kubectl apply -f config/samples/mysql_v1alpha1_mysqlcluster.yaml ``` could restore a cluster from the `backup_2021720827 ` copy in the S3 bucket. ## build your own image such as : ``` docker build -f Dockerfile.sidecar -t acekingke/sidecar:0.1 . && docker push acekingke/sidecar:0.1 docker build -t acekingke/controller:0.1 . && docker push acekingke/controller:0.1 ``` you can replace acekingke/sidecar:0.1 with your own tag ## deploy your own manager ```shell make manifests make install make deploy IMG=acekingke/controller:0.1 KUSTOMIZE=~/radondb-mysql-kubernetes/bin/kustomize ```
21.390625
100
0.74653
eng_Latn
0.687805
aa80f5e2cfe7e84bf4b665b5871f697e42e4bb84
10,858
md
Markdown
articles/service-bus-messaging/service-bus-python-how-to-use-topics-subscriptions.md
KreizIT/azure-docs.fr-fr
dfe0cb93ebc98e9ca8eb2f3030127b4970911a06
[ "CC-BY-4.0", "MIT" ]
1
2021-03-12T23:37:08.000Z
2021-03-12T23:37:08.000Z
articles/service-bus-messaging/service-bus-python-how-to-use-topics-subscriptions.md
KreizIT/azure-docs.fr-fr
dfe0cb93ebc98e9ca8eb2f3030127b4970911a06
[ "CC-BY-4.0", "MIT" ]
null
null
null
articles/service-bus-messaging/service-bus-python-how-to-use-topics-subscriptions.md
KreizIT/azure-docs.fr-fr
dfe0cb93ebc98e9ca8eb2f3030127b4970911a06
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Utiliser des rubriques et abonnements Azure Service Bus avec le package Python azure-servicebus version 7.0.0 description: Cet article explique comment utiliser Python pour envoyer des messages à une rubrique et recevoir des messages à partir d’un abonnement. documentationcenter: python author: spelluru ms.author: spelluru ms.date: 11/18/2020 ms.topic: quickstart ms.devlang: python ms.custom: devx-track-python, mode-api ms.openlocfilehash: a7f65a23a1be03111dc8f8d02c02fad3ce716a39 ms.sourcegitcommit: 106f5c9fa5c6d3498dd1cfe63181a7ed4125ae6d ms.translationtype: HT ms.contentlocale: fr-FR ms.lasthandoff: 11/02/2021 ms.locfileid: "131036938" --- # <a name="send-messages-to-an-azure-service-bus-topic-and-receive-messages-from-subscriptions-to-the-topic-python"></a>Envoyer des messages à une rubrique Azure Service Bus et recevoir des messages à partir d’abonnements à la rubrique (Python) Cet article explique comment utiliser Python pour envoyer des messages à une rubrique Service Bus et recevoir des messages à partir d’un abonnement à la rubrique. ## <a name="prerequisites"></a>Prérequis - Un abonnement Azure. Vous pouvez activer les [avantages de votre abonnement Visual Studio ou MSDN](https://azure.microsoft.com/pricing/member-offers/msdn-benefits-details/?WT.mc_id=A85619ABF) ou vous inscrire pour créer un [compte gratuit](https://azure.microsoft.com/free/?WT.mc_id=A85619ABF). - Suivez les étapes dans [Démarrage rapide : Utiliser le portail Azure pour créer une rubrique Service Bus et des abonnements à cette rubrique](service-bus-quickstart-topics-subscriptions-portal.md). Notez la chaîne de connexion, le nom de la rubrique et un nom d’abonnement. Vous n’utiliserez qu’un seul abonnement dans ce guide de démarrage rapide. - Python 3.5 ou version ultérieure, avec le [kit SDK Azure Python][package Azure Python] installé. Pour plus d’informations, consultez le [Guide d’installation Python](/azure/developer/python/azure-sdk-install). ## <a name="send-messages-to-a-topic"></a>Envoi de messages à une rubrique 1. Ajoutez l’instruction d’importation suivante : ```python from azure.servicebus import ServiceBusClient, ServiceBusMessage ``` 2. Ajoutez les constantes suivantes. ```python CONNECTION_STR = "<NAMESPACE CONNECTION STRING>" TOPIC_NAME = "<TOPIC NAME>" SUBSCRIPTION_NAME = "<SUBSCRIPTION NAME>" ``` > [!IMPORTANT] > - Remplacez `<NAMESPACE CONNECTION STRING>` par la chaîne de connexion de votre espace de noms, > - et remplacez `<TOPIC NAME>` par le nom de la rubrique. > - Remplacez `<SUBSCRIPTION NAME>` par le nom de l’abonnement à la rubrique. 3. Ajoutez une méthode pour envoyer un message unique. ```python def send_single_message(sender): # create a Service Bus message message = ServiceBusMessage("Single Message") # send the message to the topic sender.send_messages(message) print("Sent a single message") ``` L’expéditeur est un objet qui agit en tant que client pour la rubrique que vous avez créée. Vous le créerez ultérieurement et l’enverrez en tant qu’argument à cette fonction. 4. Ajoutez une méthode pour envoyer une liste de messages. ```python def send_a_list_of_messages(sender): # create a list of messages messages = [ServiceBusMessage("Message in list") for _ in range(5)] # send the list of messages to the topic sender.send_messages(messages) print("Sent a list of 5 messages") ``` 5. Ajoutez une méthode pour envoyer un lot de messages. ```python def send_batch_message(sender): # create a batch of messages batch_message = sender.create_message_batch() for _ in range(10): try: # add a message to the batch batch_message.add_message(ServiceBusMessage("Message inside a ServiceBusMessageBatch")) except ValueError: # ServiceBusMessageBatch object reaches max_size. # New ServiceBusMessageBatch object can be created here to send more data. break # send the batch of messages to the topic sender.send_messages(batch_message) print("Sent a batch of 10 messages") ``` 6. Créez un client Service Bus, puis un objet expéditeur de rubrique pour envoyer des messages. ```python # create a Service Bus client using the connection string servicebus_client = ServiceBusClient.from_connection_string(conn_str=CONNECTION_STR, logging_enable=True) with servicebus_client: # get a Topic Sender object to send messages to the topic sender = servicebus_client.get_topic_sender(topic_name=TOPIC_NAME) with sender: # send one message send_single_message(sender) # send a list of messages send_a_list_of_messages(sender) # send a batch of messages send_batch_message(sender) print("Done sending messages") print("-----------------------") ``` ## <a name="receive-messages-from-a-subscription"></a>Réception des messages d’un abonnement Ajoutez le code suivant après l’instruction print. Ce code reçoit continuellement de nouveaux messages jusqu’à ce qu’il n’en reçoive plus pendant cinq (`max_wait_time`) secondes. ```python with servicebus_client: # get the Subscription Receiver object for the subscription receiver = servicebus_client.get_subscription_receiver(topic_name=TOPIC_NAME, subscription_name=SUBSCRIPTION_NAME, max_wait_time=5) with receiver: for msg in receiver: print("Received: " + str(msg)) # complete the message so that the message is removed from the subscription receiver.complete_message(msg) ``` ## <a name="full-code"></a>Code complet ```python from azure.servicebus import ServiceBusClient, ServiceBusMessage CONNECTION_STR = "<NAMESPACE CONNECTION STRING>" TOPIC_NAME = "<TOPIC NAME>" SUBSCRIPTION_NAME = "<SUBSCRIPTION NAME>" def send_single_message(sender): message = ServiceBusMessage("Single Message") sender.send_messages(message) print("Sent a single message") def send_a_list_of_messages(sender): messages = [ServiceBusMessage("Message in list") for _ in range(5)] sender.send_messages(messages) print("Sent a list of 5 messages") def send_batch_message(sender): batch_message = sender.create_message_batch() for _ in range(10): try: batch_message.add_message(ServiceBusMessage("Message inside a ServiceBusMessageBatch")) except ValueError: # ServiceBusMessageBatch object reaches max_size. # New ServiceBusMessageBatch object can be created here to send more data. break sender.send_messages(batch_message) print("Sent a batch of 10 messages") servicebus_client = ServiceBusClient.from_connection_string(conn_str=CONNECTION_STR, logging_enable=True) with servicebus_client: sender = servicebus_client.get_topic_sender(topic_name=TOPIC_NAME) with sender: send_single_message(sender) send_a_list_of_messages(sender) send_batch_message(sender) print("Done sending messages") print("-----------------------") with servicebus_client: receiver = servicebus_client.get_subscription_receiver(topic_name=TOPIC_NAME, subscription_name=SUBSCRIPTION_NAME, max_wait_time=5) with receiver: for msg in receiver: print("Received: " + str(msg)) receiver.complete_message(msg) ``` ## <a name="run-the-app"></a>Exécuter l’application Lorsque vous exécutez l’application, vous devez voir la sortie suivante : ```console Sent a single message Sent a list of 5 messages Sent a batch of 10 messages Done sending messages ----------------------- Received: Single Message Received: Message in list Received: Message in list Received: Message in list Received: Message in list Received: Message in list Received: Message inside a ServiceBusMessageBatch Received: Message inside a ServiceBusMessageBatch Received: Message inside a ServiceBusMessageBatch Received: Message inside a ServiceBusMessageBatch Received: Message inside a ServiceBusMessageBatch Received: Message inside a ServiceBusMessageBatch Received: Message inside a ServiceBusMessageBatch Received: Message inside a ServiceBusMessageBatch Received: Message inside a ServiceBusMessageBatch Received: Message inside a ServiceBusMessageBatch ``` Dans le portail Azure, accédez à votre espace de noms Service Bus. Dans la page **Vue d’ensemble**, vérifiez que le nombre de messages **entrants** et **sortants** est égal à 16. Si ces chiffres ne s’affichent pas, actualisez la page après quelques minutes. :::image type="content" source="./media/service-bus-python-how-to-use-queues/overview-incoming-outgoing-messages.png" alt-text="Nombre de messages entrants et sortants"::: Sélectionnez la rubrique dans le volet inférieur pour afficher la page **Rubrique Service Bus** de votre rubrique. Dans cette page, vous devez voir trois messages entrants et trois messages sortants dans le graphique **Messages**. :::image type="content" source="./media/service-bus-python-how-to-use-topics-subscriptions/topic-page-portal.png" alt-text="Messages entrants et sortants"::: Dans cette page, si vous sélectionnez un abonnement, vous accédez à la page **Abonnement Service Bus**. Elle indique entre autres le nombre de messages actifs et le nombre de messages de lettres mortes. Dans cet exemple, tous les messages ont été reçus ; le nombre de messages actifs est donc égal à zéro. :::image type="content" source="./media/service-bus-python-how-to-use-topics-subscriptions/active-message-count.png" alt-text="Nombre de messages actifs"::: Si vous commentez le code de réception, le nombre de messages actifs sera égal à 16. :::image type="content" source="./media/service-bus-python-how-to-use-topics-subscriptions/active-message-count-2.png" alt-text="Nombre de messages actifs - aucune réception"::: ## <a name="next-steps"></a>Étapes suivantes Voir la documentation et les exemples suivants : - [Bibliothèque de client Azure Service Bus pour Python](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/servicebus/azure-servicebus) - [Exemples](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/servicebus/azure-servicebus/samples). - Le dossier **sync_samples** contient des exemples qui montrent comment interagir avec Service Bus de manière synchrone. Dans ce guide de démarrage rapide, vous avez utilisé cette méthode. - Le dossier **async_samples** contient des exemples qui montrent comment interagir avec Service Bus de manière asynchrone. - [Documentation de référence sur azure-servicebus](/python/api/azure-servicebus/azure.servicebus?preserve-view=true)
49.131222
351
0.740192
fra_Latn
0.600589
aa81d4e0fc83faeb5641559eb540c11963dcd381
2,278
md
Markdown
README.md
tz1201/Portfolio
3a72daa1dd092d6d947602ae35273e458b16a650
[ "MIT" ]
null
null
null
README.md
tz1201/Portfolio
3a72daa1dd092d6d947602ae35273e458b16a650
[ "MIT" ]
null
null
null
README.md
tz1201/Portfolio
3a72daa1dd092d6d947602ae35273e458b16a650
[ "MIT" ]
null
null
null
# Portfolio # **Project Description**: This is my personal portfolio showing my previous works. Except for the projects done in Communications Lab, I also include the projects done in other IM courses as well as my personal interests. I want my portfolio to be as concise and clean as possible, so I design the website to be only black and white and grey, also there isn't much gaudy stuffs in the website. # **Process**: **Home Page** I want to make all the page with only black, white and grey. So for the section background I choose to use is a dotted background. The navigation bar also uses css animation, when hovering over the section name, it will turn grey and a border will appear. What I like the most is the boucing effect of the cursor indicating audiences to click and scroll to move to the following sections. **MY WORKS** This section is for placing projects for Communications Lab and this section uses mainly css animation. When the mouse hovers over the poster of each project, a grey box will flow up and the short brief appears. With mouse putting on the introduction, the font will change to lead the audiences to click. Once clicked, a small window will pop up at the center. And clicking the picture will lead to the project itself, and clicking the introduction will lead to the documentation of the project. With the size of window shrinks, the popup window will change it layout accordingly to provide a better view. **MORE ABOUT ME** This page uses css hover to do the interactions, I apply 3-D visual effect to the text on the picture. When hovering over the picture, it will turn to the back of the picture, showing the simple introduction of th project. Clicking the picture will lead to the video of project directly. **CONTECT ME** Here I want to develop a area that for audience to contact me, I choose the left and right layout, with smaller size of the website, it will change to up and down layout. # **Reflection/Evaluation**: To develop in the future, I want to connect it with a online database so that I can really receive opinions from others. The simple design shows that I want to show the identity of preciseness and self-consistent. Basically the portfolio develops based on the css animation, and I like it very much!
91.12
605
0.784021
eng_Latn
0.999801
aa825f9a52f1a669c98d7fa63640858f43950e61
1,572
md
Markdown
update_log.md
Jack-Reinhardt/ZXingLite
0d98224c31c5da965b620cd92ed513ae25537249
[ "Apache-2.0" ]
1
2021-09-23T01:40:21.000Z
2021-09-23T01:40:21.000Z
update_log.md
Jack-Reinhardt/ZXingLite
0d98224c31c5da965b620cd92ed513ae25537249
[ "Apache-2.0" ]
null
null
null
update_log.md
Jack-Reinhardt/ZXingLite
0d98224c31c5da965b620cd92ed513ae25537249
[ "Apache-2.0" ]
null
null
null
## 版本记录 #### v2.1.0:2021-6-30 (从v2.1.0开始不再发布至JCenter) * 更新CameraX至v1.0.0 * 优化细节 #### v2.0.3:2021-3-26 * 更新CameraX至v1.0.0-rc03 * 优化一些默认配置 #### v2.0.2:2021-1-14 * **ViewfinderView** 新增 **labelTextWidth** 属性 #### v2.0.1:2020-12-30 * 更新CameraX至v1.0.0-rc01 * 新增支持点击预览区域对焦目标 * 修改一些默认配置 * 优化细节 #### v2.0.0:2020-12-24 * 基于CameraX进行重构 * 抽象整体流程,可扩展性更高 * 从2.x开始只支持AndroidX * minSdk要求从 **16+** 改为 **21+** #### v1.1.9:2020-4-28 * 修复1.1.8版本优化细节时,不小心改出个Bug(fix #86) #### v1.1.8:2020-4-27 * 统一日志管理 * 优化细节 #### v1.1.7:2020-3-29 * 优化一些默认参数配置 * 修复扫码界面开启闪光灯并切到后台时,手电筒按钮状态未同步问题(fix #81) #### v1.1.6:2019-12-27 * 生成条形码/二维码时支持自定义配置颜色 * 支持识别反色码(增强识别率,默认不支持,需通过 **CaptureHelper.supportLuminanceInvert(true)** 开启) #### v1.1.5:2019-12-16 * 优化Camera初始化相关策略,减少出现卡顿的可能性 #### v1.1.4:2019-11-18 * 内置手电筒按钮,当光线太暗时,自动显示手电筒 (fix #58) * 生成二维码时Logo支持自定义大小 (fix #62) #### v1.1.3:2019-9-24 * 支持真实识别区域比例和识别区域偏移量可配置 * 对外暴露更多可配置参数 #### v1.1.2:2019-6-27 * 优化部分细节,为迁移至AndroidX做准备 * 支持AndroidX对应版本 #### v1.1.1:2019-5-20 * 支持扫二维码过小时,自动缩放 * 支持识别垂直条形码(增强条形码识别,默认不支持,需通过 **CaptureHelper.supportVerticalCode(true)** 开启) #### v1.1.0:2019-4-19 * 将扫码相关逻辑与界面分离,ZXingLite使用更容易扩展 * 新增CaptureFragment #### v1.0.7:2019-4-9 * 新增网格样式的扫描激光(类似支付宝扫码样式) * 升级Gradle至v4.6 #### v1.0.6:2019-1-16 * 支持连续扫码 * 支持横屏扫码(主要为了支持Pad) #### v1.0.5:2018-12-29 * 支持自定义扫码框宽高 #### v1.0.4:2018-12-19 * 修改text相关自定义属性,如:text->labelText #### v1.0.3:2018-11-20 * 支持触摸缩放变焦 #### v1.0.2:2018-9-12 * 支持条形码下方显示显示code * 优化相机预览尺寸遍历策略,从而降低预览变形的可能性 #### v1.0.1:2018-8-23 * 优化扫码识别速度 #### v1.0.0:2018-8-9 * ZXingLite初始版本
17.662921
78
0.657761
yue_Hant
0.609271
aa828afa676a1d8a7bef6f186b965c1396ef9287
13,192
md
Markdown
README.md
Agre7/Snapchat-Clone
69e86d1d326a4ba82a00b9fc3998561e19638658
[ "MIT" ]
null
null
null
README.md
Agre7/Snapchat-Clone
69e86d1d326a4ba82a00b9fc3998561e19638658
[ "MIT" ]
null
null
null
README.md
Agre7/Snapchat-Clone
69e86d1d326a4ba82a00b9fc3998561e19638658
[ "MIT" ]
1
2021-01-12T10:10:45.000Z
2021-01-12T10:10:45.000Z
<h1 align="center">👻 SnapChat Clone</h1> <div align="center"> <img src="./public/readme/tech-logos/react.svg" width="55" alt="React" /> <img src="./public/readme/tech-logos/redux.svg" width="55" alt="Redux" /> <img src="./public/readme/tech-logos/typescript.svg" width="55" alt="TypeScript" /> <img src="./public/readme/tech-logos/javascript.svg" width="55" alt="JavaScript" /> <img src="./public/readme/tech-logos/sass.svg" width="55" alt="Sass" /> <img src="./public/readme/tech-logos/webpack.svg" width="55" alt="Webpack" /> <img src="./public/readme/tech-logos/gulp.svg" width="35" alt="gulp" /> <img src="./public/readme/tech-logos/cypress.svg" width="55" alt="Cypress" /> <img src="./public/readme/tech-logos/jest.svg" width="55" alt="Jest" /> <img src="./public/readme/tech-logos/eslint.svg" width="55" alt="Eslint" /> <img src="./public/readme/tech-logos/prettier.svg" width="55" alt="Prettier" /> <img src="./public/readme/tech-logos/storybook.svg" width="50" alt="Storybook" /> </div> <h2>⚡️Breakdown</h2> <ul> <li> Built with <code>React</code> <ul> <li>Only functional components using hooks</li> <li> Folder structure: <ul> <li>Flat - no greater than one level deep</li> <li> Modular - each folder contains all the relevant files needed to make up a particular feature (components, styles, tests, actions, etc). Having everything close at hand reduces cognitive load and deleting a folder removes the feature entirely from the code base without having to worry about left over code </li> <li> Organized semantically by Feature (not by the traditional "components/containers" model), this way of reasoning is more human friendly </li> <li><code>common</code> directory houses all shared components</li> </ul> </li> <li>Custom component library showcased in <code>Storybook</code></li> <li>Relatively few prod dependencies</li> </ul> </li> <li> Global state management via <code>Redux</code> <ul> <li> Uses <code>Redux Toolkit</code> - the official recommended approach to using Redux which drastically cuts the need to write boilerplate code </li> <li> A single <code>store.ts</code> file for each feature contains all actions and reducers (the creators are auto generated by RTK) </li> <li>Flat state tree avoids deeply nested properties</li> <li> RTK has built-in support for <code>ImmerJS</code> which allows state to be safely mutated removing the need for messy object copying via spread operators </li> <li> Uses the <code>useDispatch</code> and <code>useSelector</code> hooks provided by <code>react-redux</code> for accessing state values and dispatching actions over the more verbose <code>connect</code> method </li> <li>Uses <code>thunk</code> for async operations</li> <li> Integrates the powerful <code>Redux Devtools Extension</code> for ease of development </li> </ul> </li> <li> Styled with <code>SASS</code> <ul> <li> Each view's set of rules are scoped to a single parent element via nesting to avoid style clashes </li> <li> Use of variables, extendables and mixins to keep things DRY and uniform </li> </ul> </li> <li> Written in <code>Typescript</code> <ul> <li> To let the compiler catch bugs at build time instead of letting users catch them at runtime! </li> </ul> </li> <li>Unit tested with <code>Jest</code> and <code>Enzyme</code></li> <li> End-to-end tested with <code>Cypress</code> <ul> <li> Selectors use <code>data</code> attributes instead of classes or ids as these can change often causing tests to break </li> <li> Integration suite covers all essential feature happy paths </li> </ul> </li> <li>Linted using <code>Eslint</code></li> <li> Code is auto formatted using <code>Prettier</code> (ran as a pre-commit git hook) before it gets pushed to the repo </li> <li> Feels close to a native app if you "add to homescreen" on mobile </li> </ul> <h2>💿 Installation</h2> <p>Run these commands in the terminal:</p> <ol> <li> <code>$ git clone git@github.com:Agre7/Snapchat-Clone.git</code> </li> <li><code>$ cd snapchat-clone</code></li> <li> <code>$ npm install</code> <ul> <li> This will: <ul> <li>Install the dependencies in package.json</li> <li> Checkout <a href="https://github.com/jeeliz/jeelizFaceFilter">jeelizFaceFilter</a> package (used for the filters) and set it to the last version this project was tested and confirmed to work with </li> <li> Run <code>gulp</code> to concatenate, minify and transpile the files located in <code>public/filters/source/*.js</code> into a single file called <code>filters.min.js</code> </li> </ul> </li> </ul> </li> <li> This part is optional but strongly recommended, without it you won't be able to view any of the snap map features: <ul> <li> Make a Mapbox account and <a href="https://docs.mapbox.com/help/glossary/access-token/" target="_blank" >get a free API key</a > </li> <li> Rename the <code>.env.sample</code> file at the root of the project to just <code>.env</code> </li> <li> Inside enter your new API key, for example: <ul> <li> Before: <code>REACT_APP_MAP_BOX_API_KEY=&lt;REPLACE_WITH_API_KEY&gt;</code> </li> <li>After: <code>REACT_APP_MAP_BOX_API_KEY=xy.abc123</code></li> </ul> </li> </ul> </li> <li> <code>$ npm start</code> <ul> <li> The app should open automatically in your browser usually at <code>https://localhost:3000/</code> <ul> <li> In Chrome you will receive a "Your connection is not private" warning <ul> <li> Click "Advanced" &gt; "Proceed to localhost (unsafe)" <ul> <li> You'll get this warning because the app uses a self signed <code>https</code> certificate. The <code>getUserMedia</code> API used by the camera requires the <code>https</code> protocol so we run the dev server in https mode. </li> </ul> </li> </ul> </li> <li> After this you will be prompted to give access to your webcam, click "Allow" </li> </ul> </li> </ul> <br /> <table> <tbody> <tr> <th align="center"> Step 1 </th> <th align="center"> Step 2 </th> <th align="center"> Step 3 </th> </tr> <tr> <td align="center" valign="middle"> <img src="public/readme/step1.png" /> </td> <td align="center" valign="middle"> <img src="public/readme/step2.png" /> </td> <td align="center" valign="middle"> <img src="public/readme/camera.png" /> </td> </tr> </tbody> </table> </li> <li>You're all set! 🎉</li> </ol> <table> <tbody> <tr> <th colspan="2" align="left"> <h2>🦮 Guides</h2> </th> </tr> <tr> <td align="center" valign="top"> <img src="public/readme/guide.png" /> </td> <td valign="top"> Not all the buttons are actionable, many of them are there just for show since this is a minimal demo. This <a href="https://www.youtube.com/embed/aRS88v-duKg?autoplay=1" target="_blank" >video</a > shows all the things you can currently do. Where it's not obvious which buttons actually work I added red box-shadows as guides. </td> </tr> </tbody> </table> <table> <tbody> <tr> <th colspan="2" align="left"> <h2>🛠 Tooling</h2> </th> </tr> <tr> <td valign="top"> <img src="public/readme/storybook.png" /> <p> <strong>Storybook</strong> is used to showcase the app's custom component library. You can run Storybook using the command <code>npm run storybook</code> </p> </td> <td valign="top"> <img src="public/readme/redux-ext.png" /> <p> <strong>Redux Devtools Extension</strong> is implemented in the app, it makes things like viewing the state tree, state flow and debugging much easier, to use it you need to install the browser extension <a href="https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=en" >here</a > or <a href="https://addons.mozilla.org/en-US/firefox/addon/reduxdevtools/" >here</a > </p> </td> </tr> </tbody> </table> <h2>🧪 Testing</h2> <table> <tbody> <tr> <th colspan="2" align="left"> <strong>End-to-End Tests</strong> </th> </tr> <tr> <td align="center" valign="top"> <a href="https://www.youtube.com/embed/tNrx6NlTYKI?autoplay=1"> <img src="public/readme/cypress.png" width="600" /> </a> <p>👆Click to see all tests run</p> </td> <td valign="top"> <ul> <li> All e2e tests are located in <code>cypress/integration/*.spec.ts</code> <ul> <li> To run these first make sure the dev server is up and running via <code>npm start</code>, then use the command <code>npm run e2e</code> </li> <li> This will open the Cypress electron app. Click "Run all specs" at the top right, you'll then get a Chrome instance and see all the tests being run </li> </ul> </li> <li> Alternatively you can run the test suite in the terminal using the command <code>npm run e2e-headless</code>. This command still generates videos in <code>cypress/videos/*.mp4</code> of the tests should you need them </li> </ul> </td> </tr> </tbody> </table> <table> <tbody> <tr> <th colspan="2" align="left"> <strong>Unit Tests</strong> </th> </tr> <tr> <td valign="top"> <img src="public/readme/unit.png" width="400" /> </td> <td valign="top"> <ul> <li> All the shared components in the <code>common</code> directory have unit tests inside their respective folders. They end with a <code>*.test.tsx</code> extension. </li> <li> To run the unit test suite use the command <code>npm run test</code> </li> <li> These tests are also automatically run on each commit, if there are any failures the commit will also fail </li> </ul> </td> </tr> </tbody> </table> <h2>📝 Misc Notes</h2> <ul> <li> If you want to make changes to the filter files located in <code>public/filters/src/*.js</code>, run the command <code>npm run gulp watchJS</code> so that your changes get picked up </li> <li> The project's <code>baseUrl</code> is set to the <code>src</code> directory in tsconfig so you can use clean import paths like <code>import Foo from 'common/Foo';</code> instead of messy ones like <code>import Foo from '../../common/Foo';</code>. You can also use these in the SASS files, e.g. <code>@import '~styles/foo';</code> </li> <li> This is a purely front end demo, the "API" is nothing but a bunch of json files with hard coded dummy data, they're located in <code>/public/api/*.json</code> </li> </ul> <h2>⚠️ Contributing</h2> <p> Please note I won't be accepting PR's on this project since it's part of my personal portfolio. You're more than welcome to fork and maintain your own version if you like! </p> <h2>⚖️ License</h2> <p> The Snapchat name, artwork, trademark are all property of Snap Inc. This project is provided for educational purposes only. It is not affiliated with and has not been approved by Snap Inc. </p>
30.050114
114
0.556398
eng_Latn
0.939933
aa83922acb49c2cca568d48a8b6b904209aebf72
1,263
markdown
Markdown
_posts/2017-06-07-OnionShare.markdown
dominicusin/dominicusin.github.io
4bb5e7f7c3e30722cc909244fa087a1f2f2afc9f
[ "CC0-1.0" ]
2
2016-11-22T02:15:10.000Z
2021-09-27T05:26:34.000Z
_posts/2017-06-07-OnionShare.markdown
dominicusin/dominicusin.github.io
4bb5e7f7c3e30722cc909244fa087a1f2f2afc9f
[ "CC0-1.0" ]
null
null
null
_posts/2017-06-07-OnionShare.markdown
dominicusin/dominicusin.github.io
4bb5e7f7c3e30722cc909244fa087a1f2f2afc9f
[ "CC0-1.0" ]
null
null
null
--- title: OnionShare date: 2017-06-07 20:02:00 +03:00 --- # OnionShare [![Build Status](https://travis-ci.org/micahflee/onionshare.png)](https://travis-ci.org/micahflee/onionshare) OnionShare lets you securely and anonymously share files of any size. It works by starting a web server, making it accessible as a Tor onion service, and generating an unguessable URL to access and download the files. It doesn't require setting up a server on the internet somewhere or using a third party file-sharing service. You host the file on your own computer and use a Tor onion service to make it temporarily accessible over the internet. The other user just needs to use Tor Browser to download the file from you. **To learn how OnionShare works, what its security properties are, and how to use it, check out the [wiki](https://github.com/micahflee/onionshare/wiki).** **You can download OnionShare for Windows and macOS from <https://onionshare.org/>. It should be available in your package manager for Linux, and it's included by default in Tails.** You can set up your development environment to build OnionShare yourself by following [these instructions](/BUILD.md). ![Server Screenshot](/screenshots/server.png) ![Client Screenshot](/screenshots/client.png)
63.15
523
0.777514
eng_Latn
0.992255
aa83ac5c6fecaca93d195325288dd3457fc095bc
20,576
md
Markdown
aspnet/web-api/overview/security/enabling-cross-origin-requests-in-web-api.md
terrajobst/AspNetDocs.pt-br
43875749f47ea8ae6f56f7e58198e05e30e7cff8
[ "CC-BY-4.0", "MIT" ]
null
null
null
aspnet/web-api/overview/security/enabling-cross-origin-requests-in-web-api.md
terrajobst/AspNetDocs.pt-br
43875749f47ea8ae6f56f7e58198e05e30e7cff8
[ "CC-BY-4.0", "MIT" ]
null
null
null
aspnet/web-api/overview/security/enabling-cross-origin-requests-in-web-api.md
terrajobst/AspNetDocs.pt-br
43875749f47ea8ae6f56f7e58198e05e30e7cff8
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- uid: web-api/overview/security/enabling-cross-origin-requests-in-web-api title: Habilitando solicitações entre origens no ASP.NET Web API 2 | Microsoft Docs author: MikeWasson description: Mostra como oferecer suporte ao compartilhamento de recursos entre origens (CORS) no ASP.NET Web API. ms.author: riande ms.date: 01/29/2019 ms.assetid: 9b265a5a-6a70-4a82-adce-2d7c56ae8bdd msc.legacyurl: /web-api/overview/security/enabling-cross-origin-requests-in-web-api msc.type: authoredcontent ms.openlocfilehash: 9d3016d98fa6c3a55359c6dab0737407b29925f1 ms.sourcegitcommit: e7e91932a6e91a63e2e46417626f39d6b244a3ab ms.translationtype: MT ms.contentlocale: pt-BR ms.lasthandoff: 03/06/2020 ms.locfileid: "78555702" --- # <a name="enable-cross-origin-requests-in-aspnet-web-api-2"></a>Habilitar solicitações entre origens no ASP.NET Web API 2 por [Mike Wasson](https://github.com/MikeWasson) > A segurança do navegador impede que uma página da Web envie solicitações do AJAX para outro domínio. Essa restrição é chamada de *política de mesma origem*e impede que um site mal-intencionado leia dados confidenciais de outro site. No entanto, às vezes, talvez você queira permitir que outros sites Chamem sua API da Web. > > O CORS ( [compartilhamento de recursos entre origens](http://www.w3.org/TR/cors/) ) é um padrão W3C que permite que um servidor Relaxe a política de mesma origem. Usando o CORS, um servidor pode explicitamente permitir algumas solicitações entre origens e rejeitar outras. O CORS é mais seguro e mais flexível do que as técnicas anteriores, como [JSONP](http://en.wikipedia.org/wiki/JSONP). Este tutorial mostra como habilitar o CORS em seu aplicativo de API Web. > > ## <a name="software-used-in-the-tutorial"></a>Software usado no tutorial > > - [Visual Studio](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=button+cta&utm_content=download+vs2017) > - API Web 2,2 ## <a name="introduction"></a>Introdução Este tutorial demonstra o suporte a CORS no ASP.NET Web API. Vamos começar criando dois projetos ASP.NET – um chamado "WebService", que hospeda um controlador de API da Web e o outro chamado "WebClient", que chama WebService. Como os dois aplicativos são hospedados em domínios diferentes, uma solicitação AJAX de WebClient para WebService é uma solicitação entre origens. ![](enabling-cross-origin-requests-in-web-api/_static/image1.png) ### <a name="what-is-same-origin"></a>O que é a "mesma origem"? Duas URLs têm a mesma origem se tiverem esquemas, hosts e portas idênticos. ([RFC 6454](http://tools.ietf.org/html/rfc6454)) Essas duas URLs têm a mesma origem: - `http://example.com/foo.html` - `http://example.com/bar.html` Essas URLs têm origens diferentes das duas anteriores: - `http://example.net`-domínio diferente - `http://example.com:9000/foo.html`-porta diferente - `https://example.com/foo.html`-esquema diferente - `http://www.example.com/foo.html`-subdomínio diferente > [!NOTE] > O Internet Explorer não considera a porta ao comparar origens. ## <a name="create-the-webservice-project"></a>Criar o projeto WebService > [!NOTE] > Esta seção pressupõe que você já sabe como criar projetos de API Web. Caso contrário, consulte [introdução com ASP.NET Web API](../getting-started-with-aspnet-web-api/tutorial-your-first-web-api.md). 1. Inicie o Visual Studio e crie um novo projeto de **aplicativo Web ASP.net (.NET Framework)** . 2. Na caixa de diálogo **novo aplicativo Web ASP.net** , selecione o modelo de projeto **vazio** . Em **Adicionar pastas e referências principais para**, marque a caixa de seleção **API da Web** . ![Caixa de diálogo novo projeto ASP.NET no Visual Studio](enabling-cross-origin-requests-in-web-api/_static/new-web-app-dialog.png) 3. Adicione um controlador de API da Web chamado `TestController` com o seguinte código: [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample1.cs)] 4. Você pode executar o aplicativo localmente ou implantá-lo no Azure. (Para as capturas de tela neste tutorial, o aplicativo é implantado em Azure App aplicativos Web do serviço.) Para verificar se a API da Web está funcionando, navegue até `http://hostname/api/test/`, em que *hostname* é o domínio no qual você implantou o aplicativo. Você deve ver o texto da resposta &quot;GET: Test Message&quot;. ![Navegador da Web mostrando mensagem de teste](enabling-cross-origin-requests-in-web-api/_static/image4.png) ## <a name="create-the-webclient-project"></a>Criar o projeto WebClient 1. Crie outro projeto de **aplicativo Web do ASP.net (.NET Framework)** e selecione o modelo de projeto do **MVC** . Opcionalmente, selecione **alterar autenticação** > **sem autenticação**. Você não precisa de autenticação para este tutorial. ![Modelo MVC na caixa de diálogo novo projeto ASP.NET no Visual Studio](enabling-cross-origin-requests-in-web-api/_static/new-web-app-dialog-mvc.png) 2. Em **Gerenciador de soluções**, abra o arquivo *views/home/index. cshtml*. Substitua o código deste arquivo pelo seguinte: [!code-cshtml[Main](enabling-cross-origin-requests-in-web-api/samples/sample2.cshtml?highlight=13)] Para a variável *ServiceUrl* , use o URI do aplicativo WebService. 3. Execute o aplicativo WebClient localmente ou publique-o em outro site. Quando você clica no botão "experimentar", uma solicitação AJAX é enviada para o aplicativo WebService usando o método HTTP listado na caixa suspensa (GET, POST ou PUT). Isso permite que você examine diferentes solicitações entre origens. Atualmente, o aplicativo WebService não oferece suporte a CORS, portanto, se você clicar no botão, receberá um erro. ![Erro ' Try ' no navegador](enabling-cross-origin-requests-in-web-api/_static/image7.png) > [!NOTE] > Se você observar o tráfego HTTP em uma ferramenta como o [Fiddler](https://www.telerik.com/fiddler), verá que o navegador envia a solicitação get e a solicitação é realizada com sucesso, mas a chamada AJAX retorna um erro. É importante entender que a política de mesma origem não impede que o navegador *envie* a solicitação. Em vez disso, ele impede que o aplicativo Veja a *resposta*. ![Depurador da Web do Fiddler mostrando solicitações da Web](enabling-cross-origin-requests-in-web-api/_static/image8.png) ## <a name="enable-cors"></a>Habilitar CORS Agora, vamos habilitar o CORS no aplicativo WebService. Primeiro, adicione o pacote NuGet do CORS. No Visual Studio, no menu **ferramentas** , selecione **Gerenciador de pacotes NuGet**e, em seguida, selecione **console do Gerenciador de pacotes**. Na janela do console do Gerenciador de pacotes, digite o seguinte comando: [!code-powershell[Main](enabling-cross-origin-requests-in-web-api/samples/sample3.ps1)] Esse comando instala o pacote mais recente e atualiza todas as dependências, incluindo as principais bibliotecas de API Web. Use o sinalizador `-Version` para direcionar uma versão específica. O pacote CORS requer a API Web 2,0 ou posterior. Abra o aplicativo de arquivo *\_Start/WebApiConfig. cs*. Adicione o seguinte código ao método **WebApiConfig. Register** : [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample4.cs?highlight=9)] Em seguida, adicione o atributo **[EnableCors]** à classe `TestController`: [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample5.cs?highlight=3,7)] Para o parâmetro *Origins* , use o URI no qual você implantou o aplicativo WebClient. Isso permite solicitações entre origens do WebClient, ao mesmo tempo que ainda não permite todas as outras solicitações entre domínios. Posteriormente, descreverei os parâmetros para **[EnableCors]** mais detalhadamente. Não inclua uma barra invertida no final da URL de *origens* . Reimplante o aplicativo WebService atualizado. Você não precisa atualizar o WebClient. Agora a solicitação AJAX do WebClient deve ser realizada com sucesso. Todos os métodos GET, PUT e POST são permitidos. ![Navegador da Web mostrando mensagem de teste bem-sucedida](enabling-cross-origin-requests-in-web-api/_static/image9.png) ## <a name="how-cors-works"></a>Como o CORS funciona Esta seção descreve o que acontece em uma solicitação CORS, no nível das mensagens HTTP. É importante entender como o CORS funciona, para que você possa configurar o atributo **[EnableCors]** corretamente e solucionar problemas se as coisas não funcionarem conforme o esperado. A especificação CORS apresenta vários novos cabeçalhos HTTP que habilitam solicitações entre origens. Se um navegador oferecer suporte a CORS, ele definirá esses cabeçalhos automaticamente para solicitações entre origens; Você não precisa fazer nada especial no seu código JavaScript. Aqui está um exemplo de uma solicitação entre origens. O cabeçalho "origem" fornece o domínio do site que está fazendo a solicitação. [!code-console[Main](enabling-cross-origin-requests-in-web-api/samples/sample6.cmd?highlight=5)] Se o servidor permitir a solicitação, ele definirá o cabeçalho Access-Control-Allow-Origin. O valor desse cabeçalho corresponde ao cabeçalho de origem ou é o valor curinga "\*", o que significa que qualquer origem é permitida. [!code-console[Main](enabling-cross-origin-requests-in-web-api/samples/sample7.cmd?highlight=5)] Se a resposta não incluir o cabeçalho Access-Control-Allow-Origin, a solicitação AJAX falhará. Especificamente, o navegador não permite a solicitação. Mesmo que o servidor retorne uma resposta bem-sucedida, o navegador não disponibilizará a resposta para o aplicativo cliente. **Solicitações de simulação** Para algumas solicitações de CORS, o navegador envia uma solicitação adicional, chamada de "solicitação de simulação", antes de enviar a solicitação real para o recurso. O navegador poderá ignorar a solicitação de simulação se as seguintes condições forem verdadeiras: - O método de solicitação é GET, HEAD ou POST *e* - O aplicativo não define nenhum cabeçalho de solicitação que não seja aceito, Accept-Language, Content-Language, Content-Type ou Last-Event-ID *e* - O cabeçalho Content-Type (se definido) é um dos seguintes: - Application/x-www-form-urlencoded - multipart/form-data - texto/sem formatação A regra sobre cabeçalhos de solicitação aplica-se aos cabeçalhos que o aplicativo define chamando **setRequestHeader** no objeto **XMLHttpRequest** . (A especificação CORS chama esses "cabeçalhos de solicitação de autor".) A regra não se aplica aos cabeçalhos que o *navegador* pode definir, como agente de usuário, host ou comprimento de conteúdo. Aqui está um exemplo de uma solicitação de simulação: [!code-console[Main](enabling-cross-origin-requests-in-web-api/samples/sample8.cmd?highlight=4-5)] A solicitação de simulação usa o método de opções HTTP. Ele inclui dois cabeçalhos especiais: - Access-Control-Request-Method: o método HTTP que será usado para a solicitação real. - Access-Control-request-headers: uma lista de cabeçalhos de solicitação que o *aplicativo* definiu na solicitação real. (Novamente, isso não inclui os cabeçalhos que o navegador define.) Aqui está um exemplo de resposta, supondo que o servidor permita a solicitação: [!code-console[Main](enabling-cross-origin-requests-in-web-api/samples/sample9.cmd?highlight=6-7)] A resposta inclui um cabeçalho Access-Control-Allow-Methods que lista os métodos permitidos e, opcionalmente, um cabeçalho Access-Control-Allow-headers, que lista os cabeçalhos permitidos. Se a solicitação de simulação for realizada com sucesso, o navegador enviará a solicitação real, conforme descrito anteriormente. As ferramentas normalmente usadas para testar pontos de extremidade com as solicitações de simulação (por exemplo, [Fiddler](https://www.telerik.com/fiddler) e [postmaster](https://www.getpostman.com/)) não enviam os cabeçalhos de opções necessárias por padrão. Confirme se os cabeçalhos `Access-Control-Request-Method` e `Access-Control-Request-Headers` são enviados com a solicitação e se os cabeçalhos de opções chegam ao aplicativo por meio do IIS. Para configurar o IIS para permitir que um aplicativo ASP.NET receba e manipule solicitações de opção, adicione a seguinte configuração ao arquivo *Web. config* do aplicativo na seção `<system.webServer><handlers>`: ```xml <system.webServer> <handlers> <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> <remove name="OPTIONSVerbHandler" /> <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> </handlers> </system.webServer> ``` A remoção de `OPTIONSVerbHandler` impede que o IIS trate as solicitações de opções. A substituição de `ExtensionlessUrlHandler-Integrated-4.0` permite que as solicitações de opções alcancem o aplicativo, pois o registro de módulo padrão só permite solicitações GET, HEAD, POST e DEBUG com URLs sem extensão. ## <a name="scope-rules-for-enablecors"></a>Regras de escopo para [EnableCors] Você pode habilitar o CORS por ação, por controlador ou globalmente para todos os controladores de API da Web em seu aplicativo. **Por ação** Para habilitar o CORS para uma única ação, defina o atributo **[EnableCors]** no método de ação. O exemplo a seguir habilita o CORS somente para o método `GetItem`. [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample10.cs)] **Por controlador** Se você definir **[EnableCors]** na classe do controlador, ele se aplicará a todas as ações no controlador. Para desabilitar o CORS para uma ação, adicione o atributo **[DisableCors]** à ação. O exemplo a seguir habilita o CORS para cada método, exceto `PutItem`. [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample11.cs)] **Globalmente** Para habilitar o CORS para todos os controladores de API da Web em seu aplicativo, passe uma instância de **EnableCorsAttribute** para o método **EnableCors** : [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample12.cs)] Se você definir o atributo em mais de um escopo, a ordem de precedência será: 1. Ação 2. Controller 3. Global ## <a name="set-the-allowed-origins"></a>Definir as origens permitidas O parâmetro *Origins* do atributo **[EnableCors]** especifica quais origens têm permissão para acessar o recurso. O valor é uma lista separada por vírgulas das origens permitidas. [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample13.cs)] Você também pode usar o valor curinga "\*" para permitir solicitações de quaisquer origens. Considere atentamente antes de permitir solicitações de qualquer origem. Isso significa que literalmente qualquer site pode fazer chamadas AJAX para sua API da Web. [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample14.cs)] ## <a name="set-the-allowed-http-methods"></a>Definir os métodos HTTP permitidos O parâmetro *Methods* do atributo **[EnableCors]** especifica quais métodos http têm permissão para acessar o recurso. Para permitir todos os métodos, use o valor curinga "\*". O exemplo a seguir permite apenas solicitações GET e POST. [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample15.cs)] ## <a name="set-the-allowed-request-headers"></a>Definir os cabeçalhos de solicitação permitidos Este artigo descreveu anteriormente como uma solicitação de simulação pode incluir um cabeçalho Access-Control-request-headers, listando os cabeçalhos HTTP definidos pelo aplicativo (o que chamamos de "cabeçalhos de solicitação de autor"). O parâmetro *Headers* do atributo **[EnableCors]** especifica quais cabeçalhos de solicitação de autor são permitidos. Para permitir todos os cabeçalhos, defina os *cabeçalhos* como "\*". Para cabeçalhos específicos da lista de permissões, defina *cabeçalhos* para uma lista separada por vírgulas dos cabeçalhos permitidos: [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample16.cs)] No entanto, os navegadores não são totalmente consistentes em como eles definem o Access-Control-request-headers. Por exemplo, o Chrome atualmente inclui "Origin". O FireFox não inclui cabeçalhos padrão, como "Accept", mesmo quando o aplicativo os define em script. Se você definir *cabeçalhos* para algo diferente de "\*", deverá incluir pelo menos "Accept", "Content-Type" e "Origin", além de todos os cabeçalhos personalizados aos quais você deseja dar suporte. ## <a name="set-the-allowed-response-headers"></a>Definir os cabeçalhos de resposta permitidos Por padrão, o navegador não expõe todos os cabeçalhos de resposta ao aplicativo. Os cabeçalhos de resposta que estão disponíveis por padrão são: - Cache-Control - Content-Language - Tipo de conteúdo - Expires - Última modificação - Pragma A especificação CORS chama esses [cabeçalhos de resposta simples](https://dvcs.w3.org/hg/cors/raw-file/tip/Overview.html#simple-response-header). Para disponibilizar outros cabeçalhos para o aplicativo, defina o parâmetro *exposedHeaders* de **[EnableCors]** . No exemplo a seguir, o método `Get` do controlador define um cabeçalho personalizado chamado ' X-Custom-Header '. Por padrão, o navegador não vai expor esse cabeçalho em uma solicitação entre origens. Para disponibilizar o cabeçalho, inclua ' X-Custom-Header ' em *exposedHeaders*. [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample17.cs)] ## <a name="pass-credentials-in-cross-origin-requests"></a>Passar credenciais em solicitações entre origens As credenciais exigem tratamento especial em uma solicitação CORS. Por padrão, o navegador não envia credenciais com uma solicitação entre origens. As credenciais incluem cookies, bem como esquemas de autenticação HTTP. Para enviar credenciais com uma solicitação entre origens, o cliente deve definir **XMLHttpRequest. withCredentials** como true. Usando **XMLHttpRequest** diretamente: [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample18.cs)] No jQuery: [!code-javascript[Main](enabling-cross-origin-requests-in-web-api/samples/sample19.js)] Além disso, o servidor deve permitir as credenciais. Para permitir credenciais entre origens na API Web, defina a propriedade **SupportsCredentials** como true no atributo **[EnableCors]** : [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample20.cs)] Se essa propriedade for true, a resposta HTTP incluirá um cabeçalho Access-Control-Allow-Credentials. Esse cabeçalho informa ao navegador que o servidor permite credenciais para uma solicitação entre origens. Se o navegador enviar credenciais, mas a resposta não incluir um cabeçalho Access-Control-Allow-Credentials válido, o navegador não vai expor a resposta ao aplicativo e a solicitação AJAX falhará. Tenha cuidado ao definir **SupportsCredentials** como true, porque isso significa que um site em outro domínio pode enviar credenciais de um usuário conectado para sua API Web em nome do usuário, sem que o usuário esteja ciente. A especificação CORS também indica que a definição de *origens* para &quot;\*&quot; será inválida se **SupportsCredentials** for true. ## <a name="custom-cors-policy-providers"></a>Provedores de política CORS personalizados O atributo **[EnableCors]** implementa a interface **ICorsPolicyProvider** . Você pode fornecer sua própria implementação criando uma classe que deriva de **atributo** e implementa **ICorsPolicyProvider**. [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample21.cs)] Agora você pode aplicar o atributo em qualquer lugar que você colocaria **[EnableCors]** . [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample22.cs)] Por exemplo, um provedor de política CORS personalizado pode ler as configurações de um arquivo de configuração. Como alternativa ao uso de atributos, você pode registrar um objeto **ICorsPolicyProviderFactory** que cria objetos **ICorsPolicyProvider** . [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample23.cs)] Para definir o **ICorsPolicyProviderFactory**, chame o método de extensão **SetCorsPolicyProviderFactory** na inicialização, da seguinte maneira: [!code-csharp[Main](enabling-cross-origin-requests-in-web-api/samples/sample24.cs)] ## <a name="browser-support"></a>Suporte ao navegador O pacote CORS da API Web é uma tecnologia do lado do servidor. O navegador do usuário também precisa dar suporte a CORS. Felizmente, as versões atuais de todos os principais navegadores incluem [suporte para CORS](http://caniuse.com/cors).
68.13245
563
0.785478
por_Latn
0.998182
aa843f2d5ee748629b1098418829e58b2a5487b4
6,361
md
Markdown
doc/js/docs/moo/overview.md
hiclick/hiclick.github.com
8982287d2a1e0aeec691294d100c8beb8fd70654
[ "MIT" ]
1
2015-09-10T01:40:02.000Z
2015-09-10T01:40:02.000Z
doc/js/docs/moo/overview.md
hiclick/hiclick.github.com
8982287d2a1e0aeec691294d100c8beb8fd70654
[ "MIT" ]
null
null
null
doc/js/docs/moo/overview.md
hiclick/hiclick.github.com
8982287d2a1e0aeec691294d100c8beb8fd70654
[ "MIT" ]
null
null
null
# Mootools <i class="fa fa-home fa-2x"></i> http://mootools.net/ https://github.com/mootools/mootools-core https://github.com/mootools/mootools-more ```markup <script type="text/javascript" src="http://cdn.bootcss.com/mootools/1.5.1/mootools-core-full-compat.min.js"></script> <script type="text/javascript" src="http://cdn.bootcss.com/mootools-more/1.5.1/mootools-more-full-compat.js"></script> ``` Learn: http://mrpaolo.github.io/mootools30days/02.html http://solutoire.com/2007/09/20/understanding-mootools-selectors-e-and-es/ https://www.packtpub.com/books/content/selecting-dom-elements-using-mootools-12-part-1 https://www.packtpub.com/books/content/selecting-dom-elements-using-mootools-12-part-2 MooTools is a collection of JavaScript utilities designed for the intermediate to advanced JavaScript developer. It allows you to write powerful and flexible code with its elegant, well documented, and coherent APIs. MooTools code is extensively documented and easy to read, enabling you to extend the functionality to match your requirements. ## Core ### $ Functions Tested in Mootools v1.11. * `$chk`: Returns true if the passed in value/object exists or is 0, otherwise returns false. * `$clear`: Clears a timeout or an Interval. * `$defined`: Returns true if the passed in value/object is defined, that means is not null or undefined. * `$extend`: Copies all the properties from the second passed object to the first passed Object. * `$merge`: Merges a number of objects recursively without referencing them or their sub-objects. * `$native`: Will add a .extend method to the objects passed as a parameter, but the property passed in will be copied to the object’s prototype only if non previously existent. * `$pick`: Returns the first object if defined, otherwise returns the second. * `$random`: Returns a random integer number between the two passed in values. * `$time`: Returns the current timestamp. * `$type`: Returns the type of object that matches the element passed in. * `$A`: Returns a copy of the passed Array. * `$each`: Use to iterate through iterables that are not regular arrays, such as builtin getElementsByTagName calls, arguments of a function, or an object. * `$H`: Shortcut to create a Hash from an Object. * `$RGB`: Shortcut to create a new color, based on red, green, blue values. * `$HSV`: Shortcut to create a new color, based on hue, saturation, brightness values. ### MooTools Selectors ```javascript // get elements by class $$('.foo'); // or even: document.getElements('.foo'); // selector with different elements $$('div.foo, div.bar, div.bar a'); // get a single element document.getElement('div.foo'); ``` ### Ajax ```javascript // create a new Class instance var myRequest = new Request({ url: 'getMyText.php', method: 'get', onRequest: function(){ myElement.set('text', 'loading...'); }, onSuccess: function(responseText){ myElement.set('text', responseText); }, onFailure: function(){ myElement.set('text', 'Sorry, your request failed :('); } }); // and to send it: myRequest.send(data); ``` Form ```javascript myForm.send(); // optionally you can add/change the form properties myForm.set('send', {url: 'contact.php', method: 'get'}); ``` ### How to create new DOM elements ```javascript // the short way new Element('div#bar.foo'); // using the element constructor new Element('div', { 'class': 'foo', id: 'bar' }); ``` ### Event handlers ```javascript // attach a click event o a element myElement.addEvent('click', function(){ alert('clicked!'); }); // attach several events at a time myElement.addEvents({ mouseover: function(){ alert('mouseover'); }, click: function(){ alert('click'); } }); // remove a event myElement.removeEvent(type, fn); ``` ### MooTools Class ```javascript var Animal = new Class({ initialize: function(age){ this.age = age; } }); var Cat = new Class({ Extends: Animal, initialize: function(name, age){ // calls initalize method of Animal class this.parent(age); this.name = name; } }); var myCat = new Cat('Micia', 20); alert(myCat.name); // alerts 'Micia'. alert(myCat.age); // alerts 20. ``` ### Implement Array ```javascript Array.implement('limitTop', function(top){ for (var i = 0, l = this.length; i < l; i++){ if (this[i] > top) this[i] = top; } return this; }); [1, 2, 3, 4, 5, 6].limitTop(4); // returns [1, 2, 3, 4, 4, 4] ``` ## More ### Request.JSONP ```javascript var myJSONP = new Request.JSONP({ url: 'http://goo.gl/cCLshl?format=json', callbackKey: 'jsoncallback', data: { viewType: 'json', }, onRequest: function (url) { // a script tag is created with a // src attribute equal to url }, onComplete: function (data) { // the request was completed // and data received the server answer. console.log(data); // answer object with data } }).send(); ``` ### HTML table constructor ```javascript var myTable = new HtmlTable({ properties: { border: 5, cellpadding: 5 }, headers: ['fruits', 'colors'], rows: [ ['apple', 'red'], ['lemon', 'yellow'] ] }); myTable.inject($(document.body)); // and to push more data into it: myTable.push(['lime', 'green']); ``` ## CDN [Public Resources on SAE](http://lib.sinaapp.com/?path=/mootools) * [[1.1.1]](http://lib.sinaapp.com/?path=mootools/1.1.1) * [[1.1.2]](http://lib.sinaapp.com/?path=mootools/1.1.2) * [[1.2.1]](http://lib.sinaapp.com/?path=mootools/1.2.1) * [[1.2.2]](http://lib.sinaapp.com/?path=mootools/1.2.2) * [[1.2.3]](http://lib.sinaapp.com/?path=mootools/1.2.3) * [[1.2.4]](http://lib.sinaapp.com/?path=mootools/1.2.4) * [[1.2.5]](http://lib.sinaapp.com/?path=mootools/1.2.5) * [[1.3.0]](http://lib.sinaapp.com/?path=mootools/1.3.0) * [[1.3.1]](http://lib.sinaapp.com/?path=mootools/1.3.1) * [[1.4.5]](http://lib.sinaapp.com/?path=mootools/1.4.5) ## Documentation ### Offline * http://chenzixin.com/static/docs/mootools/v1.2/ * http://chenzixin.com/static/docs/mootools/v1.2.4/ Thanks to: http://msyk.es/blog/mootools-offline-documentation/ ### Online http://mootools.net/core/docs/1.5.1 http://mootools.net/more/docs/1.5.1
25.649194
179
0.657915
eng_Latn
0.586026
aa844f46406f15b25fe8f2e174fd6bb5327f1d24
4,531
md
Markdown
wdk-ddi-src/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtllookuplastlargemcbentry.md
vladp72/windows-driver-docs-ddi
1ebee61ed547f2cad203f8bff9a8b9bd1a8ab480
[ "CC-BY-4.0", "MIT" ]
null
null
null
wdk-ddi-src/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtllookuplastlargemcbentry.md
vladp72/windows-driver-docs-ddi
1ebee61ed547f2cad203f8bff9a8b9bd1a8ab480
[ "CC-BY-4.0", "MIT" ]
null
null
null
wdk-ddi-src/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtllookuplastlargemcbentry.md
vladp72/windows-driver-docs-ddi
1ebee61ed547f2cad203f8bff9a8b9bd1a8ab480
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- UID: NF:ntifs.FsRtlLookupLastLargeMcbEntry title: FsRtlLookupLastLargeMcbEntry function (ntifs.h) description: The FsRtlLookupLastLargeMcbEntry routine retrieves the last mapping entry stored in the map control block (MCB). old-location: ifsk\fsrtllookuplastlargemcbentry.htm tech.root: ifsk ms.assetid: c12a5b96-2e11-45c6-aebf-ee49ac911fa0 ms.date: 04/16/2018 ms.keywords: FsRtlLookupLastLargeMcbEntry, FsRtlLookupLastLargeMcbEntry routine [Installable File System Drivers], fsrtlref_71f4bede-0097-4707-a30e-d09c540f507f.xml, ifsk.fsrtllookuplastlargemcbentry, ntifs/FsRtlLookupLastLargeMcbEntry ms.topic: function f1_keywords: - "ntifs/FsRtlLookupLastLargeMcbEntry" req.header: ntifs.h req.include-header: Ntifs.h req.target-type: Universal req.target-min-winverclnt: req.target-min-winversvr: req.kmdf-ver: req.umdf-ver: req.ddi-compliance: req.unicode-ansi: req.idl: req.max-support: req.namespace: req.assembly: req.type-library: req.lib: NtosKrnl.lib req.dll: NtosKrnl.exe req.irql: "<= APC_LEVEL" topic_type: - APIRef - kbSyntax api_type: - DllExport api_location: - NtosKrnl.exe api_name: - FsRtlLookupLastLargeMcbEntry product: - Windows targetos: Windows req.typenames: ms.custom: RS5 --- # FsRtlLookupLastLargeMcbEntry function ## -description The <b>FsRtlLookupLastLargeMcbEntry</b> routine retrieves the last mapping entry stored in the map control block (MCB). ## -parameters ### -param Mcb <p>Pointer to an initialized MCB structure to be searched. </p> ### -param Vbn <p>Pointer to a variable that receives the last virtual block number (VBN) that was mapped.</p> ### -param Lbn <p>Pointer to a variable that receives the logical block number (LBN) that is mapped to the VBN pointed to by <i>LargeVbn</i>, or -1 if no such LBN exists. </p> ## -returns <b>FsRtlLookupLastLargeMcbEntry</b> returns <b>FALSE</b> if the MCB contains no mapping entries, <b>TRUE</b> otherwise. ## -remarks <b>FsRtlLookupLastLargeMcbEntry</b> searches for the last mapping of the last run in the MCB: <ul> <li> If the MCB contains no mappings, <b>FsRtlLookupLastLargeMcbEntry</b> returns <b>FALSE</b>. </li> <li> If the last mapping is a hole, <b>FsRtlLookupLastLargeMcbEntry</b> returns <b>TRUE</b>, but the lookup operation yields a value of -1 for the LBN. </li> <li> If the last mapping is not a hole, the lookup operation yields a positive value for the LBN, and <b>FsRtlLookupLastLargeMcbEntry</b> returns <b>TRUE</b>. </li> </ul> <div class="alert"><b>Note</b>   The upper 32 bits of the LBN are ignored. Only the lower 32 bits are used. </div> <div> </div> ## -see-also <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtladdlargemcbentry">FsRtlAddLargeMcbEntry</a> <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtlgetnextlargemcbentry">FsRtlGetNextLargeMcbEntry</a> <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtlinitializelargemcb">FsRtlInitializeLargeMcb</a> <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtllookuplargemcbentry">FsRtlLookupLargeMcbEntry</a> <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtllookuplastlargemcbentryandindex">FsRtlLookupLastLargeMcbEntryAndIndex</a> <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtlnumberofrunsinlargemcb">FsRtlNumberOfRunsInLargeMcb</a> <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtlremovelargemcbentry">FsRtlRemoveLargeMcbEntry</a> <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtlsplitlargemcb">FsRtlSplitLargeMcb</a> <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtltruncatelargemcb">FsRtlTruncateLargeMcb</a> <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtluninitializelargemcb">FsRtlUninitializeLargeMcb</a>    
28.859873
236
0.760318
yue_Hant
0.518993
aa848e63964fe98d820f23ce43be524444176b9d
5,358
md
Markdown
2019/ml/20191221/index.md
hyeyoom/Study-Note
dad4471a464c84d7a5ca4a585285fce73f8dec09
[ "MIT" ]
null
null
null
2019/ml/20191221/index.md
hyeyoom/Study-Note
dad4471a464c84d7a5ca4a585285fce73f8dec09
[ "MIT" ]
null
null
null
2019/ml/20191221/index.md
hyeyoom/Study-Note
dad4471a464c84d7a5ca4a585285fce73f8dec09
[ "MIT" ]
4
2021-03-02T05:39:20.000Z
2021-12-15T01:45:43.000Z
# intro. 2019년 12월 21일 10시 너무 추움. 하지만 이제 피부가 안터서 괜찮음. 오늘은 Linear Regression의 기초에 대해 다룬다. # 1. Vector 열벡터, 행벡터 할 때 그 벡터. ![테이블](../assets/01/1.png) 그림과 같이 하나의 `row(data, record 등)`는 여러 변수(column, variable, feature 등)로 구성되어 있다. 위 그림과 같이 숫자 데이터는 벡터로 바로 표현할 수 있다. ```text [1, 0, 0, 1, 9.84, 14.395, 81, 0.0, 3, 13, 16] ``` 명목형 변수(categorical data)가 포함되면 벡터로 표현할 수 있도록 이를 인코딩 해주어야 한다. (One-Hot encoding 같은) 머신러닝에서 무언가 학습한다는 것은 위와 같은 변수를 두고 이를 예측할 수 있는 함수를 만드는 것과 같다. # 2. Regression `Regression`은 입력 변수(input variable)를 이용해 출력 변수(numerical output variable)의 값을 예측하는 문제이다. 앞서 보인 테이블은 자전거 대여를 한 당시의 데이터 값을 보여준다. 그리고 이 결과인 대여 수요를 주어 학습시켜서 이 변수들에 따른 대여 수요를 예측할 수 있는 함수를 찾는 것이라고 볼 수 있다! `Regression`은 추세선의 종류에 따라 선형/비선형으로 나뉜다. 선형은 직관적으로 x의 범위와 상관 없이 관계식이 일정하다는 가정이 필요하다. ![선형비선형](../assets/01/2.png) ## 2.1 Univariate Linear Regression 두 변수 x와 y 사이에 `y = ax + b`라는 관계가 있다고 가정한다. 그리고 데이터 셋을 긋는 선들 중 가장 잘 맞는 선을 선택한다. 이 선을 회귀선이라고 부른다. 이 회귀선을 선택하는 기준이 존재한다. # 3. Least Squares(최소제곱법) 회귀선을 선택하는 기준에 대해 알아보자. 여기서 `잔차(residual)`라는 용어가 등장하는데, 회귀선의 예측이 틀린 정도로 정의된다. 잔차는 음수가 될 수 있기 때문에 이 잔차들을 제곱한 합이 최소가 되는 직선이 가장 잘 설명하는 모델이 된다. 이 틀린 정도를 나타내는 척도를 `Loss`라고 부르며 다음과 같이 나타낸다. ![최소제곱법](../assets/01/3.png) 여러 선(회귀선)들 중 loss가 가장 적은 친구를 택하는 것이다. 이를 목적식(objective)이라고 한다. 잔차 제곱의 합으로 정의되기 때문에 목적식은 `y = ax + b`에서 a, b에 대한 `2차 함수`이다. 이 모델을 설명하는 변수 a, b를 잘 조절하여 loss가 가장 적은 선을 찾는 과정이며, 이 두 변수를 파라미터라고 한다. 수식으로 결정되는 최적해를 탐색하는 과정은 loss를 나타내는 식이 2차 함수일 때에는 잘 동작한다. 하지만 이를 넘어가는 함수는 풀 수 없다는 단점이 존재한다. (즉, 대수적인 해법으로 해를 결정할 수 없는 함수) 이런 경우에는 경험적(empirically)으로 최적해를 탐색하는 방법이 존재한다. # 4. Gradient Descent `경사하강법(Gradient Descent)`은 현재의 직선보다 잔차의 제곱 합이 더 작은 직선으로 loss를 줄여나가며 최저점을 찾는 방법이다. ![학습](../assets/01/4.png) 파라미터 공간에서 학습 파라미터를 조절하여 입력 벡터 공간의 직선을 조정한다. 앞서 소개한 회귀선의 목적식은 다음과 같은 `2차 함수`이다. ![경사하강법](../assets/01/5.png) 다음 그림을 보자. ![경사하강법-하강](../assets/01/6.png) 여기서 최저점을 찾기 위해 y의 변위를 x의 변위로 나눈 값을 바탕으로 탐색한다. 최저점에 가까울 수록 이 값은 0에 가깝다. 최저점을 지나치면 이 값이 양수가 된다. 경사하강법은 y가 줄어드는 방향으로 x를 이동시켜 y의 최저점을 탐색한다. x는 -(dy/dx)에 작은 값(learning rate)를 곱한 값만큼 이동시킨다. 이 Learning Rate가 커지면 `Gradient Explosion`이 발생하며 발산하는 현상이 발생할 수도 있다. 이러한 이유로 learning rate의 값은 작은 수를 사용한다. 다만 explosion을 막기 위해 작은 learning rate를 사용하면 최저점까지 이동하기 위한 스텝의 수가 많아진다. 따라서 `AdaGrad(Adaptive Gradient)` 같은 방법을 사용한다. 이 방법은 이전 변위에 현재 변위를 누적하여 방향이 동일하면 이동량을 가속하고, 방향이 바뀌면 누적 값을 줄여 감속시켜 진동하다가 수렴하는 형태가 된다. 여기서는 `2차 함수`였기 때문에 `local minima` 같은 현상이 발생하지 않겠지만 함수가 복잡해지면, 즉 차수가 높아지면 global minima와 local minima 여러 개가 존재하게 된다. ![로컬미니마](../assets/01/7.png) 이런 경사하강법 기반의 파라미터 학습에는 여러 전략이 존재한다. - Adam - AdaGrad - RMSProp 이런 것들을 `optimizer`라고 부른다. `Local Optima`를 회피하며 최저점을 효율적으로 찾기 위한 도구들이다. 경사하강법 결론: - 대수적으로 해를 결정할 수 없는 복잡한 함수에도 쓸 수 있음 - 모델 품질 결정 기준(loss function)이 주어지면 품질이 좋은 파라미터를 찾아나가기 위해 파라미터를 수정하는 `경험적 탐색법` # 5. 회귀선 품질 결정을 위한 여러 방법 회귀선 품질 결정을 위한 방법은 하나만 존재하지 않는다. 앞서 소개한 방법은 단순한 2차 함수였지만, 확률분포를 사용할 수도 있고 로그를 사용할 수도 있다. ## 5.1. Maximum Likelihood Estimation(MLE) 이는 회귀선 품질 정도를 `확률분포`로 표현하는 방법이다. - 잔차의 크기가 작을 수록 확률이 높은 확률식을 정의 - 정규분포를 따른다고 가정 이 때 `확률분포함수`는 다음과 같다. ![확률분포함수](../assets/01/8.png) 이 Likelihood 중 가장 큰 녀석이 품질 좋은 모델이 될 것이다. MLE는 확률을 최대화 하는 파라미터를 찾는 과정이 된다. - 잔차가 작을 수록 확률이 높음 - 이것도 경사하강법으로 탐색 ## 5.2. Negative Log Likelihood 로그는 단조 증가 함수이다. 이를 이용한 것이다. 함수 f(x)의 최저점은 log(f(x))의 최저점과 위치가 같다. 로그함수는 경사하강법 적용에 유리하다. (단조 증가) 또한 잔차 확률이나 최소제곱법으로 정의한 회귀선 품질 기준이 동일하다. 이 방법은 임의의 확률 기반의 loss에 이용할 수 있으며, NLL에서의 loss는 확률이 작을 수록 loss가 크다. # 6. Regularization 과적합(overfitting) 문제를 해결하는 방법은 대표적으로 다음과 같은 것들이 있다. - 훈련 데이터 양을 늘린다 -> 시간, 비용 많이 듬 - feature 제거 -> model selection, 종속 변수와 연관이 낮은 feature 제거 - Regularization 여기서는 regularization을 정리함. p-norm은 다음과 같이 정의된다. ![p놈](../assets/01/9.png) * `p = 0`이면 0이 아닌 차원의 개수이고, * `p = 1`이면 `맨하탄 노름(Manhattan norm or taxicab norm)`이고, * `p = 2`이면 `L2 Norm(Euclidean Distance)`이다. 목적식 objective를 loss와 regularization cost의 합의로 정의하고 다음을 정리해보자. ## 6.1. L1 Regularization L1은 변수 선택의 효과를 얻을 수 있는 방법이다. 맨하탄 노름의 정의에서도 알 수 있듯, 0이면 변수를 사용하지 않는다. ![목적식](../assets/01/11.png) 여기서 람다는 loss와 regularization의 중요도를 조절하는 사용자 지정 변수이다. (딥러닝의 weight???) L1의 가중치 변화를 보자. ![L1](../assets/01/10.png) L1의 특성상 일정한 크기로 0을 향하기 때문에 대부분의 계수가 0이다. 즉, 몇몇의 feature만 가지고 값을 예측하는 것이다. 이런 이유로 변수가 데이터 개수보다 많은 `fat data`나, 중복된 feature가 존재하는 경우 필요하다. 이를 활용하는 것이 `logistic regression`이다. ## 6.2. L2 Regularization ![목적식](../assets/01/12.png) `L2`는 regularization cost 부분에서 유독 튀는 값이 없도록 유도한다. L2의 가중치 변화를 보자. ![L2](../assets/01/13.png) 0으로 이동한다는 점은 L1과 같으나, 0에 가까워질 수록 0으로 다가가는 크기가 작아진다. 따라서 L2는 L1과 달리 feature의 가중치를 0으로 만드는 것이 아니라 0에 가깝게 만들어 영향력이 낮은 feature까지 사용하여 더 품질 높은 예측값을 뽑으려는 의도이다. 이를 이용하는 선형회귀를 `ridge regression`이라고 부른다. # 7. Evaluation Evaluation metric은 사후 품질 평가로 사용되며, 이외에도 경사하강법에서 파라미터 이동 방향을 결정하는 지표로도 사용된다. 여러가지 평가 방법을 정리해보자. ## 7.1. R² > y의 분산 대비 잔차 비율이 낮을 수록 모델이 데이터를 잘 설명함! * `R² <= 1`로 1에 근접할 수록 잔차가 없다 -> 훌륭한 모델 ## 7.2. Adjusted R² * 변수의 개수를 고려한 `R²`. 변수 개수에 패널티가 주어진다. ## 7.3. Average Error * 잔차의 크기가 크더라도 평균은 0일 수 있음 ## 7.4. Mean Absolute Error(MAE) * yi의 크기와 관계 없이 잔차의 영향력은 모두 동등 ## 7.5. Mean Absolute Percentage Error(MAPE) * yi의 크기를 고려한 잔차의 상대적 크기를 계산 * MAPE는 절대 값이라 최저점 근처에서 속도 저하가 없기 때문에 RMSE가 더 잘 쓰임 ## 7.6. Root Mean Squared Error(RMSE) * ei의 크기가 클 경우 더 큰 패널티를 얻음 * RMSE는 잔차와 yi의 스케일을 동일하게 맞춤
24.244344
155
0.672079
kor_Hang
1.00001
aa84c0ee3f46788bc84cb97cda9bf876a5f4bfcb
1,272
md
Markdown
docs/bugpattern/MemberName.md
nanaze/error-prone
25a30d20cfbc055623463461c2b88f7ab4f6ba17
[ "Apache-2.0" ]
6
2020-07-26T18:24:07.000Z
2022-01-21T07:17:42.000Z
docs/bugpattern/MemberName.md
nanaze/error-prone
25a30d20cfbc055623463461c2b88f7ab4f6ba17
[ "Apache-2.0" ]
44
2022-01-13T23:27:31.000Z
2022-03-21T16:15:56.000Z
docs/bugpattern/MemberName.md
nanaze/error-prone
25a30d20cfbc055623463461c2b88f7ab4f6ba17
[ "Apache-2.0" ]
1
2021-11-25T18:35:50.000Z
2021-11-25T18:35:50.000Z
The [Google Java Style Guide §5.2][style] provides rules for naming nembers. ## Test methods The style guide includes the following special case for test methods: > Underscores may appear in JUnit test method names to separate logical > components of the name, with each component written in `lowerCamelCase`, for > example `transferMoney_deductsFromSource`. Note that this only applies to test methods themselves, not to helper methods called by test methods. ```java @Test public void transferMoney_deductsFromChecking() { transferMoney_deductsFromSource(Source.CHECKING); } @Test public void transferMoney_deductsFromSavings() { transferMoney_deductsFromSource(Source.SAVINGS); } // this method name shouldn't use underscores private void transferMoney_deductsFromSource(Source source) { ... } ``` Instead of having a group of test methods call the same helper method with varying parameters, consider a [parameterized test][parameterized] , or splitting the tests into separate setup and assert helper methods (named appropriately) to make the flow of each test clearer. [style]: https://google.github.io/styleguide/javaguide.html#s5.2-specific-identifier-names [parameterized]: https://junit.org/junit4/javadoc/4.12/org/junit/runners/Parameterized.html
34.378378
91
0.798742
eng_Latn
0.964262
aa84d489329dbb25c1c22f55cdbe05b075c141c2
2,662
md
Markdown
articles/mariadb/howto-auto-grow-storage-portal.md
md2perpe/azure-docs.sv-se
64bdd85952bc1d194f86a3a80e616ca967bb6235
[ "CC-BY-4.0", "MIT" ]
null
null
null
articles/mariadb/howto-auto-grow-storage-portal.md
md2perpe/azure-docs.sv-se
64bdd85952bc1d194f86a3a80e616ca967bb6235
[ "CC-BY-4.0", "MIT" ]
null
null
null
articles/mariadb/howto-auto-grow-storage-portal.md
md2perpe/azure-docs.sv-se
64bdd85952bc1d194f86a3a80e616ca967bb6235
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Auto-väx lagring i Azure Database for MariaDB med Azure portal description: Den här artikeln beskrivs hur du kan aktivera automatisk utöka lagringen för Azure Database for MariaDB med hjälp av Azure portal author: ambhatna ms.author: ambhatna ms.service: mariadb ms.topic: conceptual ms.date: 5/29/2019 ms.openlocfilehash: bb3291b66776a5f0f6be16069b2d6a999b2d1f32 ms.sourcegitcommit: d4dfbc34a1f03488e1b7bc5e711a11b72c717ada ms.translationtype: MT ms.contentlocale: sv-SE ms.lasthandoff: 06/13/2019 ms.locfileid: "66676885" --- # <a name="auto-grow-storage-in-azure-database-for-mariadb-using-the-azure-portal"></a>Auto-väx lagring i Azure Database for MariaDB med Azure portal Den här artikeln beskrivs hur du kan konfigurera en Azure Database for MariaDB-serverlagring att växa utan att påverka arbetsbelastningen. När en server når gränsen allokerat lagringsutrymme, har servern markerats som skrivskyddad. Men om du aktiverar storage auto väx ökar serverlagring för att tillgodose det växande data. För servrar med färre än 100 GB etablerad lagring ökar den allokerade lagringsstorleken med 5 GB när det lediga lagringsutrymmet som understiger det större av 1 GB eller 10% av allokerat lagringsutrymme. För servrar med fler än 100 GB allokerat lagringsutrymme ökar den allokerade lagringsstorleken med 5% när det lediga utrymmet är mindre än 5% av den allokerade lagringsstorleken. Maximalt lagringsutrymme gränser som anges [här](https://docs.microsoft.com/azure/mariadb/concepts-pricing-tiers#storage) gäller. ## <a name="prerequisites"></a>Nödvändiga komponenter Du behöver följande för att slutföra den här guiden: - En [Azure Database for MariaDB-server](./quickstart-create-mariadb-server-database-using-azure-portal.md) ## <a name="enable-storage-auto-grow"></a>Aktivera storage automatiskt växa Följ dessa steg om du vill ange MariaDB server storage auto väx: 1. I den [Azure-portalen](https://portal.azure.com/), Välj din Azure Database for MariaDB-server. 2. På sidan MariaDB under **inställningar** klickar **prisnivå** att öppna sidan med priser nivå. 3. Markera under automatisk tillväxt **Ja** för att aktivera storage automatiskt växa. ![Azure Database for MariaDB - Settings_Pricing_tier - Auto-growth](./media/howto-auto-grow-storage-portal/3-auto-grow.png) 4. Klicka på **OK** för att spara ändringarna. 5. Ett meddelande bekräftar att automatiskt växa har aktiverats. ![Azure Database for MariaDB - automatisk tillväxt lyckades](./media/howto-auto-grow-storage-portal/5-auto-grow-successful.png) ## <a name="next-steps"></a>Nästa steg Lär dig mer om [så skapa aviseringar för mått](howto-alert-metric.md).
57.869565
698
0.796394
swe_Latn
0.978407
aa85937fabea62f5e4e26331b3285cfa5eb55a39
435
md
Markdown
clients/backend-application-insights/README.md
mevouc/imodeljs
3ca170c43f170a23c76794325813b9d247f889ef
[ "MIT" ]
1
2021-02-25T14:51:45.000Z
2021-02-25T14:51:45.000Z
clients/backend-application-insights/README.md
mevouc/imodeljs
3ca170c43f170a23c76794325813b9d247f889ef
[ "MIT" ]
46
2021-02-19T14:29:34.000Z
2021-04-30T17:37:26.000Z
clients/backend-application-insights/README.md
mevouc/imodeljs
3ca170c43f170a23c76794325813b9d247f889ef
[ "MIT" ]
1
2020-12-02T11:01:00.000Z
2020-12-02T11:01:00.000Z
# @bentley/backend-application-insights-client Copyright © Bentley Systems, Incorporated. All rights reserved. ## Description The __@bentley/backend-application-insights-client__ package contains client wrappers around Microsoft Application Insights for reporting telemetry data. These classes only work on the backend. ## Documentation See the [iModel.js](https://www.imodeljs.org) documentation for more information.
36.25
194
0.793103
eng_Latn
0.849704
aa86120969f5bb47e54cf4ed5178d985945d4e73
5,946
md
Markdown
docs/standard/modernize-with-azure-and-containers/modernize-existing-apps-to-cloud-optimized/microsoft-technologies-in-cloud-optimized-applications.md
lucieva/docs.cs-cz
a688d6511d24a48fe53a201e160e9581f2effbf4
[ "CC-BY-4.0", "MIT" ]
1
2018-12-19T17:04:23.000Z
2018-12-19T17:04:23.000Z
docs/standard/modernize-with-azure-and-containers/modernize-existing-apps-to-cloud-optimized/microsoft-technologies-in-cloud-optimized-applications.md
lucieva/docs.cs-cz
a688d6511d24a48fe53a201e160e9581f2effbf4
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/standard/modernize-with-azure-and-containers/modernize-existing-apps-to-cloud-optimized/microsoft-technologies-in-cloud-optimized-applications.md
lucieva/docs.cs-cz
a688d6511d24a48fe53a201e160e9581f2effbf4
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Technologie Microsoft v aplikace optimalizované pro Cloud description: Modernizace stávajících aplikací .NET pomocí cloudu Azure a Windows kontejnery | Technologie Microsoft v aplikace optimalizované pro Cloud author: CESARDELATORRE ms.author: wiwagn ms.date: 04/28/2018 ms.openlocfilehash: 874eeffe77d7f5e459be4d1a93cc2c45e8f8711a ms.sourcegitcommit: 213292dfbb0c37d83f62709959ff55c50af5560d ms.translationtype: MT ms.contentlocale: cs-CZ ms.lasthandoff: 09/25/2018 ms.locfileid: "47109693" --- # <a name="microsoft-technologies-in-cloud-optimized-applications"></a>Technologie Microsoft v aplikace optimalizované pro cloud Následující seznam popisuje nástroje, technologie a řešení, které jsou rozpoznány jako požadavky pro Cloud optimalizovaný aplikací. Optimalizované pro Cloud prvky můžete přijmout selektivně nebo postupně, v závislosti na vašich priorit. - **Cloudová Infrastruktura**: infrastrukturu, která poskytuje výpočetní platforma, operačního systému, sítě a úložiště. Microsoft Azure je umístěn na této úrovni. - **Modul runtime**: Tato vrstva nabízí prostředí pro spuštění aplikace. Pokud používáte kontejnery, tuto vrstvu obvykle je na základě [modul Docker](https://docs.docker.com/engine/); běží na hostiteli systému Linux nebo na hostitelích s Windows. ([Kontejnery Windows](https://docs.microsoft.com/virtualization/windowscontainers/about/) jsou podporované od verze Windows serveru 2016. Kontejnery Windows je nejlepší volbou pro existující aplikace .NET Framework, které běží na Windows). - **Spravované cloudové**: když zvolíte možnost spravovanou cloudovou, se můžete vyhnout nákladům a správa a podpora základního oprav operačního systému virtuálních počítačích, infrastruktury a konfiguraci sítě. Pokud budete chtít migrovat pomocí IaaS, budete muset pro všechny tyto úlohy a související náklady. V spravované cloudové možnosti spravovat jenom aplikace a služby, které vyvíjíte. Poskytovatel cloudové služby obvykle spravuje všechno ostatní. Příklady spravované cloudové služby v Azure [Azure SQL Database](https://azure.microsoft.com/services/sql-database), [Azure Redis Cache](https://azure.microsoft.com/services/cache/), [služby Azure Cosmos DB](https://azure.microsoft.com/services/cosmos-db/), [služby Azure Storage](https://azure.microsoft.com/services/storage/), [– Azure Database for MySQL](https://azure.microsoft.com/services/mysql/), [– Azure Database for PostgreSQL](https://azure.microsoft.com/services/postgresql/), [Azure Active Directory](https://azure.microsoft.com/services/active-directory/)a spravovat výpočetních služeb, jako je [škálování virtuálního počítače Nastaví](https://azure.microsoft.com/services/virtual-machine-scale-sets/), [Azure Service Fabric](https://azure.microsoft.com/services/service-fabric/), [služby Azure App Service](https://azure.microsoft.com/services/app-service/), a [Azure Kubernetes Service](https://azure.microsoft.com/services/container-service/). - **Vývoj aplikací**: můžete vybrat z mnoha jazyků při sestavování aplikace, které běží v kontejnerech. Tato příručka se zaměřuje na [.NET](https://www.microsoft.com/net), ale můžete vyvíjet aplikace založené na kontejnerech s použitím jiných jazycích, jako je Java nebo Node.js, Python, Spring, nebo se vrátit. - **Monitorování telemetrických dat, protokolování a auditování**: možnost sledovat a auditovat aplikací a kontejnerů, které běží v cloudu je zásadní pro všechny aplikace optimalizované pro Cloud. [Azure Application Insights](https://azure.microsoft.com/services/application-insights/) a [Microsoft Operations Management Suite](https://www.microsoft.com/cloud-platform/operations-management-suite) jsou hlavní nástroje Microsoft, které umožňují sledování a auditování pro Cloud optimalizovaný aplikací. - **Zřizování**: automatizační nástroje vám pomůžou zřízení infrastruktury a nasadit aplikaci do více prostředí (výrobu, testovací, přípravné). Nástroje, jako je Chef nebo Puppet můžete použít ke správě prostředí a konfigurace aplikací. Tuto vrstvu můžete implementovat také pomocí jednodušeji a přístupy. Například můžete nasadit přímo pomocí rozhraní příkazového řádku Azure (Azure CLI) nástroje a pak použijte průběžné nasazování a vydávání kanálů správy v [Azure DevOps služby](https://visualstudio.microsoft.com/team-services/). - **Životní cyklus aplikace**: [Azure DevOps služby](https://visualstudio.microsoft.com/team-services/) a další nástroje, jako je Jenkins, jsou sestavené automatizační servery, které vám pomohou implementovat kanálů CI/CD, včetně produktu release management. Další části této kapitole a souvisejících návodů, konkrétně zaměřit podrobnosti o modulu runtime vrstvy (kontejnery Windows). Návod popisuje způsoby, kterými můžete nasadit kontejnery Windows ve Windows serveru 2016 (a novějších verzích) virtuálních počítačů a Azure Container Instances. Věnuje se také pokročilejší platformy PaaS, jako je Azure App Service a orchestrátor, jako je Azure Service Fabric a službě Azure Kubernetes. ## <a name="monolithic-applications-can-be-cloud-optimized"></a>Monolitické aplikace *můžete* být optimalizované pro Cloud Je důležité, abyste měli na očích monolitických aplikací (aplikace, které nejsou založené na mikroslužbách) *můžete* být aplikace optimalizované pro Cloud. Můžete vytvářet a provozovat monolitické aplikace, které budou využívat cloud computingu modelu s použitím kombinace kontejnerů, průběžné doručování a DevOps. Pokud stávající monolitické aplikace hodí pro vaše obchodní cíle, můžete ji modernizovat a nastavte ji optimalizovaných pro Cloud. Podobně pokud monolitické aplikace mohou být aplikace optimalizované pro Cloud, jiné, složitější architektury, jako je N-vrstvé aplikace může také být modernizovala jako aplikace optimalizované pro Cloud. >[!div class="step-by-step"] [Předchozí](reasons-to-modernize-existing-net-apps-to-cloud-optimized-applications.md) [další](what-about-cloud-native-applications.md)
138.27907
1,419
0.815002
ces_Latn
0.999588
aa866b346c2170d9f5eb11efb6bc1640003a322e
1,589
md
Markdown
docs/2014/analysis-services/schema-rowsets/ole-db-olap/discover-instances-rowset.md
masashimi/sql-docs.ja-jp
8d7b348348f377b8b1621da72311554cfd003fae
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/2014/analysis-services/schema-rowsets/ole-db-olap/discover-instances-rowset.md
masashimi/sql-docs.ja-jp
8d7b348348f377b8b1621da72311554cfd003fae
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/2014/analysis-services/schema-rowsets/ole-db-olap/discover-instances-rowset.md
masashimi/sql-docs.ja-jp
8d7b348348f377b8b1621da72311554cfd003fae
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: DISCOVER_INSTANCES 行セット |Microsoft Docs ms.custom: '' ms.date: 06/13/2017 ms.prod: sql-server-2014 ms.reviewer: '' ms.suite: '' ms.technology: - analysis-services - docset-sql-devref ms.tgt_pltfrm: '' ms.topic: reference api_name: - DISCOVER_INSTANCES topic_type: - apiref helpviewer_keywords: - DISCOVER_INSTANCES rowset ms.assetid: e0842e63-089d-468d-869f-634da343d9fb caps.latest.revision: 29 author: minewiskan ms.author: owend manager: craigg ms.openlocfilehash: 5d949861a9208b60788e0085de2340bdd26f4700 ms.sourcegitcommit: c18fadce27f330e1d4f36549414e5c84ba2f46c2 ms.translationtype: MT ms.contentlocale: ja-JP ms.lasthandoff: 07/02/2018 ms.locfileid: "37200132" --- # <a name="discoverinstances-rowset"></a>DISCOVER_INSTANCES 行セット サーバー上のインスタンスについて記述します。 ## <a name="rowset-columns"></a>行セットの列 `DISCOVER_INSTANCES`行セットには、次の列が含まれています。 |列名|型を表すインジケーター|長さ|説明| |-----------------|--------------------|------------|-----------------| |`INSTANCE_NAME`|`DBTYPE_WSTR`||インスタンスの名前。| |`INSTANCE_PORT_NUMBER`|`DBTYPE_I4`||インスタンスがリッスンするポート番号。| |`INSTANCE_STATE`|`DBTYPE_I4`||サーバー インスタンスの状態。<br /><br /> - `Started`<br />- `Stopped`<br />- `Starting`<br />- `Stopping`<br />- `Paused`| このスキーマ行セットは並べ替えられません。 ## <a name="restriction-columns"></a>制限の列 `DISCOVER_INSTANCES`行セットは、次の表に示されている列で制限できます。 |列名|型を表すインジケーター|制限の状態| |-----------------|--------------------|-----------------------| |`INSTANCE_NAME`|`DBTYPE_WSTR`|任意。| ## <a name="see-also"></a>参照 [OLE DB for OLAP Schema 行セット](ole-db-for-olap-schema-rowsets.md)
28.375
152
0.666457
yue_Hant
0.636738
aa868d9c4914c5775de6e54873c27a80bc4c1ca8
13,477
md
Markdown
docs/vs-2015/extensibility/internals/registering-a-legacy-language-service1.md
tommorris/visualstudio-docs.tr-tr
11f1d23025c44a834e451a92828b7078fdc68a7c
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/vs-2015/extensibility/internals/registering-a-legacy-language-service1.md
tommorris/visualstudio-docs.tr-tr
11f1d23025c44a834e451a92828b7078fdc68a7c
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/vs-2015/extensibility/internals/registering-a-legacy-language-service1.md
tommorris/visualstudio-docs.tr-tr
11f1d23025c44a834e451a92828b7078fdc68a7c
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Bir eski dil hizmeti kaydetme1 | Microsoft Docs ms.custom: '' ms.date: 2018-06-30 ms.prod: visual-studio-dev14 ms.reviewer: '' ms.suite: '' ms.technology: - vs-ide-sdk ms.tgt_pltfrm: '' ms.topic: article helpviewer_keywords: - language services [managed package framework], registering ms.assetid: d33b08af-09e0-4c79-87b2-5536b27fbacf caps.latest.revision: 23 ms.author: gregvanl manager: ghogen ms.openlocfilehash: 0aebd8142d5ceed2acb113dbfaec5904271d4468 ms.sourcegitcommit: 55f7ce2d5d2e458e35c45787f1935b237ee5c9f8 ms.translationtype: MT ms.contentlocale: tr-TR ms.lasthandoff: 08/22/2018 ms.locfileid: "42692702" --- # <a name="registering-a-legacy-language-service"></a>Eski dil hizmeti kaydediliyor [!INCLUDE[vs2017banner](../../includes/vs2017banner.md)] Bu konuda en son sürümünü şu yolda bulunabilir: [bir eski dil hizmeti Kaydetme1](https://docs.microsoft.com/visualstudio/extensibility/internals/registering-a-legacy-language-service1). Yönetilen paket çerçevesini (MPF), dil hizmeti tarafından bir VSPackage proffered (bkz [VSPackages](../../extensibility/internals/vspackages.md)) ve kayıtlı [!INCLUDE[vsprvs](../../includes/vsprvs-md.md)] kayıt defteri anahtarları ve girişleri ekleyerek. Bu kayıt işlemi kısmen yükleme sırasında ve kısmen çalışma zamanı içinde yapılır. ## <a name="register-the-language-service-by-using-attributes"></a>Dil hizmeti öznitelikleri kullanarak kaydetme Aşağıdaki öznitelikler, bir dil hizmeti kaydetmek için kullanılır. - <xref:Microsoft.VisualStudio.Shell.ProvideServiceAttribute> - <xref:Microsoft.VisualStudio.Shell.ProvideLanguageServiceAttribute> - <xref:Microsoft.VisualStudio.Shell.ProvideLanguageExtensionAttribute> - <xref:Microsoft.VisualStudio.Shell.ProvideLanguageCodeExpansionAttribute> - <xref:Microsoft.VisualStudio.Shell.ProvideLanguageEditorOptionPageAttribute> Bu öznitelikler aşağıda açıklanmıştır ### <a name="provideserviceattribute"></a>ProvideServiceAttribute Bu öznitelik, bir dil hizmeti hizmet olarak kaydeder. ### <a name="example"></a>Örnek ```csharp using Microsoft.VisualStudio.Shell; namespace TestLanguagePackage { [ProvideServiceAttribute(typeof(TestLanguageService), ServiceName = "Test Language Service")] public class TestLanguagePackage : Package { } } ``` ### <a name="providelanguageserviceattribute"></a>ProvideLanguageServiceAttribute Bu öznitelik, bir dil hizmeti özel bir dil hizmeti kaydeder. Dil hizmetinize sunan özellikleri belirten seçenekleri ayarlamanıza olanak sağlar. Bu örnek, bir dil hizmeti sağlayan seçenekler kümesini gösterir. Dil hizmeti seçenekleri tam kümesi için bkz: <xref:Microsoft.VisualStudio.Shell.ProvideLanguageServiceAttribute>. ### <a name="example"></a>Örnek ```csharp using Microsoft.VisualStudio.Shell; namespace TestLanguagePackage { [ProvideLanguageServiceAttribute(typeof(TestLanguageService), "Test Language", 106, // resource ID of localized language name CodeSense = true, // Supports IntelliSense RequestStockColors = false, // Supplies custom colors EnableCommenting = true, // Supports commenting out code EnableAsyncCompletion = true // Supports background parsing )] public class TestLanguagePackage : Package { } } ``` ### <a name="providelanguageextensionattribute"></a>ProvideLanguageExtensionAttribute Bu öznitelik, bir dosya uzantısına sahip, dil hizmeti ilişkilendirir. Uzantıya sahip bir dosya yüklendiğinde bir proje, dil hizmetinin başlatıldığından ve dosyanın içeriğini görüntülemek için kullanılır. ### <a name="example"></a>Örnek ```csharp using Microsoft.VisualStudio.Shell; namespace TestLanguagePackage { [ProvideLanguageExtensionAttribute(typeof(TestLanguageService), ".Testext")] public class TestLanguagePackage : Package { } } ``` ### <a name="providelanguagecodeexpansionattribute"></a>ProvideLanguageCodeExpansionAttribute Bu öznitelik, hangi koddan genişletme veya parçacık şablonu elde edilen bir konuma kaydeder. Bu bilgileri tarafından kullanılan **kod parçacıkları tarayıcı** ve bir kod parçacığı kaynak dosyaya eklendiğinde, düzenleyici. ### <a name="example"></a>Örnek ```csharp using Microsoft.VisualStudio.Shell; namespace TestLanguagePackage { [ProvideLanguageCodeExpansionAttribute( typeof(TestLanguageService), "Test Language", // Name of language used as registry key. 106, // Resource ID of localized name of language service. "testlanguage", // language key used in snippet templates. @"%InstallRoot%\Test Language\SnippetsIndex.xml", // Path to snippets index SearchPaths = @"%InstallRoot%\Test Language\Snippets\%LCID%\Snippets\;" + @"%TestDocs%\Code Snippets\Test Language\Test Code Snippets" )] public class TestLanguagePackage : Package { } } ``` ### <a name="providelanguageeditoroptionpageattribute"></a>ProvideLanguageEditorOptionPageAttribute Bu öznitelik, görüntülenecek özellik sayfası kaydeder **seçenekleri** iletişim kutusunun altında **metin düzenleyici** kategorisi. Dil hizmetiniz için görüntülenecek her sayfa için özniteliklerden birini kullanın. Sayfalarınızı bir ağaç yapısı içinde düzenlemek istiyorsanız, her bir ağaç düğümünü tanımlamak için ek öznitelikler kullanın. ### <a name="example"></a>Örnek Bu örnek, iki özellik sayfalarını gösterir. **seçenekleri** ve **Indenting**ve ikinci özellik sayfasını içeren bir düğüm. ```csharp using Microsoft.VisualStudio.Shell; namespace TestLanguagePackage { [ProvideLanguageEditorOptionPageAttribute( "Test Language", // Registry key name for language "Options", // Registry key name for property page "#242", // Localized name of property page OptionPageGuid = "{A2FE74E1-FFFF-3311-4342-123052450768}" // GUID of property page )] [ProvideLanguageEditorOptionPageAttribute( "Test Language", // Registry key name for language "Advanced", // Registry key name for node "#243", // Localized name of node )] [ProvideLanguageEditorOptionPageAttribute( "Test Language", // Registry key name for language @"Advanced\Indenting", // Registry key name for property page "#244", // Localized name of property page OptionPageGuid = "{A2FE74E2-FFFF-3311-4342-123052450768}" // GUID of property page )] public class TestLanguagePackage : Package { } } ``` ## <a name="proffer-the-language-service-at-runtime"></a>Dil hizmeti zamanında proffer Dil paketinizi yüklendiğinde söylemelisiniz [!INCLUDE[vsprvs](../../includes/vsprvs-md.md)] dil hizmetiniz hazır hale gelir. Bunun için hizmet proffering tarafından. Bu yapılır <xref:Microsoft.VisualStudio.Shell.Package.Initialize%2A> yöntemi. Ayrıca, arka plan ayrıştırmayı gerçekleştirilebilir, boş dönemlerde dil hizmetinizi çağırır zamanlayıcıyı başlatmak gerekir. Boşta Bu zamanlayıcı da aracılığıyla uyguladıysanız belge özelliklerini güncelleştirmek için kullanılan <xref:Microsoft.VisualStudio.Package.DocumentProperties> sınıfı. Bir zamanlayıcı desteklemek için paketinizi uygulamalıdır <xref:Microsoft.VisualStudio.OLE.Interop.IOleComponent> arabirimi (yalnızca <xref:Microsoft.VisualStudio.OLE.Interop.IOleComponent.FDoIdle%2A> yöntemi tam olarak uygulanması gerekiyor; kalan yöntemler, varsayılan değerleri döndürebilir). ### <a name="example"></a>Örnek Bu örnekte, bir hizmet proffering ve boş bir zamanlayıcı sağlama tipik bir yaklaşım gösterilmektedir. ```csharp using System; using System.Runtime.InteropServices; using System.ComponentModel.Design; using Microsoft.VisualStudio.Package; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.OLE.Interop; using Microsoft.VisualStudio.TextManager.Interop; namespace TestLanguagePackage { [Microsoft.VisualStudio.Shell.ProvideService(typeof(TestLanguageService))] [Microsoft.VisualStudio.Shell.ProvideLanguageExtension(typeof(TestLanguageService), ".testext")] [Microsoft.VisualStudio.Shell.ProvideLanguageService(typeof(TestLanguageService), "Test Language", 0, AutoOutlining = true, EnableCommenting = true, MatchBraces = true, ShowMatchingBrace = true)] [Guid("00000000-0000-0000-0000-00000000000")] //provide a unique GUID for the package public class TestLanguagePackage : Package, IOleComponent { private uint m_componentID; protected override void Initialize() { base.Initialize(); // required // Proffer the service. IServiceContainer serviceContainer = this as IServiceContainer; TestLanguageService langService = new TestLanguageService(); langService.SetSite(this); serviceContainer.AddService(typeof(TestLanguageService), langService, true); // Register a timer to call our language service during // idle periods. IOleComponentManager mgr = GetService(typeof(SOleComponentManager)) as IOleComponentManager; if (m_componentID == 0 && mgr != null) { OLECRINFO[] crinfo = new OLECRINFO[1]; crinfo[0].cbSize = (uint)Marshal.SizeOf(typeof(OLECRINFO)); crinfo[0].grfcrf = (uint)_OLECRF.olecrfNeedIdleTime | (uint)_OLECRF.olecrfNeedPeriodicIdleTime; crinfo[0].grfcadvf = (uint)_OLECADVF.olecadvfModal | (uint)_OLECADVF.olecadvfRedrawOff | (uint)_OLECADVF.olecadvfWarningsOff; crinfo[0].uIdleTimeInterval = 1000; int hr = mgr.FRegisterComponent(this, crinfo, out m_componentID); } } protected override void Dispose(bool disposing) { if (m_componentID != 0) { IOleComponentManager mgr = GetService(typeof(SOleComponentManager)) as IOleComponentManager; if (mgr != null) { int hr = mgr.FRevokeComponent(m_componentID); } m_componentID = 0; } base.Dispose(disposing); } #region IOleComponent Members public int FDoIdle(uint grfidlef) { bool bPeriodic = (grfidlef & (uint)_OLEIDLEF.oleidlefPeriodic) != 0; // Use typeof(TestLanguageService) because we need to // reference the GUID for our language service. LanguageService service = GetService(typeof(TestLanguageService)) as LanguageService; if (service != null) { service.OnIdle(bPeriodic); } return 0; } public int FContinueMessageLoop(uint uReason, IntPtr pvLoopData, MSG[] pMsgPeeked) { return 1; } public int FPreTranslateMessage(MSG[] pMsg) { return 0; } public int FQueryTerminate(int fPromptUser) { return 1; } public int FReserved1(uint dwReserved, uint message, IntPtr wParam, IntPtr lParam) { return 1; } public IntPtr HwndGetWindow(uint dwWhich, uint dwReserved) { return IntPtr.Zero; } public void OnActivationChange(IOleComponent pic, int fSameComponent, OLECRINFO[] pcrinfo, int fHostIsActivating, OLECHOSTINFO[] pchostinfo, uint dwReserved) { } public void OnAppActivate(int fActive, uint dwOtherThreadID) { } public void OnEnterState(uint uStateID, int fEnter) { } public void OnLoseActivation() { } public void Terminate() { } #endregion } } ```
41.595679
836
0.617496
tur_Latn
0.565798
aa868dd5a7d94f6e6ca61f4853cc3c6b1122338d
619
md
Markdown
windows.devices.wifidirect.services/wifidirectserviceipprotocol.md
tossnet/winrt-api
42ebcbca22e88f3ed0f273629d7cdf290dfe2133
[ "CC-BY-4.0", "MIT" ]
199
2017-02-09T23:13:51.000Z
2022-03-28T15:56:12.000Z
windows.devices.wifidirect.services/wifidirectserviceipprotocol.md
tossnet/winrt-api
42ebcbca22e88f3ed0f273629d7cdf290dfe2133
[ "CC-BY-4.0", "MIT" ]
2,093
2017-02-09T21:52:45.000Z
2022-03-25T22:23:18.000Z
windows.devices.wifidirect.services/wifidirectserviceipprotocol.md
tossnet/winrt-api
42ebcbca22e88f3ed0f273629d7cdf290dfe2133
[ "CC-BY-4.0", "MIT" ]
620
2017-02-08T19:19:44.000Z
2022-03-29T11:38:25.000Z
--- -api-id: T:Windows.Devices.WiFiDirect.Services.WiFiDirectServiceIPProtocol -api-type: winrt enum -api-device-family-note: xbox --- <!-- Enumeration syntax public enum Windows.Devices.WiFiDirect.Services.WiFiDirectServiceIPProtocol : int --> # WiFiDirectServiceIPProtocol ## -description Defines constants that specify the IP protocol of the new port when a [WiFiDirectServiceSession.RemotePortAdded](wifidirectservicesession_remoteportadded.md) event is raised. ## -enum-fields ### -field Tcp:6 Specifies the TCP protocol. ### -field Udp:17 Specifies the UDP protocol. ## -remarks ## -examples ## -see-also
22.107143
174
0.773829
eng_Latn
0.457354
aa86e93c30c2251ca539eeb1ec82239db8ffbb68
1,128
md
Markdown
_posts/2017-03-27-Atria-Style-AC9097.md
promsome/promsome.github.io
69236f5c8f4d9591eec55dafa47ce21914b51851
[ "MIT" ]
null
null
null
_posts/2017-03-27-Atria-Style-AC9097.md
promsome/promsome.github.io
69236f5c8f4d9591eec55dafa47ce21914b51851
[ "MIT" ]
null
null
null
_posts/2017-03-27-Atria-Style-AC9097.md
promsome/promsome.github.io
69236f5c8f4d9591eec55dafa47ce21914b51851
[ "MIT" ]
null
null
null
--- layout: post date: 2017-03-27 title: "Atria Style AC9097" category: Atria tags: [Atria] --- ### Atria Style AC9097 Just **$240.35** ### <table><tr><td>BRANDS</td><td>Atria</td></tr></table> <a href="https://www.readybrides.com/en/atria/79411-atria-style-ac9097.html"><img src="//img.readybrides.com/197871/atria-style-ac9097.jpg" alt="Atria Style AC9097" style="width:100%;" /></a> <!-- break --><a href="https://www.readybrides.com/en/atria/79411-atria-style-ac9097.html"><img src="//img.readybrides.com/197872/atria-style-ac9097.jpg" alt="Atria Style AC9097" style="width:100%;" /></a> <a href="https://www.readybrides.com/en/atria/79411-atria-style-ac9097.html"><img src="//img.readybrides.com/197873/atria-style-ac9097.jpg" alt="Atria Style AC9097" style="width:100%;" /></a> <a href="https://www.readybrides.com/en/atria/79411-atria-style-ac9097.html"><img src="//img.readybrides.com/197870/atria-style-ac9097.jpg" alt="Atria Style AC9097" style="width:100%;" /></a> Buy it: [https://www.readybrides.com/en/atria/79411-atria-style-ac9097.html](https://www.readybrides.com/en/atria/79411-atria-style-ac9097.html)
62.666667
205
0.710106
yue_Hant
0.66217
aa871e323767639bbd88fc0c3fb28b91318f34a8
870
md
Markdown
AlchemyInsights/turn-off-clutter-in-outlook-on-the-web.md
isabella232/OfficeDocs-AlchemyInsights-pr.pt-PT
90231c80c97b1b9ed11265c724351335698b74e2
[ "CC-BY-4.0", "MIT" ]
1
2020-05-19T19:07:32.000Z
2020-05-19T19:07:32.000Z
AlchemyInsights/turn-off-clutter-in-outlook-on-the-web.md
MicrosoftDocs/OfficeDocs-AlchemyInsights-pr.pt-PT
0ab4044e197cacbe672dd3619523546c471d53c2
[ "CC-BY-4.0", "MIT" ]
4
2020-06-02T23:16:58.000Z
2022-02-09T06:59:55.000Z
AlchemyInsights/turn-off-clutter-in-outlook-on-the-web.md
isabella232/OfficeDocs-AlchemyInsights-pr.pt-PT
90231c80c97b1b9ed11265c724351335698b74e2
[ "CC-BY-4.0", "MIT" ]
4
2019-10-09T20:26:06.000Z
2021-10-09T10:39:37.000Z
--- title: Atualização sobre a Caixa de Entrada Destaques e os nossos planos de Correio Secundário. 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: - "9002504" - "4854" ms.openlocfilehash: cd6e1fa7ec44f79257459b3934e43c16ffc224ad32c6325347fd7fb4a19e5312 ms.sourcegitcommit: b5f7da89a650d2915dc652449623c78be6247175 ms.translationtype: MT ms.contentlocale: pt-PT ms.lasthandoff: 08/05/2021 ms.locfileid: "54105033" --- # <a name="update-on-focused-inbox-and-our-plans-for-clutter"></a>Atualização sobre a Caixa de Entrada Destaques e os nossos planos de Correio Secundário. para obter as últimas informações, consulte: Atualização sobre a Caixa de Entrada Destaques e os nossos planos de Correio Secundário.
34.8
154
0.816092
por_Latn
0.90336
aa8769b443628ff85e788420ed60b80579639f29
1,547
md
Markdown
_posts/2021/2021-01-07-设计模式之策略模式.md
CxcPDF/CxcPDF.github.io
34fffe310538a4cfaa12c2b96e8e625ea1b52d13
[ "MIT" ]
1
2019-04-27T13:44:41.000Z
2019-04-27T13:44:41.000Z
_posts/2021/2021-01-07-设计模式之策略模式.md
CxcPDF/CxcPDF.github.io
34fffe310538a4cfaa12c2b96e8e625ea1b52d13
[ "MIT" ]
10
2019-04-05T08:33:23.000Z
2019-04-06T04:48:04.000Z
_posts/2021/2021-01-07-设计模式之策略模式.md
CxcPDF/CxcPDF.github.io
34fffe310538a4cfaa12c2b96e8e625ea1b52d13
[ "MIT" ]
null
null
null
最近在项目开发过程中,有一个类是承接各种任务入口,里面有各种的的条件判断,代码中堆砌着大量的`ifelse`代码,当新增一个任务类型的时候,需要在后面添加新的逻辑处理,因此想要把里面每个独立的任务处理逻辑独立出来,使得代码更加简洁易懂。这个时候`策略模式`就派上用场了! ### 意图 实现一系列的算法,将它们封装起来,使它们之间可以相互替换。符合面向对象编程中的里氏替换原则(父类出现的地方,其子类都可以出现)。 ### 角色 策略模式中包括三种角色,分别为`Context`、`Strategy`和`ConcreteStrategy`。 **Context(环境类)**:环境类是使用算法的角色,它在解决某个问题(即实现某个方法)时可以采用多种策略。在环境类中维持一个对抽象策略类的引用实例,用于定义所采用的策略。 **Strategy(抽象策略类)**:它为所支持的算法声明了抽象方法,是所有策略类的父类,它可以是抽象类或具体类,也可以是接口。环境类通过抽象策略类中声明的方法在运行时调用具体策略类中实现的算法。 **ConcreteStrategy(具体策略类)**:它实现了在抽象策略类中声明的算法。在运行时,具体策略类将覆盖在环境类中定义的抽象策略类对象,使用一种具体的算法实现某个业务处理。 ### 示例 假设现在有一个需求是将Docx文件转为其他格式的内容,比如JSON文件、PDF文件、图片等等,传统的写法如下: ```go package strategy // 策略模式 // 抽象策略类 type IStrategy interface { do(int, int) int } type add struct{} // 具体策略类,实现具体的某一种算法 func (*add) do(a, b int) int { return a + b } type sub struct { } func (*sub) do(a, b int) int { return a - b } // 环境类,保持一个算法的引用,具体的算法执行者 type Operator struct { strategy IStrategy } func (operator *Operator) setStrategy(strategy IStrategy) { operator.strategy = strategy } func (operator *Operator) calculate(a, b int) int { return operator.strategy.do(a, b) } ``` 测试类 ```go package strategy import ( "fmt" "testing" ) func TestStrategy(t *testing.T) { operator := &Operator{} operator.setStrategy(&add{}) result := operator.calculate(1, 2) fmt.Println(result) operator.setStrategy(&sub{}) result = operator.calculate(10, 9) fmt.Println(result) } ``` 运行结果 ```go === RUN TestStrategy 3 1 --- PASS: TestStrategy (0.00s) PASS Process finished with exit code 0 ```
16.457447
135
0.738849
kor_Hang
0.331784
aa886ede510df0f45eaa590d217d7b83631e7059
449
md
Markdown
vendor/github.com/hashicorp/terraform-plugin-test/CHANGELOG.md
jarobey/terraform-provider-databricks
04e7061ffe3b9728fba6bb6027ba4d888460ad64
[ "Apache-2.0" ]
1
2021-11-30T16:40:44.000Z
2021-11-30T16:40:44.000Z
vendor/github.com/hashicorp/terraform-plugin-test/CHANGELOG.md
jarobey/terraform-provider-databricks
04e7061ffe3b9728fba6bb6027ba4d888460ad64
[ "Apache-2.0" ]
1
2021-09-28T07:27:47.000Z
2021-09-28T07:27:47.000Z
vendor/github.com/hashicorp/terraform-plugin-test/CHANGELOG.md
jarobey/terraform-provider-databricks
04e7061ffe3b9728fba6bb6027ba4d888460ad64
[ "Apache-2.0" ]
3
2021-07-06T19:54:16.000Z
2022-01-28T11:34:01.000Z
# 1.4.3 (July 7, 2020) DEPENDENCIES: - `github.com/hashicorp/go-getter@v1.4.0` ([#29](https://github.com/hashicorp/terraform-plugin-test/pull/29)) # 1.4.2 (July 7, 2020) DEPENDENCIES: - `github.com/hashicorp/terraform-exec@v0.1.1` ([#28](https://github.com/hashicorp/terraform-plugin-test/pull/28)) # 1.4.1 (July 7, 2020) BUG FIXES: - Fix auto-install Terraform feature ([#26](https://github.com/hashicorp/terraform-plugin-test/pull/26))
24.944444
115
0.697105
yue_Hant
0.363775
aa88ee2df507710bd40fdc8bec759ef0d9a81654
1,058
md
Markdown
packages/docs/src/routes/components/windows.md
benyasin/sveltify
7fae39e2434e1fc32dcfd92300a8a5f5b68c165c
[ "MIT" ]
1
2021-05-11T02:30:18.000Z
2021-05-11T02:30:18.000Z
packages/docs/src/routes/components/windows.md
benyasin/sveltify
7fae39e2434e1fc32dcfd92300a8a5f5b68c165c
[ "MIT" ]
null
null
null
packages/docs/src/routes/components/windows.md
benyasin/sveltify
7fae39e2434e1fc32dcfd92300a8a5f5b68c165c
[ "MIT" ]
null
null
null
--- title: Windows Component description: The window component is a wrapper container that allows transitioning between content. It serves as the baseline for tabs and carousels. keywords: windows, svelte materialify window, svelte window component related: - components/carousels - components/steppers - components/tabs --- # Windows The `Window` component provides the baseline functionality for transitioning content from 1 pane to another. Other components such as `Tabs`, `Carousel` and `Stepper` utilize this component at their core. ## Examples Below is a collection of simple to complex examples. ## API - [Window](/api/Window/) - [WindowItem](/api/WindowItem/) ### Basic Here is a basic example on how to use `Window`. <Components.Example file="Windows/basic" /> ### Vertical `Window` can be vertical. Vertical windows have Y axis transition instead of X axis transition. <Components.Example file="Windows/vertical" /> ### Reverse Reverse `Window` always displays reverse transition. <Components.Example file="Windows/reverse" />
28.594595
204
0.76276
eng_Latn
0.978063
aa89031b3c7902e5372efb4c7b8e458632a660d0
393
md
Markdown
README.md
minddocdev/mou-client-action
9d0396cdac0200b9143bb30336099c637013ead0
[ "MIT" ]
null
null
null
README.md
minddocdev/mou-client-action
9d0396cdac0200b9143bb30336099c637013ead0
[ "MIT" ]
11
2020-04-16T21:05:05.000Z
2021-11-10T21:07:57.000Z
README.md
minddocdev/mou-client-action
9d0396cdac0200b9143bb30336099c637013ead0
[ "MIT" ]
1
2021-04-15T08:17:07.000Z
2021-04-15T08:17:07.000Z
# MOU Client Action Interacts with MOU rest via Github actions. [![main](https://github.com/minddocdev/mou-client-action/workflows/main/badge.svg)](https://github.com/minddocdev/mou-client-action/actions?workflow=main) ## Development Install dependencies ```bash yarn ``` Compile typescript ```bash yarn build ``` Lint code ```bash yarn lint ``` Run the tests ```bash yarn test ```
12.28125
154
0.722646
eng_Latn
0.389016
aa8982d85d05a7899bd018a9914c7573677bd5b1
2,230
md
Markdown
README.md
MidnightWhite/DeepQA-Chatbot
ceb6ebffc71a738bd099e252729897e21e631f92
[ "Apache-2.0" ]
null
null
null
README.md
MidnightWhite/DeepQA-Chatbot
ceb6ebffc71a738bd099e252729897e21e631f92
[ "Apache-2.0" ]
null
null
null
README.md
MidnightWhite/DeepQA-Chatbot
ceb6ebffc71a738bd099e252729897e21e631f92
[ "Apache-2.0" ]
null
null
null
DeepQA Chatbot For this project, I use Python. IDE is the windows version of Pycharm Build process about DeepQA Chatbot Established the project in Pycharm, the marks are the documents I mainly use. 1. Data folder is used to save corpus data. This folder is detailed in the address of source control. Opening the data folder: The Cornell folder which under red mark is the Cornell movie dialogue corpus, which is the corpus I use. The Samples folder stores the pkl file that converted from the corpus. And the pkl file is the corpus format read by the program. 2. Save folder is used to save the model parameters which is obtained from training. 3. Main.py is the main function, which is the entry of training and testing 4. Chatbot.py is the main parameter program, which includes various parameter adjustment interfaces. Using Cornell film dialogue corpus to train I firstly using pip install to install dependencies, but I cannot use them in Pycharm. So I install them in PyCharm. Pycharm cannot find the tensorflow module. So, I install all of them in Pycharm again. Running main.py directly to start training. Adjusting the model parameters in chatbot.py, which are numEpochs, saveEvery, batchsize,lr and dropout. After finishing reading the corpus, the pkl file will be generated by the Cornell corpus in samples folder. After a long time training, there will be a model parameter file in the save/model folder. Chatbot usage Clicking Run the top of the interface, then clicking edit configuration. Inputting in the parameters: -- Test Running the main.py after click confirmation. It will generate a model_predictions.txt file in the save / model folder; This file is the model obtained from the corpus, which is set to predict the response of the file of data/test/samples.txt. If you change the parameters to --test interactive, you can then interactive with the chatbot. Link to source control repository https://github.com/MidnightWhite/DeepQA-Chatbot.git After training, there is a model file is up to 300 MB, which cannot be uploaded to DLE and too big to push to github. So, I upload it to Google Cloud. Here is the link. https://drive.google.com/open?id=1GtYvO5iNTyBAWMcKNttniAVHRPOJSgg9
51.860465
361
0.792825
eng_Latn
0.99859
aa898da861d91a99c1c87159da496cea25c00748
1,955
md
Markdown
README.md
Luukdegram/wasmtime-zig
3fa90f57c2bc2e412d5d7fe06691691465268c5b
[ "Apache-2.0" ]
null
null
null
README.md
Luukdegram/wasmtime-zig
3fa90f57c2bc2e412d5d7fe06691691465268c5b
[ "Apache-2.0" ]
null
null
null
README.md
Luukdegram/wasmtime-zig
3fa90f57c2bc2e412d5d7fe06691691465268c5b
[ "Apache-2.0" ]
null
null
null
# wasmtime-zig [<img alt="github" src="https://img.shields.io/badge/github-kubkon/wasmtime--zig-8da0cb?style=for-the-badge&labelColor=555555&logo=github" height="20">](https://github.com/kubkon/wasmtime-zig) [<img alt="build status" src="https://img.shields.io/github/workflow/status/kubkon/wasmtime-zig/CI/master?style=for-the-badge" height="20">](https://github.com/kubkon/wasmtime-zig/actions?query=branch%3Amaster) Zig embedding of [Wasmtime] [Wasmtime]: https://github.com/bytecodealliance/wasmtime ## Disclaimer This is a very much work-in-progress library so drastic changes to the API are anything but expected, and things might just not work as expected yet. ## Building This library consumes the C API of the Wasmtime project which you can download with every release of Wasmtime. It relies on version `v0.24.0` of Wasmtime and you need it to build tests and examples. You can download the library from [here]. After you unpack it, if you installed the lib in path that is not your system search path for lld, you can add the installed path to the build command using the following flag ``` zig build -Dlibrary-search-path=<path-to-libwasmtime> ``` [here]: https://github.com/bytecodealliance/wasmtime/releases/tag/v0.24.0 ## Running examples ### `simple.zig` The `simple.zig` example is equivalent to [`hello.c`] example in Wasmtime. You can run it with ``` zig build example-simple ``` Optionally, if you installed `libwasmtime` into some custom path, you can tell zig where to find it with ``` zig build example-simple -Dlibrary-search-path=<path-to-libwasmtime> ``` [`hello.c`]: https://github.com/bytecodealliance/wasmtime/blob/master/examples/hello.c **NOTE:** while on Linux and macOS, it is fine to link with `libwasmtime` statically, I've found that on Windows it is generally safer to use a dynamic library. Therefore, when installing `libwasmtime` make sure you point to the path where `wasmtime.dll.lib` is located.
38.333333
210
0.762148
eng_Latn
0.983669
aa89c9271fd638373cac9e9a8dc0609d1b639033
1,068
md
Markdown
src/__tests__/fixtures/unfoldingWord/en_ta/translate/translate-manual/01.md
unfoldingWord/content-checker
7b4ca10b94b834d2795ec46c243318089cc9110e
[ "MIT" ]
null
null
null
src/__tests__/fixtures/unfoldingWord/en_ta/translate/translate-manual/01.md
unfoldingWord/content-checker
7b4ca10b94b834d2795ec46c243318089cc9110e
[ "MIT" ]
226
2020-09-09T21:56:14.000Z
2022-03-26T18:09:53.000Z
src/__tests__/fixtures/unfoldingWord/en_ta/translate/translate-manual/01.md
unfoldingWord/content-checker
7b4ca10b94b834d2795ec46c243318089cc9110e
[ "MIT" ]
1
2022-01-10T21:47:07.000Z
2022-01-10T21:47:07.000Z
### What Does the Translation Manual Teach? This manual teaches translation theory and how to make a good translation for Other Languages (OLs). Some of the principles of translation in this manual also apply to Gateway Language translation. For specific instruction on how to translate the set of translation tools for Gateway Languages, however, please see the [Gateway Language Manual](https://gl-manual.readthedocs.io/). It will be very helpful to study many of these modules before starting any type of translation project. Other modules, such as the ones about grammar, are only needed for “just-in-time” learning. Some highlights in the Translation Manual: * [The Qualities of a Good Translation](../guidelines-intro/01.md) - defining a good translation * [The Translation Process](../translate-process/01.md) - how to achieve a good translation * [Choosing a Translation Team](../choose-team/01.md) - some items to consider before starting a translation project * [Choosing What to Translate](../translation-difficulty/01.md) - what to start translating
76.285714
576
0.783708
eng_Latn
0.996282
aa89efef38fb2004414e71f6df209e3611005038
1,185
md
Markdown
AlchemyInsights/antispam-4-7-500-server-busy-please-try-again-later-from-xxx-xxx-xxx-xxx.md
isabella232/OfficeDocs-AlchemyInsights-pr.sv-SE
f65a29c0e7e545e9826e9af01b9a5d4fe8a977d6
[ "CC-BY-4.0", "MIT" ]
2
2020-05-19T19:08:09.000Z
2021-04-21T00:13:49.000Z
AlchemyInsights/antispam-4-7-500-server-busy-please-try-again-later-from-xxx-xxx-xxx-xxx.md
isabella232/OfficeDocs-AlchemyInsights-pr.sv-SE
f65a29c0e7e545e9826e9af01b9a5d4fe8a977d6
[ "CC-BY-4.0", "MIT" ]
3
2020-06-02T23:25:58.000Z
2022-02-09T06:54:54.000Z
AlchemyInsights/antispam-4-7-500-server-busy-please-try-again-later-from-xxx-xxx-xxx-xxx.md
isabella232/OfficeDocs-AlchemyInsights-pr.sv-SE
f65a29c0e7e545e9826e9af01b9a5d4fe8a977d6
[ "CC-BY-4.0", "MIT" ]
3
2019-10-09T20:31:36.000Z
2021-10-09T10:38:14.000Z
--- title: 1050 Antispam 4.7.500 Server busy. Försök igen senare från [XXX.XXX.XXX.XXX] ms.author: chrisda author: chrisda manager: dansimp ms.date: 04/21/2020 ms.audience: ITPro ms.topic: article ms.service: o365-administration ROBOTS: NOINDEX, NOFOLLOW localization_priority: Normal ms.custom: - "1050" - "3100024" ms.assetid: a97b7845-4884-4d99-bab6-52539603cab2 ms.openlocfilehash: 84a5dfccd7ec3e4640c728ab1740220309a0d97b61157d0fd4e463ed95aef0d2 ms.sourcegitcommit: b5f7da89a650d2915dc652449623c78be6247175 ms.translationtype: MT ms.contentlocale: sv-SE ms.lasthandoff: 08/05/2021 ms.locfileid: "53932655" --- # <a name="47500-server-busy-please-try-again-later"></a>4.7.500 Server upptagen, försök igen senare Det här felet inträffar när volymen av e-posttrafik från käll-IP-adressen överskrider gränsen baserat på ryktet (eller brist på rykte) för käll-IP-adressen. Blockeringen av e-post från käll-IP-adressen upphör att gälla inom en timme. Om käll-IP-adressen är en lokal e-postserver som tillhör dig kontrollerar du konfigurationen av e-postflödeskopplingen. Om beteendet kvarstår i mer än en timme kontaktar du supporten för att begära ett undantag för käll-IP-adressen.
42.321429
309
0.808439
swe_Latn
0.977162
aa8b1b8266bc76a966f14b5b13eab1f22d3255bf
84,692
md
Markdown
content/newsletters/papost/2020-11-02-1200.md
spotlightpa/poor-richard
83bfc53f274f3a7805ef91782c83070c955699ba
[ "MIT" ]
15
2019-08-18T16:56:19.000Z
2022-03-18T14:09:27.000Z
content/newsletters/papost/2020-11-02-1200.md
spotlightpa/poor-richard
83bfc53f274f3a7805ef91782c83070c955699ba
[ "MIT" ]
15
2019-06-12T14:52:45.000Z
2021-11-12T01:29:32.000Z
content/newsletters/papost/2020-11-02-1200.md
spotlightpa/poor-richard
83bfc53f274f3a7805ef91782c83070c955699ba
[ "MIT" ]
12
2019-12-23T18:27:14.000Z
2022-03-08T04:55:22.000Z
+++ aliases = [] authors = [] draft = false internal-id = "PAPOST-11-02-20" kicker = "PA Post" layout = "mailchimp-page" no-index = false published = "2020-11-02T12:00:00Z" raw-content = " \n \n \n <span class=\"mcnPreviewText\" style=\"display:none; font-size:0px; line-height:0px; max-height:0px; max-width:0px; opacity:0; overflow:hidden; visibility:hidden; mso-hide:all;\">Plus, how a loophole is costing Pa. families their homes.</span>\n \n <center>\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"100%\" width=\"100%\" id=\"bodyTable\" style=\"border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;height: 100%;margin: 0;padding: 0;width: 100%;\">\n <tbody><tr>\n <td align=\"center\" valign=\"top\" id=\"bodyCell\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;height: 100%;margin: 0;padding: 0;width: 100%;\">\n \n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td align=\"center\" valign=\"top\" id=\"templateHeader\" data-template-container=\"\" style=\"background:#ffffff none no-repeat center/cover;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #ffffff;background-image: none;background-repeat: no-repeat;background-position: center;background-size: cover;border-top: 1px none #75bb43;border-bottom: 10px solid #75bc43;padding-top: 0px;padding-bottom: 0px;\">\n \n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"templateContainer\" style=\"border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;max-width: 600px !important;\">\n <tbody><tr>\n <td valign=\"top\" class=\"headerContainer\" style=\"background:#transparent none no-repeat center/cover;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #transparent;background-image: none;background-repeat: no-repeat;background-position: center;background-size: cover;border-top: 0;border-bottom: 0;padding-top: 0;padding-bottom: 0;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #757575;font-family: Helvetica;font-size: 16px;line-height: 150%;text-align: left;\">\n \n <div style=\"text-align: center;\"><span style=\"font-size:12px\"><a href=\"https://mailchi.mp/76bb84be5b96/lawmaker-tests-positive-delaying-election-bill-rent-relief-1547261?e=[UNIQID]\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #007c89;font-weight: normal;text-decoration: underline;\"><span>View this email in your browser</span></a></span></div>\n\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table></td>\n </tr>\n </tbody></table>\n \n </td>\n </tr>\n <tr>\n <td align=\"center\" valign=\"top\" id=\"templateBody\" data-template-container=\"\" style=\"background:#ebebeb none repeat 50% 50%/auto;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #ebebeb;background-image: none;background-repeat: repeat;background-position: 50% 50%;background-size: auto;border-top: 0;border-bottom: 0;padding-top: 0px;padding-bottom: 0px;\">\n \n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"templateContainer\" style=\"border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;max-width: 600px !important;\">\n <tbody><tr>\n <td valign=\"top\" class=\"bodyContainer\" style=\"background:#ffffff none no-repeat center/cover;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #ffffff;background-image: none;background-repeat: no-repeat;background-position: center;background-size: cover;border-top: 0;border-bottom: 0;padding-top: 5px;padding-bottom: 5px;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 5px 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 2px none #EAEAEA;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnButtonBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnButtonBlockOuter\">\n <tr>\n <td style=\"padding-top: 0;padding-right: 18px;padding-bottom: 18px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" valign=\"top\" align=\"center\" class=\"mcnButtonBlockInner\">\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mcnButtonContentContainer\" style=\"border-collapse: separate !important;border-radius: 11px;background-color: #EA5B3A;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody>\n <tr>\n <td align=\"center\" valign=\"middle\" class=\"mcnButtonContent\" style=\"font-family: Arial;font-size: 16px;padding: 15px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <a class=\"mcnButton \" title=\"SUPPORT SPOTLIGHT PA\" href=\"https://www.spotlightpa.org/donate\" target=\"_blank\" style=\"font-weight: bold;letter-spacing: normal;line-height: 100%;text-align: center;text-decoration: none;color: #FFFFFF;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;display: block;\">SUPPORT SPOTLIGHT PA</a>\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <div style=\"width:100%; text-align: center\">\n<h1 style=\"display: block;margin: 0;padding: 0;color: #515154;font-family: &#39;Open Sans&#39;, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;font-size: 64px;font-style: normal;font-weight: bold;line-height: 100%;letter-spacing: -2px;text-align: center;\"><strong><span style=\"color:#75bc43; font-size:65px; font-weight:400\"><a href=\"https://www.spotlightpa.org\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\"><img align=\"center\" data-file-id=\"12933340\" height=\"99\" src=\"https://mcusercontent.com/87b417143812e027ea0de28cd/images/16d8e4f2-1a1a-49e9-93cc-7a4c6cec684d.png\" style=\"border: 0px initial;width: 275px;height: 99px;margin: 0px;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;\" width=\"275\"/></a></span></strong></h1>\n</div>\n\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n\t\t\t<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n\t\t\t\t<tbody>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td align=\"center\" style=\"vertical-align: middle;line-height: 18px;font-family: tahoma,helvetica neue,helvetica,arial,sans-serif;color: #515154;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\"><span style=\"font-size:20px\"><span style=\"font-family:tahoma,verdana,segoe,sans-serif\">A daily newsletter by</span></span> <a href=\"https://www.spotlightpa.org\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\"><img alt=\"Spotlight PA\" data-file-id=\"850345\" height=\"34\" src=\"https://mcusercontent.com/87b417143812e027ea0de28cd/images/119e3439-5c01-42f0-b617-5fd34cbeae6d.png\" style=\"vertical-align: bottom;border: 0px;width: 150px;height: 0px;padding-bottom: 0px;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;\" width=\"80\"/></a></td>\n\t\t\t\t\t</tr>\n\t\t\t\t</tbody>\n\t\t\t</table>\n\t\t\t</td>\n\t\t</tr>\n\t</tbody>\n</table>\n\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <div style=\"text-align: center;\"><span style=\"font-size:12px\"><span style=\"font-family:open sans,helvetica neue,helvetica,arial,sans-serif\"><strong>Your Postmaster: <a href=\"mailto:jwolman98@gmail.com\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">Jordan Wolman</a></strong></span><br/>\n<span style=\"font-family:open sans,helvetica neue,helvetica,arial,sans-serif\">November 2, 2020</span></span></div>\n\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 5px 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 2px none #EAEAEA;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <font face=\"helvetica neue, helvetica, arial, verdana, sans-serif\"><em>Locked out, locked down, officials under attack, big college cuts, a sweet treat, and basement voters. It&#39;s Monday, tomorrow is Tuesday. Get ready to vote!</em></font>\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 8px 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 2px none #EAEAEA;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <span style=\"font-size:26px\"><strong>LOCKED OUT</strong></span>\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 0px 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 6px solid #75BC43;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <p dir=\"ltr\" style=\"margin: 10px 0;padding: 0;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">A federal order meant to protect families from eviction until the end of the year is not offering the protection it promised in Pennsylvania, as <a href=\"https://www.spotlightpa.org/news/2020/11/pa-eviction-cdc-ban-loophole-renters-despair/\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">gaping loopholes and vague state guidance have left some without a home</a>.<br/>\n<br/>\nA new Spotlight PA investigation finds whether or not renters get evicted comes down to where they live, and what judge happens to hear their case. Plus, landlords have found a way to successfully get around the ban.<br/>\n<br/>\nA review of 10 eviction cases in nine counties found tenants — many of them already distraught by the prospect of losing their home, and confused by a string of ever-changing rules — face pitfalls at every turn and a bureaucratic system that doesn’t go out of its way to help.<br/>\n<br/>\n<strong>The Context: </strong>The federal order was <a href=\"https://www.spotlightpa.org/news/2020/09/pa-eviction-ban-cdc-gray-area-renter-assistance/\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">issued by the Centers for Disease Control and Prevention to help slow the spread of the coronavirus</a>. Now, its failures are occurring as Pennsylvania sees all-time highs in new cases.<br/>\n<br/>\nThe state court system has declined to intervene and set more clear guidance for lower court judges. Gov. Tom Wolf&#39;s office says it has discussed the problems with the court system, but ultimately it&#39;s not under his jurisdiction.<br/>\n<br/>\nWolf originally implemented an eviction moratorium that was extended until Aug. 31. At that point, he said he did not have the authority to extend the ban any more, and implored the legislature to do it, but it did not act.<br/>\n<br/>\nThe state eviction moratoriums were more specific than the CDC&#39;s. As a result, data shows eviction filings under the state moratorium were significantly lower than they are now under the federal order.</p>\n\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 5px 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 2px none #EAEAEA;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnImageBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnImageBlockOuter\">\n <tr>\n <td valign=\"top\" style=\"padding: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" class=\"mcnImageBlockInner\">\n <table align=\"left\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mcnImageContentContainer\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td class=\"mcnImageContent\" valign=\"top\" style=\"padding-right: 9px;padding-left: 9px;padding-top: 0;padding-bottom: 0;text-align: center;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \n <a href=\"mailto:tips@spotlightpa.org\" title=\"\" class=\"\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <img align=\"center\" alt=\"\" src=\"https://mcusercontent.com/87b417143812e027ea0de28cd/images/1bbf1e85-00a2-4552-895d-298853e39b00.png\" width=\"328\" style=\"max-width: 328px;padding-bottom: 0;display: inline !important;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;\" class=\"mcnImage\"/>\n </a>\n \n </td>\n </tr>\n </tbody></table>\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 5px 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 2px none #EAEAEA;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <span style=\"font-family:helvetica neue,helvetica,arial,verdana,sans-serif\"><strong><span style=\"font-size:16px\">NOTABLE / QUOTABLE</span></strong> </span>\n\n<p style=\"margin: 10px 0;padding: 0;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">“It’s almost kind of chilling the sort of data they wanted us to provide.&#34;<br/>\n<br/>\n<em>— </em>Cumberland County Commissioner Gary Eichelberger on the <a href=\"https://cumberlink.com/news/local/govt-and-politics/elections/security-info-request-from-trump-campaign-leaves-cumberland-county-officials-concerned-ahead-of-election-day/article_b4a9dd3a-fa15-5236-aed9-485161e84175.html\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">Trump campaign&#39;s request</a> for election security information</p>\n\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 5px 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 2px none #EAEAEA;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <span style=\"font-family:helvetica neue,helvetica,arial,verdana,sans-serif\"><span style=\"font-size:16px\"><strong>POST IT: </strong></span></span>Thank you, <strong>Mary E.</strong>, for this shot of the Hideaway Hills Golf Course in Kresgeville. <strong>Tomorrow, we want to see your voting selfies and pictures of your &#34;I voted!&#34; stickers.</strong> <span style=\"font-family:helvetica neue,helvetica,arial,verdana,sans-serif\"><a href=\"mailto:ypiper@spotlightpa.org?subject=PA%20Gem%20Submission\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">Send them to us</a>, use the hashtag #PAGems, or tag us on Instagram at <strong><a href=\"https://www.instagram.com/spotlightpennsylvania/\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">@spotlightpennsylvania</a></strong>.</span>\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnImageBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnImageBlockOuter\">\n <tr>\n <td valign=\"top\" style=\"padding: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" class=\"mcnImageBlockInner\">\n <table align=\"left\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mcnImageContentContainer\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td class=\"mcnImageContent\" valign=\"top\" style=\"padding-right: 9px;padding-left: 9px;padding-top: 0;padding-bottom: 0;text-align: center;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \n \n <img align=\"center\" alt=\"\" src=\"https://mcusercontent.com/77370ff1d001f9bb991fed9e7/images/ac220fa2-3321-4db3-bd09-6a35d0df6d6c.jpeg\" width=\"564\" style=\"max-width: 800px;padding-bottom: 0;display: inline !important;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;\" class=\"mcnImage\"/>\n \n \n </td>\n </tr>\n </tbody></table>\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 10px 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 2px none #EAEAEA;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <span style=\"font-size:26px\"><strong>DAILY RUNDOWN</strong></span>\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 0px 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 6px solid #75BC43;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 10px 18px 0px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 2px none #EAEAEA;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <strong><img align=\"left\" data-file-id=\"12932624\" height=\"66\" src=\"https://mcusercontent.com/87b417143812e027ea0de28cd/images/56e00e5a-9aa0-4ac1-a9ca-f2fbf1eaaa20.png\" style=\"border: 0px initial;width: 30px;height: 66px;margin: 0px 10px 0px 0px;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;\" width=\"30\"/><font face=\"helvetica neue, helvetica, arial, verdana, sans-serif\">OVERWORKED AND OVERWHELMED: </font></strong><font face=\"helvetica neue, helvetica, arial, verdana, sans-serif\">Election officials across the state say <a href=\"https://www.spotlightpa.org/news/2020/10/pennsylvania-election-county-officials-stress-misinformation-anger/\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">they&#39;re facing people who are &#34;</a></font><a href=\"https://www.spotlightpa.org/news/2020/10/pennsylvania-election-county-officials-stress-misinformation-anger/\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">nasty, ugly, distrustful, [and] anxious&#34; ahead of Election Day</a>, Spotlight PA and Votebeat report. Still, despite the challenges they&#39;re facing, most officials said they believe they can have most votes counted by the Friday after Nov. 3.<br/>\n<br/>\n<span style=\"font-family:helvetica neue,helvetica,arial,verdana,sans-serif\"><strong><img align=\"left\" data-file-id=\"12932636\" height=\"66\" src=\"https://mcusercontent.com/87b417143812e027ea0de28cd/images/97674993-b21b-448d-838a-d311cf102bbe.png\" style=\"border: 0px;width: 30px;height: 66px;margin: 0px 10px 0px 0px;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;\" width=\"30\"/></strong></span><strong>STAY CALM: </strong>While some voters are concerned about possible violence on Election Day, experts told Spotlight PA that militias and hate groups are rarely as organized as they seem, and that <a href=\"https://www.spotlightpa.org/news/2020/10/pa-militia-election-day-calm-experts/\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">widespread problems are unlikely.</a> The Morning Call explains <a href=\"https://www.mcall.com/news/breaking/mc-nws-election-gun-sales-breaking-records-20201031-rrb6cufqoncodogz4lfnaud6kq-story.html\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">why people in the state are buying guns in record numbers</a> this year.<br/>\n<br/>\n<img align=\"left\" data-file-id=\"12932640\" height=\"66\" src=\"https://mcusercontent.com/87b417143812e027ea0de28cd/images/24282be3-5536-4f20-8e77-df76215990dc.png\" style=\"border: 0px;width: 30px;height: 66px;margin: 0px 10px 0px 0px;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;\" width=\"30\"/><strong>COLLEGE CUTS: </strong>Indiana University of Pennsylvania, one of 14 state universities, is <a href=\"https://triblive.com/local/regional/indiana-university-of-pennsylvania-notifies-81-faculty-members-of-pending-job-losses/\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">cutting 81 positions</a>, TribLIVE reports. Entire departments will be eliminated, including <a href=\"https://www.indianagazette.com/news/iup-cutting-five-programs-in-college-of-fine-arts/article_9f795062-af67-57b0-8ddf-8f0a3d5a2f6d.html\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">five programs in the College of Fine Arts</a>.<br/>\n<br/>\n<strong style=\"font-family:helvetica neue,helvetica,arial,verdana,sans-serif\"><img align=\"left\" data-file-id=\"12932628\" height=\"66\" src=\"https://mcusercontent.com/87b417143812e027ea0de28cd/images/8b19e7ba-9fc3-4fd6-9668-864daa6e800f.png\" style=\"border: 0px;width: 30px;height: 66px;margin: 0px 10px 0px 0px;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;\" width=\"30\"/></strong><strong>NO ASSISTANCE: </strong>There are more than 111,000 eligible voters in Pennsylvania with limited English proficiency living in places where <a href=\"https://www.witf.org/2020/10/30/millions-of-u-s-voters-risk-missing-the-historic-2020-election-because-their-english-isnt-good-enough/language/\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">officials are not legally required to offer language assistance</a>, WITF reports. That’s more than double margin by which Trump won in 2016. <br/>\n<br/>\n<span style=\"font-family:helvetica neue,helvetica,arial,verdana,sans-serif\"><strong><img align=\"left\" data-file-id=\"12932632\" height=\"66\" src=\"https://mcusercontent.com/87b417143812e027ea0de28cd/images/ba7288c7-a413-4abe-b49c-c644b588998c.png\" style=\"border: 0px;width: 30px;height: 66px;margin: 0px 10px 0px 0px;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;\" width=\"30\"/></strong></span><strong><font face=\"helvetica neue, helvetica, arial, verdana, sans-serif\">LOCKED DOWN: </font></strong> There are concerns that coronavirus restrictions in Pennsylvania&#39;s nursing homes could <a href=\"https://www.buckscountycouriertimes.com/story/news/2020/10/30/nursing-homes-election-2020-voting-covid-19-pennsylvania-bucks-county/3704996001/\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">freeze some residents out of their right to vote</a>, the Bucks County Courier Times reports. The candidates <a href=\"https://www.inquirer.com/politics/election/biden-philadelphia-pennsylvania-campaign-stops-trump-polls-20201101.html\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">crisscrossed the state</a> this weekend, and <a href=\"https://www.mcall.com/news/pennsylvania/capitol-ideas/mc-nws-pa-biden-leads-trump-final-muhlenberg-poll-20201031-wn2zul3rhbat7ci3uztnrl3viy-story.html#nt=pf-double%20chain~mc-home-top-chain~flex%20feature~curated~mc-home-poll~WN2ZUL3RHBAT7CI3UZTNRL3VIY~1~3~4~12~art%20yes\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">Biden&#39;s lead over Trump has narrowed</a>.<br/>\n \n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnImageBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnImageBlockOuter\">\n <tr>\n <td valign=\"top\" style=\"padding: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" class=\"mcnImageBlockInner\">\n <table align=\"left\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mcnImageContentContainer\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td class=\"mcnImageContent\" valign=\"top\" style=\"padding-right: 9px;padding-left: 9px;padding-top: 0;padding-bottom: 0;text-align: center;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \n <a href=\"https://www.spotlightpa.org/donate\" title=\"\" class=\"\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <img align=\"center\" alt=\"\" src=\"https://mcusercontent.com/77370ff1d001f9bb991fed9e7/images/5a150e11-6bc4-46c9-b3a3-2b55112a5bd3.png\" width=\"564\" style=\"max-width: 800px;padding-bottom: 0;display: inline !important;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;\" class=\"mcnImage\"/>\n </a>\n \n </td>\n </tr>\n </tbody></table>\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <p style=\"text-align: center;margin: 10px 0;padding: 0;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;\"><span style=\"color:#ea5b3a\"><span style=\"font-size:24px\"><strong>THE TIME IS NOW!</strong></span></span></p>\n<strong><span style=\"font-size:22px\">»</span> This is important:</strong> Spotlight PA relies on our readers to help pay for our independent, nonpartisan public-service journalism. This is our most important fundraiser of the year, and we need your help. If you love PA Post, <a href=\"http://www.spotlightpa.org/donate\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">become a member of Spotlight PA right now and your donation will be TRIPLED</a>.<br/>\n \n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnButtonBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnButtonBlockOuter\">\n <tr>\n <td style=\"padding-top: 0;padding-right: 18px;padding-bottom: 18px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" valign=\"top\" align=\"center\" class=\"mcnButtonBlockInner\">\n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mcnButtonContentContainer\" style=\"border-collapse: separate !important;border-radius: 42px;background-color: #EA5B3A;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody>\n <tr>\n <td align=\"center\" valign=\"middle\" class=\"mcnButtonContent\" style=\"font-family: Arial;font-size: 20px;padding: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <a class=\"mcnButton \" title=\"YES, TRIPLE MY GIFT\" href=\"https://www.spotlightpa.org/donate\" target=\"_blank\" style=\"font-weight: bold;letter-spacing: normal;line-height: 100%;text-align: center;text-decoration: none;color: #FFFFFF;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;display: block;\">YES, TRIPLE MY GIFT</a>\n </td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <strong>A big thank-you to readers who had their gifts TRIPLED yesterday:</strong> Paul D., Jesse O. Stacey H., David C., Thomas S., Melissa N., Joseph S., Ardith T., Tracey D., Tony M., Kimberly D., Clare J., Steve T., Carol D., Emilio R., Maggi B., Joseph E., John and Barbara S., Douglas and Laurel C., Hugh K., Kevin M., Stephen K., Nancy G., Wendy W., John C., John H., Kathleen B., and Elit F.\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 2px solid #EAEAEA;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <strong>WHAT TO WATCH IF ... you need more Idris Elba in your life:</strong> Delayed by COVID-19, &#34;Concrete Cowboy,&#34; a movie about Black cowboys set in Philadelphia, <a href=\"https://variety.com/2020/film/news/idris-elba-concrete-cowboy-netflix-1234815612/\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">is coming to Netflix</a>. Expect the film sometime in 2021. <br/>\n<br/>\n<strong>BEES AND BALLET: </strong>Yes, you read that right: a <a href=\"https://www.post-gazette.com/ae/theater-dance/2020/11/01/Caitlyn-Mendicino-Pittsburgh-Ballet-Theatre-dancing-beekeeper/stories/202011010020\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">professional ballet dancer in Pittsburgh moonlights as a beekeeper</a>, and chronicles both sides of her life on a <a href=\"https://www.instagram.com/ballerinabees/?hl=en\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">great instagram account</a>. If you&#39;re feeling glum, seriously, something about the combination of ballet, bees, honey, and flowers will cheer you up.<br/>\n<br/>\n<strong>SWEETEST NEWS:</strong> When organizers of Pennsylvania&#39;s great Farm Show announced it would be virtual rather than in-person this year, naturally my first question was: HOW DO I GET THE MILKSHAKES!? Well, good news: an <a href=\"https://lancasteronline.com/features/missing-those-milkshakes-pennsylvania-farm-show-to-host-first-outdoor-food-festival-nov-13-15/article_dccc825c-1ad4-11eb-9da8-13682360d2c3.html\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">outdoor fall festival later this month featuring the famous milkshakes</a>.<br/>\n<br/>\n<strong>BASEMENT VOTERS: </strong>While many Pennsylvanians vote in schools, courthouses, and places of worship, some voters in Westmoreland County cast their ballots in an unusual spot: <a href=\"https://triblive.com/local/westmoreland/basement-democracy-residents-open-homes-as-polling-places-in-westmoreland-county/\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">Betty Tokarcik’s basement</a>. Kathleen Slomiany, meanwhile, allows the county to use her living room as a polling place.<br/>\n<br/>\n<strong>ACTUALLY SPOOKY: </strong>Students who quarantined in a &#34;defunct nursing home-turned-dormitory&#34; at Robert Morris University over Halloween weekend <a href=\"https://www.moonmythbuster.com/post/isolated-students-at-braddock-hall-say-they-re-seeing-ghosts\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">reported some spooky encounters</a>. “Since day one, all I hear are constant tapping noises or a very loud writing sound at night,” one student said.<br/>\n \n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <span style=\"font-size:26px\"><strong>THE SCRAMBLER</strong></span>\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 0px 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 6px solid #75BC43;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnDividerBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;table-layout: fixed !important;\">\n <tbody class=\"mcnDividerBlockOuter\">\n <tr>\n <td class=\"mcnDividerBlockInner\" style=\"min-width: 100%;padding: 10px 18px 0px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <table class=\"mcnDividerContent\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"min-width: 100%;border-top: 2px none #EAEAEA;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody><tr>\n <td style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <span></span>\n </td>\n </tr>\n </tbody></table>\n\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <div style=\"text-align: left;\"><span style=\"font-family:helvetica neue,helvetica,arial,verdana,sans-serif\"><span style=\"font-size:16px\">Unscramble and send answers to <a href=\"mailto:scrambler@spotlightpa.org\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">scrambler@spotlightpa.org</a>. We&#39;ll shout out the winners here, and one each week will get some Spotlight PA swag.</span></span><br/>\n </div>\n\n<div style=\"text-align: center;\"><font color=\"#75bc43\" face=\"helvetica neue, helvetica, arial, verdana, sans-serif\"><span style=\"font-size:24px\"><strong>T M E I C N U N B</strong></span></font></div>\n<br/>\n<span style=\"font-family:helvetica neue,helvetica,arial,verdana,sans-serif\"><strong>Friday&#39;s answer:</strong> Masquerade </span><br/>\n<br/>\n<strong>Congrats to our weekly winner: </strong>Carol D.<br/>\n<br/>\n<span style=\"font-family:helvetica neue,helvetica,arial,verdana,sans-serif\"><strong>Congrats to our daily winners: </strong>Irene K., Joel S., Patricia M., Susan D., Brandie K., Al F., Kevin M., Kathleen M., Jenn M., Craig W., June P., Beth T., Mark O., Irene R., Mary Ellen T., Tracey C., Lynne E., Heidi B., Deb N., Thomas B., George S., Patricia R., Ann and John, Robert S., Dianne K., Chris W., Marilyn P., Tish M., Ron P., Bill C., Craig E., and Lex M.</span>\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n <div style=\"text-align: center;\"><span style=\"font-family:helvetica neue,helvetica,arial,verdana,sans-serif\"><strong>Like PA Post? <a href=\"http://us15.forward-to-friend.com/forward?u=77370ff1d001f9bb991fed9e7&amp;id=0556d2782a&amp;e=[UNIQID]\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">Share it with a friend.</a><br/>\n<br/>\nLove PA Post? <a href=\"https://www.spotlightpa.org/donate\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">Donate now and we&#39;ll TRIPLE it.</a><br/>\n<br/>\nForwarded this newsletter? <a href=\"https://www.spotlightpa.org/newsletters\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #75bc43;font-weight: bold;text-decoration: underline;\">Subscribe here.</a></strong></span></div>\n\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #3b3a3a;font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, Verdana, sans-serif;font-size: 16px;line-height: 125%;text-align: left;\">\n \n \n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table></td>\n </tr>\n </tbody></table>\n \n </td>\n </tr>\n <tr>\n <td align=\"center\" valign=\"top\" id=\"templateFooter\" data-template-container=\"\" style=\"background:#515154 none no-repeat center/cover;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #515154;background-image: none;background-repeat: no-repeat;background-position: center;background-size: cover;border-top: 10px solid #75bc43;border-bottom: 0;padding-top: 20px;padding-bottom: 20px;\">\n \n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"templateContainer\" style=\"border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;max-width: 600px !important;\">\n <tbody><tr>\n <td valign=\"top\" class=\"footerContainer\" style=\"background:#transparent none no-repeat center/cover;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #transparent;background-image: none;background-repeat: no-repeat;background-position: center;background-size: cover;border-top: 0;border-bottom: 0;padding-top: 0;padding-bottom: 0;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" class=\"mcnTextBlock\" style=\"min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n <tbody class=\"mcnTextBlockOuter\">\n <tr>\n <td valign=\"top\" class=\"mcnTextBlockInner\" style=\"padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\">\n \t\n\t\t\t \n\t\t\t\t\n <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;\" width=\"100%\" class=\"mcnTextContentContainer\">\n <tbody><tr>\n \n <td valign=\"top\" class=\"mcnTextContent\" style=\"padding-top: 0;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;color: #FFFFFF;font-family: Helvetica;font-size: 12px;line-height: 150%;text-align: center;\">\n \n <em><a href=\"https://www.spotlightpa.org\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #FFFFFF;font-weight: normal;text-decoration: underline;\">Spotlight PA</a> is an independent, non-partisan newsroom powered by The Philadelphia Inquirer in partnership with PennLive/The Patriot-News, TribLIVE/Pittsburgh Tribune-Review and WITF Public Media.<br/>\n<br/>\nCopyright © Spotlight PA / The Philadelphia Inquirer, All rights reserved.<br/>\n<br/>\nSpotlight PA<br/>\n225 Market St., Suite 502A<br/>\nHarrisburg, PA 17101<br/>\n<a href=\"mailto:newsletters@spotlightpa.org\" target=\"_blank\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #FFFFFF;font-weight: normal;text-decoration: underline;\">newsletters@spotlightpa.org</a></em><br/>\n<br/>\nYou can <a href=\"https://spotlightpa.us15.list-manage.com/profile?u=77370ff1d001f9bb991fed9e7&amp;id=6c1fbeb603&amp;e=[UNIQID]&amp;c=0556d2782a\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #FFFFFF;font-weight: normal;text-decoration: underline;\">update your preferences</a> or <a href=\"https://spotlightpa.us15.list-manage.com/unsubscribe?u=77370ff1d001f9bb991fed9e7&amp;id=6c1fbeb603&amp;e=[UNIQID]&amp;c=0556d2782a\" style=\"mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #FFFFFF;font-weight: normal;text-decoration: underline;\">unsubscribe from this list</a>.\n </td>\n </tr>\n </tbody></table>\n\t\t\t\t\n \n\t\t\t\t\n </td>\n </tr>\n </tbody>\n</table></td>\n </tr>\n </tbody></table>\n \n </td>\n </tr>\n </tbody></table>\n \n </td>\n </tr>\n </tbody></table>\n </center>\n \n" series = [] title = "Harassment, anger plague Pa. county elections officials" topics = [] +++
4,981.882353
84,422
0.626553
eng_Latn
0.18635
aa8b1de522ea248faff4e1332ec338d8929f347e
424
md
Markdown
examples/gpio_itr/README.md
rzajac/esp8266-examples
5a7872ea96df5876ebcd8d70bb196de481656233
[ "Apache-2.0" ]
null
null
null
examples/gpio_itr/README.md
rzajac/esp8266-examples
5a7872ea96df5876ebcd8d70bb196de481656233
[ "Apache-2.0" ]
null
null
null
examples/gpio_itr/README.md
rzajac/esp8266-examples
5a7872ea96df5876ebcd8d70bb196de481656233
[ "Apache-2.0" ]
null
null
null
## Interrupt example. Example shows how to: - attach Interrupt Service Routine (ISR) to GPIO pin, - handle interrupts on that pin. ## Example console output. Every time level on GPIO2 pin changes from LOW to HIGH the ISR is called which increments edge_counter. ```text Edge counter: 1 Edge counter: 2 Edge counter: 3 Edge counter: 4 Edge counter: 5 Edge counter: 6 Edge counter: 7 Edge counter: 8 Edge counter: 9 ```
18.434783
79
0.745283
eng_Latn
0.975304
aa8b484b20b259552d27bb1aa136ce8e6ae56fbe
2,865
md
Markdown
_posts/2019-07-03-Download-grand-central-winter-stories-from-the-street.md
Anja-Allende/Anja-Allende
4acf09e3f38033a4abc7f31f37c778359d8e1493
[ "MIT" ]
2
2019-02-28T03:47:33.000Z
2020-04-06T07:49:53.000Z
_posts/2019-07-03-Download-grand-central-winter-stories-from-the-street.md
Anja-Allende/Anja-Allende
4acf09e3f38033a4abc7f31f37c778359d8e1493
[ "MIT" ]
null
null
null
_posts/2019-07-03-Download-grand-central-winter-stories-from-the-street.md
Anja-Allende/Anja-Allende
4acf09e3f38033a4abc7f31f37c778359d8e1493
[ "MIT" ]
null
null
null
--- layout: post comments: true categories: Other --- ## Download Grand central winter stories from the street book Mary's, Crawford could see no reason why it should have happened want to tell anyone what he had done to her, Orm's dragon anger woke again, thinking about what he'd been through because of the girl's Noah stoops to pick up the cards that have been left on the floor near the She must have sensed his assessment of her and realized that she had little are you here grand central winter stories from the street change the world for the better or to pretty much destroy it?" face. Mary's, isn't it. The island was drowned beneath the sea, ii. Anguish, he fell to looking on her and pondering. For it seemed at times as if this were a world conceived and created by machines, as secondhand cigarette smoke and the alarming rise in the number of child werewolves. 157_n_ both in Europe (where no locality is known where unworked nephrite The sisters exchange one of those blue-laser glances that seem to transmit encyclopedias of information through the American Consul-General in Stockholm, she could knock his knees out from under him just by giving him a wink! He the motor home returned fully fueled to Interstate 15, ostensibly to I know I don't have any right to feel this, and it had been only a matter of minutes before lift-off when one of the flight-crew noticed that suddenly they weren't there-any of them, who sent it from Moscow as a present to the writer. a faint green-yellow fog eddying in the first few inches above the "So you say pie? likelihood that dolphins were as intelligent as people. That was nuts, ruthless secret agents, which seemed to give the predictions validity. Haglund; "You never saw a shirt. effectively as the grand central winter stories from the street government of the Archipelago? Junior had learned this much, I've never been much of a talker, flu. Dulse had sent students on to the School, and she contact with ETs, were friendly with her, which was named St! She didn't think that Maddoc would scheme to lure her farther The effort of putting these sentiments into words exhausted him, and knew that the grand central winter stories from the street had cheated him, Colman reflected. It's just that, and then said, "They grand central winter stories from the street to have strong will. " abstract of the observations of temperature at Pitlekaj from the They jolted on all the next day through a summer thundershower or two and carne at dusk to Kembermouth, what are you doing?" settled slowly back to the ground, with the house fire and the "Have you said your silent prayers?" "Then why not do something else?" she asked. The corroded casement-operating mechanism began to give way, nor hateful. _Genin_, he hastened to the doorway and she melted back into the night. Indeed, little dried fruit, ferry.
318.333333
2,747
0.794066
eng_Latn
0.999973
aa8be5342f22c6920ce721da47f790855716535d
8,657
md
Markdown
microsoft-365/compliance/managing-jobs-ediscovery20.md
MicrosoftDocs/microsoft-365-docs-pr.pt-BR
88959f119be80545a0b854d261ba4acf2ac1e131
[ "CC-BY-4.0", "MIT" ]
29
2019-09-17T04:18:20.000Z
2022-03-20T18:51:42.000Z
microsoft-365/compliance/managing-jobs-ediscovery20.md
MicrosoftDocs/microsoft-365-docs-pr.pt-BR
88959f119be80545a0b854d261ba4acf2ac1e131
[ "CC-BY-4.0", "MIT" ]
2
2022-02-09T06:48:15.000Z
2022-02-09T06:48:47.000Z
microsoft-365/compliance/managing-jobs-ediscovery20.md
MicrosoftDocs/microsoft-365-docs-pr.pt-BR
88959f119be80545a0b854d261ba4acf2ac1e131
[ "CC-BY-4.0", "MIT" ]
3
2021-03-14T23:52:56.000Z
2021-05-31T14:02:38.000Z
--- title: Gerenciar trabalhos em Advanced eDiscovery f1.keywords: - NOCSH ms.author: markjjo author: markjjo manager: laurawi ms.date: '' audience: Admin ms.topic: reference ms.service: O365-seccomp ms.localizationpriority: medium ms.collection: M365-security-compliance search.appverid: - MOE150 - MET150 description: Advanced eDiscovery trabalhos ajudam você a rastrear o status de processos de longa duração relacionados à execução de várias Advanced eDiscovery tarefas. ms.openlocfilehash: d5b2facdead3be1369cd261392117fc33fa1a4fb ms.sourcegitcommit: d4b867e37bf741528ded7fb289e4f6847228d2c5 ms.translationtype: MT ms.contentlocale: pt-BR ms.lasthandoff: 10/06/2021 ms.locfileid: "60192194" --- # <a name="manage-jobs-in-advanced-ediscovery"></a>Gerenciar trabalhos em Advanced eDiscovery Aqui está uma lista dos trabalhos (que normalmente são processos de longa duração) que são rastreados na guia **Trabalhos** de um caso em Advanced eDiscovery. Esses trabalhos são disparados por ações do usuário ao usar e gerenciar casos. | Tipo de trabalho | Descrição | | :----------------- | :---------- | |Adicionar dados a um conjunto de revisão | Um usuário adiciona uma coleção a um conjunto de revisão. Este trabalho consiste em dois sub trabalhos: </br>• **Export** - Uma lista de itens na coleção é gerada. </br>• **Ingestão & Indexação** - Os itens da coleção que corresponderem à consulta de pesquisa são copiados para um local do Azure Armazenamento (em um processo chamado *ingestão*) e, em seguida, esses itens no local do Armazenamento do Azure são reindexados. Esse novo índice é usado ao consultar e analisar itens no conjunto de dados. </br></br>Para obter mais informações, [consulte Adicionar resultados de pesquisa a um conjunto de revisão](add-data-to-review-set.md). | |Adicionar dados a outro conjunto de revisão | Um usuário adiciona documentos de um conjunto de revisão a um conjunto de revisão diferente no mesmo caso. Para obter mais informações, [consulte Adicionar dados a um conjunto de revisão de outro conjunto de revisão.](add-data-to-review-set-from-another-review-set.md)| |Adicionar dados não Microsoft 365 a um conjunto de revisão | Um usuário carrega dados que não Microsoft 365 dados em um conjunto de revisão. Os dados também são indexados durante esse processo. Por exemplo, arquivos de um servidor de arquivos local ou de um computador cliente são carregados para um conjunto de revisão. Para obter mais informações, [consulte Load non-Microsoft 365 data into a review set](load-non-office-365-data-into-a-review-set.md).| |Adicionar dados remediados a um conjunto de revisão | Os dados com erros de processamento são remediados e carregados de volta em um conjunto de revisão. Para mais informações, confira:</br>• [Correção de erros ao processar dados](error-remediation-when-processing-data-in-advanced-ediscovery.md)</br>• [Correção de erro de item único](single-item-error-remediation.md)| |Comparando conjuntos de carga | Um usuário analisa as diferenças entre conjuntos de carga diferentes em um conjunto de revisão. Um conjunto de carga é uma instância de adição de dados a um conjunto de revisão. Por exemplo, se você adicionar os resultados de duas pesquisas diferentes ao mesmo conjunto de revisão, cada uma representará um conjunto de carga. | |Reconstrução de conversa|Quando um usuário adiciona os resultados de uma pesquisa a um conjunto de revisão de conversa, as conversas de mensagens instantâneas (também chamadas de conversas encadeadas *)* em serviços como Microsoft Teams são reconstruídas em um arquivo PDF. Esse trabalho também é acionado quando um usuário clica em **Ação > Criar PDFs de conversa** em um conjunto de revisão. Para obter mais informações, [consulte Review conversations in Advanced eDiscovery](conversation-review-sets.md). |Converter documentos redacted em PDF|Depois que um usuário anota um documento em um conjunto de revisão e redacta uma parte dele, ele pode optar por converter o documento redacted em um arquivo PDF. Isso garante que a parte redacted não ficará visível se o documento for exportado para apresentação. Para obter mais informações, [consulte Exibir documentos em um conjunto de revisão](annotating-and-redacting-documents.md). | |Estimando resultados da pesquisa | Depois que um usuário cria e executa ou executa ou executa um conjunto de rascunhos, a ferramenta de pesquisa pesquisa o índice de itens que corresponderem à consulta de pesquisa e prepara uma estimativa que inclui o número e o tamanho total de todos os itens pela pesquisa e o número de fontes de dados pesquisadas. Para obter mais informações, consulte [Coletar dados para um caso](collecting-data-for-ediscovery.md). | |Preparando dados para exportação | Um usuário exporta documentos de um conjunto de revisão. Quando o processo de exportação for concluído, eles poderão baixar os dados exportados para um computador local. Para obter mais informações, consulte [Exportar dados de caso](exporting-data-ediscover20.md). | |Preparando-se para a resolução de erros |Quando um usuário seleciona um arquivo e cria uma nova correção de erro no modo de exibição Erro na guia Processamento de um caso, a primeira etapa do processo é carregar o arquivo que tem o erro de processamento em um local do Azure Armazenamento na nuvem da Microsoft. Esse trabalho rastreia o andamento do processo de carregamento. Para obter mais informações sobre o fluxo de trabalho de correção de erros, consulte [Error remediation when processing data](error-remediation-when-processing-data-in-advanced-ediscovery.md). | |Preparando a visualização de pesquisa | Depois que um usuário cria e executa um novo conjunto de rascunhos (ou executa uma coleção de rascunhos existente), a ferramenta de pesquisa prepara um subconjunto de exemplo de itens (que combinam com a consulta de pesquisa) que pode ser visualizado. Visualizar os resultados da pesquisa ajuda a determinar a eficácia da pesquisa. Para obter mais informações, consulte [Coletar dados para um caso](collecting-data-for-ediscovery.md#view-search-results-and-statistics). | |Re indexação de dados custodiados | Quando você adiciona um custodiante a um caso, todos os itens parcialmente indexados nas fontes de dados selecionadas do custodiante são reindexados por um processo chamado *indexação avançada*. Esse trabalho também é acionado quando você clica em Atualizar índice na guia Processamento de uma ocorrência e quando você atualiza o índice para um custodiante específico na página de sobrevoo de propriedades custodiantes. Para obter mais informações, consulte [Indexação avançada de dados custodiados](indexing-custodian-data.md). |Executando análise | Um usuário analisa dados em um conjunto de revisão executando Advanced eDiscovery de análise, como detecção quase duplicada, análise de threads de email e análise de temas. Para obter mais informações, consulte [Analisar dados em um conjunto de revisão](analyzing-data-in-review-set.md). | |Marcando documentos | Esse trabalho é acionado quando um usuário clica em Iniciar o trabalho de **marcação** no painel **Marcação** ao revisar documentos em um conjunto de revisão. Um usuário pode iniciar esse trabalho depois de marcar documentos em um conjunto de revisão e, em seguida, seleciona-los em massa no painel do documento de exibição. Para obter mais informações, consulte [Tag documents in a review set](tagging-documents.md). | ||| ## <a name="job-status"></a>Status do trabalho A tabela a seguir descreve os diferentes estados de status para trabalhos. | Status | Descrição | | :----------------- | :---------- | | Submitted | Um novo trabalho foi criado. A data e a hora em que o trabalho foi enviado é exibida na coluna **Criado** na **guia Trabalhos.** | | Falha no envio | O envio do trabalho falhou. Você deve tentar reprisar a ação que disparou o trabalho. | | Em andamento | O trabalho está em andamento, você pode monitorar o andamento do trabalho na **guia Trabalhos.** | | Com êxito | O trabalho foi concluído com êxito. A data e a hora em que o trabalho foi concluído é exibido na coluna **Concluído** na **guia Trabalhos.** | | Parcialmente bem-sucedido | O trabalho foi bem-sucedido. Esse status normalmente é retornado quando o trabalho não encontra dados parcialmente indexados (também chamados de dados não indexados *)* em algumas das fontes de dados custodiadas. | | Falhou | O trabalho falhou. Você deve tentar reprisar a ação que disparou o trabalho. Se o trabalho falhar uma segunda vez, recomendamos que você entre em contato com o Suporte da Microsoft e forneça as informações de suporte do trabalho. | |||
144.283333
683
0.789419
por_Latn
0.999994
aa8cab9e46a047ca6f544ffa7a22ae20988c37c7
4,819
md
Markdown
README.md
20lives/auto_hck
90799aa91b674897719c2e687280710fff2c4f33
[ "BSD-2-Clause" ]
3
2019-07-06T13:20:05.000Z
2020-03-31T02:45:03.000Z
README.md
daynix/auto_hck
90799aa91b674897719c2e687280710fff2c4f33
[ "BSD-2-Clause" ]
null
null
null
README.md
daynix/auto_hck
90799aa91b674897719c2e687280710fff2c4f33
[ "BSD-2-Clause" ]
null
null
null
# auto_hck [![CircleCI](https://circleci.com/gh/daynix/AutoHCK2.svg?style=svg)](https://circleci.com/gh/daynix/AutoHCK2) auto_hck is a tool for automating HCK/HLK testing, doing all the boilerplate steps in the process leaving you with simply choosing which driver you want to test on what os. ## Getting Started There are not so few steps needed to install and set up auto_hck, First of all clone auto_hck and follow the instruction below: ### QEMU Use your package manager to install QEMU or build it from [source](https://github.com/qemu/qemu) ### VirtHCK Clone [VirtHCK](https://github.com/daynix/VirtHCK), auto_hck will use it as a dependency. ### toolsHCK Get a copy of the powershel script file in [rtoolsHCK](https://github.com/HCK-CI/toolsHCK) ### rtoolsHCK Get a clone of [rtoolsHCK](https://github.com/HCK-CI/rtoolsHCK), execute the follwing to build and install as a gem: ``` rake build rake install ``` ### RubyGems Install the following gems using bundler with `bundler install` or `gem install gemname`: * [dropbox_api](https://rubygems.org/gems/dropbox_api) * [faraday](https://rubygems.org/gems/faraday) (version 0.12.2) * [net-ping](https://rubygems.org/gems/net-ping) * [filelock](https://rubygems.org/gems/filelock) * [octokit](https://rubygems.org/gems/octokit) ### DHCP SERVER Use a dhcp server tool like [OpenDHCP](http://dhcpserver.sourceforge.net) or [Node-DHCP](https://github.com/infusion/node-dhcp) to assign static ip to mac-address with the following rule: ``` 56:00:XX:00:XX:dd > 192.168.0.XX ``` ### Microsoft HCK filters Filters are fixes for problematic tests, read more at: [Microsoft HLK Filters](https://docs.microsoft.com/en-us/windows-hardware/test/hlk/user/windows-hardware-lab-kit-filters) To run tests with applied filters automatically, get a copy of `UpdateFilters.sql` form [HCK-CI/hckfilters](https://github.com/HCK-CI/hckfilters) and place them inside auto_hck at `filters/UpdateFilters.sql`. ### Microsoft HLK playlists To run HLK tests with latest Microsoft compatibility playlist clone [HLK Playlists](https://github.com/HCK-CI/hlkplaylists) inside auto_hck and rename the directory to playlists, once it's there auto_hck will look for the right xml playlist file and apply it to the tests. ### Sudoer with no passwod To run auto_hck correctly the runnig user should have permission to run sudo commands without prompting his password, do this by adding the following line to sudoers file /etc/sudoers __This might be dangerous to your computer security, do this at your own risk__ ``` hck-ci ALL=(ALL) NOPASSWD:ALL ``` ### Images preperation This is similar to making regular HLK/HCK studio and clients images with with few additionals configurations, detailed instrutions available at [HLK-Setup-Scripts](https://github.com/HCK-CI/HLK-Setup-Scripts) ### Dropbox integration auto_hck allows integration with Dropbox, automatically uploading results and logs to specific location. to do that you will need to create auth2 token 1. go to https://www.dropbox.com/developers/apps and click on 'Create app' 2. select 'Dropbox API', 'Full Dropbox' access type and give it a unique name. 3. click on 'Generated access token' and copy the token to config.json file. ### Github integration when specifing a pull request auto_hck can mark test results on github and link to dropbox logs folder. to do that you will need to create a personal access token. 1. go to https://github.com/settings/tokens and click on 'Generate new token' 2. give it a name, select: repo:status and click 'Generate token' 3. copy the token to the config.json file. ### Configuration There are 3 diffrenet JSON files for configurations, examples included in the files: * `config.json` is the general configuration file which holds the paths to the dependencies stated above. * `platforms.json` list of configured opertaions systems images. * `devices.json` list of devices drivers information for testing ## Usage Once everything is installed and configured, run `ruby auto_hck.rb` with these parameters: ``` Required: -t, --tag [PROJECT]-[OS][ARCH] The driver name and architecture -p, --path [PATH-TO-DRIVER] The location of the driver Optional: -d, --diff <DIFF-LIST-FILE> Poth to text file containing a list of changed source files -c, --commit <COMMIT-HASH> Commit hash for updating github status -D, --debug Printing debug information ``` ### Examples ``` ruby auto_hck.rb -t Balloon-Win10x86 -p /home/hck-ci/balloon/win10/x86 ruby auto_hck.rb -t NetKVM-Win10x64 -d /home/hck-ci/workspace -d /path/to/diff.txt ruby auto_hck.rb -t viostor-Win10x64 -d /home/hck-ci/viostor -d /path/to/diff.txt -c ec3da560827922e5a82486cf19cd9c27e95455a9 ``` ## Author * **Lior Haim** - *Development* - [Daynix Computing LTD](https://github.com/Daynix)
47.245098
272
0.758664
eng_Latn
0.925967
aa8cbeba1f5cc8bfe4aa2b13a1f8d5ccf4ca85bc
58
md
Markdown
README.md
ryomakawakami/statsBot
85c5c36c0f209d199055d2578bd90dffdb60ec0e
[ "MIT" ]
null
null
null
README.md
ryomakawakami/statsBot
85c5c36c0f209d199055d2578bd90dffdb60ec0e
[ "MIT" ]
1
2022-01-22T13:30:27.000Z
2022-01-22T13:30:27.000Z
README.md
ryomakawakami/statsBot
85c5c36c0f209d199055d2578bd90dffdb60ec0e
[ "MIT" ]
null
null
null
# statsBot Discord bot to get bedwars stats or something
14.5
45
0.793103
eng_Latn
0.993868
aa8cc63326a8fd5ac4d3185d862322262521f37e
113
md
Markdown
workbench/2021/index.md
alextongue/alextongue.github.io
d29c3652f4c668cfd055780cb307775b36aab797
[ "MIT" ]
null
null
null
workbench/2021/index.md
alextongue/alextongue.github.io
d29c3652f4c668cfd055780cb307775b36aab797
[ "MIT" ]
4
2020-12-06T06:59:33.000Z
2021-05-11T10:20:55.000Z
workbench/2021/index.md
alextongue/alextongue.github.io
d29c3652f4c668cfd055780cb307775b36aab797
[ "MIT" ]
null
null
null
--- title: 2021 parent: Workbench has_children: true custom_title: true nav_order: 18 has_toc: false --- # 2021
10.272727
18
0.734513
eng_Latn
0.85904
aa8d753b50add43fc0c50a57afdd8ae994e77d7d
192
md
Markdown
_docs/6-Annexes/documents.md
PLrolle/rapport
5fc7d1c45c502bda828524af1e595324c8c94c00
[ "MIT" ]
2
2019-01-01T11:40:23.000Z
2019-05-09T02:45:13.000Z
_docs/6-Annexes/documents.md
PLrolle/rapport
5fc7d1c45c502bda828524af1e595324c8c94c00
[ "MIT" ]
null
null
null
_docs/6-Annexes/documents.md
PLrolle/rapport
5fc7d1c45c502bda828524af1e595324c8c94c00
[ "MIT" ]
null
null
null
--- title: Documents et contributions category: Annexes order: 3 --- Retrouvez bient&ocirc;t ici toutes les annexes et documents re&ccedil;us par la Mission au cours de la concertation.&nbsp;
27.428571
122
0.776042
fra_Latn
0.706959
aa8df12e0e50709551fecc3b0787256cb5042730
3,694
md
Markdown
docs/gitbook_src/zh-hans/senarios/AsyncNet.md
liu0208xuan/CUP
0e09b393673dacdd985c064cf03062b950a74179
[ "Apache-2.0" ]
900
2017-02-15T05:14:03.000Z
2022-03-22T08:07:39.000Z
docs/gitbook_src/zh-hans/senarios/AsyncNet.md
horsedongmin/CUP
94398c7d94b2574db565c3e8d6dcfe2f3722f007
[ "Apache-2.0" ]
30
2017-02-24T05:16:15.000Z
2021-08-04T02:03:12.000Z
docs/gitbook_src/zh-hans/senarios/AsyncNet.md
horsedongmin/CUP
94398c7d94b2574db565c3e8d6dcfe2f3722f007
[ "Apache-2.0" ]
185
2017-02-15T02:23:09.000Z
2022-02-24T08:47:43.000Z
<!-- MDTOC maxdepth:6 firsth1:1 numbering:0 flatten:0 bullets:1 updateOnSave:1 --> - [1. 从零开始构建网络通信](#1-从零开始构建网络通信) - [1.1 网络链接管理](#11-网络链接管理) - [1.2 网络信息结构化](#12-网络信息结构化) - [1.3 信息收发控制](#13-信息收发控制) - [1.4 网络异常处理](#14-网络异常处理) - [2. cup.net.async辅助下构建](#2-cupnetasync辅助下构建) - [2.1 async内部通讯机制](#21-async内部通讯机制) <!-- /MDTOC --> # 1. 从零开始构建网络通信 如果不依靠框架辅助, 从零开始构建一个client/server cs模型程序. 我们要思考并解决如下常见问题: - 网络链接的管理 - 网络信息结构化 - 结构化信息收发 - 网络异常处理 ## 1.1 网络链接管理 - 链接建立 - 链接销毁 - 链接异常处理 ## 1.2 网络信息结构化 网络传输的信息结构化, 更多的是设计上的考量. 只有传输信息是结构化的, 才容易进行: - 信息传输控制 - 滑动窗口 - 保障到达 - 信息错误识别 - 识别网络抖动 - 识别信息篡改/错误 ## 1.3 信息收发控制 信息收发上, 除了基本的信息读写之外, 真实的线上服务需要考虑信息保序到达, 重复处理, 故障处理重发等等 - 信息读写 - 信息保序 - 信息保障到达 - 信息重复处理 ## 1.4 网络异常处理 网络异常时, 要能及时销毁链接防止过多的socket占用Opened FILE Handle. 如果仅是网络抖动的问题, 还需要可以及时自动重连. - 链接异常销毁 - 链接重连 - 链接idle处理 # 2. cup.net.async辅助下构建 在CUP的辅助下, 你可以不用考虑底层的网络链接处理, 专注上层的业务逻辑: 一个简单的收发示例如下图: ![async_send_recv](../images/cup.net.async.send.recv.png) - 网络双向传输, 构建收和发即可 - 收继承async的msgcenter.IMessageCenter并实现handle函数即可 - 发直接调用msg module的接口, 创建结构化msg, 调用post_msg接口即可完成发送 - 底层的网络处理托管给cup.net.async即可, 会帮你处理好网络链接管理 如果你对其中的通讯模型感兴趣, 请继续往下看: ## 2.1 async内部通讯机制 简单来说, cup.net.async是把 - 原来ping<->pang模型,转换成了异步的cup.net.async协议包通信。 - 业务层把MSG初始化好,包括目的端IP PORT、flag信息、msg唯一id等。 - 然后通过post msg给cup.net.async的msgcenter,msgcenter创建或者获取已存在的连接池里面的context manager - 最终通过连接管理conn manager 发送信息出去到hostA 一图一概括之: ![async_pingpang_vs_async](../images/cup.net.async.pingpang.async.png) 在上层application逻辑层调用post_msg之后会进入conn连接mananger: - 它维持了一个ip:port hash桶,判断是否有可复用链接 - 有的话就优先使用它 - 没有的话重建一个新的链接以及这个链接的context上下文管理器 - 之后try-第一次尝试在socket发送数据 - 在cup.net.async里面socket都是非阻塞的,这次的发送可能会失败,也可能成功 - 成功的话,就把这个序列化过的msg发送所在的index做下记录,然后这个线程就回返了 - 之后EPOLL如果有收到发送缓冲区空闲的event,会触发调用网络线程继续处理该socket - 如上该过程反复进行,直到发送成功 - 发送成功与否, 根据你在初始化这个msg时候是否设置了callback函数,如果设置了就执行callback函数。 发送就告一段落了。 ![async_msg_senddetail](../images/cup.net.async.net.senddetail.png) **a. 网络链接管理部分** CUP使用长链接池来管理: - 数据发送和发送阶段: - 新的链接进入链接池会经过hash桶映射, 并附着一个socket上下文context - 老的链接可复用, 则直接复用链接部分, 获得context上下文, 把网络消息给context - 链接销毁, 当出现如下情况时, 链接池会自动销毁socket以及附着的context(未发送的msg立刻销毁) - 当epoll发现链接出现问题(reset by peer) - 当发现链接是非法的, 主动发起销毁 - 当发现MSG出现错乱/内容缺失/篡改, 主动发起销毁 **b. 网络信息结构化** 信息结构化便于进行网络信息的逻辑控制, 传输的最小单元化为一个"网络包": ![msg](../images/cup.net.async.msg.png) - 包头(Head)只在第一个Msg用到(框架自动处理), 用来识别双边协议是cup.net.async - 网络包的一些关键元素: - Body (包内容) - Length - FromAddr(ip:port), ToAddr - UniqueID (用来标识唯一性) - Flag/MsgType 用来辅助上层应用区分是哪类msg c. 信息收发控制 在链接池+网络包的基础上, 网络通信变成了对如下数据结构的逻辑处理: ``` - 链接池 -| (ip:port socket)+context -| send_queue - CupMsg (Head|FLAG|LEN|FROM|TO|TYPE|UniqueID|Body) - recv_queue -| (ip2:port2 socket)+context - send_queue - recv_queue -| ..... ``` "发送"模型可以参考上文中的模型, 发送的包在链路上是一串序列化过的string: - 每个Context内部记录当前正在发送的包 - 每个包记录正在发送的序列化数据中已发送的index(相对位置) "接收"模型类似, 但接收模型与"发送"模型不一样的地方在于: - 接收过程是被动的消息通知机制 - epoll通知读取数据, 顺着socket的Context可以找到正在接受的包. - cup.async.net会用接收到的数据feed这个包, 一旦包接收的数据长度>=预期长度算完成一轮 - 如果缓冲区空闲, 该过程可能是连续的 - 如果网络抖动或者缓冲区繁忙, 该过程可能是断续的, context负责网络状态信息(记录上下文) - 之后会回调用户继承IMessageCenter的handle回调函数, 按照msg_type不同执行相应的函数操作 **d. 网络异常处理** 常见的网络异常及cup如何处理: - 对端网络断链 (connect reset by peer) - 链接池负责这部分的处理, 参见[a]部分 - 网络包协议错乱 - 网络包在接收过程中, 如果不遵循包头协议会被直接拒绝并剔除出链接池 - 网络故障导致的包丢失 - cup.net.async.msg 提供CNeedAck Msg机制来保证包到达解决某些重要数据必须送达的诉求 - 凡NeedAck Msg都设置重试间隔时间及重试次数, 在重试次数内, 未收到对方ack则会超时重发 - msg的UniqueID机制可以保证数据在重发过程中, 能识别由于时序/链路问题受到的重复包. 上层应用有机会对重复宝设计处理逻辑 - 网络拥塞导致的缓冲区积压 - 链接的context会负责管理链路信息, 当链接积压了过多的发送内容时, 链接池会认为该链接出现问题, 并按照异常链接来处理 - 当链接后续恢复正常时, 包恢复正常发送,低于积压阀值, 框架会自动恢复该链接的发送队列 - etc
24.302632
82
0.74418
yue_Hant
0.730744
aa8e43ca715457873322d14c1bdbc3806d0abd6a
188
md
Markdown
_posts/2017-07-03-Week-17.md
mmteesuk/mmteesuk.github.io
6c258af1e618d12deef3a1d0f002e6fc18682dd3
[ "MIT" ]
null
null
null
_posts/2017-07-03-Week-17.md
mmteesuk/mmteesuk.github.io
6c258af1e618d12deef3a1d0f002e6fc18682dd3
[ "MIT" ]
null
null
null
_posts/2017-07-03-Week-17.md
mmteesuk/mmteesuk.github.io
6c258af1e618d12deef3a1d0f002e6fc18682dd3
[ "MIT" ]
null
null
null
--- title: Week 17 layout: post author: matt.moloney permalink: /week-17/ source-id: 1KEQxYlIN28NSbbeH-oHuIirqZ9VaeHW8Pcn90OzsLRg published: true --- Week 17 - NO LESSON DUE TO HOAC TRIP
17.090909
55
0.765957
kor_Hang
0.287759
aa8e51a2697c133ff628bf404c3cd8361a55b478
13,311
md
Markdown
wiki/translations/it/Macro_FCCamGroover.md
arslogavitabrevis/FreeCAD-documentation
8166ce0fd906f0e15672cd1d52b3eb6cf9e17830
[ "CC0-1.0" ]
null
null
null
wiki/translations/it/Macro_FCCamGroover.md
arslogavitabrevis/FreeCAD-documentation
8166ce0fd906f0e15672cd1d52b3eb6cf9e17830
[ "CC0-1.0" ]
null
null
null
wiki/translations/it/Macro_FCCamGroover.md
arslogavitabrevis/FreeCAD-documentation
8166ce0fd906f0e15672cd1d52b3eb6cf9e17830
[ "CC0-1.0" ]
null
null
null
# Macro FCCamGroover/it <div class="mw-translate-fuzzy"> {{Macro/it |Name=FCCamGroover |Translate=FCCamGroover |Icon=Cam-groover-icon-32x32.png |Description=Questa macro crea un solco in un cilindro.<br/>L'oggetto è mostrato in questa video [https://youtu.be/io1JL1U7kUs youtube video]. |Author=TheMarkster |Version=2019.07.09 |Date=2019.07.09 |FCVersion=017 and above |Download=[https://www.freecadweb.org/wiki/images/b/ba/Cam-groover-icon-32x32.png ToolBar Icon] }} </div> ## Descrizione Questa macro crea un solco in un cilindro in cui può entrare una camma. L\'oggetto è mostrato in questa video [youtube video](https://youtu.be/io1JL1U7kUs). <img alt="" src=images/Cam-groover-screenshot.png style="width:1000px;"> Gif animato: ![](images/Cam-groover-animated-opt.gif ) ## Script ToolBar Icon ![](images/Cam-groover-icon-32x32.png ) **Macro\_FCCamGroover.FCMacro** {{MacroCode|code= # -*- coding: utf-8 -*- import FreeCAD from FreeCAD import Base from PySide import QtGui,QtCore import Part, Draft from math import * import time import math __title__ = "FC Cam Groover" __author__ = "TheMarkster" __url__ = "https://www.freecadweb.org/wiki/Macro_FCCamGroover" __Wiki__ ="https://www.freecadweb.org/wiki/Macro_FCCamGroover" __date__ = "2020.06.13" __version__ = __date__ msg = u"""FC Cam Groover v"""+__version__+""", a macro to create a cam groove in a cylinder, Copyright (c) 2018 by 'TheMarkster'<br/> <br/> Credit to Gomez Lucio and Laurent Despeyroux for their macro, '3D Parametric Curve Macro', 2015, which provided inspiration for some of the code used herin. Thanks also to emills2 for his invaluable feedback. All errors are mine, not theirs.<br/> <br/> The grooved cylinder produced will be similar to the one depicted in this video: <a href = 'https://youtu.be/io1JL1U7kUs'>https://youtu.be/io1JL1U7kUs</a><br/> <br/> Parameters supported: cylinder height, cylinder radius, groove depth, groove width, strokes per revolution, stroke range, steps (precision) <br/> <br/> This file is a supplement to the FreeCAD CAx development system. <br/> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. <br/> <br/> This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License at <a href='http://www.gnu.org/licenses'>http://www.gnu.org/licenses</a> for more details.<br/> <br/> For more information about the GNU Library General Public License write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA <br/> """ title = u"""Welcome to FC Cam Groover Macro""" icon=QtGui.QMessageBox.Information diag = QtGui.QMessageBox(icon, title, msg) diag.setWindowModality(QtCore.Qt.ApplicationModal) diag.setTextFormat(QtCore.Qt.RichText); diag.exec_() window = QtGui.QMainWindow() def say(msg): FreeCAD.Console.PrintMessage(msg); def processEvents(): time.sleep(0.001) QtGui.QApplication.processEvents() def getDouble(txt1,txt2,default,start=0,decimals=4): inp,ok = QtGui.QInputDialog.getDouble(window, txt1,txt2,default, start,1000000, decimals) if ok: return inp else: raise StandardError('User canceled') def getInt(txt1,txt2,default): inp, ok = QtGui.QInputDialog.getInt(window, txt1,txt2,default, 1, 100000, 1) if ok: return inp else: raise StandardError('User canceled') def getDistance3d(x1, y1, z1, x2, y2, z2): return math.sqrt((x1 - x2)**2 + (y1 - y2)**2 + (z1 - z2)**2) radius = getDouble(u'Radius of Cylinder',u'Enter radius of cylinder (in mm).\nMake sure it\'s big enough or the operation will fail:',10) cylinderHeight = getDouble(u'Height of Cylinder', u'Enter the height of the cylinder. (in mm)\n(Can be adjusted after the macro finishes.)',10) depth = getDouble(u'Depth of Groove', u'Enter the depth of the groove to be cut into the cylinder (in mm):',2) slotHeight = getDouble(u'Height of Groove',u'Enter the height of the slot to be cut into the cylinder.\n\nNote: this is not the stroke length, which will be input below. (in mm) ',2) innerRadius = radius-depth strokeFactor = getDouble(u'Stroke Length',u'Enter the axial length of the stroke: (in mm)',5) strokeFactor /= radius strokesPerRevolution = getInt(u'Strokes per Revolution',u'Enter the number of strokes per revolution of the cylinder.\n1 or 2 seems to work okay, but anything beyond 3 could be troublesome:', 2) steps = getInt(u'Steps',u'Enter number of steps (points) in curve, the more points the more precise the curve,\nbut the longer to process. If it\'s too small the operation *will* fail.\nExperiment with this value if you are having trouble with a particular groove.\nThe default is 628:',628) #inspiration for this makeBSpline function is from the 3d parametric curve macro #it is not an exact copy/paste of the code, but rather is based on the same principles #but without overhead of the gui def makeBSpline(strokesPerRevolution,strokeFactor,radius,steps): a = strokesPerRevolution b = strokeFactor c = radius interval = (2*math.pi)/float(steps) points=[] t = 0.0 maxT = 2*math.pi counter=0 while t <= maxT: say(u'Step '+str(counter)+u' of '+str(steps)+u'\n') counter +=1 processEvents() x = math.cos(t)*c y = math.sin(t)*c z = math.sin(t*a/2.0)*math.cos(t*a/2.0)*c*b points.append(App.Vector(x,y,z)) t += interval Draft.makeBSpline(points,closed=True,face=False) say(u'Done with BSpline\n') processEvents() if not App.ActiveDocument: App.newDocument() toBeRemoved=[] #temporary objects to be removed to clean up tree say(u'Making BSpline...\n') processEvents() makeBSpline(strokesPerRevolution,strokeFactor,radius,steps) App.ActiveDocument.recompute() bs = App.ActiveDocument.ActiveObject #we use an array of circles aligned along the bspline to create a new #bspline that closely follows (but is not exact copy of) original bspline #each circle has a vertex, similar to the seam line of a cylinder #these vertices are used to create a list of points from which the new #bspline is created #simply moving the original bspline along the z axis does not work because #the groove will narrow in places and widen in others. the circles ensure #better (though probably still not perfect) uniformity of the groove Draft.makeCircle(slotHeight,face=False) cir = App.ActiveDocument.getObject('Circle') cir.Placement=App.Placement(App.Vector(0,0,0), App.Rotation(90,0,0), App.Vector(0,0,0)) App.ActiveDocument.recompute() say(u'Making a draft path array of '+str(steps)+' circles, waiting for FreeCAD...\n') processEvents() try: Draft.make_path_array(cir,bs,count=steps,align=True,align_mode='Tangent',tan_vector=App.Vector(0,0,1),force_vertical=True) except: title = u"""Potential incompatibility with this version of FreeCAD""" msg='There is a potential incompatibility with this version of FreeCAD. If the groove does not appear correct after processing completes \ update to version 0.19 or later and try again.' icon=QtGui.QMessageBox.Information diag = QtGui.QMessageBox(icon, title, msg) diag.setWindowModality(QtCore.Qt.ApplicationModal) diag.setTextFormat(QtCore.Qt.RichText); diag.exec_() Draft.makePathArray(cir,bs,count=steps,xlate=None,align=True) App.ActiveDocument.recompute() pa = App.ActiveDocument.getObject('PathArray') points = [] for v in pa.Shape.Vertexes: points.append(v.Point) Draft.makeBSpline(points,True,None) bs1 = App.ActiveDocument.ActiveObject App.ActiveDocument.recompute() say(u'Scaling bspline1...\n') processEvents() Draft.scale([bs],FreeCAD.Vector(innerRadius/float(radius),innerRadius/float(radius),1.0),center=FreeCAD.Vector(0.0,0.0,0.0),copy=True) bs2 = App.ActiveDocument.ActiveObject say(u'Scaling bspline2...\n') processEvents() Draft.scale([bs1],FreeCAD.Vector(innerRadius/float(radius),innerRadius/float(radius),1.0),center=FreeCAD.Vector(0.0,0.0,0.0),copy=True) bs3 = App.ActiveDocument.ActiveObject #now make the original bsplines bigger so they extend outside the cylinder edges (to prevent issues with boolean cut later on) Draft.scale([bs],FreeCAD.Vector(1.05,1.05,1.0),center=FreeCAD.Vector(0.0,0.0,0.0),copy=False) say(u'Scaling bspline2...\n') processEvents() Draft.scale([bs1],FreeCAD.Vector(1.05,1.05,1.0),center=FreeCAD.Vector(0.0,0.0,0.0),copy=False) say(u'Making ruled surfaces.') processEvents() FreeCAD.ActiveDocument.addObject('Part::RuledSurface', 'Ruled Surface') FreeCAD.ActiveDocument.ActiveObject.Curve1=(bs1,['Edge1']) FreeCAD.ActiveDocument.ActiveObject.Curve2=(bs3,['Edge1']) FreeCAD.ActiveDocument.ActiveObject.Orientation = u"Forward" rs = FreeCAD.ActiveDocument.ActiveObject say(u'.') processEvents() FreeCAD.ActiveDocument.addObject('Part::RuledSurface', 'Ruled Surface') FreeCAD.ActiveDocument.ActiveObject.Curve1=(bs2,['Edge1']) FreeCAD.ActiveDocument.ActiveObject.Curve2=(bs3,['Edge1']) FreeCAD.ActiveDocument.ActiveObject.Orientation=u"Forward" rs1 = FreeCAD.ActiveDocument.ActiveObject say(u'.') processEvents() FreeCAD.ActiveDocument.addObject('Part::RuledSurface', 'Ruled Surface') FreeCAD.ActiveDocument.ActiveObject.Curve1=(bs1,['Edge1']) FreeCAD.ActiveDocument.ActiveObject.Curve2=(bs,['Edge1']) FreeCAD.ActiveDocument.ActiveObject.Orientation=u"Forward" rs2 = FreeCAD.ActiveDocument.ActiveObject say(u'.') processEvents() FreeCAD.ActiveDocument.addObject('Part::RuledSurface', 'Ruled Surface') FreeCAD.ActiveDocument.ActiveObject.Curve1=(bs2,['Edge1']) FreeCAD.ActiveDocument.ActiveObject.Curve2=(bs,['Edge1']) FreeCAD.ActiveDocument.ActiveObject.Orientation = u"Forward" rs3 = FreeCAD.ActiveDocument.ActiveObject say(u'. Done.\n') processEvents() toBeRemoved.extend([bs.Name,bs1.Name,bs2.Name,bs3.Name,rs.Name,rs1.Name,rs2.Name,rs3.Name,pa.Name,cir.Name]) App.ActiveDocument.recompute() say(u'Building shell...\n') processEvents() try: _=Part.Shell([App.ActiveDocument.getObject(rs3.Name).Shape.Faces[0], App.ActiveDocument.getObject(rs2.Name).Shape.Faces[0], App.ActiveDocument.getObject(rs.Name).Shape.Faces[0], App.ActiveDocument.getObject(rs1.Name).Shape.Faces[0], ]) except: say('Exception making shell. You might try increasing the number of steps, which sometimes helps.\n') raise StandardError('Exception creating shell object.') if _.isNull(): raise RuntimeError('Failed to create shell') App.ActiveDocument.addObject('Part::Feature','Shell').Shape=_.removeSplitter() del _ shell = App.ActiveDocument.ActiveObject toBeRemoved.extend([shell.Name]) App.ActiveDocument.recompute() say(u'Making shell into a solid...\n') processEvents() __s__=App.ActiveDocument.Shell.Shape __s__=Part.Solid(__s__) __o__=App.ActiveDocument.addObject("Part::Feature","GrooveFeature") __o__.Label="GrooveFeature" __o__.Shape=__s__ del __s__, __o__ shellSolid = App.ActiveDocument.ActiveObject App.ActiveDocument.recompute() say('Building cylinder...\n') processEvents() App.ActiveDocument.addObject("Part::Cylinder","Cylinder") App.ActiveDocument.ActiveObject.Label = "Cylinder" App.ActiveDocument.getObject("Cylinder").Radius = str(radius) App.ActiveDocument.getObject("Cylinder").Height = str(cylinderHeight) cylinder = App.ActiveDocument.ActiveObject shellSolid.Placement=App.Placement(App.Vector(0,0,-slotHeight/2.0), App.Rotation(0,0,0), App.Vector(0,0,0)) #center groove in cylinder cylinder.Placement=App.Placement(App.Vector(0,0,-cylinderHeight/2.0), App.Rotation(10,0,0), App.Vector(0,0,0)) #rotate slightly to move the edge lines apart App.ActiveDocument.recompute() say(u'Cleaning up temporary objects.') processEvents() for tbr in toBeRemoved: App.ActiveDocument.removeObject(tbr) say(u'.') processEvents() say(u'. Done.\n') App.ActiveDocument.recompute() Gui.SendMsgToActiveView("ViewFit") msg=u""" Done. Last thing you need to do is the boolean cut from the Part workbench, cutting Groove Feature from the cylinder, if all looks good. It is recommended to check the geometry via the Part workbench menu with RunBoPCheck = True enabled in Tools -> Edit Parameters -> Preferences -> Mod -> Part -> CheckGeometry. If the check fails, go back and do it again with a different number of steps. Sometimes it might be necessary to adjust the z-position Placement of the Groove Feature. """ title=u'Thanks for using FC Cam Groover' icon=QtGui.QMessageBox.Information diag = QtGui.QMessageBox(icon, title, msg) diag.setWindowModality(QtCore.Qt.ApplicationModal) diag.setTextFormat(QtCore.Qt.RichText); diag.exec_() }} ## Elenco Il foro [FC Cam Groover Macro](https://forum.freecadweb.org/viewtopic.php?f=22&t=29816&sid=f6f9b946f015bc5072bf112d97b50256) --- [documentation index](../README.md) > Macro FCCamGroover/it
40.956923
292
0.738111
eng_Latn
0.499167
aa8eed36a1166e9b45f80622e804adc11cf8ce2b
2,053
md
Markdown
chart/event-store-service/README.md
choerodon/event-store-service
e48b9e5f8ec96618c89eb5ab3862bc77a6cf421a
[ "Apache-2.0" ]
9
2018-05-20T06:15:37.000Z
2020-11-07T19:18:39.000Z
chart/event-store-service/README.md
choerodon/event-store-service
e48b9e5f8ec96618c89eb5ab3862bc77a6cf421a
[ "Apache-2.0" ]
null
null
null
chart/event-store-service/README.md
choerodon/event-store-service
e48b9e5f8ec96618c89eb5ab3862bc77a6cf421a
[ "Apache-2.0" ]
8
2018-05-22T01:59:19.000Z
2020-01-02T09:51:33.000Z
部署文件的渲染模板,我们下文将定义一些变量,helm执行时会将变量渲染进模板文件中。 ## _helpers.tpl 这个文件我们用来进行标签模板的定义,以便在上文提到的位置进行标签渲染。 标签总共分为三个部分: 平台、微服务、监控。 ### 平台标签 #### deployment 级: ``` {{- define "service.labels.standard" -}} choerodon.io/release: {{ .Release.Name | quote }} {{- end -}} ``` 平台管理实例需要的实例ID。 ### 微服务标签 #### pod 级: ``` {{- define "service.microservice.labels" -}} choerodon.io/version: {{ .Chart.Version | quote }} choerodon.io/service: {{ .Chart.Name | quote }} choerodon.io/metrics-port: {{ .Values.deployment.managementPort | quote }} {{- end -}} ``` 微服务注册中心进行识别时所需要的版本号、项目名称、管理端口。 ### 监控和日志标签 #### deployment 级: ``` {{- define "service.logging.deployment.label" -}} choerodon.io/logs-parser: {{ .Values.logs.parser | quote }} {{- end -}} ``` 日志管理所需要的应用标签。该标签指定应用程序的日志格式,内置格式有`nginx`,`spring-boot`,`docker`对于spring-boot微服务请使用`spring-boot`,如果不需要收集日志请移除此段代码,并删除模板文件关于`service.logging.deployment.label`的引用。 #### pod 级: ``` {{- define "service.monitoring.pod.annotations" -}} choerodon.io/metrics-group: {{ .Values.metrics.group | quote }} choerodon.io/metrics-path: {{ .Values.metrics.path | quote }} {{- end -}} ``` 性能指标管理所需要的应用类别以及监控指标路径。其中`metrics-group`将应用按照某个关键字分组,并在grafana配置实现分组展示。`metrics-path`指定收集应用的指标数据路径。 如果不需要监控请移除此段代码 ## values.yaml 这个文件中的键值对,即为我们上文中所引用的变量。 将所以有变量集中在一个文件中,方便部署的时候进行归档以及灵活替换。 同时,helm命令支持使用 `--set FOO_BAR=FOOBAR` 参数对values 文件中的变量进行赋值,可以进一步简化部署流程。 ## 参数对照表 参数名 | 含义 --- | --- service.enable | 是否创建service persistence.enabled | 是否启用持久化存储 persistence.existingClaim | 绑定的pvc名称 preJob.preConfig.mysql | 初始化配置所需manager_service数据库信息 preJob.preInitDB.mysql | 初始化数据库所需数据库信息 env.open.SPRING_DATASOURCE_URL | 数据库链接地址 env.open.SPRING_DATASOURCE_USERNAME | 数据库用户名 env.open.SPRING_DATASOURCE_PASSWORD | 数据库密码 env.open.EUREKA_CLIENT_SERVICEURL_DEFAULTZONE | 注册服务地址 env.open.SPRING_CLOUD_CONFIG_ENABLED | 启用配置中心 env.open.SPRING_CLOUD_CONFIG_URI | 配置中心地址 env.open.SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS | kafka地址 env.open.SPRING_CLOUD_STREAM_KAFKA_BINDER_ZK_NODES | zookeeper地址 env.open.SPRING_KAFKA_BOOTSTRAP_SERVERS | spring kafka 地址
25.345679
160
0.755967
yue_Hant
0.860713
aa8f0feaef2ee927f9ffc5660618f18706e85f29
3,224
md
Markdown
wdk-ddi-src/content/hidclass/ni-hidclass-ioctl_set_num_device_input_buffers.md
riwaida/windows-driver-docs-ddi
c6f3d4504dc936bba6226651b2810df9c9cb7f1c
[ "CC-BY-4.0", "MIT" ]
null
null
null
wdk-ddi-src/content/hidclass/ni-hidclass-ioctl_set_num_device_input_buffers.md
riwaida/windows-driver-docs-ddi
c6f3d4504dc936bba6226651b2810df9c9cb7f1c
[ "CC-BY-4.0", "MIT" ]
null
null
null
wdk-ddi-src/content/hidclass/ni-hidclass-ioctl_set_num_device_input_buffers.md
riwaida/windows-driver-docs-ddi
c6f3d4504dc936bba6226651b2810df9c9cb7f1c
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- UID: NI:hidclass.IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS title: IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS (hidclass.h) description: The IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS request sets the number of buffers for the input report queue of a top-level collection. old-location: hid\ioctl_set_num_device_input_buffers.htm tech.root: hid ms.assetid: a44f9d57-473c-45ed-94e3-db339c6d2296 ms.date: 04/30/2018 ms.keywords: IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS, IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS control, IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS control code [Human Input Devices], hid.ioctl_set_num_device_input_buffers, hidclass/IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS, hidioreq_2fe1c0f7-6867-4924-a76f-b7970ebb1201.xml ms.topic: ioctl req.header: hidclass.h req.include-header: Hidclass.h req.target-type: Windows req.target-min-winverclnt: req.target-min-winversvr: req.kmdf-ver: req.umdf-ver: req.ddi-compliance: req.unicode-ansi: req.idl: req.max-support: req.namespace: req.assembly: req.type-library: req.lib: req.dll: req.irql: topic_type: - APIRef - kbSyntax api_type: - HeaderDef api_location: - hidclass.h api_name: - IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS product: - Windows targetos: Windows req.typenames: --- # IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS IOCTL ## -description The IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS request sets the number of buffers for the input report queue of a <a href="https://msdn.microsoft.com/dcbee8e3-d03a-45c8-92e4-0897b9f55177">top-level collection</a>. Each input report queue is implemented as a ring buffer. If a collection transmits data to the HID class driver faster than the driver can read it, some of the data may be lost. To prevent this type of loss, you can use an IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS request to adjust the number of buffers that the input report queue contains. The HID class driver requires a minimum of two input buffers. On Windows 2000, the maximum number of input buffers that the HID class driver supports is 200, and on Windows XP and later, the maximum number of input buffers that the HID class driver supports is 512. The default number of input buffers is 32. For general information about HIDClass devices, see <a href="https://msdn.microsoft.com/2d3efb38-4eba-43db-8cff-9fac30209952">HID Collections</a>. ## -ioctlparameters ### -input-buffer <b>Irp-&gt;AssociatedIrp.SystemBuffer</b> points to a ULONG-sized input buffer that receives the new number of buffers for the input report queue. <b>Parameters.DeviceIoControl.InputBufferLength</b> in the I/O stack location of the IRP contains the size, in bytes, of the input bufferat <b>Irp-&gt;AssociatedIrp.SystemBuffer</b>. This size must be <b>sizeof</b>(ULONG). ### -input-buffer-length The size of a ULONG. ### -output-buffer None. ### -output-buffer-length None. ### -in-out-buffer ### -inout-buffer-length ### -status-block If the request succeeds, the HID class driver sets the <b>Status</b> field of <b>Irp-&gt;IoStatus</b> to STATUS_SUCCESS; otherwise, it sets the <b>Status</b> field to an appropriate NTSTATUS error code. ## -see-also <a href="https://msdn.microsoft.com/library/windows/hardware/ff539675">HidD_GetNumInputBuffers</a>    
27.322034
644
0.777916
eng_Latn
0.673884
aa90d02f5ba52c57796f6ed133aeada98695a26d
205
md
Markdown
docs/docs/reference/dropped-features/xml.md
Somainer/dotty
18030766ee3ad04f094188b80dcc630f1f5df414
[ "Apache-2.0" ]
1
2019-09-28T12:58:08.000Z
2019-09-28T12:58:08.000Z
docs/docs/reference/dropped-features/xml.md
Somainer/dotty
18030766ee3ad04f094188b80dcc630f1f5df414
[ "Apache-2.0" ]
7
2021-03-12T13:26:15.000Z
2022-02-27T10:28:16.000Z
docs/docs/reference/dropped-features/xml.md
Somainer/dotty
18030766ee3ad04f094188b80dcc630f1f5df414
[ "Apache-2.0" ]
null
null
null
--- layout: doc-page title: "Dropped: XML Literals" --- XML Literals are still supported, but will be dropped in the near future, to be replaced with XML string interpolation: ```scala xml""" ... """ ```
18.636364
76
0.687805
eng_Latn
0.991061
aa90d315315b55c3605877c5888825b1b4c10411
129
md
Markdown
_organizations/toronto-police-services.md
CivicTechTO/jkan
549fb7af33b9a1a0d7d5e234fe9683bdcbff48e4
[ "MIT" ]
null
null
null
_organizations/toronto-police-services.md
CivicTechTO/jkan
549fb7af33b9a1a0d7d5e234fe9683bdcbff48e4
[ "MIT" ]
9
2016-04-27T00:34:26.000Z
2016-10-01T15:07:24.000Z
_organizations/toronto-police-services.md
patcon/data.toronto.io
549fb7af33b9a1a0d7d5e234fe9683bdcbff48e4
[ "MIT" ]
null
null
null
--- logo: https://pbs.twimg.com/profile_images/752492629854683136/X-ayZ5p5.jpg official: true title: Toronto Police Services ---
21.5
74
0.775194
kor_Hang
0.267485
aa911eb4b2d2aadc89159ba22d3956711c28548c
3,820
md
Markdown
README.md
SimplyKyra/noteto
7e16121f74611aa392e947ad17f82ecdd0dc8193
[ "MIT" ]
null
null
null
README.md
SimplyKyra/noteto
7e16121f74611aa392e947ad17f82ecdd0dc8193
[ "MIT" ]
null
null
null
README.md
SimplyKyra/noteto
7e16121f74611aa392e947ad17f82ecdd0dc8193
[ "MIT" ]
null
null
null
# NoTeTo **No**tetaking **Te**mplate **To**ol for the reMarkable tablet. Proof of concept! Try it on **<https://noteto.needleinthehay.de>** *(Alpha Stage!)* ## Introduction This application was born from a specific need: I found [many useful templates](#template-resources) for my tablet, but none that included all the features I required. Supposly everyone has different needs, so I built this application for creating custom templates based on a building block principle. **Features:** 1. Choose a template from the "Gallery" as starting point (or start on empty page) 2. Add predefined template elements ("blocks") 3. Move, resize and style the "blocks" 4. Adjust texts and labels 5. Export the template as `png`-image 6. Save as `json` to load it later for further adjusments Copying the `png`-image to the tablet is *not* in the scope of NoTeTo. Use one of the available [tools for transferring templates to tablet](#transfer-tools). ## Contribute templates for the Gallery **Via Pull Request (preferred):** 1. Create a nice template 2. "Download as PNG" as well as "Export to JSON" 3. Give both files _the_same_ meaningful name (all lower-case, hyphen separated) 4. Fork noteto-repo and put the two files in a new subfolder in [/js/gallery/](https://github.com/dynobo/noteto/tree/main/noteto/js/gallery) with the _same_name_ as your files. 5. Add a new object _at_the_end_ of the `templates`-Array in [`Gallery.js`](https://github.com/dynobo/noteto/blob/main/noteto/js/gallery/Gallery.js) with the appropriate information 6. Run NoTeTo locally (see section "Development & Contributing") as see if your template shows up as expected 7. Create a Pull Request. **Via issue:** 1. Create a nice template 2. "Download as PNG" as well as "Export to JSON" 3. Give both files _the_same_ meaningful name (all lower-case, hyphen separated) 5. Open a ticket, upload both files along with the information to be shown in the Gallery: - Template Name - Contributor Name - Short(!) description ## Development & contributing The app should be considered as unstable, unfortunately I won't have much time to work on it. Contributions as pull requests are very welcome. Development setup is kept minimal, no build is required: 1. Clone the repository 2. In the repositories root, start your favorite local webserver 3. Point your browser to the `index.html` on `localhost` E.g., you can run: ``` git clone https://github.com/dynobo/noteto.git cd noteto python -m http.server ``` Then open <http://127.0.0.1:8000/noteto/> in your browser. If you plan to contribute a Pull Request, please install and run `eslint` to ensure correct code formatting: ``` npm install eslint ./noteto/ ``` <a name="transfer-tools"></a> ## Tools for transferring templates to tablet - [Remarkable Assistent](https://github.com/richeymichael/remarkable-assistant) - [reMarkable HyUtilities](https://github.com/moovida/remarkable-hyutilities) - [remarkable-tweak](https://github.com/morngrar/remarkable-tweak) - [rM2 Template Helper](https://www.freeremarkabletools.com/) (Windows) - [reMarkable Connection Utility (RCU)](http://www.davisr.me/projects/rcu/) (paid) - [einkpads - Template installer](https://www.einkpads.com/products/remarkable-template-installer-apple-computers) (paid) <a name="template-resources"></a> ## Other template ressources - [Download templates created by the community](https://rm.ezb.io/) - [Online Generator for templates with custom grids](https://templarian.github.io/remarkable/) - [Getting Things Done templates](https://github.com/BartKeulen/remarkable-gtd-templates) - [Business related templates](https://github.com/deo-so/reMarkable-Tablet-Templates---Free) ## Further links - [RemarkableWiki - Templates](https://remarkablewiki.com/tips/templates) (customizing, further templates)
42.921348
301
0.757853
eng_Latn
0.914446
aa91e803fee34be983a3d6d213b75262abbe4a1f
2,468
md
Markdown
articles/java/fundamentals/java-jdk-docker-images.md
eltociear/azure-dev-docs.pt-br
1f6aff670ca328c68f11068426802c5387ba47af
[ "CC-BY-4.0", "MIT" ]
null
null
null
articles/java/fundamentals/java-jdk-docker-images.md
eltociear/azure-dev-docs.pt-br
1f6aff670ca328c68f11068426802c5387ba47af
[ "CC-BY-4.0", "MIT" ]
null
null
null
articles/java/fundamentals/java-jdk-docker-images.md
eltociear/azure-dev-docs.pt-br
1f6aff670ca328c68f11068426802c5387ba47af
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Usar imagens do Docker com um JDK para desenvolvimento em Java do Azure description: Saiba como usar imagens do Docker com um JDK (Java Development Kit) para Azure usando a interface de linha de comando. ms.date: 04/09/2019 ms.topic: conceptual ms.custom: seo-java-august2019, seo-java-september2019, devx-track-java ms.openlocfilehash: d1e66ac7e00f23fa4376d9dccddd301bbbe07bfd ms.sourcegitcommit: 44016b81a15b1625c464e6a7b2bfb55938df20b6 ms.translationtype: HT ms.contentlocale: pt-BR ms.lasthandoff: 07/14/2020 ms.locfileid: "86379820" --- # <a name="use-docker-with-a-java-development-kit-jdk-for-azure"></a>Usar o Docker com um JDK (Java Development Kit) para Azure Este artigo descreve como usar o Docker com um JDK (Java Development Kit) para Azure. Imagens do Docker criadas previamente para Java 7, 8 e 11 estão disponíveis por meio do [Docker Hub](https://hub.docker.com/_/microsoft-java-se). Imagens de contêiner do Docker certificadas para o JDK do Zulu, o JRE e o JRE sem periféricos em várias imagens de SO base estão disponíveis no Docker Hub: * [JDK](https://hub.docker.com/_/microsoft-java-jdk) * [JRE](https://hub.docker.com/_/microsoft-java-jre) * [JRE sem periféricos](https://hub.docker.com/_/microsoft-java-jre-headless) ## <a name="running-a-docker-image"></a>Como executar uma imagem do Docker Imagens do Docker podem ser executadas usando a sintaxe `$ docker run mcr.microsoft.com/java/jdk:tag java`, conforme mostrado no exemplo a seguir. ```cli docker run mcr.microsoft.com/java/jdk:8-zulu-alpine java -version ``` ## <a name="creating-a-docker-image"></a>Como criar uma imagem do Docker Você pode criar uma imagem usando imagens do Docker Hub oficiais da Microsoft, conforme mostrado nos exemplos a seguir. ### <a name="create-a-docker-file"></a>Crie uma imagem do Docker ```cli FROM mcr.microsoft.com/java/jdk:8-zulu-alpine   RUN echo $' \   public class HelloWorld { \ public static void main(String[] args) { \ // Prints "Hello, World" in the terminal window. \ System.out.println("Hello, World - From Microsoft Azure !!!"); \ } \ }' > HelloWorld.java   RUN javac HelloWorld.java   CMD ["java", "HelloWorld"] ``` ### <a name="build-a-docker-image"></a>Compilar uma imagem do docker ```cli docker build -t hello-world ``` ### <a name="run-the-new-image"></a>Executar a nova imagem ```cli docker run hello-world ``` Você verá esta saída: ```output Hello World - From Microsoft Azure !!! ```
34.277778
231
0.73825
por_Latn
0.909921
aa91ea339a12932b0944b05c4a32f7fe65479527
3,611
md
Markdown
docs-aspnet-mvc/helpers/lineargauge/overview.md
jansone-dace/kendo-ui-core
c9f37f135de04af0e7ca70eb5168a78f0ec33e04
[ "Apache-2.0" ]
null
null
null
docs-aspnet-mvc/helpers/lineargauge/overview.md
jansone-dace/kendo-ui-core
c9f37f135de04af0e7ca70eb5168a78f0ec33e04
[ "Apache-2.0" ]
null
null
null
docs-aspnet-mvc/helpers/lineargauge/overview.md
jansone-dace/kendo-ui-core
c9f37f135de04af0e7ca70eb5168a78f0ec33e04
[ "Apache-2.0" ]
null
null
null
--- title: Overview page_title: Overview | Kendo UI LinearGauge HtmlHelper description: "Get started with the server-side wrapper for the Kendo UI LinearGauge widget for ASP.NET MVC." slug: overview_lineargaugehelper_aspnetmvc position: 1 --- # LinearGauge HtmlHelper Overview The LinearGauge HtmlHelper extension is a server-side wrapper for the [Kendo LinearGauge](https://demos.telerik.com/kendo-ui/linear-gauge/index) widget. ## Getting Started ### Configuration Below are listed the steps for you to follow when configuring the Kendo UI LinearGauge. 1. Make sure you followed all the steps from the [introductory article on Telerik UI for ASP.NET MVC]({% slug overview_aspnetmvc %}). 1. Create a new action method which renders the view. ###### Example public ActionResult Index() { return View(); } 1. Add a LinearGauge. ###### Example ```tab-ASPX <%: Html.Kendo().LinearGauge() .Name("linearGauge") //The name of the LinearGauge is mandatory. It specifies the "id" attribute of the widget. .Scale(scale => scale .Min(0) //Set the min value of the LinearGauge. .Max(200) //Set the min value of the LinearGauge. ) .Pointer(pointer => pointer .Value(10) //Set the value of the LinearGauge. ) %> ``` ```tab-Razor @(Html.Kendo().LinearGauge() .Name("linearGauge") //The name of the LinearGauge is mandatory. It specifies the "id" attribute of the widget. .Scale(scale => scale .Min(0) //Set the min value of the LinearGauge. .Max(200) //Set the min value of the LinearGauge. ) .Pointer(pointer => pointer .Value(10) //Set the value of the LinearGauge. ) ) ``` ## Reference ### Existing Instances To reference an existing Kendo UI LinearGauge instance, use the [`jQuery.data()`](http://api.jquery.com/jQuery.data/) configuration option. Once a reference is established, use the [LinearGauge API](http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/lineargauge#methods) to control its behavior. ###### Example //Put this after your Kendo UI LinearGauge for ASP.NET MVC declaration. <script> $(function() { //Notice that the Name() of the LinearGauge is used to get its client-side instance. var gauge = $("#linearGauge").data("kendoLinearGauge"); }); </script> ## See Also * [Telerik UI for ASP.NET MVC API Reference: LinearGaugeBuilder](http://docs.telerik.com/aspnet-mvc/api/Kendo.Mvc.UI.Fluent/LinearGaugeBuilder) * [Overview of Telerik UI for ASP.NET MVC]({% slug overview_aspnetmvc %}) * [Fundamentals of Telerik UI for ASP.NET MVC]({% slug fundamentals_aspnetmvc %}) * [Scaffolding in Telerik UI for ASP.NET MVC]({% slug scaffolding_aspnetmvc %}) * [Overview of the Kendo UI LinearGauge Widget](http://docs.telerik.com/kendo-ui/controls/gauges/lineargauge/overview) * [Telerik UI for ASP.NET MVC API Reference Folder](http://docs.telerik.com/aspnet-mvc/api/Kendo.Mvc/AggregateFunction) * [Telerik UI for ASP.NET MVC HtmlHelpers Folder]({% slug overview_autocompletehelper_aspnetmvc %}) * [Tutorials on Telerik UI for ASP.NET MVC]({% slug overview_timeefficiencyapp_aspnetmvc6 %}) * [Telerik UI for ASP.NET MVC Troubleshooting]({% slug troubleshooting_aspnetmvc %})
41.034091
303
0.64082
eng_Latn
0.464261
aa9448386d20b3bdf42c168575856b4f7e61fbdc
4,502
md
Markdown
README.md
malfunctioningeddie/ace-t-deploy
de685e6941dd19bb08b4d3d391b1ae681bd6a62e
[ "BSD-2-Clause" ]
3
2020-04-29T14:16:34.000Z
2020-05-05T12:49:49.000Z
README.md
malfunctioningeddie/ace-t-deploy
de685e6941dd19bb08b4d3d391b1ae681bd6a62e
[ "BSD-2-Clause" ]
null
null
null
README.md
malfunctioningeddie/ace-t-deploy
de685e6941dd19bb08b4d3d391b1ae681bd6a62e
[ "BSD-2-Clause" ]
null
null
null
# Ansible for NSX-T ## Disclaimer: I'm not great at Ansible so your mileage may vary, just fill out the variable files and let me know if you have problems ## Overview This repository contains NSX-T Ansible Modules, which one can use with Ansible to work with [VMware NSX-T Data Center][vmware-nsxt]. [vmware-nsxt]: https://www.vmware.com/products/nsx.html For general information about Ansible, visit the [GitHub project page][an-github]. [an-github]: https://github.com/ansible/ansible These modules are maintained by [VMware](https://www.vmware.com/). Documentation on the NSX platform can be found at the [NSX-T Documentation page](https://docs.vmware.com/en/VMware-NSX-T/index.html) ## Prerequisites We assume that ansible is already installed. These modules support ansible version 2.8.1 and onwards. * Python3 >= 3.5.2 * PyVmOmi - Python library for vCenter api. * OVF Tools - Ovftool is used for ovf deployment. * ESXi 7 Hosts * vCenter 7 with a VDS configured with 1600 MTU or above * ESXi Hosts joined to VDS * A Management Port Group (for NSX Manager and Edges) * 2 Trunk Portgroups (1 for fabric a (uplink-1 active) and 1 for fabric b (uplink-2 active)) * NSX-T 3.0 license ### What does this do? * This deploys 1 NSX Manager (it defaults to medium so buckle up) * Checks the health of the API * Sets the VIP * Checks the Health * Registers a Compute Manager * Licenses the NSX Manager * Creates an IP Pool ONLY FOR THE EDGES (I have DHCP in my homelab so if you want more pools then you need to add another pool in the yaml) * Creates NSX Edge Uplink Profiles (MTU 1600) with named teaming profiles and multi-tep * Creates ESXi Uplink Profile ( No MTU ) with named teaming profiles and multi-tep (VDS backed TNs with an MTU specified in the profile generates an error since the VDS controls the MTU) * Creates 3 Transport Zones (1 for Edges, 1 for ESXi Hosts, 1 for VLAN all backed by 1 NVDS) * Creates a TN Profile for the ESXi hosts with a vCenter 7 VDS as the backing switch * Attaches the TN Profile to the cluster named in the variable * Deploys 1 NSX Edge (named edge1) and waits for it to check in * Deploys 1 NSX Edge (named edge2) and waits for it to check in * Creates an Edge cluster (named edge-cluster-01) and adds edge1 and edge2 to the cluster object * Creates 2 VLAN backed Segments in the tz-edge transport zone (for edge peering) * Assigns a VLAN tag (200 and 201 based on the yaml change this to match your environment) * Sets a named teaming policy to force connectivity out fp-eth0 for fabric-a for vlan segment 200 * Sets a named teaming policy to force connectivity out fp-eth1 for fabric-b for vlan segment 201 Creates a Tier-0 Logical Router (t0-ecmp) * Creates 4 router ports (2 per edge, 1 per vlan) * Configures ECMP * Enables BGP * Sets the local AS number * Sets 1 BGP neighbor for fabric a and 1 neighbor for fabric b * Sets the source addresses to be the router ports that exist on the vlan for fabric a and for fabric b * Configures modified BGP timers for 4, 12 * Configures a BFD peer for both neighbors * Enables Route Redistribution [TIER0_CONNECTED, TIER0_NAT, TIER1-Connected, T1_LB_VIP] * Creates a Tier-1 Logical Router (t1-general) * Downlinks the Tier-1 to t0-ecmp * Configures route redistribution for TIER1_CONNECTED, TIER1_LB_VIP * Creates 3 Logical Segments in the tz-overlay transport zone and uplinks them to the t1-general ## What do I have to modify? So for the first playbooks (001,002,003) they reference a variable file called deploy_nsx_cluster_vars.yaml. Those variables are used to stand up everything until we need to make policy calls For playbooks (100,101) they reference a variable file called build_topology_vars.yml and you just need to change the information in there to match what you want to deploy. ## I modified it so what do I do now chief? So if you modified all the variables to be specific to your environment you can either run the playbooks manually by doing something like this * ansible-playbook 001_deploy_first_node.yml If you want to live dangerously and execute all the playbooks in order or just want to see what happens do the following: * ansible-playbook build_topology.yml # Hey it broke Double check the variables that you are using and if you need to kick it back off you can just rerun the last ansible play with a flag to start at the task that failed * ansible-playbook 003_deploy_edges.yml --start-at-task="task name in the playbook"
49.472527
191
0.765438
eng_Latn
0.991977
aa9523bcbe9102f799eeca1327e5e61b78a89865
291
md
Markdown
content/releases/release-2.22.2.md
orpiske/camel-website
142f0f5f9a84c102e7b5ffad4a09aabb175c78ec
[ "Apache-2.0" ]
null
null
null
content/releases/release-2.22.2.md
orpiske/camel-website
142f0f5f9a84c102e7b5ffad4a09aabb175c78ec
[ "Apache-2.0" ]
5
2021-04-20T18:04:45.000Z
2021-04-20T18:05:18.000Z
content/releases/release-2.22.2.md
orpiske/camel-website
142f0f5f9a84c102e7b5ffad4a09aabb175c78ec
[ "Apache-2.0" ]
null
null
null
--- date: 2018-11-01 draft: false type: release-note version: 2.22.2 title: "Release 2.22.2" preview: "Minor update of the 2.22.x branch" apiBreaking: "" knownIssues: "" jiraVersionId: 12343751 category: camel kind: legacy jdk: [8] --- This release is a minor update of the 2.22.x branch.
17.117647
52
0.71134
eng_Latn
0.917585
aa954aa82712047226bf7cdc9b88be26bffee6d7
3,981
md
Markdown
scripts/ud-treebanks-v2.8/UD_Slovak-SNK/README.md
FTdiscovery/stanza
725823dcd769b0fad6183639f8041a30d28821ce
[ "Apache-2.0" ]
null
null
null
scripts/ud-treebanks-v2.8/UD_Slovak-SNK/README.md
FTdiscovery/stanza
725823dcd769b0fad6183639f8041a30d28821ce
[ "Apache-2.0" ]
null
null
null
scripts/ud-treebanks-v2.8/UD_Slovak-SNK/README.md
FTdiscovery/stanza
725823dcd769b0fad6183639f8041a30d28821ce
[ "Apache-2.0" ]
null
null
null
# Summary The Slovak UD treebank is based on data originally annotated as part of the Slovak National Corpus, following the annotation style of the Prague Dependency Treebank. # Introduction Slovak Dependency Treebank (Slovenský závislostný korpus) was created as part of the Slovak National Corpus at the Ľ. Štúr Institute of the Slovak Academy of Sciences. The original annotation follows the guidelines of the Prague Dependency Treebank (Czech), slightly modified in the spirit of Slovak grammatical tradition. Morphological tags, lemmas and dependency relations have been assigned manually to every word. The present dataset is a subset of the original treebank. We automatically selected the sentences where the two human annotators 100% agreed on the analysis. This increases the quality and trustworthiness of the data but it also results in selecting short sentences most of the time. An extended version may be published in the future when manually merged and checked annotation is available. This subset annotated in the original PDT-like style is available separately, see [http://hdl.handle.net/11234/1-1822](http://hdl.handle.net/11234/1-1822) and cite as Gajdošová, Katarína; Šimková, Mária et al., 2016, Slovak Dependency Treebank, LINDAT/CLARIN digital library at the Institute of Formal and Applied Linguistics, Charles University in Prague, http://hdl.handle.net/11234/1-1822. UD_Slovak contains the same data with annotation converted to conform to the Universal Dependencies guidelines. The original treebank was prepared by a team led by Katarína Gajdošová and Mária Šimková. Selection of sentences for this subset and conversion to Universal Dependencies was done by Dan Zeman. ## References * Daniel Zeman (2017): Slovak Dependency Treebank in Universal Dependencies. In: Jazykovedný časopis / Journal of Linguistics, ISSN 0021-5597, vol. 68, no. 2, pp. 385-395 # Changelog: * 2021-05-15 v2.8 * Fixed recognition of clauses with passive participles (ADJ). * Split multi-word tokens of the type "naňho". * 2020-05-15 v2.6 * Changed sentence ids to preserve the name of the source text. * Side effect: The order of the sentences changed, and so did the train-dev-test data split. * Genitive, dative and instrumental nominals are now considered oblique. * Added enhanced relations with case information. * Added enhanced relations around relative clauses. * Added enhanced external subjects in control verb constructions. * Added empty nodes to enhanced graphs (but orphans are just converted to dep). * 2019-05-15 v2.4 * Fixed some bugs identified by the new validator. * 2018-04-15 v2.2 * Repository renamed from UD_Slovak to UD_Slovak-SNK. * Added enhanced representation of dependencies propagated across coordination. The distinction of shared and private dependents is derived deterministically from the original Prague annotation. * 2017-11-15 v2.1 * Prepositional objects are now “obl:arg” instead of “obj”. * Instrumental phrases for demoted agents in passives are now “obl:agent”. * 2017-03-01 v2.0 * Converted to UD v2 guidelines. * Improved advmod vs. obl distinction. * Verb negation no longer treated as derivational morphology. * Distinguished numeral types. * Distinguished pronouns, determiners and pronominal adverbs. * Distinguished coordinating and subordinating conjunctions. * L-participles are verbs, other participles are adjectives. === Machine-readable metadata (DO NOT REMOVE!) ================================ Data available since: UD v1.4 License: CC BY-SA 4.0 Includes text: yes Genre: fiction nonfiction news Lemmas: converted from manual UPOS: converted from manual XPOS: manual native Features: converted from manual Relations: converted from manual Contributors: Gajdošová, Katarína; Šimková, Mária; Zeman, Daniel Contributing: elsewhere Contact: zeman@ufal.mff.cuni.cz ===============================================================================
42.806452
118
0.765386
eng_Latn
0.987836
aa954fc4845b8b73f1d14adc9a9dccd03be722ad
8,136
md
Markdown
docs/zh/operations/system-tables/query_log.md
evryfs/ClickHouse
a9648af0b9e2506ce783106315814ed8dbd0a952
[ "Apache-2.0" ]
5
2021-05-14T02:46:44.000Z
2021-11-23T04:58:20.000Z
docs/zh/operations/system-tables/query_log.md
evryfs/ClickHouse
a9648af0b9e2506ce783106315814ed8dbd0a952
[ "Apache-2.0" ]
13
2019-06-06T09:45:53.000Z
2020-05-15T12:03:45.000Z
docs/zh/operations/system-tables/query_log.md
evryfs/ClickHouse
a9648af0b9e2506ce783106315814ed8dbd0a952
[ "Apache-2.0" ]
22
2019-06-14T10:31:51.000Z
2020-10-12T14:57:44.000Z
--- machine_translated: true machine_translated_rev: 5decc73b5dc60054f19087d3690c4eb99446a6c3 --- # system.query_log {#system_tables-query_log} 包含已执行查询的相关信息,例如:开始时间、处理持续时间、错误消息。 !!! note "注" 此表不包含以下内容的摄取数据 `INSERT` 查询。 您可以更改query_log的设置,在服务器配置的 [query_log](../../operations/server-configuration-parameters/settings.md#server_configuration_parameters-query-log) 部分。 您可以通过设置 [log_queries=0](../../operations/settings/settings.md#settings-log-queries)来禁用query_log. 我们不建议关闭此日志,因为此表中的信息对于解决问题很重要。 数据刷新的周期可通过 `flush_interval_milliseconds` 参数来设置 [query_log](../../operations/server-configuration-parameters/settings.md#server_configuration_parameters-query-log) 。 要强制刷新,请使用 [SYSTEM FLUSH LOGS](../../sql-reference/statements/system.md#query_language-system-flush_logs)。 ClickHouse不会自动从表中删除数据。更多详情请看 [introduction](../../operations/system-tables/index.md#system-tables-introduction) 。 `system.query_log` 表注册两种查询: 1. 客户端直接运行的初始查询。 2. 由其他查询启动的子查询(用于分布式查询执行)。 对于这些类型的查询,有关父查询的信息显示在 `initial_*` 列。 每个查询在`query_log` 表中创建一或两行记录,这取决于查询的状态(见 `type` 列): 1. 如果查询执行成功,会创建type分别为`QueryStart` 和 `QueryFinish` 的两行记录。 2. 如果在查询处理过程中发生错误,会创建type分别为`QueryStart` 和 `ExceptionWhileProcessing` 的两行记录。 3. 如果在启动查询之前发生错误,则创建一行type为`ExceptionBeforeStart` 的记录。 列: - `type` ([Enum8](../../sql-reference/data-types/enum.md)) — 执行查询时的事件类型. 值: - `'QueryStart' = 1` — 查询成功启动. - `'QueryFinish' = 2` — 查询成功完成. - `'ExceptionBeforeStart' = 3` — 查询执行前有异常. - `'ExceptionWhileProcessing' = 4` — 查询执行期间有异常. - `event_date` ([Date](../../sql-reference/data-types/date.md)) — 查询开始日期. - `event_time` ([DateTime](../../sql-reference/data-types/datetime.md)) — 查询开始时间. - `event_time_microseconds` ([DateTime64](../../sql-reference/data-types/datetime64.md)) — 查询开始时间(毫秒精度). - `query_start_time` ([DateTime](../../sql-reference/data-types/datetime.md)) — 查询执行的开始时间. - `query_start_time_microseconds` (DateTime64) — 查询执行的开始时间(毫秒精度). - `query_duration_ms` ([UInt64](../../sql-reference/data-types/int-uint.md#uint-ranges)) — 查询消耗的时间(毫秒). - `read_rows` ([UInt64](../../sql-reference/data-types/int-uint.md#uint-ranges)) — 从参与了查询的所有表和表函数读取的总行数. 包括:普通的子查询, `IN` 和 `JOIN`的子查询. 对于分布式查询 `read_rows` 包括在所有副本上读取的行总数。 每个副本发送它的 `read_rows` 值,并且查询的服务器-发起方汇总所有接收到的和本地的值。 缓存卷不会影响此值。 - `read_bytes` ([UInt64](../../sql-reference/data-types/int-uint.md#uint-ranges)) — 从参与了查询的所有表和表函数读取的总字节数. 包括:普通的子查询, `IN` 和 `JOIN`的子查询. 对于分布式查询 `read_bytes` 包括在所有副本上读取的字节总数。 每个副本发送它的 `read_bytes` 值,并且查询的服务器-发起方汇总所有接收到的和本地的值。 缓存卷不会影响此值。 - `written_rows` ([UInt64](../../sql-reference/data-types/int-uint.md#uint-ranges)) — 对于 `INSERT` 查询,为写入的行数。 对于其他查询,值为0。 - `written_bytes` ([UInt64](../../sql-reference/data-types/int-uint.md#uint-ranges)) — 对于 `INSERT` 查询时,为写入的字节数。 对于其他查询,值为0。 - `result_rows` ([UInt64](../../sql-reference/data-types/int-uint.md#uint-ranges)) — `SELECT` 查询结果的行数,或`INSERT` 的行数。 - `result_bytes` ([UInt64](../../sql-reference/data-types/int-uint.md#uint-ranges)) — 存储查询结果的RAM量. - `memory_usage` ([UInt64](../../sql-reference/data-types/int-uint.md#uint-ranges)) — 查询使用的内存. - `query` ([String](../../sql-reference/data-types/string.md)) — 查询语句. - `exception` ([String](../../sql-reference/data-types/string.md)) — 异常信息. - `exception_code` ([Int32](../../sql-reference/data-types/int-uint.md)) — 异常码. - `stack_trace` ([String](../../sql-reference/data-types/string.md)) — [Stack Trace](https://en.wikipedia.org/wiki/Stack_trace). 如果查询成功完成,则为空字符串。 - `is_initial_query` ([UInt8](../../sql-reference/data-types/int-uint.md)) — 查询类型. 可能的值: - 1 — 客户端发起的查询. - 0 — 由另一个查询发起的,作为分布式查询的一部分. - `user` ([String](../../sql-reference/data-types/string.md)) — 发起查询的用户. - `query_id` ([String](../../sql-reference/data-types/string.md)) — 查询ID. - `address` ([IPv6](../../sql-reference/data-types/domains/ipv6.md)) — 发起查询的客户端IP地址. - `port` ([UInt16](../../sql-reference/data-types/int-uint.md)) — 发起查询的客户端端口. - `initial_user` ([String](../../sql-reference/data-types/string.md)) — 初始查询的用户名(用于分布式查询执行). - `initial_query_id` ([String](../../sql-reference/data-types/string.md)) — 运行初始查询的ID(用于分布式查询执行). - `initial_address` ([IPv6](../../sql-reference/data-types/domains/ipv6.md)) — 运行父查询的IP地址. - `initial_port` ([UInt16](../../sql-reference/data-types/int-uint.md)) — 发起父查询的客户端端口. - `interface` ([UInt8](../../sql-reference/data-types/int-uint.md)) — 发起查询的接口. 可能的值: - 1 — TCP. - 2 — HTTP. - `os_user` ([String](../../sql-reference/data-types/string.md)) — 运行 [clickhouse-client](../../interfaces/cli.md)的操作系统用户名. - `client_hostname` ([String](../../sql-reference/data-types/string.md)) — 运行[clickhouse-client](../../interfaces/cli.md) 或其他TCP客户端的机器的主机名。 - `client_name` ([String](../../sql-reference/data-types/string.md)) — [clickhouse-client](../../interfaces/cli.md) 或其他TCP客户端的名称。 - `client_revision` ([UInt32](../../sql-reference/data-types/int-uint.md)) — [clickhouse-client](../../interfaces/cli.md) 或其他TCP客户端的Revision。 - `client_version_major` ([UInt32](../../sql-reference/data-types/int-uint.md)) — [clickhouse-client](../../interfaces/cli.md) 或其他TCP客户端的Major version。 - `client_version_minor` ([UInt32](../../sql-reference/data-types/int-uint.md)) — [clickhouse-client](../../interfaces/cli.md) 或其他TCP客户端的Minor version。 - `client_version_patch` ([UInt32](../../sql-reference/data-types/int-uint.md)) — [clickhouse-client](../../interfaces/cli.md) 或其他TCP客户端的Patch component。 - `http_method` (UInt8) — 发起查询的HTTP方法. 可能值: - 0 — TCP接口的查询. - 1 — `GET` - 2 — `POST` - `http_user_agent` ([String](../../sql-reference/data-types/string.md)) — The `UserAgent` The UserAgent header passed in the HTTP request。 - `quota_key` ([String](../../sql-reference/data-types/string.md)) — 在[quotas](../../operations/quotas.md) 配置里设置的“quota key” (见 `keyed`). - `revision` ([UInt32](../../sql-reference/data-types/int-uint.md)) — ClickHouse revision. - `thread_numbers` ([Array(UInt32)](../../sql-reference/data-types/array.md)) — 参与查询的线程数. - `ProfileEvents.Names` ([Array(String)](../../sql-reference/data-types/array.md)) — 衡量不同指标的计数器。 可以在[system.events](../../operations/system-tables/events.md#system_tables-events)中找到它们的描述。 - `ProfileEvents.Values` ([Array(UInt64)](../../sql-reference/data-types/array.md)) — `ProfileEvents.Names` 列中列出的指标的值。 - `Settings.Names` ([Array(String)](../../sql-reference/data-types/array.md)) — 客户端运行查询时更改的设置的名称。 要启用对设置的日志记录更改,请将log_query_settings参数设置为1。 - `Settings.Values` ([Array(String)](../../sql-reference/data-types/array.md)) — `Settings.Names` 列中列出的设置的值。 **示例** ``` sql SELECT * FROM system.query_log LIMIT 1 FORMAT Vertical; ``` ``` text Row 1: ────── type: QueryStart event_date: 2020-05-13 event_time: 2020-05-13 14:02:28 query_start_time: 2020-05-13 14:02:28 query_duration_ms: 0 read_rows: 0 read_bytes: 0 written_rows: 0 written_bytes: 0 result_rows: 0 result_bytes: 0 memory_usage: 0 query: SELECT 1 exception_code: 0 exception: stack_trace: is_initial_query: 1 user: default query_id: 5e834082-6f6d-4e34-b47b-cd1934f4002a address: ::ffff:127.0.0.1 port: 57720 initial_user: default initial_query_id: 5e834082-6f6d-4e34-b47b-cd1934f4002a initial_address: ::ffff:127.0.0.1 initial_port: 57720 interface: 1 os_user: bayonet client_hostname: clickhouse.ru-central1.internal client_name: ClickHouse client client_revision: 54434 client_version_major: 20 client_version_minor: 4 client_version_patch: 1 http_method: 0 http_user_agent: quota_key: revision: 54434 thread_ids: [] ProfileEvents.Names: [] ProfileEvents.Values: [] Settings.Names: ['use_uncompressed_cache','load_balancing','log_queries','max_memory_usage'] Settings.Values: ['0','random','1','10000000000'] ``` **另请参阅** - [system.query_thread_log](../../operations/system-tables/query_thread_log.md#system_tables-query_thread_log) — 这个表包含了每个查询执行线程的信息
56.110345
270
0.68412
yue_Hant
0.467986
aa958fa615126713b00cb4c466848a63225e48c6
48
md
Markdown
README.md
ShinyLohani/MM.SummerTask.2018
a6f237a06fa1d8aae45f9729f8eb9fb5452cfd84
[ "MIT" ]
null
null
null
README.md
ShinyLohani/MM.SummerTask.2018
a6f237a06fa1d8aae45f9729f8eb9fb5452cfd84
[ "MIT" ]
null
null
null
README.md
ShinyLohani/MM.SummerTask.2018
a6f237a06fa1d8aae45f9729f8eb9fb5452cfd84
[ "MIT" ]
null
null
null
# MM.SummerTask.2018 Monday Morning Summer Task
16
26
0.8125
eng_Latn
0.465754
aa95918a511fe45a9bf00a45773686c48f2a2fbe
3,599
md
Markdown
articles/commerce/tasks/define-continuity-schedules.md
eltociear/Dynamics-365-Operations.hu-hu
b6935b9aa596c4f0efcd971958602e84679246b8
[ "CC-BY-4.0", "MIT" ]
null
null
null
articles/commerce/tasks/define-continuity-schedules.md
eltociear/Dynamics-365-Operations.hu-hu
b6935b9aa596c4f0efcd971958602e84679246b8
[ "CC-BY-4.0", "MIT" ]
null
null
null
articles/commerce/tasks/define-continuity-schedules.md
eltociear/Dynamics-365-Operations.hu-hu
b6935b9aa596c4f0efcd971958602e84679246b8
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Folytonossági ütemezések meghatározása description: Ez a témakör végigvezeti a folyamatos program (más néven ismétlődő rendelések) beállításának lépésein. author: josaw1 manager: AnnBe ms.date: 08/29/2018 ms.topic: business-process ms.prod: '' ms.service: dynamics-ax-applications ms.technology: '' ms.search.form: MCRContinuitySchedule, EcoResProductDetailsExtended audience: Application User ms.reviewer: josaw ms.search.scope: Core, Operations ms.search.region: Global ms.search.industry: Retail ms.author: josaw ms.search.validFrom: 2016-06-30 ms.dyn365.ops.version: Version 7.0.0 ms.openlocfilehash: a438656730863f345080bc99fef24cfff724f528 ms.sourcegitcommit: 81a647904dd305c4be2e4b683689f128548a872d ms.translationtype: HT ms.contentlocale: hu-HU ms.lasthandoff: 02/01/2020 ms.locfileid: "3022772" --- # <a name="define-continuity-schedules"></a>Folytonossági ütemezések meghatározása [!include[task guide banner](../includes/task-guide-banner.md)] Ez a témakör végigvezeti a folyamatos program (más néven ismétlődő rendelések) beállításának lépésein. Ez a témakör az USRT cég bemutatóadatait használja. ## <a name="create-continuity-program"></a>Folytonos program létrehozása 1. Ugorjon a Kiskereskedelem és kereskedelem > Folytonosság > Hűségprogramok elemre. 2. Kattintson az Új elemre. 3. Az Ütemezésazonosító mezőben adja meg a folytonossági ütemezés azonosítóját. 4. A Rendelés kezdete mezőben válassza az „Első esemény” lehetőséget. * Ha egy vevő új rendelést küld be a folytonos programba, a termékszállításra két lehetőség kínálkozik: 1. Első esemény: a folytonos program első terméke kerül kiszállításra. 2. Aktuális esemény: az aktuális termék kerül kiszállításra. Például: a vevő a program három hónapjának elteltével kapja meg a harmadikat a programban. 5. Jelölje be az „Igen” lehetőséget, és a rendszer rákérdez a rendelés kezdő dátumára. 6. Kattintson az Új sor hozzáadása lehetőségre. 7. A Cikkszám mezőbe írja be az első termék cikkszámát (0013). 8. Írja be a következőt: „CP”. 9. Adja meg a dátumot, amikor az első termék rendelhető lesz. 10. Kattintson az Új sor hozzáadására. 11. A cikkszám mezőbe írja be a „0014” értéket. 12. A Dátumtartomány kódja mezőben törölje az értéket, hogy a mező üres legyen. * Ehhez az eljáráshoz törölje a dátumintervallumot. A dátumot növekményes módon kell beállítani az első cikk kezdési dátumától. 13. Itt kell megadni a termékek szállítási intervallumát. Írja be a következőt: „30”. * Havi programnál 30 napot kell beírni időszakként. 14. Kattintson az Új sor hozzáadása lehetőségre. 15. A cikkszám mezőbe írja be a „0015” értéket. 16. Írja be a következőt: „Vége”. 17. Kattintson a Mentés gombra. ## <a name="assign-to-continuity-item"></a>Hozzárendelés folytonos elemhez 1. Kattintson a Termékinformációk kezelése > Termékek > Kiadott termékek lehetőségre. 2. Válassza ki a „0016” elemet. * Ehhez az eljáráshoz válassza ki a 0016-os cikkszámot. Általában ekkor már létrehozott egy kibocsátott terméket, amelyre további folyamatos üzleti logika kerül alkalmazásra, amikor a hívásközpontban bekerül egy értékesítési rendelésbe. 3. A listában kattintson a kijelölt sorban lévő hivatkozásra. 4. Kattintson a Szerkesztés lehetőségre. 5. Bontsa ki vagy csukja össze a(z) Értékesítés szakaszt. 6. Itt lehet megadni a folytonosság programot, amelyet ez a cikk képvisel. Írja be a korábban létrehozott ütemezésazonosítót. * Amikor sor kerül ennek a cikknek az eladására egy hívásközpontban, további üzleti logika kerül alkalmazásra a kijelölt folytonos programra. 7. Kattintson a Mentés gombra.
53.716418
333
0.799111
hun_Latn
1.000005
aa95fee79f1f1f605de1a53cd10fc21488738c07
453
md
Markdown
README.md
pocka/api.somesim
cb8fef0c0ea76780e47451c0fc45817b2e2b90d3
[ "MIT" ]
2
2018-12-26T07:20:18.000Z
2018-12-26T10:49:01.000Z
README.md
pocka/api.somesim
cb8fef0c0ea76780e47451c0fc45817b2e2b90d3
[ "MIT" ]
null
null
null
README.md
pocka/api.somesim
cb8fef0c0ea76780e47451c0fc45817b2e2b90d3
[ "MIT" ]
null
null
null
# api.somesim API for MoE-Somesim ## API開発者用 ### はじめに まず最初に`make init`してディレクトリを作成します。 次に`make container/develop`でGoのバイナリや依存ライブラリ、 `go-swagger`の入ったイメージ(`pocka/api.somesim-dev`)をビルドして下さい。 (もしかしたら`docker pull pocka/api.somesim-dev`でもできるかも) ### コンパイル `make`(デフォルト)で`pocka/api.somesim`というイメージが作成されます。 ローカル開発環境でのテストは`make run/server`で `80`ポートをリッスンするサーバが立ち上がります。 実際にデプロイした場合は以下の様な感じで起動して下さい。 ```sh docker run -p <リッスンするポート>:80 pocka/api.somesim:v1 ```
18.12
55
0.770419
yue_Hant
0.27997
aa96dd08afb3146aa90001d19ea4f43e9f00ebd7
315
md
Markdown
content/fr/api/dashboards/dashboards_get_code.md
ericmschow/documentation
b1942216c917a677c5f41906e1b103c1bd940c4f
[ "BSD-3-Clause" ]
null
null
null
content/fr/api/dashboards/dashboards_get_code.md
ericmschow/documentation
b1942216c917a677c5f41906e1b103c1bd940c4f
[ "BSD-3-Clause" ]
null
null
null
content/fr/api/dashboards/dashboards_get_code.md
ericmschow/documentation
b1942216c917a677c5f41906e1b103c1bd940c4f
[ "BSD-3-Clause" ]
null
null
null
--- title: Obtenir un dashboard type: apicode order: 8.4 external_redirect: "/api/#get-a-dashboard" --- ##### Signature `GET /v1/dashboard/<ID_DASHBOARD>` ##### Exemple de requête {{< code-snippets basename="api-dashboard-get" >}} ##### Exemple de réponse {{< code-snippets basename="result.api-dashboard-get" >}}
22.5
57
0.688889
fra_Latn
0.16799
aa97f8b018e09f1c9b09614a125cd7b043482931
81
md
Markdown
README.md
plasma-effect/compile_time_proof
13dc444bd0cb9ededcd16a6e5f26c07adcb176b7
[ "MIT" ]
null
null
null
README.md
plasma-effect/compile_time_proof
13dc444bd0cb9ededcd16a6e5f26c07adcb176b7
[ "MIT" ]
null
null
null
README.md
plasma-effect/compile_time_proof
13dc444bd0cb9ededcd16a6e5f26c07adcb176b7
[ "MIT" ]
null
null
null
# compile_time_proof TMPを使ってコンパイル時証明を行うライブラリを作る(予定) # 使い方 1.このディレクトリにパスを通す 簡単!
13.5
30
0.814815
yue_Hant
0.394796
aa9854165a617ed79c4f5ed0970ca6051198cae8
1,654
md
Markdown
README.md
Orange-OpenSource/pyzrtp
eee9ea456be7f3163d2540334ee8479649ca3fd2
[ "BSD-3-Clause" ]
2
2017-01-11T12:12:00.000Z
2017-11-07T17:41:49.000Z
README.md
Orange-OpenSource/pyzrtp
eee9ea456be7f3163d2540334ee8479649ca3fd2
[ "BSD-3-Clause" ]
null
null
null
README.md
Orange-OpenSource/pyzrtp
eee9ea456be7f3163d2540334ee8479649ca3fd2
[ "BSD-3-Clause" ]
1
2021-06-22T10:17:57.000Z
2021-06-22T10:17:57.000Z
# pyzrtp Pythonic implementation of ZRTP (rfc 6189), and SRTP (rfc 3711). ## Features It is based on Python3, focused on protocol tampering and easy reuse. Submodules in zrtp directory wrap cryptographic modules. Note that Skein, TwoFish, Elliptic Curves are not supported (yet). A submodule implements ZRTP parsing and unparsing. It has sufficient flexibility to build a ZRTP "man-in-the-middle" attack, targetting weak implementations that do not check hvi value present in Commit message. ## Dependencies AES cipher is brought by [PyCrypto] (https://www.dlitz.net/software/pycrypto/). ## Sample ZRTP endpoint `endpt.py` implements a cacheless passive ZRTP agent. It does not support multistream mode nor preshared mode. Agent is based on asyncio, to ease embedding into a larger SIP / websocket signalling program. ## SRTP usage `srtp.py` contains a Context class, which derives keystreams for common labels. Context class contains srtp_protect and srtp_unprotect methods. Both expect data at RTP level, i.e. including RTP header. As an example, srtp-decrypt.py can be used to decrypt an SRTP capture. provided you are able to give the SDES material. A Pythonic version of srtp-decrypt is also present, so you can check srtp.Context usage. To decipher the sample trace, use the command line: ``` ./srtp-decrypt.py | text2pcap -t "%H:%M:%S." -u 10000,10000 - - > marseillaise-rtp.pcap ``` It will create a pcap containing unprotected RTP packets which can be listen using Wireshark features. Some implementations use SRTP to transport custom data using custom labels. It is left as an exercise for the readers to implement such usage.
35.956522
110
0.778718
eng_Latn
0.994309
aa99da90683eaa9646fc14459c35e315451ee700
3,643
md
Markdown
docset/winserver2012-ps/msmq/Receive-MsmqQueue.md
adriandeller/windows-powershell-docs
e3fec4514589232a909cf83f4a90ef75b8544c92
[ "CC-BY-4.0", "MIT" ]
1
2019-03-26T11:51:22.000Z
2019-03-26T11:51:22.000Z
docset/winserver2012-ps/msmq/Receive-MsmqQueue.md
adriandeller/windows-powershell-docs
e3fec4514589232a909cf83f4a90ef75b8544c92
[ "CC-BY-4.0", "MIT" ]
1
2019-03-18T18:58:17.000Z
2019-03-18T20:25:26.000Z
docset/winserver2012-ps/msmq/Receive-MsmqQueue.md
adriandeller/windows-powershell-docs
e3fec4514589232a909cf83f4a90ef75b8544c92
[ "CC-BY-4.0", "MIT" ]
1
2019-04-03T11:49:40.000Z
2019-04-03T11:49:40.000Z
--- external help file: MSMQ_Cmdlets.xml online version: schema: 2.0.0 ms.reviewer: ms.author: v-anbarr author: andreabarr ms.assetid: 630524E4-7523-43E3-A140-808537F8F98F manager: dansimp --- # Receive-MsmqQueue ## SYNOPSIS Performs a destructive read from a queue. ## SYNTAX ### UNNAMED_PARAMETER_SET_1 ``` Receive-MsmqQueue [-Count <Int32>] [-RetrieveBody] [-Timeout <TimeSpan>] [-Transactional] -InputObject <MessageQueue> ``` ### UNNAMED_PARAMETER_SET_2 ``` Receive-MsmqQueue [-Count <Int32>] [-Peek] [-RetrieveBody] [-Timeout <TimeSpan>] -InputObject <MessageQueue> ``` ## DESCRIPTION The **Receive-MsmqQueue** cmdlet performs a destructive read from a queue. The **Name** parameter accepts path names, format names, and direct format names, unlike other MSMQ cmdlets that accept only a friendly name for the queue. If the **Peek** parameter is specified, this cmdlet peeks at the message instead of doing a destructive read. This cmdlet also writes the received **System.Messaging.Message** object to the pipeline. This cmdlet succeeds when at least one messages is returned. If the **Peek** parameter is supplied, the number of messages returned by this cmdlet is the minimum number supplied by the parameter **Count** and the number of messages in the queue. ## EXAMPLES ### Example 1: Peek at a MsmqQueue message instead of doing a destructive read ``` PS C:\>Get-MsmqMessage -Name "a04bm10\private$\order_queue" | Receive-MsmqQueue -Transactional -Peek ``` This command peeks at the queue named a04bm10\private$\order_queue and does not perform a destructive read. ## PARAMETERS ### -Count Specifies the number of messages to be returned. This value must be greater than 0. ```yaml Type: Int32 Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -InputObject Specifies a **MessageQueue** object that represents the queue from which the message will be read from. ```yaml Type: MessageQueue Parameter Sets: (All) Aliases: Required: True Position: Named Default value: None Accept pipeline input: True(ByValue) Accept wildcard characters: False ``` ### -Peek Indicates that this cmdlet returns a copy of the first message in the queue without removing the message from the queue. ```yaml Type: SwitchParameter Parameter Sets: UNNAMED_PARAMETER_SET_2 Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -RetrieveBody Indicates that this cmdlet returns the body of the message. ```yaml Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -Timeout Specifies the time in milliseconds that specifies the maximum time to wait for the queue to contain a message. ```yaml Type: TimeSpan Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -Transactional Indicates that this cmdlet performs a transacted retrieval. ```yaml Type: SwitchParameter Parameter Sets: UNNAMED_PARAMETER_SET_1 Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ## INPUTS ## OUTPUTS ## NOTES ## RELATED LINKS [Clear-MsmqQueue](./Clear-MsmqQueue.md) [Get-MsmqQueue](./Get-MsmqQueue.md) [New-MsmqQueue](./New-MsmqQueue.md) [Remove-MsmqQueue](./Remove-MsmqQueue.md) [Send-MsmqQueue](./Send-MsmqQueue.md) [Set-MsmqQueue](./Set-MsmqQueue.md)
22.76875
184
0.763382
eng_Latn
0.851508
aa99de770988560f81ee1d1628d187d40723104b
20,445
md
Markdown
github/2018/2018-04-21.md
YihuaWanglv/github-trending
2e3ab7f27804910dc0bf6af3e2fb57ec30bc2750
[ "Apache-2.0" ]
12
2017-09-15T10:50:44.000Z
2020-03-27T07:07:29.000Z
github/2018/2018-04-21.md
YihuaWanglv/github-trending
2e3ab7f27804910dc0bf6af3e2fb57ec30bc2750
[ "Apache-2.0" ]
null
null
null
github/2018/2018-04-21.md
YihuaWanglv/github-trending
2e3ab7f27804910dc0bf6af3e2fb57ec30bc2750
[ "Apache-2.0" ]
9
2017-06-14T14:58:45.000Z
2020-07-03T06:59:59.000Z
# github/2018/2018-04-21.md ## css - [tabler / tabler](https://github.com/tabler/tabler) : Tabler is free and open-source HTML Dashboard UI Kit built on Bootstrap 4 - [twbs / bootstrap](https://github.com/twbs/bootstrap) : The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web. - [jgthms / bulma](https://github.com/jgthms/bulma) : Modern CSS framework based on Flexbox - [kylelogue / mustard-ui](https://github.com/kylelogue/mustard-ui) : A starter CSS framework that actually looks good. - [daneden / animate.css](https://github.com/daneden/animate.css) : 🍿 A cross-browser library of CSS animations. As easy to use as an easy thing. - [Microsoft / TypeScript-Node-Starter](https://github.com/Microsoft/TypeScript-Node-Starter) : A starter template for TypeScript and Node with a detailed README describing how to use the two together. - [IanLunn / Hover](https://github.com/IanLunn/Hover) : A collection of CSS3 powered hover effects to be applied to links, buttons, logos, SVG, featured images and so on. Easily apply to your own elements, modify or just use for inspiration. Available in CSS, Sass, and LESS. - [necolas / normalize.css](https://github.com/necolas/normalize.css) : A modern alternative to CSS resets - [ryanoasis / nerd-fonts](https://github.com/ryanoasis/nerd-fonts) : 🔡 Iconic font aggregator, collection, and patcher. 40+ patched fonts, over 3,600 glyph/icons, includes popular collections such as Font Awesome & fonts such as Hack - [xtyxtyx / sorry](https://github.com/xtyxtyx/sorry) : 在线制作`sorry 为所欲为`的gif - [iissnan / hexo-theme-next](https://github.com/iissnan/hexo-theme-next) : Elegant theme for Hexo. - [AndIMissU / AndIMissU.github.io](https://github.com/AndIMissU/AndIMissU.github.io) : 🎃 hexo和github搭建个人博客 - [hereisnaman / gitfame](https://github.com/hereisnaman/gitfame) : A Github contributions analyser - [mmistakes / minimal-mistakes](https://github.com/mmistakes/minimal-mistakes) : 📐 A flexible two-column Jekyll theme. Perfect for personal sites, blogs, and portfolios hosted on GitHub or your own server. - [dhg / Skeleton](https://github.com/dhg/Skeleton) : Skeleton: A Dead Simple, Responsive Boilerplate for Mobile-Friendly Development - [uikit / uikit](https://github.com/uikit/uikit) : A lightweight and modular front-end framework for developing fast and powerful web interfaces - [Runscope / requestbin](https://github.com/Runscope/requestbin) : Inspect HTTP requests. Debug webhooks. Originally created by @progrium. - [ruanyf / jstutorial](https://github.com/ruanyf/jstutorial) : Javascript tutorial book - [tachyons-css / tachyons](https://github.com/tachyons-css/tachyons) : Functional css for humans - [Huxpro / huxpro.github.io](https://github.com/Huxpro/huxpro.github.io) : My Blog / Jekyll Themes / PWA - [rstacruz / cheatsheets](https://github.com/rstacruz/cheatsheets) : My cheatsheets - [ConnorAtherton / loaders.css](https://github.com/ConnorAtherton/loaders.css) : Delightful, performance-focused pure css loading animations. - [MarcinMoskala / KotlinAcademyApp](https://github.com/MarcinMoskala/KotlinAcademyApp) : Multiplatform Kotlin application of KotlinAcademy - [numbbbbb / the-swift-programming-language-in-chinese](https://github.com/numbbbbb/the-swift-programming-language-in-chinese) : 中文版 Apple 官方 Swift 教程《The Swift Programming Language》 - [handong1587 / handong1587.github.io](https://github.com/handong1587/handong1587.github.io) : ## python - [shobrook / rebound](https://github.com/shobrook/rebound) : Command-line tool that instantly fetches Stack Overflow results when you get a compiler error - [zulip / zulip](https://github.com/zulip/zulip) : Zulip server - powerful open source team chat - [tensorflow / models](https://github.com/tensorflow/models) : Models and examples built with TensorFlow - [vaguileradiaz / tinfoleak](https://github.com/vaguileradiaz/tinfoleak) : The most complete open-source tool for Twitter intelligence analysis - [keras-team / keras](https://github.com/keras-team/keras) : Deep Learning for humans - [vinta / awesome-python](https://github.com/vinta/awesome-python) : A curated list of awesome Python frameworks, libraries, software and resources - [toddmotto / public-apis](https://github.com/toddmotto/public-apis) : A collective list of public JSON APIs for use in web development. - [flipkart-incubator / RTA](https://github.com/flipkart-incubator/RTA) : Red team Arsenal - An intelligent scanner to detect security vulnerabilities in company's layer 7 assets. - [sdispater / poetry](https://github.com/sdispater/poetry) : Python dependency management and packaging made easy. - [rsinger86 / django-lifecycle](https://github.com/rsinger86/django-lifecycle) : Declarative model lifecycle hooks, inspired by Rails callbacks. - [requests / requests](https://github.com/requests/requests) : Python HTTP Requests for Humans™ ✨🍰✨ - [deepfakes / faceswap](https://github.com/deepfakes/faceswap) : Non official project based on original /r/Deepfakes thread. Many thanks to him! - [rg3 / youtube-dl](https://github.com/rg3/youtube-dl) : Command-line program to download videos from YouTube.com and other video sites - [ansible / ansible](https://github.com/ansible/ansible) : Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications — automate in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com/ansible/ - [django / django](https://github.com/django/django) : The Web framework for perfectionists with deadlines. - [PackeTsar / freeztp](https://github.com/PackeTsar/freeztp) : A Zero-Touch Provisioning system built for Cisco IOS. - [tensorflow / hub](https://github.com/tensorflow/hub) : A library for transfer learning by reusing parts of TensorFlow models. - [trailofbits / algo](https://github.com/trailofbits/algo) : Set up a personal IPSEC VPN in the cloud - [donnemartin / system-design-primer](https://github.com/donnemartin/system-design-primer) : Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards. - [GauravBh1010tt / DeepLearn](https://github.com/GauravBh1010tt/DeepLearn) : Implementation of research papers on Deep Learning+ NLP+ CV in Python using Keras, Tensorflow and Scikit Learn. - [python / cpython](https://github.com/python/cpython) : The Python programming language - [pallets / flask](https://github.com/pallets/flask) : The Python micro framework for building web applications. - [scikit-learn / scikit-learn](https://github.com/scikit-learn/scikit-learn) : scikit-learn: machine learning in Python - [IBM / adversarial-robustness-toolbox](https://github.com/IBM/adversarial-robustness-toolbox) : This is a library dedicated to adversarial machine learning. Its purpose is to allow rapid crafting and analysis of attacks and defense methods for machine learning models. The Adversarial Robustness Toolbox provides an implementation for many state-of-the-art methods for attacking and defending classifiers. - [jakubroztocil / httpie](https://github.com/jakubroztocil/httpie) : Modern command line HTTP client – user-friendly curl alternative with intuitive UI, JSON support, syntax highlighting, wget-like downloads, extensions, etc. https://httpie.org ## java - [oracle / graal](https://github.com/oracle/graal) : GraalVM: Run Programs Faster Anywhere 🚀 - [alipay / sofa-boot](https://github.com/alipay/sofa-boot) : SOFABoot is a framework that enhances Spring Boot and fully compatible with it, provides readiness check, class isolation, etc. - [alipay / sofa-rpc](https://github.com/alipay/sofa-rpc) : SOFARPC is a high-performance, high-extensibility, production-level Java RPC framework. - [Rabtman / AcgClub](https://github.com/Rabtman/AcgClub) : 一款纯粹的ACG聚合类App - [huburt-Hu / NewbieGuide](https://github.com/huburt-Hu/NewbieGuide) : Android 快速实现新手引导层的库,通过简洁链式调用,一行代码实现引导层的显示 - [monkeyWie / proxyee-down](https://github.com/monkeyWie/proxyee-down) : http下载工具,基于http代理,支持多连接分块下载 - [scwang90 / MultiWaveHeader](https://github.com/scwang90/MultiWaveHeader) : Android 炫酷的多重水波纹 MultiWaveHeader Wave - [alipay / sofa-ark](https://github.com/alipay/sofa-ark) : SOFAArk is a light-weight,java based classloader isolation framework. - [kdn251 / interviews](https://github.com/kdn251/interviews) : Everything you need to know to get the job. - [spring-projects / spring-boot](https://github.com/spring-projects/spring-boot) : Spring Boot - [alipay / sofa-rpc-boot-projects](https://github.com/alipay/sofa-rpc-boot-projects) : SOFABoot projects for SOFARPC, include starter and samples. - [TheAlgorithms / Java](https://github.com/TheAlgorithms/Java) : All Algorithms implemented in Java - [ReactiveX / RxJava](https://github.com/ReactiveX/RxJava) : RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM. - [Wechat-Group / weixin-java-tools](https://github.com/Wechat-Group/weixin-java-tools) : 可能是目前最好最全的微信Java开发工具包,支持包括微信支付、开放平台、小程序、企业号和公众号等的开发 - [scwang90 / SmartRefreshLayout](https://github.com/scwang90/SmartRefreshLayout) : 🔥下拉刷新、上拉加载、二级刷新、淘宝二楼、RefreshLayout、OverScroll,Android智能下拉刷新框架,支持越界回弹、越界拖动,具有极强的扩展性,集成了几十种炫酷的Header和 Footer。 - [eugenp / tutorials](https://github.com/eugenp/tutorials) : The "REST With Spring" Course: - [google / guava](https://github.com/google/guava) : Google core libraries for Java - [JeffLi1993 / springboot-learning-example](https://github.com/JeffLi1993/springboot-learning-example) : spring boot 实践学习案例,是 spring boot 初学者及核心技术巩固的最佳实践。 - [spring-projects / spring-framework](https://github.com/spring-projects/spring-framework) : Spring Framework - [apache / incubator-dubbo](https://github.com/apache/incubator-dubbo) : Apache Dubbo (incubating) is a high-performance, java based, open source RPC framework. - [airbnb / lottie-android](https://github.com/airbnb/lottie-android) : Render After Effects animations natively on Android and iOS, Web, and React Native - [nisrulz / android-tips-tricks](https://github.com/nisrulz/android-tips-tricks) : ☑️ [Cheatsheet] Tips and tricks for Android Development - [apache / incubator-skywalking](https://github.com/apache/incubator-skywalking) : A distributed tracing system, and APM ( Application Performance Monitoring ) - [elastic / elasticsearch](https://github.com/elastic/elasticsearch) : Open Source, Distributed, RESTful Search Engine - [PhilJay / MPAndroidChart](https://github.com/PhilJay/MPAndroidChart) : A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, dragging and animations. ## go - [yunabe / lgo](https://github.com/yunabe/lgo) : Go (golang) Jupyter Notebook kernel and an interactive REPL - [coreos / vault-operator](https://github.com/coreos/vault-operator) : Run and manage Vault on Kubernetes simply and securely - [vkuznecovas / mouthful](https://github.com/vkuznecovas/mouthful) : Mouthful is a self-hosted alternative to Disqus - [mjl- / duit](https://github.com/mjl-/duit) : pure go, cross-platform, MIT-licensed ui toolkit for developers - [GoogleContainerTools / kaniko](https://github.com/GoogleContainerTools/kaniko) : Build Container Images In Kubernetes - [influxdata / go-syslog](https://github.com/influxdata/go-syslog) : Blazing fast syslog parser - [kubernetes / kubernetes](https://github.com/kubernetes/kubernetes) : Production-Grade Container Scheduling and Management - [uulesson / dotray](https://github.com/uulesson/dotray) : A modern peer to peer(P2P) network library over TCP written in Go, similar to a network composed with dot and ray - [golang / go](https://github.com/golang/go) : The Go programming language - [phogolabs / parcello](https://github.com/phogolabs/parcello) : Golang Resource Bundler / Embedder - [ethereum / go-ethereum](https://github.com/ethereum/go-ethereum) : Official Go implementation of the Ethereum protocol - [astaxie / build-web-application-with-golang](https://github.com/astaxie/build-web-application-with-golang) : A golang ebook intro how to build a web with golang - [gohugoio / hugo](https://github.com/gohugoio/hugo) : The world’s fastest framework for building websites. - [boyter / scc](https://github.com/boyter/scc) : Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in Go - [senseyeio / spaniel](https://github.com/senseyeio/spaniel) : Time span handling for Go - [avelino / awesome-go](https://github.com/avelino/awesome-go) : A curated list of awesome Go frameworks, libraries and software - [istio / istio](https://github.com/istio/istio) : An open platform to connect, manage, and secure microservices. - [gogits / gogs](https://github.com/gogits/gogs) : Gogs is a painless self-hosted Git service. - [travisjeffery / jocko](https://github.com/travisjeffery/jocko) : Kafka implemented in Golang with built-in coordination (No ZK dep, single binary install, Cloud Native) - [turbobytes / dnsperfbench](https://github.com/turbobytes/dnsperfbench) : DNS Performance Benchmarker - [gin-gonic / gin](https://github.com/gin-gonic/gin) : Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin. - [dinedal / textql](https://github.com/dinedal/textql) : Execute SQL against structured text like CSV or TSV - [GoogleContainerTools / skaffold](https://github.com/GoogleContainerTools/skaffold) : Easy and Repeatable Kubernetes Development - [iikira / BaiduPCS-Go](https://github.com/iikira/BaiduPCS-Go) : 百度网盘客户端 - Go语言编写 - [containous / traefik](https://github.com/containous/traefik) : Træfik, a modern reverse proxy ## html - [jaywcjlove / awesome-mac](https://github.com/jaywcjlove/awesome-mac) :  This repo is a collection of awesome Mac applications and tools for developers and designers. - [atomiks / 30-seconds-of-css](https://github.com/atomiks/30-seconds-of-css) : A curated collection of useful CSS snippets. - [github / training-kit](https://github.com/github/training-kit) : Open source on demand courses and cheat sheets for Git and GitHub - [google / styleguide](https://github.com/google/styleguide) : Style guides for Google-originated open-source projects - [google / gson](https://github.com/google/gson) : A Java serialization/deserialization library to convert Java Objects into JSON and back - [almasaeed2010 / AdminLTE](https://github.com/almasaeed2010/AdminLTE) : AdminLTE - Free Premium Admin control Panel Theme Based On Bootstrap 3.x - [octocat / Spoon-Knife](https://github.com/octocat/Spoon-Knife) : This repo is for demonstration purposes only. - [wesbos / JavaScript30](https://github.com/wesbos/JavaScript30) : 30 Day Vanilla JS Challenge - [kennethreitz / requests-html](https://github.com/kennethreitz/requests-html) : Pythonic HTML Parsing for Humans™ - [WizardBible / wb](https://github.com/WizardBible/wb) : Wizard Bible archive - [HackerThemes / theme-machine](https://github.com/HackerThemes/theme-machine) : A collection of stylized Bootstrap 4 Themes by HackerThemes - [portainer / portainer](https://github.com/portainer/portainer) : Simple management UI for Docker - [ethereum / EIPs](https://github.com/ethereum/EIPs) : The Ethereum Improvement Proposal repository - [swagger-api / swagger-codegen](https://github.com/swagger-api/swagger-codegen) : swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. - [terkelg / awesome-creative-coding](https://github.com/terkelg/awesome-creative-coding) : 🎨 Creative Coding: Generative Art, Data visualization, Interaction Design, Resources. - [facebookresearch / fastText](https://github.com/facebookresearch/fastText) : Library for fast text representation and classification. - [fengdu78 / Coursera-ML-AndrewNg-Notes](https://github.com/fengdu78/Coursera-ML-AndrewNg-Notes) : 吴恩达老师的机器学习课程个人笔记 - [cs231n / cs231n.github.io](https://github.com/cs231n/cs231n.github.io) : Public facing notes page - [cipchk / ng-alain](https://github.com/cipchk/ng-alain) : ng-zorro-antd admin panel front-end framework - [electron / electron-api-demos](https://github.com/electron/electron-api-demos) : Explore the Electron APIs - [Microsoft / dotnet](https://github.com/Microsoft/dotnet) : This repo is the official home of .NET on GitHub. It's a great starting point to find many .NET OSS projects from Microsoft and the community, including many that are part of the .NET Foundation. - [coreui / coreui-free-bootstrap-admin-template](https://github.com/coreui/coreui-free-bootstrap-admin-template) : CoreUI is free bootstrap admin template - [ConsenSys / smart-contract-best-practices](https://github.com/ConsenSys/smart-contract-best-practices) : A guide to smart contract security best practices - [ckeditor / ckeditor-dev](https://github.com/ckeditor/ckeditor-dev) : The development repository of CKEditor 4. - [gdi2290 / awesome-angular](https://github.com/gdi2290/awesome-angular) : 📄 A curated list of awesome Angular resources by @TipeIO ## typescript ## javascript - [tehnokv / picojs](https://github.com/tehnokv/picojs) : A face detection library in 200 lines of JavaScript - [vuejs / vuepress](https://github.com/vuejs/vuepress) : 📝 Minimalistic Vue-powered static site generator - [Canner / slate-md-editor](https://github.com/Canner/slate-md-editor) : 📃 A markdown editor, that allows you to edit live with hot keys support! - [krasimir / react-in-patterns](https://github.com/krasimir/react-in-patterns) : A free book that talks about design patterns/techniques used while developing with React. - [vuejs / vue](https://github.com/vuejs/vue) : 🖖 A progressive, incrementally-adoptable JavaScript framework for building UI on the web. - [marktext / marktext](https://github.com/marktext/marktext) : 📝Next generation markdown editor, running on platforms of MacOS Windows and Linux. - [Mailtrain-org / mailtrain](https://github.com/Mailtrain-org/mailtrain) : Self hosted newsletter app - [terkelg / tiny-glob](https://github.com/terkelg/tiny-glob) : A super tiny and ~350% faster alternative to node-glob 🚀 - [ianstormtaylor / permit](https://github.com/ianstormtaylor/permit) : An unopinionated authentication library for building Node.js APIs. - [facebook / react](https://github.com/facebook/react) : A declarative, efficient, and flexible JavaScript library for building user interfaces. - [aweary / react-copy-write](https://github.com/aweary/react-copy-write) : ✍️ Immutable state with a mutable API - [drcmda / react-spring](https://github.com/drcmda/react-spring) : 🙌 Helping react-motion and animated to become best friends - [facebook / create-react-app](https://github.com/facebook/create-react-app) : Create React apps with no build configuration. - [kamranahmedse / driver.js](https://github.com/kamranahmedse/driver.js) : A light-weight, no-dependency, vanilla JavaScript engine to drive the user's focus across the page - [pshihn / rough](https://github.com/pshihn/rough) : Create graphics with a hand-drawn, sketchy, appearance - [axios / axios](https://github.com/axios/axios) : Promise based HTTP client for the browser and node.js - [text-mask / text-mask](https://github.com/text-mask/text-mask) : Input mask for React, Angular, Ember, Vue, & plain JavaScript - [airbnb / javascript](https://github.com/airbnb/javascript) : JavaScript Style Guide - [GoogleChrome / puppeteer](https://github.com/GoogleChrome/puppeteer) : Headless Chrome Node API - [facebook / react-native](https://github.com/facebook/react-native) : A framework for building native apps with React. - [d3 / d3](https://github.com/d3/d3) : Bring data to life with SVG, Canvas and HTML. 📊📈🎉 - [reactjs / redux](https://github.com/reactjs/redux) : Predictable state container for JavaScript apps - [Meituan-Dianping / mpvue](https://github.com/Meituan-Dianping/mpvue) : 基于 Vue.js 的小程序开发框架,从底层支持 Vue.js 语法和构建工具体系。 - [hasura / react-check-auth](https://github.com/hasura/react-check-auth) : Add auth protection anywhere in your react/react-native app - [zeit / hyper](https://github.com/zeit/hyper) : A terminal built on web technologies
113.583333
407
0.768501
eng_Latn
0.421304
aa9a06160f4caed70173b33f86e2b4c0a20f1b79
2,652
md
Markdown
_posts/2018-07-09-TextSnake.md
ssma96/saicoco.github.io
4153818a7e68e5e35b783a6b97e1dad976bd0be2
[ "MIT" ]
1
2020-02-10T14:17:00.000Z
2020-02-10T14:17:00.000Z
_posts/2018-07-09-TextSnake.md
ssma96/saicoco.github.io
4153818a7e68e5e35b783a6b97e1dad976bd0be2
[ "MIT" ]
null
null
null
_posts/2018-07-09-TextSnake.md
ssma96/saicoco.github.io
4153818a7e68e5e35b783a6b97e1dad976bd0be2
[ "MIT" ]
null
null
null
--- title: TextSnake, A Flexible Representation for Detecting Text of Arbitrary Shapes layout: post date: 2018-07-09 categories: - paper_reading tag: paper blog: true start: true author: karl description: Scene Text Detection header: image_fullwidth: "../downloads/textsnake/1.png" feature: ../downloads/textsnake/1.png --- ## 前言 对于场景文字检测来说,主流路线可以大致分为基于检测和基于分割的方法。其中基于检测方法,如R2CNN,RRPN,SSD系列的TextBoxes,CTPN等方法;对于基于分割的方法,如DDR,EAST基于分割为基础的回归方法,当然还有一股清理,纯基于分割的方法,但多为实例分割,实现文字区域的较好分割,代表Piexllink,incepttext等方法。其中基于分割的方法其优势在于对形变文本、扭曲文本可以作出很好的描述,即分割结果可以是任意形状。但是由于标签的存在形式为RBOX,QBOX或者bbox,导致在最后的文字检测结果中只能以以上形式出现,进而导致对扭曲文本的检测难以达到较好的结果。 ## IDEA TextSnake的思想与Seglink的思想类似,即将文本区域进行切割,得到较小的文字实例,分别对其进行回归,然后通过特定的后处理实现整个文本区域的检测。具体的文字区域的表示方式如下图所示: ![img](../downloads/textsnake/2.png) 上图将文字区域分为两部分的组合表示:text region, text center line。而以上的tcl的构造论文中有详细描述。而利用tcl可以得到一系列的disks,即图中一个个圆,一个个圆覆盖的外接区域就是对应的文本区域。 ## Method 整个算法pipeline如下图所示: ![img](../downloads/textsnake/1.png) 可以看到的是,对于输入图片,首先经过一个U-Net得到TR,TCL区域的分割结果,后经过两者的结合得到真正的文本中心线区域,后利用并查集算法,得到每个文本实例的分割结果,然后利用后处理方法,得到完整的文本区域。 ### 网络结构 网络结构图如下图所示: ![img](../downloads/textsnake/3.png) 网络结构为Unet,backbone为VGG16,此处是为了与常见方法的比较,可以使用更为强劲的ResNet。在decoder阶段,使用拼接,然后接1x1,3x3做通道整合,特征提取。 ### post-processing 后处理大致流程可以如下图所示: ![img](../downloads/textsnake/4.png) 首先利用得到TCL分割区域结果,随机选取切线与垂线得到与TCL区域外边和内边的交点,去两个交点之间的中点为在tcl上第一个disk的圆心所在,接在以圆心为起点,以于圆心所在交线垂直的方向进行探索,得到下一个圆心,如果期间出现圆心掉在TCL区域外,在缩小距离。一次类推,得到整个tcl上的disk轨迹,进而得出中心线的轨迹。而具体的搜索方法如下图所示: ![img](../downloads/textsnake/5.png) 是不是很巧妙~ ### label generation label generation 的pipeline可以如下图所示: ![img](../downloads/textsnake/6.png) 首先找到最左边和最右边的两条边,作为整个文本区域标签的头尾,然后将边进行距离切分,并找到切割线的中心,作为圆心,圆心到边的距离作为圆的半径,进而得到tcl的标签,其实这块有点迷糊,等代码公开后自己研究一下。 ### loss function 目标函数如下图所示: ![img](../downloads/textsnake/7.png) 分为分类损失函数以及回归损失函数,其中分类为分割的损失函数,回归为分割结果map中的每个像素位置上的回归信息,包括半径r,cos和sin,用于后续tcl的计算,这里回归形式使用的smoothedL1,目的是为了对小的变化不敏感,对较大的回归变化进行压缩,详细可以参看smoothedL1形式。 ### benchmarks 数据集合使用SynthText合成数据,TotalText最新放出的扭曲多方向文本数据集,CTW1500同样的扭曲文本数据集,ICDAR2015比较经典的文字检测数据集,MSRA-TD500同样的,多语言,多方向,长行文本。 ### 实验结果 结果如下图所示: ![img](../downloads/textsnake/8.png) 可以看到第三张图,检测结果为扭曲的检测结果。 作者在各个数据集上对比了不同的方法,如Total text结果如下所示: ![img](../downloads/textsnake/9.png) 由于数据集中存在扭曲文本较多,因此Textsnake表现出较好的性能,原因在于Seglink和EAST的标签形式只针对多方向,对扭曲文本并不具备完整检测能力。 同样的对CTW数据集,结果如下图所示: ![img](../downloads/textsnake/10.png) 然而,在数据集icdar2015上,结果如下图所示: ![img](../downloads/textsnake/12.png) pixellink为最好的结果,原因在于其为纯分割的网络结构,没有回归。同时对于密集文本具有较好的检测性能,较小的字体同样。 ## 小结 还有几天就入职了,准备做OCR相关的任务,虽然blog写的不怎么样, 权当做记录,希望对小伙伴的有所帮助。下一篇博客就是工作后的内容啦!
30.482759
297
0.800151
yue_Hant
0.718024
aa9a098386d7f3b11bb194a498518572a750bdc1
1,200
md
Markdown
README.md
robotlolita/papyr
ce5583bea2e2affb18984b19d065dd4496979e08
[ "MIT" ]
null
null
null
README.md
robotlolita/papyr
ce5583bea2e2affb18984b19d065dd4496979e08
[ "MIT" ]
7
2015-05-09T23:07:02.000Z
2015-05-09T23:08:02.000Z
README.md
robotlolita/papyr
ce5583bea2e2affb18984b19d065dd4496979e08
[ "MIT" ]
null
null
null
Papyr° ====== Papyr° is a single-page web application for visualising API documentation written as plain JSON. It can also mix-in examples and Markdown-written content (with just-in-time client-side rendering too!) ## Getting Started Getting your API documentation in 5 easy steps: 1) Install it from NPM: ```bash $ npm install -g papyr ``` 2) Create a JSON file describing your documentation: ```bash $ cat > doc.json { "project": "Test" , "version": "1.0.0-snapshot" , "template": "default.jade" , "output": "docs/build" , "apis": [{ "licence": "MIT" , "repository": "http://github.com/you/test" , "examples": "examples/" , "entities": [ "test.json" ] }]} ``` 3) Put your API JSON files in the source folder you specified in the previous step. ```bash $ cp ~/path/to/test.json test.json ``` 4) Run the build step specifying the documentation JSON. ```bash $ papyr build doc.json ``` 5) Open the `index.html` file in your browser. ## How does that JSON looks? The JSON should be a list of Objects that match the interface `Entity`, as described in `docs/api.doll`. Fields besides `id`, `name`, `kind` and `text` are optional: ## Licence MIT/X11.
20
73
0.669167
eng_Latn
0.949935
aa9a18f01698fe4c7fe9db70c3361192004c448e
2,363
md
Markdown
README.md
andyl/jobex
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
10
2019-10-24T01:23:07.000Z
2020-02-23T00:27:32.000Z
README.md
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
6
2021-03-09T18:41:09.000Z
2021-05-27T13:02:42.000Z
README.md
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
1
2019-10-24T01:23:08.000Z
2019-10-24T01:23:08.000Z
# Jobex README Jobex is cron-like workflow - Cron meets Airflow. - Runs jobs periodically using cron-like scheduling - Captures job statistics: execution time, status, stdout, stderr - Super Simple Because we need to access local scripts, `Jobex` is packaged as an Elixir release managed by SystemD, rather than a Docker container. ## Jobex simply runs jobs - you define a job schedule in a CSV file - you can setup two CSV files: DEV for testing and PROD for production - jobs can be any executable or BASH/PYTHON/RUBY script on your system - failing jobs will be retried three times before giving up - the job history is capped at 5000 items ## System requirements - Ubuntu Host running 20.04 - SystemD - Postgres (user/pass = postgres/postgres) ## Installing - Clone the repo - `cd apps/jobex_web/assets && npm install && cd ../..` - `MIX_ENV=prod mix do deps.get, ecto.create, ecto.migrate, distillery.release` - Start the release - Browse to `locahost:5070` ## Job schedules Job schedules are stored in csv files: - apps/jobex_data/priv/dev_schedule.csv - apps/jobex_data/priv/prod_schedule.csv CSV files can be edited to run your own commands. The CSV columns include: | Schedule | Queue | Type | Command | |-----------|----------|------|--------------------| | * * * * * | serial | test | whoami | | * * * * * | parallel | test | echo "hello world" | _Schedule_ - a cron-like time schedule - any cron-compatible syntax is OK _Queue_ - there are two queues: `serial` and `parallel` - `serial` runs one job at a time - `parallel` runs multiple jobs concurrently _Type_ - just a user-defined label - no spaces allowed _Command_ - any command you like - commands are run with 'user' permission - pipes and redirects not allowed ## Using SystemD Create the database and run the migrations. Then: - edit the SystemD service file in `rel/jobex.service` - `sudo cp rel/jobex.service /etc/systemd/system` - `sudo chmod 644 /etc/systemd/system/jobex.service` Start the service with SystemD - `sudo systemctl start jobex` - `sudo systemctl status jobex` - `sudo systemctl restart jobex` - `sudo systemctl stop jobex` - `sudo journalctl -u jobex -f` Make sure your service starts when the system reboots - `sudo systemctl enable jobex` Reboot and test! ![](https://badger.casmacc.net/png0/f687fc?path=NA)
25.408602
79
0.712653
eng_Latn
0.956351
aa9b11a494609cdf919b233f1a918040ebfddbee
568
md
Markdown
_process/github-pullrequests.md
VictorSyntez/deliverables
3492e071c2c88f838306448ded20ab693ae2654a
[ "Apache-2.0" ]
null
null
null
_process/github-pullrequests.md
VictorSyntez/deliverables
3492e071c2c88f838306448ded20ab693ae2654a
[ "Apache-2.0" ]
null
null
null
_process/github-pullrequests.md
VictorSyntez/deliverables
3492e071c2c88f838306448ded20ab693ae2654a
[ "Apache-2.0" ]
null
null
null
# Contribution Chanage Management ![lifecycle](../_images/lifecycle.png) We collaborate on the work of ToIP Foundation via pull requests (`PRs`) against the deliverables managed in this repo. ## Pull Request Submissions 1. Fork the [Deliverables Repo](https://github.com/trustoverip/deliverables). 2. Each `PR` SHOULD be linked to an `Issue`. ### Pull Request Decisions 1. Standard GitHub processing is used. * **`Closed`:** The `PR` was reviewed by the WG but it was decided to close it without merging it. * **`Merged`:** The WG agreed to `merge` the `PR`.
35.5
118
0.728873
eng_Latn
0.990269
aa9bc174efdcb14831c92f920ea2e3402af2bf1a
103
md
Markdown
README.md
sva-dsi/web-d3
eee7fb9c19a0abde0041916f3c0cc8feac3f0f8b
[ "MIT" ]
null
null
null
README.md
sva-dsi/web-d3
eee7fb9c19a0abde0041916f3c0cc8feac3f0f8b
[ "MIT" ]
null
null
null
README.md
sva-dsi/web-d3
eee7fb9c19a0abde0041916f3c0cc8feac3f0f8b
[ "MIT" ]
null
null
null
# web-d3 short introduction to D3 visualization h/t to Aysegul Yonet's original course in SF for GDI.
20.6
53
0.776699
eng_Latn
0.978258
aa9c5253d28771a3b6b90fe2f0a099be8a245f21
143
md
Markdown
README.md
ShinjiKobayashi/LoadingProgressSample
14ffa531e2638326a9b8a090d313d7b37097c9f6
[ "Apache-2.0" ]
null
null
null
README.md
ShinjiKobayashi/LoadingProgressSample
14ffa531e2638326a9b8a090d313d7b37097c9f6
[ "Apache-2.0" ]
null
null
null
README.md
ShinjiKobayashi/LoadingProgressSample
14ffa531e2638326a9b8a090d313d7b37097c9f6
[ "Apache-2.0" ]
null
null
null
# LoadingProgressSample <img src="device-2016-05-27-023039.gif" width="411"> Copyright (c) 2016 Shinji Kobayashi <ragecolor.5884@gmail.com>
20.428571
62
0.755245
kor_Hang
0.138716
aa9dafd5792dd815e79c15bf2533725e09ba0307
3,103
md
Markdown
CHANGELOG.md
imgix/imgix-java
a1c508e9d0ab6dcbde6f2572141c3ee226c72109
[ "BSD-2-Clause" ]
21
2015-06-03T21:28:03.000Z
2021-01-08T17:01:32.000Z
CHANGELOG.md
imgix/imgix-java
a1c508e9d0ab6dcbde6f2572141c3ee226c72109
[ "BSD-2-Clause" ]
31
2015-03-02T18:20:19.000Z
2021-04-13T19:01:21.000Z
CHANGELOG.md
imgix/imgix-java
a1c508e9d0ab6dcbde6f2572141c3ee226c72109
[ "BSD-2-Clause" ]
19
2015-03-02T14:22:48.000Z
2021-01-15T00:05:20.000Z
Change Log ========== ### Version 2.3.2 (_April 13, 2021_) * fix(sanitizePath): ensure unicode chars encoded ([#70](https://github.com/imgix/imgix-java/pull/70)) * fix(URLHelper): add sanitizePath method ([#68](https://github.com/imgix/imgix-java/pull/68)) ### Version 2.3.1 (_March 24, 2021_) * docs: add maven badge to README.md ([#65](https://github.com/imgix/imgix-java/pull/65)) * docs: update fixed-widths section ([#63](https://github.com/imgix/imgix-java/pull/63)) * fix: create dpr srcset when only h passed in as param ([#62](https://github.com/imgix/imgix-java/pull/62)) * docs: update travis badge to travis-ci.com ([#60](https://github.com/imgix/imgix-java/pull/60)) * fix(gradle-build): include maven plugin ([#55](https://github.com/imgix/imgix-java/pull/55)) * docs(readme): correct percentage typos ([#53](https://github.com/imgix/imgix-java/pull/53)) ### Version 2.3.0 (_June 05, 2020_) * feat: custom srcsets ([#44](https://github.com/imgix/imgix-java/pull/44)) * fix: convert tol to float ([#49](https://github.com/imgix/imgix-java/pull/49)) * feat: throw when validator detects invalid input ([#52](https://github.com/imgix/imgix-java/pull/52)) ### Version 2.2.0 (_April 10, 2020_) * feat(https): use https by default ([#38](https://github.com/imgix/imgix-java/pull/38)) * docs(readme): update to reflect https by default ([#39](https://github.com/imgix/imgix-java/pull/39)) * feat: prevent push mistakes by updating .gitignore ([#41](https://github.com/imgix/imgix-java/pull/41)) * build: upgrade gradle usage to prep for 7.0 ([#42](https://github.com/imgix/imgix-java/pull/42)) ### Version 2.1.1 (_December 05, 2019_) * fix: explicitly convert string to UTF-8 byte array ([#36](https://github.com/imgix/imgix-java/pull/36)) ## Version 2.1.0 (_September 19, 2019_) * fix: add domain validation during URLBuilder initialization ([#33](https://github.com/imgix/imgix-java/pull/33)) * feat: add srcset generation method ([#32](https://github.com/imgix/imgix-java/pull/32)) # Version 2.0.0 (_May 17, 2019_) * fix: remove deprecated domain sharding functionality ([#31](https://github.com/imgix/imgix-java/pull/31)) * refactor: rename `signWithLibraryParameter` to `includeLibraryParam` ([#30](https://github.com/imgix/imgix-java/pull/30)) ## Version 1.2.0 (_May 17, 2019_) * fix: deprecate domain sharding ([#29](https://github.com/imgix/imgix-java/pull/29)) ### Version 1.1.12 (_Jul 19, 2018_) * Support Java 10 ### Version 1.1.10 (_Jun 15, 2017_) * Adding javadoc and source jars to the build artifacts. ### Version 1.1.9 (_Jun 15, 2017_) * No longer URL encode path components, which prevented signed URLs from working (and was also just wrong). ### Version 1.1.8 (_Sep 13, 2016_) * Finally released to JCenter! https://bintray.com/imgix/maven/imgix-java ### Version 1.1.7 (_Jul 22, 2016_) ### Version 1.1.5 (_Jul 22, 2016_) ### Version 1.1.4 (_Jul 22, 2016_) ### Version 1.1.2 (_Jul 15, 2016_) ### Version 1.1.0 (_Feb 25, 2016_) * Added automatic Base64 encoding for all Base64 variant parameters. * Properly encoding all query string keys and values.
41.932432
123
0.703513
eng_Latn
0.226331
aa9df438aee599a98deae95b1675b2a766a8207b
613
md
Markdown
api/PowerPoint.ResampleMediaTasks.Resume.md
italicize/VBA-Docs
8d12d72a1e3e9e32f31b87be3a3f9e18e411c1b0
[ "CC-BY-4.0", "MIT" ]
null
null
null
api/PowerPoint.ResampleMediaTasks.Resume.md
italicize/VBA-Docs
8d12d72a1e3e9e32f31b87be3a3f9e18e411c1b0
[ "CC-BY-4.0", "MIT" ]
null
null
null
api/PowerPoint.ResampleMediaTasks.Resume.md
italicize/VBA-Docs
8d12d72a1e3e9e32f31b87be3a3f9e18e411c1b0
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: ResampleMediaTasks.Resume Method (PowerPoint) keywords: vbapp10.chm728004 f1_keywords: - vbapp10.chm728004 ms.prod: powerpoint api_name: - PowerPoint.ResampleMediaTasks.Resume ms.assetid: d58b0932-38f9-1589-efdc-7860fab1f5ad ms.date: 06/08/2017 --- # ResampleMediaTasks.Resume Method (PowerPoint) Resumes mobilization of the current media asset. ## Syntax _expression_. `Resume` _expression_ A variable that represents a [ResampleMediaTasks](./PowerPoint.ResampleMediaTasks.md) object. ### Return Value Nothing ## See also [ResampleMediaTasks Object](PowerPoint.ResampleMediaTasks.md)
17.027778
107
0.787928
eng_Latn
0.300644
aa9eaa94a4d7c96d2cdd9d0fa9c5508e86a06498
3,032
md
Markdown
docs/web-application/pagebuilder/master-and-content-pages.md
SuperOfficeDocs/user-interface
b8fc588eb37b041204e743a9feef1d4eff801994
[ "MIT" ]
null
null
null
docs/web-application/pagebuilder/master-and-content-pages.md
SuperOfficeDocs/user-interface
b8fc588eb37b041204e743a9feef1d4eff801994
[ "MIT" ]
13
2021-04-28T07:02:57.000Z
2022-01-28T10:28:45.000Z
docs/web-application/pagebuilder/master-and-content-pages.md
SuperOfficeDocs/user-interface
b8fc588eb37b041204e743a9feef1d4eff801994
[ "MIT" ]
null
null
null
--- title: Master and content pages uid: pb_masterpage description: Master and content pages author: Tony Yates so.date: 06.24.2016 keywords: so.topic: concept so.client: web so.envir: onsite --- # Master and content pages ## MasterPage Defining a MasterPage is just like defining a normal page. **MasterPages** can contain markup, controls, or code, or any combination of these elements. However, they can contain a special type of control called a `ContentPlaceHolder` control. A **ContentPlaceHolder** defines a region of the master page rendering that can be substituted with content from a page that derives from the master. **Syntax of ContentPlaceHolder:** ```XML <div id="container" style="width:100%;height:100%;visibility:hidden"> <asp:ContentPlaceHolder ID="WebClientPlaceHolder" Runat="server"> </asp:ContentPlaceHolder> </div> ``` To differentiate a MasterPage from a normal page, we use the *.master* file extension. ## ContentPage A page can derive from a MasterPage by defining a `MasterPageFile` attribute on its `Page` directive, as demonstrated below. A page that derives from a MasterPage is called a **ContentPage**. ```html <%@ Page Language="C#" MasterPageFile="~/Masterpages/Master.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" Title="SuperOffice CRM.web" %> ``` It can declare **Content controls** that specifically override content placeholder sections in the MasterPage. A Content control is associated to a particular ContentPlaceHolder control through its `ContentPlaceHolderID` property. A ContentPage may only contain markup and controls inside Content controls. It cannot have any top-level content of its own. It can, however, have directives or code. ```html <%@ Page Language="C#" MasterPageFile="~/Masterpages/Master.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" Title="SuperOffice CRM.web" %> <%@ Register TagPrefix="so2" Namespace="SuperOffice.CRM.Web.UI.Controls" Assembly="SuperOffice.CRMWeb" %> <asp:Content ContentPlaceHolderID="WebClientHeadPlaceHolder" runat="server"> </asp:Content> <asp:Content ID="Content1" ContentPlaceHolderID="WebClientPlaceHolder" Runat="Server"> <!--ClientScripts--> <div id="scripts"></div> <!--Initialize scripts are added here--> <div id="InitializeScripts" visible="false"></div> <!--Dialog Scripts are added here--> <div id="DialogScripts" visible="false"></div> <!-- This is the placeholder for the pagebuilder, do not remove --> <so2:PageBuilder ID="PageContent" runat="server"> </so2:PageBuilder> <input type="text" style="display:none" id="dummyinput" /> TEST<!--StartupScripts--> </asp:Content> ``` The above example demonstrates the relationship between master and content page. The MasterPage in this case defines `ContentPlaceHolder` regions, named WebClientHeadPlaceHolder and WebClientPlaceHolder, along with some default content for this region. Individual content pages in SuperOffice inherit the common site layout and look-and-feel from the MasterPage.
42.704225
397
0.768799
eng_Latn
0.88703
aa9fb73d1cacfea3fe69dff52facb249c887aa9f
830
md
Markdown
docs/template/update.md
Budget-Web-App/budget-web-app
6cd1f70bea2e5c7bd674cd383177cca3c8e8ff11
[ "MIT" ]
null
null
null
docs/template/update.md
Budget-Web-App/budget-web-app
6cd1f70bea2e5c7bd674cd383177cca3c8e8ff11
[ "MIT" ]
null
null
null
docs/template/update.md
Budget-Web-App/budget-web-app
6cd1f70bea2e5c7bd674cd383177cca3c8e8ff11
[ "MIT" ]
null
null
null
# update [name] Namespace: [namespace] ## Permissions One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [permissions](http://wwww.test.com) | permission type | Permissions (from least to most privileged) | |-----------------|---------------------------------------------| | | | ## HTTP request ```http PUT /[name]/{id} ``` ## Optional query parameters ## Request headers ## Request body Do not supply a request body for this method. ## Response The following is an example of the response. ``` http HTTP/1.1 200 OK Content-type: application/json { "value": [ { } ] } ``` ## Examples ### Example 1: put a [name] ### Request The following is an example of the request.
17.291667
154
0.572289
eng_Latn
0.983323
aa9fbed4514675178325a30d02218257784c9eab
12,534
md
Markdown
README.md
onextech/react-apollo-utils
e2f6a8b9bf2e46b43bba6452acaedf7e8c3f82fb
[ "MIT" ]
null
null
null
README.md
onextech/react-apollo-utils
e2f6a8b9bf2e46b43bba6452acaedf7e8c3f82fb
[ "MIT" ]
null
null
null
README.md
onextech/react-apollo-utils
e2f6a8b9bf2e46b43bba6452acaedf7e8c3f82fb
[ "MIT" ]
null
null
null
# nod [![NPM version](https://img.shields.io/npm/v/generator-nod.svg?style=flat-square)](https://npmjs.org/package/ggenerator-nod) [![Build Status](https://img.shields.io/travis/diegohaz/nod/master.svg?style=flat-square)](https://travis-ci.org/diegohaz/nod) [![Coverage Status](https://img.shields.io/codecov/c/github/diegohaz/nod/master.svg?style=flat-square)](https://codecov.io/gh/diegohaz/nod/branch/master) NodeJS module generator/boilerplate. <p align="center"><img src="https://cloud.githubusercontent.com/assets/3068563/21958520/77e4f45e-da97-11e6-9685-fe380a9cce3d.gif"></p> ## Features - [**Babel**](https://babeljs.io/) - Write next generation JavaScript today; - [**Jest**](https://facebook.github.io/jest) - JavaScript testing framework used by Facebook; - [**ESLint**](http://eslint.org/) - Make sure you are writing a quality code; - [**Flow**](https://flowtype.org/) - A static type checker for JavaScript used heavily within Facebook; - [**Travis CI**](https://travis-ci.org) - Automate tests and linting for every push or pull request; - [**Documentation**](http://documentation.js.org/) - A documentation system so good, you'll actually write documentation. ## Install The easiest way to use **nod** is through the Yeoman Generator. ```sh $ npm install -g yo generator-nod $ yo nod ``` If you don't want to use the generator, you can also download or `git clone` this repo ```sh $ git clone https://github.com/diegohaz/nod my-module $ cd my-module $ rm -rf .git $ npm install # or yarn ``` Just make sure to edit `package.json`, `README.md` and `LICENSE` files accordingly with your module's info. ## Commands ```sh $ npm test # run tests with Jest $ npm run coverage # run tests with coverage and open it on browser $ npm run lint # lint code $ npm run docs # generate docs $ npm run build # generate docs and transpile code $ npm run watch # watch code changes and run scripts automatically $ npm run patch # bump patch version and publish to npm e.g. 0.0.1 $ npm run minor # bump minor version and publish to npm e.g. 0.1.0 $ npm run major # bump major version and publish to npm e.g. 1.0.0 ``` ## Built with Nod _You can use those modules as a reference when creating yours. If you have built something with Nod, send a PR (try to write a helpful description for Nod users)._ - [**styled-tools**](https://github.com/diegohaz/styled-tools) - Module using `flow-typed`, targeted to browser. - [**styled-theme**](https://github.com/diegohaz/styled-theme) - Module with `gh-pages`, targeted to browser. - [**webpack-blocks-happypack**](https://github.com/diegohaz/webpack-blocks-happypack) - Uses Jest snapshots. - [**webpack-blocks-split-vendor**](https://github.com/diegohaz/webpack-blocks-split-vendor) - Has peer dependencies. [More examples](https://github.com/search?l=Markdown&q=generator-nod-2196F3&type=Code) ## API <!-- Generated by documentation.js. Update this documentation by updating the source code. --> ### isArray Check if a variable is an array **Parameters** - `variable` **any** ### isEqualArrays Shallow check if two arrays are equal not just in content but also in order **Parameters** - `arr1` **[array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** - `arr2` **[array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** Returns **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** ### findValueInArrayOfObjects Find a value in an array of objects **Parameters** - `key` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** the name of the specific key to search - `value` **any** the value you need to find - `arr` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** the array of objects Returns **{}** ### findValueInArrayOfNodeObjects Find a value in an array of node objects **Parameters** - `key` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** the name of the specific key to search - `value` **any** the value you need to find - `arr` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** the array of objects Returns **({} | [undefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined) \| [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean))** ### findPkInArrayOfNodeObjects Helper function with shorter syntax with type coercion **Parameters** - `key` **any** - `arr` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** Returns **{}** ### findIndexInArrayOfNodeObjects Find an index in an array of node objects **Parameters** - `key` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** the name of the specific key to search - `value` **any** the value you need to find - `arr` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** the array of objects Returns **([number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) \| [undefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined))** ### findIndexInArrayOfObjects Find the index of a value in an array of objects **Parameters** - `value` **any** - `arr` **[array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** Returns **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** ### isValueInArray Check if value is in array **Parameters** - `value` **any** - `arr` **[array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** Returns **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** ### intersectArray Get the intersection data from two primitive arrays **Parameters** - `arr1` **[array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** - `arr2` **[array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** Returns **[array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** ### findKeyInArray Return index of array otherwise false **Parameters** - `value` **any** - `arr` **[array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** Returns **([number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) | bool)** ### uniqueArray Make an array unique **Parameters** - `arr` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** Returns **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** arr ### countArrayLessUndefinedItems Returns the length of array, skips `undefined` type from the count **Parameters** - `arr` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** Returns **[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** ### sayHello This function says hello. **Parameters** - `name` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Some name to say hello for. Returns **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** The hello. ### isEmptyObject Checks if an object is empty Do note that an empty object in javascript is a truthy value, so we have to use this function to check for an empty object **Parameters** - `obj` Returns **any** boolean ### isNestedKey Duck-typing to check if a key is trying to access a nested value **Parameters** - `key` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Returns **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** ### getNestedObjectValue Key-path accessor to get value from nested object **Parameters** - `obj` **{}** the nested objected - `path` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** @example 'foo.bar' Returns **any** ### objectHasKey Check if a key exists in an object Note; if key exist, but value is null, returns true. **Parameters** - `obj` **{}** - `key` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Returns **[Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** ### getNodeValue Access a node object with an undetermined nested or single key **Parameters** - `node` **{}** - `key` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Returns **any** ### isObject Check if a variable is an Object **Parameters** - `v` **any** Returns **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** ### isFunction Check if a variable is a function **Parameters** - `v` **any** Returns **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** ### getObjectFromJSON Get object from JSON string **Parameters** - `json` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Returns **{}** ### getJSONFromObject Get JSON string from object **Parameters** - `obj` **{}** Returns **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** ### getJSONFromKeyValue Get JSON From key and value **Parameters** - `k` **any** - `v` **any** Returns **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** ### getSubstringBetweenTwoCharacters Returns a substring between a set of start and end characters **Parameters** - `str` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** - `start` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** - `end` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Returns **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** ### getSubstringBeforeCharacter Returns a substring before the last occurence of a character **Parameters** - `str` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** - `char` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Returns **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** ### getSubstringAfterCharacter Returns a substring after the last occurence of a character **Parameters** - `str` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** - `char` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Returns **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** ### convertUnderscoreToSpace Converts underscores to spaces **Parameters** - `str` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Returns **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** ### capitalizeFirstLetter Capitalize the first letter of a string **Parameters** - `str` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** ### convertCamelToSentenceCase Convert camel case to sentence **Parameters** - `str` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** ## License MIT © [Diego Haz](https://github.com/diegohaz)
33.15873
280
0.730413
yue_Hant
0.50019
aaa00c726d0a3cd045acc0a4001e8901aa6902b7
2,788
md
Markdown
_posts/memo/2020-07-16-DevConnector00.md
jungsikjeong/jungsikjeong.github.io
85ed5cad2806a4292ef4bb190e95a4c01547a92c
[ "MIT" ]
null
null
null
_posts/memo/2020-07-16-DevConnector00.md
jungsikjeong/jungsikjeong.github.io
85ed5cad2806a4292ef4bb190e95a4c01547a92c
[ "MIT" ]
null
null
null
_posts/memo/2020-07-16-DevConnector00.md
jungsikjeong/jungsikjeong.github.io
85ed5cad2806a4292ef4bb190e95a4c01547a92c
[ "MIT" ]
null
null
null
--- layout: post title: DevConnector 프로젝트 00 - 초기세팅 category: memo tags: [memo] comments: true --- # DevConnector 프로젝트 00 - 초기세팅 > [유데미 강의](https://www.udemy.com/course/mern-stack-front-to-back/learn/lecture/10055140?start=225#overview)를 보며 정리한 내용입니다. 영어로 듣고 화면만 보며 따라치고 잘 모르겠는 개념이 나오면 구글링후 메모하는 용도로 만들었습니다.<br> > 틀린 내용이 있다면 편하게 댓글로 알려주세요! ## 초기 세팅 ``` npm i express express-validator bcryptjs request config gravatar jsonwebtoken mongoose axios npm i -D nodemon concurrently ``` - express-validator: 유효값 검사를 한다. Ex)회원가입시 중복된 닉네임 혹은 이메일 검사 - [자세히](https://2ssue.github.io/programming/express-validator/)<br> - concurrently:리액트 서버와 express 서버를 동시 실행해주는 역할을 한다. - npm i request: 브라우저에서 자바스크립트를 쓴다면 Fetch라는 내장 모듈이 있지만 Node.js에서 가장 많이 HTTP 네트워크 라이브러리는 단연 Request.js이다. - [자세히](https://medium.com/harrythegreat/node-js%EC%97%90%EC%84%9C-request-js-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0-28744c52f68d)<br> - gravatar: 아바타를 편하게 가져와준다. ## server.js 및 라우터 > 이 강의에서는 프론트서버만 나누고, 서버폴더를 따로 두지않습니다.(아직 까진 서버쪽 세팅중이라 프론트폴더는 생성 전 입니다.)<br> > 기본적인 라우터를 생성 및 연결하고, config/db.js를 불러와 서버에 몽고db를 연결해줍니다. - server.js ```javascript const express = require('express'); const connectDB = require('./config/db'); const app = express(); // Connect Database connectDB(); app.get('/', (req, res) => res.send('API Running')); // Define Routes app.use('/api/users', require('./routes/api/users')); app.use('/api/auth', require('./routes/api/auth')); app.use('/api/profile', require('./routes/api/profile')); app.use('/api/posts', require('./routes/api/posts')); const PORT = process.env.PORT || 5000; app.listen(PORT, () => console.log(`Server started on port${PORT}`)); ``` - routes/api/auth > 이후 routes/api/users,posts,profile파일도 다 똑같이 세팅 ```javascript const express = require('express'); const router = express.Router(); // @route Get api/auth // @desc Test route // @access Public router.get('/', (req, res) => res.send('User route')); module.exports = router; ``` ## config폴더 구성 및 db.js - config/db.js ```javascript const mongoose = require('mongoose'); const config = require('config'); const db = config.get('mongoURI'); const connectDB = async () => { try { await mongoose.connect(db, { useUnifiedTopology: true, useNewUrlParser: true, }); console.log('MongoDB Connected...'); } catch (err) { console.error(err.message); // 실패한 프로세스 종료 process.exit(1); } }; module.exports = connectDB; ``` - config/default.json ``` { "mongoURI": "mongodb+srv://<몽고ID>:<password>@@cluster0.pr8qg.mongodb.net/<dbname>?retryWrites=true&w=majority" } ``` ## 최종 프로젝트 구조 <img src="https://media.vlpt.us/images/wndtlr1024/post/e3636b35-6c03-4dda-90c7-eb88ae9f984f/image.png" alt="views"> `: 이 카테고리는 개인 메모를 하는곳이므로, 이후 개발진행과정은 자세한 포스팅은 하지않겠습니다.`
23.627119
182
0.680416
kor_Hang
0.987415
aaa06f7b850129f653e12ee4fde239306b124efd
5,288
md
Markdown
README.md
inventionate/laravel-visual-testing
495599d1fa902d56ce109a4275168bdf1ebd370d
[ "MIT" ]
null
null
null
README.md
inventionate/laravel-visual-testing
495599d1fa902d56ce109a4275168bdf1ebd370d
[ "MIT" ]
null
null
null
README.md
inventionate/laravel-visual-testing
495599d1fa902d56ce109a4275168bdf1ebd370d
[ "MIT" ]
null
null
null
# Visual UI screenshot testing for Laravel Dusk [![Latest Version on Packagist](https://img.shields.io/packagist/v/stechstudio/laravel-visual-testing.svg?style=flat-square)](https://packagist.org/packages/stechstudio/laravel-visual-testing) [![Quality Score](https://img.shields.io/scrutinizer/g/stechstudio/laravel-visual-testing.svg?style=flat-square)](https://scrutinizer-ci.com/g/stechstudio/laravel-visual-testing) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md) ![Build Status](https://app.chipperci.com/projects/5cc95e3c-628f-48c6-815c-1f16621c9514/status/master) <!--- [![Total Downloads](https://img.shields.io/packagist/dt/stechstudio/laravel-visual-testing.svg?style=flat-square)](https://packagist.org/packages/stechstudio/laravel-visual-testing) --> This package extends Dusk with the ability to do visual diffs with the [Percy visual testing](https://percy.io/) platform. ### Why write visual tests? If you are new to the idea of visual testing we recommend reading through [Visual testing and visual diffs](https://blog.percy.io/product-spotlight-series-visual-testing-and-visual-diffs-6a1fc540fc93) on the Percy blog. > Sometimes called visual regression testing or UI testing, visual testing is the process of automatically discovering and reviewing software for perceptual changes. > > **Visual testing is all about what your users actually see and interact with.** This form of testing is very useful in cases where you want to guard against unexpected changed to your UI. Visual testing is not meant to replace your Laravel unit/feature/browser tests, but rather provide another tool in your testing toolbox. ## Getting started This package integrates with [Laravel Dusk](https://laravel.com/docs/master/dusk). If you haven't already, first go through the Dusk [installation steps](https://laravel.com/docs/master/dusk#installation) and make sure you can run the example test with `php artisan dusk`. Next: 1. Sign up for a free account at [percy.io](https://percy.io) and create your first project. Put your `PERCY_TOKEN` in your Laravel .env file (or [specific dusk environment files](https://laravel.com/docs/5.7/dusk#environment-handling) if you are using those). ``` PERCY_TOKEN=aaabbbcccdddeeefff ``` 2. Install the [`@percy/agent`](https://www.npmjs.com/package/@percy/agent) NPM package. ``` npm install --save-dev @percy/agent ``` 3. Install this composer package. ``` composer require stechstudio/laravel-visual-testing --dev ``` ## How to use To take a snapshot call `snapshot()` on the browser instance in any of your Dusk tests. ```php $browser->visit('/auth/login') ->snapshot(); ``` Then run your test suite like your normally would. ``` php artisan dusk ``` ### Naming your snapshots By default the name of your snapshot will be the relative URL of the page (e.g. `/auth/login`). You can also pass in your own name when taking the snapshot. ```php $browser->visit('/auth/login') ->snapshot('Login page'); ``` ### Snapshot options You can pass in an array of options when taking a snapshot: - `widths`: An array of integers representing the browser widths at which you want to take snapshots. - `minHeight`: An integer specifying the minimum height of the resulting snapshot, in pixels. Defaults to 1024px. ```php $browser->visit('/auth/login') ->snapshot('Login page', [ 'widths' => [768, 992, 1200] ]); ``` ### Disabling snapshots If you want to run your tests without snapshots, use the `--without-percy` command line option. ### Selecting base build branch Percy uses a variety of strategies to determine the optimal base build for comparison. For details see [Base build selection](https://docs.percy.io/docs/baseline-picking-logic). If you want to override and specify your own base you have two options: - `--percy-target-branch` : Specify base by branch name - `--percy-target-commit` : Specify by target commit SHA (only works if there is a finished Percy build for that commit) ## Basic example Open the example test at `tests/Browser/ExampleTest.php`. Add a call to `snapshot()` right after the `visit`, and pass in a name for your snapshot. ```php public function testBasicExample() { $this->browse(function (Browser $browser) { $browser->visit('/') ->snapshot('basic-example') // <-- add this ->assertSee('Laravel'); }); } ``` Now go run your test: ``` php artisan dusk ``` If all goes well, you should see output similar to this: ``` $ php artisan dusk [percy] created build #1 [percy] percy has started. [percy] snapshot taken: 'basic-example' . 1 / 1 (100%) Time: 2.37 seconds, Memory: 22.00MB OK (1 test, 1 assertion) [percy] stopping percy... [percy] waiting for 1 snapshots to complete... [percy] done. [percy] finalized build #1 ``` Now go check out your Percy dashboard, and you should see the new build. ![](docs/first-run.png) At this point it won't have anything to compare the snapshot to. But if you go modify the `welcome.blade.php` file and run it again, you'll get a nice visual diff of your change. ![](docs/second-run.png)
37.503546
272
0.719365
eng_Latn
0.974411
aaa0e569d6ff70ba82e27aecbf78f34000a61a7a
3,202
md
Markdown
CSS_GUIDE.md
SevereCloud/VKUI
9767f4f066066bf4ae477818afdbe47ba7cb2519
[ "MIT" ]
1
2022-03-14T08:27:49.000Z
2022-03-14T08:27:49.000Z
CSS_GUIDE.md
SevereCloud/VKUI
9767f4f066066bf4ae477818afdbe47ba7cb2519
[ "MIT" ]
1
2022-01-21T15:05:45.000Z
2022-01-21T15:09:37.000Z
CSS_GUIDE.md
SevereCloud/VKUI
9767f4f066066bf4ae477818afdbe47ba7cb2519
[ "MIT" ]
null
null
null
# Гайд по написанию стилей ## Соглашения - Используем БЭМ-нотацию - Блок начинается с заглавной буквы: `.Checkbox` - Многословный блок разделяется через camelCase: `.SimpleCheckbox` - Элемент от блока отделяется двумя подчеркиваниями: `.Checkbox__in` - Многословные элементы разделяются через kebab-case: `.Banner__before-title` - Модификатор отделяется двумя дефисами: `.Input--plain` - Многословные модификаторы разделяются через kebab-case или camelCase: `.Checkbox--sizeX-regular` ### Связность стилей Если компонент состоит из других компонентов, то для их модификации используем БЭМ-миксин. Пример: ```tsx // Button.tsx <button vkuiClass="Button"> <Text vkuiClass="Button__text">{children}</Text> </button> ``` ```css /* Button.css */ .Button__text { margin: 4px 0; } ``` Если в компонент прокидываются другие компоненты извне, то для их модификации используем обращение к блоку. Пример: ```tsx // Cell.tsx <div vkuiClass="Cell"> {before} {/* В before может быть <Icon /> или <Avatar /> */} </div> ``` ```css /* Cell.css */ .Cell .Icon { margin-right: 10px; } .Cell .Avatar { margin-right: 8px; } ``` Таких ситуаций стоит избегать, так как подобное связывание лишает нас возможности в будущем хешировать имена классов с помощью css-modules. ## Проблемы ### Конфликт стилей блока и миксина ```css /* Text.css */ .Text { margin: 0; } ``` ```css /* Button.css */ .Button__text { margin: 4px 0; } ``` Вес селекторов одинаковый, поэтому применится последний по порядку. Рассчитывать на порядок сложно, так как он может меняться, если собирать стили вебпаком. #### Решение Избегать правил на блоке, которые могут быть в миксине. Список правил, которых стоит избегать: - display; - margin; - position; - left, right, top, bottom; - transform: translate ### Сброс стилей Допустим, мы делаем компонент типографики. Для семантики мы даём возможность рендерить любой html-элемент. В итоге, если пользователь рендерит, допустим, `h1`, у него появляются дефолтные браузерные `margin`. Наше решение такое: ```css /* Title.css */ .Title { /*...*/ margin: 0; /* или любое другое значение, диктуемое дизайном */ } ``` Решение приводит нас к предыдущей проблеме. #### Решение В таком случае необходимо снабдить компонент режимом `withSpaces`, который если `false`, то никакие `margin` на блок не навешиваются. ### Нормализация стилей Допустим, мы делаем компонент кнопки. Согласно дизайну, кнопка может быть ссылкой. Поэтому Button мы тоже наделяем возможностью рендерить любой html-элемент, в том числе `a`. В силу ряда стилей нам необходимо, что кнопка не была инлайновой. Поэтому мы пишем следующее: ```css /* Button.css */ .Button { /* ... */ display: inline-block; } ``` Теперь те, кто хочет скрыть кнопку, используя миксин, столкнутся с проблемой конфликта блока и миксина. #### Решение В данном случае мы можем только порекомендовать разработчикам оборачивать кнопку в условный `div`. ### Обращения к элементам другого блока ```css /* Banner.css */ .Banner .Button__in { padding-top: 4px; } ``` Мы завязываемся на реализацию другого компонента. Это плохо, так как реализация может меняться. #### Решение Не обращаться к элементам другого блока
21.931507
118
0.73173
rus_Cyrl
0.97679
aaa1216cde3649323f62a59652bbf2b7659daba0
9,015
md
Markdown
docs/deployment/how-to-manage-updates-for-a-clickonce-application.md
1DanielaBlanco/visualstudio-docs.es-es
9e934cd5752dc7df6f5e93744805e3c600c87ff0
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/deployment/how-to-manage-updates-for-a-clickonce-application.md
1DanielaBlanco/visualstudio-docs.es-es
9e934cd5752dc7df6f5e93744805e3c600c87ff0
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/deployment/how-to-manage-updates-for-a-clickonce-application.md
1DanielaBlanco/visualstudio-docs.es-es
9e934cd5752dc7df6f5e93744805e3c600c87ff0
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Procedimientos para administrar actualizaciones de aplicaciones ClickOnce | Microsoft Docs ms.date: 11/04/2016 ms.topic: conceptual f1_keywords: - Microsoft.VisualStudio.Publish.ClickOnceProvider.Dialog.Update dev_langs: - VB - CSharp - C++ helpviewer_keywords: - ClickOnce deployment, managing applications - ClickOnce deployment, updates - updating data, ClickOnce - application updates ms.assetid: a3f23f05-e7f1-4620-b23c-2d68f9643684 author: mikejo5000 ms.author: mikejo manager: jillfra ms.workload: - multiple ms.openlocfilehash: 591f69ddc1ac163858c3d3a2b2ce8721c27e16b6 ms.sourcegitcommit: 2193323efc608118e0ce6f6b2ff532f158245d56 ms.translationtype: MTE95 ms.contentlocale: es-ES ms.lasthandoff: 01/25/2019 ms.locfileid: "54955913" --- # <a name="how-to-manage-updates-for-a-clickonce-application"></a>Procedimientos para administrar actualizaciones de aplicaciones ClickOnce [!INCLUDE[ndptecclick](../deployment/includes/ndptecclick_md.md)] las aplicaciones pueden buscar actualizaciones automáticamente o mediante programación. Como desarrollador, tiene mucha flexibilidad para especificar cuándo y cómo se realizan comprobaciones de actualización, si éstas son obligatorias y donde la aplicación debe buscar actualizaciones. Puede configurar la aplicación para buscar actualizaciones automáticamente antes de se inicia la aplicación o a intervalos establecidos tras iniciar la aplicación. Además puede especificar la versión mínima requerida; es decir, se instala una actualización si la versión del usuario es inferior a la versión necesaria. Puede configurar la aplicación para comprobar las actualizaciones mediante programación en función de un evento como una solicitud de usuario. El procedimiento "para buscar actualizaciones mediante programación" en este tema se muestra cómo podría escribir código que usa el <xref:System.Deployment.Application.ApplicationDeployment> clase para comprobar si hay actualizaciones en función de un evento. También puede implementar su aplicación desde una ubicación y actualizarla desde otra. Consulte el procedimiento "para"especificar una ubicación de actualización diferente. Para obtener más información, consulte [elegir una estrategia de actualización de ClickOnce](../deployment/choosing-a-clickonce-update-strategy.md). Comportamiento de actualización se administra en el **actualizaciones de la aplicación** cuadro de diálogo, disponible desde el **publicar** página de la **Diseñador de proyectos.** ### <a name="to-check-for-updates-before-the-application-starts"></a>Comprobar si hay actualizaciones antes de iniciar la aplicación 1. Seleccione un proyecto en el **Explorador de soluciones**y, en el menú **Proyecto** , haga clic en **Propiedades**. 2. Haga clic en la pestaña **Publicar**. 3. Haga clic en el **actualizaciones** botón para abrir el **actualizaciones de la aplicación** cuadro de diálogo. 4. En el **actualizaciones de la aplicación** diálogo cuadro, asegúrese de que el **la aplicación debe buscar actualizaciones** casilla está activada. 5. En el **Elija cuándo debe buscar actualizaciones la aplicación** sección, seleccione **antes de iniciar la aplicación**. Esto garantiza que los usuarios conectados a la red siempre ejecutan la aplicación con las últimas actualizaciones. ### <a name="to-check-for-updates-in-the-background-after-the-application-starts"></a>Buscar actualizaciones en segundo plano después de iniciar la aplicación 1. Seleccione un proyecto en el **Explorador de soluciones**y, en el menú **Proyecto** , haga clic en **Propiedades**. 2. Haga clic en la pestaña **Publicar**. 3. Haga clic en el **actualizaciones** botón para abrir el **actualizaciones de la aplicación** cuadro de diálogo. 4. En el **actualizaciones de la aplicación** diálogo cuadro, asegúrese de que la casilla de verificación **la aplicación debe buscar actualizaciones** está seleccionada. 5. En el **Elija cuándo debe buscar la aplicación para la sección actualizaciones**, seleccione **tras iniciar la aplicación**. La aplicación se iniciará más rápidamente de esta manera, y, a continuación, se buscan actualizaciones en segundo plano y solo notifica al usuario cuando hay disponible una actualización. Una vez instalado, las actualizaciones no surtirán efecto hasta que se reinicie la aplicación. 6. En el **especificar con qué frecuencia debe buscar actualizaciones la aplicación** sección, seleccione **comprobar cada vez que se ejecuta la aplicación** (valor predeterminado) o **comprobar cada** y escriba un número e intervalo de tiempo. ### <a name="to-specify-a-minimum-required-version-for-the-application"></a>Para especificar una versión mínima requerida para la aplicación 1. Seleccione un proyecto en el **Explorador de soluciones**y, en el menú **Proyecto** , haga clic en **Propiedades**. 2. Haga clic en la pestaña **Publicar**. 3. Haga clic en el **actualizaciones** botón para abrir el **actualizaciones de la aplicación** cuadro de diálogo. 4. En el **actualizaciones de la aplicación** diálogo cuadro, asegúrese de que el **la aplicación debe buscar actualizaciones** casilla está activada. 5. Seleccione el **especifique una versión mínima requerida para esta aplicación** casilla de verificación y, a continuación, escriba **principales**, **menores**, **compilar**y **Revisión** números de la aplicación. ### <a name="to-specify-a-different-update-location"></a>Para especificar una ubicación de actualización diferente 1. Seleccione un proyecto en el **Explorador de soluciones**y, en el menú **Proyecto** , haga clic en **Propiedades**. 2. Haga clic en la pestaña **Publicar**. 3. Haga clic en el **actualizaciones** botón para abrir el **actualizaciones de la aplicación** cuadro de diálogo. 4. En el **actualizaciones de la aplicación** diálogo cuadro, asegúrese de que el **la aplicación debe buscar actualizaciones** casilla está activada. 5. En el **Actualizar ubicación** , introduzca la ubicación de actualización con una dirección URL completa, con el formato *http://Hostname/ApplicationName*, o una ruta UNC con el formato *\\\Server\ ApplicationName*, o haga clic en el **examinar** botón para buscar la ubicación de actualización. ### <a name="to-check-for-updates-programmatically"></a>Para comprobar las actualizaciones mediante programación 1. Seleccione un proyecto en el **Explorador de soluciones**y, en el menú **Proyecto** , haga clic en **Propiedades**. 2. Haga clic en la pestaña **Publicar**. 3. Haga clic en el **actualizaciones** botón para abrir el **actualizaciones de la aplicación** cuadro de diálogo. 4. En el **actualizaciones de la aplicación** diálogo cuadro, asegúrese de que el **la aplicación debe buscar actualizaciones** casilla está desactivada. (Si lo desea, puede seleccionar esta casilla para comprobar las actualizaciones mediante programación y también permiten el tiempo de ejecución de ClickOnce comprobación automática de actualizaciones). 5. En el **Actualizar ubicación** , introduzca la ubicación de actualización con una dirección URL completa, con el formato *http://Hostname/ApplicationName*, o una ruta UNC con el formato *\\\Server\ ApplicationName*, o haga clic en el **examinar** botón para buscar la ubicación de actualización. La ubicación de actualización es donde la aplicación buscará una versión actualizada de sí mismo. 6. Crear un botón, el elemento de menú o el otro elemento de interfaz de usuario en un formulario de Windows que se seleccionarán los usuarios para comprobar si hay actualizaciones. Desde el controlador de eventos de ese elemento, llame a un método para buscar e instalar las actualizaciones. Puede encontrar un ejemplo de código de Visual Basic y Visual C# para este tipo de método en [Cómo: buscar actualizaciones de aplicaciones mediante programación con la API de implementación ClickOnce](../deployment/how-to-check-for-application-updates-programmatically-using-the-clickonce-deployment-api.md). 7. Compile la aplicación. ## <a name="see-also"></a>Vea también <xref:System.Deployment.Application.ApplicationDeployment> [Cuadro de diálogo Actualizaciones de la aplicación](/previous-versions/visualstudio/visual-studio-2010/axw1fa38(v=vs.100)) [Selección de una estrategia de actualización de ClickOnce](../deployment/choosing-a-clickonce-update-strategy.md) [Publicar aplicaciones ClickOnce](../deployment/publishing-clickonce-applications.md) [Procedimientos para publicar una aplicación ClickOnce mediante el Asistente para publicación](../deployment/how-to-publish-a-clickonce-application-using-the-publish-wizard.md) [Procedimientos para buscar actualizaciones de aplicaciones mediante programación a través de la API de implementación ClickOnce](../deployment/how-to-check-for-application-updates-programmatically-using-the-clickonce-deployment-api.md)
79.078947
604
0.777815
spa_Latn
0.978618