hexsha
stringlengths 40
40
| size
int64 5
1.04M
| ext
stringclasses 6
values | lang
stringclasses 1
value | max_stars_repo_path
stringlengths 3
344
| max_stars_repo_name
stringlengths 5
125
| max_stars_repo_head_hexsha
stringlengths 40
78
| max_stars_repo_licenses
sequencelengths 1
11
| max_stars_count
int64 1
368k
⌀ | max_stars_repo_stars_event_min_datetime
stringlengths 24
24
⌀ | max_stars_repo_stars_event_max_datetime
stringlengths 24
24
⌀ | max_issues_repo_path
stringlengths 3
344
| max_issues_repo_name
stringlengths 5
125
| max_issues_repo_head_hexsha
stringlengths 40
78
| max_issues_repo_licenses
sequencelengths 1
11
| max_issues_count
int64 1
116k
⌀ | max_issues_repo_issues_event_min_datetime
stringlengths 24
24
⌀ | max_issues_repo_issues_event_max_datetime
stringlengths 24
24
⌀ | max_forks_repo_path
stringlengths 3
344
| max_forks_repo_name
stringlengths 5
125
| max_forks_repo_head_hexsha
stringlengths 40
78
| max_forks_repo_licenses
sequencelengths 1
11
| max_forks_count
int64 1
105k
⌀ | max_forks_repo_forks_event_min_datetime
stringlengths 24
24
⌀ | max_forks_repo_forks_event_max_datetime
stringlengths 24
24
⌀ | content
stringlengths 5
1.04M
| avg_line_length
float64 1.14
851k
| max_line_length
int64 1
1.03M
| alphanum_fraction
float64 0
1
| lid
stringclasses 191
values | lid_prob
float64 0.01
1
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2eb0f38a85f1159e276846525544d893828d9781 | 2,255 | md | Markdown | CHANGELOG.md | vatbub/vatbubgitreports2 | 88edfbe4519e4697bbeabf180d93f9cc6502cfbe | [
"Apache-2.0"
] | 1 | 2017-06-21T02:00:37.000Z | 2017-06-21T02:00:37.000Z | CHANGELOG.md | vatbub/vatbubgitreports2 | 88edfbe4519e4697bbeabf180d93f9cc6502cfbe | [
"Apache-2.0"
] | 7 | 2017-06-21T02:22:28.000Z | 2022-03-01T04:03:11.000Z | CHANGELOG.md | vatbub/vatbubgitreports2 | 88edfbe4519e4697bbeabf180d93f9cc6502cfbe | [
"Apache-2.0"
] | null | null | null | # Change Log
## [Unreleased](https://github.com/vatbub/vatbubgitreports2/tree/HEAD)
[Full Changelog](https://github.com/vatbub/vatbubgitreports2/compare/githubjavaapi...HEAD)
**Merged pull requests:**
- Bump heroku-maven-plugin from 3.0.2 to 3.0.4 [\#16](https://github.com/vatbub/vatbubgitreports2/pull/16) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Bump heroku-maven-plugin from 2.0.16 to 3.0.1 [\#13](https://github.com/vatbub/vatbubgitreports2/pull/13) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Bump parentPom from 1.0.1-SNAPSHOT to 1.0.3-SNAPSHOT [\#11](https://github.com/vatbub/vatbubgitreports2/pull/11) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Bump heroku-maven-plugin from 1.1.3 to 2.0.16 [\#10](https://github.com/vatbub/vatbubgitreports2/pull/10) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Bump org.eclipse.egit.github.core from 3.4.0.201406110918-r to 4.1.0.201509280440-r [\#9](https://github.com/vatbub/vatbubgitreports2/pull/9) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Bump gson from 2.8.2 to 2.8.6 [\#8](https://github.com/vatbub/vatbubgitreports2/pull/8) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Bump maven-dependency-plugin from 2.3 to 3.1.1 [\#7](https://github.com/vatbub/vatbubgitreports2/pull/7) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Bump common.internet from 0.1.2-SNAPSHOT to 0.1.6-SNAPSHOT [\#6](https://github.com/vatbub/vatbubgitreports2/pull/6) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Bump javax.mail from 1.6.0 to 1.6.2 [\#4](https://github.com/vatbub/vatbubgitreports2/pull/4) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Bump javax.mail-api from 1.6.0 to 1.6.2 [\#2](https://github.com/vatbub/vatbubgitreports2/pull/2) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
## [githubjavaapi](https://github.com/vatbub/vatbubgitreports2/tree/githubjavaapi) (2017-01-24)
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* | 98.043478 | 215 | 0.751663 | yue_Hant | 0.459608 |
2eb1468f13c382fa6be0496f2a18be7c29202c80 | 111 | md | Markdown | broken-site/blog-drafts/newsletter-systems/substack-revue.md | nickeblewis/theramblingphotographer | 9bd4b75afd5149c82a727230016a7cf7de8329eb | [
"MIT"
] | 1 | 2019-08-09T06:38:10.000Z | 2019-08-09T06:38:10.000Z | broken-site/blog-drafts/newsletter-systems/substack-revue.md | nickeblewis/nicklewis.net.7 | 8af036cce1241b78c21e07b0c9a662e447fadaea | [
"MIT"
] | 16 | 2021-03-09T23:33:32.000Z | 2022-02-27T02:42:50.000Z | broken-site/blog-drafts/newsletter-systems/substack-revue.md | nickeblewis/nicklewis.net.7 | 8af036cce1241b78c21e07b0c9a662e447fadaea | [
"MIT"
] | null | null | null | is this the new model? Can you become rich?
focus not on money but on what you are good at, the rest will come | 37 | 66 | 0.756757 | eng_Latn | 1.000009 |
2eb14bd3fd8e0042f12c1256abbad711248b5126 | 426 | md | Markdown | README.md | itxtoledo/stremio-brazilian-addon | e9699aa04dcb3d1f12de68973dc8e06dafcd6fb0 | [
"MIT"
] | 13 | 2020-04-20T00:05:25.000Z | 2021-11-16T11:20:23.000Z | README.md | victorgveloso/MagnetToMeta | 5368e06cd1b4f82bf1acffd16f7417b322f42d2e | [
"Apache-2.0"
] | 9 | 2020-04-21T20:59:35.000Z | 2022-01-22T11:42:45.000Z | README.md | itxtoledo/stremio-brazilian-addon | e9699aa04dcb3d1f12de68973dc8e06dafcd6fb0 | [
"MIT"
] | 4 | 2021-01-07T20:52:56.000Z | 2022-01-31T19:36:43.000Z | # Stremio Brazilian Add-on

### How to add add-on to Stremio?
Add `https://27a5b2bfe3c0-stremio-brazilian-addon.baby-beamup.club/` as an Add-on URL in Stremio.
### Como adicionar o addon no Stremio?
Adicione a url `https://27a5b2bfe3c0-stremio-brazilian-addon.baby-beamup.club/` no campo Add-on URL do Stremio.
| 38.727273 | 111 | 0.767606 | kor_Hang | 0.114226 |
2eb21fa06adf3574113243a24abf3c1f6148a97b | 837 | md | Markdown | company-profiles/reducer.md | 2kindsofcs/remote-jobs | 1929badd296fb98eea37dee89ba242f76e108453 | [
"CC0-1.0"
] | 14,252 | 2017-09-09T13:12:05.000Z | 2022-03-31T21:15:34.000Z | company-profiles/reducer.md | 2kindsofcs/remote-jobs | 1929badd296fb98eea37dee89ba242f76e108453 | [
"CC0-1.0"
] | 776 | 2017-09-09T18:08:29.000Z | 2022-03-31T10:56:59.000Z | company-profiles/reducer.md | 2kindsofcs/remote-jobs | 1929badd296fb98eea37dee89ba242f76e108453 | [
"CC0-1.0"
] | 1,738 | 2017-09-08T20:56:15.000Z | 2022-03-30T20:13:34.000Z | # Reducer
## Company blurb
Reducer simplifies business price comparison down to a single click.
Traditional price comparison sites don't work, because customers have to find their bills and enter lots of data into web forms. Reducer works differently. We integrate with your cloud accounting platform and analyse the data there. This means we can find your business savings across 8 different spend areas in just one click.
## Company size
15
## Remote status
We have an office in Central London. We have fully remote staff (mainly developers) as well as staff who work full-time at the office. Employees choose how much they want to work in the office.
## Region
UK-based only
## Company technologies
VueJS, Javascript, Java, Spring, AWS
## Office locations
London
## How to apply
Visit [Reducer](https://reducer.co.uk)
| 26.15625 | 327 | 0.772999 | eng_Latn | 0.999412 |
2eb279bac0d1d3068210b28c33ee1c3630718c67 | 2,134 | md | Markdown | _posts/产品/2021-08-06-unstoppable-domains-circle.md | dbarobin/dbarobin.github.io | 7cec8aa8d81c02690b2c6aeeabb3e3665cd07da5 | [
"MIT"
] | 19 | 2015-01-06T03:04:05.000Z | 2022-01-30T04:48:25.000Z | _posts/产品/2021-08-06-unstoppable-domains-circle.md | dbarobin/dbarobin.github.io | 7cec8aa8d81c02690b2c6aeeabb3e3665cd07da5 | [
"MIT"
] | 662 | 2019-07-18T08:40:39.000Z | 2021-11-07T13:13:00.000Z | _posts/产品/2021-08-06-unstoppable-domains-circle.md | dbarobin/dbarobin.github.io | 7cec8aa8d81c02690b2c6aeeabb3e3665cd07da5 | [
"MIT"
] | 22 | 2015-10-15T04:52:57.000Z | 2020-04-16T02:19:33.000Z | ---
published: true
author: Robin Wen
layout: post
title: Unstoppable Domains 推出 .coin 域名
category: 产品
summary: "2021 年 8 月 6 日,区块链域名服务商 Unstoppable Domains 与 USDC 发行商 Circle 达成合作,将发布用于 USDC 支付转账的可读「.coin」域名方案,通过支持跨钱包和加密货币交易所的「.coin」域名扩展,实现类似于发送电子邮件的 USDC 支付转账体验,预计会减轻将 USDC 转账到错误地址等问题。根据 Unstoppable Domains 官方披露的团队人员,这个产品背后的团队高达 61 人,也是一个人数不小的加密货币行业团队。如果大家感兴趣,可以去体验下 Unstoppable Domains 这个产品。"
tags:
- 产品
- UnstoppableDomains
- Circle
- USDC
---
`文/Robin`
***

2021 年 8 月 6 日,区块链域名服务商 Unstoppable Domains 与 USDC 发行商 Circle 达成合作,将发布用于 USDC 支付转账的可读「.coin」域名方案,通过支持跨钱包和加密货币交易所的「.coin」域名扩展,实现类似于发送电子邮件的 USDC 支付转账体验,预计会减轻将 USDC 转账到错误地址等问题。
我们来梳理下知名的去中心化域名服务都有哪些后缀:
* Ethereum Name Service:.eth;
* Unstoppable Domains:.zil、.crypto、.coin、.wallet、.bitcoin、.x、.888、.nft、.dao、.blockchain;
* DAS:.bit。
Unstoppable Domains 支持 10 种后缀,可以说是秒杀 Ethereum Name Service 和 DAS。
根据 Unstoppable Domains 官方的数据,目前有 120 万的域名注册,3.5 亿的浏览器兼容数,支持 200 多种币种。
不过 Unstoppable Domains 有意思的是,购买所有域名只需一次性付款,无需续费,所以上面的域名普遍偏贵。然而 Ethereum Name Service 和 DAS 采用的都是购买后续费模式。
Unstoppable Domains 推出的 .crypto 可以说是最受欢迎的后缀,而且得到 Brave 和 Opera 浏览器的原生支持,Chrome、Firefox、Edge 可以通过插件支持。此外,支持 .crypto 的应用也非常多,高达 72 个,不过主要都是钱包。
根据 Unstoppable Domains 官方披露的团队人员,这个产品背后的团队高达 61 人,也是一个人数不小的加密货币行业团队。
如果大家感兴趣,可以去体验下 Unstoppable Domains 这个产品。
***
「区块链罗宾」知识星球,长按以下二维码加入。

***
我是区块链罗宾,博客 [dbarobin.com](https://dbarobin.com/)。如果您想和我交流,我的 Mixin: **26930**

***
**本站推广**
币安是全球领先的数字货币交易平台,提供比特币、以太坊、BNB 以及 USDT 交易。
* 币安注册: [https://accounts.binancezh.io/cn/register/?ref=11190872](https://accounts.binancezh.io/cn/register/?ref=11190872)
* 邀请码: **11190872**
***
本博客开通了 Donate Cafe 打赏,支持 Mixin Messenger、Blockin Wallet、imToken、Blockchain Wallet、Ownbit、Cobo Wallet、bitpie、DropBit、BRD、Pine、Secrypto 等任意钱包扫码转账。
<center>
<div class="--donate-button"
data-button-id="f8b9df0d-af9a-460d-8258-d3f435445075"
></div>
</center>
***
–EOF–
版权声明:[自由转载-非商用-非衍生-保持署名(创意共享4.0许可证)](http://creativecommons.org/licenses/by-nc-nd/4.0/deed.zh) | 28.078947 | 292 | 0.755858 | yue_Hant | 0.88663 |
2eb2a0e870e3723062fde4e1b21c41222f3207bd | 2,658 | md | Markdown | README.md | stanford-oval/ethereum-audit | 27bb916d0bb8d5e9f330f55b7655071575eb78a7 | [
"Apache-2.0"
] | 1 | 2019-01-19T20:48:26.000Z | 2019-01-19T20:48:26.000Z | README.md | stanford-oval/ethereum-audit | 27bb916d0bb8d5e9f330f55b7655071575eb78a7 | [
"Apache-2.0"
] | 1 | 2019-01-17T22:03:44.000Z | 2019-01-17T22:03:44.000Z | README.md | Stanford-Mobisocial-IoT-Lab/ethereum-audit | 27bb916d0bb8d5e9f330f55b7655071575eb78a7 | [
"Apache-2.0"
] | 1 | 2020-08-14T19:33:16.000Z | 2020-08-14T19:33:16.000Z | # ethereum-audit
A library to write audit records on the Ethereum blockchain
## Installation
```bash
$ npm install
```
## Usage
```
const EthAudit = require('ethereum-audit');
```
## Running Examples
```
Usage:
$ node samples/eth_audit_sample.js [options]
$ DEBUG=eth_audit_log node samples/eth_audit_sample.js [options]
Options:
-u unlock the ETH account for sending transactions
-a query the ETH accounts in the node
-i insert audit data (reqbody.key, reqbody.data)
-d get audit data (reqbody.key)
-c get audit data count
-k get audit key (reqbody.index)
-o add a new owner who is authorized to insert audit data (reqbody.addr)
-w check whether the account address is one of the owners (reqbody.addr)
-l get all audit data
```
## Sample Inputs & Outputs
```
reqbody_sample.json
{
"key": "testKey2",
"data": "testData2",
"addr": "0x79724b56359De5eb5B368151AF1A16DD7229335f",
"index": "1"
}
```
```bash
$ node samples/eth_audit_sample.js -u
[Input] (none)
[Output] {"result":true}
$ node samples/eth_audit_sample.js -a
[Input] (none)
[Output] {"result":["0x78E030450c0B4f41a97134AA0F77099705f9Bb41","0x79724b56359De5eb5B368151AF1A16DD7229335f"]}
$ node samples/eth_audit_sample.js -i
[Input] reqbody.key, reqbody.data
[Output] {"result":"Transaction is received and written."}
$ node samples/eth_audit_sample.js -d
[Input] reqbody.key
[Output] {"result":"testData2"}
$ node samples/eth_audit_sample.js -c
[Input] (none)
[Output] {"result":"2"}
$ node samples/eth_audit_sample.js -k
[Input] reqbody.index
[Output] {"result":{"1":"testKey2"}}
$ node samples/eth_audit_sample.js -o
[Input] reqbody.addr
[Output] {"result":"Transaction is received and written."}
$ node samples/eth_audit_sample.js -w
[Input] reqbody.addr
[Output] {"result":true}
$ node samples/eth_audit_sample.js -l
[Input] (none)
[Output] {"result":[{"testKey1":"testData1"},{"testKey2":"testData2"}]}
```
## Sample Code
```
/*
Configuration Example
https://github.com/Stanford-Mobisocial-IoT-Lab/ethereum-audit/blob/master/samples/config_sample.json
*/
const EthAudit = require('ethereum-audit');
const config = require('./config_sample.json');
const _ethaudit = new EthAudit(config);
const reqbody = {
"key": "testKey",
"data": "testData"
};
try {
let unlock = await _etaudit.unlockEthAccount();
console.log(unlock); // {"result":true}
let result = await _ethaudit.insertAuditData(reqbody);
console.log(result); // {"result":"Transaction is received and written."}
} catch (error) {
console.log(error);
}
```
## Unitests
```bash
$ npm run test
```
TODO
| 22.336134 | 111 | 0.691497 | eng_Latn | 0.376521 |
2eb374f66e58f0a310f9250b379e39cb2fb0dba5 | 1,077 | md | Markdown | docs/src/components/Pages/Docs/Routing/01-Creating-Routes.md | sammysaglam/axe-framework | 79351db276690934282b8e3be3ea35ab6cb5f689 | [
"MIT"
] | 4 | 2017-06-29T12:54:44.000Z | 2018-07-22T10:39:49.000Z | docs/src/components/Pages/Docs/Routing/01-Creating-Routes.md | sammysaglam/axe-framework | 79351db276690934282b8e3be3ea35ab6cb5f689 | [
"MIT"
] | null | null | null | docs/src/components/Pages/Docs/Routing/01-Creating-Routes.md | sammysaglam/axe-framework | 79351db276690934282b8e3be3ea35ab6cb5f689 | [
"MIT"
] | null | null | null | # Creating Routes
## Routes file path
Axe will load the following file; all your routing configuration must be here. If the file does
not exist, the default routes will be created.
```bash no-line-numbers
YOUR_SITE_PATH/application/config/routes.php
```
## Adding routes
To add routes, always use `Route::override`
### Route::override
```php no-line-numbers
Route::override(
$regex_pattern: array | string,
null,
$callback_function: function
)
```
#### example usage
```php
<?php
$regex_pattern = '^docs\/routing\/([A-Za-z0-9]+)';
Route::override($regex_pattern, null , function($uri_parts) {
// remove first part of matches => "docs"
array_shift($uri_parts);
// get controller method => "routing"
$controller_method = array_shift($uri_parts);
// the following piece will run:
// Module(Website) => Module(Docs) => method("routing")
// -> method params: ($uri_parts)
\Axe\Controller::get('mod-website/mod-docs')->run($controller_method , $uri_parts);
});
``` | 25.642857 | 95 | 0.638812 | eng_Latn | 0.75436 |
2eb3e31a1f8dfbe5725e090b2eabed16464efa8c | 1,777 | md | Markdown | app/README.md | javidcf/surfmorph | 876bf9666cc6c47a52d0d7f899bfa181274809a3 | [
"MIT"
] | 1 | 2018-05-31T20:03:14.000Z | 2018-05-31T20:03:14.000Z | app/README.md | javidcf/surfmorph | 876bf9666cc6c47a52d0d7f899bfa181274809a3 | [
"MIT"
] | null | null | null | app/README.md | javidcf/surfmorph | 876bf9666cc6c47a52d0d7f899bfa181274809a3 | [
"MIT"
] | 1 | 2021-01-07T08:46:28.000Z | 2021-01-07T08:46:28.000Z |
# animator
An application that interpolates 3D pose mesh files and displays an interactive
animation.
The building system only supports Linux systems at the moment, although it
should be straightforward to port it to other platforms.
## Requirementes
* [surfmorph](..) (included in the repository)
* [Eigen](http://eigen.tuxfamily.org)
* [OpenMesh](http://www.openmesh.org)
* [Qt 5](https://www.qt.io)
* [libQGLViewer](http://libqglviewer.com)
## Compilation
Clone this repository and navigate to this directory. Then run:
```Shell
$ mkdir -p build
$ cd build
$ qmake ..
$ make
```
## Usage
After compiling, an executable `animator` should have been created in the
`build` directory. The program must be called from a command line with the
following syntax:
```Shell
$ ./animator [options] <pose files...>
```
Where `pose files...` must be two or more mesh files containing the different
poses of the model. The mesh files must have the same number of vertices and
triangle structure, and the vertex indices must be registered correspondingly.
The posible values for `options` are:
* `-f|--fps <fps>` to specify the frame rate of the animation.
* `-d|--duration <seconds>` to specify the duration of the animation.
* `-h|--help` to show a help message.
* `-v|--version` to show the application version.
After computing the animation frames, the animation will play repeatedly in an
interactive window. Press **H** key to see an integrated help window. The
controls of the animation window are basically the default controls defined by
[libQGLViewer](http://libqglviewer.com), with the following additions:
* Press **+** to accelerate the animation.
* Press **-** to decelerate the animation.
* Press **B** to enable or disable the backwards animation in the loop.
| 32.309091 | 79 | 0.744513 | eng_Latn | 0.992657 |
2eb3e9e081356ef84a6411f2a30f1006b15f837f | 117 | md | Markdown | docs/description/CKV_AZURE_65.md | codacy/codacy-checkov | 2cbbd4e9310303a56ccdc2e817ce86c41d573f14 | [
"Apache-2.0"
] | 1 | 2022-03-09T03:57:37.000Z | 2022-03-09T03:57:37.000Z | docs/description/CKV_AZURE_65.md | codacy/codacy-checkov | 2cbbd4e9310303a56ccdc2e817ce86c41d573f14 | [
"Apache-2.0"
] | 2 | 2022-03-21T15:43:34.000Z | 2022-03-21T16:14:26.000Z | docs/description/CKV_AZURE_65.md | codacy/codacy-checkov | 2cbbd4e9310303a56ccdc2e817ce86c41d573f14 | [
"Apache-2.0"
] | null | null | null | More information [here](https://docs.bridgecrew.io/docs/tbdensure-that-app-service-enables-detailed-error-messages).
| 58.5 | 116 | 0.811966 | eng_Latn | 0.231795 |
2eb6480148838cbe911027d54a0dc97da93ee8a3 | 1,543 | md | Markdown | README.md | MicrosoftArchive/cordova-azure-mobile-services | af61058a7a7254efa5f0acbbe8e45bfaae2a8cbf | [
"Apache-2.0"
] | 6 | 2015-02-19T02:15:22.000Z | 2015-07-27T20:05:09.000Z | README.md | MicrosoftArchive/cordova-azure-mobile-services | af61058a7a7254efa5f0acbbe8e45bfaae2a8cbf | [
"Apache-2.0"
] | 1 | 2015-02-27T00:38:47.000Z | 2015-02-27T00:38:47.000Z | README.md | MSOpenTech/cordova-azure-mobile-services | af61058a7a7254efa5f0acbbe8e45bfaae2a8cbf | [
"Apache-2.0"
] | 1 | 2017-07-07T17:50:52.000Z | 2017-07-07T17:50:52.000Z | Apache Cordova plugin for Windows Azure Mobile Services
=============================
Exposes JavaScript api to access a mobile services instance from an Apache Cordova app. The plugin includes the following objects:
* [MobileServiceClient](http://msdn.microsoft.com/en-us/library/windowsazure/jj554219.aspx)
* [MobileServiceTable](http://msdn.microsoft.com/en-us/library/windowsazure/jj554239.aspx)
To learn more about **Windows Azure Mobile Services**, visit [Developer Center](http://www.windowsazure.com/en-us/develop/mobile).
### Sample usage ###
The following code creates a new client object to access the *todolist* mobile service and create a new proxy object for the *TodoItem* table.
var mobileService = new WindowsAzure.MobileServiceClient(
"https://todolist.azure-mobile.net",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
);
var todoTable = mobileService.getTable('TodoItem');
### Copyrights ###
Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
| 51.433333 | 305 | 0.753727 | eng_Latn | 0.752312 |
2eb68080a7fd2e10981e59dbbfe9f7ba4fbcb352 | 16,656 | md | Markdown | src/Lab/Experiments/PrototypeStructChaining/Readme.md | qhdwight/silk-net | 2075c6fe707578ed41d509b1cfff21ddf06c1c6d | [
"MIT"
] | 1,142 | 2021-03-17T21:33:38.000Z | 2022-03-31T05:42:42.000Z | src/Lab/Experiments/PrototypeStructChaining/Readme.md | qhdwight/silk-net | 2075c6fe707578ed41d509b1cfff21ddf06c1c6d | [
"MIT"
] | 307 | 2021-03-18T14:01:16.000Z | 2022-03-29T10:33:59.000Z | src/Lab/Experiments/PrototypeStructChaining/Readme.md | qhdwight/silk-net | 2075c6fe707578ed41d509b1cfff21ddf06c1c6d | [
"MIT"
] | 131 | 2021-03-18T14:37:48.000Z | 2022-03-29T04:47:10.000Z | # Prototype Struct Chaining
This repository implements a prototype solution for Struct Chaining in [Silk.Net](https://github.com/dotnet/Silk.NET)
## Design Goals
* **Backward compatibility** - the chaining system should not change the existing structs, but add functionality.
* **Minimal bloat** - the minimum amount of new generated code was sought.
* **Discoverability** - it should be as easy as possible for a new user to discover
* **Compile-time Validation** - it should prevent chaining invalid structures (as much as possible) during compilation
* **Type coercion** - it should set the SType of chained structures.
* **Compact usage** - it should reduce copy-pasta code.
* **Avoid the heap** - boxing should be avoided
* **Well Tested** - tests were added to ensure pointers are correctly set, and compilation failures occur.
All of these goals were met.
## Usage
The proposal provides for the following usage patterns:
### Chain Building
You can happily create the start of a chain as usual, and it's `SType` will be coerced when you start using it as a
chain:
```csharp
var createInfo = new DeviceCreateInfo
{
Flags = 1U
};
// When you call any chaining method it will set the chain's SType automatically.
createinfo.AddNext...
```
-in many cases, we only want to create a default structure for population by the API. To do so, we use the
static `Chain`
method like so:
```csharp
PhysicalDeviceFeatures2.Chain(out var features2)
```
This has several advantages:
- The method is only available for structures that are valid at the start of a chain; providing compile-time validation.
- The structure's `SType` will be correctly set immediately.
- The syntax is fluent, and creates more readable code when used with the other chaining methods (see below).
### AddNext
The most common use case is to add an empty structure to the end of a chain for it to be populated by the Vulkan API,
this can now be done like so:
```csharp
PhysicalDeviceFeatures2
.Chain(out var features2)
// CreateNext will create an empty struct, with the correct SType (as well as ensuring the
// chain's SType is set correctly).
.AddNext(out PhysicalDeviceDescriptorIndexingFeatures indexingFeatures)
.AddNext(out PhysicalDeviceAccelerationStructureFeaturesKHR accelerationStructureFeaturesKhr);
```
Each method `out` puts a struct into the local stackframe for querying once populated, and the pointers point to this
local variable. Despite generics and interfaces being used, the chain methods avoid the heap entirely.
### TryAddNext
You may only want to add a structure if it doesn't already exist in the chain, this can be done with `TryAddNext`, e.g.:
```csharp
PhysicalDeviceFeatures2
.Chain(out var features2)
.AddNext(out PhysicalDeviceDescriptorIndexingFeatures indexingFeatures)
// As there is already a PhysicalDeviceDescriptorIndexingFeatures structure the following
// will not add anything to the chain and `added` will be `false`.
.TryAddNext(out PhysicalDeviceDescriptorIndexingFeatures indexingFeatures2, out bool added);
```
### SetNext
Sometimes we may wish to set the initial state of a structure, we can do this with `SetNext`:
```csharp
var indexingFeatures = new PhysicalDeviceDescriptorIndexingFeatures
{
ShaderInputAttachmentArrayDynamicIndexing = true
};
var accelerationStructureFeaturesKhr = new PhysicalDeviceAccelerationStructureFeaturesKHR
{
AccelerationStructure = true
};
PhysicalDeviceFeatures2
.Chain(out var features2)
// SetNext accepts an existing struct, note, it will coerce the SType and blank the PNext
.SetNext(ref indexingFeatures)
.SetNext(ref accelerationStructureFeaturesKhr);
```
*NOTE* you can mix and match `AddNext` and `SetNext` (and any chaining method) in the same method chain.
By default, `SetNext` will replace any item in the chain with a matching `SType`, this behaviour can be changed by
setting the optional
`alwaysAdd` parameter to `true`;
```csharp
var indexingFeatures = new PhysicalDeviceDescriptorIndexingFeatures
{
ShaderInputAttachmentArrayDynamicIndexing = true
};
var indexingFeatures2 = new PhysicalDeviceDescriptorIndexingFeatures
{
ShaderInputAttachmentArrayDynamicIndexing = false
};
var accelerationStructureFeaturesKhr = new PhysicalDeviceAccelerationStructureFeaturesKHR
{
AccelerationStructure = true
};
PhysicalDeviceFeatures2
.Chain(out var features2)
.SetNext(ref indexingFeatures)
// This will add the second 'indexingFeatures' struct, even though one is already present in the chain.
.SetNext(ref indexingFeatures2, true);
```
### IndexOf
Sometimes it's useful to know if a structure you previously supplied is still in a chain, this can be done
with `IndexOf`, which returns a non-negative index (zero-indexed) if the structure is found, eg.:
```csharp
PhysicalDeviceFeatures2
.Chain(out var features2)
.AddNext(out PhysicalDeviceDescriptorIndexingFeatures indexingFeatures)
.AddNext(out PhysicalDeviceAccelerationStructureFeaturesKHR accelerationStructureFeaturesKhr);
// Check indices
Assert.Equal(1, features2.IndexOf(ref indexingFeatures));
Assert.Equal(2, features2.IndexOf(ref accelerationStructureFeaturesKhr));
```
## Features
* All the chaining methods are only available on the structures that implement `IChainStart`, i.e. the structures that
the Vulkan specification says can start a chain.
* All the chaining methods ensure the chain, and any supplied structures, have their `SType` correctly set.
* All the chaining methods will only accept a structure that is valid in the chain being extended, as per the Vulkan
specification.
* The chaining methods do not box structures, or add anything to the heap.
## Changes required
* Add the new `IStructureType`, `IChainable`, `IChainStart`, `IExtendChain<TChain>` interfaces.
* Add the new `Chain` structure.
* Add the `ChainExtensions` extension methods `SetNext`, `AddNew`, `IndexOf`, `AddNext` and `TryAddNext`.
* Add the small instance `StructureType IStructuredType.StructureType()` method to `IChainable` structure.
* Add the `IChainStart` interface and the small static `Chain` method to any structure that can be used as the start of
a chain.
* Add `IExtendsChain<ChainStart>` interfaces to any structures that can extend a chain.
Note that the [Vulkan XML](https://raw.githubusercontent.com/KhronosGroup/Vulkan-Headers/master/registry/vk.xml) does
include the `structextends` attribute on each structure that directly maps to the `IExtendsChain<T>` interfaces that
need to be added. However, to add the `IChainStart` interface (and it's associated method), these structures have to be
marked as a chain start whenever we see a structure extending them.
Although it is possible to not use a design that does not make use of `IChainStart` the following functionality is lost:
* The `Chain` method will appear on all chainable structures, even when they don't represent the start of a chain.
* All extension methods will appear on all chainable structures, even when they are not the start.
* Indexing, adding, etc. can't be guaranteed to be scanning from the start of the chain.
As adding `IChainStart` requires relatively simple logic I believe it's worth including.
# Extension
## ManagedChain
Sometimes it is desirable to keep the structures around on the heap. To facilitate that you can use
the `ManagedChain<TChain, T1, ...>` types. Like `Tuple` et al, these support up to chain size 16. They must be
disposed when finished with. Whenever a structure is loaded into the `ManagedChain` it's `SType` and `PNext` are
forced to be correct, preventing errors. Structures can be replaced at any time, and we be inserted efficiently
into the chain as an O(1) operation.
### Creation
For example:
```csharp
using var chain = new ManagedChain<PhysicalDeviceFeatures2, PhysicalDeviceDescriptorIndexingFeatures,
PhysicalDeviceAccelerationStructureFeaturesKHR>();
// Ensure all STypes set correctly
Assert.Equal(StructureType.PhysicalDeviceFeatures2, chain.Head.SType);
Assert.Equal(StructureType.PhysicalDeviceDescriptorIndexingFeatures, chain.Item1.SType);
Assert.Equal(StructureType.PhysicalDeviceAccelerationStructureFeaturesKhr, chain.Item2.SType);
// Ensure pointers set correctly
Assert.Equal((nint) chain.Item1Ptr, (nint) chain.Head.PNext);
Assert.Equal((nint) chain.Item2Ptr, (nint) chain.Item1.PNext);
Assert.Equal((nint) 0, (nint) chain.Item2.PNext);
```
The structures are held in unmanaged memory, preventing movement by the GC, and ensuring that the ptrs remain fixed.
You can also use the `ManagedChain.Create(...)` static methods to create `ManagedChain`s.
### Modifying values
We can easily modify any value in the `ManagedChain`, and it will maintain the ptrs automatically, e.g.:
```csharp
using var chain = new ManagedChain<PhysicalDeviceFeatures2, PhysicalDeviceDescriptorIndexingFeatures,
PhysicalDeviceAccelerationStructureFeaturesKHR>(item1: new PhysicalDeviceDescriptorIndexingFeatures
{
// We can set any non-default values, note we do not need to set SType or PNext
// indeed they will be overwritten.
ShaderInputAttachmentArrayDynamicIndexing = true
});
// Ensure all STypes set correctly
Assert.Equal(StructureType.PhysicalDeviceFeatures2, chain.Head.SType);
Assert.Equal(StructureType.PhysicalDeviceDescriptorIndexingFeatures, chain.Item1.SType);
Assert.Equal(StructureType.PhysicalDeviceAccelerationStructureFeaturesKhr, chain.Item2.SType);
// Ensure pointers set correctly
Assert.Equal((nint) chain.Item1Ptr, (nint) chain.Head.PNext);
Assert.Equal((nint) chain.Item2Ptr, (nint) chain.Item1.PNext);
Assert.Equal((nint) 0, (nint) chain.Item2.PNext);
// Check our value was set
Assert.True(chain.Item1.ShaderInputAttachmentArrayDynamicIndexing);
var item1Ptr = chain.Item1Ptr;
// Overwrite Item1
chain.Item1 = new PhysicalDeviceDescriptorIndexingFeatures
{
// Again we do not need to set SType or PNext, which will be set to the correct values
ShaderInputAttachmentArrayDynamicIndexing = false
};
// Check our value was cleared
Assert.False(chain.Item1.ShaderInputAttachmentArrayDynamicIndexing);
// Note all the pointers are still correct (and have not changed)
Assert.Equal((nint) chain.Item1Ptr, (nint) chain.Head.PNext);
Assert.Equal((nint) chain.Item2Ptr, (nint) chain.Item1.PNext);
Assert.Equal((nint) 0, (nint) chain.Item2.PNext);
// As is the SType
Assert.Equal(StructureType.PhysicalDeviceDescriptorIndexingFeatures, chain.Item1.SType);
```
**Note** When we update any item in the chain it overwrites the existing memory, so the ptrs remain fixed. It also
ensures the PNext value is maintained.
### Appending to a chain
You can call `Append` on a `ManagedChain` to efficiently create a new, larger, `ManagedChain` with a new item appended
to the end, e.g:
```csharp
using var chain = new ManagedChain<PhysicalDeviceFeatures2, PhysicalDeviceDescriptorIndexingFeatures>(
item1: new PhysicalDeviceDescriptorIndexingFeatures {ShaderInputAttachmentArrayDynamicIndexing = true});
// The new chain, will efficiently copy the old chain and append a new structure to the end
using var newChain = chain.Append<PhysicalDeviceAccelerationStructureFeaturesKHR>();
// You will usualy wish to dispose the old chain here, the two chains are now independent of each other.
// Check the flag from the first chain is still set in the new chain.
Assert.True(newChain.Item1.ShaderInputAttachmentArrayDynamicIndexing);
```
### Loading from an unmanaged chain
If you have created an unmanaged chain and would like to load that into a `ManagedChain` you can use one of the
`ManagedChain.Load<TChain, T1...>` methods:
```csharp
// Load an unmanaged chain
var indexingFeatures = new PhysicalDeviceDescriptorIndexingFeatures
{
ShaderInputAttachmentArrayDynamicIndexing = true
};
PhysicalDeviceFeatures2
.Chain(out var unmanagedChain)
.SetNext(ref indexingFeatures)
.AddNext(out PhysicalDeviceAccelerationStructureFeaturesKHR accelerationStructureFeaturesKhr);
// Loads a new managed chain from an unmanaged chain
using var managedChain =
ManagedChain.Load<PhysicalDeviceFeatures2, PhysicalDeviceDescriptorIndexingFeatures,
PhysicalDeviceAccelerationStructureFeaturesKHR>(unmanagedChain, out var errors);
// Check we had no loading errors
Assert.Equal("", errors);
// Check the flag still set
Assert.True(managedChain.Item1.ShaderInputAttachmentArrayDynamicIndexing);
```
The full version of the `Load` method returns an output parameter `errors` as it's first parameter. The `errors`
parameter will be `string.Empty` if there are no errors, otherwise each line will contain a separate error for each
issue found during loading. There is also an overload that accepts a single argument `chain` for when you don't care if
there are any errors. Either method always succeeds, even if the unmanaged chain doesn't match exactly - for example it
is shorter or longer than the chain being loaded, or if the managed chain has different structure types in any of the
positions. Any structure type in the expected position will always be loaded into the new `ManagedChain`.
```csharp
var indexingFeatures = new PhysicalDeviceDescriptorIndexingFeatures
{
ShaderInputAttachmentArrayDynamicIndexing = true
};
// Load an unmanaged chain
DeviceCreateInfo
.Chain(out var unmanagedChain)
.AddNext(out PhysicalDeviceFeatures2 features2)
.SetNext(ref indexingFeatures)
.AddNext(out PhysicalDeviceAccelerationStructureFeaturesKHR accelerationStructureFeaturesKhr);
// Loads a new managed chain from an unmanaged chain
using var managedChain =
new ManagedChain<
DeviceCreateInfo,
// Note we are supplied a PhysicalDeviceFeatures2 here from the unmanaged chain
PhysicalDeviceAccelerationStructureFeaturesKHR,
PhysicalDeviceDescriptorIndexingFeatures,
PhysicalDeviceAccelerationStructureFeaturesKHR,
// Note that the unmanaged chain did not supply a 5th entry
PhysicalDeviceFeatures2>(unmanagedChain, out var errors);
// Check for errors
Assert.Equal(
@"The unmanaged chain has a structure type PhysicalDeviceFeatures2Khr at position 2; expected PhysicalDeviceAccelerationStructureFeaturesKhr
The unmanaged chain was length 4, expected length 5",
errors);
// Despite the errors indexing features was at the right location so was loaded
Assert.True(managedChain.Item2.ShaderInputAttachmentArrayDynamicIndexing);
```
Notice that the above form use the constructor as an alternative.
### IReadOnlyList
All the fully generic `ManageChain<TChain, T1 ...>` types extend `ManagedChain` which implements `IDisposable`
and `IReadOnlyList<IChainable>`. The latter allowing for easy consumption of any `ManagedChain`, e.g.:
```csharp
using var chain = new ManagedChain<PhysicalDeviceFeatures2, PhysicalDeviceDescriptorIndexingFeatures,
PhysicalDeviceAccelerationStructureFeaturesKHR>();
Assert.Equal(3, chain.Count);
// Ensure all STypes set correctly using indexer
Assert.Equal(StructureType.PhysicalDeviceFeatures2, chain[0].StructureType());
Assert.Equal(StructureType.PhysicalDeviceDescriptorIndexingFeatures, chain[1].StructureType());
Assert.Equal(StructureType.PhysicalDeviceAccelerationStructureFeaturesKhr, chain[2].StructureType());
Assert.Throws<IndexOutOfRangeException>(() => chain[3]);
// Get array using IEnumerable implementation
IChainable[] structures = chain.ToArray();
// Check concrete types
Assert.IsType<PhysicalDeviceFeatures2>(structures[0]);
Assert.IsType<PhysicalDeviceDescriptorIndexingFeatures>(structures[1]);
Assert.IsType<PhysicalDeviceAccelerationStructureFeaturesKHR>(structures[2]);
```
### Deconstruction
Each `ManageChain<TChain, T1 ...>` has a corresponding deconstructor for convenience, e.g.:
```csharp
using var chain = new ManagedChain<PhysicalDeviceFeatures2, PhysicalDeviceDescriptorIndexingFeatures,
PhysicalDeviceAccelerationStructureFeaturesKHR>();
var (physicalDeviceFeatures2, indexingFeatures, accelerationStructureFeaturesKhr) = chain;
// Ensure all STypes set correctly
Assert.Equal(StructureType.PhysicalDeviceFeatures2, physicalDeviceFeatures2.SType);
Assert.Equal(StructureType.PhysicalDeviceDescriptorIndexingFeatures, indexingFeatures.SType);
Assert.Equal(StructureType.PhysicalDeviceAccelerationStructureFeaturesKhr, accelerationStructureFeaturesKhr.SType);
```
### Disposal
As each `ManagedChain` holds the underlying structures in unmanaged memory (to prevent them being moved and their
pointers being invalidated), then it is critical you dispose them; either by calling `Dispose()` or by using a `using`
statement. | 42.381679 | 140 | 0.789625 | eng_Latn | 0.88992 |
2eb7a3468fa427998bef69c3dab64c505564853b | 5,310 | md | Markdown | CONTRIBUTORS.md | JacobBrauchler/ApidocPensco | cc81e5de3a75b8912a50e2ebfd41ce4837d75283 | [
"MIT"
] | null | null | null | CONTRIBUTORS.md | JacobBrauchler/ApidocPensco | cc81e5de3a75b8912a50e2ebfd41ce4837d75283 | [
"MIT"
] | null | null | null | CONTRIBUTORS.md | JacobBrauchler/ApidocPensco | cc81e5de3a75b8912a50e2ebfd41ce4837d75283 | [
"MIT"
] | 8 | 2015-07-07T15:20:55.000Z | 2016-03-08T14:01:28.000Z | # apiDoc Contributors
Thanks to all people that help to make apiDoc better!
* [Frank Lucht](https://github.com/Digigoodz)
* Add multiple input locations [#239](https://github.com/apidoc/apidoc/pull/239)
* [赵健](https://github.com/karboom)
* Add word wrap for text examples [#241](https://github.com/apidoc/apidoc/pull/241)
* [Tyler Clemens](https://github.com/tielur)
* Add a check to see if packageJson.apidoc was defined [#227](https://github.com/apidoc/apidoc/pull/227)
* [Dmitry Krasyukov](https://github.com/p00h), [Alexej Yaroshevich](https://github.com/zxqfox), [Dmitry Kirilyuk](https://github.com/Jokero)
* Add Russian translation [#237](https://github.com/apidoc/apidoc/pull/237)
* [Bruno Wego](https://github.com/brunowego)
* Add Brazilian translation [#249](https://github.com/apidoc/apidoc/pull/249)
* [Rafał Zielonka](https://github.com/Bombaharris)
* Add Polish translation [#199](https://github.com/apidoc/apidoc/pull/199)
* [Vincent Hérilier](https://github.com/vherilier)
* Add French translation [#191](https://github.com/apidoc/apidoc/pull/191)
* [Hector Hernandez](https://github.com/alfadormx)
* Added support for markdown in the type section [#1](https://github.com/apidoc/apidoc-core/pull/1)
* [Goonoo Kim](https://github.com/mctenshi)
* Added litcoffee file extension [#5](https://github.com/apidoc/apidoc-core/pull/5)
* [Nil Gradisnik](https://github.com/nilgradisnik)
* Added scala file extension [#2](https://github.com/apidoc/apidoc-core/pull/2)
* [Christopher Martin](https://github.com/chris-martin)
* Unindent strings [#173](https://github.com/apidoc/apidoc/pull/173)
* [大鼻子](https://github.com/wohugb)
* Add chinese translation (missing translations from google)
* [kimhoo](https://github.com/kimhoo)
* Add dutch translation (missing translations from google)
* [Danny Olson](https://github.com/dbolson)
* Add Clojure parser
* [Eugene Jo](https://github.com/iameugenejo)
* Allowed options.packageInfo to overwrite default packageInfo [#177](https://github.com/apidoc/apidoc/pull/171))
* [Sai Gunturi](https://github.com/sgunturi)
* Fix bug where name in package.json apidoc property is overridden [#171](https://github.com/apidoc/apidoc/pull/171))
* [Buts Johan](https://github.com/butsjoh)
* Allow to include an external file which can set the markdown settings [#166](https://github.com/apidoc/apidoc/pull/166))
* [Peter Wong](https://github.com/peterwongpp)
* Hide the ul for tabs if no content [#142](https://github.com/apidoc/apidoc/pull/142))
* [Bip Thelin](https://github.com/bipthelin)
* Correctly handle Erlang comments [#135](https://github.com/apidoc/apidoc/pull/135))
* [Michael Schnyder](https://github.com/michaelschnyder)
* Improvements to the Testclient [#132](https://github.com/apidoc/apidoc/pull/132))
* [Peter Gfader](https://github.com/peitor)
* Show error "responseText" on displayError [#129](https://github.com/apidoc/apidoc/pull/129))
* [cjbarth](https://github.com/cjbarth)
* Added support for using path-to-regexp in template [#119](https://github.com/apidoc/apidoc/pull/119))
* [Brian Horakh](https://github.com/brianhorakh)
* Perl - allow =pod and =cut [#103](https://github.com/apidoc/apidoc/issues/103)
* [Brian Horakh](https://github.com/brianhorakh)
* Added ability to have forward slash (/) in parameter field names [#101](https://github.com/apidoc/apidoc/pull/101)
* [PaulDapolito](https://github.com/PaulDapolito)
* Sample Requests feature [#98](https://github.com/apidoc/apidoc/pull/98)
* [Paul Dapolito](https://github.com/PaulDapolito)
* Fixed bug where dropdown opens off of page [#85](https://github.com/apidoc/apidoc/pull/85)
* [Coders Brothers](https://github.com/CodersBrothers)
* Some refactors and bugfixes [#83](https://github.com/apidoc/apidoc/pull/83)
* [Anton Fischer](https://github.com/antonfisher)
* Perl (Doxygen) support [#71](https://github.com/apidoc/apidoc/pull/71)
* [Ruslan Ismagilov](https://github.com/isRuslan)
* Add Function `@apiGroupDescription` [#54](https://github.com/apidoc/apidoc/pull/54)
* [blackeyedboy](https://github.com/blackeyedboy)
* Adding http: to fonts.googleapis.com link href [#49](https://github.com/apidoc/apidoc/pull/49)
* [Mattias Festin](https://github.com/MattiasFestin)
* Added a short-circuit check. [#43](https://github.com/apidoc/apidoc/pull/43)
* [Alexander Else](https://github.com/aelse)
* Fix parsing of multiline string [#35](https://github.com/apidoc/apidoc/pull/35)
* [Johannes Zellner](https://github.com/nebulade)
* Give some indication, in case file listing with fails [#20](https://github.com/apidoc/apidoc/pull/20)
* [Martin Jonsson](https://github.com/martinj)
* Fix parsing for empty lines and removing stars on data that spans over multiple lines. [#11](https://github.com/apidoc/apidoc/pull/11)
* [Thomas Schaaf](https://github.com/thomaschaaf)
* Remove http:// link to make https compliant. [#10](https://github.com/apidoc/apidoc/pull/10)
* [Ben S. Stahlhood II](https://github.com/bstahlhood)
* Generation error on bad title fix. [#7](https://github.com/apidoc/apidoc/pull/7)
* [Brandon Hamilton](https://github.com/brandonhamilton)
* Fix for whitespace before comment block [#2](https://github.com/apidoc/apidoc/pull/2)
(hope i did not forget anybody)
| 45 | 140 | 0.726365 | yue_Hant | 0.327839 |
2eb7e787b1891a190fbb5922305c8f3b64003115 | 12,529 | md | Markdown | docs/premium/codemirror.md | camilolunacom/docs | 3e03e83937145e1ce9447f25252a401b200be9ce | [
"MIT"
] | null | null | null | docs/premium/codemirror.md | camilolunacom/docs | 3e03e83937145e1ce9447f25252a401b200be9ce | [
"MIT"
] | 4 | 2021-09-20T22:36:14.000Z | 2022-02-27T16:27:27.000Z | docs/premium/codemirror.md | camilolunacom/docs | 3e03e83937145e1ce9447f25252a401b200be9ce | [
"MIT"
] | null | null | null | # CodeMirror - Advanced Code Editor <Badge text="field" type="warn"/>
::: danger DEPRECATED
This extension has been deprecated due to lack of support from the original developer.
:::
[CodeMirror](http://codemirror.net/) is a versatile text editor implemented in JavaScript for the browser. It is
specialized for editing code, and comes with a number of language modes and addons that implement more advanced editing
functionality.
<span style="display:block;text-align:center"></span>
::: warning Table of Contents
[[toc]]
:::
::: tip Getting Started
To understand how to use extensions, you should read this article on [Using Extensions](../guides/basics/using-extensions.md).
To shortcut the process, you can use the [Redux Build](http://build.redux.io/) site. Please be aware that a working
knowledge of PHP and CSS is required to properly use this extension. Should you not be familiar with one or the other
(or both), please refer to the following guides to get you started:
[Getting Started with PHP](http://www.php.net/manual/en/tutorial.php),
[CSS Introduction](http://www.w3schools.com/css/css_intro.asp).
:::
## Features
- Support for over 60 languages out of the box
- A powerful, composable language mode system
- Autocompletion (XML)
- Code folding
- Configurable keybindings
- Vim and Emacs bindings
- Search and replace interface
- Bracket and tag matching
- Support for split views
- Linter integration
- Mixing font sizes and styles
- Various themes
- Able to resize to fit content
- Inline and block widgets
- Programmable gutters
- Making ranges of text styled, read-only, or atomic
- Bi-directional text support
Many other methods and addons...
## Browser support
The desktop versions of the following browsers, in standards mode (HTML5 recommended) are supported:
- Firefox version 3 and up
- Chrome any version
- Safari version 5.2 and up
- Internet Explorer version 8 and up
- Opera version 9 and up
Modern mobile browsers tend to partly work as the [official Codemirror documentation says](http://codemirror.net/#browsersupport).
## Basic Usage
The basic Codemirror Editor for Redux Framework is added like the other fields with these parameters:
```php
array(
'id' => 'codemirror',
'type' => "codemirror",
'title' => __("Code Editor CSS", 'redux-framework-demo'),
'compiler' => 'true',
'subtitle' => __('Dummy Subtitle', 'redux-framework-demo'),
'editor_options' => array(
"mode" => array("css"),
"addon" => array("foldcode-css","activeline"),
"theme" => "monokai",
"lint" => true,
"hint" => true,
"autohint" => true
)
)
```
## Arguments
|Name|Type|Default|Description|
|--- |--- |--- |--- |
|type|string|`codemirror`|Value identifying the field type.|
|id|string||Unique ID identifying the field. Must be different from all other field IDs.|
|title|string||Display title of the option.|
|subtitle|string||Subtitle display of the option, situated beneath the title.|
|desc|string||Description of the option, appearing beneath the field control.|
|placeholder|string||Field descriptor, displayed inside of the field when no data is set.|
|compiler|boolean||Flag to set the compiler hook, or array of CSS selectors which passes dynamic CSS to the compiler hook.|
|editor_options|array||Sets codemirror options like field mode, theme, addons, lint, autocomplete, complete on demand (Ctrl+Space).|
::: tip Also See
- [Using the `compiler` Argument](../configuration/fields/compiler.md)
- [Using the `hints` Argument](../configuration/fields/hints.md)
- [Using the `permissions` Argument](../configuration/fields/permissions.md)
- [Using the `required` Argument](../configuration/fields/required.md)
:::
## Codemirror Editor Options
|Name|Type|Default|Description|
|--- |--- |--- |--- |
|mode|array||Mode(s) of the editor like CSS, Javascript, CoffeeScript, Markdown etc. For avaliable modes, see Language Modes section.|
|addon|array||Defines the editor’s addon(s) like search box implementation, selection marking, rulers etc. For available addons, refer to Add-ons section.|
|theme|string|`default`|Sets the theme of the editor. See Themes below.|
|lint|boolean|`false`|Enables on-the-fly code lint checks like jshint, csslint etc. Not available for mixed modes like htmlmixed.|
|hint|boolean|`false`|Enables autocomplete feature. If autohint is set to false, this feature triggers on `Ctrl + Space` key combination. If not, it shows the autocomplete box as you type.|
|autohint|boolean|`false`|Enables showing the autocomplete box as you type.|
|lineNumbers|boolean|`true`|Enables the line number gutter display.|
## Language Modes
This is a list of every mode in the distribution. Each mode lives in a subdirectory of the mode/ directory, and
typically defines a single JavaScript file that implements the mode. Loading such file will make the language available
to CodeMirror, through the mode option. This extension has the autoloading feature of those files, which searches for
defined mode directory and autoloads neccessary files.
|||||
|--- |--- |--- |--- |
|APL (mode:apl)|Asterisk dialplan (mode:asterisk)|C, C++, C# (mode:clike)|Clojure (mode:clojure)|
|COBOL (mode:cobol)|CoffeeScript (mode:coffeescript)|Common Lisp (mode:commonlisp)|CSS (mode:css)|
|Cython (mode:phyton)|D (mode:d)|diff (mode:diff)|DTD (mode:dtd)|
|ECL (mode:ecl)|Eiffel (mode:eiffel)|Erlang (mode:erlang)|Fortran (mode:fortran)|
|F# (mode:mllike)|Gas (AT&T-style assembly) (mode:gas)|Gherkin (mode:gherkin)|Go (mode:go)|
|Groovy (mode:groovy)|HAML (mode:haml)|Haskell (mode:haskell)|Haxe (mode:haxe)|
|HTTP (mode:http)|Java (mode:clike)|Jade (mode:jade)|JavaScript (mode:javascript)|
|Jinja2 (mode:jinja2)|Julia (mode:julia)|LESS (mode:less)|LiveScript (mode:livescript)|
|Markdown (GitHub-flavour) (mode:markdown)|mIRC (mode:mirc)|Nginx (mode:nginx)|NTriples (mode:ntriples)|
|OCaml (mode:mllike)|Octave (MATLAB) (mode:octave)|Pascal (mode:pascal)|PEG.js (mode:pegjs)|
|Perl (mode:perl)|PHP (mode:php)|Pig Latin (mode:pig)|Properties files (mode:properties)|
|Puppet (mode:puppet)|Python (mode:phyton)|Q (mode:q)|R (mode:r)|
|RPM spec and changelog (mode:rpm)|reStructuredText (mode:rst)|Ruby (mode:ruby)|Rust (mode:rust)|
|Sass (mode:sass)|Scala (mode:clike)|Scheme (mode:scheme)|SCSS (mode:css)|
|Shell (mode:shell)|Sieve (mode:sieve)|Smalltalk (mode:smalltalk)|Smarty (mode:smarty)|
|Smarty/HTML mixed (mode:smartymixed)|Solr (mode:solr)|SQL (several dialects) (mode:sql)|SPARQL (mode:sparql)|
|sTeX, LaTeX (mode:stex)|Tcl (mode:tcl)|Tiddlywiki (mode:tiddlywiki)|Tiki wiki (mode:tiki)|
|TOML (mode:toml)|Turtle (mode:turtle)|VB.NET (mode:vb)|VBScript (mode:vbscript)|
|Velocity (mode:velocity)|Verilog (mode:verilog)|XML/HTML (mode:xml)|XQuery (mode:xquery)||
|YAML (mode:yaml)|Z80 (mode:z80)|||
## Themes
|||||
|--- |--- |--- |--- |
|<br />3024-day|<br />3024-night|<br />ambiance|<br/>base16-dark|
|<br />base16-light|<br />blackboard|<br />cobalt|<br />eclipse|
|<br />elegant|<br />erlang-dark|<br />lesser-dark|<br />mbo|
|<br />mdn-like|<br />midnight|<br />monokai|<br />neat|
|<br />night|<br />paraiso-dark|<br />paraiso-light||
## Add-ons
|||
|--- |--- |
|activeline|Displays active line in different style. [Demo page for this addon](http://codemirror.net/demo/activeline.html) in Codemirror Official Site.|
|closebrackets|Auto closes `[]`,`{}`,`''`,`""` brackets inside the editor when typed. [Demo page for this addon](http://codemirror.net/demo/closebrackets.html) in Codemirror Official Site.|
|closetag|Auto closes xml tags if the editor has an xml compatible mode like HTML. [Demo page for this addon](http://codemirror.net/demo/closetag.html) in Codemirror Official Site.|
|continuelist|If this add-on is active in the `markdown` mode, when user presses the `Enter` key while typing a markdown list, the editor automatically indents the new line to the markdown definition list’s left margin. [Demo page for this addon](http://codemirror.net/mode/markdown/index.html) in Codemirror Official Site.|
|foldcode-comment|Adds folding feature to gutter for multiline comments.|
|foldcode-css|Adds folding feature to gutter for CSS brackets.|
|foldcode-html|Adds folding feature to gutter for matched XML like tags.[Demo page for this addon](http://codemirror.net/demo/folding.html) in Codemirror Official Site.|
|foldcode-indent|Adds folding feature to gutter for the lines that have the same indent level.|
|foldcode-js|Adds folding feature to gutter curly brace matches in Javascript (and likes). [Demo page for this addon](http://codemirror.net/demo/folding.html) in Codemirror Official Site.|
|foldcode-markdown|Adds folding feature to gutter for markdown mode. [Demo page for this addon](http://codemirror.net/demo/folding.html) in Codemirror Official Site.|
|fullscreen|Adds a fullscreen feature which will switch to fullscreen when `F11` key is pressed inside the editor. [Demo page for this addon](http://codemirror.net/demo/fullscreen.html) in Codemirror Official Site.|
|markselection|Adds a different styling to the selected text in the editor. [Demo page for this addon](http://codemirror.net/demo/markselection.html) in Codemirror Official Site.|
|matchbrackets|Highlights the matching bracket couples mentioned in `closebrackets` addon when clicked on one of them inside the editor.|
|matchhighlights|Highlights the same words as which the user selects in the editor. [Demo page for this addon](http://codemirror.net/demo/matchhighlighter.html) in Codemirror Official Site.|
|matchtags|Highlights the same tags as the tag that user selected. [Demo page for this addon](http://codemirror.net/demo/matchtags.html) in Codemirror Official Site.|
|placeholder|if a `placeholder` property is defined in the field’s property list (outside `editor_options` array), this text will be shown in the editor as a placeholder text for the user. [Demo page for this addon](http://codemirror.net/demo/placeholder.html) in Codemirror Official Site.|
|rulers|Displays an user-defined ruler on the editor. If you wonder how to define a ruler set, have a look at `addons/display/default-ruler.js` file, and feel free to modify that script to suit your needs. Also the styling resides in `addons/display/default-rulers.css` file. [Demo page for this addon](http://codemirror.net/demo/rulers.html) in Codemirror Official Site.|
|search|Adds a function to the key `Ctrl+F` to show a dialog for searching the editor content. [Demo page for this addon](http://codemirror.net/demo/search.html) in Codemirror Official Site.|
|trailingspace|Styles the trailing spaces with the style defined in `addons/edit/trailingspace.css`. [Demo page for this addon](http://codemirror.net/demo/trailingspace.html) in Codemirror Official Site.|
| 70.38764 | 443 | 0.755288 | eng_Latn | 0.765841 |
2eb9713d344984d0b53581f898df602b44483451 | 199 | md | Markdown | content/functional/chaining/chaining-example-5.md | kwarwas/ztp | af3e1112633879b2b826c8003ee5459fcb40c57a | [
"MIT"
] | null | null | null | content/functional/chaining/chaining-example-5.md | kwarwas/ztp | af3e1112633879b2b826c8003ee5459fcb40c57a | [
"MIT"
] | 1 | 2020-10-16T19:55:54.000Z | 2020-10-16T19:55:54.000Z | content/functional/chaining/chaining-example-5.md | kwarwas/ztp | af3e1112633879b2b826c8003ee5459fcb40c57a | [
"MIT"
] | 1 | 2019-09-26T16:43:43.000Z | 2019-09-26T16:43:43.000Z | ## Method chaining - example
### C# ver. 2
Console.WriteLine
(
Encoding.UTF8.GetString
(
new byte[] {65, 84, 72}
)
);
### Nested method calls
| 13.266667 | 35 | 0.477387 | eng_Latn | 0.756957 |
2ebd0dc998a84b091acb95b7688e5cdc35358f28 | 5,102 | md | Markdown | README.md | alextusinean/TikTokCommentScraper | 94ae7d5e20129f33a18857197794758b62909b22 | [
"MIT"
] | null | null | null | README.md | alextusinean/TikTokCommentScraper | 94ae7d5e20129f33a18857197794758b62909b22 | [
"MIT"
] | null | null | null | README.md | alextusinean/TikTokCommentScraper | 94ae7d5e20129f33a18857197794758b62909b22 | [
"MIT"
] | null | null | null | # What can this comment scraper do?
This comment scraper/extractor/crawler manages to get all the comments
from any TikTok post. This can be useful for giveaways, votes or other bigger
community interactions, although I generally advise to use poll services such as strawpoll.com,
strawpoll.me or other services, because they are more accurate, reliable, and easier to use.
# "Installation"
Contrary to popular opinion, this repo does contain the virtual environment it's
running on (it's only for windows anyway). The python environment is heavily
stripped down and is almost as small as if you'd compile it to a binary directly.
Because I doubt this repo will get any major public attention, I'll won't be
making a great effort to make it comply with any best practices or standards.
It works for me and for my friend, which is enough for me. You can
`git clone https://github.com/cubernetes/TikTokCommentScraper`
the repo or download the zip directly (autocrlf is false, so no worries here):
`curl -L -o "TikTokCmtScraper.zip" https://github.com/cubernetes/TikTokCommentScraper/archive/refs/heads/main.zip`
I probably won't be making any effort to port it to Linux or OSX, but in theory
it's already ported; only the batch files and the venv won't work, which are both
only for user friendliness anyway.
Python requirements would be (if you don't want to use the venv):
`pyperclip`
`openpyxl`
# How does it work?/How to use it?
TL;DR
~~~~~~~~~~
- open your favorite chromium based browser
- go to the TikTok post you want to scrape the comments from (make sure you can already scroll the comments)
- press F12 (goto developer console)
- open windows file explorer in root of this project folder (where the .cmd files are)
- double click 'Copy JavaScript for Developer Console.cmd'
- go back to developer console; paste the javascript; run it
- wait until it says 'CSV copied to clipboard!'
- go back to file explorer; double click 'Extract Comments from Clipboard.cmd'
- voila, the file 'Comments_<UtcTimeStamp>.xlsx' will now contain all the comments
~~~~~~~~~~
This comment scraper uses the chrome developer console (chromium based browser
recommended/maybe needed), JavaScript and Python. The JavaScript (which is
documentated and located in '.\src\Scrape TikTok Comments.js' from the
project's root directory) is copied to the clipboard when the '.\Copy JavaScript for
Developer Console.cmd' file is run. With the TikTok post open (so you can
see and scroll the comments), open the developer console with F12,
CTRL+SHIFT+I, CTRL+SHIFT+C or somehow through the settings. In the interactive
console tab, paste the JavaScript and execute it. To be sure the JavaScript
hasn't been tampered, you should maybe look through it once more before you run
it to look out for anything malicious (you never know!). The original file
doesn't make any requests; the clipboard action is the only security critical
task. NEVER mindlessly paste anything into the developer console!
After you ran the JavaScript, wait. Depending on the number of comments, it
should go reasonable fast. Anything below 200 comments should go quite quick,
anything below 3000 comments should be done in under 1-2 minutes and the
performance usually shouldn't suffer. While you wait, the JavaScript scrolls to
the last loaded comments which forces TikTok to load new comments. This process
is repeated until no new comments load for 30 iterations. Then the 2nd level
comments get loaded (all the replies). The JavaScript clicks all the 'Read
More' buttons until no more new comments appear for 5 iterations. After those 2
processes, all comments should be rendered. In the 3rd phase, the JavaScript
reads all the comments and organizes them and converts them to CSV format.
In the end, one big string that is in the CSV-format will be copied to the
clipboard.
When the debug message 'CSV copied to clipboard!' appears, it's finished. Now,
without copying anything new obviously, run the '.\Extract
Comments from Clipboard.cmd' file. It will fetch the csv-formatted clipboard content
and convert it to a .xlsx file which can be opened in LibreOffice Calc or
Microsoft Excel.
# Limits
This comment scraper was tested on a few posts with up to 3000 commments on a
middle-tier Lenovo laptop where it got a little bit laggy during the comment
loading phase. A PC with much RAM is recommended (to handle all the thousands of rendered comments)
which then should be able to scrape 10k+ comments without major performance problem.
Another caveat is TikTok's limitations for showing all comments. Even with only
a few hundred comments, TikTok fails to show the 'correct' number of comments.
E.g. it says in the icon that there are 750 comments but when you load/render literally
all comments, you only count e.g. 740 comments, which happens pretty much always with many
comments. In the 3000 comments test, 64 comments were never loaded and
therefore not included in the .xlsx file. Fortunately, this percentage is
negligible most of the time.
| 57.977273 | 115 | 0.775774 | eng_Latn | 0.999368 |
2ebd24757a33e2478e18a9e769d342246ac2c6aa | 3,042 | md | Markdown | docs/cli.md | daddycocoaman/LootMarshal | c93bfef49777641d01aa5dd308ebc7dfbb2540c4 | [
"MIT"
] | 4 | 2020-06-15T23:07:50.000Z | 2020-07-13T22:28:15.000Z | docs/cli.md | daddycocoaman/LootMarshal | c93bfef49777641d01aa5dd308ebc7dfbb2540c4 | [
"MIT"
] | null | null | null | docs/cli.md | daddycocoaman/LootMarshal | c93bfef49777641d01aa5dd308ebc7dfbb2540c4 | [
"MIT"
] | null | null | null | # `lootmarshal`
**Usage**:
```console
$ lootmarshal [OPTIONS] COMMAND [ARGS]...
```
**Options**:
* `--help`: Show this message and exit.
**Commands**:
* `connect`: Connects to a specified handler
* `creds`: Run credential modules
* `secrets`: Interact with secrets
* `server`: Starts the LootMarshal server
## `lootmarshal connect`
Connects to a specified handler
**Usage**:
```console
$ lootmarshal connect [OPTIONS] COMMAND [ARGS]...
```
**Options**:
* `--help`: Show this message and exit.
**Commands**:
* `azure`: Connects to Azure.
### `lootmarshal connect azure`
Connects to Azure.
**Usage**:
```console
$ lootmarshal connect azure [OPTIONS]
```
**Options**:
* `--help`: Show this message and exit.
## `lootmarshal creds`
Run credential modules
**Usage**:
```console
$ lootmarshal creds [OPTIONS] COMMAND [ARGS]...
```
**Options**:
* `--help`: Show this message and exit.
**Commands**:
* `binparse`: Parses binary files for interesting strings...
* `lsass`: Parses lsass dump for creds.
### `lootmarshal creds binparse`
Parses binary files for interesting strings and creds.
**Usage**:
```console
$ lootmarshal creds binparse [OPTIONS]
```
**Options**:
* `-f `: Path to file [required]
* `-l `: Min length of strings to parse [default: 32]
* `-s`: Save creds
* `--help`: Show this message and exit.
### `lootmarshal creds lsass`
Parses lsass dump for creds.
**Usage**:
```console
$ lootmarshal creds lsass [OPTIONS]
```
**Options**:
* `-f `: Path to LSASS dump [required]
* `-t `: Comma-separated tag metadata
* `-s`: Save creds
* `--help`: Show this message and exit.
## `lootmarshal secrets`
Interact with secrets
**Usage**:
```console
$ lootmarshal secrets [OPTIONS] COMMAND [ARGS]...
```
**Options**:
* `--help`: Show this message and exit.
**Commands**:
* `get`: Gets a secret.
* `list`: Lists all secret.
* `search`: Search secret metadata in index.
* `set`: Sets a secret.
### `lootmarshal secrets get`
Gets a secret.
**Usage**:
```console
$ lootmarshal secrets get [OPTIONS] NAME
```
**Options**:
* `--help`: Show this message and exit.
### `lootmarshal secrets list`
Lists all secret.
**Usage**:
```console
$ lootmarshal secrets list [OPTIONS]
```
**Options**:
* `--help`: Show this message and exit.
### `lootmarshal secrets search`
Search secret metadata in index.
**Usage**:
```console
$ lootmarshal secrets search [OPTIONS] VALUE
```
**Options**:
* `--help`: Show this message and exit.
### `lootmarshal secrets set`
Sets a secret. Tag key/value must be alphanumeric (underscores are allowed).
**Usage**:
```console
$ lootmarshal secrets set [OPTIONS]
```
**Options**:
* `-n `: Name of the secret [required]
* `-v `: Value of the secret [required]
* `-c `: Content type of the secret [required]
* `-t `: Comma-separated tag metadata
* `--help`: Show this message and exit.
## `lootmarshal server`
Starts the LootMarshal server
**Usage**:
```console
$ lootmarshal server [OPTIONS]
```
**Options**:
* `--help`: Show this message and exit.
| 15.286432 | 76 | 0.654175 | eng_Latn | 0.732632 |
2ebd63877d99c2fe0593a4c92d82ba7e994251db | 621 | md | Markdown | docs/core/windows-setup.md | oli0044/graphhopper | fbcdd6a4d3cc4a7cc9c0a6148e7dfeacd1abf7cc | [
"Apache-2.0"
] | 2 | 2022-01-05T23:09:02.000Z | 2022-03-03T13:36:22.000Z | docs/core/windows-setup.md | oli0044/graphhopper | fbcdd6a4d3cc4a7cc9c0a6148e7dfeacd1abf7cc | [
"Apache-2.0"
] | 38 | 2022-01-26T23:53:01.000Z | 2022-03-31T22:36:31.000Z | docs/core/windows-setup.md | oli0044/graphhopper | fbcdd6a4d3cc4a7cc9c0a6148e7dfeacd1abf7cc | [
"Apache-2.0"
] | null | null | null | # Windows Setup from Source
Download [cygwin](http://www.cygwin.com/) and click on the setup where you need to select wget, git and unzip.
Now you can choose to either [install GraphHopper](../web/quickstart.md) or if you plan to customize the source code [install it from source](./quickstart-from-source.md).
After that graphhopper web should start. After this open [http://localhost:8989/](http://localhost:8989/) in your browser.
### Troubleshooting
* Make sure you have the latest JDK installed and not only the JRE
* Using cygwin you might need to call java via /cygdrive/c/Programme/Java/jdk1.8.0_77/bin/java | 56.454545 | 171 | 0.760064 | eng_Latn | 0.980483 |
2ebdafafc4f729094cbf9479e00d486b837f7bba | 631 | md | Markdown | README.md | RByers/tesla-pwa | d7e807fab97ea4c7ab9424cc5b257466efa6685d | [
"MIT"
] | null | null | null | README.md | RByers/tesla-pwa | d7e807fab97ea4c7ab9424cc5b257466efa6685d | [
"MIT"
] | null | null | null | README.md | RByers/tesla-pwa | d7e807fab97ea4c7ab9424cc5b257466efa6685d | [
"MIT"
] | null | null | null | # tesla-pwa
Simple PWA for basic control of a Tesla vehicle
Goals:
- Quickly enable climate control in my Model 3 (no waiting for wake up in the app)
- Play with moden web tech (ServiceWorker, etc.)
- Entirely stand-alone. As an engineer on the web platform team at Google, I want to experience the pain of building directly for the web without any framework or 3p library
- Trustworthy - secure, transparent code, no personal data or credentials shared with me. Easily clonable if others want to deploy an instance they have complete control over.
- Works only in modern evergreen browsers (chromium, Firefox, Safari, Edge)
| 63.1 | 176 | 0.77813 | eng_Latn | 0.998173 |
2ebdc9e56cd00ee6916a3c6a5ac569943f9cec25 | 1,224 | md | Markdown | doc/build_process.md | nonanonno/ros2_d | 908187c849c5c675feb46887dd3d22eae8f9876f | [
"Apache-2.0"
] | 2 | 2020-12-21T11:19:15.000Z | 2020-12-23T12:57:57.000Z | doc/build_process.md | nonanonno/ros2_d | 908187c849c5c675feb46887dd3d22eae8f9876f | [
"Apache-2.0"
] | 6 | 2021-02-11T09:14:35.000Z | 2022-01-19T13:40:44.000Z | doc/build_process.md | nonanonno/ros2_d | 908187c849c5c675feb46887dd3d22eae8f9876f | [
"Apache-2.0"
] | null | null | null | # Build process
ROS2 ではメタビルドツールとして `colcon` が使われている。`coclon` の役割は、ワークスペースにある複数のパッケージの依存関係を解決してビルドの順番を制御するというものである。この時、それぞれのパッケージは必ずしも ROS2 パッケージ(ament パッケージ)である必要はないし、`source ./install/setup.sh` により環境変数の設定をしておけば、そのワークスペースの外に別のパッケージもビルドすることができる。そのため、本プロジェクトでは `source ./install/setup.bash` された状態を前提とし、 `dub` のみでビルドできるようにするのを基本とする。これは [r2r](https://github.com/sequenceplanner/r2r)を参考にした方法。
他方で `colcon` の仕組みに則ることも可能で、[colcon_d](https://github.com/nonanonno/colcon_d) を使えば `colcon` 経由で依存関係を解決し環境変数を設定した後、`dub` パッケージをビルドする、ということができると考えている。
ただし、全ての要素を ROS2 の外で行えるわけではなく、特にメッセージ定義は ROS2 のエコシステムから取得して、対応するDコードを生成する必要がある。
## Basic procedure
※デザイン段階のもので、今後変わる可能性あり
ビルドは以下の手順で行われる(これを自動化する)。
1. ユーザパッケージをビルドする前に、依存するメッセージを抽出する
- これは `AMENT_PREFIX_PATH` などの環境変数を見ることになるかもしれない
- メッセージの一覧を得る方法が必要
2. 依存するメッセージを dub パッケージ化する
- これはユーザパッケージの `./.dub/packages` 以下に設置する
- `dub fetch <pkg> --cache=local` 時に置かれる場所
- メッセージの解釈には typesupport_introspection を使用する
- .msg, .srv, .action, .idl を直接解釈するという方法でも良いかもしれない
3. ユーザパッケージをビルドする
## Development items
上記のビルドプロセスを実現するためには以下の要素が必要だろう。
- 依存するメッセージを取得する方法
- typesupport_introspection にアクセスする方法
- D言語向けメッセージパッケージを作る方法
- これには D <-> C のメッセージオブジェクト変換も含まれる
| 37.090909 | 371 | 0.797386 | jpn_Jpan | 0.896509 |
2ebdd9f5284d66a3136fcabb2c2f4fd6e31d44ce | 847 | md | Markdown | content/post/2012/2012-12-08-caine-s-arcade/index.md | lnds/lnds-site | c7d8483a764c91f1653c77ab6934c4f34d847f62 | [
"MIT"
] | null | null | null | content/post/2012/2012-12-08-caine-s-arcade/index.md | lnds/lnds-site | c7d8483a764c91f1653c77ab6934c4f34d847f62 | [
"MIT"
] | null | null | null | content/post/2012/2012-12-08-caine-s-arcade/index.md | lnds/lnds-site | c7d8483a764c91f1653c77ab6934c4f34d847f62 | [
"MIT"
] | null | null | null | ---
title: "Caine's Arcade"
date: 2012-12-08T08:25:11-03:00
slug: "caine-s-arcade"
tags: ["ingenio", "felicidad"]
draft: false
---
Me entero de esta maravillosa historia [Vía Pensamientos Ágiles](http://brigomp.blogspot.com/2012/04/el-salon-recreativo-de-caine.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Pensamientosgiles+%28Pensamientos+%C3%A1giles%29).
Dicen que un niño sólo necesita de su imaginación, y quizás una caja de
cartón para ser feliz, y en este caso Caine nos muestra que ese don
puede alegrar a mucha gente.
{% vimeo 40000072 %}
La historia apareció en Reddit y tuvo un impacto grande como pueden ver
en el video, actualmente existe una iniciativa para becar los estudios
de Caine y otros niños tan imaginativos como él, la que hasta ahora ha
recaudado más de 200.000 dolares: [](http://cainesarcade.com/)
| 40.333333 | 244 | 0.774498 | spa_Latn | 0.97842 |
2ebe012efd2313be3143bcbeb5ad8a7acc33a89a | 1,829 | md | Markdown | _posts/2019-07-23-Linux常用命令 .md | hwdong-net/hwdong-net.github.io | a59a2d931177e90159ff227064addb6391cd61fc | [
"MIT"
] | 15 | 2019-12-18T02:31:18.000Z | 2021-11-10T08:29:22.000Z | _posts/2019-07-23-Linux常用命令 .md | hwdong-net/hwdong-net.github.io | a59a2d931177e90159ff227064addb6391cd61fc | [
"MIT"
] | 7 | 2019-12-19T03:31:50.000Z | 2020-08-13T10:29:47.000Z | _posts/2019-07-23-Linux常用命令 .md | hwdong-net/hwdong-net.github.io | a59a2d931177e90159ff227064addb6391cd61fc | [
"MIT"
] | 7 | 2020-04-21T04:28:04.000Z | 2021-11-26T05:29:14.000Z | ---
layout: post
title: Linux常用命令
subtitle: Often used Linux commands
date: 2019-07-23 10:49:00
author: "xuepro"
header-img: "img/home_bg.jpg"
header-mask: 0.3
catalog: true
multilingual: true
tags:
- IT
---
[Basic Linux command line tutorial to start developing in Ubuntu Linux](https://medium.com/@zibon/basic-linux-command-lines-to-get-started-developing-in-ubuntu-linux-b54def1c2190)
Linux常用命令
clear 清空屏幕
pwd 显示当前目录(工作目录)
ls 显示当前目录中内容
```
ls
ls -a 显示所有文件(包括隐藏文件)
ls -l 显示详细信息
```
cd 进入某个目录
```
cd / 进入linux系统根目录
cd .. 进入当前目录的上一级目录
cd path 进入路径path指示的目录
```
mkdir 创建目录
```
mkdir 目录名
```
rm 删除文件或目录
```
rm -r 目录名 : 删除非空的目录
rm 文件名
rmdir 目录名
```
touch 创建一个文件:
```
touch f.txt
```
code f.txt 用vscode编辑文件
gedit f.txt 用gedit编辑文件
cat f.txt 查看f.txt文件内容
less f.txt 查看f.txt文件的前面一小部分内容
“q”命令退出查看
mv 移动或重命名文件
```
mv f.txt 新文件名 : 重命名文件
mv f.txt 目录 :将文件移到某个目录中
```
cp 拷贝(复制)
```
cp newName.txt copied.txt
```
which 查找某个文件或文件夹(目录)
```
sudo apt-get update 更新软件列表
sudo apt-get upgrade 升级软件
```
ifconfig 查看网络信息
ping google.com 看某个网址或域名是否可通
df 查看磁盘情况
top 系统使用数据
sudo apt-get install 软件名 安装软件。
sudo apt-get remove 软件名 卸载软件
sudo reboot 重启系统
sudo shutdown -h now 关闭系统
sudo poweroff 关闭电源
history 查看输入的命令历史
[安装图形用户界面X Server](#https://christopher5106.github.io/admin/2018/02/02/configure-windows-10-for-ubuntu.html)
安装 Xming X Server for Windows.
```
export DISPLAY=localhost:0.0
sudo apt install ssh xauth xorg
sudo vi /etc/ssh/ssh_config
```
编辑文件ssh_config
```
Host *
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
Port 22
Protocol 2
GSSAPIDelegateCredentials no
XauthLocation /usr/bin/xauth
```
启动 X Server
```
ssh -X ...
```
| 14.869919 | 179 | 0.659923 | yue_Hant | 0.294744 |
2ebe2719266c9837878ce3991cdc1d2eaf5148c9 | 342 | md | Markdown | _posts/1919-08-21-upper-bay-residents-encourage-digging.md | MiamiMaritime/miamimaritime.github.io | d087ae8c104ca00d78813b5a974c154dfd9f3630 | [
"MIT"
] | null | null | null | _posts/1919-08-21-upper-bay-residents-encourage-digging.md | MiamiMaritime/miamimaritime.github.io | d087ae8c104ca00d78813b5a974c154dfd9f3630 | [
"MIT"
] | null | null | null | _posts/1919-08-21-upper-bay-residents-encourage-digging.md | MiamiMaritime/miamimaritime.github.io | d087ae8c104ca00d78813b5a974c154dfd9f3630 | [
"MIT"
] | null | null | null | ---
title: Upper bay residents encourage digging
tags:
- Aug 1919
---
Upper bay residents encourage digging the cut at Baker's Haulover to flush the polluted upper bay.
Newspapers: **Daily Miami Metropolis, The Miami Metropolis (daily), The Daily Metropolis or Miami Daily Metropolis**
Page: **5**, Section: **N/A**
| 28.5 | 118 | 0.692982 | eng_Latn | 0.844656 |
2ebe48008019034a6b0144ed07f153f6f500710d | 485 | md | Markdown | src/main/views/components/Readme_releated_content.md | Crown-Commercial-Service/ccs-scale-cat-buyer-ui | 8dd15f6a8b2dd8c4d7865a4bd380bc8405f8bd64 | [
"MIT"
] | null | null | null | src/main/views/components/Readme_releated_content.md | Crown-Commercial-Service/ccs-scale-cat-buyer-ui | 8dd15f6a8b2dd8c4d7865a4bd380bc8405f8bd64 | [
"MIT"
] | 42 | 2021-10-15T14:04:52.000Z | 2022-03-17T15:32:43.000Z | src/main/views/components/Readme_releated_content.md | Crown-Commercial-Service/ccs-scale-cat-buyer-ui | 8dd15f6a8b2dd8c4d7865a4bd380bc8405f8bd64 | [
"MIT"
] | 2 | 2021-09-07T22:24:14.000Z | 2021-11-05T15:19:32.000Z | # Releated Content macro
## How to use
Step #1
Include the macro in the respective .njk file
```
{% from "components/releatedContent.njk" import CCSReleatedContent %}
<div class="govuk-grid-column-one-third">
{{ CCSReleatedContent(releatedContent) }}
</div>
```
Step #2
In the controller file you have to feed in `releatedContent` data
`const releatedContent = req.session.releatedContent`
Send the data to .njk via res.render
`res.render('questionsPage', releatedContent);`
| 23.095238 | 69 | 0.74433 | eng_Latn | 0.805507 |
2ebeaa5fb9f6b7f354807870d12f34bd68d601bb | 6,429 | md | Markdown | crud-paginacao.md | demoiselle/demoiselle.github.io | 8a37b232e970da960228e436b4c78ae3ff27b17e | [
"MIT"
] | null | null | null | crud-paginacao.md | demoiselle/demoiselle.github.io | 8a37b232e970da960228e436b4c78ae3ff27b17e | [
"MIT"
] | null | null | null | crud-paginacao.md | demoiselle/demoiselle.github.io | 8a37b232e970da960228e436b4c78ae3ff27b17e | [
"MIT"
] | null | null | null | # CRUD - Paginação
Uma requisição utilizando o método GET do protocolo HTTP contra um recurso que esteja estendendo da classe **AbstractREST** poderá ser paginada desde que a propriedade **demoiselle.crud.pagination.isGlobalEnabled** esteja habilitada e o número de itens por página seja menor que o retorno da requisição.
Um exemplo para esclarer:
Temos uma aplicação com um recurso chamado **User** e uma classe chamada **UserREST** que estende de **AbstractREST**. Na base de dados temos 100 usuários cadastrados e a propriedade padrão de itens por página esta definido em 20.
**demoiselle.properties**
```properties
demoiselle.crud.pagination.defaultPagination = 20 # Itens por página
demoiselle.crud.pagination.isGlobalEnabled = true # Habilita ou desabilita a paginação no nível Global
```
**UserREST.java**
```java
@Path("users")
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
@RequestScoped
public class UserREST extends AbstractREST<User, Long> {
@Override
@GET
public Result find() {
return bc.find();
}
}
```
**User.java**
```java
@Entity
public class User {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Size(max = 100, min = 2)
@Column(length = 100)
@NotNull
private String name;
@Size(max = 100, min = 4)
@Column(length = 100, unique = true)
@NotNull
private String email;
// getters and setters
}
```
Quando uma requisição do tipo GET do protocolo HTTP é enviada para o recurso de usuários
```bash
$ curl -XGET http://localhost:8080/api/users
```
A paginação não irá trazer os 100 registros que temos no banco, pois o valor de itens por página foi definida como 20 itens por página.
```properties
demoiselle.crud.pagination.defaultPagination = 20 # Itens por página
...
```
O retorno da requisição acima será
```bash
$ curl -XGET http://localhost:8080/api/users
< HTTP/1.1 206 Partial Content
< Accept-Range: user 20
< Access-Control-Allow-Methods: HEAD, OPTIONS, TRACE, GET, POST, PUT, PATCH, DELETE
< Access-Control-Expose-Headers: Accept-Range, Content-Range, Link
< Content-Range: 0-19/100
< Content-Type: application/json
< Link: <http://localhost:8080/users/?range=0-19>; rel="next",<http://localhost:8080/users/?range=80-99>; rel="last"
< .... outros headers
<
[
{"id":1,"name":"João 1","email":"[email protected]"},
{"id":6,"name":"Maria","email":"[email protected]"},
{"id":8,"name":"Outro","email":"[email protected]"},
// demais usuários até o 20º usuário
]
```
Pontos a serem observado:
* Por se tratar de um retorno paginado é possível observar que o código do retorno foi **206 - Partial Content** informando a quem solicitou que não retornaram todos os elementos, quando não houver mais elementos a serem paginados o código HTTP de retorno será **200 - OK**.
* Headers de retorno
* Accept-Range: informa o recurso e a quantidade padrão da paginação \(user 20\);
* Content-Range: informa o primeiro registro até o limite retornado e a quantidade de elementos existentes \(0-19/100\);
* Link: retorna os links disponíveis para fazer a navegação do tipo 'first', 'next', 'prev' e 'last';
* Access-Control-Expose-Headers: informa ao browser que os headers acima são acessíveis devido ao CORS.
## Paginação via Query String
É possível definir na URL qual é a quantidade e o recorte que você deseja realizar no recurso usando na Query String a palavra reservada **range** no formato:
```
$ curl http://localhost:8080/api/users/?range=10-12
```
No comando acima foi solicitado os usuários que estão na posição 10, 11 e 12 contabilizando ao todo 3 usuários.
```bash
$ curl -XGET http://localhost:8080/api/users?range=10-12
< HTTP/1.1 206 Partial Content
< Accept-Range: user 20
< Access-Control-Expose-Headers: Accept-Range, Content-Range, Link
< Access-Control-Allow-Methods: HEAD, OPTIONS, TRACE, GET, POST, PUT, PATCH, DELETE
< Content-Range: 10-12/100
< Content-Type: application/json
< Link: <http://localhost:8080/users/?range=0-2>; rel="first",<http://localhost:8080/users/?range=7-9>; rel="prev", <http://localhost:8080/users/?range=13-15>; rel="next",<http://localhost:8080/users/?range=97-99>; rel="last"
< .... outros headers
<
[
{"id":48,"name":"Mateus","email":"[email protected]"},
{"id":49,"name":"Otono","email":"[email protected]"},
{"id":50,"name":"Outro","email":"[email protected]"}
]
```
Como no exemplo acima a requisição não foi no inicio da coleção de usuários o HEADER de retorno Link mostra a navagação completa de 'first', 'prev', 'next' e 'last' respeitando a quantidade de registros solicitados.
## Paginação via a anotação @Search
Pensando em um melhor controle para os desenvolvedores criamos a anotação **@Search** que é utilizada em conjunto com o método que trata sua requição do tipo **@GET**.
```java
@Path("users")
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
@RequestScoped
public class UserREST extends AbstractREST<User, Long> {
@Override
@GET
public Result find() {
return bc.find();
}
@GET
@Path("other")
@Search(fields={...}, withPagination = true, quantityPerPage = 5)
public Result otherFind() {
return bc.find();
}
}
```
Uma requisição contra a URL **http://localhost:8080/api/users/other** terá a quantidade de itens por página de **5** sobrescrevendo o valor padrão de **20** apenas para esse tipo de requisição.
É possível desabilitar a paginação para o método que utiliza a anotação **@Search** atribuindo **false** para a propriedade **withPagination**.
Descrição dos atributos da anotação **@Search**
| Atributo | Descrição |
| :--- | :--- |
| fields | Recebe um array de String com os campos da entidade definida em AbstractREST<**ENTIDADE**, ...>. <br><br>Essa propriedade auxilia o desenvolvedor a restrigir quais são os campos que o cliente poderá visualizar no retorno da requisição.<br><br> Caso um campo seja solicitada na Query String na URL que não esteja habilidado no campo **fields** da anotação **@Search** será retornado ao solicitante um erro **403 - Bad Request** informando o motivo. |
| withPagination | Habilita ou desabilita a paginação para o recurso. Caso a paginação global esteja desativada esse atributo será desconsiderado.<br><br> Valor padrão: true |
| quantityPerPage | Número de itens por página. <br><br>Valor padrão: 20 |
| 37.596491 | 466 | 0.715974 | por_Latn | 0.991528 |
2ebefbb18276ec552e5164f7bc593cf1376d5f14 | 82 | md | Markdown | docs/uml/help.md | doitanyway/notes-everything | f62d28a67696f04c331a40c6ea8d67e1a0e0ebe2 | [
"MIT"
] | 18 | 2018-09-21T01:31:12.000Z | 2021-11-07T04:56:04.000Z | docs/uml/help.md | doitanyway/notes-everything | f62d28a67696f04c331a40c6ea8d67e1a0e0ebe2 | [
"MIT"
] | null | null | null | docs/uml/help.md | doitanyway/notes-everything | f62d28a67696f04c331a40c6ea8d67e1a0e0ebe2 | [
"MIT"
] | 7 | 2018-09-27T07:08:03.000Z | 2021-03-05T03:40:44.000Z | # uml
* [用例图](./content/usecase_diagrams.md)
* [类图](./content/class_diagrams.md)
| 16.4 | 38 | 0.682927 | yue_Hant | 0.113114 |
2ebeff7f989039b99f6c4a384199652372f8aaab | 4,587 | md | Markdown | articles/sql-database/sql-database-performance.md | OpenLocalizationTestOrg/azure-docs-pr15_fr-FR | 15e46e4307973230cd36bb4805c881d943cfb99b | [
"CC-BY-3.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/sql-database/sql-database-performance.md | OpenLocalizationTestOrg/azure-docs-pr15_fr-FR | 15e46e4307973230cd36bb4805c881d943cfb99b | [
"CC-BY-3.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/sql-database/sql-database-performance.md | OpenLocalizationTestOrg/azure-docs-pr15_fr-FR | 15e46e4307973230cd36bb4805c881d943cfb99b | [
"CC-BY-3.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | <properties
pageTitle="Performances un aperçu de la base de données SQL Azure | Microsoft Azure"
description="La base de données SQL Azure fournit des outils de performance pour vous aider à identifier les domaines qui peuvent d’améliorer les performances des requêtes en cours."
services="sql-database"
documentationCenter=""
authors="stevestein"
manager="jhubbard"
editor="monicar"/>
<tags
ms.service="sql-database"
ms.devlang="na"
ms.topic="article"
ms.tgt_pltfrm="na"
ms.workload="data-management"
ms.date="07/19/2016"
ms.author="sstein"/>
# <a name="sql-database-performance-insight"></a>Performances un aperçu de la base de données SQL
Base de données SQL Azure fournit des outils de performance pour vous aider à identifier et améliorer les performances de vos bases de données en fournissant des recommandations et actions réglage intelligentes.
1. Accédez à votre base de données dans le [Portail Azure](http://portal.azure.com) et cliquez sur **tous les paramètres** > **performances ** > **vue d’ensemble** pour ouvrir la page de **performances** .
2. Cliquez sur **recommandations** pour ouvrir le [Gestionnaire de base de données SQL](#sql-database-advisor), puis cliquez sur **requêtes** pour ouvrir [Un aperçu de performances de requête](#query-performance-insight).

## <a name="performance-overview"></a>Vue d’ensemble des performances
**Vue d’ensemble** ou sur la vignette de **performances** vous redirigera au tableau de bord performances pour votre base de données. Cet affichage fournit un récapitulatif des performances de votre base de données et vous aide à l’optimisation des performances et résolution des problèmes.

- La vignette **recommandations** propose une analyse de l’optimisation des recommandations pour votre base de données (recommandations haut 3 apparaissent s’il existe plus). Cliquez sur cette vignette pour accéder à **Conseiller de base de données SQL**.
- La vignette de **l’activité de réglage** fournit un résumé de l’en cours et terminées réglage des actions pour votre base de données, ce qui vous donne une vue rapide dans l’historique de réglage activité. Cliquez sur cette vignette pour accéder à la vue de l’historique de réglage complète pour votre base de données.
- La vignette **réglage automatique** montre la configuration de réglage automatique pour votre base de données (les actions de réglage des périphériques sont configurées pour être automatiquement appliquées à votre base de données). Cliquez sur cette vignette pour ouvrir la boîte de dialogue configuration automation.
- La vignette de **requêtes de base de données** affiche le résumé des performances des requêtes pour votre base de données (générale DTU supérieure et l’utilisation ressource par d’autres programmes requêtes). Cliquez sur cette vignette pour accéder **d’Analyse des performances de requête**.
## <a name="sql-database-advisor"></a>Conseiller de base de données SQL
[Conseiller de base de données SQL](sql-database-advisor.md) fournit des recommandations réglage intelligentes qui peuvent vous aider à améliorer les performances de votre base de données.
- Recommandations sur lequel index à créer ou supprimer des (et une option pour appliquer automatiquement sans interaction de l’utilisateur et automatiquement annulation des recommandations qui ont une incidence négative sur les performances des recommandations d’index).
- Recommandations lors de problèmes de schéma sont identifiés dans la base de données.
- Recommandations lors de requêtes peuvent bénéficier de requêtes paramétrées.
## <a name="query-performance-insight"></a>Aperçu des performances de requête
[Aperçu des performances de requête](sql-database-query-performance.md) permet de passer moins de temps résolution des problèmes de performances de base de données en fournissant :
- Plus claires sur votre utilisation des ressources (DTU) bases de données.
- UC supérieure par d’autres programmes requêtes potentiellement pouvant être réglé pour améliorer les performances.
- La fonctionnalité permettant d’Explorer les détails d’une requête.
## <a name="additional-resources"></a>Ressources supplémentaires
- [Conseils pour les performances de base de données SQL Azure des bases de données unique](sql-database-performance-guidance.md)
- [Quand un pool élastique de base de données doit être utilisé ?](sql-database-elastic-pool-guidance.md) | 66.478261 | 320 | 0.784609 | fra_Latn | 0.981402 |
2ebf7ea0287f651752dfec814ec443552cae93ab | 507 | md | Markdown | zh/api/time/README.md | jcogs/qiciengine-documentation | e6c5c3c1d5eb4f7f120bdab8f7cc2c797a82905d | [
"MIT"
] | 13 | 2016-01-14T08:27:40.000Z | 2022-02-23T23:46:32.000Z | zh/api/time/README.md | oneseedfruit/qiciengine-documentation | 73a5efc07099c18abb071a5564f2621ae937f2fa | [
"MIT"
] | 6 | 2016-01-24T10:30:39.000Z | 2017-02-22T09:49:01.000Z | zh/api/time/README.md | oneseedfruit/qiciengine-documentation | 73a5efc07099c18abb071a5564f2621ae937f2fa | [
"MIT"
] | 14 | 2016-01-24T06:17:36.000Z | 2022-02-23T23:45:35.000Z | # qc.Time
## 说明
游戏的时间系统,可以通过game.time访问本实例
## 变量
| 变量名 | 类型 | 描述 |
| ------------- |-------------|
| game | [qc.Game](../game/README.md) | 游戏实例的引用 |
| frameRate | int | 游戏帧率。 |
| now | int | 只读。现在的时间戳 (1970-01-01午夜到现在的时间间隔,用毫秒表述) |
| scaledTime | int | 只读。自游戏开始后经历的时间,受timeScale加速的影响 |
| fixedTime | int | 只读。以毫秒秒计自游戏开始的时间 |
| timeScale | number | 控制时间的快慢,默认为1。 |
| deltaTime | number | 只读。最后一帧到当前帧的时间间隔(单位:毫秒)|
## 方法
无
## 参考手册
[时间系统](http://docs.zuoyouxi.com/manual/Time/index.html) | 24.142857 | 55 | 0.591716 | yue_Hant | 0.702862 |
2ec06d56534ec1dab5096217ccab7a24e3c47328 | 6,882 | md | Markdown | README.md | diloc/Color_correction | c3bf1de55210ac9f9d1c0ba3dcabade8609474ad | [
"MIT"
] | null | null | null | README.md | diloc/Color_correction | c3bf1de55210ac9f9d1c0ba3dcabade8609474ad | [
"MIT"
] | null | null | null | README.md | diloc/Color_correction | c3bf1de55210ac9f9d1c0ba3dcabade8609474ad | [
"MIT"
] | 1 | 2022-03-15T00:02:49.000Z | 2022-03-15T00:02:49.000Z | # ColorBayes Bayesian color constancy
Our goal is to correct the local color distortion on plant phenotyping images caused by non-uniform illumination. The corrected image will show the colors of individual plants as if they were taken under the same standard illuminant (D65). This color constancy approach has two main steps. The first step is to estimate an unknown illuminant's color and spatial distribution that causes the local color distortion. For this step, it is required a training dataset (ground truth), observed image data. Also, it is used the Bayes' rule and the maximum a posteriori (MAP). The second step is to transform the observed image using the chromaticity adaptation method.
<figure>
<img src="https://github.com/diloc/Color_correction/blob/main/images/Figure_2_ColorLight_distribution4.png">
<figcaption>
Figure 1 Light environment characteristics in the HTPP system. (a) A top-view image capturing one hundred and forty-eight pots and twelve Macbeth ColorCheckers, illustrating non-uniform illumination. (b) Spatial distribution of the illumination color on the plant phenotyping scene. (c) Illumination color distribution on the Chromaticity diagram using the 1931 CIE colorimetric system coordinates. (d) Spectral Irradiance at (x = 20 cm and y = 20 cm) and (x = 0 cm and y = 6 cm), the wavelength range is from 325 nm to 785 nm on the horizontal axis and the spectral irradiance [μW cm-2 nm-1] on the vertical axis. Two peaks represent the primary emission LED lights at blue (450 nm) and red (630 nm) and a curve plateau between these peaks (550 - 600 nm).
</figcaption>
</figure>
## Description
Our methods relies on the following assumptions:
- An observed image (5105 x 3075 pixels) is made up of three independent color channels <(k = {R,G,B})> and divided into areas that correspond to individual pot areas.
- A pixel class is assigned individually to segmented objects in a pot area such as plant and soil pixels. It means that a pixel class is a collection of pixels  within the same spatial neighborhood and similar color values. The pixel value , is a random variable at location i=0,1,2,…,n.
- The reflectance of a pixel class is a collection of reflectance , where , is a random variable representing the reflectance at the location i=0,1,2,…,n. Two adjacent reflectance are independent of each other, and the joint probability of is given by . Based on the same assumption, all reflectance in a pixel class are independent events with joint probability .
- The illuminant of a pixel class is a collection of illuminants ,. However, it is assumed that the illuminant is constant for all pixels in a class, meaning, . Then, the probability distribution of the illuminant is uniform, , being  a constant value.
- The illumination and the reflectance are statistically independent of each other .
- The value of a pixel  is a function of the reflectance , the illuminant  and the Gaussian noise w_ki with a mean equal to zero and variance  (Eq. 1). <br/>
 Eq. 1 <br/>
The multivariable function described in Eq. 1 can be statistically represented using the likelihood function. It is equivalent to Gaussian noise probability distribution (Eq. 2). <br/>
 Eq. 2 <br/>
### Priors: Reflectance & Illuminant:
We created an **image dataset** to get the reflectance and illuminant prior distributions. It has images of green fabric pieces on pots and Macbeth colorChecker charts. They were illuminated using D65 standard illuminant. <br/>
 Eq. 3 <br/>
As the illumation is uniform over a pixel class the probability distribution is given by:<br/>
 Eq. 4 <br/>
### Maximum a posteriori
We estimate the illumination value when the posterior distribution reaches the highest value. <br/>
 Eq. 5 <br/>
## Resources
* Source Repository (prior): https://github.com/diloc/Color_correction/blob/8dea8b92ac3cea5e5c198348c04a50d10c2f8adb/Color_Constancy/prior.ipynb
* Source Repository (main): https://github.com/diloc/Color_correction/blob/919477408e1679f0c3c715a99ab9bff2afca433f/Color_Constancy/main.ipynb
## Dependencies
* Python (3. 7 or higher).
* Pandas (1.0.3 or higher).
* OpenCV (4.2.0 or higher).
* Datetime
* Scipy (1.4.1 or higher).
* Matplotlib (1.18.1 or higher).
# Results
The ColorBayes algorithm improved the accuracy of plant color on images taken by an indoor plant phenotyping system. Compared with existing approaches, it gave the most accurate metric results when correcting images from a dataset of Arabidopsis thaliana images.
| 102.716418 | 795 | 0.798314 | eng_Latn | 0.91162 |
2ec0f67709b6741b9fd3e9f59c438c82ac40fcbf | 8,352 | md | Markdown | _posts/2015-03-30-bbc-la-experiencia-alemana-que-cambio-la-vida-de-putin.md | gerswin/gerswin.github.io | 6d0db9521de609fa6af1c6befbaa3c0af6ba770f | [
"MIT"
] | null | null | null | _posts/2015-03-30-bbc-la-experiencia-alemana-que-cambio-la-vida-de-putin.md | gerswin/gerswin.github.io | 6d0db9521de609fa6af1c6befbaa3c0af6ba770f | [
"MIT"
] | null | null | null | _posts/2015-03-30-bbc-la-experiencia-alemana-que-cambio-la-vida-de-putin.md | gerswin/gerswin.github.io | 6d0db9521de609fa6af1c6befbaa3c0af6ba770f | [
"MIT"
] | null | null | null | ---
id: 84
title: 'BBC: La experiencia alemana que cambió la vida de Putin'
author: gerswin
layout: post
guid: http://127.0.0.1/wordpress/?p=84
permalink: /reportajes-y-especiales/bbc-la-experiencia-alemana-que-cambio-la-vida-de-putin/
categories:
- Reportajes y Especiales
tags:
- Reportajes y Especiales
---
<div id="content-area">
<b></b></p>
<div class="wp-caption alignleft" id="attachment_405196" style="width: 366px">
<a data-lightboxplus="lightbox[405195]" href="http://i1.wp.com/www.lanacion.com.ve/fotoedicion//2015/03/150328190957_putin_dresden_624x351_afp.jpg" title="BBC: La experiencia alemana que cambió la vida de Putin"><img alt="Vladimir Putin " class="size-medium wp-image-405196" data-recalc-dims="1" src="http://i2.wp.com/www.lanacion.com.ve/fotoedicion//2015/03/150328190957_putin_dresden_624x351_afp.jpg?resize=356%2C200" /></a>
<p class="wp-caption-text">
Vladimir Putin
</p>
</div>
<p>
Para comprender a Vladimir Putin hay que conocer una historia acaecida en Alemania Oriental en una dramática noche de hace ya un cuarto de siglo.
</p>
<p>
Corría el 5 de diciembre de 1989 y a pocos días de la caída del muro de Berlín el comunismo alemán agonizaba y la población enardecida parecía estar dotada de una fuerza irresistible
</p>
<p>
En la ciudad de Dresde una muchedumbre asaltó el cuartel de la Stasi, la temida policía secreta y luego un pequeño grupo de manifestantes se dirigió a los cuarteles del servicio secreto soviético: la KGB.
</p></p>
<div class="alignleft">
</div>
<p>
“El guardia que estaba en la puerta inmediatamente se retiró hasta la casa”, recuerda uno de los miembros del grupo, Siegfried Dannath. Pero, poco después, “apareció un oficial, bastante pequeño, agitado”, cuenta. “Nos dijo: ‘No intenten entrar a la fuerza. Mis camaradas están armados y tienen autorización para usar sus armas en caso de emergencia’”, recuerda Dannath. Y eso bastó para que el grupo se retirara.
</p>
<p>
El oficial de la KGB, sin embargo, sabía que el peligro no había pasado. Y más tarde contaría que llamó al cuartel general de una unidad de tanques del Ejército Rojo destacada en la zona para pedir protección.
</p>
<p>
</p>
<p>
<strong>“Moscú está callado”</strong>
</p>
<div class="wp-caption alignright" id="attachment_405197" style="width: 366px">
<a data-lightboxplus="lightbox[405195]" href="http://i2.wp.com/www.lanacion.com.ve/fotoedicion//2015/03/150328190816_putin_dresden_624x351_bbc.jpg" title="BBC: La experiencia alemana que cambió la vida de Putin"><img alt="Cuartel de la KGB (Fuente:BBC)" class="size-medium wp-image-405197" data-recalc-dims="1" src="http://i1.wp.com/www.lanacion.com.ve/fotoedicion//2015/03/150328190816_putin_dresden_624x351_bbc.jpg?resize=356%2C200" /></a>
<p class="wp-caption-text">
Cuartel de la KGB (Fuente:BBC)
</p>
</div>
<p>
La respuesta que recibió le produjo un choque devastador que le cambió la vida.
</p>
<p>
“No podemos hacer nada sin órdenes de Moscú”, dijo una voz al otro lado de la línea.
</p>
<p>
“Y Moscú está callado”.
</p>
<p>
Desde entonces la frase “Moscú está callado” ha perseguido a ese hombre, desafiante pero impotente en 1989 y ahora convertido en “Moscú”.
</p>
<p>
Putin había llegado a Dresde a mediados de la década de 1980 para su primer puesto en el extranjero como agente de la KGB.
</p>
<p>
La República Democrática Alemana (RDA), un estado comunista ubicado en la zona de influencia soviética luego de la derrota de la Alemania nazi, era muy importante para Moscú y estaba llena de espías y militares.
</p>
<p>
Y desde su juventud Putin siempre había querido ser parte de la KGB, inspirado por historias heroicas en las que, como recordaría luego, “el esfuerzo de un hombre podía conseguir lo que no lograban ejércitos, y un espía podía decidir el destino de miles de personas”.
</p>
<p>
Mucho del trabajo de espionaje que tenía que hacer en Dresde no era particularmente excitante, pero al menos él y su joven familia podían disfrutar de la buena vida de Alemania Oriental, muy diferente a la de la Unión de Repúblicas Socialistas Soviéticas (URSS).
</p>
<p>
“Las calles estaban limpias. Las ventanas se lavaban una vez a la semana”, recuerda su esposa de entonces, Ludmila, en una entrevista publicada en el año 2000 como parte del libro “Primera Persona”, una compilación de entrevistas con el entonces poco conocido mandatario ruso.
</p>
<p>
Los Putin vivían en un edificio de apartamentos especial, en el que tenían por vecinos a otros agentes de la KGB o de la Stasi.
</p>
<p>
Además de uno estándares más altos de vida diferenciaban a Alemania del Este de la URSS: la RDA también permitía la existencia de varios partidos políticos, a pesar de que funcionaba como un régimen comunista.
</p>
<p>
“Para Putin era como un pequeño paraíso y lo disfrutaba mucho”, dice Boris Reitschuster. “Reconstruyó una especie de RDA en la Rusia de hoy”.
</p>
<p>
</p>
<p>
<strong>Momento de cambio</strong>
</p>
<p>
En el otoño de 1989, sin embargo, el paraíso empezó a convertirse en una especie de infierno para la KGB.
</p>
<p>
A inicios de Octubre, por ejemplo, a cientos de ciudadanos alemanes orientales que habían solicitado asilo político en la embajada de la República Federal de Alemania en Praga se les permitió viajar a la RFA por tren.
</p>
<p>
Los trenes estaban sellados, pero al pasar por Dresde una muchedumbre trató de romper los cordones de seguridad para abordarlos y poder escapar.
</p>
<p>
Según el alcalde comunista de la época, Wolfgang Berghofer, en la ciudad reinaba el caos y muchos asumieron que la violencia era inevitable.
</p>
<p>
“Había un batallón de tanques soviéticos estacionado en la ciudad”, recuerda. “Y sus generales me habían dicho claramente: ‘Si Moscú da la orden, los tanques saldrán’”.
</p>
<p>
Pero Moscú, bajo Mijaíl Gorbachov, “estaba callado”. Los tanques del Ejército Rojo nunca salieron a la calle. Nadie protegió a los agentes de la KGB.
</p>
<p>
Putin y sus colegas trabajaron frenéticamente para quemar cualquier evidencia de su trabajo de inteligencia.
</p>
<p>
“Yo personalmente quemé muchísimo material”, recordaría luego Putin en “Primera Persona”. “Quemamos tantas cosas que el horno explotó”, cuenta.
</p>
<p>
</p>
<p>
<strong>Nueva vida </strong>
</p>
<div class="wp-caption alignleft" id="attachment_405198" style="width: 309px">
<a data-lightboxplus="lightbox[405195]" href="http://i0.wp.com/www.lanacion.com.ve/fotoedicion//2015/03/vladimir-putin1.jpg" title="BBC: La experiencia alemana que cambió la vida de Putin"><img alt="De 1990 a 1996 Putin trabajó para el alcalde de San Petersburgo. Luego se mudó a Moscú y empezó su ascención." class="size-medium wp-image-405198" data-recalc-dims="1" src="http://i0.wp.com/www.lanacion.com.ve/fotoedicion//2015/03/vladimir-putin1.jpg?resize=299%2C200" /></a>
<p class="wp-caption-text">
De 1990 a 1996 Putin trabajó para el alcalde de San Petersburgo. Luego se mudó a Moscú y empezó su ascención.
</p>
</div>
<p>
Putin había sido en Dresden parte de una red de individuos que ahora estaban muy bien ubicados para prosperar política y económicamente en la nueva Rusia.
</p>
<p>
Muchos analistas creen que eventos como el levantamiento popular de la plaza Maidan en Ucrania han revivido los malos recuerdos de Putin y especialmente los de aquella noche de diciembre de 1989 en Dresde.
</p>
<p>
“Yo creo que cuando ve a las muchedumbres en Kiev en 2014, en Moscú en 2011 o en Kiev en 2013, se acuerda de su tiempo en Dresde. Y todos sus viejos miedos resucitan”, dice Reitschuster.
</p>
<p>
Y dentro suyo tal vez también está el recuerdo de como el cambio puede ser moldeado no solo por la fuerza o la debilidad, sino también por la emoción.
</p>
<p>
En 1989 Vladimir Putin fue testigo de cómo el sentimiento patriótico, combinado con los anhelos de democracia, resultaron mucho más poderosos que la ideología comunista.
</p>
</div> | 44.903226 | 479 | 0.718271 | spa_Latn | 0.995803 |
2ec1c2412f70a57d3f53369ad49a9d5eae2c3a7d | 136 | md | Markdown | pages/02_research.md | guille-rochelle/guille-rochelle.github.io | 69b5809e8f089b6db1afb5a510d735105013af9a | [
"MIT"
] | null | null | null | pages/02_research.md | guille-rochelle/guille-rochelle.github.io | 69b5809e8f089b6db1afb5a510d735105013af9a | [
"MIT"
] | null | null | null | pages/02_research.md | guille-rochelle/guille-rochelle.github.io | 69b5809e8f089b6db1afb5a510d735105013af9a | [
"MIT"
] | null | null | null | ---
layout: page
title : Research
feature-img: "assets/img/design/research.gif"
permalink: /research/
---
{% include portfolio.html %} | 17 | 45 | 0.705882 | eng_Latn | 0.805715 |
2ec228c0bc56f8520b07c8631f816bc6fea1f676 | 213 | md | Markdown | CHANGELOG.md | rafa-acioly/lasier | b518f93207ff15ba32b286f466f3ca3cea231b4c | [
"MIT"
] | null | null | null | CHANGELOG.md | rafa-acioly/lasier | b518f93207ff15ba32b286f466f3ca3cea231b4c | [
"MIT"
] | null | null | null | CHANGELOG.md | rafa-acioly/lasier | b518f93207ff15ba32b286f466f3ca3cea231b4c | [
"MIT"
] | null | null | null | # Changelog
## [0.0.2] - 2020-04-28
### Added
* Typing hint all classes and functions
* `mypy` and `black` on `make check` recipe (which is runned in each CI job)
## [0.0.1] - 2020-04-08
* First Release :tada:
| 19.363636 | 76 | 0.643192 | eng_Latn | 0.985293 |
2ec22cc7083ed8e7d7b6df4cd6835d004144ccf8 | 2,296 | md | Markdown | faqs/1-whygithub.md | rsx-labs/rsx-labs.github.io | ad812a43bc2529648dae469997a91b620ee7620b | [
"MIT"
] | null | null | null | faqs/1-whygithub.md | rsx-labs/rsx-labs.github.io | ad812a43bc2529648dae469997a91b620ee7620b | [
"MIT"
] | 2 | 2019-04-25T07:15:14.000Z | 2019-04-25T07:18:18.000Z | faqs/1-whygithub.md | rsx-labs/rsx-labs-primer | ad812a43bc2529648dae469997a91b620ee7620b | [
"MIT"
] | null | null | null | # Why <span style="color:#D4AC0D">Git</span><span style="color:green">Hub</span> ?
Simple, because its THE GitHub! It is the universal repository for most open source project. Not just any open source project, projects from the big tech such as Microsoft, Google, Amazon, Mozilla and the likes are all over GitHub. Microsoft abandoned its Codeplex service and acquired GitHub for a whoooping $7.5B. Its a haven for programmers and collaborators. Its the Facebook for codes!
## What can <span style="color:green">we</span> <span style="color:#FFC300">do</span> on GitHub?
Primarily, GitHub is an online repository of codes. But thats the old GitHub, it has grown over the years adding services and integrating to a lot of third party tools in the market. From analytics, error reporting, project management, continuous integration, continuous delivery, devops operation and to vast list of geek magics. Its a virtual swiss knife for an individual ninja, a promising startup or a gigantic enterprise .
The online repository opens to a lot of possibilities. It provides a gateway to interface to a lot of online services. The dark ages of keeping your source code in a drive is gone, so is the concept of keeping the code for your self. As long as it does not violate laws, company policies and doesn't expose private details, going open source is a way to grow and improve your idea. GitHub provide that avenue, supporting both private at public repositories.
GitHub is just not about codes! You can host a blog, a document, a tutorial, a static web page , a gist (code snippets) for free!
Repository. Collaboration. Integration. Ideas. Innovation.
## Oppo<span style="color:#041064">rtuni</span>ties
Showcase your projects and let any developer accross continents, time lines and ethnicity critique, review and provide suggestions and improvements.
Get a chance to try vast list of tools that GitHub support for task related (but not limited) to, project manageent, CD/CI, analytics, and error logging.
## <span style="color:red">Warning</span>
Like any thing that is made available online, it is open to exploitation. Be careful so that company policies are not violated and private data are not compromised.
<hr/>
RS Experimental Labs © 2019 - Present
| 82 | 458 | 0.771777 | eng_Latn | 0.998007 |
2ec2b8e8abd2c60d86aeb01b51aa8f60d8aa507b | 223 | md | Markdown | bug_report.md | Dr-Ari-Gami/website | 1a75dab6fa1f25acd02be1eb51f4e1b5cf817573 | [
"Apache-2.0"
] | 6 | 2019-06-16T20:03:35.000Z | 2021-06-05T19:26:26.000Z | bug_report.md | imlarx/website | 3f19296af298d8a5457aa5d2c00b2713c7a11150 | [
"Apache-2.0"
] | 62 | 2018-04-11T09:11:49.000Z | 2018-08-29T05:53:29.000Z | bug_report.md | imlarx/website | 3f19296af298d8a5457aa5d2c00b2713c7a11150 | [
"Apache-2.0"
] | 7 | 2018-04-17T23:41:27.000Z | 2021-02-02T16:36:04.000Z | # Issue Template
**Only use this template if you are reporting a bug! Delete this if you are suggesting a feature.**
### Expected behaviour?
### Actual behaviour?
### Steps to reproduce?
### Any additional information?
| 20.272727 | 99 | 0.721973 | eng_Latn | 0.996386 |
2ec3205e8d9c5ebd1b49ce6304019d9377a74467 | 3,671 | md | Markdown | _posts/2020-03-25-vaali-tamil-movie-download.md | tamilrockerss/tamilrockerss.github.io | ff96346e1c200f9507ae529f2a5acba0ecfb431d | [
"MIT"
] | null | null | null | _posts/2020-03-25-vaali-tamil-movie-download.md | tamilrockerss/tamilrockerss.github.io | ff96346e1c200f9507ae529f2a5acba0ecfb431d | [
"MIT"
] | null | null | null | _posts/2020-03-25-vaali-tamil-movie-download.md | tamilrockerss/tamilrockerss.github.io | ff96346e1c200f9507ae529f2a5acba0ecfb431d | [
"MIT"
] | 1 | 2020-11-08T11:13:29.000Z | 2020-11-08T11:13:29.000Z | ---
title: "Vaali Tamil Movie Download"
date: "2020-03-25"
---

**_Vaali Sample Part.mp4_**
**_Size: 2.22mb_**
**_[Download Server 1](http://b6.wetransfer.vip/files/{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Actor{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Hits{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Collection/Ajith{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Movies{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Collection/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20(1999)/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Mp4{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20HD/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20HD{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Sample.mp4)_**
**_[Download Server 2](http://b6.wetransfer.vip/files/{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Actor{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Hits{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Collection/Ajith{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Movies{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Collection/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20(1999)/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Mp4{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20HD/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20HD{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Sample.mp4)_**
**_Vaali Single Part.mp4_**
**_Size: 540.36mb_**
**_[Download Server 1](http://b6.wetransfer.vip/files/{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Actor{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Hits{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Collection/Ajith{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Movies{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Collection/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20(1999)/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Mp4{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20HD/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20HD.mp4)_**
**_[Download Server 2](http://b6.wetransfer.vip/files/{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Actor{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Hits{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Collection/Ajith{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Movies{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Collection/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20(1999)/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20Mp4{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20HD/Vaali{6f622526c29ee360cda5b2e87a916054ceacd5b4cb5e41dd1b031440e2d63f02}20HD.mp4)_**
| 159.608696 | 888 | 0.926995 | yue_Hant | 0.340576 |
2ec446b3c44b781957b021000484a61d0eedb524 | 613 | md | Markdown | README.md | EdinaldoCIcero/WebPage_02_Tenis_Center | e37b9c74a34d8d771a2ac5368fe435e9ca49b378 | [
"MIT"
] | null | null | null | README.md | EdinaldoCIcero/WebPage_02_Tenis_Center | e37b9c74a34d8d771a2ac5368fe435e9ca49b378 | [
"MIT"
] | null | null | null | README.md | EdinaldoCIcero/WebPage_02_Tenis_Center | e37b9c74a34d8d771a2ac5368fe435e9ca49b378 | [
"MIT"
] | null | null | null | # WebPage_02_Tenis_Center
Pagina web feita com Html,Css e Js , para estudos praticos.
Artes conceitual da pagina.
------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------
Resultado final da pagina web.
https://user-images.githubusercontent.com/68930411/150877430-f89dbabe-ce17-4b91-8224-fe11c123cf4f.mp4
| 51.083333 | 120 | 0.497553 | che_Cyrl | 0.165621 |
2ec71afe2cc91d163ab1ac9055a7ac4f72eb0e29 | 4,520 | md | Markdown | add/metadata/System.Data.Common/DbConnectionStringBuilder.meta.md | kcpr10/dotnet-api-docs | b73418e9a84245edde38474bdd600bf06d047f5e | [
"CC-BY-4.0",
"MIT"
] | 1 | 2020-06-16T22:24:36.000Z | 2020-06-16T22:24:36.000Z | add/metadata/System.Data.Common/DbConnectionStringBuilder.meta.md | kcpr10/dotnet-api-docs | b73418e9a84245edde38474bdd600bf06d047f5e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | add/metadata/System.Data.Common/DbConnectionStringBuilder.meta.md | kcpr10/dotnet-api-docs | b73418e9a84245edde38474bdd600bf06d047f5e | [
"CC-BY-4.0",
"MIT"
] | 1 | 2020-05-02T13:31:28.000Z | 2020-05-02T13:31:28.000Z | ---
uid: System.Data.Common.DbConnectionStringBuilder
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#Collections#IDictionary#GetEnumerator
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetProperties(System.Attribute[])
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetConverter
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetDefaultEvent
---
---
uid: System.Data.Common.DbConnectionStringBuilder.AppendKeyValuePair(System.Text.StringBuilder,System.String,System.String)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#Collections#ICollection#IsSynchronized
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#Collections#ICollection#SyncRoot
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetComponentName
---
---
uid: System.Data.Common.DbConnectionStringBuilder.#ctor
---
---
uid: System.Data.Common.DbConnectionStringBuilder.Item(System.String)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.EquivalentTo(System.Data.Common.DbConnectionStringBuilder)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetEvents
---
---
uid: System.Data.Common.DbConnectionStringBuilder.#ctor(System.Boolean)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.ClearPropertyDescriptors
---
---
uid: System.Data.Common.DbConnectionStringBuilder.Remove(System.String)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetEditor(System.Type)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#Collections#IEnumerable#GetEnumerator
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetProperties
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetAttributes
---
---
uid: System.Data.Common.DbConnectionStringBuilder.Values
---
---
uid: System.Data.Common.DbConnectionStringBuilder.BrowsableConnectionString
---
---
uid: System.Data.Common.DbConnectionStringBuilder.GetProperties(System.Collections.Hashtable)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetDefaultProperty
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetClassName
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetPropertyOwner(System.ComponentModel.PropertyDescriptor)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.IsFixedSize
---
---
uid: System.Data.Common.DbConnectionStringBuilder.ContainsKey(System.String)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#Collections#IDictionary#Add(System.Object,System.Object)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#Collections#IDictionary#Item(System.Object)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.AppendKeyValuePair
---
---
uid: System.Data.Common.DbConnectionStringBuilder.ToString
---
---
uid: System.Data.Common.DbConnectionStringBuilder.IsReadOnly
---
---
uid: System.Data.Common.DbConnectionStringBuilder.Clear
---
---
uid: System.Data.Common.DbConnectionStringBuilder.AppendKeyValuePair(System.Text.StringBuilder,System.String,System.String,System.Boolean)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.Add(System.String,System.Object)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.Keys
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#Collections#IDictionary#Remove(System.Object)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#ComponentModel#ICustomTypeDescriptor#GetEvents(System.Attribute[])
---
---
uid: System.Data.Common.DbConnectionStringBuilder.ShouldSerialize(System.String)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.Count
---
---
uid: System.Data.Common.DbConnectionStringBuilder.ConnectionString
---
---
uid: System.Data.Common.DbConnectionStringBuilder.System#Collections#IDictionary#Contains(System.Object)
---
---
uid: System.Data.Common.DbConnectionStringBuilder.TryGetValue(System.String,System.Object@)
---
| 25.111111 | 152 | 0.80708 | yue_Hant | 0.950306 |
2ec758c208d3fbdb622696dd10540bcc1d01708a | 269 | md | Markdown | README.md | kaynenotkanye/docker-build-ubumvnjava8 | 6da78ad2b45b9b4fda9016f8192f49791e1cee6e | [
"MIT"
] | null | null | null | README.md | kaynenotkanye/docker-build-ubumvnjava8 | 6da78ad2b45b9b4fda9016f8192f49791e1cee6e | [
"MIT"
] | null | null | null | README.md | kaynenotkanye/docker-build-ubumvnjava8 | 6da78ad2b45b9b4fda9016f8192f49791e1cee6e | [
"MIT"
] | null | null | null | # Commands to build and push
```
docker build -t kamornvi/ubumvnjava8 .
docker push kamornvi/ubumvnjava8
```
# Commands to build and push specific tag
```
docker build -t kamornvi/ubumvnjava8:openjdk-1.8.0_242 .
docker push kamornvi/ubumvnjava8:openjdk-1.8.0_242
```
| 20.692308 | 56 | 0.754647 | eng_Latn | 0.279635 |
2ec7dce8610165c0f124a686b7ed96a29c36e6ea | 5,691 | md | Markdown | CONTRIBUTING.md | bd0n4lds/hedera-starter-spring | 656c41548e0abf011f4af6632257447118425061 | [
"Apache-2.0"
] | 3 | 2021-02-04T21:59:29.000Z | 2022-02-14T16:23:10.000Z | CONTRIBUTING.md | bd0n4lds/hedera-starter-spring | 656c41548e0abf011f4af6632257447118425061 | [
"Apache-2.0"
] | null | null | null | CONTRIBUTING.md | bd0n4lds/hedera-starter-spring | 656c41548e0abf011f4af6632257447118425061 | [
"Apache-2.0"
] | 6 | 2021-02-04T21:57:41.000Z | 2022-03-04T11:07:47.000Z | # Contributing to the Hedera Starter Java Spring
Thank you for your interest in contributing the Hedera Starter Java Spring Project!
We appreciate your interest in helping us and the rest of our community. We welcome bug reports, feature requests, and code contributions.
**Jump To:**
* [Bug Reports](#bug-reports)
* [Feature Requests]
* [Code Contributions]
## Bug Reports
Bug reports are accepted through the Issues page.
The bug label is used to track bugs.
### Before Submitting a Bug Report
Before submitting a bug report, please do the following:
1. Do a search through the existing issues to make sure it has not already been reported. If you find that the bug has already been raised, please give it a +1 to help us to decide which issues we prioritise.
2. If possible, upgrade to the latest release of the SDK. It's possible the bug has already been fixed in the latest version. We will do our utmost to maintain backwards compatibility between patch version releases, so that you can be confident that your application will continue to work as expected with the newer version.
If you have completed these steps and you need to submit a bug report, please read the guidelines below.
### Submitting a Bug Report
Please ensure that your bug report contains the following:
* A short, descriptive title. Other community members should be able to understand the nature of the issue by reading this title.
* A succinct, detailed description of the problem you're experiencing. This should include:
* Expected behaviour of the project and the actual behaviour exhibited.
* Any details of your application development environment that may be relevant.
* If applicable, the exception stack-trace.
* If you are able to create one, include a Minimal Working Example that reproduces the issue.
* Markdown formatting as appropriate to make the report easier to read; for example use code blocks when pasting a code snippet or exception stack-trace.
## Feature Requests
Feature requests are also submitted through the Issues page.
As with Bug Reports, please do a search of the open requests first before submitting a new one to avoid duplicates. If you do find a a feature request that represents your suggestion, please give it a +1.
**NOTE:** If you intend to implement this feature, please submit the feature request before working on any code changes. This will allow members to assess the idea, discuss the design with you and ensure that it makes sense to include such a feature.
Feature requests are labeled as enhancements.
### Submitting a Feature Request
Open an issue with the following:
* A short, descriptive title. Other community members should be able to understand the nature of the issue by reading this title.
* A detailed description of the the proposed feature. Explain why you believe it should be added to the project. Illustrative example code may also be provided to help explain how the feature should work.
* Markdown formatting as appropriate to make the request easier to read.
* If you plan to implement this feature yourself, please let us know that you'd like to the issue to be assigned to you.
## Code Contributions
Code contributions to the project are handled using Pull Requests. Please keep the following in mind when considering a code contribution:
* The project is released under the Apache 2.0 License.
Any code you submit will be released under this license.
* For anything other than small or quick changes, you should always start by reviewing the Issues page to ensure that the nobody else is already working on the same issue.
If you're working on a bug fix, check to see whether the bug has already been reported. If it has but no one is assigned to it, ask one of the maintainers to assign it to you before beginning work. If you're confident the bug hasn't been reported yet, create a new Bug Report and ask us to assign it to you.
If you are thinking about adding entirely new functionality, open a Feature Request or get in touch with us on Discord to ask for feedback first before beginning work; this is to ensure that nobody else is already working on the feature (or another similar feature) and to confirm that it makes sense for such functionality to be included in the project.
* All code contributions must be accompanied with new or modified tests that verify that the code works as expected; i.e. that the issue has been fixed or that the functionality works as intended.
### Pull Request Readiness
Before submitting your pull request, refer to the pull request readiness checklist below:
- [ ] Includes tests to exercise the new behaviour
- [ ] Code is documented, especially public and user-facing constructs
- [ ] Local run of mvn checkstyle:check and mvn spotbugs:check succeed
- [ ] Git commit message is detailed and includes context behind the change
- [ ] If the change is related to an existing Bug Report or Feature Request, please include its issue number
To contribute, please fork the GitHub repository and submit a pull request to the master branch.
### Getting Your Pull Request Merged
All Pull Requests must be approved by at least one member of the SDK team before it can be merged in. The members only have limited bandwidth to review Pull Requests so it's not unusual for a Pull Request to go unreviewed for a few days, especially if it's a large or complex one. After a couple of weeks, if you haven't received any feedback regarding your Pull Request from the SDK team, feel free to contact us on Discord to ask for a review.
### Getting in Contact
Join us in our Discord channel; there you can engage with the Hedera team and other developers and enthusiasts.
| 66.952941 | 445 | 0.787384 | eng_Latn | 0.999898 |
2ec89b8f44b76ac188f0524d624a608d3960ded8 | 6,768 | md | Markdown | site/content/post/diner-wont-be-dining-at-the-diner-again.md | conoro/conoroneill-com-hugo-cms | 1dde2657310ba231a58cc107b21eb4a4638222af | [
"MIT"
] | null | null | null | site/content/post/diner-wont-be-dining-at-the-diner-again.md | conoro/conoroneill-com-hugo-cms | 1dde2657310ba231a58cc107b21eb4a4638222af | [
"MIT"
] | 2 | 2021-09-01T03:59:23.000Z | 2022-02-12T09:04:46.000Z | site/content/post/diner-wont-be-dining-at-the-diner-again.md | conoro/conoroneill-com-hugo-cms | 1dde2657310ba231a58cc107b21eb4a4638222af | [
"MIT"
] | 1 | 2020-12-11T08:00:08.000Z | 2020-12-11T08:00:08.000Z | ---
title: "Diner won't be dining at the Diner again"
slug: "diner-wont-be-dining-at-the-diner-again"
date: "2006-01-03T23:25:46+00:00"
tags:
id: 212
comment: false
---
Ach, I hate giving bad reviews of places. I genuinely want every place I eat in to dazzle me. A few months back a new place opened in Bandon - "Jack O'Dwyer's Diner". It caught my eye instantly because I had only just been blogging about [the dearth of fab and interesting burger joints in Ireland](http://conoroneill.com/2005/06/25/burger-innovation-in-ireland/). Of course I was concerned that it would just be another crappy chipper with a bit of an image makeover but deep down I was really hoping that someone had had the vision to make a great diner in Bandon that would put the likes of the Eddie Rockets of the world in the shade. It shouldn't be too hard - Eddie Rockets itself is a straight lift of [Johnny Rockets](http://www.johnnyrockets.com/index2.php) in the US. The ideal would be good fast food with a ton of variations on a small set of staples in a traditional US diner environment.
We had just been to Long Strand to let the kids dig some holes and let Oisín run into the water and get soaked (Oisín is a 4-year old child as opposed to a dog but the behaviour on a beach is pretty similar). On the way back we decided to finally give Jack O'Dwyers a try.
Initial impressions were excellent - Neon Pepsicola sign in the window and a genuinely excellent look to the whole place with classic booths and bar stools and bits of Americana on the wall. The waitress was helpful but not exactly "have a nice day y'all". She passed around the tiny menus and pointed out the specials on the blackboard. At this point it all fell apart. We appeared to have been 15 minutes early for the full menu and so got this bizarre stripped down mixture of hotel carvery food,sandwich melts and one burger (which I nearly missed). The specials included beef curry and chicken n ham. Beef what? With chips?After the meal I found a full menu on the counter and it was more as I had hoped/expected - Nachos, burgers, steaks etc. But what an odd way to advertise the place during the day. And why the change? The whole point of a classic diner is the same food all day up to 24 hrs a day. This is where the idea of the all-day breakfast came from. Instead we get this potential out-take from Michael Douglas in Falling Down.
Utterly despondant, I ordered the burger (no options offered), Catherine had the chicken melt and the three squirts had plaice and chips. We inquired about milk-shakes. No. No? In a diner? No? Ribena ok instead? Yeah I guess. Milk for Ois (still sounds like a terrier doens't he) and coffees for us. Food arrived out in double quick time which was great as our darlings are not part of the Franco-Italian culture of behaving in a restaurant. My burger bun was a lovely looking floury bap which is infinitely preferable to those pseudo-McDonalds buns you get in most places. But apart from that, I got a mass-produced beef patty from the freezer, a slice of tomato, some iceberg and a dollop of mayo, chips from a wholesaler, coleslaw from a tub and potato salad from a tub. Catherines exactly the same, replacing the words beef patty, with the words piece of battered chicken. Kids got breaded plaice from the freezer and chips. They ate the chips. And for this fine piece of freezer-to-deep-fat-fryer chefery? €47!
Now you may think I'm being ridiculously picky and if it had cost €20 for the lot then maybe I would be. But this is local chipper level food at totally inappropriate prices. The sad thing is that for half the money we could have had a better meal in McDonalds (which we did in Roscrea on Saturday). I just do not get why someone goes into business to create food which can't even compete with McDonalds. I don't want to sound like I'm getting a nasty dig at these people. Running a restaurant is, by all accounts, one of the toughest things one can do. The hours are brutal and the chances of success are often slim. They have far more bottle than me in setting up something like this. These are, I believe, local people and they have clearly pumped a ton of money into setting this place up. It looks great and it seems like they have a full-featured kitchen but I really really don't think they will succeed as is by having no differentiator other than the the word "diner" and I would so love for them to do well. Entrepreneurship should always be lauded.
But if I want carvery food, I'll go to the Musters Arms or a multitude of pubs. If I want Birds Eye or Carroll Meats food from a deep-freeze, I'll go to the chipper (and actually the main chipper is pretty good). So who is this diner targeted at? A farmer in for a slap-up beef dinner wouldn't even think of going into a place like that. Young uns will go in but only once after they see the bill. Tourists will surely be attracted by the look of the place but there are only so many of them.
I just do not get it. It's like the vision just went completely astray at some point. Or is it that a bank manager or accountant is in the driving seat and utterly focused on cost base and forgetting that they need actual paying punters for the place to be a success? I would love to see the place do well but I cannot see it happening with the current approach. Why can't the aim to be the best damned burger and shake joint in the country? Why shouldn't this be the first in a chain? There are so many places which could be used as a benchmark. Look at Elephant and Castle in Dublin - the food is absolutely nothing to write home about with dreadful service and but it is solid good quality fare. And they have legendary chilli-sauce coated chicken gristle (Buffalo Wings for those who missed the sarcasm) and as a result the place is usually hopping. There is no reason why Jack O'Dwyers could not emulate that.
I am convinced that a really good "proper" diner would be a roaring success. Even simple touches could help to start with - the "house secret recipe" for the burger sauce (you can get the Big Mac recipe on the web at a push). Nachos topped with everything (and I mean everything) offered as a good group starter as soon as people are seated. Most people may not have been thinking of a starter but they'll probably think - hmm that might be nice, sure, a big bowl of Nachos please. Eggs done 16 different ways. Simple simple things to start heading towards what could become a destination eartery for anyone heading towards West Cork and in the mood for good tasty fast food. Fingers crossed.
Technorati Tags: [diner](http://technorati.com/tag/diner), [eddierockets](http://technorati.com/tag/eddierockets), [birdseye](http://technorati.com/tag/birdseye)
| 241.714286 | 1,060 | 0.78029 | eng_Latn | 0.999838 |
2ec8ce509573d26cabc91aeff7851a2ea8c446f2 | 627 | md | Markdown | README.md | PetroProkopovych/TODO-list | 1355edb97aba0167b50c7c6115834b3fd282893c | [
"MIT"
] | null | null | null | README.md | PetroProkopovych/TODO-list | 1355edb97aba0167b50c7c6115834b3fd282893c | [
"MIT"
] | null | null | null | README.md | PetroProkopovych/TODO-list | 1355edb97aba0167b50c7c6115834b3fd282893c | [
"MIT"
] | null | null | null | # TODO-list
Simple javascript TODO list app
## How to install
- Go to app root directory and run:
`npm install`
`npx webpack --config webpack.config.js`
- open index.html in browser
## How to use
User can create tasks, then move them to 'today' list (not more than 5). When user moves task to 'today' list, task is saved in database (Firebase). When user moves task back to 'all tasks' list, task is removed from database. User can mark/unmark task as done, status also updates in database. Completed task can't be moved back to 'all tasks' list.
## License
This project is licensed under the terms of the MIT license.
| 34.833333 | 350 | 0.743222 | eng_Latn | 0.993203 |
2ec8e5cf529c22c749a0446db8c7af6707e48348 | 6,275 | md | Markdown | static/README.md | miopio/thesis-play | 371bb728f04bef706c5f2fdcf657f4eb1b6356e1 | [
"MIT"
] | null | null | null | static/README.md | miopio/thesis-play | 371bb728f04bef706c5f2fdcf657f4eb1b6356e1 | [
"MIT"
] | 6 | 2020-04-18T21:19:53.000Z | 2022-01-22T11:39:34.000Z | static/README.md | miopio/thesis-play | 371bb728f04bef706c5f2fdcf657f4eb1b6356e1 | [
"MIT"
] | 1 | 2020-05-14T17:13:13.000Z | 2020-05-14T17:13:13.000Z | # STATIC
**This directory is not required, you can delete it if you don't want to use it.**
This directory contains your static files.
Each file inside this directory is mapped to `/`.
Thus you'd want to delete this README.md before deploying to production.
Example: `/static/robots.txt` is mapped as `/robots.txt`.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#static).
TIMELINE TEXTS
STEP 1
This is a timeline of all of the publicly reported academic sexual misconduct cases in the US. There is a total of 1030 reported cases from 1979 to 2020, as of April 1, 2020. Only cases with known outcomes are shown here (all cases in 2020, and a portion of cases in 2019 are still unresolved). Note that cases of sexual misconduct are likely much higher than what is officially reported to the institutions of origin. Reports of sexual harassment have steadily increased throughout the decades, with initial cases in the late 1970s. This is perhaps largely due to the passage of laws and public of court cases that set the stage for sexual harassment cases to come.
STEP 2
Under the Educational Amendments of 1972, the federal civil rights law Title IX was passed, which prohibited discrimination on the basis of sex in educational institutions receiving federal aid. In a landmark case in 1980 between Yale University and five of its students (Ronnie Alexander, Margery Reifler, Pamela Price, Lisa E Stone and Ann Olivarius) in 1980 (Alexander v Yale), Title IX was used for the first time in charges of sexual harassment against an educational institution. While the plaintiffs did not win the case, they succeeded in having Yale set in place a grievance procedure for students in the event that they experienced sexual harassment. It also established that sexual harassment could be considered sex discrimination under Title IX and was illegal.
In 1991, Anita Hill testified against then Supreme Court nominee Clarence Thomas during his confirmation hearings, accusing him of sexual harassment while he was her supervisor at the Department of Education and the Equal Employment Opportunity Commission. In that year alone, the number of sexual harassment cases reported to the EEOC increased by 58%, and has steadily increased since.
In 2017, actress Alyssa Milano used the hashtag #MeToo, originally coined by civil rights activist Tarana Burke in 2006, on Twitter to highlight sexual abuse by Hollywood titan Harvey Weinstein. With this, she called out for fellow survivors of sexual misconduct to step forward and join in on highlighting similar experiences. #MeToo subsequently went viral, as thousands of women publicly detailed their accounts. This triggered a massive increase in the number of reported sexual misconduct cases in the academic world as well.
STEP 3
Out of all cases, 332 of them originate from STEM fields. This is around a third of total cases. Following overall trends, reports of sexual misconduct cases have skyrocketed since 2017, when the #MeToo movement made waves throughout all of society. Many prominent scientists were exposed between 2017 and 2019 in highly publicized investigative news reports that reached beyond the immediate scientific community.
OUTCOME TEXTS
STEP 1
What happens to perpetrators of sexual misconduct once complaints are raised? Let's take a look:
STEP 2
Only an estimated 20% of the cases result in the perpetrators losing employment to the institutions, whether they get fired or their contracts get terminated. Another 20% of the perpetrators are given the opportunity to resign. The rest of the cases have resulted in a plethora of consequences, varying in degree of severity.
STEP 3
However, if you look closer at outcomes, many of them are not severe at all. The majority of them, in fact. A quarter of perpetrators resign, many in circumstances where institutions allow them to resign before an investigation is officially complete. Some conclude their academic careers by resigning. Others are suspended from teaching classes, only to resume after a few years and a few sexual harassment training courses. Institutions settle cases in court on behalf of the perpetrators; investigations are concluded with an "official warning" to the perpetrators. Particularly when the perpetrators in question are highly influential, academically accomplished, and well known, investigative action takes longer.
STEP 4
The most common STEM disciplines in which sexual misconduct cases have been reported are bioscience, psychology, and mathematics, with bioscience and psychology making up roughly 10% of STEM cases, and mathematics making up around 7% of STEM cases.
STEP 5
You can explore the cases in different outcomes by hovering over them. They are first and foremost grouped by outcomes, then disciplines, then institutions.
CASE STUDY TEXTS
STEP 1
Here we have case studies of fifteen perpetrators of misconduct whose cases resulted in initial outcomes in 2018. Each bar represents a broad timeline of events of a single perpetrator. The midpoint, or zero-point, signifies the year at which the first sexual harassment complaint was filed. The extent each bar goes to the left signifies how many years prior to the complaint the first known incident occurred. The extent each bar goes to the right signifies how many years it took for investigations to initiate and conclude after the first complaint.
STEP 2
The US Department of Education OFfice for Civil Rights (OCR) previously indicated that a typical investigation should take 60-90 calendar days following receipt of the complaint. However, in 2017, it issued a guidance saying there is no fixed time frame under which a school must complete a Title IX investigation, only indicating that it will "evaluate a school's good faith effort to conduct a fair, impartial investigation in a timely manner". Some of these cases have spanned decades, with no action on part of the institutions upon first complaint. For each of these cases, there is more than one woman who has had to come forward in order for their voices to be heard (spanning several women to 300 women).
STEP 3
Learn of the events that happened in each perpetrator's "story arc" from by hovering over the bars. | 96.538462 | 774 | 0.810199 | eng_Latn | 0.999839 |
2ec934c1ea63e6f94ad828a27a0a080d6a96a053 | 5,656 | md | Markdown | README.md | amido/YamlMediaTypeFormatter | 49e33a78ceabe9eb2f2ced45e5f3756e4f10b029 | [
"Apache-2.0"
] | null | null | null | README.md | amido/YamlMediaTypeFormatter | 49e33a78ceabe9eb2f2ced45e5f3756e4f10b029 | [
"Apache-2.0"
] | null | null | null | README.md | amido/YamlMediaTypeFormatter | 49e33a78ceabe9eb2f2ced45e5f3756e4f10b029 | [
"Apache-2.0"
] | null | null | null | 
[](https://ci.appveyor.com/project/richard-slater/yamlmediatypeformatter/branch/master)
# Web API YAML MediaTypeFormatter
## Installation
The `MediaTypeFormatter` has been compiled against the .NET Framework v4.0 to provide compatibility across a range of recent ASP.NET Web API releases. Developers can import it into your project either via NuGet or directly as an Assembly Reference, instructions are included for both below.
### NuGet Method
The `MediaTypeFormatter` NuGet package uses [David Ebbo's](https://github.com/davidebbo) excellent [WebActivator extension](https://github.com/davidebbo/WebActivator) to inject startup behavior into your web application. This means other than installing the package you don't have do any additional work to be able to accept and emit YAML.
#### UI
The following instructions apply to Visual Studio 2012+ it probably works for other versions of Visual Studio as long as you have the appropriate NuGet Package Manager extension and .NET Framework v4.0.
1. Right Click on your Project, and select **"Manage NuGet Packages..."**.
2. Ensure **"nuget.org"** is selected in the Package Source drop down.
3. Search for **"YamlMediaTypeFormatter"** and press <Enter>.
4. Depending on your configuration you may be asked to preview your changes, specifically you will be asked if you want to install `YamlDotNet`, `WebActivatorEx` and `YamlMediaTypeFormatter`.
#### Command Line
The following instructions apply to Visual Studio 2012+ it probably works for other versions of Visual Studio as long as you have the appropriate NuGet Package Manager extension and .NET Framework v4.0.
1. From the Visual Studio Menu Bar, Select **"Tools"**.
2. Select **"NuGet Package Manager"**, then **"Package Manager Console"**.
3. Ensure **"nuget.org"** is selected in the Package Source drop down.
4. Enter the following command in the console, replacing *[YourProjectName]* with the name of the project you wish to install the package into:
PM> Install-Package Amido.Net.Http.Formatting.YamlMediaTypeFormatter -ProjectName [YourProjectName]
### Manual Method
If you do not want, or for some reason can not use NuGet or WebActivator then it is possible to install and use `YamlMediaTypeFormatter` without either by compiling and referencing `YamlMediaTypeFormatter` and `YamlDotNet` directly.
#### Download the ZIP Packages
As of the 1.0.0-PreRelease67 version compiled versions of YamlMediaTypeFormatter are released in a ZIP Archive on [GitHub Releases](https://github.com/amido/YamlMediaTypeFormatter/releases) this includes all of the DLLs, PDBs and XML files for YamlMediaTypeFormatter and it's dependencies.
#### Compile from Source
*Note: In the examples below, I use the HTTPS Git endpoints for each repository as these provide for the widest support. It is possible use SSH or Git protocols to clone the repositories although firewalls may interfere with their function.*
To complete the following steps you will at a minimum need MSBuild 14 the easiest way to access this is by installing [Visual Stuido 2015 RC](https://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs) or use a [Pre-built Azure Image](http://blogs.msdn.com/b/visualstudioalm/archive/2014/06/04/visual-studio-14-ctp-now-available-in-the-virtual-machine-azure-gallery.aspx)
1. Obtain the `YamlMediaTypeFormatter` solution source code, by cloning the Git repository into an appropriate location, such as `C:\Source`:
cd C:\Source
git clone https://github.com/amido/YamlMediaTypeFormatter.git
2. From PowerShell execute the following command:
cd YamlMediaTypeFormatter
./build.ps1
3. After the build has completed browse to the following path in PowerShell or Windows Explorer:
Solutions\Amido.Net.Http.Formatting.YamlMediaTypeFormatter\bin\Release
4. Copy `Amido.Net.Http.Formatting.YamlMediaTypeFormatter.dll` to a location that you can reference from within your own project.
5. Add a reference to `Amido.Net.Http.Formatting.YamlMediaTypeFormatter.dll`.
6. Obtain the `YamlDotNet` solution source code, by cloning the Git repository into an appropriate location such as `C:\Source` using PowerShell:
cd C:\Source
git clone https://github.com/aaubry/YamlDotNet.git
7. Change directory to `YamlDotNet` and execute the command to download and unblock NuGet.exe:
cd YamlDotNet
Invoke-WebRequest https://nuget.org/nuget.exe -OutFile nuget.exe
Unblock-File nuget.exe
8. Restore NuGet packages:
& .\nuget.exe restore
9. Use MSBuild to compile the solution:
& "${ENV:ProgramFiles(x86)}\MSBuild\14.0\bin\MSBuild.exe" .\YamlDotNet.sln /p:configuration=Release-Signed
10. After the build has completed browse to the following path in PowerShell or Windows Explorer:
YamlDotNet\bin\Release-Signed
11. Copy `YamlDotNet.dll` to a location that you can reference from within your own project.
12. Add a reference to `YamlDotNet.dll`.
13. The `MediaTypeFormatter` will need to be registered with ASP.NET Web API, in your `WebApiConfig.cs` at the following code to the `Register` method:
config.Formatters.Add(new YamlMediaTypeFormatter());
# Contributing
We welcome contributions from the community in the form of GitHub Pull Requests, you will need to use Visual Stuido 2015 as I use some of the syntactic sugar from C# 6.0. I would also suggest you use ReSharper 9.1 to maintain coding style through the project. | 60.817204 | 389 | 0.771393 | eng_Latn | 0.968968 |
2ecac87fec3aacba803ca26789faa59340f8eb63 | 637 | md | Markdown | quickstart-maven/README.md | youngzil/quickstart-tools | bebcffa0777e97f1ee482a14fd559bb70681d591 | [
"Apache-2.0"
] | null | null | null | quickstart-maven/README.md | youngzil/quickstart-tools | bebcffa0777e97f1ee482a14fd559bb70681d591 | [
"Apache-2.0"
] | 2 | 2021-08-11T16:34:55.000Z | 2021-08-11T16:35:00.000Z | quickstart-maven/README.md | youngzil/quickstart-tools | bebcffa0777e97f1ee482a14fd559bb70681d591 | [
"Apache-2.0"
] | null | null | null | http://maven.apache.org/
http://maven.apache.org/guides/index.html
Maven:https://github.com/apache/maven
maven-plugins:https://github.com/apache/maven-plugins
https://www.oschina.net/p/maven
maven项目原型maven-archetype
https://github.com/apache/maven-archetype
阿里云maven官方地址点这里:http://maven.aliyun.com。
https://search.maven.org/
https://github.com/sonatype-nexus-community/search-maven-org/
https://github.com/trustin/os-maven-plugin
Download os-maven-plugin-1.6.0.jar and put it into the <ECLIPSE_HOME>/plugins directory.
GAV信息:坐标定位属性即:groupId、artifactId、version
[Maven - 打包可执行jar包](https://www.jianshu.com/p/0d85d0539b1a)
| 19.90625 | 88 | 0.77394 | yue_Hant | 0.908591 |
2ecb8c307147371356bb2d4b18a2a6d65108192d | 3,315 | md | Markdown | README.md | zaka-ai/Deepstream-NvDCF-MultiGPU-issue | 778a11c0861522e7e0ac2ab91ec8c91404ca3c33 | [
"FSFAP"
] | 1 | 2022-02-19T19:57:57.000Z | 2022-02-19T19:57:57.000Z | README.md | zaka-ai/Deepstream-NvDCF-MultiGPU-issue | 778a11c0861522e7e0ac2ab91ec8c91404ca3c33 | [
"FSFAP"
] | null | null | null | README.md | zaka-ai/Deepstream-NvDCF-MultiGPU-issue | 778a11c0861522e7e0ac2ab91ec8c91404ca3c33 | [
"FSFAP"
] | null | null | null | # NvDCF issue
**• Hardware Platform (Jetson / GPU)** T4 GPU
**• DeepStream Version** Deepstream-5.0
**• NVIDIA GPU Driver Version (valid for GPU only)** 460.32.03
I have multiple GPUs on my instance. I am trying to run the whole pipeline on the GPU-id 1. Everything is working fine, but when I am using the NvDCF tracker I am getting a redundant process on GPU 0 (default GPU according to SDK) that is consuming 0% utilization of GPU 0. However, it is reducing the processing time of the whole video by a significant amount (for 15 videos - each is 10 min - and 3 models, running the whole pipeline on GPU 0 requires 6 min of processing while running it on GPU 1 with this redundant process consuming 0% utilization on GPU 0 the required processing time is around 10 min).
Using KLT or no tracker, this redundant process is absent. This is affecting our scalability a lot. Can you plz follow up with the issue?
*****************************************************************************
* Copyright (c) 2018 NVIDIA Corporation. All rights reserved.
*
* NVIDIA Corporation and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this software and related documentation without an express
* license agreement from NVIDIA Corporation is strictly prohibited.
*****************************************************************************
Prequisites:
Please follow instructions in the apps/sample_apps/deepstream-app/README on how
to install the prequisites for Deepstream SDK, the DeepStream SDK itself and the
apps.
You must have the following development packages installed
GStreamer-1.0
GStreamer-1.0 Base Plugins
GStreamer-1.0 gstrtspserver
X11 client-side library
To install these packages, execute the following command:
sudo apt-get install libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev \
libgstrtspserver-1.0-dev libx11-dev
Compilation Steps:
$ cd apps/deepstream-test1/
$ make
$ ./deepstream-test1-app <h264_elementary_stream>
This document shall describe about the sample deepstream-test1 application.
It is meant for simple demonstration of how to use the various DeepStream SDK
elements in the pipeline and extract meaningful insights from a video stream.
This sample creates instance of "nvinfer" element. Instance of
the "nvinfer" uses TensorRT API to execute inferencing on a model. Using a
correct configuration for a nvinfer element instance is therefore very
important as considerable behaviors of the instance are parameterized
through these configs.
For reference, here are the config files used for this sample :
1. The 4-class detector (referred to as pgie in this sample) uses
dstest1_pgie_config.txt
In this sample, we first create one instance of "nvinfer", referred as the pgie.
This is our 4 class detector and it detects for "Vehicle , RoadSign, TwoWheeler,
Person".
nvinfer element attach some MetaData to the buffer. By attaching
the probe function at the end of the pipeline, one can extract meaningful
information from this inference. Please refer the "osd_sink_pad_buffer_probe"
function in the sample code. For details on the Metadata format, refer to the
file "gstnvdsmeta.h"
| 51 | 609 | 0.754751 | eng_Latn | 0.9942 |
2ecbe3d13b8704818e9cd24c7aa807a47314c4fb | 5,800 | md | Markdown | sembast/doc/writes.md | garyjdn/sembast.dart | 25213cdeeb553906c8f95758fa4cb087c2d50196 | [
"BSD-2-Clause"
] | 671 | 2016-08-21T10:10:17.000Z | 2022-03-28T04:40:34.000Z | sembast/doc/writes.md | garyjdn/sembast.dart | 25213cdeeb553906c8f95758fa4cb087c2d50196 | [
"BSD-2-Clause"
] | 227 | 2016-11-02T12:31:20.000Z | 2022-03-13T16:20:10.000Z | sembast/doc/writes.md | garyjdn/sembast.dart | 25213cdeeb553906c8f95758fa4cb087c2d50196 | [
"BSD-2-Clause"
] | 79 | 2018-01-24T14:54:56.000Z | 2022-03-08T11:01:16.000Z | # Writing data
## add vs update vs put
- `add` adds a new record and generate a new record key
- `update` update an existing record
- `put` will either create a new record with a user specified key or update a record
## Use transactions
Make sure to use transaction as soon as you perform more than 1 writes. It
will greatly improve performances. See information on transaction [here](transactions.md)
The code below use the Database object `db` but the same can be done with a
`Store` or `Transaction` object
## Adding data
### Using auto-generated int key
Add some data:
```dart
// Use the main store for storing map data with an auto-generated
// int key
var store = intMapStoreFactory.store();
// Add the data and get its new generated key
var key = await store.add(db, {'value': 'test'});
// Retrieve the record
var record = store.record(key);
var readMap = await record.get(db);
expect(readMap, {'value': 'test'});
```
### Specify the added key
You can also specify the key of the added record if you don't want to have an auto-generated one.
Add will fail if the record already exists.
```dart
// Add the data with a specified key (1234).
// Fails if the record already exists
await store.record(1234).add(db, {'value': 'test'});
```
## Update data
You can update the data of a given record using put or update (update will fail if the record does not exist):
```dart
// Update the record
await record.put(db, {'other_value': 'test2'}, merge: true);
readMap = await record.get(db);
expect(readMap, {'value': 'test', 'other_value': 'test2'});
```
## Updating fields
A record value in an application is typically a map that can be written like
this:
```dart
// Writing a map
var key = await store.add(db, {
'name': 'Felix',
'age': 4,
'address': {'city': 'Ledignan'}
});
```
If you want to only update some fields you can use the following semantics
similar to `firestore.set` where fields can be deleted, updated and addressed
using the `a.b.c` form instead of `'a':{'b':{'c'}}`
```dart
var record = store.record(key);
// Updating some fields
await record.update(db,
{'color': FieldValue.delete, 'address.city': 'San Francisco'});
expect(await record.get(db), {
'name': 'Felix',
'age': 4,
'address': {'city': 'San Francisco'}
});
```
Dots (`.`) are treated as separator for `record.update` calls (not `store.add` and `record.set`). To allow for keys with dot, you
can escape them using `FieldKey.escape`
```dart
await record.update(db, {FieldKey.escape('my.color'): 'red'});
```
## Delete records
You can delete a single record by key using the `RecordRef.delete` method.
```dart
// Record by key.
var record = store.record(key);
// Delete the record.
await record.delete(db);
```
You can delete one or multiple records using the `StoreRef.delete` method.
```dart
// Delete all records with a price greater then 10
var filter = Filter.greaterThan('price', 10);
var finder = Finder(filter: filter);
await store.delete(db, finder: finder);
```
You can also clear the whole store:
```dart
// Clear all records from the store
await store.delete(db);
```
## Write example
Let's insert/update some data:
```dart
// Our shop store sample data
var store = intMapStoreFactory.store('shop');
int lampKey;
int chairKey;
await db.transaction((txn) async {
// Add 2 records
lampKey = await store.add(txn, {'name': 'Lamp', 'price': 10});
chairKey = await store.add(txn, {'name': 'Chair', 'price': 15});
});
// update the price of the lamp record
await store.record(lampKey).update(db, {'price': 12});
```
## Bulk update
`updateRecords` is a utility function that can work with or without transaction to update fields in multiple records
```dart
// Filter for updating records
var finder = Finder(filter: Filter.greaterThan('name', 'cat'));
// Update without transaction
var store = db.getStore('animals');
await updateRecords(store, {'age': 4}, where: finder);
// Update within transaction
await db.transaction((txn) async {
var store = txn.getStore('animals');
await updateRecords(store, {'age': 5}, where: finder);
});
```
## Add or update example
Let's assume a product store where the unique key is an integer.
But you want to have a unique 'code' field (each product having a unique code).
(Although as a side note, it is more clever to use the code as a string key)
```dart
var store = intMapStoreFactory.store('product');
// Add some data
await db.transaction((txn) async {
await store.add(txn, {'code': '001', 'name': 'Lamp', 'price': 10});
await store.add(txn, {'code': '002', 'name': 'Chair', 'price': 25});
});
```
Let's write a function that will either add or update a record. To handle
race conditions and avoid duplicates, this must be done in a transaction:
```dart
/// Either add or modify records with a given 'code'
Future<void> addOrUpdateProduct(Map<String, Object?> map) async {
// Check if the record exists before adding or updating it.
await db.transaction((txn) async {
// Look of existing record
var existing = await store
.query(
finder:
Finder(filter: Filter.equals('code', map['code'])))
.getSnapshot(txn);
if (existing == null) {
// code not found, add
await store.add(txn, map);
} else {
// Update existing
await existing.ref.update(txn, map);
}
});
}
```
Quick test:
```dart
// Update existing
await addOrUpdateProduct(
{'code': '002', 'name': 'Chair', 'price': 35});
// Add new
await addOrUpdateProduct(
{'code': '003', 'name': 'Table', 'price': 82});
// Should print:
// {code: 001, name: Lamp, price: 10}
// {code: 002, name: Chair, price: 35} - Updated
// {code: 003, name: Table, price: 82}
for (var snapshot in await store.query().getSnapshots(db)) {
print(snapshot.value);
}
``` | 25.892857 | 129 | 0.680862 | eng_Latn | 0.93955 |
2eccef3d7381a8d44b66694a7dd848c0556200e7 | 2,373 | markdown | Markdown | _posts/2019-03-21-getting_comfortable_with_javascript_via_json.markdown | bethurban/bethurban.github.io | cb25fa382f255a2775453acdb7846aed28526b96 | [
"MIT"
] | 1 | 2020-07-23T11:52:07.000Z | 2020-07-23T11:52:07.000Z | _posts/2019-03-21-getting_comfortable_with_javascript_via_json.markdown | bethurban/bethurban.github.io | cb25fa382f255a2775453acdb7846aed28526b96 | [
"MIT"
] | null | null | null | _posts/2019-03-21-getting_comfortable_with_javascript_via_json.markdown | bethurban/bethurban.github.io | cb25fa382f255a2775453acdb7846aed28526b96 | [
"MIT"
] | null | null | null | ---
layout: post
title: "Getting comfortable with JavaScript via JSON"
date: 2019-03-21 17:43:01 +0000
permalink: getting_comfortable_with_javascript_via_json
---
I'm not going to lie — the transition from Ruby and Rails to JavaScript wasn't the easiest. Ruby's structure and language just made sense to me, and JS felt like a similar but very different animal for quite a while.
But once I started diving into the world of [JSON](https://simonecarletti.com/blog/2010/04/inside-ruby-on-rails-serializing-ruby-objects-with-json/) — or JavaScript Object Notation — JS immediately started to feel more familiar. Here was a handy way to serialize data that looked and behaved like a way more powerful Ruby hash, thanks to [AJAX](https://developer.mozilla.org/en-US/docs/Web/Guide/AJAX).
Ruby was my introduction to object-oriented programming, and the ability to build class instances that responded to their own methods and related to each other via `belongs_to` and `has_many` made it easy to start imagining building out bigger and bigger apps with complex interrelationships.
JSON continued that education — now I could get and post complicated data structures that, with the help of [JS class constructors](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), could then behave similarly to a Ruby class.
When I first approached my Rails with JavaScript project, I was intimidated. I had a fully functional Rails app. Now I was going to tear it apart and build it back up? The appeal of asynchronous data posting and display was a big motivator, though. As soon as I saw my data, which I had so carefully constructed to work with Rails, quickly come back when requested as JSON, I realized how versatile an app could be with a deeper and more diverse code stack to pull from.
Moving forward, I'm excited to get as comfortable with JS as I've gotten with Ruby. I know it has the power to make an app feel more fluid and user-friendly, thanks to the speed of asynchronous data operations and [JavaScript's event handlers,](https://www.w3schools.com/js/js_events.asp) for example.
While Ruby and Rails had become my comfort zone, building my Rails with JavaScript project helped me see that with a methodical and open-minded approach, every new language, functionality and approach can become a valuable and easy tool among many.
| 98.875 | 470 | 0.790139 | eng_Latn | 0.99914 |
2ecd0b9570cd1b76dae4a0259f385019104383c9 | 52 | md | Markdown | README.md | BytecampIO/byteQuery | e9a084ca0cf09a5b4f61c6aae9e9bf5527258d46 | [
"MIT"
] | null | null | null | README.md | BytecampIO/byteQuery | e9a084ca0cf09a5b4f61c6aae9e9bf5527258d46 | [
"MIT"
] | null | null | null | README.md | BytecampIO/byteQuery | e9a084ca0cf09a5b4f61c6aae9e9bf5527258d46 | [
"MIT"
] | null | null | null | # byteQuery
Simplistic clone of jQuery for learning
| 17.333333 | 39 | 0.826923 | eng_Latn | 0.962103 |
2ecd5f9f61bdb43ae5b2d17d25d22e4157767210 | 245 | md | Markdown | _posts/2019-02-12-SourceTreeStart.md | DeveloperKHJ/DeveloperKHJ.github.io | 13f9bcb27c5b4670272d9fd9dc5dbe045c5289a3 | [
"MIT"
] | null | null | null | _posts/2019-02-12-SourceTreeStart.md | DeveloperKHJ/DeveloperKHJ.github.io | 13f9bcb27c5b4670272d9fd9dc5dbe045c5289a3 | [
"MIT"
] | null | null | null | _posts/2019-02-12-SourceTreeStart.md | DeveloperKHJ/DeveloperKHJ.github.io | 13f9bcb27c5b4670272d9fd9dc5dbe045c5289a3 | [
"MIT"
] | null | null | null | ---
title: "SourceTree를 이용하여 깃허브에 커밋 Test"
date: 2019-02-12 23:06:00 +0900
categories: Programming CVS
comments: true
---
SourceTree 프로그램을 이용하여 원격으로 깃허브 리모트 저장소에
푸쉬하는 것에 성공했다.
앞으로 블로그 글도 별도의 Editor로 작성 한 뒤, SourceTree로 커밋, 에드, 푸쉬로 업데이트 해야겠다.
| 18.846154 | 65 | 0.730612 | kor_Hang | 1.000009 |
2ecfcc30e8933acd9cdd119cc615845361a484c4 | 6,451 | md | Markdown | docs/COMMANDS.md | taoyuan/ardco | 517b3db26198a63349a577d4300b9f65056797e5 | [
"MIT"
] | null | null | null | docs/COMMANDS.md | taoyuan/ardco | 517b3db26198a63349a577d4300b9f65056797e5 | [
"MIT"
] | null | null | null | docs/COMMANDS.md | taoyuan/ardco | 517b3db26198a63349a577d4300b9f65056797e5 | [
"MIT"
] | null | null | null | ## Commands
Command line reference
[TOC]
### cache
```sh
$ iotor cache <command> [<args>]
```
Manage iotor cache
#### cache clean
```sh
$ iotor cache clean
$ iotor cache clean <name> [<name> ...]
$ iotor cache clean <name>#<version> [<name>#<version> ..]
```
Cleans cached packages
#### cache list
```sh
$ iotor cache list
$ iotor cache list <name> [<name> ...]
```
Lists cached packages
### home
```sh
$ iotor home
$ iotor home <package>
$ iotor home <package>#<version>
```
Opens a package homepage into your favorite browser.
If no <package> is passed, opens the homepage of the local package.
### info
```
$ iotor info <package>
$ iotor info <package> [<property>]
$ iotor info <package>#<version> [<property>]
```
Displays overall information of a package or of a particular version.
### init
```sh
$ iotor init
```
Interactively create a firmware or library project.
### config
```sh
$ iotor config
```
Interactively config project's board and port settings.
### install
```sh
$ iotor install [<options>]
$ iotor install <endpoint> [<endpoint> ..] [<options>]
```
Installs project dependencies recursively.
Project dependencies consist of:
1. `dependencies` specified in `library.json` of project
2. All “external” dependencies not specified in`library.json`, but present in `ano_libraries`
3. Any additional `<endpoint>` passed as an argument to this command
When `--save` flag is used, all additional endpoint are saved to `dependencies` in `library.json`.
iotor recommends to always use `--save` flag to achieve reproducible installs between machines.
Endpoints can have multiple forms:
- `<library>`
- `<library>#<version>`
- `<name>=<library>#<version>`
Where:
- `<library>` is a library URL, physical location or registry name
- `<version>` is a valid range, commit, branch, etc.
- `<name>` is the name it should have locally.
`<library>` can be any one of the following:
| Type | Examples |
| ------------------------------ | ---------------------------------------- |
| *Registered library name* | `Firmata``ArduinoJson` |
| Git endpoint | `https://github.com/user/library.git`<br>`[email protected]:user/library.git` |
| Git endpoint without .git | `git+https://github.com/user/library`<br>`git+ssh://[email protected]/user/library` |
| Local folder | `my/local/folder/` |
| Public Subversion endpoint | `svn+http://library.googlecode.com/svn/` |
| Private Subversion endpoint | `svn+ssh://library.googlecode.com/svn/`<br>`svn+https://library.googlecode.com/svn/` |
| Shorthand (defaults to GitHub) | `user/library` |
| URL | `http://example.com/library.zip` (contents will be extracted)<br>`http://example.com/library.tar` (contents will be extracted) |
A version can be:
| Type | Examples |
| ------------------- | --------------------------------------- |
| semver version | `#1.2.3` |
| version range | `#1.2`<br>`#~1.2.3`<br>`#^1.2.3`<br>`#>=1.2.3 <2.0` |
| Git tag | `#<tag>` |
| Git commit SHA | `#<sha>` |
| Git branch | `#<branch>` |
| Subversion revision | `#<revision>` |
**install options**
* -F, --force-latest: Force latest version on conflict
* -p, --production: Do not install project devDependencies
* -S, --save: Save installed libraries into the project’s library.json dependencies
* -D, --save-dev: Save installed libraries into the project’s library.json devDependencies
* -E, --save-exact: Configure installed libraries with an exact version rather than semver
### link
```sh
$ iotor link
$ iotor link <name> [<local name>]
```
The link functionality allows developers to easily test their packages. Linking is a two-step process.
Using ‘iotor link’ in a project folder will create a global link. Then, in some other package, iotor link <name> will create a link in the components folder pointing to the previously created link.
This allows you to easily test a package because changes will be reflected immediately. When the link is no longer necessary, simply remove it with iotor uninstall <name>.
### list
```sh
$ iotor list [<options>]
```
List local packages and possible updates.
**list options**
* -p, --paths: Generates a simple JSON source mapping
* -r, --relative: Make paths relative to the directory config property, which defaults to ano_components
lookup
```sh
$ iotor lookup <name>
```
Look up a package URL by name
### prune
```sh
$ iotor prune
```
Uninstalls local extraneous packages
### update
```sh
$ iotor update <name> [<name> ..] [<options>]
```
Updates installed packages to their newest version according to library.json.
**update options**
* -F, --force-latest: Force latest version on conflict
* -p, --production: Do not install project devDependencies
* -S, --save: Update dependencies in library.json
* -D, --save-dev: Update devDependencies in library.json
### uninstall
```sh
$ iotor uninstall <name> [<name> ..] [<options>]
```
Uninstalls a package locally from your ano_components directory
**uninstall options**
* -S, --save: Remove uninstalled packages from the project’s library.json dependencies
* -D, --save-dev: Remove uninstalled packages from the project’s library.json devDependencies
### version
```sh
$ iotor version [<newversion> | major | minor | patch]
```
Run this in a package directory to bump the version and write the new data back to the library.json file.
The newversion argument should be a valid semver string, or a valid second argument to semver.inc (one of “build”, “patch”, “minor”, or “major”). In the second case, the existing version will be incremented by 1 in the specified field.
If run in a git repo, it will also create a version commit and tag, and fail if the repo is not clean.
**version options**
* `-m, --message`: Custom git commit and tag message
If supplied with `--message` (shorthand: `-m`) config option, iotor will use it as a commit message when creating a version commit. If the message config contains %s then that will be replaced with the resulting version number. For example:
```sh
$ iotor version patch -m "Upgrade to %s for reasons"
```
| 29.728111 | 240 | 0.645946 | eng_Latn | 0.973581 |
2ed02e44e6bffa21c13a377d68702cbd77b8fb86 | 104 | md | Markdown | Codeforces/Card Constructions/readme.md | rsrahul1000/Hack-CP-DSA | fa8623f7a2290ddb4377b7b9b031e7ede3aa1a72 | [
"MIT"
] | 205 | 2021-09-30T15:41:05.000Z | 2022-03-27T18:34:56.000Z | Codeforces/Card Constructions/readme.md | rsrahul1000/Hack-CP-DSA | fa8623f7a2290ddb4377b7b9b031e7ede3aa1a72 | [
"MIT"
] | 566 | 2021-09-30T15:27:27.000Z | 2021-10-16T21:21:02.000Z | Codeforces/Card Constructions/readme.md | rsrahul1000/Hack-CP-DSA | fa8623f7a2290ddb4377b7b9b031e7ede3aa1a72 | [
"MIT"
] | 399 | 2021-09-29T05:40:46.000Z | 2022-03-27T18:34:58.000Z | # Card Constructions
## Problem link : https://codeforces.com/problemset/problem/1345/B
## Rated: 1100 | 20.8 | 66 | 0.740385 | kor_Hang | 0.31336 |
2ed066406826df16adadfe308bd8c6c11dd0acfb | 1,750 | md | Markdown | README.md | shakhar/monq | 9bb4724bf074d04b4862ea3494c9257698b9c159 | [
"MIT"
] | null | null | null | README.md | shakhar/monq | 9bb4724bf074d04b4862ea3494c9257698b9c159 | [
"MIT"
] | null | null | null | README.md | shakhar/monq | 9bb4724bf074d04b4862ea3494c9257698b9c159 | [
"MIT"
] | null | null | null | monq
====
Monq is a MongoDB-backed job queue for Node.js.
Usage
-----
Connect to MongoDB by specifying a URI or providing `host`, `port` and `database` options:
```javascript
Monq = require "monq"
Client = Monq "mongodb://localhost:27017/monq_example"
```
Enqueue jobs by supplying a job name and a set of parameters. Below, the job `reverse` is being placed into the `example` queue:
```javascript
queue = Client.queue "example"
queue.enqueue "reverse", { text: "foobar" }, (err, job) ->
console.log "enqueued:", job.data
```
Create workers to process the jobs from one or more queues. The functions responsible for performing a job must be registered with each worker:
```javascript
worker = Client.worker ["example"]
worker.register
reverse: (params, callback) ->
try
reversed = params.text.split("").reverse().join("")
callback null, reversed
catch (err)
callback err
worker.start()
```
Create workers' lock functions to dequeue only unlocked jobs. The functions responsible for performing a job must be registered with each worker: (The `registerLock` callbacks should return an error when lock exists)
```javascript
worker = Client.worker ["example"]
worker.register
reverse: (params, callback) -> ...
worker.registerLock
reverse: (job, callback) -> ...
worker.start()
```
Events
------
Workers will emit various events while processing jobs:
```javascript
worker.on "dequeued", (data) -> …
worker.on "failed", (data) -> …
worker.on "complete", (data) -> …
worker.on "error", (err) -> …
```
Prequisites
-----------
Written in coffeescript, so a coffee compiler is needed to build
npm install -g coffee-script
Install
-------
npm install monq
Tests
-----
npm test
| 20.588235 | 217 | 0.686857 | eng_Latn | 0.971247 |
2ed160b9cbdafd95944c7dff7cdf36b9d30e6fb0 | 335 | md | Markdown | README.md | joalcapa/TestRNJest | ee3f37a482d2fe6ba9d7552a1dfc59e01a19e7cb | [
"MIT"
] | null | null | null | README.md | joalcapa/TestRNJest | ee3f37a482d2fe6ba9d7552a1dfc59e01a19e7cb | [
"MIT"
] | null | null | null | README.md | joalcapa/TestRNJest | ee3f37a482d2fe6ba9d7552a1dfc59e01a19e7cb | [
"MIT"
] | null | null | null | # TestRNJest
Test for react-native use Jest
Example for movies
### use
`
npm test OR npm test -- -u nameComponent.js (rendering components)
`
### Mocks for test
`
npm run jacp
`
jacp => script for test mocks and configurations
## usage jacp
``` javascript
let mocksGUI = require('./Mocks/GUIMocks')(jest);
mocksGUI.init();
```
| 13.958333 | 66 | 0.692537 | eng_Latn | 0.775881 |
2ed2071bce540fe76303f54710e4ba08e2e73443 | 169 | md | Markdown | x86opcodes/README.md | uxmal/reko-extras | 32549606178f1092690ed67e635dbd6559300e42 | [
"MIT"
] | 9 | 2018-11-19T08:47:04.000Z | 2021-11-17T11:09:46.000Z | x86opcodes/README.md | uxmal/reko-extras | 32549606178f1092690ed67e635dbd6559300e42 | [
"MIT"
] | null | null | null | x86opcodes/README.md | uxmal/reko-extras | 32549606178f1092690ed67e635dbd6559300e42 | [
"MIT"
] | 6 | 2018-11-19T08:46:12.000Z | 2021-01-05T14:31:53.000Z | # x86 opcodes
Dumps information about X86 instructions.
Reference material fetched from:
https://raw.githubusercontent.com/Barebit/x86reference/master/x86reference.xml | 28.166667 | 78 | 0.840237 | eng_Latn | 0.496631 |
2ed38b8027a6de22571b131213c5d6c4cdd3df42 | 71 | md | Markdown | content/garden/ethics/p1-prop3-proof.md | xissshawww/spinoza-ethics-digital-garden | 5dff654f5b842b6c291c24de1c7a1009b067b427 | [
"MIT"
] | null | null | null | content/garden/ethics/p1-prop3-proof.md | xissshawww/spinoza-ethics-digital-garden | 5dff654f5b842b6c291c24de1c7a1009b067b427 | [
"MIT"
] | null | null | null | content/garden/ethics/p1-prop3-proof.md | xissshawww/spinoza-ethics-digital-garden | 5dff654f5b842b6c291c24de1c7a1009b067b427 | [
"MIT"
] | null | null | null | 假如两物之间没有共同之点,则据公则五[[p1-ax5]]这物不能借另一物而被理解,所以据公则四[[p1-ax4]]这物不能为那物的原因。此证。 | 71 | 71 | 0.802817 | yue_Hant | 0.164414 |
2ed44c57ae392973e0af00a944b1a87a050030e6 | 385 | md | Markdown | _daily/2020-12-09-Scallops.md | wko27/blog | 5ea4e473bea154995a61a49b1c874316b4c04427 | [
"MIT"
] | null | null | null | _daily/2020-12-09-Scallops.md | wko27/blog | 5ea4e473bea154995a61a49b1c874316b4c04427 | [
"MIT"
] | null | null | null | _daily/2020-12-09-Scallops.md | wko27/blog | 5ea4e473bea154995a61a49b1c874316b4c04427 | [
"MIT"
] | 1 | 2020-03-23T07:08:04.000Z | 2020-03-23T07:08:04.000Z | ---
layout: post
unique_id: scallops
title: Scallops
categories: []
locations:
---
YESTERDAY:
* work out of garage for a bit
* started Oathbringer
* figured out what to get my dad for his birthday
* dumpling depot!
* boiled fish was fantastic
TODAY:
* Mandalorian
* steak and scallops for dinner!
* also baked broccoli
* prep for board call
LEARNINGS:
* need to get more sleep
| 16.041667 | 49 | 0.732468 | eng_Latn | 0.998038 |
2ed4ac10ddf16ac96290e1acde12008e8ecdf2f7 | 24 | md | Markdown | README.md | MagnetMoss/NoSQLA | 59093ec9d425460f6883dc988c9d98986f300cea | [
"MIT"
] | null | null | null | README.md | MagnetMoss/NoSQLA | 59093ec9d425460f6883dc988c9d98986f300cea | [
"MIT"
] | null | null | null | README.md | MagnetMoss/NoSQLA | 59093ec9d425460f6883dc988c9d98986f300cea | [
"MIT"
] | null | null | null | # NoSQLA
NoSQL Homework
| 8 | 14 | 0.791667 | kor_Hang | 0.95994 |
2ed61ac02226813c9630b0f8e4bdcd5574d3ad1c | 590 | md | Markdown | docs/api.md | blacktop/vbox-proxy | bf70cd45ef3385d5334f4ff6b82392b0574c2a33 | [
"Apache-2.0"
] | 18 | 2016-06-22T22:58:43.000Z | 2021-07-13T10:37:42.000Z | docs/api.md | blacktop/vbox-proxy | bf70cd45ef3385d5334f4ff6b82392b0574c2a33 | [
"Apache-2.0"
] | null | null | null | docs/api.md | blacktop/vbox-proxy | bf70cd45ef3385d5334f4ff6b82392b0574c2a33 | [
"Apache-2.0"
] | 7 | 2016-11-24T10:01:13.000Z | 2021-03-08T18:43:45.000Z | # API
## List `VirtualBox` VMs _(via API)_
```sh
$ http --verify=no https://127.0.0.1:3993/vbox/list
```
```http
HTTP/1.1 500 Internal Server Error
Content-Length: 85
Content-Type: application/json; charset=UTF-8
Date: Mon, 19 Mar 2018 22:03:43 GMT
VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path
```
## List `VMware` VMs _(via API)_
```sh
$ http --verify=no https://127.0.0.1:3993/vmware/list
```
```http
HTTP/1.1 200 OK
Content-Length: 21
Content-Type: text/plain; charset=UTF-8
Date: Sun, 25 Mar 2018 00:00:58 GMT
Total running VMs: 0
```
| 18.4375 | 85 | 0.689831 | kor_Hang | 0.335719 |
2ed62c59382f84f4bdc6791d5a7823e7b714dbf8 | 106 | markdown | Markdown | _pencil/03-super-heros.markdown | sammypbaird/sammypbaird.github.io | d08b6ab1aadcbcc7f94608df2de4083c0fac5aec | [
"MIT",
"Unlicense"
] | null | null | null | _pencil/03-super-heros.markdown | sammypbaird/sammypbaird.github.io | d08b6ab1aadcbcc7f94608df2de4083c0fac5aec | [
"MIT",
"Unlicense"
] | null | null | null | _pencil/03-super-heros.markdown | sammypbaird/sammypbaird.github.io | d08b6ab1aadcbcc7f94608df2de4083c0fac5aec | [
"MIT",
"Unlicense"
] | null | null | null | ---
layout: artPiece
title: Super Heroes
filename: pencil/super hero.jpg
date: 2000-01-01
---
AP art class | 15.142857 | 31 | 0.735849 | eng_Latn | 0.355 |
2ed910917052b8b17cc4a5f99367058382843fe4 | 328 | md | Markdown | README.md | balajich/Spring-Cloud-Sessions-Microservices-FAQ | 23b340d64f4fd7e7998adfe3ab1d9034578e56ae | [
"Apache-2.0"
] | null | null | null | README.md | balajich/Spring-Cloud-Sessions-Microservices-FAQ | 23b340d64f4fd7e7998adfe3ab1d9034578e56ae | [
"Apache-2.0"
] | null | null | null | README.md | balajich/Spring-Cloud-Sessions-Microservices-FAQ | 23b340d64f4fd7e7998adfe3ab1d9034578e56ae | [
"Apache-2.0"
] | null | null | null | # Spring Cloud Sessions Microservices Frequently Asked Questions
- What is the prerequisite software do I need to have to run the examples?
- You need to have
- JDK 1.8 (1.8.0_251) or above
- Maven (Apache Maven 3.6.3) or above
- Oracle Virtual Box ( 6.1.10 r138449) or above
- Vagrant (2.2.9) or above
-
| 36.444444 | 75 | 0.679878 | eng_Latn | 0.99615 |
2ed9507b50cf69c929e01400307410f9f9ee3cdb | 5,636 | md | Markdown | README.md | yoctore/yocto-sftp | 40133b18057c0ebb90569ebd335cb0dbdd55d581 | [
"Apache-2.0"
] | 1 | 2019-04-29T19:11:07.000Z | 2019-04-29T19:11:07.000Z | README.md | yoctore/yocto-sftp | 40133b18057c0ebb90569ebd335cb0dbdd55d581 | [
"Apache-2.0"
] | null | null | null | README.md | yoctore/yocto-sftp | 40133b18057c0ebb90569ebd335cb0dbdd55d581 | [
"Apache-2.0"
] | null | null | null | [](https://nodei.co/npm/yocto-sftp/)

[](https://codeclimate.com/github/yoctore/yocto-sftp)
[](https://codeclimate.com/github/yoctore/yocto-sftp/coverage)
[](https://codeclimate.com/github/yoctore/yocto-sftp)
[](https://travis-ci.org/yoctore/yocto-sftp)
## Overview
This module is a part of yocto node modules for NodeJS.
Please see [our NPM repository](https://www.npmjs.com/~yocto) for complete list of available tools (completed day after day).
This module provide a simple sitemap generator based [sitemap-generator](https://www.npmjs.com/package/sitemap-generator).
## Motivation
Create an simple module that create a sftp client with SSH2 library.
## Specification
This is an wrapper of SSH2 library.
All methods handle automatic connect and close process to the ftp server.
### Ftp method implemented
- get
- delete
- put
- ls
- mkdir (with mkdirp)
## Usage
### Basic configuration
> Configure module, configuration object will be check by an Joi schema
```javascript
var logger = require('yocto-logger');
var sftp = require('yocto-sftp')(logger);
var config = {
host : "10.10.10.10",
port : 22,
user : "test",
password : "pwd",
algorithms : {
serverHostKey: [ 'ssh-rsa', 'ssh-dss' ],
},
agent : process.env.SSH_AUTH_SOCK
};
// path dir to list
var pathDir = '/jumbodrive.re/ads/';
// connect
sftp.load(config).then(function () {
console.log('\n --> config success ... ');
// connect to client
sftp.connect().then(function(client) {
// the client is :
// {
// // ssh2 instance
// client : client,
// // sftp instance
// sftp : sftp
// }
console.log('\n --> connect success ');
setTimeout(function () {
console.log('\n --> end client connection ...');
// manually close the connect
sftp.end(client);
}, 2000);
}).catch(function (error) {
console.log('\n --> connect failed ', error);
});
}).catch(function (error) {
console.log('\n --> error : ', error);
});
```
### Get an document
> This method download an file from sftp server
```javascript
var localPathFile = '/toto';
var remotePathFile = '/tata';
// connect
sftp.load(config).then(function () {
console.log('\n --> config success ... ');
sftp.get(localPathFile, remotePathFile).then(function (list) {
console.log('\n --> ls success \n', list);
}).catch(function (error) {
console.log('\n --> ls failed ', error);
});
}).catch(function (error) {
console.log('\n --> error : ', error);
});
```
### List directory
> This method return an array of files description from ftp server
```javascript
var remotePathFOlder = '/tata/';
// connect
sftp.load(config).then(function () {
console.log('\n --> config success ... ');
sftp.ls(remotePathFOlder).then(function (list) {
console.log('\n --> ls success \n', list);
}).catch(function (error) {
console.log('\n --> ls failed ', error);
});
}).catch(function (error) {
console.log('\n --> error : ', error);
});
```
### Delete an document
> This method remove an file in sftp server
```javascript
var remotePathFile = '/tata.png';
// connect
sftp.load(config).then(function () {
console.log('\n --> config success ... ');
sftp.delete(remotePathFile).then(function (list) {
console.log('\n --> ls success \n', list);
}).catch(function (error) {
console.log('\n --> ls failed ', error);
});
}).catch(function (error) {
console.log('\n --> error : ', error);
});
```
### Put an document
> This method upload an file in sftp server
```javascript
var localPathFile = '/toto';
var remotePathFile = '/tata';
// connect
sftp.load(config).then(function () {
console.log('\n --> config success ... ');
sftp.put(localPathFile, remotePathFile).then(function (list) {
console.log('\n --> ls success \n', list);
}).catch(function (error) {
console.log('\n --> ls failed ', error);
});
}).catch(function (error) {
console.log('\n --> error : ', error);
});
```
### Check if an file exit on ftp server
> This Check if an file exit on ftp server
```javascript
var remotePathFile = '/tata';
// connect
sftp.load(config).then(function () {
console.log('\n --> config success ... ');
sftp.fileExist(remotePathFile).then(function (list) {
console.log('\n --> ls success \n', list);
}).catch(function (error) {
console.log('\n --> ls failed ', error);
});
}).catch(function (error) {
console.log('\n --> error : ', error);
});
```
### Create folder and its own parent if speciefied
> This Create folder into sftp
```javascript
var remotePathFOlder = '/toto/tata/titi/tutu';
// If true parent folder will be created otherwise none
var createParent = true;
// connect
sftp.load(config).then(function () {
console.log('\n --> config success ... ');
sftp.mkdir(remotePathFile, createParent).then(function (list) {
console.log('\n --> create success \n', list);
}).catch(function (error) {
console.log('\n --> create failed ', error);
});
}).catch(function (error) {
console.log('\n --> error : ', error);
});
```
| 24.08547 | 149 | 0.638041 | eng_Latn | 0.468114 |
2ed984c8cb641a671065b15aeca490fc3d629576 | 3,379 | md | Markdown | README.md | opcycle/docker-jenkins | dbb132b3bb4a3bc8e2e7a8efa21445b5acfbccfe | [
"Apache-2.0"
] | null | null | null | README.md | opcycle/docker-jenkins | dbb132b3bb4a3bc8e2e7a8efa21445b5acfbccfe | [
"Apache-2.0"
] | null | null | null | README.md | opcycle/docker-jenkins | dbb132b3bb4a3bc8e2e7a8efa21445b5acfbccfe | [
"Apache-2.0"
] | null | null | null | # Jenkins Container Image
[](https://hub.docker.com/r/opcycle/jenkins)
[](https://hub.docker.com/r/opcycle/jenkins)
#### Docker Images
- All images based on Fedora Linux
- [GitHub actions builds](https://github.com/opcycle/jenkins/actions)
- [Docker Hub](https://hub.docker.com/r/opcycle/jenkins)
#### Environment Variables
When you start the Jenkins image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the docker run command line. The following environment values are provided to custommize Jenkins:
| Variable | Default Value | Description |
| ------------------------- | ------------- | ------------------------------- |
| `JAVA_ARGS` | | Configure JVM params |
#### Persisting Jenkins data
If you remove the container all your data and configurations will be lost, and the next time you run the image the database will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed.
For persistence you should mount a volume at the `/opt/jenkins/data` path. The above examples define a docker volume namely `jenkins_data`. The Jenkins application state will persist as long as this volume is not removed.
To avoid inadvertent removal of this volume you can mount host directories as data volumes. Alternatively you can make use of volume plugins to host the volume data.
#### Run the Service
```bash
docker service create --name jenkins \
-p 8081:8081 \
-p 50000:50000 \
-e JAVA_ARGS="-Xms2G -Xmx6G" \
--mount type=bind,source=/data/jenkins,destination=/opt/jenkins/data \
opcycle/jenkins:latest
```
When running Docker Engine in swarm mode, you can use `docker stack deploy` to deploy a complete application stack to the swarm. The deploy command accepts a stack description in the form of a Compose file.
```bash
docker stack deploy -c jenkins-stack.yml jenkins
```
Compose file example:
```
version: "3.8"
services:
jenkins:
image: opcycle/jenkins:latest
ports:
- 8080:8080
- 50000:50000
volumes:
- jenkins_data:/opt/jenkins/data
deploy:
replicas: 1
restart_policy:
condition: on-failure
environment:
- JAVA_ARGS=-Xms2G -Xmx6G
volumes:
jenkins_data:
driver: local
driver_opts:
type: "none"
o: "bind"
device: "/data/jenkins"
```
# Contributing
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/opcycle/docker-jenkins/issues), or submit a [pull request](https://github.com/opcycle/docker-jenkins/pulls) with your contribution.
# Issues
If you encountered a problem running this container, you can file an [issue](https://github.com/opcycle/docker-jenkins/issues). For us to provide better support, be sure to include the following information in your issue:
- Host OS and version
- Docker version
- Output of docker info
- Version of this container
- The command you used to run the container, and any relevant output you saw (masking any sensitive information)
| 39.752941 | 265 | 0.709381 | eng_Latn | 0.947489 |
2eda48a51996f354ab6fe5445eab22599dffe74b | 38 | md | Markdown | d-infk/algorithmic-game-theory/README.md | Xivid/ETH-Course-Guide-old | 73236311a9c46dd2f841c34d4d9f4bbfdc2a5254 | [
"MIT"
] | 4 | 2020-07-06T08:41:46.000Z | 2020-07-07T13:55:57.000Z | d-infk/algorithmic-game-theory/README.md | Xivid/ETH-Course-Guide-old | 73236311a9c46dd2f841c34d4d9f4bbfdc2a5254 | [
"MIT"
] | 1 | 2020-07-08T22:24:02.000Z | 2020-07-08T22:24:02.000Z | d-infk/algorithmic-game-theory/README.md | Xivid/ETH-Course-Guide-old | 73236311a9c46dd2f841c34d4d9f4bbfdc2a5254 | [
"MIT"
] | 1 | 2020-07-07T08:59:38.000Z | 2020-07-07T08:59:38.000Z | # 252-1407-00L Algorithmic Game Theory | 38 | 38 | 0.815789 | kor_Hang | 0.821678 |
2eda8ec5f7d1b6fc12f13f280166e64caf719c89 | 1,741 | md | Markdown | README.md | tsabelmann/cthulhu_cmd | 76d99d01a01795523400a87cf41594274ece87e4 | [
"MIT"
] | 3 | 2021-07-29T03:20:45.000Z | 2021-08-25T12:18:09.000Z | README.md | tsabelmann/cthulhu_cmd | 76d99d01a01795523400a87cf41594274ece87e4 | [
"MIT"
] | null | null | null | README.md | tsabelmann/cthulhu_cmd | 76d99d01a01795523400a87cf41594274ece87e4 | [
"MIT"
] | null | null | null | # cthulhu_cmd
Command line tool that provides useful commands in the context of the pen and paper game **Cthulhu**.
## Installation
1. ```bash
git clone https://github.com/tsabelmann/cthulhu_cmd
```
2. ```bash
cd cthulhu_cmd
```
3. ```bash
poetry install
```
4. ```bash
poetry run cthulhu
```
## Usage
The **Cthulhu** command line tool, in form of a REPL, provides two commands: **roll** and **probe**. The **roll** command allows the throwing of dice and the subsequent summation and addition of optional values. The **probe** command allows the check of ones *ability* against **one** thrown <u>D100</u> with or without *additional* **bonus** or **malus** dice.
## Dice Syntax
A regular dice throw is specified by the *amount* of dice you want to throw and the *dice eyes*. The most common dice eyes are **100**, **20**, **12**, **10**, **8**, **6**, **4**, and **3**.
### Examples
- `1d100`
- `2D100`
- `1w20`
- `3W10`
- `1d8`
- `6D6`
- `1W4`
- `2w3`
### Disclaimer
The letters **w** and **W** can be used as a shortcut because the german word for die or dice is Würfel.
## Value Syntax
Values to be added to the final sum consists of a *sign*, and a *value* part.
### Examples
- `+2`
- `-3`
## Examples
- `roll 1d100`
- `roll 2d100 1d10 1d8 1d6 1d4 1d3`
- `roll 1d20 +3`
- `roll 1d20 +1+2+3`
- `probe 50 \\ neither bonus nor malus is applied`
- `probe 50 b 1`
- `probe 50 B 1`
- `probe 50 bonus 1`
- `probe 50 m 1`
- `probe 50 M 1`
- `probe 50 malus 1`
- `probe 50b1`
- `probe 50B1`
- `probe 50 b1`
- `probe 50B 1`
- `probe 50 BOnUs 1`
- `probe 50m1`
- `probe 50M1`
- `probe 50 m1`
- `probe 50M 1`
- `probe 50 MAlUs 1`
## Acknowledgement
The command line tool requires the installation of `Poetry`. | 23.527027 | 361 | 0.642734 | eng_Latn | 0.971321 |
2edaab60aeca074bbea169941d8e3b69fb39918a | 2,254 | md | Markdown | WindowsServerDocs/manage/windows-admin-center/configure/shared-connections.md | gugaangelis/windowsserverdocs.pt-br | 0dde216f7e5647a5493397714275e8f323d8ebde | [
"CC-BY-4.0",
"MIT"
] | null | null | null | WindowsServerDocs/manage/windows-admin-center/configure/shared-connections.md | gugaangelis/windowsserverdocs.pt-br | 0dde216f7e5647a5493397714275e8f323d8ebde | [
"CC-BY-4.0",
"MIT"
] | null | null | null | WindowsServerDocs/manage/windows-admin-center/configure/shared-connections.md | gugaangelis/windowsserverdocs.pt-br | 0dde216f7e5647a5493397714275e8f323d8ebde | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Configurar conexões compartilhadas para todos os usuários do gateway do Windows Admin Center
description: Saiba como os administradores podem configurar o gateway do Windows Admin Center (Project Honolulu) uma vez para permitir que todos os usuários compartilhem uma lista única de conexões.
ms.topic: article
author: haley-rowland
ms.author: harowl
ms.date: 03/28/2019
ms.localizationpriority: medium
ms.openlocfilehash: eea0e467629a6110d38ed3081a1320e002496cfb
ms.sourcegitcommit: dfa48f77b751dbc34409aced628eb2f17c912f08
ms.translationtype: HT
ms.contentlocale: pt-BR
ms.lasthandoff: 08/07/2020
ms.locfileid: "87970873"
---
# <a name="configure-shared-connections-for-all-users-of-the-windows-admin-center-gateway"></a>Configurar conexões compartilhadas para todos os usuários do gateway do Windows Admin Center
> Aplica-se a: Versão prévia do Windows Admin Center, Windows Admin Center
Com a capacidade de configurar conexões compartilhadas, os administradores de gateway podem configurar a lista de conexões uma vez para todos os usuários de um determinado gateway do Windows Admin Center. Esse recurso só está disponível no modo de serviço do Windows Admin Center.
Na guia **Conexões compartilhadas** das configurações de gateway do Windows Admin Center, os administradores de gateway podem adicionar servidores, clusters e conexões do PC como você faria na página Todas as conexões, incluindo a capacidade de marcar conexões. Conexões e marcas adicionadas na lista Conexões compartilhadas serão exibidas para todos os usuários desse gateway do Windows Admin Center na página Todas as conexões deles.

Quando o usuário do Windows Admin Center acessar a página "Todas as conexões" depois que as Conexões compartilhadas tiverem sido configuradas, ele verá as conexões agrupadas em duas ações: Pessoal e Conexões compartilhadas. O grupo Pessoal é uma lista de conexão de um usuário específico e persiste em todas as sessões de navegador desse usuário. O grupo Conexões compartilhadas é o mesmo em todos os usuários e não pode ser modificado na página Todas as conexões.
 | 80.5 | 464 | 0.819432 | por_Latn | 0.999373 |
2eddb1fa639c8ae80a81cb5c0a5e8a0cf98cfdc0 | 259 | md | Markdown | README.md | AftabAhmad/password-strength-meter | e0de47a02894347827370fb6602df72a3ad5ab61 | [
"MIT"
] | null | null | null | README.md | AftabAhmad/password-strength-meter | e0de47a02894347827370fb6602df72a3ad5ab61 | [
"MIT"
] | null | null | null | README.md | AftabAhmad/password-strength-meter | e0de47a02894347827370fb6602df72a3ad5ab61 | [
"MIT"
] | null | null | null | # password-strength-meter
Password Strength Meter detects how strong password is - Built on JavaScript Password Strength Meter by Aaron Snowberger
http://codepen.io/jekkilekki/pen/ZOvqGq
Check jsfiddle for Demo..
https://jsfiddle.net/AftabAhmad/3L8fw3p9/12/
| 37 | 120 | 0.814672 | eng_Latn | 0.369487 |
2edecbca6f1f55852f1fcc485bb540a63e0c7784 | 2,326 | md | Markdown | src/Guides/80-APIs of note/00-Overview.md | AODocs-Dev/api-documentation | 0459eb5e56180107171f46350b8120cd45c3da6f | [
"Apache-2.0"
] | 2 | 2021-04-28T18:27:04.000Z | 2021-09-24T07:47:12.000Z | src/Guides/80-APIs of note/00-Overview.md | AODocs-Dev/api-documentation | 0459eb5e56180107171f46350b8120cd45c3da6f | [
"Apache-2.0"
] | null | null | null | src/Guides/80-APIs of note/00-Overview.md | AODocs-Dev/api-documentation | 0459eb5e56180107171f46350b8120cd45c3da6f | [
"Apache-2.0"
] | null | null | null | # [DRAFT] Overview
## Methods
Generally, the methods work as follows:
* GET (gets single or list)
* POST (creates)
* DELETE (deletes)
* PATCH (updates). we don't do UPDATE, 'cause PATCH suffices [but under documentId POST updates?
## Global fields
Global fields
* domain
* securityCode (link to authentication article)
* <span style="text-decoration:underline;">fields</span> (link to performance article)
## APIs of note
The most useful and commonly used AODocs APIs
---
useful format?
[File | Apps Script API](https://developers.google.com/apps-script/api/reference/rest/v1/File)
---
### [documentId](https://drive.google.com/a/altirnao.com/open?id=11PiT5MuYn6BXiJ5dh_PSW2LK5eo4HfMMRYbEFg4Up8s)
Operate on AODocs documents.
### [search](https://docs.google.com/document/d/1QAIPQZWM_5iQolBjO0_5mBgGyZRde4_4_9vD0DD4MHI/edit)
Search AODocs documents and libraries.
### category
* AODocs categories
* Read more (link to full document API: category)
### referenceCatalog
* AODocs reference catalogs (**API-only**)
* Read more (link to full document API: referenceCatalog)
### relation
* x
* Read more (link to full document API: relation)
### documentType
* AODocs document classes
* Read more (link to full document API: documentType)
### workflow
* AODocs workflows
* Read more (link to full document API: workflow)
### library
* AODocs libraries
* Read more (link to full document API: library)
### job
* x
* Read more (link to full document API: job)
### view
* x
* Read more (link to full document API: view)
### folder
* AODocs storage account folders (**TF/SF-only**)
* Read more (link to full document API: folder)
* The three places where you can (and sometimes must) enable DMS folder stuff are:
* Class mgmt
* Security tab > Inherited permissions: from class vs. from folder
* Advanced tab > Folders: allow vs. disallow
### user
* AODocs users and **Google Groups **a
* getCurrentUser (and also domain, groups, defaultDomain, availableDomains, lastLogin, lastEdit, superAdmin, canCreateLibraries, external, impersonable
* Read more (link to full document API: user)
### domain
* AODocs domain actions (**domain admins only**)
* Read more (link to full document API: domain)
| 19.22314 | 157 | 0.700774 | eng_Latn | 0.688245 |
2ee01e8bae39cb514947f9bad239f1621f49a8f5 | 4,875 | md | Markdown | src/Red-Folder.com/wwwroot/tmp/phonegap-cordova-look-before-you-leap/phonegap-cordova-look-before-you-leap.md | Red-Folder/red-folder.com | 0af545e0b43d2dbe563f10d84f7335abd8bc6453 | [
"MIT"
] | null | null | null | src/Red-Folder.com/wwwroot/tmp/phonegap-cordova-look-before-you-leap/phonegap-cordova-look-before-you-leap.md | Red-Folder/red-folder.com | 0af545e0b43d2dbe563f10d84f7335abd8bc6453 | [
"MIT"
] | 7 | 2020-05-23T16:12:08.000Z | 2021-04-15T09:54:35.000Z | src/Red-Folder.com/wwwroot/tmp/phonegap-cordova-look-before-you-leap/phonegap-cordova-look-before-you-leap.md | Red-Folder/red-folder.com | 0af545e0b43d2dbe563f10d84f7335abd8bc6453 | [
"MIT"
] | null | null | null | Having supported my background service plugin for Phonegap/ Cordova for sometime, it is clear that many developers are jumping into the technology without fully understanding the platform.
Don't get me wrong; Phonegap/ Cordova is a great tool - when used for the right job. This post is about taking the time to consider if it is right for your project.
### Before you start any project
Ok, for a moment lets step back from any specific technology.
When, as a developer, you are present with a project you should always break it down into the component parts. From those component parts, you should be looking for those that are the most risky or complex - these are the parts that will derail your project - almost certainly at the wrong time in your project.
Risky and complex parts should be handled early in a project - you should be aiming to fail quickly.### Failing quickly
Every software project has a chance of failure. Some of the best software projects have multiple failures - failures that allow the development team to adjust their project to produce better software.
Acceptance of failure may be a culture change for you, your development team or even your organisation. Please believe me when I say you need to get over this (maybe I should write a blog on that) - for now just trust me.
The important thing with failure is to fail quickly. This wastes lest effort & money than failing slowly. The worst time to fail is towards the end of the project. It really doesn't take much searching of the internet to find case studies of projects that have been on track until the 11th hour - only to fail spectacularly - generally leading to the entire project having to be scrapped.### So, how does failing quickly apply to my project
If you are able to assess your risky/ complex tasks early and prove you can or cannot perform with your chosen technology, team, etc - you greatly improve the likelihood that the project will be a success.
With Phonegap/ Cordova; the risky/ complex tasks come to play when you have to develop functionality outside of the standard app.
Lets take a scenario where your project requires that the app actively talks to a web service every 15 minutes - and should take actions based on it.
You break the task down - your comfort area is the UI (HTML, CSS, JavaScript) - Phonegap seems just the framework to develop your application. Phonegap however has no native means of checking a web service every 15 minutes. Yes, you could use JavaScript for when the app is open and running, but (due to the Android Application Life-cycle) that will not work if you app goes into the background or is closed.
At this point, you are probably looking at my background service plugin. This does give you a means for how to handle this 15 minutes check - however, you need to understand that you need Java (not JavaScript) skills and the relevant technical expertise to develop an Android Native app.
So, in the development of your application, you now how have critical failure - you don't have the Java/ Native app experience or the funds to acquire them. So, at which point would you prefer to find this:<ol>* 80% of the way through your project when you have developed the UI - investing a lot of time and effort
* 10% of the way through your project when you have invested considerable less time & effort
</ol>If you fail at the 10%, this is great. You've just save yourself or your organisation 70% of the effort than if you left it till the end. Both options have let to the project failing - the but the second options is considerably better value for you.### Summary
The principals of dealing with the risky/ complex tasks early in the project should be applied to all projects (not just development in truth).
However, we as humans will go for what we know. How cool is it that we can use our HTML/ CSS/ JavaScript skills to develop a great app quickly to impress the boss?
But, as I talk about above, this can be a false economy.
I have worked on many projects over the years that have failed - initially they have been developed quickly and perceived to be successful as the developers has used their "comfort zone" skills to develop a first phase or prototype. As the project then moves outside of the developers "comfort zone", you then start to see the cracks appearing. The developer starts to fall behind, is definitely not delivering to the same cadence as initially set. Before long confidence is lost in the developer and the application.
As such, please take some time when you look at your project. Rather than jump in, take the time to map out the tasks and identify the tasks that are risky/ complex. Then do your research - make sure that the framework you use will support what you need do. More often than not, this means doing the hard stuff first. Your future self will thank you for it.
| 195 | 520 | 0.787692 | eng_Latn | 0.999963 |
2ee1f52503e7da62114c0ad9a6a5745b2a799d8d | 1,800 | md | Markdown | content/post/2009-02-14-treadmill-grade-to-angle-conversion.md | sytelus/shitalshah.com-v5 | 8d95ce705b04e1c8c0b770f017bcf06e0071bbbe | [
"MIT"
] | null | null | null | content/post/2009-02-14-treadmill-grade-to-angle-conversion.md | sytelus/shitalshah.com-v5 | 8d95ce705b04e1c8c0b770f017bcf06e0071bbbe | [
"MIT"
] | null | null | null | content/post/2009-02-14-treadmill-grade-to-angle-conversion.md | sytelus/shitalshah.com-v5 | 8d95ce705b04e1c8c0b770f017bcf06e0071bbbe | [
"MIT"
] | 1 | 2019-11-25T07:45:06.000Z | 2019-11-25T07:45:06.000Z | ---
title: Treadmill Grade to Angle Conversion
author: Shital Shah
type: post
date: 2009-02-14T08:02:00+00:00
url: /p/treadmill-grade-to-angle-conversion/
blogger_blog:
- astrila.blogspot.com
blogger_author:
- Shital Shah
blogger_permalink:
- /2009/02/treadmill-grade-to-angle-conversion.html
dsq_thread_id:
- 3737209850
categories:
- Physics
---
Gym machines like treadmills and even some roads express the slop as "grade" in percentage. For example, most gym treadmills allow up to 15% grade. I've left going to gym since last few months and instead I'm doing this Snoqualmie Falls hike almost every other day (which is 0.5 miles one way and 300ft elevation). But occasionally I have to go to gym because of early sunsets. I usually put max grade (15%) and speed walk for one mile burning 350 cal. So naturally the question is how many feet I climbed?
For this I need to convert grade in % to angle. But what is "grade%"? Turns out it's ration of rise/run or in other words,
<p style='text-align:center;'>
<span class='MathJax_Preview'><img src='http://shitalshah.com/ShitalShahWP/wp-content/plugins/latex/cache/tex_a70e32da0fd6a1130b81e5a875b5c5e3.gif' style='vertical-align: middle; border: none;' class='tex' alt="grade=\frac{tan(\theta)}{100}" /></span>
</p>
So your vertical climb in feet is given by, <span class='MathJax_Preview'><img src='http://shitalshah.com/ShitalShahWP/wp-content/plugins/latex/cache/tex_911bbf0a2826cdbec9aee7568639f9c3.gif' style='vertical-align: middle; border: none; ' class='tex' alt="\sin(\tan^{-1}(grade*100))*5280" /></span> miles
So by that calculation, at maximum grade on gym treadmill I climb 783.2 feet for each mile I walk. Not too bad.
_Via conversation [here][1]._
[1]: http://forum.onlineconversion.com/showthread.php?t=7377 | 51.428571 | 506 | 0.756111 | eng_Latn | 0.927622 |
2ee3698d81f430c7f5edb35b35c3ab6dfaa3728c | 527 | md | Markdown | README.md | CristinaPelepenko/Rent-a-lab | 0dec961077e685b6eb0eed5e9cab0201c09d45a0 | [
"Apache-2.0"
] | null | null | null | README.md | CristinaPelepenko/Rent-a-lab | 0dec961077e685b6eb0eed5e9cab0201c09d45a0 | [
"Apache-2.0"
] | null | null | null | README.md | CristinaPelepenko/Rent-a-lab | 0dec961077e685b6eb0eed5e9cab0201c09d45a0 | [
"Apache-2.0"
] | 1 | 2022-03-23T23:51:19.000Z | 2022-03-23T23:51:19.000Z | # Rent-a-lab
## Instalando Ambiente
Para rodar o projeto é necessário atualizar o expo para podermos utilizar o expo install. Para isso, é necessário executar os seguintes comandos:
```
yarn add [email protected]
```
```
expo update
```
Após isto podemos instalar o pacote ReactNavigation utilizando o seguinte comando:
```
yarn add @react-navigation/native @react-navigation/native-stack
```
```
expo install react-native-screens react-native-safe-area-context
```
```
npm install --save react-native-calendar-picker
```
| 18.821429 | 145 | 0.743833 | por_Latn | 0.856552 |
2ee3cd2c3dc97589dd058812668e2096262acb03 | 39 | md | Markdown | README.md | JavaQuaker/Quaker-Telegrambot | ee09fbf2fb651088508bbf54c3581db23d7e260b | [
"Apache-2.0"
] | null | null | null | README.md | JavaQuaker/Quaker-Telegrambot | ee09fbf2fb651088508bbf54c3581db23d7e260b | [
"Apache-2.0"
] | 12 | 2021-06-02T09:09:12.000Z | 2021-06-02T10:35:56.000Z | README.md | JavaQuaker/Quaker-Telegrambot | ee09fbf2fb651088508bbf54c3581db23d7e260b | [
"Apache-2.0"
] | null | null | null | # Quaker-Telegrambot
First Git project
| 13 | 20 | 0.820513 | eng_Latn | 0.194327 |
2ee48bfd082de5a7913f7078ec659992d0f2dc67 | 115 | md | Markdown | 05-consensus-algorithms/README.md | shanawarkhan/intro-to-blockchain | 1559f8acd1095cc8f5547547b1c9de93e353c531 | [
"MIT"
] | 30 | 2018-03-19T20:11:54.000Z | 2022-02-05T21:35:41.000Z | 05-consensus-algorithms/README.md | shanawarkhan/intro-to-blockchain | 1559f8acd1095cc8f5547547b1c9de93e353c531 | [
"MIT"
] | null | null | null | 05-consensus-algorithms/README.md | shanawarkhan/intro-to-blockchain | 1559f8acd1095cc8f5547547b1c9de93e353c531 | [
"MIT"
] | 12 | 2018-03-19T21:02:55.000Z | 2020-03-15T11:54:18.000Z | # Consensus Algorithms
What is consensus?
## Double Spending Problem
## Proof of Work
## Proof of Stake
| 6.764706 | 26 | 0.678261 | eng_Latn | 0.899717 |
2ee4d9dc477c230c5084ed1e0182593f23d53c65 | 22 | md | Markdown | README.md | schabr06/go | ed65b5ea13f88862a42647068007a1ea043eee8f | [
"MIT"
] | null | null | null | README.md | schabr06/go | ed65b5ea13f88862a42647068007a1ea043eee8f | [
"MIT"
] | null | null | null | README.md | schabr06/go | ed65b5ea13f88862a42647068007a1ea043eee8f | [
"MIT"
] | null | null | null | # go
GO Lang Practice
| 7.333333 | 16 | 0.727273 | pol_Latn | 0.865927 |
2ee4eef642c6ee253e195fdfe80a03f06e8b1ab1 | 137 | md | Markdown | about.md | vo3xel/vo3xel.github.io | 0aa176c93bc8f00ef9c53c9e3a9147b32381ee6e | [
"MIT"
] | null | null | null | about.md | vo3xel/vo3xel.github.io | 0aa176c93bc8f00ef9c53c9e3a9147b32381ee6e | [
"MIT"
] | 3 | 2021-09-27T22:18:56.000Z | 2022-01-12T15:56:07.000Z | about.md | vo3xel/vo3xel.github.io | 0aa176c93bc8f00ef9c53c9e3a9147b32381ee6e | [
"MIT"
] | null | null | null | ---
title: "About"
date: 2019-07-09 09:00:05
categories: [general]
tags: [general]
layout: page
permalink: /about/
---
coming soon :-)
| 11.416667 | 25 | 0.656934 | eng_Latn | 0.22417 |
2ee563689090024cce452af4a351985dbc7d6804 | 1,687 | md | Markdown | README.md | MaxFichtelmann/e2ee-js | 946b96294811c4a90f1cf7f07864a0d5ca32516e | [
"MIT"
] | null | null | null | README.md | MaxFichtelmann/e2ee-js | 946b96294811c4a90f1cf7f07864a0d5ca32516e | [
"MIT"
] | null | null | null | README.md | MaxFichtelmann/e2ee-js | 946b96294811c4a90f1cf7f07864a0d5ca32516e | [
"MIT"
] | null | null | null | # E2EE
E2EE - short for end-to-end encryption - is a method that prevents an observer from accessing data while it is being transferred between two parties.
This library implements key-exchange using ECDHE (ephemeral diffie-hellman) and encryption using AES-GCM.
## Install
npm install @fichtelmax/e2ee
## Usage
Usage is usually distributed across 2 parties. In this example, Alice wants to exchange messages with bob:
```js
import { startHandshake } from '@fichtelmax/e2ee';
// alice starts with creating a handshake, which generates an ephemeral diffie-hellman keypair
const handshakeA = await startHandshake();
const publicKeyA = handshakeA.publicKey;
// alice then hands the public key of the generated keypair to bob
// bob starts a handshake himself and completes it with the public key of alice
const handshakeB = await startHandshake();
const sessionB = await handshakeB.finish(publicKeyA);
const publicKeyB = handshakeB.publicKey;
// bob hands his public key to alice
// alice finishes the handshake on her side. Both have now derived an identical AES session key.
const sessionA = await handshakeA.finish(publicKeyB);
// alice can now encrypt a message, send the encrypted message to bob.
const encrypted = await sessionA.encrypt('Hello World!');
// bob decrypts the message received by alice and gets the same plain text
const decrypted = await sessionB.decrypt(encrypted, 'utf8');
// 'Hello World!'
```
## Caveats
For threat models that include a man-in-the-middle that can modify messages during the handshake, the transmission of the public key needs to be secured on at least one side, for example by attaching a matching asymmetric digital signature.
| 37.488889 | 240 | 0.778305 | eng_Latn | 0.994821 |
2ee5aac3efa6d8d83bbe4b90a4b3dd10608259d8 | 1,049 | md | Markdown | docs/add/metadata/DocumentFormat.OpenXml.Spreadsheet/CustomProperties.meta.md | mairaw/open-xml-docs-ref-dotnet | 078db78b64aaade35a15f31e279cc81294f0bae1 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2021-01-14T16:13:01.000Z | 2021-08-30T21:20:02.000Z | docs/add/metadata/DocumentFormat.OpenXml.Spreadsheet/CustomProperties.meta.md | mairaw/open-xml-docs-ref-dotnet | 078db78b64aaade35a15f31e279cc81294f0bae1 | [
"CC-BY-4.0",
"MIT"
] | 12 | 2018-08-02T20:11:26.000Z | 2022-02-15T02:39:52.000Z | docs/add/metadata/DocumentFormat.OpenXml.Spreadsheet/CustomProperties.meta.md | mairaw/open-xml-docs-ref-dotnet | 078db78b64aaade35a15f31e279cc81294f0bae1 | [
"CC-BY-4.0",
"MIT"
] | 7 | 2018-10-11T16:55:35.000Z | 2021-05-05T15:13:48.000Z | ---
uid: DocumentFormat.OpenXml.Spreadsheet.CustomProperties
ms.author: "soliver"
manager: "soliver"
---
---
uid: DocumentFormat.OpenXml.Spreadsheet.CustomProperties.#ctor(DocumentFormat.OpenXml.OpenXmlElement[])
ms.author: "soliver"
manager: "soliver"
---
---
uid: DocumentFormat.OpenXml.Spreadsheet.CustomProperties.LocalName
ms.author: "soliver"
manager: "soliver"
---
---
uid: DocumentFormat.OpenXml.Spreadsheet.CustomProperties.#ctor*
ms.author: "soliver"
manager: "soliver"
---
---
uid: DocumentFormat.OpenXml.Spreadsheet.CustomProperties.#ctor(System.Collections.Generic.IEnumerable{DocumentFormat.OpenXml.OpenXmlElement})
ms.author: "soliver"
manager: "soliver"
---
---
uid: DocumentFormat.OpenXml.Spreadsheet.CustomProperties.CloneNode(System.Boolean)
ms.author: "soliver"
manager: "soliver"
---
---
uid: DocumentFormat.OpenXml.Spreadsheet.CustomProperties.#ctor
ms.author: "soliver"
manager: "soliver"
---
---
uid: DocumentFormat.OpenXml.Spreadsheet.CustomProperties.#ctor(System.String)
ms.author: "soliver"
manager: "soliver"
---
| 21.854167 | 141 | 0.770257 | yue_Hant | 0.260142 |
2ee6516944673a34231caeb02281c9954f1d2f90 | 922 | md | Markdown | README.md | CharlesDerek/qr | a0e8e43317dfc398361f0fb3e4842d06657e2a76 | [
"MIT"
] | null | null | null | README.md | CharlesDerek/qr | a0e8e43317dfc398361f0fb3e4842d06657e2a76 | [
"MIT"
] | null | null | null | README.md | CharlesDerek/qr | a0e8e43317dfc398361f0fb3e4842d06657e2a76 | [
"MIT"
] | null | null | null |
Charles' - Universal JavaScript QRCode Generator:
=================================================
#[charlesderek.github.io](https://charlesderek.github.io/qr/)
[](https://opensource.org/licenses/MIT)
_I became tired of having to search online for a QR Code sample._
_Every one of them uses JQuery, or relies on some external library that is loaded with mountains of bloatware, or worse ask you to pay a subscription just to use it!_
_Since this script was directly written in JavaScript using methods that rely directly on base64 bytes, **it is therefore not only the lightest QR Scanner on resources to exist for browsers.. But it is also the fastest at rendering in real time.**_
_Enjoy, all that I ask is you reference [me](https://www.charlesderek.com/)._

| 41.909091 | 248 | 0.726681 | eng_Latn | 0.983055 |
2ee6dca989f5dc3a89d625cb3137239c84e1b40d | 2,362 | md | Markdown | docs/src/build.md | OptimalDesignLab/PDESolver.jl | 328ef45f764ab99a9d5cc3c5e4c0a4c56b263279 | [
"MIT"
] | 13 | 2016-10-30T17:12:38.000Z | 2021-03-02T10:29:45.000Z | docs/src/build.md | tangwang-USTC/PDESolver.jl | 328ef45f764ab99a9d5cc3c5e4c0a4c56b263279 | [
"MIT"
] | 163 | 2015-07-14T19:15:21.000Z | 2019-01-08T21:24:41.000Z | docs/src/build.md | tangwang-USTC/PDESolver.jl | 328ef45f764ab99a9d5cc3c5e4c0a4c56b263279 | [
"MIT"
] | 6 | 2015-05-20T15:36:21.000Z | 2022-02-07T17:57:33.000Z | # Building PDESolver
This page describes how to build the PDESolver package.
Julia has two kinds of dependencies, system packages and Julia packages.
System packages can either be installed using a Linux package manager
(such as `apt-get` on Debian-based system) or built from source.
Julia packages are install using the Julia package manager.
## System Dependencies
Before installing PDESolver, you should already have the following installed:
* Julia v0.4
* C/C++/Fortran compilers
* An MPI implementation (including MPI compiler wrappers)
* CMake v3.0.0 or later
* BLAS and LAPACK
The build process for Julia itself can be found [here](https://github.com/JuliaLang/julia/tree/release-0.4).
If you are on a Debian based system, the following command will install
the remaining dependencies:
```
sudo apt-get install build-essential gfortran cmake libblas-dev liblapack-dev mpich
```
## PDESolver Installation
PDESolver is not listed in Julia's `METADATA`, so you will have to clone the
repository and then build the code.
After installing the system [System Dependencies](@ref), run the following Julia commands to install the Julia dependencies and and PDESolver itself:
```julia
Pkg.clone("https://github.com/OptimalDesignLab/PDESolver.jl.git")
Pkg.resolve() # install all packages in PDESolvers REQUIRE file
Pkg.build("PDESolver") # install all packages not in REQUIRE file and
# build PDESolver
```
This will install PDESolver and all Julia dependencies into the directory
specified by the `JULIA_PKGDIR` environmental variable.
If this variable is not specified, it will install to `~/.julia/v0.4/PDESolver`.
If there are errors building any Julia dependencies, see the
[Installation](@ref) page for methods of installing particular versions of the
dependencies.
After installation it is recommended to run the test suite.
To do so, run the following commands in the terminal:
```
# need to configure environment before using PumiInterface
cd /path/to/PumiInterface/src # for example ~/.julia/v0.4/PumiInterface/src)
source ./use_julialib.sh
# run the PDESolver tests
cd /path/to/pdesolver # (for example ~/.julia/v0.4/PDESolver)
cd ./test
./runtests_fast.sh
```
If the tests complete without error, then the package is properly installed.
TODO: link to examples page
| 33.267606 | 149 | 0.760373 | eng_Latn | 0.990644 |
2ee7bfc119f5f8287807cb6e8477af116c8d2f7c | 1,922 | md | Markdown | _posts/2015-09-12-PROM-DRESSES-Sherri-Hill-3862-Beaded-Chiffon-Prom-Dress.md | lastgown/lastgown.github.io | f4a71e2a12910bc569ac7e77f819c2be1598d8e6 | [
"MIT"
] | null | null | null | _posts/2015-09-12-PROM-DRESSES-Sherri-Hill-3862-Beaded-Chiffon-Prom-Dress.md | lastgown/lastgown.github.io | f4a71e2a12910bc569ac7e77f819c2be1598d8e6 | [
"MIT"
] | null | null | null | _posts/2015-09-12-PROM-DRESSES-Sherri-Hill-3862-Beaded-Chiffon-Prom-Dress.md | lastgown/lastgown.github.io | f4a71e2a12910bc569ac7e77f819c2be1598d8e6 | [
"MIT"
] | null | null | null | ---
layout: post
date: '2015-09-12'
title: "PROM DRESSES Sherri Hill 3862 Beaded Chiffon Prom Dress"
category: PROM DRESSES
tags: [PROM DRESSES]
---
### PROM DRESSES Sherri Hill 3862 Beaded Chiffon Prom Dress
Just **$394.99**
###
Sherri Hill 3862 Beaded Strapless Chiffon Prom Dress.
Available in sizes 0-18.
<a href="https://www.eudances.com/en/prom-dresses/1213-sherri-hill-3862-beaded-chiffon-prom-dress.html"><img src="//www.eudances.com/3613-thickbox_default/sherri-hill-3862-beaded-chiffon-prom-dress.jpg" alt="Sherri Hill 3862 Beaded Chiffon Prom Dress" style="width:100%;" /></a>
<!-- break --><a href="https://www.eudances.com/en/prom-dresses/1213-sherri-hill-3862-beaded-chiffon-prom-dress.html"><img src="//www.eudances.com/3614-thickbox_default/sherri-hill-3862-beaded-chiffon-prom-dress.jpg" alt="Sherri Hill 3862 Beaded Chiffon Prom Dress" style="width:100%;" /></a>
<a href="https://www.eudances.com/en/prom-dresses/1213-sherri-hill-3862-beaded-chiffon-prom-dress.html"><img src="//www.eudances.com/3615-thickbox_default/sherri-hill-3862-beaded-chiffon-prom-dress.jpg" alt="Sherri Hill 3862 Beaded Chiffon Prom Dress" style="width:100%;" /></a>
<a href="https://www.eudances.com/en/prom-dresses/1213-sherri-hill-3862-beaded-chiffon-prom-dress.html"><img src="//www.eudances.com/3616-thickbox_default/sherri-hill-3862-beaded-chiffon-prom-dress.jpg" alt="Sherri Hill 3862 Beaded Chiffon Prom Dress" style="width:100%;" /></a>
<a href="https://www.eudances.com/en/prom-dresses/1213-sherri-hill-3862-beaded-chiffon-prom-dress.html"><img src="//www.eudances.com/3612-thickbox_default/sherri-hill-3862-beaded-chiffon-prom-dress.jpg" alt="Sherri Hill 3862 Beaded Chiffon Prom Dress" style="width:100%;" /></a>
Buy it: [https://www.eudances.com/en/prom-dresses/1213-sherri-hill-3862-beaded-chiffon-prom-dress.html](https://www.eudances.com/en/prom-dresses/1213-sherri-hill-3862-beaded-chiffon-prom-dress.html)
| 87.363636 | 292 | 0.757024 | kor_Hang | 0.153448 |
2ee81dc77f90b6eb6f91c346c14aefd677c0e8f8 | 726 | md | Markdown | content/jobs/VanierAI/index.md | Cryotechnic/portfolio-web | 06014730222133907863588690cc59ed207bcc23 | [
"MIT"
] | null | null | null | content/jobs/VanierAI/index.md | Cryotechnic/portfolio-web | 06014730222133907863588690cc59ed207bcc23 | [
"MIT"
] | 4 | 2021-09-03T04:40:06.000Z | 2022-01-29T07:25:25.000Z | content/jobs/VanierAI/index.md | Cryotechnic/portfolio-web | 06014730222133907863588690cc59ed207bcc23 | [
"MIT"
] | null | null | null | ---
date: '2020-09-01'
title: 'Research Intern'
company: 'Vanier AI'
location: 'Saint-Laurent, QC'
range: 'September 2020 - April 2021'
url: 'https://www.vaniercollege.qc.ca/robotics/'
---
- Produced educational material in order to further promote the development of artificial intelligence in the education sector
- Created datasets in order to properly train neural models on object detection using various Google APIs
- Produced extensive web resources in order to inform the Vanier students of the utility of AI
- Spread resources to other various education establishments in order to promote the usage of AI in our daily lives
- Performed maintenance on web resources based on feedback received from various professors
| 48.4 | 126 | 0.794766 | eng_Latn | 0.992707 |
2ee88003bb8a3f79d04d071cb997bb46227996ab | 490 | md | Markdown | data/content/fate-grand-order/ce/consider-carefully/attr.en.md | tmdict/tmdict | c2f8ddb7885a91d01343de4ea7b66fea78351d94 | [
"MIT"
] | 3 | 2022-02-25T11:13:45.000Z | 2022-02-28T11:55:41.000Z | data/content/fate-grand-order/ce/consider-carefully/attr.en.md | SomiaWhiteRing/tmdict | 13c6c818c84a65ee956535e08d20246bde87dd48 | [
"MIT"
] | null | null | null | data/content/fate-grand-order/ce/consider-carefully/attr.en.md | SomiaWhiteRing/tmdict | 13c6c818c84a65ee956535e08d20246bde87dd48 | [
"MIT"
] | 2 | 2022-02-25T09:59:50.000Z | 2022-02-28T11:55:09.000Z | ---
parent: attribute.ce
source: fate-grand-order
id: consider-carefully
language: en
weight: 0
---
I get it!
So I just need to decide who’s the most beautiful, right?
But I don’t know!
Huh? Reward? A bribe?
I see. I guess anything goes when it comes to competitions between deities.
I’ll win wars? I can become king?
Hmmm, none of those are that enticing…
Wait, the world’s most beautiful woman will be my bride?
I choose that!
…AHHH! Why do I do things without thinking them through!?
| 23.333333 | 75 | 0.742857 | eng_Latn | 0.998836 |
2ee8ad666fa323c842fae174218ee54c4bff51b5 | 82 | md | Markdown | source/DSCResources/MSFT_Cipher/readme.md | bdanse/SChannelDsc | 4ff5166537f61f377c942285139e6beeb5f62e7a | [
"MIT"
] | 9 | 2019-10-16T11:27:49.000Z | 2022-03-03T00:55:04.000Z | source/DSCResources/MSFT_Cipher/readme.md | bdanse/SChannelDsc | 4ff5166537f61f377c942285139e6beeb5f62e7a | [
"MIT"
] | 14 | 2020-02-06T14:56:56.000Z | 2022-02-11T10:09:52.000Z | source/DSCResources/MSFT_Cipher/readme.md | bdanse/SChannelDsc | 4ff5166537f61f377c942285139e6beeb5f62e7a | [
"MIT"
] | 10 | 2020-04-15T12:46:51.000Z | 2021-04-22T08:54:53.000Z | # Description
This resource is responsible for enabling or disabling ciphers.
| 20.5 | 64 | 0.792683 | eng_Latn | 0.999713 |
2ee97dc87cd76432ecd8a042e5cabd03851c1915 | 864 | md | Markdown | _posts/2021-08-26-329900256.md | bookmana/bookmana.github.io | 2ed7b023b0851c0c18ad8e7831ece910d9108852 | [
"MIT"
] | null | null | null | _posts/2021-08-26-329900256.md | bookmana/bookmana.github.io | 2ed7b023b0851c0c18ad8e7831ece910d9108852 | [
"MIT"
] | null | null | null | _posts/2021-08-26-329900256.md | bookmana/bookmana.github.io | 2ed7b023b0851c0c18ad8e7831ece910d9108852 | [
"MIT"
] | null | null | null | ---
title: "Egone Schiele Drawing and Watercolours (Hardcover)"
date: 2021-08-26 15:15:52
categories: [외국도서, 예술-디자인]
image: https://bimage.interpark.com/goods_image/0/2/5/6/329900256s.jpg
description: ● ● … THIS AUTHORITATIVE AND BEAUTIFULLY PRODUCED ACCOUNT OF ONE OF THE MOST COMPELLING FIGURES IN MODERN ART IS AN UNMISSABLE BARGAIN ? RA MAGAZINE CRAMMED
---
## **정보**
- **ISBN : 9780500511169**
- **출판사 : Thames & Hudson**
- **출판일 : 20030428**
- **저자 : Jane Kallir, Ivan Vartanian**
------
## **요약**
● ● … THIS AUTHORITATIVE AND BEAUTIFULLY PRODUCED ACCOUNT OF ONE OF THE MOST COMPELLING FIGURES IN MODERN ART IS AN UNMISSABLE BARGAIN ? RA MAGAZINE
CRAMMED WITH PAGE AFTER PAGE OF STUNNING COLOUR PRINTS ... PUNCTUATED WITH USEFUL, WELL-WRITTEN CHAPTERS ABOUT THE...
------
------
Egone Schiele Drawing and Watercolours (Hardcover)
------
| 22.736842 | 169 | 0.700231 | yue_Hant | 0.994644 |
2eea676eba880605dcbcb92b913c71757951cff2 | 12,310 | md | Markdown | note/spring/book/aop/SpringAop.md | Heffie199/Advanced-books | 519bd08c1faf6d5c60e28107ec20dbf2b79ed676 | [
"MIT"
] | 63 | 2020-07-07T12:44:44.000Z | 2022-03-29T07:59:31.000Z | note/spring/book/aop/SpringAop.md | yanghaiji/advanced-books | 2c745d9eb9d477b2fb8a22cd5fc7c49e1a6a5b0a | [
"MIT"
] | 2 | 2020-08-30T06:46:13.000Z | 2022-02-10T05:44:24.000Z | note/spring/book/aop/SpringAop.md | yanghaiji/advanced-books | 2c745d9eb9d477b2fb8a22cd5fc7c49e1a6a5b0a | [
"MIT"
] | 27 | 2020-07-06T03:08:42.000Z | 2022-03-17T05:29:05.000Z | ## Spring AOP 全面解析
在之前的几篇文章我们已经对 `Spring Ioc` 有了初步的认识,了解了 `Spring` 容器的启动,`bean`的注册,
接下来我们就来学习一下Spring的另一个重要知识点`AOP`,关于AOP的使用,
大家可以参考[Spring AOP 项目实战](https://blog.csdn.net/weixin_38937840/category_9647922.html)
如果您的项目使用的是SpringBoot,那么您也需要了解一下,[SpringBoot 为什么帮我们开启了自动配置类](SpringAutoProxy.md)
- [EnableAspectJAutoProxy](#EnableAspectJAutoProxy)
### EnableAspectJAutoProxy
在[SpringBoot 为什么帮我们开启了自动配置类](SpringAutoProxy.md)中,我们只是提到了`EnableAspectJAutoProxy`,今天就来看看它的源码
```java
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(AspectJAutoProxyRegistrar.class)
public @interface EnableAspectJAutoProxy {
//开始 cglib动态代理还是开启 java 的动态代理,默认是false
boolean proxyTargetClass() default false;
//指示代理应该由AOP框架公开ThreadLocal 为通过AopContext类进行检索。默认情况下为关闭,即不保证AopContext访问将正常进行
boolean exposeProxy() default false;
}
```
`EnableAspectJAutoProxy`的源码很简单,但是请不要忽略一个重点,那就是`@Import(AspectJAutoProxyRegistrar.class)`,如果您对`@Import`
不是很熟悉,可以参考[Spring@Import详解与使用](https://blog.csdn.net/weixin_38937840/article/details/104617407)
### AspectJAutoProxyRegistrar
```java
class AspectJAutoProxyRegistrar implements ImportBeanDefinitionRegistrar {
@Override
public void registerBeanDefinitions(
AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) {
AopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary(registry);
AnnotationAttributes enableAspectJAutoProxy =
AnnotationConfigUtils.attributesFor(importingClassMetadata, EnableAspectJAutoProxy.class);
if (enableAspectJAutoProxy != null) {
if (enableAspectJAutoProxy.getBoolean("proxyTargetClass")) {
AopConfigUtils.forceAutoProxyCreatorToUseClassProxying(registry);
}
if (enableAspectJAutoProxy.getBoolean("exposeProxy")) {
AopConfigUtils.forceAutoProxyCreatorToExposeProxy(registry);
}
}
}
}
```
- registerAspectJAnnotationAutoProxyCreatorIfNecessary
首先我们看一下`registerAspectJAnnotationAutoProxyCreatorIfNecessary`这个方法,他最终调用方法是如下
如果您对 `BeanDefinition` 不了解,可以阅读[Spring BeanDefinition 详解](../bean/BeanDefinition.md)
```java
@Nullable
private static BeanDefinition registerOrEscalateApcAsRequired(Class<?> cls, BeanDefinitionRegistry registry, @Nullable Object source) {
Assert.notNull(registry, "BeanDefinitionRegistry must not be null");
//首先判断在注册列表中是否包含要注册的bean
if (registry.containsBeanDefinition("org.springframework.aop.config.internalAutoProxyCreator")) {
BeanDefinition apcDefinition = registry.getBeanDefinition("org.springframework.aop.config.internalAutoProxyCreator");
if (!cls.getName().equals(apcDefinition.getBeanClassName())) {
int currentPriority = findPriorityForClass(apcDefinition.getBeanClassName());
int requiredPriority = findPriorityForClass(cls);
// 当 currentPriority < requiredPriority 进行 bean class name 的覆盖
if (currentPriority < requiredPriority) {
apcDefinition.setBeanClassName(cls.getName());
}
}
return null;
} //创建一个新的 bean 并注册到 BeanDefinitionRegistry 中
else {
RootBeanDefinition beanDefinition = new RootBeanDefinition(cls);
beanDefinition.setSource(source);
beanDefinition.getPropertyValues().add("order", -2147483648);
beanDefinition.setRole(2);
registry.registerBeanDefinition("org.springframework.aop.config.internalAutoProxyCreator", beanDefinition);
return beanDefinition;
}
}
```
而注册的 `bean` 到底是什么呢?在 `registerOrEscalateApcAsRequired` 方法前,我们是不是丢了什么?
当我们在追溯的时候发现,其实是先执行了`registerAspectJAnnotationAutoProxyCreatorIfNecessary`,并在这里将`AnnotationAwareAspectJAutoProxyCreator`
进行了注册;
```java
@Nullable
public static BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, @Nullable Object source) {
return registerOrEscalateApcAsRequired(AnnotationAwareAspectJAutoProxyCreator.class, registry, source);
}
```
### AnnotationAwareAspectJAutoProxyCreator

从类图是可以大致了解AnnotationAwareAspectJAutoProxyCreator这个类的功能.它实现了一系列Aware的接口,
在Bean装载的时候获取BeanFactory(Bean容器),Bean的ClassLoader,还实现了order接口,继承了PorxyConfig,ProxyConfig中主要封装了代理的通用处理逻辑,
比如设置目标类,设置使用cglib还是java proxy等一些基础配置.
而能够让这个类参与到bean初始化功能,并为bean添加代理功能的还是因为它实现了BeanPostProcessor这个接口.
这个接口的postProcessAfterInitialization方法会在bean初始化结束后(赋值完成)被调用。
这里先看一下最顶部的抽象类:AbstractAutoProxyCreator,这个抽象类主要抽象了实现代理的逻辑:
```java
@Override
public Object postProcessBeforeInitialization(Object bean, String beanName) {
return bean;
}
//如果子类将bean标识为一个要代理的bean,则使用配置的拦截器创建一个代理
@Override
public Object postProcessAfterInitialization(@Nullable Object bean, String beanName) {
if (bean != null) {
// 从缓存中获取bean 的class name
Object cacheKey = getCacheKey(bean.getClass(), beanName);
if (this.earlyProxyReferences.remove(cacheKey) != bean) {
return wrapIfNecessary(bean, beanName, cacheKey);
}
}
return bean;
}
//进行必要的包装
protected Object wrapIfNecessary(Object bean, String beanName, Object cacheKey) {
if (StringUtils.hasLength(beanName) && this.targetSourcedBeans.contains(beanName)) {
return bean;
}
if (Boolean.FALSE.equals(this.advisedBeans.get(cacheKey))) {
return bean;
}
if (isInfrastructureClass(bean.getClass()) || shouldSkip(bean.getClass(), beanName)) {
this.advisedBeans.put(cacheKey, Boolean.FALSE);
return bean;
}
// 如果该类有advice则创建proxy
Object[] specificInterceptors = getAdvicesAndAdvisorsForBean(bean.getClass(), beanName, null);
if (specificInterceptors != DO_NOT_PROXY) {
this.advisedBeans.put(cacheKey, Boolean.TRUE);
//为给定的bean创建一个AOP代理。
Object proxy = createProxy(
bean.getClass(), beanName, specificInterceptors, new SingletonTargetSource(bean));
this.proxyTypes.put(cacheKey, proxy.getClass());
return proxy;
}
this.advisedBeans.put(cacheKey, Boolean.FALSE);
return bean;
}
```
### 创建proxy过程分析
```java
protected Object createProxy(Class<?> beanClass, @Nullable String beanName,
@Nullable Object[] specificInterceptors, TargetSource targetSource) {
if (this.beanFactory instanceof ConfigurableListableBeanFactory) {
AutoProxyUtils.exposeTargetClass((ConfigurableListableBeanFactory) this.beanFactory, beanName, beanClass);
}
// 创建proxyFactory
ProxyFactory proxyFactory = new ProxyFactory();
proxyFactory.copyFrom(this);
if (!proxyFactory.isProxyTargetClass()) {
if (shouldProxyTargetClass(beanClass, beanName)) {
proxyFactory.setProxyTargetClass(true);
}
else {
evaluateProxyInterfaces(beanClass, proxyFactory);
}
}
//将当前bean适合的advice,重新封装下,封装为Advisor类,然后添加到ProxyFactory中
Advisor[] advisors = buildAdvisors(beanName, specificInterceptors);
proxyFactory.addAdvisors(advisors);
proxyFactory.setTargetSource(targetSource);
customizeProxyFactory(proxyFactory);
proxyFactory.setFrozen(this.freezeProxy);
if (advisorsPreFiltered()) {
proxyFactory.setPreFiltered(true);
}
// 调用getProxy获取bean对应的proxy
return proxyFactory.getProxy(getProxyClassLoader());
}
```
#### getProxy
```java
public Object getProxy(@Nullable ClassLoader classLoader) {
return createAopProxy().getProxy(classLoader);
}
protected final synchronized AopProxy createAopProxy() {
if (!this.active) {
activate();
}
return getAopProxyFactory().createAopProxy(this);
}
@Override
public AopProxy createAopProxy(AdvisedSupport config) throws AopConfigException {
if (config.isOptimize() || config.isProxyTargetClass() || hasNoUserSuppliedProxyInterfaces(config)) {
Class<?> targetClass = config.getTargetClass();
if (targetClass == null) {
throw new AopConfigException("TargetSource cannot determine target class: " +
"Either an interface or a target is required for proxy creation.");
}
//如果目标类是接口或者是代理类,则直接使用JDK proxy
if (targetClass.isInterface() || Proxy.isProxyClass(targetClass)) {
return new JdkDynamicAopProxy(config);
}//其他情况则使用CGLIB proxy
return new ObjenesisCglibAopProxy(config);
}
else {
return new JdkDynamicAopProxy(config);
}
}
//Object getProxy(@Nullable ClassLoader classLoader);
```
- JdkDynamicAopProxy
```java
@Override
public Object getProxy(@Nullable ClassLoader classLoader) {
if (logger.isTraceEnabled()) {
logger.trace("Creating JDK dynamic proxy: " + this.advised.getTargetSource());
}
Class<?>[] proxiedInterfaces = AopProxyUtils.completeProxiedInterfaces(this.advised, true);
findDefinedEqualsAndHashCodeMethods(proxiedInterfaces);
return Proxy.newProxyInstance(classLoader, proxiedInterfaces, this);
}
```
由于其实现了 `InvocationHandler` 必然会走,invoke
```java
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
Object oldProxy = null;
boolean setProxyContext = false;
TargetSource targetSource = this.advised.targetSource;
Object target = null;
try {
if (!this.equalsDefined && AopUtils.isEqualsMethod(method)) {
return equals(args[0]);
}
else if (!this.hashCodeDefined && AopUtils.isHashCodeMethod(method)) {
return hashCode();
}
else if (method.getDeclaringClass() == DecoratingProxy.class) {
return AopProxyUtils.ultimateTargetClass(this.advised);
}
else if (!this.advised.opaque && method.getDeclaringClass().isInterface() &&
method.getDeclaringClass().isAssignableFrom(Advised.class)) {
return AopUtils.invokeJoinpointUsingReflection(this.advised, method, args);
}
Object retVal;
if (this.advised.exposeProxy) {
oldProxy = AopContext.setCurrentProxy(proxy);
setProxyContext = true;
}
target = targetSource.getTarget();
Class<?> targetClass = (target != null ? target.getClass() : null);
List<Object> chain = this.advised.getInterceptorsAndDynamicInterceptionAdvice(method, targetClass);
if (chain.isEmpty()) {
//我们可以跳过创建MethodInvocation:直接调用目标
//请注意,最终的调用程序必须是InvokerInterceptor,因此我们知道它是这样的
//只在目标上进行反射操作
Object[] argsToUse = AopProxyUtils.adaptArgumentsIfNecessary(method, args);
retVal = AopUtils.invokeJoinpointUsingReflection(target, method, argsToUse);
}
else {
MethodInvocation invocation =
new ReflectiveMethodInvocation(proxy, target, method, args, targetClass, chain);
// 通过拦截器链进入连接点。
retVal = invocation.proceed();
}
Class<?> returnType = method.getReturnType();
if (retVal != null && retVal == target &&
returnType != Object.class && returnType.isInstance(proxy) &&
!RawTargetAccess.class.isAssignableFrom(method.getDeclaringClass())) {
retVal = proxy;
}
else if (retVal == null && returnType != Void.TYPE && returnType.isPrimitive()) {
throw new AopInvocationException(
"Null return value from advice does not match primitive return type for: " + method);
}
return retVal;
}
finally {
if (target != null && !targetSource.isStatic()) {
targetSource.releaseTarget(target);
}
if (setProxyContext) {
AopContext.setCurrentProxy(oldProxy);
}
}
}
public Object proceed() throws Throwable {
if (this.currentInterceptorIndex == this.interceptorsAndDynamicMethodMatchers.size() - 1) {
return invokeJoinpoint();
}
Object interceptorOrInterceptionAdvice =
this.interceptorsAndDynamicMethodMatchers.get(++this.currentInterceptorIndex);
if (interceptorOrInterceptionAdvice instanceof InterceptorAndDynamicMethodMatcher) {
//在这里评估动态方法匹配器:静态部分已经已评估并发现匹配。
InterceptorAndDynamicMethodMatcher dm =
(InterceptorAndDynamicMethodMatcher) interceptorOrInterceptionAdvice;
Class<?> targetClass = (this.targetClass != null ? this.targetClass : this.method.getDeclaringClass());
if (dm.methodMatcher.matches(this.method, targetClass, this.arguments)) {
return dm.interceptor.invoke(this);
}
else {
//动态匹配失败。
//跳过这个拦截器并调用链中的下一个。
return proceed();
}
}
else {
//它是一个拦截器,所以我们调用它:切入点将具有 在构造此对象之前静态求值。
return ((MethodInterceptor) interceptorOrInterceptionAdvice).invoke(this);
}
}
```
依次遍历拦截器链的每个元素,然后调用其实现,将真正调用工作委托给各个增强器
总结:
纵观以上过程可知:实际就是为bean创建一个proxy,JDKproxy或者CGLIBproxy,然后在调用bean的方法时,会通过proxy来调用bean方法
重点过程可分为:
1)将AnnotationAwareAspectJAutoProxyCreator注册到Spring容器中
2)AnnotationAwareAspectJAutoProxyCreator类的postProcessAfterInitialization()方法将所有有advice的bean重新包装成proxy
3)调用bean方法时通过proxy来调用,proxy依次调用增强器的相关方法,来实现方法切

| 35.272206 | 141 | 0.766125 | yue_Hant | 0.854097 |
2eeabb364af34947d42f95a97a852b2a0b8f7ae9 | 21 | md | Markdown | README.md | sam-by-name/Bare-necessities2.0 | 3a492cc604e1fd4bd9f5173b6e22b71b17118863 | [
"MIT"
] | null | null | null | README.md | sam-by-name/Bare-necessities2.0 | 3a492cc604e1fd4bd9f5173b6e22b71b17118863 | [
"MIT"
] | null | null | null | README.md | sam-by-name/Bare-necessities2.0 | 3a492cc604e1fd4bd9f5173b6e22b71b17118863 | [
"MIT"
] | null | null | null | # Bare-necessities2.0 | 21 | 21 | 0.809524 | eng_Latn | 0.579341 |
2eec3eb1eca3ce32a5afe95a86425c4dce1ce1dd | 1,464 | md | Markdown | content/08.hymns-for-the-poor-of-the-flock/02.001-100/02.011-020/03.One-there-is-above-all-others/docs.md | GospelSounders/adventhymnals | d2108ab49d735b373c59901e5296c8819a1ad3f2 | [
"Apache-2.0"
] | null | null | null | content/08.hymns-for-the-poor-of-the-flock/02.001-100/02.011-020/03.One-there-is-above-all-others/docs.md | GospelSounders/adventhymnals | d2108ab49d735b373c59901e5296c8819a1ad3f2 | [
"Apache-2.0"
] | 1 | 2021-05-10T23:24:05.000Z | 2021-05-10T23:24:05.000Z | content/08.hymns-for-the-poor-of-the-flock/02.001-100/02.011-020/03.One-there-is-above-all-others/docs.md | GospelSounders/adventhymnals | d2108ab49d735b373c59901e5296c8819a1ad3f2 | [
"Apache-2.0"
] | null | null | null | ---
title: |
013 One there is above all others. - Hymns for the Poor of the Flock
metadata:
description: |
Hymns for the Poor of the Flock 013. One there is above all others.. One there is, above all others, Well deserves the name of Friend! His is love beyond a brother’s, Costly, free, and knows no end: They who once His kindness prove, Find it everlasting love!
keywords: |
Hymns for the Poor of the Flock, adventhymnals, advent hymnals, One there is above all others., One there is, above all others,,
author: Brian Onang'o
---
#### Advent Hymnals
## 013. One there is above all others.
#### Hymns for the Poor of the Flock
```txt
1. One there is, above all others,
Well deserves the name of Friend!
His is love beyond a brother’s,
Costly, free, and knows no end:
They who once His kindness prove,
Find it everlasting love!
2. Which of all our friends to save us,
Could or would have shed his blood?
But our Jesus died to have us
Reconcil’d in Him to God:
This was boundless love indeed!
Jesus is a Friend in need.
3. When He liv’d on earth abased,
“Friend of Sinners” was His name;
Now above all glory raised,
He rejoices in the same:
Saints He calls His “brethren, friends,”
And to all their wants attends.
4. O! for grace our hearts to soften;
Teach us, Saviour, love for love;
We, alas! forget too often,
What a Friend we have above:
Thus may all Thy saints be taught,
How to love Thee as they ought.
``` | 33.272727 | 270 | 0.71653 | eng_Latn | 0.99969 |
2eed36f9de3de7c4191fde6e28c73f8fe07b43d8 | 3,737 | md | Markdown | vendor/uploadcare/uploadcare-php/changelog.md | infinitypaul/bm | 0a97cc61cd7080e8fd9c7e85853862c251269d25 | [
"MIT"
] | null | null | null | vendor/uploadcare/uploadcare-php/changelog.md | infinitypaul/bm | 0a97cc61cd7080e8fd9c7e85853862c251269d25 | [
"MIT"
] | null | null | null | vendor/uploadcare/uploadcare-php/changelog.md | infinitypaul/bm | 0a97cc61cd7080e8fd9c7e85853862c251269d25 | [
"MIT"
] | null | null | null | # Changelog
## 1.5.5
- bump widget version to 2.9.0 (see [widget changelog][widget changelog])
- add optional "full" argument to Widget->getScriptTag
## 1.5.4
- fix: File in a Group is not loosing default effects (cropping etc.)
## 1.5.3
- bump widget version to 2.8.2 (see [widget changelog][widget changelog])
## 1.5.2
- fix of throttled request exception (thanks to Alexey Scherbakov, https://github.com/lexabug)
- fix of pagination logic
## 1.5.1
- add throttled requests handling
- add customizable User Agent string
- fix upload from url logical bug
- bump widget to 2.5.9 (see [widget changelog][widget changelog])
## 1.5.0
- upgrade server api usage to v0.4, add new style pagination support
- add FileIterator
- change logic of Api->getFileList(): it returns FileIterator object instead of array
and incoming parameters are now grouped in an array
- remove Api->getFilePaginationInfo()
## 1.4.1
- change logic of Api->getGroupList() and Api->__getPath()
- fix [#41](https://github.com/uploadcare/uploadcare-php/issues/41)
- bump widget version to 2.5.1 (see [widget changelog][widget changelog])
## 1.4.0
- use proper authentication instead of simple
- bump widget version to 2.5.0 (see [widget changelog][widget changelog])
## 1.3.4
- add Api->cdn_protocol
- add Api->getCdnUri()
- change default CDN protocol to HTTPS
## 1.3.3
- fix Group->getFiles()
## 1.3.2
- add Uploader->createGroup()
- add Group->updateInfo()
- add Group API tests
## 1.3.1
- fix Group->store()
- bump widget version to 2.3.5 (see [widget changelog][widget changelog])
## 1.3.0
- **IMPORTANT:** backward incompatible changes in widget behavior introduced in 2.0.0, please read
[changelog entry](https://github.com/uploadcare/uploadcare-widget/blob/master/HISTORY.markdown#200-20022015)
carefully
- bump widget version to 2.3.4 (see [widget changelog][widget changelog])
- allow CDN URLs in Group constructor
## 1.2.6
- bump widget version to 1.4.6 (see [widget changelog][widget changelog])
- fix Api->copyFile() when copying to custom storage
- add File->copyTo() shortcut
## 1.2.5
- bump widget version to 1.4.2 (see [widget changelog][widget changelog])
- add AUTHORS.txt
## 1.2.4
- bump widget version to 1.2.0 (see [widget changelog][widget changelog])
## 1.2.3
- be more explicit on cURL errors
## 1.2.2
- fix sample-project composer file
- always write widget's charset
- default to sync widget load
- add optional $async argument to Widget->getScriptTag()
## 1.2.1
- bump widget version to 1.0.1 (see [widget changelog][widget changelog])
## 1.2.0
- bump widget version to 1.0.0 (see [widget changelog][widget changelog])
major feature is reponsive behavior of widget dialog
## 1.1.3
- allow setting custom CDN host
## 1.1.2
- add preview operation
## 1.1.1
- accept CDN URL in File's constructor
- bump widget version to 0.18.3 (see [widget changelog][widget changelog])
## 1.1.0
- drop 5.2 support
- fix composer support
## 1.0.9
This is last uploadcare-php version that will support php 5.2. Expect no features added, only bugs fixed.
- bump widget version to 0.18.1 (see [widget changelog][widget changelog])
## 1.0.8
- fix file copy request
- bump widget version to 0.17.2 (see [widget changelog][widget changelog])
## 1.0.7
- support 'limit' param in Api->getFileList() and Api->getFilePaginationInfo()
## 1.0.6
- deprecate File->file_id, use File->uuid
- fix Api->getFileList()
## 1.0.5
- bump widget version to 0.17.1 (see [widget changelog][widget changelog])
- fix HEAD requests
- allow custom User Agent
- prepopulate File with data on Api->getFileList()
- add Groups API
- add File->copy()
[widget changelog]: https://github.com/uploadcare/uploadcare-widget/blob/master/HISTORY.markdown
| 27.88806 | 110 | 0.722505 | eng_Latn | 0.864614 |
2eed484a0a7deb11c189a91269ae6a3663ac74a0 | 46 | md | Markdown | README.md | dxas90/dxas90.github.io | 98043a061de7cb5d16388db43f33b5bac9c872b5 | [
"MIT"
] | 1 | 2018-05-21T14:58:39.000Z | 2018-05-21T14:58:39.000Z | README.md | dxas90/dxas90.github.io | 98043a061de7cb5d16388db43f33b5bac9c872b5 | [
"MIT"
] | null | null | null | README.md | dxas90/dxas90.github.io | 98043a061de7cb5d16388db43f33b5bac9c872b5 | [
"MIT"
] | null | null | null | [dxas90.github.io] (https://dxas90.github.io)
| 23 | 45 | 0.717391 | zul_Latn | 0.186861 |
2eeea1e5c7c5400da02b99e85c28458ec7736e75 | 677 | markdown | Markdown | docs/gpgs2/isConnected.markdown | agramonte/com.coronalabs-plugin.gpgs.v2 | 38b2a3736c1be72743a8cd235c3eafb4fc8d1fcb | [
"MIT"
] | null | null | null | docs/gpgs2/isConnected.markdown | agramonte/com.coronalabs-plugin.gpgs.v2 | 38b2a3736c1be72743a8cd235c3eafb4fc8d1fcb | [
"MIT"
] | 1 | 2021-09-15T23:07:57.000Z | 2021-09-15T23:07:57.000Z | docs/gpgs2/isConnected.markdown | agramonte/com.coronalabs-plugin.gpgs.v2 | 38b2a3736c1be72743a8cd235c3eafb4fc8d1fcb | [
"MIT"
] | 2 | 2021-08-22T18:36:22.000Z | 2021-09-21T23:27:04.000Z | # gpgs.isConnected()
> --------------------- ------------------------------------------------------------------------------------------
> __Type__ [Function][api.type.Function]
> __Return value__ [Boolean][api.type.Boolean]
> __Revision__ [REVISION_LABEL](REVISION_URL)
> __Keywords__ Google Play Games Services, game network, gpgs
> __See also__ [gpgs2.*][plugin.gpgs2]
> --------------------- ------------------------------------------------------------------------------------------
## Overview
Returns Boolean - `true` if the Google play games services libraries are available.
## Syntax
gpgs.isConnected() | 39.823529 | 115 | 0.432792 | yue_Hant | 0.315366 |
2eef8c1d5277357697547dc0656cbb89482acc3a | 2,337 | md | Markdown | _posts/2021-02-11-izbori-cik2.md | bgschule-doragabe/bgschule-doragabe.github.io | 9934c152da16d973d33b27d228a3d6a0b408c479 | [
"MIT"
] | null | null | null | _posts/2021-02-11-izbori-cik2.md | bgschule-doragabe/bgschule-doragabe.github.io | 9934c152da16d973d33b27d228a3d6a0b408c479 | [
"MIT"
] | null | null | null | _posts/2021-02-11-izbori-cik2.md | bgschule-doragabe/bgschule-doragabe.github.io | 9934c152da16d973d33b27d228a3d6a0b408c479 | [
"MIT"
] | null | null | null | ---
layout: page
header:
image_fullwidth: "dg_logo_grl.png"
title: "ИЗБОРИ ЗА НАРОДНО СЪБРАНИЕ 2021"
teaser: "Информационно съобщение на Генерално консулство на Република България в Мюнхен"
image:
thumb: "gerb.png"
---
<div class="row b30" >
<div class="medium-2 columns t30">
<img class="b90" src="{{ site.urlimg }}gerb.png" alt="">
</div>
<div class="medium-10 columns t30">
Информационно сообщение на Генерално консулство на Република България Мюнхен oтносно предстоящите избори на 4 април 2021 г. за Народно събрание в Република България ще намерите <a href="/content/gkpp_bg_20210212.pdf" target="_blank">тук </a>.
</div>
</div>
Българските граждани, които са навършили 18 години, не са поставени под запрещение и не изтърпяват наказание лишаване от свобода и желаят да упражнят правото си на глас извън страната в изборите за народни представители на 4 април 2021 г., заявяват своето желание чрез подаване на заявление за гласуване извън страната по един от следните два начина:
- в писмена форма пред дипломатическото или консулско представителство на Република България в съответната държава. Това става чрез писмено заявление по образец, утвърдено от Централната избирателна комисия не по-късно от 25 дни преди изборния ден, подписано саморъчно и подадено лично, или чрез писмо до съответното дипломатическо или консулско представителство на Република България;
- чрез <a href="https://www.cik.bg/bg/ns2021/izvan-stranata/submit" target="_blank">електронно заявление</a> през интернет страницата на Централната избирателна комисия.
В случай че не са подали заявление за гласуване извън страната по горепосочените начини, българските граждани, които желаят да гласуват извън страната, в деня на изборите могат да направят това в удобно за тях място и изборна секция извън страната, като попълнят декларация пред СИК по образец.
Българските граждани, които са подали заявление за гласуване извън страната по посочените начини, в случай че за съответното място бъде разкрита секция за гласуване извън страната, служебно ще бъдат заличени от избирателния списък в страната и не е необходимо да предприемат други действия.
Информацията е копирана от <a href="https://www.cik.bg/bg/ns2021/izvan-stranata/info" target="_blank">https://www.cik.bg/bg/ns2021/izvan-stranata/info</a> | 68.735294 | 385 | 0.783055 | bul_Cyrl | 0.999734 |
2ef0a83b931678be8dca5c63e7c938f1bc68f3d2 | 3,395 | md | Markdown | docs/c-language/limits-on-floating-point-constants.md | Mdlglobal-atlassian-net/cpp-docs.it-it | c8edd4e9238d24b047d2b59a86e2a540f371bd93 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/c-language/limits-on-floating-point-constants.md | Mdlglobal-atlassian-net/cpp-docs.it-it | c8edd4e9238d24b047d2b59a86e2a540f371bd93 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/c-language/limits-on-floating-point-constants.md | Mdlglobal-atlassian-net/cpp-docs.it-it | c8edd4e9238d24b047d2b59a86e2a540f371bd93 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2020-05-28T15:54:57.000Z | 2020-05-28T15:54:57.000Z | ---
title: Limiti sulle costanti a virgola mobile
ms.date: 11/04/2016
helpviewer_keywords:
- ranges, floating-point constants
- floating-point constants, limits
- FLOAT.H header file
- constants, floating-point
- limits, floating-point constants
- floating-point numbers, floating limits
ms.assetid: 2d975868-2af6-45d7-a8af-db79f2c6b67b
ms.openlocfilehash: df39ee719a4474f6dfd55d31a2848169a1168390
ms.sourcegitcommit: 0ab61bc3d2b6cfbd52a16c6ab2b97a8ea1864f12
ms.translationtype: MT
ms.contentlocale: it-IT
ms.lasthandoff: 04/23/2019
ms.locfileid: "62325585"
---
# <a name="limits-on-floating-point-constants"></a>Limiti sulle costanti a virgola mobile
**Specifico di Microsoft**
I limiti sui valori delle costanti a virgola mobile sono indicati nella tabella seguente. Queste informazioni sono contenute nel file di intestazione FLOAT.H.
### <a name="limits-on-floating-point-constants"></a>Limiti sulle costanti a virgola mobile
|Costante|Significato|valore|
|--------------|-------------|-----------|
|**FLT_DIG**<br />**DBL_DIG**<br />**LDBL_DIG**|Numero di cifre, *q*, in modo che un numero a virgola mobile con *q* cifre decimali possa essere arrotondato in una rappresentazione a virgola mobile e viceversa senza perdita di precisione.|6<br />15<br />15|
|**FLT_EPSILON**<br />**DBL_EPSILON**<br />**LDBL_EPSILON**|Minor numero positivo *x* tale che *x* + 1 non sia uguale a 1|1.192092896e-07F<br />2.2204460492503131e-016<br />2.2204460492503131e-016|
|**FLT_GUARD**||0|
|**FLT_MANT_DIG**<br />**DBL_MANT_DIG**<br />**LDBL_MANT_DIG**|Numero di cifre nella radice specificato da **FLT_RADIX** nel significando a virgola mobile. La base è 2, pertanto questi valori specificano i bit.|24<br />53<br />53|
|**FLT_MAX**<br />**DBL_MAX**<br />**LDBL_MAX**|Massimo numero a virgola mobile rappresentabile.|3.402823466e+38F<br />1,7976931348623158e+308<br />1,7976931348623158e+308|
|**FLT_MAX_10_EXP**<br />**DBL_MAX_10_EXP**<br />**LDBL_MAX_10_EXP**|Massimo numero intero tale che 10 elevato a tale numero sia un numero a virgola mobile rappresentabile.|38<br />308<br />308|
|**FLT_MAX_EXP**<br />**DBL_MAX_EXP**<br />**LDBL_MAX_EXP**|Massimo numero intero tale che **FLT_RADIX** elevato a tale numero sia un numero a virgola mobile rappresentabile.|128<br />1024<br />1024|
|**FLT_MIN**<br />**DBL_MIN**<br />**LDBL_MIN**|Valore positivo minimo.|1.175494351e-38F<br />2,2250738585072014e-308<br />2,2250738585072014e-308|
|**FLT_MIN_10_EXP**<br />**DBL_MIN_10_EXP**<br />**LDBL_MIN_10_EXP**|Minimo numero negativo tale che 10 elevato a tale numero sia un numero a virgola mobile rappresentabile.|-37<br />-307<br />-307|
|**FLT_MIN_EXP**<br />**DBL_MIN_EXP**<br />**LDBL_MIN_EXP**|Minimo numero negativo tale che **FLT_RADIX** elevato a tale numero sia un numero a virgola mobile rappresentabile.|-125<br />-1021<br />-1021|
|**FLT_NORMALIZE**||0|
|**FLT_RADIX**<br />**_DBL_RADIX**<br />**_LDBL_RADIX**|Base della rappresentazione dell'esponente.|2<br />2<br />2|
|**FLT_ROUNDS**<br />**_DBL_ROUNDS**<br />**_LDBL_ROUNDS**|Modalità di arrotondamento per l'addizione a virgola mobile.|1 (vicino)<br />1 (vicino)<br />1 (vicino)|
Si noti che le informazioni contenute nella tabella precedente possono variare nelle implementazioni future.
**TERMINA specifica Microsoft**
## <a name="see-also"></a>Vedere anche
[Costanti C a virgola mobile](../c-language/c-floating-point-constants.md)
| 67.9 | 257 | 0.738733 | ita_Latn | 0.799658 |
2ef1d10755be5a223f962e6b753de64d451b62b5 | 17,614 | md | Markdown | articles/app-service/webjobs-dotnet-deploy-vs.md | changeworld/azure-docs.tr-tr | a6c8b9b00fe259a254abfb8f11ade124cd233fcb | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/app-service/webjobs-dotnet-deploy-vs.md | changeworld/azure-docs.tr-tr | a6c8b9b00fe259a254abfb8f11ade124cd233fcb | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/app-service/webjobs-dotnet-deploy-vs.md | changeworld/azure-docs.tr-tr | a6c8b9b00fe259a254abfb8f11ade124cd233fcb | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: VS'yi kullanarak Web İşlergeliştirme ve dağıtma
description: Visual Studio'da Azure Web İşlerini nasıl geliştirip, zamanlanmış bir görev oluşturmak da dahil olmak üzere Azure Uygulama Hizmetine nasıl dağıtılamayı öğrenin.
author: ggailey777
ms.assetid: a3a9d320-1201-4ac8-9398-b4c9535ba755
ms.topic: conceptual
ms.custom: vs-azure
ms.date: 02/18/2019
ms.author: glenga
ms.reviewer: david.ebbo;suwatch;pbatum;naren.soni
ms.openlocfilehash: 75e1f5fbfa41ac310d2a737dcfe28199715a094b
ms.sourcegitcommit: 7e04a51363de29322de08d2c5024d97506937a60
ms.translationtype: MT
ms.contentlocale: tr-TR
ms.lasthandoff: 04/14/2020
ms.locfileid: "81312872"
---
# <a name="develop-and-deploy-webjobs-using-visual-studio---azure-app-service"></a>Visual Studio'yu kullanarak Web İşleri geliştirme ve dağıtma - Azure App Service
Bu makalede, Bir Konsol Uygulaması projesini [Uygulama Hizmeti'ndeki](overview.md) bir web uygulamasına [Azure WebJob](https://go.microsoft.com/fwlink/?LinkId=390226)olarak dağıtmak için Visual Studio'nun nasıl kullanılacağı açıklanmaktadır. [Azure portalını](https://portal.azure.com)kullanarak Web İşlerin nasıl dağıtılanabildiğini öğrenmek için [Bkz. Web İşleri ile Arka Plan görevlerini Çalıştır.](webjobs-create.md)
Tek bir web uygulamasında birden çok Web İş Ii yayımlayabilirsiniz. Bir web uygulamasındaki her WebJob'un benzersiz bir adı olduğundan emin olun.
[Azure Web İşleri SDK](webjobs-sdk-how-to.md) sürümü 3.x, .NET Core uygulamaları veya .NET Framework uygulamaları olarak çalışan Webİşler geliştirmenize olanak sağlarken, sürüm 2.x yalnızca .NET Framework'ü destekler. Bir Webİşler projesini dağıtma şekliniz .NET Core projeleri ile .NET Framework projeleri için farklıdır.
## <a name="webjobs-as-net-core-console-apps"></a>.NET Core konsol uygulamaları olarak WebJobs
Webİşler'in sürüm 3.x'ini kullanırken, WebJobs'u .NET Core konsol uygulamaları olarak oluşturabilir ve yayımlayabilirsiniz. Bir .NET Core konsol uygulaması oluşturmak ve Bir WebJob olarak Azure'da yayımlamak için adım adım talimatlar için, [etkinlik odaklı arka plan işleme için Azure Web İşlerI SDK'sını başlatın'a](webjobs-sdk-get-started.md)bakın.
> [!NOTE]
> .NET Core WebJobs web projeleri ile bağlantılı olamaz. WebJob'unuzu bir web uygulamasıyla dağıtmanız gerekiyorsa, [WebJob'unuzu bir .NET Framework konsol uyrağı uygulaması olarak oluşturmanız](#webjobs-as-net-framework-console-apps)gerekir.
### <a name="deploy-to-azure-app-service"></a>Azure App Service’e dağıtma
Visual Studio'dan .NET Core WebJob'u Uygulama Hizmetine yayımlamak, ASP.NET Core uygulamasını yayınlamakla aynı aracı kullanır.
[!INCLUDE [webjobs-publish-net-core](../../includes/webjobs-publish-net-core.md)]
### <a name="webjob-types"></a>WebJob türleri
Varsayılan olarak, bir .NET Core konsol projesinden yayınlanan bir WebJob yalnızca tetiklendiğinde veya isteğe bağlı olarak çalışır. Ayrıca, projeyi [bir zamanlamada çalışacak](#scheduled-execution) veya sürekli çalışacak şekilde de güncelleştirebilirsiniz.
[!INCLUDE [webjobs-alwayson-note](../../includes/webjobs-always-on-note.md)]
#### <a name="scheduled-execution"></a>Zamanlanmış yürütme
Azure'da bir .NET Core konsol uygulaması yayımladığınızda, projeye yeni bir *settings.job* dosyası eklenir. Webİş'iniz için bir yürütme çizelgesi ayarlamak için bu dosyayı kullanın. Daha fazla bilgi için, [tetikleyici bir WebJob zamanlama'ya](#scheduling-a-triggered-webjob)bakın.
#### <a name="continuous-execution"></a>Sürekli yürütme
Azure'da Her Zaman Etkinleştirildiğinde WebJob'u sürekli olarak çalıştırmak için Visual Studio'yu kullanabilirsiniz.
1. Henüz yapmadıysanız, [projeyi Azure'da yayımlayın.](#deploy-to-azure-app-service)
1. **Çözüm Gezgini**'nde projeye sağ tıklayın ve **Yayımla**'yı seçin.
1. **Yayımla** sekmesinde **Ayarlar'ı**seçin.
1. Profil **Ayarları** iletişim kutusunda, **Webİş Türü**için **Sürekli'yi** seçin ve **Kaydet'i**seçin.

1. WebJob'u güncelleştirilmiş ayarlarla yeniden yayımlamak için **Yayımla'yı** seçin.
## <a name="webjobs-as-net-framework-console-apps"></a>.NET Framework konsol uyrağı uygulamaları olarak WebJobs
Visual Studio WebJobs özellikli bir .NET Framework Console Application projesini dağıttığında, çalışma zamanı dosyalarını web uygulamasındaki uygun klasöre kopyalar (sürekli Web İşler için*App_Data/işler/sürekli* ve zamanlanmış veya isteğe bağlı Webİşler için *App_Data/işler/tetiklenir).*
Web İşler etkinleştirilmiş bir projede aşağıdaki öğeler eklenir:
* [Microsoft.Web.WebJobs.Publish](https://www.nuget.org/packages/Microsoft.Web.WebJobs.Publish/) NuGet paketi.
* Dağıtım ve zamanlayıcı ayarlarını içeren [bir webjob-publish-settings.json](#publishsettings) dosyası.

Bu öğeleri varolan bir Konsol Uygulaması projesine ekleyebilir veya yeni bir Web İşler etkin leştirilmiş Konsol Uygulaması projesi oluşturmak için şablon kullanabilirsiniz.
Bir projeyi kendi başına WebJob olarak dağıtabilir veya web projesini dağıttığınızda otomatik olarak dağıtacak şekilde bir web projesine bağlayabilirsiniz. Visual Studio projeleri bağlamak için web [projesindeki web işleri listesi.json](#webjobslist) dosyasında Webİşler etkinleştirilmiş projenin adını içerir.

### <a name="prerequisites"></a>Ön koşullar
Visual Studio 2015 kullanıyorsanız, [.NET (Visual Studio 2015) için Azure SDK'yı](https://azure.microsoft.com/downloads/)yükleyin.
Visual Studio 2017 kullanıyorsanız, [Azure geliştirme iş yükünü](https://docs.microsoft.com/visualstudio/install/install-visual-studio#step-4---choose-workloads)yükleyin.
### <a name="enable-webjobs-deployment-for-an-existing-console-application-project"></a><a id="convert"></a>Varolan bir Konsol Uygulaması projesi için Webİşler dağıtımını etkinleştirme
İki seçeneğiniz vardır:
* [Bir web projesi yle otomatik dağıtımı etkinleştirin.](#convertlink)
Bir web projesi dağıtırken otomatik olarak WebJob olarak dağıtılabilen varolan bir Konsol Uygulaması projesini yapılandırın. WebJob'unuzu ilgili web uygulamasını çalıştırdığınız aynı web uygulamasında çalıştırmak istediğinizde bu seçeneği kullanın.
* [Bir web projesi olmadan dağıtımı etkinleştirin.](#convertnolink)
Varolan bir Konsol Uygulaması projesini, bir web projesine bağlantı olmadan tek başına bir WebJob olarak dağıtacak şekilde yapılandırın. Web uygulamasında hiçbir web uygulaması çalışmadan, bir web uygulamasında tek başına bir WebJob çalıştırmak istediğinizde bu seçeneği kullanın. Webİş kaynaklarınızı web uygulama kaynaklarınızdan bağımsız olarak ölçeklendirebilmek için bunu yapmak isteyebilirsiniz.
#### <a name="enable-automatic-webjobs-deployment-with-a-web-project"></a><a id="convertlink"></a>Bir web projesiyle otomatik Web İşler dağıtımını etkinleştirme
1. **Solution Explorer'da**web projesini sağ tıklatın ve ardından**Azure WebJob olarak Varolan Proje ekle'yi** **Add** > tıklatın.

[Azure Webİş Ekle](#configure) iletişim kutusu görüntülenir.
2. Proje **adı** açılır listesinde, WebJob olarak eklemek üzere Konsol Uygulaması projesini seçin.

3. Azure [Webİş Ekle](#configure) iletişim kutusunu doldurun ve **ardından Tamam'ı**tıklatın.
#### <a name="enable-webjobs-deployment-without-a-web-project"></a><a id="convertnolink"></a>Web Projesi olmadan Webİşler dağıtımını etkinleştirme
1. **Çözüm Gezgini'nde**Konsol Uygulaması projesini sağ tıklatın ve ardından **Azure Webİş olarak yayımla'yı tıklatın...**.

Proje **ad** kutusunda seçili olan [Azure Webİş](#configure) ekle iletişim kutusu görüntülenir.
2. Azure [Webİş Ekle](#configure) iletişim kutusunu doldurun ve **ardından Tamam'ı**tıklatın.
**Web Yayımla** sihirbazı görüntülenir. Hemen yayımlamak istemiyorsanız sihirbazı kapatın. Girdiğiniz [ayarlar, projeyi dağıtmak](#deploy)istediğinizde kaydedilir.
### <a name="create-a-new-webjobs-enabled-project"></a><a id="create"></a>Web İşler etkinleştirilmiş yeni bir proje oluşturma
Yeni bir Web İşler etkinleştirilmiş proje oluşturmak için Konsol Uygulaması proje şablonunu kullanabilir ve [önceki bölümde](#convert)açıklandığı gibi Web İşler dağıtımını etkinleştirebilirsiniz. Alternatif olarak, Webİşler yeni proje şablonu kullanabilirsiniz:
* [Bağımsız bir WebJob için Webİşler yeni proje şablonundan yararlanma](#createnolink)
Bir proje oluşturun ve bir web projesine bağlantısı olmadan tek başına bir WebJob olarak dağıtılmak üzere yapılandırın. Web uygulamasında hiçbir web uygulaması çalışmadan, bir web uygulamasında tek başına bir WebJob çalıştırmak istediğinizde bu seçeneği kullanın. Webİş kaynaklarınızı web uygulama kaynaklarınızdan bağımsız olarak ölçeklendirebilmek için bunu yapmak isteyebilirsiniz.
* [Web projesine bağlı bir WebJob için Webİşler yeni proje şablonunu kullanma](#createlink)
Aynı çözümdeki bir web projesi dağıtıldığında, web işi olarak otomatik olarak dağıtılmak üzere yapılandırılan bir proje oluşturun. WebJob'unuzu ilgili web uygulamasını çalıştırdığınız aynı web uygulamasında çalıştırmak istediğinizde bu seçeneği kullanın.
> [!NOTE]
> WebJobs yeni proje şablonu NuGet paketlerini otomatik olarak yükler ve [Webİşler SDK](https://www.asp.net/aspnet/overview/developing-apps-with-windows-azure/getting-started-with-windows-azure-webjobs)için *Program.cs* kod içerir. WebJobs SDK'yı kullanmak istemiyorsanız, Program.cs ifadesini `host.RunAndBlock` kaldırın veya değiştirin. *Program.cs*
>
>
#### <a name="use-the-webjobs-new-project-template-for-an-independent-webjob"></a><a id="createnolink"></a>Bağımsız bir WebJob için Webİşler yeni proje şablonundan yararlanma
1. **Yeni Proje** **Dosyası'nı** > tıklatın ve ardından Yeni **Proje** iletişim kutusunda **Cloud** > **Azure WebJob'u (.NET Framework)** tıklatın.

2. Konsol Uygulaması projesini [bağımsız bir Webİşler projesi yapmak](#convertnolink)için daha önce gösterilen yönergeleri izleyin.
#### <a name="use-the-webjobs-new-project-template-for-a-webjob-linked-to-a-web-project"></a><a id="createlink"></a>Web projesine bağlı bir WebJob için Webİşler yeni proje şablonunu kullanma
1. **Solution Explorer'daki**web projesine sağ tıklayın ve ardından**Yeni Azure Webİş Projesi** **Ekle'yi** > tıklatın.

[Azure Webİş Ekle](#configure) iletişim kutusu görüntülenir.
2. Azure [Webİş Ekle](#configure) iletişim kutusunu doldurun ve **ardından Tamam'ı**tıklatın.
### <a name="the-add-azure-webjob-dialog"></a><a id="configure"></a>Azure Webİş Ekle iletişim kutusu
**Azure Webİş Ekle** iletişim kutusu, WebJob adını girmenizi ve WebJob'unuzun modu ayarını çalıştırmanızı sağlar.

Bu iletişim kutusundaki alanlar, Azure portalının **Webİş Ekle** iletişim kutusundaki alanlara karşılık gelir. Daha fazla bilgi için Bkz. [Web İşleri ile Arka Plan görevlerini Çalıştır.](webjobs-create.md)
> [!NOTE]
> * Komut satırı dağıtımı hakkında bilgi için bkz: [Komut Satırı Etkinleştirme veya Azure Web İşlerinin Sürekli Teslimi.](https://azure.microsoft.com/blog/2014/08/18/enabling-command-line-or-continuous-delivery-of-azure-webjobs/)
> * Bir WebJob dağıtıyor ve ardından Webİş türünü değiştirmek ve yeniden dağıtmak istediğinize karar verirseniz, *web işleri-publish-settings.json* dosyasını silmeniz gerekir. Bu, Visual Studio'nun yayımlama seçeneklerini yeniden göstermesini sağlayacaktır, böylece WebJob türünü değiştirebilirsiniz.
> * Bir WebJob dağıtır ve daha sonra çalışma modunu sürekliden sürekli veya tam tersi olarak değiştirirseniz, Visual Studio yeniden dağıttığınızda Azure'da yeni bir WebJob oluşturur. Diğer zamanlama ayarlarını değiştirir, ancak çalışma modunu aynı bırakır veya Zamanlanmış ve İsteğe Bağlı arasında geçiş ayarlarsanız, Visual Studio yeni bir iş oluşturmak yerine varolan işi güncelleştirir.
>
>
### <a name="webjob-publish-settingsjson"></a><a id="publishsettings"></a>webjob-publish-settings.json
Web İşler dağıtımı için bir Konsol Uygulaması yapılandırdığınızda, Visual Studio [Microsoft.Web.WebJobs.Publish](https://www.nuget.org/packages/Microsoft.Web.WebJobs.Publish/) NuGet paketini yükler ve zamanlama bilgilerini Webİşler projesinin proje *Özellikleri* klasöründe bir *webiş yayımlama-settings.json* dosyasında saklar. İşte bu dosyanın bir örneği:
{
"$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json",
"webJobName": "WebJob1",
"startTime": "null",
"endTime": "null",
"jobRecurrenceFrequency": "null",
"interval": null,
"runMode": "Continuous"
}
Bu dosyayı doğrudan edinebilirsiniz ve Visual Studio IntelliSense sağlar. Dosya şeması depolanır [https://schemastore.org](https://schemastore.org/schemas/json/webjob-publish-settings.json) ve orada görüntülenebilir.
### <a name="webjobs-listjson"></a><a id="webjobslist"></a>webjobs-list.json
Web İşler etkinleştirilmiş bir projeyi bir web projesine bağladiğinizde, Visual Studio WebJobs projesinin adını *web işi listesi.json* dosyasında web projesinin *Özellikleri* klasöründe depolar. Liste, aşağıdaki örnekte gösterildiği gibi birden çok Web İşler i
{
"$schema": "http://schemastore.org/schemas/json/webjobs-list.json",
"WebJobs": [
{
"filePath": "../ConsoleApplication1/ConsoleApplication1.csproj"
},
{
"filePath": "../WebJob1/WebJob1.csproj"
}
]
}
Bu dosyayı doğrudan edinebilirsiniz ve Visual Studio IntelliSense sağlar. Dosya şeması depolanır [https://schemastore.org](https://schemastore.org/schemas/json/webjobs-list.json) ve orada görüntülenebilir.
### <a name="deploy-a-webjobs-project"></a><a id="deploy"></a>Web İşler projesini dağıtma
Bir web projesine bağlandığınız bir Webİşler projesi, web projesiyle otomatik olarak dağıtılır. Web projesi dağıtımı hakkında daha fazla bilgi için, sol navigasyonda**uygulama** dağıtma **kılavuzuna** > bakın.
Bir Webİşler projesini tek başına dağıtmak için **Solution Explorer'da** projeyi sağ tıklatın ve **Azure Webİş olarak yayımla'yı tıklatın...**.

Bağımsız bir WebJob için, web projeleri için kullanılan aynı **Web Yayımlama** sihirbazı görüntülenir, ancak daha az ayar değiştirilebilir.
## <a name="scheduling-a-triggered-webjob"></a>Tetiklenen Web İşi zamanlama
WebJobs, Bir WebJob'un ne zaman çalıştırılırken belirlemek için *bir settings.job* dosyasını kullanır. Webİş'iniz için bir yürütme çizelgesi ayarlamak için bu dosyayı kullanın. Aşağıdaki örnek, her saat 09:00-17:00 saatleri arasında çalışır:
```json
{
"schedule": "0 0 9-17 * * *"
}
```
Bu dosya, Webİş klasörünün kökünde, Webİş'inizin komut dosyasıyla `wwwroot\app_data\jobs\triggered\{job name}` birlikte `wwwroot\app_data\jobs\continuous\{job name}`veya . Visual Studio'dan bir WebJob dağıtırken, dosya özelliklerinizi `settings.job` daha **yeniyse Kopya**olarak işaretleyin.
Azure [portalından bir WebJob](webjobs-create.md)oluşturduğunuzda, settings.job dosyası sizin için oluşturulur.
[!INCLUDE [webjobs-alwayson-note](../../includes/webjobs-always-on-note.md)]
### <a name="cron-expressions"></a>CRON ifadeleri
WebJobs, Azure İşlevleri'nde zamanlayıcı tetikleyicisi olarak zamanlama için aynı CRON ifadelerini kullanır. CRON desteği hakkında daha fazla bilgi edinmek için [zamanlayıcı tetikleyici başvuru makalesine](../azure-functions/functions-bindings-timer.md#ncrontab-expressions)bakın.
[!INCLUDE [webjobs-cron-timezone-note](../../includes/webjobs-cron-timezone-note.md)]
### <a name="settingsjob-reference"></a>settings.job reference
Aşağıdaki ayarlar Webİşler tarafından desteklenir:
| **Ayar** | **Tür** | **Açıklama** |
| ----------- | --------- | --------------- |
| `is_in_place` | Tümü | İlk olarak geçici bir klasöre kopyalanmadan işin yerinde çalışmasını sağlar. Daha fazla bilgi edinmek için [Webİşler çalışma dizinine](https://github.com/projectkudu/kudu/wiki/WebJobs#webjob-working-directory)bakın. |
| `is_singleton` | Sürekli | Webİşler'i yalnızca ölçeklendirildiğinde tek bir örnekte çalıştırın. Daha fazla bilgi için bkz: [Singleton olarak sürekli bir iş ayarla.](https://github.com/projectkudu/kudu/wiki/WebJobs-API#set-a-continuous-job-as-singleton) |
| `schedule` | Tetik -lenen | WebJob'u CRON tabanlı bir zamanlamayla çalıştırın. Daha fazla bilgi için [zamanlayıcı tetikleyici başvuru makalesine](../azure-functions/functions-bindings-timer.md#ncrontab-expressions)bakın. |
| `stopping_wait_time`| Tümü | Kapatma davranışının denetimini sağlar. Daha fazla bilgi [için, Bkz. Zarif kapatma.](https://github.com/projectkudu/kudu/wiki/WebJobs#graceful-shutdown) |
## <a name="next-steps"></a>Sonraki adımlar
> [!div class="nextstepaction"]
> [WebJobs SDK hakkında daha fazla bilgi edinin](webjobs-sdk-how-to.md)
| 72.485597 | 420 | 0.780743 | tur_Latn | 0.999354 |
2ef2f11701df151c0178d3bc54e495cef59bc5ac | 27 | md | Markdown | README.md | htmlyrics/chord | 412071c6893e7e9f5ff1de8d6510bcbff4f648a6 | [
"MIT"
] | null | null | null | README.md | htmlyrics/chord | 412071c6893e7e9f5ff1de8d6510bcbff4f648a6 | [
"MIT"
] | null | null | null | README.md | htmlyrics/chord | 412071c6893e7e9f5ff1de8d6510bcbff4f648a6 | [
"MIT"
] | null | null | null | # HTMLyrics
## Chord page
| 6.75 | 13 | 0.666667 | eng_Latn | 0.708661 |
2ef3f7934f7e6b08d99fb87ef6a3f59711d2d314 | 59 | md | Markdown | README.md | harshulvijay/beautiful-code-snippets | ae6ae518aa6adcca511343021bfbdefff6dedce1 | [
"MIT"
] | null | null | null | README.md | harshulvijay/beautiful-code-snippets | ae6ae518aa6adcca511343021bfbdefff6dedce1 | [
"MIT"
] | 3 | 2021-03-10T18:10:01.000Z | 2021-03-13T18:51:22.000Z | README.md | harshulvijay/beautiful-code-snippets | ae6ae518aa6adcca511343021bfbdefff6dedce1 | [
"MIT"
] | null | null | null | # beautiful-code-snippets
There's nothing here... *yet* 👀
| 14.75 | 31 | 0.694915 | eng_Latn | 0.742069 |
2ef3f9e88f09bd43c28b445561ac5c1f7dffe947 | 1,723 | md | Markdown | README.md | Jason-Adam/news-nlp | bd6c2881cce66befce093bcdcaa3428d723c8d7a | [
"Unlicense"
] | null | null | null | README.md | Jason-Adam/news-nlp | bd6c2881cce66befce093bcdcaa3428d723c8d7a | [
"Unlicense"
] | null | null | null | README.md | Jason-Adam/news-nlp | bd6c2881cce66befce093bcdcaa3428d723c8d7a | [
"Unlicense"
] | null | null | null | # News NLP
This repo is for an NLP project around document classification, unsupervised clustering, and topic modeling.
## Data
The data used for the analyses was downloaded from: (https://www.kaggle.com/snapcrack/all-the-news)
This project assumes there is a `data` folder in the root of the project tree. The folder is added to the `.gitignore` file to avoid big files being checked into version control. Download the zip file into the `data` folder and unzip with the following command:
```bash
unzip downloaded_data.zip
```
## Further Setup
For the [topic modeling notebook](topic_modeling.ipynb), you need to download the `Mallet` model. Assuming you're in the root directory of the project, you can perform the necessary steps as follows:
```bash
cd data
wget http://mallet.cs.umass.edu/dist/mallet-2.0.8.zip
unzip mallet-2.0.8.zip
```
The code utilizing the `Mallet` model should now function properly.
## Document Classification
The [first notebook](doc_classification) creates the dataset and applies the following techniques:
1. Count Vectorization
2. TF-IDF
3. Doc2Vec Embeddings
Each of the resulting vectorized representations of the documents are then used as inputs to a Random Forest classification model to predict the publication source of the article.
## Document Clustering
The [second notebook](doc_clustering.ipynb) utilizes unsupervised clustering techniques on the corpus along with visualizations.
1. t-SNE
2. K-Means
3. Hierarchical Clustering
## Topic Modeling
The [third notebook](topic_modeling.ipynb) takes a sample of the original dataset and performs topic modeling utilizing the Latent Dirichlet Allocation (LDA) algorithm.
| 43.075 | 263 | 0.766686 | eng_Latn | 0.989072 |
2ef40f52b24af866882a1cc3521b6b7bb8b324dc | 76 | md | Markdown | README.md | mkatrenik/typed-react-starter | 72fccce0beea2299eea437510f6982e1c7230a09 | [
"MIT"
] | 2 | 2015-05-14T08:28:31.000Z | 2015-12-12T17:58:34.000Z | README.md | mkatrenik/typed-react-starter | 72fccce0beea2299eea437510f6982e1c7230a09 | [
"MIT"
] | null | null | null | README.md | mkatrenik/typed-react-starter | 72fccce0beea2299eea437510f6982e1c7230a09 | [
"MIT"
] | null | null | null | # typed-react-starter
reactjs, typescript, webpack
```bash
npm run dev
```
| 10.857143 | 28 | 0.710526 | eng_Latn | 0.512879 |
2ef42605cda46c34e3204a3225ceebfe1c532a62 | 1,649 | md | Markdown | website/docs/components/processors/metadata.md | PleXone2019/benthos | 202c1a05c940ca39941218843e2aac53827834b8 | [
"MIT"
] | null | null | null | website/docs/components/processors/metadata.md | PleXone2019/benthos | 202c1a05c940ca39941218843e2aac53827834b8 | [
"MIT"
] | null | null | null | website/docs/components/processors/metadata.md | PleXone2019/benthos | 202c1a05c940ca39941218843e2aac53827834b8 | [
"MIT"
] | null | null | null | ---
title: metadata
type: processor
---
<!--
THIS FILE IS AUTOGENERATED!
To make changes please edit the contents of:
lib/processor/metadata.go
-->
```yaml
metadata:
key: example
operator: set
parts: []
value: ${!hostname}
```
Performs operations on the metadata of a message. Metadata are key/value pairs
that are associated with message parts of a batch. Metadata values can be
referred to using configuration
[interpolation functions](/docs/configuration/interpolation#metadata),
which allow you to set fields in certain outputs using these dynamic values.
This processor will interpolate functions within both the
`key` and `value` fields, you can find a list of functions
[here](/docs/configuration/interpolation#functions). This allows you to set the
contents of a metadata field using values taken from the message payload.
Value interpolations are resolved once per batch. In order to resolve them per
message of a batch place it within a [`for_each`](/docs/components/processors/for_each)
processor:
``` yaml
for_each:
- metadata:
operator: set
key: foo
value: ${!json_field:document.foo}
```
### Operators
#### `set`
Sets the value of a metadata key.
#### `delete`
Removes all metadata values from the message where the key matches the value
provided. If the value field is left empty the key value will instead be used.
#### `delete_all`
Removes all metadata values from the message.
#### `delete_prefix`
Removes all metadata values from the message where the key is prefixed with the
value provided. If the value field is left empty the key value will instead be
used as the prefix.
| 24.61194 | 87 | 0.747726 | eng_Latn | 0.992419 |
2ef47e34668d143f41da1fc46feed69e47e9c996 | 2,229 | md | Markdown | content/blog/2019/04/24-science/index.md | strykeforce/strykeforce.org | 615a19892d80813ae4fde595d5322f97800d14c2 | [
"MIT"
] | null | null | null | content/blog/2019/04/24-science/index.md | strykeforce/strykeforce.org | 615a19892d80813ae4fde595d5322f97800d14c2 | [
"MIT"
] | 9 | 2019-03-06T18:55:46.000Z | 2021-01-15T15:49:55.000Z | content/blog/2019/04/24-science/index.md | strykeforce/strykeforce.org | 615a19892d80813ae4fde595d5322f97800d14c2 | [
"MIT"
] | 1 | 2019-10-10T22:30:58.000Z | 2019-10-10T22:30:58.000Z | ---
title: Stryke Force Students Compete in Science Olympiad
date: 2019-04-24T14:24:50Z
images:
- blog/2019/04/24-science/cover.jpg
description: A few weeks ago, four Stryke Force students competed in a Regional Science Olympiad Tournament.
author: Zach Z.
draft: false
---
A few weeks ago, four Stryke Force students competed in a Regional Science Olympiad Tournament. Science Olympiad is a Nationwide scholastic program where team members compete against other teams in 23 events from written exam events like anatomy and physiology, to
hands-on events like circuit lab, as well as engineering build events. Since Stryke Force is a community team, many of us attend different schools, or are homeschooled. Some of us competed against each other, creating an exciting competition. Throughout the preparations for this season, we had many events to work on prior to the regional tournament. A few of the events that the Stryke Force students competed in involved engineering devices that are capable of performing given tasks. There is no doubt that the vast amount of knowledge gained from robotics helped us excel in these events. In fact, all four engineering events were won by Stryke Force students either from Portage Central or Portage Northern.
<!--more-->
The engineering events that we spent a significant amount of time on were Mission Possible (a chain reaction machine), Wright Stuff (a balsa wood airplane powered by a rubber band that flew for 2 minutes and 52 seconds, which is a whole minute longer than the second place team), a mousetrap vehicle that travels in two directions, and Boomilever (a lightweight wooden structure) that held over 1000 times its own weight. Both the mission possible device and mousetrap vehicle were designed in CAD, and were constructed from many 3D printed parts. Because of the information we had gathered in Stryke Force about the importance of material selection, both the plane and boomilever were carefully thought out in order to maximize efficiency. Throughout our whole experience in robotics, we have been able to learn the intricacies of design and manufacturing in a way that we can effectively apply these skills both inside and outside of the Stryke Force Team.
| 131.117647 | 958 | 0.80978 | eng_Latn | 0.999874 |
2ef48da213638b0704966e493eec1335d488ac27 | 4,403 | md | Markdown | README.md | tysmithnet/arg-parser | 15a76b210c88e47a423815da3d719836061173c1 | [
"Apache-2.0"
] | 2 | 2018-12-11T21:35:47.000Z | 2021-09-07T19:36:31.000Z | README.md | tysmithnet/arg-parser | 15a76b210c88e47a423815da3d719836061173c1 | [
"Apache-2.0"
] | null | null | null | README.md | tysmithnet/arg-parser | 15a76b210c88e47a423815da3d719836061173c1 | [
"Apache-2.0"
] | null | null | null | # ArgParser
Flexible argument parsing library and help screen generator

### Install + Start Hacking
Install-Package ArgParser -Version 1.0.0-rc3
dotnet add package ArgParser --version 1.0.0-rc3
paket add ArgParser --version 1.0.0-rc3
[Setup your context](https://github.com/tysmithnet/arg-parser/blob/master/ArgParser/ArgParser.Testing.Common/DefaultBuilder.cs)
[Parse some args](https://github.com/tysmithnet/arg-parser/blob/master/ArgParser/ArgParser.TestApp/Program.cs)
The `ArgParser.TestApp` program is what is used to create the gif on the root README. You can use it to test your own applications or see how the gif was made.
### Why?
Most existing libraries in this space do so using attributes and reflection. I find this approach to be restrictive and not conducive to extension. Extension is important because there a seemingly infinite amount of styles for how args should be interpretted.
- switch style
- `-h`, `--help`, `/?`, `-help`, `--value=something`, `value:something`
- groupable parameters
- `git commit -am something`
- sub commands
- `dotnet new`
- count switches
- `-vvv`
### Goal
> Provide a framework that allows for the creation of any type of argument parser, and a set of extensions that allow the user to opt into common styles.
It needs to be fairly trivial to create parsers for some of the most commonly used commands: git, find, dotnet along with similar help generation.
### Trivial Example
``` C#
using System;
using System.Linq;
using ArgParser.Core;
using ArgParser.Styles;
using ArgParser.Styles.Extensions;
using Figgle;
namespace testnuget
{
class UtilOptions
{
public bool IsHelpRequested { get; set; }
public int SomeValue { get; set; }
}
class Program
{
static void Main(string[] args)
{
new ContextBuilder()
.AddParser<UtilOptions>("util", help =>
{
help
.SetName("utility")
.SetShortDescription("General utility tool");
})
.WithFactoryFunction(() => new UtilOptions())
.WithBooleanSwitch('h', "help", o => o.IsHelpRequested = true)
.WithSingleValueSwitch('v', "value", (o, s) => o.SomeValue = Convert.ToInt32(s), help =>
{
help
.SetName("Some Value")
.SetDefaultValue("1")
.SetShortDescription("Some value for something");
})
.Finish
.RegisterExtensions()
.AddAutoHelp((parseResults, exceptions) =>
{
foreach (var kvp in parseResults)
if (kvp.Key is UtilOptions casted && casted.IsHelpRequested)
return kvp.Value.Id;
var missingValues = exceptions.OfType<MissingValueException>();
var first = missingValues.FirstOrDefault();
return first?.Parser.Id;
})
.SetTheme("util",
Theme.Create(FiggleFonts.Doom, ConsoleColor.Green, ConsoleColor.DarkGreen, ConsoleColor.Yellow, ConsoleColor.Red,
ConsoleColor.Yellow))
.Parse(args)
.When<UtilOptions>((o, p) => {
Console.WriteLine(o.SomeValue);
});
Console.ReadKey();
}
}
}
```
### Badges
|develop|master|
|-|-|
|[](https://coveralls.io/github/tysmithnet/arg-parser?branch=develop)|[](https://coveralls.io/github/tysmithnet/arg-parser?branch=master)|
|[](https://ci.appveyor.com/project/tysmithnet/arg-parser/branch/develop)|[](https://ci.appveyor.com/project/tysmithnet/arg-parser/branch/master)|
|N/A||
| 43.594059 | 348 | 0.636384 | eng_Latn | 0.529914 |
2ef4b979246b377f91c75776d4f0c3397f6bc2a2 | 2,486 | md | Markdown | _others/imports/2/2019-04-26-raja-rani-tamil-hd-full-movie-download-raja-rani-tamil-hd-movie-download.md | starisai/starisai.github.io | 639897877921e0db60ba6ba0690e55a0234dfabc | [
"MIT"
] | null | null | null | _others/imports/2/2019-04-26-raja-rani-tamil-hd-full-movie-download-raja-rani-tamil-hd-movie-download.md | starisai/starisai.github.io | 639897877921e0db60ba6ba0690e55a0234dfabc | [
"MIT"
] | null | null | null | _others/imports/2/2019-04-26-raja-rani-tamil-hd-full-movie-download-raja-rani-tamil-hd-movie-download.md | starisai/starisai.github.io | 639897877921e0db60ba6ba0690e55a0234dfabc | [
"MIT"
] | 2 | 2022-03-15T02:34:05.000Z | 2022-03-15T02:36:25.000Z | ---
title: "Raja Rani Tamil HD Full Movie Download - Raja Rani Tamil HD Movie Download"
date: "2019-04-26"
---

**_Raja Rani Sample Part.mp4_**
**_Size: 3.69mb_**
**_[Download Server 1](http://dl2.tamilsrcg.xyz/load/2013/Raja{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Rani/Raja{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Rani{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20(2013){2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Brrip{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20HD{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Sample.mp4)_**
**_[Download Server 2](http://dl2.tamilsrcg.xyz/load/2013/Raja{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Rani/Raja{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Rani{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20(2013){2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Brrip{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20HD{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Sample.mp4)_**
**_Raja Rani Single Part.mp4_**
**_Size: 526.01mb_**
**_[Download Server 1](http://dl2.tamilsrcg.xyz/load/2013/Raja{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Rani/Raja{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Rani{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20(2013){2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Brrip{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20HD{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Full{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Part.mp4)_**
**_[Download Server 2](http://dl2.tamilsrcg.xyz/load/2013/Raja{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Rani/Raja{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Rani{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20(2013){2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Brrip{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20HD{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Full{2c088f659142c0283fde3b45bf50b63be20aae7f704a2f0bf67686df6392cb2e}20Part.mp4)_**
| 108.086957 | 580 | 0.903057 | yue_Hant | 0.13309 |
2ef4e16c0b9785c0d31e3f8dc12320678f0a9810 | 1,986 | md | Markdown | README.md | alscaldeira/BloggingApiRest | c5708240d4fe8ab97b1a38fd1bffd99798e85cad | [
"MIT"
] | null | null | null | README.md | alscaldeira/BloggingApiRest | c5708240d4fe8ab97b1a38fd1bffd99798e85cad | [
"MIT"
] | null | null | null | README.md | alscaldeira/BloggingApiRest | c5708240d4fe8ab97b1a38fd1bffd99798e85cad | [
"MIT"
] | null | null | null | # BloggingApiRest
This is the back end of a Blog service - version 0.0.1-RELEASE
### Want to test the app online?
Go to [blogging web site](https://bloggingapirest.herokuapp.com/swagger-ui.html)
Feel free to test it but the software is still in development so may have some bugs.
### Want to install the software?
#### Database
First you need to [download and install mysql](https://dev.mysql.com/downloads/workbench/)
Run this command in the terminal to download the code source:
`git clone [email protected]:alscaldeira/BloggingApiRest.git`
To use the database you'll need to go to go to root path of the projct src/main/resources/application.properties
And change the canfiguration of the database to your local database. I'll show an example:
\
`spring.datasource.url=jdbc:mysql://localhost:3306/bloggingdb?timeZone=UTC&createDatabaseIfNotExist=true` \
`spring.datasource.username=root` \
`spring.datasource.password=root`
You can change the localhost for the host and the "3306" for the port that your database responses
Username and password are really simple, just put the username and the password of your database
#### Application
Then you need to install the project with maven. So run:
`mvn package`
And finally to run the project just run the command:
`java -jar target/blog-0.0.1-SNAPSHOT.war`
### How to use the Blogging Rest API?
The get operations are token free, it means that you don't need to authenticate to use the operation get of each endpoint.
But if you want to post, delete or put something you need to be authenticated.
#### Authentication
You can authenticate in the first time by going in the /auth/signup
Just fill the fields with your data and if the response is the data you sent, then you can authenticate with the username and the password in /auth endpoint
Now you have full access to the others endpoints, feel free to send me an email about what you think about the system `[email protected]` , I'm always open to comments. ;)
| 43.173913 | 181 | 0.777946 | eng_Latn | 0.991974 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.